/* ==========================================================================
   ee Vienna – Relaunch Draft
   Brand: yellow #FFE200 + near-black #191A1C (taken from the existing logo)
   ========================================================================== */

:root {
    --yellow: #FFE200;
    --yellow-soft: #FFF6B3;
    --ink: #191A1C;
    --text: #3A3C40;
    --muted: #6B6E73;
    --line: #E6E4DC;
    --sand: #F6F5F0;
    --white: #FFFFFF;

    --font-head: 'Manrope', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --container: 1320px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
    --r-sm: 12px;
    --r: 16px;
    --r-lg: 24px;
    --r-pill: 999px;
    --r-dot: 50%;
    --hw: 600;
    --tint: #FFF8CC;      /* light yellow for hover states */
    --section-alt: transparent;
    --cols: 4;
    --shadow: 0 1px 2px rgba(25, 26, 28, .04), 0 12px 32px -12px rgba(25, 26, 28, .18);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font: 400 16px/1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); font-weight: var(--hw); letter-spacing: -.015em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--ink); border-radius: 2px; }
.page-head .eyebrow::before, .section .eyebrow::before { background: var(--yellow); height: 4px; }
.eyebrow__nr { display: none; }

.page-title { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.04; letter-spacing: -.025em; }
.page-title--md { font-size: clamp(2rem, 3.6vw, 3rem); }
.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 14px; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink); margin: 20px 0 16px; }
.lead + p, p + p { margin-top: 12px; }

.textlink {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 15px; color: var(--ink);
    padding-bottom: 2px; border-bottom: 2px solid var(--yellow);
    transition: gap .2s var(--ease), border-color .2s;
}
.textlink:hover { gap: 12px; border-color: var(--ink); }
.textlink .icon { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 50px; padding: 0 24px; border-radius: var(--r-pill);
    font: 600 15px/1 var(--font-body); white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }
.btn--ink.is-current { box-shadow: 0 0 0 3px var(--yellow); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 54px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    height: 42px; padding: 0 14px; border-radius: var(--r-pill);
    font: 500 15px/1 var(--font-body); color: var(--ink);
    transition: background-color .2s;
}
.nav__link:hover::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--line); }
.nav__item.is-active > .nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--yellow);
}
.has-sub .nav__link .icon { transition: transform .2s; }
.has-sub.is-open .nav__link .icon { transform: rotate(180deg); }
.nav__item--cta { margin-left: 8px; }

.nav__sub {
    position: absolute; top: calc(100% + 10px); left: 50%; width: 400px; padding: 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
    transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 961px) {
    .has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .has-sub:hover .nav__link .icon { transform: rotate(180deg); }
}
.nav__sub a { display: flex; gap: 14px; padding: 12px 14px; border-radius: var(--r-sm); transition: background-color .15s; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--tint); }
.nav__sub strong { display: block; font: var(--hw) 15px/1.3 var(--font-head); color: var(--ink); }
.nav__sub small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav__sub-nr, .scard__nr, .service-switch__nr {
    flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-dot);
    background: var(--yellow); color: var(--ink); font: var(--hw) 12px/1 var(--font-head);
}
.nav__mobile-foot { display: none; }

.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); order: 2; }
.header-phone .icon { width: 17px; height: 17px; }
.menu-btn { display: none; }

@media (max-width: 1140px) { .header-phone span { display: none; } }

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .brand img { height: 46px; }
    .header-phone { margin-left: auto; width: 44px; height: 44px; justify-content: center; border-radius: var(--r-dot); border: 1px solid var(--line); }
    .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-dot); background: var(--ink); color: var(--white); order: 3; }
    .menu-btn .icon--close { display: none; }
    .menu-btn[aria-expanded="true"] .icon--open { display: none; }
    .menu-btn[aria-expanded="true"] .icon--close { display: block; }

    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
        background: var(--white); border-top: 1px solid var(--line);
        padding: 16px var(--gutter) 32px; overflow-y: auto;
        display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s, transform .2s var(--ease), visibility .2s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { border-bottom: 1px solid var(--line); }
    .nav__link { width: 100%; height: 60px; padding: 0 4px; font: var(--hw) 22px/1 var(--font-head); justify-content: space-between; border-radius: 0; }
    .nav__link:hover { background: none; }
    .nav__item.is-active > .nav__link::after { left: 4px; right: auto; width: 28px; bottom: 10px; }
    .nav__sub { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
    .has-sub.is-open .nav__sub { display: block; transform: none; }
    .nav__item--cta { margin: 24px 0 0; border: 0; }
    .nav__item--cta .btn { width: 100%; height: 54px; font-size: 16px; }
    .nav__mobile-foot { display: grid; gap: 14px; font-size: 15px; color: var(--ink); }
    .nav__mobile-foot a { display: flex; align-items: center; gap: 10px; }
    body.menu-open { overflow: hidden; }
}

