/* ZWP Anlagenrevision – Stylesheet (von Hand gepflegt, kein Build-Schritt) */

@font-face { font-family: "Reddit Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/reddit-sans-v5-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Reddit Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/reddit-sans-v5-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Reddit Sans"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/reddit-sans-v5-latin-900.woff2") format("woff2"); }

:root {
  --blue: #1961ac;
  --blue-700: #134d8a;
  --blue-50: #eaf2fb;
  --blue-100: #d5e5f6;
  --navy: #0b1d33;
  --navy-800: #112a47;
  --ink: #15212e;
  --text: #37424f;
  --muted: #637080;
  --line: #dde4ec;
  --soft: #f3f6fa;
  --white: #fff;
  --accent: #e4007c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 29, 51, .06), 0 8px 24px rgba(11, 29, 51, .07);
  --shadow-lg: 0 2px 4px rgba(11, 29, 51, .06), 0 18px 40px rgba(11, 29, 51, .12);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: "Reddit Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
address { font-style: normal; }
small { font-size: .85em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(820px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mt-24 { margin-top: 24px; }
.pt-0 { padding-top: 0 !important; }

/* ---------------------------------------------------------------- Buttons */

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; transition: background .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 10px 20px; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); border-color: var(--blue-50); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-line { background: transparent; color: var(--blue); border-color: var(--blue-100); }
.btn-line:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
.btn-line:hover svg { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
a:hover .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow-light { color: #9cc4ee; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text); }

/* ---------------------------------------------------------------- Kopf */

.topbar { background: var(--navy); color: #b7c6d8; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar strong { color: #fff; font-weight: 700; }
.topbar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #9cc4ee; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.logo img { height: 54px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; border-radius: var(--radius-sm); white-space: nowrap; }
.nav > ul > li > a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .2s; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current] { color: var(--blue); }
.nav > ul > li > a[aria-current]:not(.btn) { box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.nav .nav-cta { margin-left: 8px; }
.nav .nav-cta .btn { color: #fff; }
.sub { position: absolute; top: 100%; left: 0; min-width: 300px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub ul { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; }
.sub a { display: block; padding: 9px 14px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 400; line-height: 1.35; }
.sub a:hover { background: var(--blue-50); color: var(--blue); }
.sub .sub-all a { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); border-bottom: 1px solid var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: 6px; padding-bottom: 12px; }
.sub .sub-all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > a svg, .has-sub:focus-within > a svg { transform: rotate(180deg); }
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 1120px) {
  .topbar p { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .site-header .wrap { min-height: 68px; }
  .logo img { height: 44px; }
  .nav-burger { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
  .nav-burger span::before { top: -7px; }
  .nav-burger span::after { top: 7px; }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 46px; height: 46px; right: var(--gutter); margin: 0; cursor: pointer; z-index: 2; }
  .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--blue); }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav > ul > li > a { display: flex; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav > ul > li > a[aria-current]:not(.btn) { box-shadow: none; }
  .nav > ul > li > a svg, .sub { display: none; }
  .nav .nav-cta { margin: 16px 0 0; }
  .nav .nav-cta .btn { justify-content: center; width: 100%; border-bottom: 0; border-radius: 999px; padding: 14px; }
}
@media (max-width: 560px) { .topbar ul { gap: 14px; } .topbar li:last-child { display: none; } }

/* ---------------------------------------------------------------- Abschnitte */

.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.section-head.split > * { margin-bottom: 0; }
.section-head.split .lead { max-width: 520px; }
.section-head h2 { margin-bottom: 0; }

/* Startseite: Hero mit Video */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 29, 51, .92) 0%, rgba(11, 29, 51, .72) 45%, rgba(11, 29, 51, .25) 100%), linear-gradient(0deg, rgba(11, 29, 51, .55), transparent 40%); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-content { padding-block: clamp(80px, 13vw, 160px) clamp(120px, 12vw, 160px); max-width: var(--wrap); }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 34rem; color: #dbe6f3; }
.hero-badges { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .95rem; color: #dbe6f3; }
.hero-badges li { display: flex; align-items: center; gap: 9px; }
.hero-badges svg { width: 20px; height: 20px; fill: none; stroke: #9cc4ee; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.jobs-bar { position: relative; z-index: 2; margin-top: -34px; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 26px; text-decoration: none; color: var(--text); }
.jobs-badge { background: var(--accent); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.jobs-text { flex: 1 1 280px; }
.jobs-text strong { color: var(--ink); }
.jobs-bar:hover { color: var(--text); }

.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.entry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.entry:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.entry-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.entry-body { padding: 24px 26px 26px; }
.entry-body h3 { font-size: 1.3rem; }
.entry-body h3 a { color: var(--ink); text-decoration: none; }
.entry-body h3 a:hover { color: var(--blue); }
.entry-body ul { list-style: none; margin: 0; padding: 0; }
.entry-body li a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.entry-body li a::after { content: "›"; color: var(--blue); font-weight: 700; }
.entry-body li a:hover { color: var(--blue); }
@media (max-width: 900px) { .entries { grid-template-columns: 1fr; max-width: 560px; } }

.split-media { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-media.reverse { grid-template-columns: .8fr 1.2fr; }
.split-media-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-media-img.narrow img { max-width: 460px; }
@media (max-width: 900px) { .split-media, .split-media.reverse { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.stat { background: #fff; border-radius: var(--radius); padding: 22px 24px; border-top: 4px solid var(--blue); box-shadow: var(--shadow); }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 900; color: var(--blue); line-height: 1.15; }
.stat > span { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.section:not(.section-soft) .stat { background: var(--soft); box-shadow: none; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.band { background: var(--navy); color: #c3d0df; padding-block: clamp(56px, 8vw, 88px); }
.band h2 { color: #fff; }
.band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 64px; align-items: start; }
.band-logos { margin-top: 28px; width: min(100%, 440px); }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; } }

.numbered { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 14px; }
.numbered li { counter-increment: n; position: relative; padding-left: 50px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 900; display: grid; place-items: center; }
.numbered strong { color: var(--ink); display: block; }

/* ---------------------------------------------------------------- Seitenkopf */

.page-head { background: linear-gradient(180deg, var(--soft), #fff); padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 72px); }
.page-head-plain { background: linear-gradient(180deg, var(--soft), #fff 85%); }
.page-head-grid { display: grid; gap: 40px; }
.page-head-grid.has-media { grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
.page-head-media img { width: auto; max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-inline: auto; }
.page-head h1 { margin-bottom: .4em; }
.page-head-plain .lead { max-width: 760px; }
.page-head-text > p:last-child, .page-head-text > ul:last-child { margin-bottom: 0; }
.claim { font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--blue); font-weight: 700; margin-top: -.3em; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; font-weight: 700; font-size: .92rem; padding: 8px 14px; border-radius: 999px; }
.facts svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; }
@media (max-width: 900px) { .page-head-grid.has-media { grid-template-columns: 1fr; } }
.page-head + .section { padding-top: clamp(16px, 3vw, 32px); }

/* ---------------------------------------------------------------- Inhalt */

.prose h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.prose > :first-child { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231961ac' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 1.4em 0; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); margin: 0; }
@media (max-width: 900px) { .tiles-3 { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-soft .tile { border-color: transparent; box-shadow: var(--shadow); }
.tile h3 { margin-bottom: .45em; }
.tile p:last-child, .tile ul:last-child { margin-bottom: 0; }
.tile .checklist { gap: 5px; font-size: .97rem; }
.tile > svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.tile-num .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 16px; }
.wrap-narrow .tiles { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.more { border: 1px solid var(--line); border-radius: var(--radius); margin: 1.4em 0; background: #fff; }
.more summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; }
.more[open] summary::after { content: "–"; }
.more summary:hover { color: var(--blue); }
.more-body { padding: 0 22px 8px; }
.figure { margin: 1.6em 0; }
.figure img { width: auto; max-width: 100%; border-radius: var(--radius); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 1.6em 0; }
.gallery .figure { margin: 0; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
.download { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; margin: 1.4em 0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.download:hover { border-color: var(--blue-100); box-shadow: var(--shadow); color: var(--blue); }
.download svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--blue-50); fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download small { display: block; color: var(--muted); font-weight: 400; }
.back { padding-bottom: clamp(40px, 6vw, 64px); }
.link-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 700; }
.link-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.link-back:hover { color: var(--blue); }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s, border-color .2s; }
.section-soft .card { border-color: transparent; box-shadow: var(--shadow); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.card-media { background: var(--soft); }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--ink); }
.card-body p { flex: 1; }
.card:hover h3 { color: var(--blue); }

/* Beratung */
.cta { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; background: var(--navy); color: #c3d0df; border-radius: calc(var(--radius) * 1.4); padding: 0 clamp(24px, 4vw, 48px) 0 clamp(20px, 3vw, 36px); overflow: hidden; }
.cta-media { align-self: end; }
.cta-media img { width: 170px; margin-top: 24px; }
.cta-text { padding-block: 32px; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.cta p { margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { justify-content: center; }
.cta-actions .btn-ghost svg { stroke-width: 2; }
@media (max-width: 960px) {
  .cta { grid-template-columns: 1fr; padding: 32px 24px; }
  .cta-media { display: none; }
  .cta-text { padding: 0; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Ansprechpartner */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.people-compact { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
@media (max-width: 420px) { .people-compact { grid-template-columns: 1fr; } }
.person-compact { flex-direction: row; align-items: flex-start; gap: 18px; padding: 22px; }
.person-compact .person-body { padding: 0; min-width: 0; }
.person-compact .avatar { flex: none; width: 64px; height: 64px; font-size: 1.35rem; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person-media { background: linear-gradient(160deg, var(--blue-50), #fff); aspect-ratio: 4 / 5; display: grid; place-items: end center; overflow: hidden; }
.person-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.avatar { border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 900; letter-spacing: .02em; }
.person-body { padding: 20px 22px 22px; }
.person-body h3 { margin-bottom: 2px; }
.role { color: var(--muted); font-size: .95rem; }
.role span { display: block; font-size: .85rem; opacity: .8; }
.person-contact, .info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.person-contact li, .info-list li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.person-contact svg, .info-list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.person-contact a, .info-list a { color: var(--text); text-decoration: none; }
.person-contact a:hover, .info-list a:hover { color: var(--blue); text-decoration: underline; }

/* Karriere */
.jobs { display: grid; gap: 14px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--text); transition: box-shadow .2s, border-color .2s; }
.job > div { flex: 1 1 420px; }
.job h3 { margin-bottom: .25em; }
.job p { margin: 0 0 10px; }
.job:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100); color: var(--text); }
.job:hover h3 { color: var(--blue); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 4px 12px; border-radius: 999px; }
.tile-icon svg { margin-bottom: 14px; }

/* Formulare */
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 20px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field label span { color: var(--accent); }
.field small { color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; transition: border-color .2s, background .2s; }
.field input[type="file"] { padding: 10px; font-size: .92rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-100); }
.field textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 18px 0 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card + .info-card { margin-top: 18px; }
.info-card h2 { font-size: 1.2rem; margin-bottom: 16px; }
.info-card.dark { background: var(--navy); border-color: var(--navy); color: #c3d0df; }
.info-card.dark h2 { color: #fff; }
.info-card.dark .link-arrow { color: #9cc4ee; }

/* Status- und Fehlerseiten */
.status { padding-block: clamp(72px, 12vw, 140px); text-align: center; }
.status .wrap { max-width: 720px; }
.status-icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--blue-50); display: grid; place-items: center; }
.status-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.status-icon.warn { background: #fdeaf3; }
.status-icon.warn svg { stroke: var(--accent); }

/* Rechtstexte */
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; scroll-margin-top: 100px; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; }
.legal address { margin-bottom: 1em; }
.toc { background: var(--soft); border-radius: var(--radius); padding: 20px 26px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 260px; }
.toc a { text-decoration: none; }

/* ---------------------------------------------------------------- Fuß */

.site-footer { background: var(--navy); color: #a9b9cc; font-size: .95rem; padding-top: clamp(48px, 7vw, 80px); }
.site-footer a { color: #dbe6f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.footer-grid h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; line-height: 1.35; }
.footer-brand img { width: 150px; margin-bottom: 20px; }
.footer-brand address { margin-bottom: 12px; }
.footer-partner { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-top: 48px; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-partner img { width: min(100%, 380px); }
.footer-partner p { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Animationen
   Rein per CSS, ohne JavaScript. Grundzustand ist immer „sichtbar“: Die
   Keyframes beschreiben nur den Weg dorthin. Browser ohne Scroll-Animationen
   (animation-timeline) zeigen die Inhalte sofort, bei „Bewegung reduzieren“
   schaltet die Regel ganz oben alle Animationen ab. */

:root { --ease: cubic-bezier(.22, .8, .24, 1); }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
main { overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@keyframes fade-up { from { opacity: 0; translate: 0 28px; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; scale: .94; } }
@keyframes slide-left { from { opacity: 0; translate: -40px 0; } }
@keyframes slide-right { from { opacity: 0; translate: 40px 0; } }

/* Hero: Inhalte nacheinander einblenden, Bild mit langsamer Kamerafahrt */
.hero-content > * { animation: fade-up 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .26s; }
.hero-content > :nth-child(4) { animation-delay: .4s; }
.hero-content > :nth-child(5) { animation-delay: .55s; }
.hero-badges li { animation: fade-up .8s var(--ease) both; }
.hero-badges li:nth-child(1) { animation-delay: .7s; }
.hero-badges li:nth-child(2) { animation-delay: .82s; }
.hero-badges li:nth-child(3) { animation-delay: .94s; }
.hero-img { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { scale: 1.02; } to { scale: 1.1; translate: -1.5% 0; } }
.jobs-bar { animation: fade-up 1s var(--ease) 1s both; }

/* Ultraschall-Echo (A-Scan): Linie zeichnet sich immer wieder neu, Messcursor fährt mit */
.hero-scan { position: absolute; left: 0; right: 0; bottom: 44px; height: 80px; pointer-events: none; opacity: .75; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hero-scan svg { width: 100%; height: 100%; overflow: visible; }
.hero-scan path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.scan-base { stroke: rgba(156, 196, 238, .16); }
.scan-line { stroke: #7fc0ff; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(127, 192, 255, .9)); animation: scan-draw 6s linear infinite; }
@keyframes scan-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 90%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.hero-scan::after { content: ""; position: absolute; top: -10px; bottom: -10px; left: 0; width: 2px; background: linear-gradient(transparent, #bfe0ff, transparent); box-shadow: 0 0 18px 4px rgba(127, 192, 255, .55); animation: scan-cursor 6s linear infinite; }
@keyframes scan-cursor { 0% { left: 0; opacity: 1; } 70% { left: 100%; opacity: 1; } 71%, 100% { left: 100%; opacity: 0; } }
@media (max-width: 700px) { .hero-scan { bottom: 46px; height: 56px; opacity: .55; } }

/* Jobs: pulsierender Punkt */
.jobs-badge { position: relative; padding-left: 26px; }
.jobs-badge::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #fff; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }

/* Seitenköpfe: Schallwellen-Ringe breiten sich aus */
.page-head { position: relative; overflow: hidden; isolation: isolate; }
.page-head::before, .page-head::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; border: 2px solid var(--blue-100); animation: sonar 7s cubic-bezier(.2, .6, .3, 1) infinite; }
.page-head::after { animation-delay: 3.5s; }
@keyframes sonar { 0% { scale: .15; opacity: 0; } 12% { opacity: 1; } 100% { scale: 1.6; opacity: 0; } }
.page-head-text > *, .page-head-plain .wrap > *, .page-head-plain .wrap-narrow > * { animation: fade-up .9s var(--ease) both; }
.page-head-text > :nth-child(2), .page-head-plain .wrap > :nth-child(2), .page-head-plain .wrap-narrow > :nth-child(2) { animation-delay: .08s; }
.page-head-text > :nth-child(3), .page-head-plain .wrap > :nth-child(3), .page-head-plain .wrap-narrow > :nth-child(3) { animation-delay: .16s; }
.page-head-text > :nth-child(n+4), .page-head-plain .wrap > :nth-child(n+4) { animation-delay: .24s; }
.page-head-media { animation: zoom-in 1.1s var(--ease) .15s both; }
.facts li { animation: fade-up .7s var(--ease) both; }
.facts li:nth-child(1) { animation-delay: .4s; }
.facts li:nth-child(2) { animation-delay: .5s; }
.facts li:nth-child(3) { animation-delay: .6s; }

/* Hover: Bilder zoomen, Karten heben sich, Buttons mit Lichtkante */
.card-media, .entry-media { overflow: hidden; }
.card-media img, .entry-media img, .split-media-img img, .person-media img { transition: scale .7s var(--ease); }
.card:hover .card-media img, .entry:hover .entry-media img, .person:hover .person-media img { scale: 1.06; }
.card, .entry, .job, .person, .tile, .download, .stat { transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.tile:hover, .person:hover, .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); translate: -120% 0; transition: translate .7s var(--ease); }
.btn:hover::after { translate: 120% 0; }
.tile-num .num, .numbered li::before { transition: background .3s, color .3s, scale .3s var(--ease); }
.tile-num:hover .num { scale: 1.1; }
.numbered li:hover::before { background: var(--blue); color: #fff; }
.site-footer a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.site-footer a:hover { text-decoration: none; background-size: 100% 1px; }

/* Partnerband: langsam wandernde Lichtflächen */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band::before, .band::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; filter: blur(80px); opacity: .5; }
.band::before { background: #1961ac; left: -180px; top: -260px; animation: drift 16s ease-in-out infinite alternate; }
.band::after { background: #0f6bc9; right: -220px; bottom: -320px; opacity: .35; animation: drift 19s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: 140px 90px; scale: 1.15; } }
.cta { position: relative; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: #1961ac; filter: blur(90px); opacity: .45; animation: drift 14s ease-in-out infinite alternate; }

/* Scroll-gesteuert (Chrome, Edge, Safari 26+): Kopfzeile, Fortschritt, Einblenden, Zähler */
@supports (animation-timeline: view()) {
  .site-header { animation: header-lift linear both; animation-timeline: scroll(); animation-range: 0 140px; }
  @keyframes header-lift { to { box-shadow: 0 8px 28px rgba(11, 29, 51, .1); border-bottom-color: transparent; } }
  .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--blue), #4aa3ff); transform-origin: 0 50%; animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  .card, .entry, .tile, .stat, .person, .job, .figure, .download, .more, .info-card, .form-card, .cta, .gallery .figure,
  .section-head, .prose > h2, .numbered li, .people-compact .person, .band-grid > *, .footer-partner {
    animation: fade-up linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
  }
  .split-media > :first-child { animation: slide-left linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .split-media > :last-child { animation: slide-right linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .split-media.reverse > :first-child { animation-name: slide-left; }
  .split-media-img img { animation: zoom-in linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  /* Versatz innerhalb von Rastern */
  :is(.cards, .entries, .tiles, .stats, .people) > :nth-child(3n+2) { animation-range: entry 6% entry 62%; }
  :is(.cards, .entries, .tiles, .stats, .people) > :nth-child(3n) { animation-range: entry 12% entry 70%; }
  .stats > :nth-child(4n) { animation-range: entry 18% entry 76%; }

  /* Kennzahlen zählen beim Hereinscrollen hoch */
  .count { font-size: 0; counter-reset: n var(--n); animation: count linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  .count::before { content: counter(n); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
  .n-100 { --n: 100; --from: 0; }
  .n-20 { --n: 20; --from: 0; }
  .n-30 { --n: 30; --from: 0; }
  .n-1975 { --n: 1975; --from: 1900; }
  .n-1990 { --n: 1990; --from: 1920; }
  @keyframes count { from { --n: var(--from); } }
}

@media print {
  .topbar, .site-header, .site-footer, .cta, .hero-video, .form-card { display: none !important; }
  body { font-size: 11pt; }
}
