/* EWP Gruppe Webseite: Gestaltung (Variante A, exklusiv und repräsentativ) */
@font-face { font-family: 'Archivo'; font-weight: 300; font-display: swap; src: url(fonts/archivo-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 400; font-display: swap; src: url(fonts/archivo-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 500; font-display: swap; src: url(fonts/archivo-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 600; font-display: swap; src: url(fonts/hanken-grotesk-latin-600-normal.woff2) format('woff2'); }

:root {
  --blau: #0C1C71;
  --blau-tief: #08134D;
  --blau-hell: #AAB0CD;
  --anthrazit: #1F2124;
  --text: #3A3E43;
  --grau: #5E636A;
  --linie: #DCD7CF;
  --hell: #F4F2EE;
  --weiss: #FFFFFF;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --rand: clamp(20px, 5vw, 72px);
  --abstand: clamp(88px, 11vw, 168px);
  --max: 1320px;
  --nav-h: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--weiss); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--anthrazit); font-weight: 400; margin: 0; line-height: 1.12; letter-spacing: -0.005em; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--weiss); padding: 12px 18px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; }

/* Raster */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--rand); }
.schmal { max-width: 860px; }
section { padding-block: var(--abstand); }
section.knapp { padding-block: clamp(56px, 7vw, 96px); }
.hell { background: var(--hell); }
.blau { background: var(--blau); color: #E6E8F2; }
.blau h2, .blau h3, .blau .zahl { color: var(--weiss); }
.dunkel { background: var(--anthrazit); color: #D4D7DA; }
.dunkel h2, .dunkel h3 { color: var(--weiss); }

/* Typografie */
.eyebrow { font-size: 12.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blau); font-weight: 500; }
.blau .eyebrow, .dunkel .eyebrow, .kopfbild .eyebrow { color: var(--blau-hell); }
.h1 { font-size: clamp(40px, 6.2vw, 92px); font-weight: 300; line-height: 1.02; text-transform: uppercase; letter-spacing: 0.005em; }
.h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 300; }
.h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 400; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text); }
.blau .lead, .dunkel .lead { color: #D9DCE8; }
.klein { font-size: 14px; color: var(--grau); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: clamp(40px, 5vw, 64px); }
.kopf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 112px); align-items: start; margin-bottom: clamp(48px, 6vw, 88px); }
.kopf > div:last-child { display: flex; flex-direction: column; gap: 18px; padding-top: 34px; }
.kopf > div:last-child .link { align-self: flex-start; }
@media (max-width: 860px) { .kopf > div:last-child { padding-top: 0; } }
@media (max-width: 860px) { .kopf { grid-template-columns: 1fr; } }
.absaetze p + p { margin-top: 1.1em; }