/* ---------- Home ---------- */
.hero {
    /* Leaves ~150px so the next section peeks in below the fold */
    min-height: clamp(460px, calc(100svh - var(--header-h) - 150px), 700px); margin-top: 8px;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    background: var(--yellow); border-radius: var(--r-lg); overflow: hidden; position: relative;
}
.hero__content {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(28px, 5.5vh, 64px) clamp(24px, 4.5vw, 64px);
}
.hero .eyebrow { margin-bottom: clamp(14px, 2.4vh, 24px); }
.hero__title {
    font-size: clamp(2.6rem, min(5.4vw, 8.6vh), 5.25rem);
    line-height: .98; letter-spacing: -.035em; max-width: 14.5ch; text-wrap: balance;
}
.hero__lead { margin-top: clamp(14px, 2.4vh, 22px); font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink); max-width: 34ch; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.6vh, 36px); }
.hero__stats { display: flex; margin-top: clamp(24px, 5vh, 52px); }
.hero__stats > div { display: flex; flex-direction: column-reverse; padding: 0 clamp(16px, 2.2vw, 30px); border-left: 1.5px solid rgba(25, 26, 28, .22); }
.hero__stats > div:first-child { padding-left: 0; border-left: 0; }
.hero__stats dd { font: var(--hw) clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.hero__stats dt { font-size: 13px; color: var(--ink); opacity: .75; margin-top: 6px; }

.hero__media { position: relative; }
.hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}

.footbar { border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-block: 14px; }
.footbar nav { display: flex; gap: 20px; }
.footbar a { color: var(--ink); font-weight: 500; }
.footbar a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero__media { height: 220px; order: -1; }
    .hero__media img { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 45%); mask-image: linear-gradient(0deg, transparent 0, #000 45%); }
    .hero__content { padding-top: 4px; }
    .hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
    .hero__stats > div { padding: 0 14px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(40px, 5.5vw, 72px); }
.section--tight { padding-block: clamp(24px, 3vw, 40px); }
.section--alt { background: var(--section-alt); }
.section + .section--alt, .section--alt + .section { border-top: 1px solid var(--line); }
.section--alt + .section--tight { border-top: 0; }
.section--flush-top { padding-top: 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }

.page-head { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3.5vw, 44px); }
.page-head__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; }
.page-head__lead { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 46ch; }
@media (max-width: 860px) { .page-head__inner { grid-template-columns: 1fr; } }

/* ---------- Referenzen: filter + cards ---------- */
.filterbar {
    position: sticky; top: var(--header-h); z-index: 20;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-block: 1px solid var(--line);
    padding-block: 12px; margin-bottom: clamp(24px, 4vw, 40px);
}
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) {
    .filters { flex-wrap: wrap; gap: 6px; overflow: visible; margin-inline: 0; padding-inline: 0; }
    .filters .chip { padding: 0 10px 0 14px; gap: 6px; font-size: 13.5px; }
}
.chip {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 16px; border-radius: var(--r-pill);
    border: 1px solid var(--line); background: var(--white);
    font-size: 14px; font-weight: 500; color: var(--ink);
    transition: background-color .15s, border-color .15s, color .15s;
}
.chip span { font-size: 12px; font-weight: 600; color: var(--muted); min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--line); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.is-active span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.pgrid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .pgrid { --cols: 3; } }
@media (max-width: 820px) { .pgrid { --cols: 2; gap: 16px; } }
@media (max-width: 520px) { .pgrid { --cols: 1; } }

