/* BagsData — nach Porto „Digital Agency 2 Dark“. Klassen mit Präfix bd-. Alles eckig (radius-none). */
.bd, .bd *{box-sizing:border-box}
.bd{font-family:var(--font-sans);font-size:15px;line-height:26px;color:var(--ink-body);background:var(--surface-100);-webkit-font-smoothing:antialiased}
.bd :where(h1,h2,h3,h4,h5){font-family:var(--font-sans);color:var(--ink);margin:0}
.bd :where(p){margin:0}
.bd :where(a){color:var(--accent-ink);text-decoration:none}
.bd-container{max-width:1240px;margin:0 auto;padding:0 24px}
.bd-section{position:relative;padding:var(--space-6) 0}
.bd-section--alt{background:var(--surface-200)}
.bd-night{background:var(--night-100);color:var(--on-night-body)}
.bd-night :where(h1,h2,h3,h4,h5){color:var(--on-night)}

/* Zickzack-Titel (Porto custom-title-with-icon) */
.bd-zigzag{display:block;width:40px;height:12px;margin-bottom:10px;color:var(--accent)}
.bd-zigzag path{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linejoin:miter}
.bd-title{font-size:40px;line-height:40px;font-weight:700;letter-spacing:-2px;color:var(--ink)}
.bd-title--center{text-align:center}
.bd-title--center .bd-zigzag{margin-left:auto;margin-right:auto}
.bd-subtitle{font-size:21px;line-height:42px;font-weight:400;letter-spacing:-1.05px;color:var(--ink-muted)}
.bd-lead{font-family:var(--font-serif);font-size:20px;line-height:32px;font-weight:500;color:var(--ink-body)}