/* Links und Schaltflächen */
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; color: var(--anthrazit); border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .3s, color .3s; }
.link::after { content: '→'; font-family: var(--body); }
.link:hover { gap: 16px; color: var(--blau); }
.blau .link, .dunkel .link, .kopfbild .link { color: var(--weiss); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; font: 500 15px/1.2 var(--body); letter-spacing: 0.04em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn-blau { background: var(--blau); color: var(--weiss); }
.btn-blau:hover { background: var(--blau-tief); }
.btn-weiss { background: var(--weiss); color: var(--anthrazit); }
.btn-weiss:hover { background: var(--hell); }
.btn-rand { border-color: currentColor; color: inherit; background: transparent; }
.btn-rand:hover { background: rgba(255,255,255,.12); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background .4s, height .4s, box-shadow .4s; }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: none; }
.nav .marke { display: flex; align-items: center; text-decoration: none; }
.nav .marke img { height: 62px; width: auto; transition: height .4s; }
.nav .marke .w { display: none; }
.nav.ueberbild:not(.fest) .marke .w { display: block; } .nav.ueberbild:not(.fest) .marke .b { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav ul a { text-decoration: none; font-size: 15px; letter-spacing: 0.03em; color: var(--anthrazit); padding-block: 8px; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.nav ul a:hover, .nav ul a[aria-current] { border-color: currentColor; }
.nav.ueberbild:not(.fest) ul a { color: var(--weiss); }
.nav .nav-cta { margin-left: 8px; }
.nav .nav-cta a { border: 1px solid currentColor; padding: 11px 20px; }
.nav.ueberbild:not(.fest) .nav-cta a:hover { background: var(--weiss); color: var(--anthrazit); }
.nav:not(.ueberbild) .nav-cta a, .nav.fest .nav-cta a { background: var(--blau); color: var(--weiss); border-color: var(--blau); }
.nav.fest { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--linie); height: 76px; }
.nav.fest .marke img { height: 48px; }
body:not(.hat-bild) .nav { background: var(--weiss); box-shadow: 0 1px 0 var(--linie); }
.menue { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 12px; cursor: pointer; color: var(--anthrazit); }
.nav.ueberbild:not(.fest) .menue { color: var(--weiss); }
.menue span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
@media (max-width: 1080px) {
  .menue { display: block; }
  .nav ul { position: fixed; inset: 0; top: 0; flex-direction: column; justify-content: center; gap: 22px; background: var(--weiss); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav ul a { font-family: var(--display); font-size: 28px; font-weight: 300; color: var(--anthrazit) !important; }
  .nav .nav-cta { margin: 16px 0 0; } .nav .nav-cta a { font-family: var(--body); font-size: 16px; }
  .nav.offen ul { opacity: 1; visibility: visible; }
  .nav.offen .menue { color: var(--anthrazit); position: relative; z-index: 2; }
  .nav.offen .marke { position: relative; z-index: 2; }
  .nav.offen .marke .w { display: none !important; } .nav.offen .marke .b { display: block !important; }
  .nav.offen .menue span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.offen .menue span:nth-child(2) { opacity: 0; }
  .nav.offen .menue span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
main { display: block; }
body:not(.hat-bild) main { padding-top: var(--nav-h); }

/* Kopfbild */
.kopfbild { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--weiss); padding: 0; overflow: hidden; background: var(--anthrazit); }
.kopfbild.halb { min-height: clamp(560px, 78svh, 860px); }
.kopfbild > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kopfbild .schleier { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,12,30,.62) 0%, rgba(8,12,30,.35) 45%, rgba(8,12,30,.05) 80%), linear-gradient(180deg, rgba(8,12,30,.45) 0%, rgba(8,12,30,0) 25%, rgba(8,12,30,0) 60%, rgba(8,12,30,.55) 100%); }
.kopfbild .inhalt { position: relative; width: 100%; padding-bottom: clamp(56px, 9vw, 120px); padding-top: calc(var(--nav-h) + 40px); }
.kopfbild h1 { color: var(--weiss); }
.kopfbild .lead { color: rgba(255,255,255,.88); max-width: 620px; }
.kopfbild .unterzeile { font-family: var(--display); font-weight: 300; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,.86); }
.kopfbild .bereiche { font-size: 15px; letter-spacing: 0.08em; color: rgba(255,255,255,.8); }
.kopfbild .scroll { position: absolute; right: var(--rand); bottom: clamp(56px, 9vw, 120px); writing-mode: vertical-rl; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,.75); text-decoration: none; display: flex; align-items: center; gap: 14px; }
.kopfbild .scroll::after { content: ''; width: 1px; height: 64px; background: rgba(255,255,255,.6); }
@media (max-width: 760px) { .kopfbild .scroll { display: none; } }
.seitenkopf { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(40px, 5vw, 72px); }
.brotkrumen { font-size: 13px; color: var(--grau); margin-bottom: 28px; }
.brotkrumen a { color: var(--grau); text-decoration: none; }
.brotkrumen a:hover { color: var(--blau); }
.kopfbild .brotkrumen, .kopfbild .brotkrumen a { color: rgba(255,255,255,.75); }