.pcard {
    position: relative; display: flex; flex-direction: column;
}
.pcard[hidden] { display: none; }
.pcard:hover .pcard__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.11); }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 52px 0 0; flex: 1; }
.pcard__title { font: var(--hw) 17px/1.3 var(--font-head); color: var(--ink); }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin-top: auto; }
.pcard__meta span { display: inline-flex; align-items: center; gap: 5px; }
.pcard__meta .icon { width: 15px; height: 15px; }
.pcard__go {
    position: absolute; right: 0; bottom: 0;
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-dot);
    border: 1.5px solid var(--ink); color: var(--ink);
    transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.pcard__go .icon { width: 17px; height: 17px; }
.pcard:hover .pcard__go, .scard:hover .pcard__go { background: var(--yellow); border-color: var(--yellow); transform: translateX(2px); }

.pcard.is-in { animation: card-in .45s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.quote { display: flex; flex-direction: column; gap: 20px; border-top: 3px solid var(--yellow); padding-top: 24px; }
.quote__logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; object-position: left; }
.quote blockquote { font-size: 15px; line-height: 1.65; color: var(--ink); }
.quote figcaption { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.quote figcaption strong { display: block; color: var(--ink); font-size: 14px; }
.quote--accent { background: var(--ink); border: 0; border-radius: var(--r); padding: 28px; }
.quote--accent blockquote { color: var(--white); font-size: 16px; }
.quote--accent figcaption { border-color: rgba(255, 255, 255, .15); color: #A9ABAF; }
.quote--accent figcaption strong { color: var(--yellow); }
.quote__mark { width: 40px; height: 40px; color: var(--yellow); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- CTA band ---------- */
.cta {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 40px;
    background: var(--yellow); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px);
}
.cta__title { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: 8px; }
.cta p { color: var(--ink); }
.cta__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.cta__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Project detail ---------- */
.phero { padding-top: clamp(20px, 3vw, 36px); }
.backlink { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .15s, gap .2s; }
.backlink .icon { width: 17px; height: 17px; }
.backlink:hover { color: var(--ink); gap: 12px; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: center; margin: clamp(24px, 4vw, 40px) 0; }
.tag { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: var(--r-pill); margin-bottom: 18px; }
.phero__ort { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; margin: 12px 0 22px; }
.phero__ort .icon { width: 18px; height: 18px; }
.phero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink); max-width: 54ch; }
.phero__media { position: relative; padding-bottom: 18%; max-width: 520px; justify-self: end; width: 100%; }
.phero__img { border-radius: var(--r); object-fit: cover; aspect-ratio: 4 / 3; }
.phero__img--a { width: 80%; }
.phero__img--b { position: absolute; right: 0; bottom: 0; width: 52%; border: 6px solid var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }

.facts { display: grid; grid-template-columns: 1fr 1fr 2fr; background: var(--yellow); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; }
.facts__item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: start; column-gap: 14px; padding: 22px 26px; }
.facts__item + .facts__item { border-left: 1px solid rgba(25, 26, 28, .15); }
.facts__item .icon { grid-row: 1 / 3; width: 24px; height: 24px; color: var(--ink); margin-top: 2px; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(25, 26, 28, .7); }
.facts dd { font: 500 17px/1.35 var(--font-head); margin-top: 4px; }
@media (max-width: 860px) {
    .phero__grid { grid-template-columns: 1fr; }
    .phero__media { justify-self: start; }
    .facts { grid-template-columns: 1fr; }
    .facts__item + .facts__item { border-left: 0; border-top: 1px solid rgba(25, 26, 28, .15); }
}