/* Buttons */
.bd-btn{display:inline-flex;align-items:center;gap:17px;font-family:var(--font-sans);font-size:16.8px;line-height:25.2px;font-weight:600;padding:16px 28px;border:3px solid var(--accent);border-radius:0;background:transparent;color:var(--ink);cursor:pointer;text-decoration:none;transition:background-color .25s,color .25s,border-color .25s}
.bd-btn:focus-visible{outline:3px solid var(--accent-ink);outline-offset:3px}
.bd-btn:hover{background:var(--accent);color:#0e1424}
.bd-btn__arrow{width:18px;height:12px;flex:none}
.bd-btn__arrow path{fill:none;stroke:currentColor;stroke-width:2}
.bd-btn:hover .bd-btn__arrow{animation:bd-arrow .6s ease infinite}
@keyframes bd-arrow{0%,100%{transform:translateX(-1px)}50%{transform:translateX(3px)}}
.bd-btn--solid{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
.bd-btn--solid:hover{background:var(--primary-strong);border-color:var(--primary-strong);color:var(--on-primary)}
.bd-btn--light{border-color:#ffffff;color:#ffffff}
.bd-btn--light:hover{background:#ffffff;color:#161c2c}
.bd-btn--link{padding:0;border:0;color:var(--accent-ink);font-weight:700;font-size:18px}
.bd-btn--link:hover{background:none;color:var(--ink)}
.bd-btn--sm{padding:10px 18px;font-size:15px}
.bd-night .bd-btn:not(.bd-btn--solid):not(.bd-btn--link),.bd-hero .bd-btn:not(.bd-btn--solid):not(.bd-btn--link){color:#ffffff}
.bd-night .bd-btn:not(.bd-btn--solid):not(.bd-btn--link):hover,.bd-hero .bd-btn:not(.bd-btn--solid):not(.bd-btn--link):hover{color:#0e1424}

/* Header */
.bd-header{position:relative;z-index:5;background:var(--night-100)}
.bd-header--transparent{position:absolute;left:0;right:0;top:0;background:transparent}
.bd-header .bd-container{display:flex;align-items:center;justify-content:space-between;height:120px}
.bd-logo{display:inline-flex;align-items:center}
.bd-logo img{height:30px;width:auto;display:block}
.bd-nav{display:flex;align-items:center;gap:0}
.bd-nav a:not(.bd-btn){font-size:15px;line-height:24px;font-weight:600;letter-spacing:-.5px;color:#ffffff;padding:0 14.4px;transition:color .2s}
.bd-nav a:not(.bd-btn):hover,.bd-nav a.is-active{color:var(--accent)}
.bd-nav .bd-btn{margin-left:14px}

/* Hero */
.bd-hero{position:relative;overflow:hidden;background:var(--night-100);color:var(--on-night-body);padding:210px 0 360px}
.bd-hero__canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.bd-hero .bd-container{position:relative;z-index:2}
.bd-hero__text{max-width:700px}
.bd-hero .bd-subtitle{color:var(--on-night-body)}
.bd-hero h1{color:#ffffff;font-size:52.5px;line-height:63px;font-weight:800;letter-spacing:-2.625px;margin:0 0 24px}
.bd-hero h1 em{font-style:normal;color:var(--accent)}
.bd-hero__angle{position:absolute;left:-5%;right:-5%;bottom:-48px;height:100px;background:var(--surface-100);transform:rotate(-2deg);z-index:3}
.bd-circle{position:absolute;border-radius:50%;display:block;z-index:2;pointer-events:none}
.bd-circle--1{width:68px;height:67px;background:#ffffff;filter:blur(3px);opacity:.9}
.bd-circle--2{width:33px;height:32px;background:var(--accent)}
.bd-circle--3{width:21px;height:20px;background:var(--accent)}
.bd-circle--4{width:14px;height:13px;background:var(--primary)}

/* Hero mit Bild: Bild rechts sichtbar, links abgedunkelt für den Text */
.bd-hero--image{background:var(--night-100) var(--bd-img) right center/cover no-repeat}
.bd-hero--image::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(22,28,44,.97) 0%,rgba(22,28,44,.9) 38%,rgba(22,28,44,.35) 68%,rgba(22,28,44,.2) 100%),linear-gradient(0deg,rgba(22,28,44,.9) 0%,rgba(22,28,44,0) 35%)}
.bd-hero--image .bd-hero__canvas{z-index:1}

.bd-hero__person{position:absolute;z-index:2;bottom:0;right:max(24px,calc((100% - 1240px) / 2 + 24px));height:88%;max-height:700px;pointer-events:none}
.bd-hero__person img{display:block;height:100%;width:auto;filter:drop-shadow(0 0 40px rgba(63,172,177,.25))}
.bd-hero__glow{position:absolute;z-index:0;right:calc((100% - 1240px) / 2 - 80px);top:12%;width:640px;height:640px;border-radius:50%;background:radial-gradient(circle,rgba(52,80,166,.55) 0%,rgba(63,172,177,.18) 45%,rgba(22,28,44,0) 70%);pointer-events:none}

/* Service-Karten (gestaffelt, überlappen den Hero) */
.bd-cards{position:relative;z-index:4;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start}
.bd-cards--overlap{margin-top:-300px}
.bd-cards--overlap .bd-card:nth-child(2){transform:translateY(45px)}
.bd-cards--overlap .bd-card:nth-child(3){transform:translateY(90px)}
.bd-card{background:var(--night-200);padding:48px;text-align:center;display:flex;flex-direction:column;align-items:center;min-height:340px;justify-content:center}
.bd-card__icon{width:64px;height:64px;margin-bottom:40px;color:var(--accent)}
.bd-card__icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.bd-card h4{font-size:26px;line-height:30px;font-weight:700;letter-spacing:-1.3px;color:#ffffff;margin-bottom:16px}
.bd-card p{font-size:16px;line-height:26px;color:var(--on-night-body)}
.bd-card--primary{background:var(--primary)}
.bd-card--primary p{color:var(--on-primary)}
.bd-card--primary .bd-card__icon{color:var(--on-primary-accent)}

/* Balken-Liste */
.bd-barlist{list-style:none;margin:0;padding:0}
.bd-barlist li{font-size:16px;line-height:24px;font-weight:500;color:var(--ink-body);margin-bottom:24px}
.bd-barlist li:last-child{margin-bottom:0}
.bd-barlist li::before{content:"";display:inline-block;vertical-align:middle;width:30px;height:3px;margin-right:17px;background:var(--accent)}

/* Approach-Block */
.bd-approach{display:grid;grid-template-columns:1fr 360px 1fr;gap:48px;align-items:center}
.bd-approach__text .bd-title{margin-bottom:24px}
.bd-approach__text .bd-lead{margin-bottom:16px}
.bd-approach__text p:not(.bd-lead){margin-bottom:24px}
.bd-orbit{position:relative;width:355px;height:360px;border-radius:50%;background:var(--surface-200);margin:auto}
.bd-orbit__ring{position:absolute;left:50%;top:50%;width:50%;height:50%;transform:translate(-50%,-50%);border-radius:50%;background:var(--primary)}
.bd-orbit__core{position:absolute;left:50%;top:50%;width:25%;height:25%;transform:translate(-50%,-50%);border-radius:50%;background:var(--surface-100)}
.bd-orbit--image{background:var(--night-200) var(--bd-img) 74% 0%/auto 170% no-repeat}
.bd-orbit--image .bd-orbit__ring{width:62%;height:62%;background:transparent;border:10px solid var(--primary)}
.bd-orbit--image .bd-orbit__core{display:none}
.bd-orbit__dot{position:absolute;border-radius:50%;background:var(--accent)}

/* Service-Kacheln */
.bd-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.bd-tile{position:relative;display:block;background:var(--surface-200);padding:65px 24px 65px 35px;font-size:20px;line-height:32px;font-weight:600;color:var(--ink);transition:background-color .3s,color .3s}
.bd-tile::before{content:"";display:inline-block;vertical-align:middle;width:30px;height:3px;margin-right:10px;background:var(--accent);transition:width .5s,background-color .3s}
.bd-tile:hover,.bd-tile.is-active{background:var(--primary);color:var(--on-primary)}
.bd-tile:hover::before,.bd-tile.is-active::before{width:45px;background:var(--on-primary-accent)}
.bd-tiles__note{text-align:center;max-width:720px;margin:48px auto 0;color:var(--ink-body)}

/* Projekt-Teaser */
.bd-work{display:grid;grid-template-columns:3fr 1fr;background:var(--night-200)}
.bd-work__item{position:relative;display:block;min-height:320px;overflow:hidden;background:var(--night-100)}
.bd-work__media{position:absolute;inset:0;background:linear-gradient(135deg,#314685 0%,#1e2538 70%)}
.bd-work__media--teal{background:linear-gradient(135deg,#2a8a8f 0%,#1e2538 70%)}
.bd-work__media--grey{background:linear-gradient(135deg,#4b4949 0%,#1e2538 70%)}
.bd-work__item::before{content:"";position:absolute;inset:0;background:#161c2c;opacity:.55;z-index:1;transition:opacity .3s}
.bd-work__item:hover::before{opacity:.8}
.bd-work__text{position:absolute;left:0;bottom:0;padding:48px;z-index:2}
.bd-work__text h4{font-size:32px;line-height:36px;font-weight:700;letter-spacing:-1.6px;color:#ffffff;margin-bottom:8px;transition:transform .2s}
.bd-work__text p{text-transform:uppercase;font-size:16px;line-height:26px;color:#9aa3b5;margin-bottom:16px;transition:transform .5s}
.bd-work__text span{display:inline-flex;align-items:center;gap:17px;font-size:16px;font-weight:600;color:#ffffff;transition:transform .9s}
.bd-work__text span svg{width:18px;height:12px;color:var(--accent)}
.bd-work__text span svg path{fill:none;stroke:currentColor;stroke-width:2}
.bd-work__item:hover h4,.bd-work__item:hover p,.bd-work__item:hover span{transform:translateX(20px)}
.bd-work__side{padding:48px}
.bd-work__side .bd-title{color:#ffffff;margin-bottom:24px}
.bd-filter{list-style:none;margin:0;padding:0}
.bd-filter a{display:block;font-size:14px;line-height:24px;color:#8a93a8;margin-bottom:8px}
.bd-filter a::before{content:"";display:inline-block;vertical-align:middle;width:15px;height:3px;margin-right:16px;background:var(--accent);transition:width .5s}
.bd-filter a:hover::before{width:30px}
.bd-filter a:hover,.bd-filter a.is-active{color:#ffffff}

/* Beiträge */
.bd-posts{display:flex;flex-direction:column;gap:48px}
.bd-post__date{font-family:var(--font-serif);font-size:14px;line-height:20px;letter-spacing:.5px;text-transform:uppercase;color:var(--ink-muted);margin-bottom:4px}
.bd-post h4{font-size:26px;line-height:30px;font-weight:700;letter-spacing:-1.3px;margin-bottom:16px}
.bd-post h4 a{color:var(--ink);transition:color .2s}
.bd-post h4 a:hover{color:var(--accent-ink)}
.bd-post p{font-size:16px;line-height:26px;margin-bottom:8px}
.bd-post__more{font-size:16px;font-weight:700;text-decoration:underline !important}

/* Kontakt-Band */
.bd-contact{position:relative;overflow:hidden;background:var(--primary);color:var(--on-primary);padding:90px 0 150px}
.bd-contact--image{background:var(--primary) var(--bd-img) left 30%/cover no-repeat}
.bd-contact--image::before{content:"";position:absolute;inset:0;background:var(--primary);opacity:.9;z-index:1}
.bd-contact .bd-circle{z-index:2}
.bd-contact .bd-container{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:48px}
.bd-contact .bd-zigzag{color:var(--on-primary-accent)}
.bd-contact__kicker{font-size:22px;line-height:32px;color:var(--on-primary);margin-bottom:8px}
.bd-contact h4{font-size:40px;line-height:40px;font-weight:700;letter-spacing:-2px;color:var(--on-primary)}
.bd-contact__angle{position:absolute;left:-5%;width:120%;height:100px;bottom:-48px;background:var(--night-200);transform:rotate(2deg);z-index:3}
.bd-contact .bd-circle--1{right:10%;top:20%}
.bd-contact .bd-circle--2{right:5%;top:70%;background:#ffffff}

/* Footer */
.bd-footer{background:var(--night-200);color:var(--on-night-body);font-size:12.6px;line-height:26px;padding:96px 0}
.bd-footer__top{display:flex;justify-content:space-between;gap:48px}
.bd-footer h5{font-family:var(--font-sans);font-size:22px;line-height:28px;font-weight:700;letter-spacing:-1px;color:#ffffff;margin:0 0 24px}
.bd-footer__about{flex:1;max-width:420px}
.bd-footer__about p{font-size:15px;line-height:26px}
.bd-offices{display:flex;gap:48px;text-align:right}
.bd-offices strong{display:block;font-size:17px;font-weight:600;color:#ffffff;padding-bottom:8px}
.bd-offices p{font-size:15px;line-height:24px;font-weight:500}
.bd-footer__bottom{display:flex;justify-content:space-between;align-items:center;padding-top:72px}
.bd-footer__nav{display:flex;gap:28px}
.bd-footer__nav a{font-weight:600;color:#9aa3b5}
.bd-footer__nav a:hover{color:var(--accent)}
.bd-footer .bd-logo{margin-bottom:24px}
.bd-footer .bd-logo img{height:24px}

@media (prefers-reduced-motion:reduce){.bd *{animation:none !important;transition:none !important}}