/* Kennzahlen */
.zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linie); }
.zahlen > div { padding: 36px 24px 0 0; }
.zahlen .zahl { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; color: var(--anthrazit); white-space: nowrap; }
.zahlen .zahl small { font-size: .42em; margin-left: 6px; letter-spacing: 0.02em; }
.zahlen p { margin-top: 14px; font-size: 15px; color: var(--grau); }
.blau .zahlen { border-color: rgba(255,255,255,.25); } .blau .zahlen p { color: #C7CBE0; }
@media (max-width: 860px) { .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }

/* Bereiche (Startseite und Leistungsübersicht) */
.bereiche-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.bereich { position: relative; display: block; text-decoration: none; color: var(--weiss); overflow: hidden; aspect-ratio: 4 / 3; background: var(--anthrazit); }
.bereich img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.bereich::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,30,.05) 20%, rgba(8,12,30,.55) 55%, rgba(8,12,30,.86) 100%); }
.bereich .btext { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 12px; }
.bereich .nr { font-family: var(--display); font-size: 14px; letter-spacing: 0.2em; color: var(--blau-hell); }
.bereich h3 { color: var(--weiss); font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; }
.bereich p { color: rgba(255,255,255,.86); max-width: 460px; font-size: 16px; }
.bereich .mehr { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; margin-top: 6px; }
.bereich .mehr::after { content: '→'; transition: transform .3s; }
.bereich:hover img { transform: scale(1.04); }
.bereich:hover .mehr::after { transform: translateX(6px); }
@media (max-width: 760px) { .bereiche-raster { grid-template-columns: 1fr; } .bereich { aspect-ratio: 4 / 3.4; } }

/* Projekt groß */
.projekt-gross { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); background: var(--weiss); text-decoration: none; color: inherit; }
.projekt-gross .bild { overflow: hidden; min-height: 560px; position: relative; }
.projekt-gross .bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.projekt-gross:hover .bild img { transform: scale(1.03); }
.projekt-gross .ptext { padding: clamp(32px, 4vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.projekt-gross h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 300; }
.projekt-gross dl { margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; border-top: 1px solid var(--linie); padding-top: 24px; }
.projekt-gross dt { font-size: 13px; color: var(--grau); }
.projekt-gross dd { margin: 4px 0 0; font-weight: 500; color: var(--anthrazit); }
.projekt-gross .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .projekt-gross { grid-template-columns: 1fr; } .projekt-gross .bild { min-height: 0; aspect-ratio: 16 / 10; } }

/* Projektkacheln */
.marke-zeile { font-size: 13px; color: var(--grau); letter-spacing: 0.02em; }
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.kacheln.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kachel { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--weiss); }
.hell .kachel { background: var(--weiss); }
.kachel .kbild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--hell); position: relative; }
.kachel .kbild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.kachel .kbild.ohne { display: flex; align-items: flex-end; padding: 24px; background: var(--blau); color: var(--weiss); }
.kachel .kbild.ohne span { font-family: var(--display); font-weight: 300; font-size: 26px; line-height: 1.15; }
.kachel .kbild.ohne::before { content: ''; position: absolute; right: 24px; top: 24px; width: 34px; height: 34px; border-top: 1px solid rgba(255,255,255,.5); border-right: 1px solid rgba(255,255,255,.5); }
.kachel:hover .kbild img { transform: scale(1.04); }
.kachel .ktext { padding: 22px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.hell .kachel .ktext { padding: 24px 28px 30px; }
.kachel h3 { font-size: 23px; font-weight: 400; }
.kachel p { font-size: 15.5px; color: var(--text); }
.kachel .status { display: inline-block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blau); }
.kachel .detail { font-size: 14px; font-weight: 500; color: var(--anthrazit); margin-top: 4px; }
@media (max-width: 1020px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kacheln, .kacheln.zwei { grid-template-columns: 1fr; } }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--linie); padding-bottom: 24px; }
.filter fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter legend { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grau); margin-bottom: 12px; padding: 0; width: 100%; }
.filter button { min-height: 44px; padding: 10px 18px; font: 500 14.5px/1 var(--body); color: var(--anthrazit); background: transparent; border: 1px solid var(--linie); cursor: pointer; transition: all .25s; }
.filter button:hover { border-color: var(--anthrazit); }
.filter button[aria-pressed="true"] { background: var(--anthrazit); color: var(--weiss); border-color: var(--anthrazit); }
.leer { display: none; padding: 40px 0; color: var(--grau); }