.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.story__step { border-top: 3px solid var(--ink); padding-top: 22px; counter-increment: step; }
.story__title { font-size: 1.3rem; margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; }
.story__title::before { content: "0" counter(step); font-size: 13px; font-weight: 600; background: var(--yellow); padding: 4px 8px; border-radius: var(--r-pill); transform: translateY(-3px); }
.story p { font-size: 15.5px; line-height: 1.7; }
.credit { margin-top: 28px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 32px; max-width: 680px; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.pager__link {
    display: flex; align-items: center; gap: 16px; padding: 18px 0 0;
    border-top: 1.5px solid var(--ink);
    font: var(--hw) 16px/1.3 var(--font-head); color: var(--ink);
    transition: border-color .2s, background-color .2s;
}
.pager__link small { display: block; font: 600 12px/1.4 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pager__link--next { justify-content: flex-end; text-align: right; }
.pager__link:hover span { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } }

/* ---------- Service pages ---------- */
.service-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 40px 72px; align-items: start; }
.service-hero__text { max-width: 640px; }
.page-head--service .eyebrow__nr { display: grid; }
.page-head--service .eyebrow::before { display: none; }
.eyebrow__nr { place-items: center; width: 30px; height: 30px; border-radius: var(--r-dot); background: var(--yellow); font: var(--hw) 12px/1 var(--font-head); letter-spacing: 0; }

.refbox { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; border-top: 4px solid var(--yellow); }
.refbox__title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.refbox ul { margin-bottom: 18px; }
.refbox li a { display: grid; grid-template-columns: 76px 1fr 18px; gap: 14px; align-items: center; padding: 10px; margin-inline: -10px; border-radius: var(--r-sm); transition: background-color .15s; }
.refbox li a:hover { background: var(--tint); }
.refbox img { width: 76px; height: 57px; object-fit: cover; border-radius: var(--r-sm); }
.refbox strong { display: block; font: var(--hw) 15px/1.3 var(--font-head); color: var(--ink); }
.refbox small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.refbox li .icon { width: 18px; height: 18px; color: var(--ink); }
@media (max-width: 900px) { .service-hero { grid-template-columns: 1fr; } .refbox { max-width: 560px; } }

.checkgroups { display: grid; gap: 40px; }
.checkgroups--multi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkgroups--with-quote { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.checkgroups:not(.checkgroups--multi):not(.checkgroups--with-quote) .checklist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink); line-height: 1.45; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: var(--r-dot); background: var(--yellow); color: var(--ink); stroke-width: 2.6; margin-top: -1px; }
.checklist--lg li { font-size: 16px; }
@media (max-width: 900px) {
    .checkgroups--multi, .checkgroups--with-quote { grid-template-columns: 1fr; }
    .checkgroups:not(.checkgroups--multi):not(.checkgroups--with-quote) .checklist { grid-template-columns: 1fr; }
}