/* Zitatband */
.band { position: relative; min-height: clamp(460px, 70svh, 720px); display: flex; align-items: center; color: var(--weiss); overflow: hidden; padding: 0; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ''; position: absolute; inset: 0; background: rgba(8,12,30,.48); z-index: 1; }
.band .wrap { position: relative; z-index: 2; width: 100%; }
.band blockquote { margin: 0; max-width: 980px; font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.2; color: var(--weiss); }
.band cite { display: block; margin-top: 28px; font: normal 14px/1.4 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* Listen mit Linien */
.liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.liste > div { border-top: 1px solid var(--linie); padding: 28px 0 32px; display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; }
.liste .n { font-family: var(--display); font-size: 14px; color: var(--blau); padding-top: 5px; }
.liste h3 { font-size: 21px; grid-column: 2; }
.liste p { grid-column: 2; font-size: 15.5px; margin-top: 6px; }
.blau .liste > div, .dunkel .liste > div { border-color: rgba(255,255,255,.22); }
.blau .liste .n { color: var(--blau-hell); } .blau .liste p { color: #D2D6E6; }
@media (max-width: 760px) { .liste { grid-template-columns: 1fr; } }

/* Phasen */
.phasen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--anthrazit); }
.phasen > div { padding: 28px 24px 0 0; }
.phasen .n { font-family: var(--display); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blau); }
.phasen h3 { font-size: 20px; margin-top: 12px; }
.phasen ul { list-style: none; margin: 16px 0 0; padding: 0; font-size: 15px; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 1020px) { .phasen { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }
@media (max-width: 560px) { .phasen { grid-template-columns: 1fr; } }

/* Zwei Spalten Bild und Text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.split.umgekehrt > :first-child { order: 2; }
.split .sbild { aspect-ratio: 4 / 5; overflow: hidden; }
.split .sbild.quer { aspect-ratio: 4 / 3; }
.split .sbild img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.umgekehrt > :first-child { order: 0; } .split .sbild { aspect-ratio: 4 / 3; } }

/* Personen */
.personen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 2.4vw, 36px); align-items: end; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; filter: grayscale(100%); }
.person h3 { font-size: 26px; font-weight: 400; }
.person .funktion { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blau); margin-top: 8px; }
.person .titel { font-size: 15px; color: var(--grau); margin-top: 4px; }
.person p.text { font-size: 15.5px; margin-top: 16px; }
@media (max-width: 1020px) { .personen { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } }

/* Meilensteine */
.meilensteine { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.meilensteine li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.meilensteine b { font-family: var(--display); font-weight: 300; font-size: 30px; color: var(--blau); }
@media (max-width: 600px) { .meilensteine li { grid-template-columns: 1fr; gap: 6px; } }

/* Standorte */
.standorte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--linie); padding-top: 36px; }
.standorte h3 { font-size: 22px; }
.standorte .zusatz { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blau); margin-bottom: 10px; }
.standorte p { margin-top: 12px; font-size: 15.5px; }
.standorte a { text-decoration: none; }
.dunkel .standorte { border-color: #44494E; } .dunkel .standorte .zusatz { color: var(--blau-hell); } .dunkel .standorte p { color: #C9CDD2; }
@media (max-width: 860px) { .standorte { grid-template-columns: 1fr; } }

/* Projektseite */
.steckbrief { background: var(--hell); padding: clamp(28px, 3vw, 44px); }
.steckbrief h2 { font-size: 20px; font-weight: 500; margin-bottom: 18px; }
.steckbrief dl { margin: 0; }
.steckbrief dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--linie); font-size: 15.5px; }
.steckbrief dt { color: var(--grau); }
.steckbrief dd { margin: 0; color: var(--anthrazit); font-weight: 500; }
@media (max-width: 480px) { .steckbrief dl > div { grid-template-columns: 1fr; gap: 2px; } }
.projekt-inhalt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .projekt-inhalt { grid-template-columns: 1fr; } }
.galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.galerie button { padding: 0; border: 0; background: var(--hell); cursor: zoom-in; overflow: hidden; position: relative; aspect-ratio: 4 / 3; grid-column: span 4; }
.galerie button:nth-child(6n+1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.galerie button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.galerie button:hover img { transform: scale(1.04); }
.galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; font-size: 13px; color: var(--weiss); text-align: left; background: linear-gradient(180deg, transparent, rgba(8,12,30,.6)); opacity: 0; transition: opacity .3s; }
.galerie button:hover figcaption, .galerie button:focus-visible figcaption { opacity: 1; }
.galerie.einfach button, .galerie.einfach button:nth-child(6n+1) { grid-column: span 6; grid-row: auto; aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .galerie button, .galerie button:nth-child(6n+1) { grid-column: span 12; grid-row: auto; aspect-ratio: 4 / 3; } }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(8,12,30,.9); }
dialog.lightbox img { max-width: 94vw; max-height: 84vh; object-fit: contain; }
dialog.lightbox p { color: #E6E8F2; font-size: 14px; margin-top: 12px; text-align: center; }
dialog.lightbox .zu { position: fixed; top: 20px; right: 20px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--weiss); font-size: 24px; cursor: pointer; }
dialog.lightbox .vor, dialog.lightbox .zurueck { position: fixed; top: 50%; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.5); background: rgba(8,12,30,.3); color: var(--weiss); font-size: 22px; cursor: pointer; transform: translateY(-50%); }
dialog.lightbox .vor { right: 20px; } dialog.lightbox .zurueck { left: 20px; }
.vertrieb { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 48px); align-items: center; border: 1px solid var(--linie); padding: clamp(24px, 3vw, 40px); }
.vertrieb img { height: 34px; width: auto; }
.vertrieb h2 { font-size: 19px; font-weight: 500; }
.vertrieb p { font-size: 15.5px; margin-top: 6px; }
@media (max-width: 860px) { .vertrieb { grid-template-columns: 1fr; } }

/* Formular */
.formular { display: grid; gap: 18px; max-width: 760px; }
.formular label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--anthrazit); }
.formular input, .formular select, .formular textarea { font: 400 16px/1.4 var(--body); color: var(--anthrazit); background: var(--weiss); border: 1px solid #CFCAC1; padding: 14px 16px; border-radius: 0; min-height: 52px; width: 100%; }
.formular textarea { min-height: 140px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 2px solid var(--blau); outline-offset: 0; border-color: var(--blau); }
.formular .zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.formular .check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; font-size: 14px; color: var(--text); }
.formular .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--blau); }
.formular .btn { justify-self: start; }
.formular .ok, .formular .fehler { display: none; padding: 16px 18px; font-size: 15px; }
.formular .ok { background: #E8EBF5; color: var(--blau); }
.formular .fehler { background: #FBEDEA; color: #8A2A17; }
@media (max-width: 600px) { .formular .zwei { grid-template-columns: 1fr; } }
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.kontakt-raster aside { display: flex; flex-direction: column; gap: 28px; }
.kontakt-raster aside a { text-decoration: none; }
.kontakt-raster .gross { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 2.2vw, 30px); color: var(--anthrazit); }
@media (max-width: 960px) { .kontakt-raster { grid-template-columns: 1fr; } }

/* CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Rechtstexte */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 26px; margin: 48px 0 14px; }
.rechtstext h3 { font-size: 19px; margin: 32px 0 10px; font-weight: 500; }
.rechtstext p, .rechtstext ul { margin: 0 0 14px; font-size: 16px; }
.rechtstext a { color: var(--blau); }