.service-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-switch a {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    border: 1px solid var(--line); border-radius: var(--r);
    transition: background-color .2s, border-color .2s, color .2s;
}
.service-switch strong { font: var(--hw) 17px/1.25 var(--font-head); color: var(--ink); transition: color .2s; }
.service-switch .icon { margin-left: auto; width: 18px; height: 18px; transition: transform .2s var(--ease); }
.service-switch a:hover { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.service-switch a:hover strong { color: var(--white); }
.service-switch a:hover .icon { transform: translateX(3px); }
@media (max-width: 760px) { .service-switch { grid-template-columns: 1fr; } }

/* ---------- Unternehmen ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.about-hero > div:first-child { max-width: 640px; }
.about-hero--stacked { grid-template-columns: 1fr; gap: clamp(28px, 4vw, 44px); }
.about-hero--stacked > div:first-child { max-width: 820px; }
.about-hero--stacked .statcard { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
@media (max-width: 760px) { .about-hero--stacked .statcard { grid-template-columns: 1fr 1fr; } }
.statcard { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: rgba(25, 26, 28, .16); border-radius: var(--r-lg); overflow: hidden; }
.statcard > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; background: var(--yellow); padding: clamp(22px, 3vw, 34px); }
.statcard dd { font: var(--hw) clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.statcard dt { font-size: 14px; color: var(--ink); line-height: 1.35; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .statcard { max-width: 560px; } }

.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 48px); }
.reason { border-top: 3px solid var(--ink); padding-top: 20px; }
.reason__nr { display: inline-block; font: var(--hw) 13px/1 var(--font-head); background: var(--yellow); color: var(--ink); padding: 6px 9px; border-radius: var(--r-pill); }
.reason__title { font-size: 1.15rem; line-height: 1.3; margin: 16px 0 8px; }
.reason p { font-size: 15px; line-height: 1.6; color: var(--text); }
@media (max-width: 960px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.person__name { font: var(--hw) 17px/1.3 var(--font-head); color: var(--ink); margin-top: 16px; }
.person__role { font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.split > div:first-child p { margin: 16px 0 24px; max-width: 46ch; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }
.logos img { height: 52px; width: auto; max-width: 160px; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.page-head--contact { padding-bottom: clamp(40px, 5.5vw, 72px); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: stretch; }
.contact__list { margin-top: 36px; border-bottom: 1px solid var(--line); }
.contact__list li { border-top: 1px solid var(--line); }
.contact__big { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; color: var(--ink); font: 500 clamp(1.1rem, 1.8vw, 1.4rem)/1.35 var(--font-head); }
.contact__big .icon { width: 48px; height: 48px; padding: 13px; border-radius: var(--r-dot); background: var(--yellow); }
.contact__big small { display: block; font: 600 12px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
a.contact__big:hover span { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.contact__big span { overflow-wrap: anywhere; }
.contact__fax { margin-top: 14px; font-size: 14px; color: var(--muted); }

.map {
    position: relative; min-height: 460px; border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--line);
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 36px 36px;
    display: grid; place-items: center;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: relative; max-width: 360px; text-align: center; background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); margin: 24px; }
.map__icon { width: 44px; height: 44px; padding: 10px; border-radius: var(--r-dot); background: var(--yellow); margin: 0 auto 14px; }
.map__consent p { font-size: 14px; color: var(--muted); }
.map__consent strong { color: var(--ink); font-size: 16px; }
.map__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* ---------- Legal / prose ---------- */
.prose { max-width: calc(760px + 2 * var(--gutter)); }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; }
.prose p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .page-title { margin-bottom: 12px; }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 10px 24px; margin-top: 12px; font-size: 15.5px; }
.kv dt { color: var(--muted); }
.kv dd { color: var(--ink); }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #BFC1C5; font-size: 15px; padding-top: clamp(48px, 6vw, 72px); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__logo { display: inline-block; margin-bottom: 18px; }
.site-footer__logo img { height: 64px; width: auto; }
.site-footer__brand strong { color: var(--white); font-weight: 600; }
.site-footer__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.site-footer li + li { margin-top: 6px; }
.site-footer a { color: #E9EAEC; transition: color .15s; }
.site-footer a:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.site-footer__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; margin-top: clamp(40px, 5vw, 56px); padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__legal nav { display: flex; gap: 20px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Card category (in the metadata) ---------- */
.pcard__kat { flex-basis: 100%; color: var(--ink); font-weight: 500; }

/* ---------- Home teasers ---------- */
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.scard {
    position: relative; display: flex; flex-direction: column;
}
.scard:hover .scard__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.scard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.05); }
.scard__nr { position: absolute; left: 14px; top: 14px; }
.scard__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 52px 0 0; }
.scard__title { font: var(--hw) 19px/1.25 var(--font-head); color: var(--ink); }
.scard__text { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1100px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sgrid { grid-template-columns: 1fr; } }