/* Footer */
.footer { background: var(--anthrazit); color: #BFC3C8; padding: clamp(72px, 8vw, 112px) 0 40px; font-size: 15px; }
.footer .oben { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer img { height: 72px; width: auto; }
.footer h4 { font-family: var(--body); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--weiss); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; color: #BFC3C8; }
.footer a:hover { color: var(--weiss); }
.footer .leitsatz { margin-top: 24px; font-family: var(--display); font-weight: 300; letter-spacing: 0.24em; text-transform: uppercase; font-size: 13px; color: var(--weiss); }
.footer .unten { margin-top: 72px; padding-top: 28px; border-top: 1px solid #3A3E43; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13.5px; color: #9AA0A6; }
.footer .unten span:last-child { display: flex; flex-wrap: wrap; gap: 24px; }
@media (max-width: 960px) { .footer .oben { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer .oben { grid-template-columns: 1fr; } }

/* Cookie-Hinweis */
.cookie { position: fixed; z-index: 60; left: 20px; bottom: 20px; max-width: 460px; background: var(--weiss); box-shadow: 0 18px 60px rgba(8,12,30,.22); padding: 28px; display: none; font-size: 14.5px; }
.cookie.on { display: block; }
.cookie h3 { font-size: 19px; margin-bottom: 10px; }
.cookie a { color: var(--blau); }
.cookie .cb { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.cookie .details { display: none; margin-top: 16px; flex-direction: column; gap: 10px; }
.cookie.erweitert .details { display: flex; }
.cookie .details label { display: flex; gap: 10px; align-items: center; }
@media (max-width: 520px) { .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; } }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bereich img, .kachel .kbild img, .projekt-gross .bild img { transition: none; } }
.kopfbild .inhalt > * { animation: auf 1.2s cubic-bezier(.2,.7,.2,1) both; }
.kopfbild .inhalt > *:nth-child(2) { animation-delay: .15s; } .kopfbild .inhalt > *:nth-child(3) { animation-delay: .3s; } .kopfbild .inhalt > *:nth-child(4) { animation-delay: .45s; } .kopfbild .inhalt > *:nth-child(5) { animation-delay: .6s; }
@keyframes auf { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kopfbild .inhalt > * { animation: none; } }

@media (max-width: 600px) { :root { --nav-h: 80px; } .nav .marke img { height: 50px; } .kopfbild .unterzeile { letter-spacing: 0.18em; font-size: 14px; } .kopfbild .bereiche { font-size: 13px; } }

/* Zeitraffer */
.zeitraffer { margin-top: clamp(40px, 5vw, 64px); }
.zr-buehne { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.zr-buehne img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.zr-buehne img.an { opacity: 1; }
.zr-buehne::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(10,12,20,.78), rgba(10,12,20,0)); pointer-events: none; }
.zr-text { position: absolute; left: clamp(18px, 3vw, 40px); bottom: clamp(16px, 3vw, 36px); z-index: 2; display: flex; flex-direction: column; gap: 6px; color: var(--weiss); }
.zr-datum { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 4vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; }
.zr-phase { font-size: 12.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blau-hell); }
.zr-steuerung { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-top: 22px; }
.zr-play { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--weiss); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; }
.zr-play:hover { background: var(--weiss); color: var(--anthrazit); }
.zr-play svg { width: 22px; height: 22px; fill: currentColor; }
.zr-play .i-pause, .zr-play.laeuft .i-play { display: none; }
.zr-play.laeuft .i-pause { display: inline; }
.zr-leiste { position: relative; flex: 1; padding-bottom: 26px; }
.zr-leiste input { width: 100%; margin: 0; height: 28px; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; --fort: 0%; }
.zr-leiste input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--weiss) var(--fort), rgba(255,255,255,.25) var(--fort)); }
.zr-leiste input::-moz-range-track { height: 2px; background: rgba(255,255,255,.25); }
.zr-leiste input::-moz-range-progress { height: 2px; background: var(--weiss); }
.zr-leiste input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--weiss); border: 0; }
.zr-leiste input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--weiss); border: 0; }
.zr-jahre { position: absolute; left: 9px; right: 9px; bottom: 0; height: 18px; font-size: 12.5px; letter-spacing: 0.08em; color: rgba(255,255,255,.6); }
.zr-jahre span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.zr-jahre span:first-child { transform: none; }
.zr-jahre span:last-child { transform: translateX(-100%); }
@media (max-width: 720px) {
  .zr-buehne { aspect-ratio: 4 / 3; margin-inline: calc(var(--rand) * -1); }
  .zr-jahre span:nth-child(even):not(:last-child), .zr-jahre span:nth-last-child(2) { display: none; }
}