.katlinks { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.katlinks .chip { height: 38px; font-size: 13.5px; padding: 0 10px 0 14px; }
.pgrid--home { --cols: 4; }
@media (max-width: 1100px) { .pgrid--home { --cols: 2; } }
@media (max-width: 520px) { .pgrid--home { --cols: 1; } }
.pgrid--home .pcard:nth-child(n+5) { display: none; }
[data-cols="3"] .pgrid--home { --cols: 3; }
[data-cols="3"] .pgrid--home .pcard:nth-child(n+5) { display: flex; }
@media (max-width: 1100px) { [data-cols="3"] .pgrid--home { --cols: 2; } [data-cols="3"] .pgrid--home .pcard:nth-child(n+5) { display: none; } }
@media (max-width: 520px) { [data-cols="3"] .pgrid--home { --cols: 1; } }

.split--center { align-items: center; }
.split--center > div:first-child p { margin: 16px 0 24px; }
.team--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logos--sm { margin-top: 36px; }
.logos--sm img { height: 40px; }
@media (max-width: 600px) { .team--home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .team--home .person__role { display: none; } .team--home .person__name { font-size: 14px; } }

.section-head__text { margin-top: 14px; max-width: 60ch; }
.team + .logos--sm { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Project gallery + lightbox ---------- */
.gallery__title { margin-bottom: 18px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery__item { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.09); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.lightbox::backdrop { background: rgba(12, 12, 13, .88); }
.lightbox img { width: min(90vw, 860px); height: auto; max-height: 82vh; object-fit: contain; border-radius: var(--r); }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-dot); background: var(--white); color: var(--ink); }
.lightbox__btn:hover { background: var(--yellow); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Style variants (draft switcher) ---------- */
[data-radius="soft"] { --r-sm: 4px; --r: 6px; --r-lg: 8px; --r-pill: 6px; --r-dot: 50%; }
[data-radius="none"] { --r-sm: 0; --r: 0; --r-lg: 0; --r-pill: 0; --r-dot: 0; }
[data-radius="none"] .eyebrow::before, [data-radius="none"] .nav__link::after { border-radius: 0; }
[data-hw="500"] { --hw: 500; }
[data-font="inter"]   { --font-head: 'Inter', system-ui, sans-serif; }
[data-font="outfit"]  { --font-head: 'Outfit', system-ui, sans-serif; }
[data-font="dmsans"]  { --font-head: 'DM Sans', system-ui, sans-serif; }
[data-font="grotesk"] { --font-head: 'Space Grotesk', system-ui, sans-serif; }
[data-font="inter"] .hero__title, [data-font="inter"] .page-title { letter-spacing: -.04em; }
[data-cols="3"] .pgrid:not(.pgrid--home) { --cols: 3; }
@media (max-width: 820px) { [data-cols="3"] .pgrid:not(.pgrid--home) { --cols: 2; } }
@media (max-width: 520px) { [data-cols="3"] .pgrid:not(.pgrid--home) { --cols: 1; } }
[data-alt="sand"] { --section-alt: var(--sand); }
[data-alt="sand"] .section + .section--alt, [data-alt="sand"] .section--alt + .section { border-top: 0; }

.switcher { position: fixed; left: 16px; bottom: 16px; z-index: 90; font: 400 13px/1.4 'Inter', system-ui, sans-serif; color: var(--ink); }
.switcher__toggle {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
    background: var(--ink); color: var(--white); border-radius: 999px; font-weight: 600;
    box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .4);
}
.switcher__toggle .icon { width: 18px; height: 18px; color: var(--yellow); }
.switcher__toggle[aria-expanded="true"] { background: #000; }
.switcher__panel {
    position: absolute; left: 0; bottom: 52px; width: 300px; max-height: calc(100vh - 100px); overflow-y: auto;
    background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .3);
}
.switcher__title { font-weight: 600; font-size: 14px; margin-bottom: 12px; display: flex; justify-content: space-between; }
.switcher__title small { font-weight: 500; color: var(--muted); }
.switcher__group + .switcher__group { margin-top: 12px; }
.switcher__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.switcher__opts { display: flex; flex-wrap: wrap; gap: 4px; }
.switcher__opts button {
    height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px;
    font-size: 12.5px; font-weight: 500; background: var(--white);
}
.switcher__opts button:hover { border-color: var(--ink); }
.switcher__opts button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.switcher__opts button[data-val="outfit"]  { font-family: 'Outfit'; }
.switcher__opts button[data-val="inter"]   { font-family: 'Inter'; }
.switcher__opts button[data-val="manrope"] { font-family: 'Manrope'; }
.switcher__opts button[data-val="dmsans"]  { font-family: 'DM Sans'; }
.switcher__opts button[data-val="grotesk"] { font-family: 'Space Grotesk'; }
.switcher__reset { margin-top: 14px; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.switcher__reset:hover { color: var(--ink); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
