/* KLD Website, ein Stylesheet für alle Seiten.
   Leitidee „Textmarker“: Gelb ist nie Fläche, immer Strich (Marker unter einem Wort, Linie, Haken, Knoten).
   Schrift: Überschriften Bebas Neue Pro (Adobe Fonts, nur nach Einwilligung), sonst die lokale Ersatzschrift
   „KLD Display“ (Sofia Sans Extra Condensed, SIL OFL). Fließtext Sofia Sans (SIL OFL), lokal. */

@font-face {
  font-family: "KLD Display";
  src: url("/fonts/kld-display.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  size-adjust: 102%; ascent-override: 100%; descent-override: 20%; line-gap-override: 0%;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("/fonts/sofia-sans.woff2") format("woff2");
  font-weight: 350 800; font-style: normal; font-display: swap;
}

:root {
  --navy: #2b2d42;
  --navy-deep: #202236;
  --navy-soft: #34364f;
  --paper: #edf2f4;
  --white: #ffffff;
  --yellow: #ffff88;
  --steel: #8d99ae;
  --radius: 16px;
  --wrap: 1250px;
  --gutter: clamp(20px, 4vw, 40px);
  --display: "bebas-neue-pro", "bebas-neue-pro-semiexpanded", "KLD Display", "Arial Narrow", sans-serif;
  --body: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Themen: jede Fläche setzt ihre eigenen Variablen ---------- */
.dark, .deep, body {
  --bg: var(--navy); --fg: var(--white); --muted: #b9c1cf; --line: rgba(255,255,255,.14); --card: var(--navy-soft);
  --btn-bg: var(--yellow); --btn-fg: var(--navy); --hl-color: var(--yellow); --hl-image: none; --hl-pad: 0; --focus: var(--yellow);
}
.deep { --bg: var(--navy-deep); }
.light {
  --bg: var(--paper); --fg: var(--navy); --muted: #566076; --line: rgba(43,45,66,.15); --card: var(--white);
  --btn-bg: var(--navy); --btn-fg: var(--yellow); --hl-color: currentColor; --hl-pad: .05em; --focus: var(--navy);
  --hl-image: linear-gradient(transparent 64%, var(--yellow) 64%, var(--yellow) 92%, transparent 92%);
}
.dark, .deep, .light { background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: var(--body); font-size: 1.1875rem; line-height: 1.6; font-weight: 420; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--navy); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; font-synthesis: none; margin: 0; letter-spacing: .002em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 6.6vw, 6rem); line-height: .98; }
h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1; margin-bottom: .45em; max-width: 17em; }
h3 { font-size: clamp(1.6rem, 2.1vw, 1.95rem); line-height: 1.08; }
h4 { font-size: 1.35rem; line-height: 1.15; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(84px, 10vw, 150px); }
.section.flush-top { padding-top: 0; }
.lead { font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.55; max-width: 33em; margin: 0 0 1.4em; }
.muted { color: var(--muted); }
.label { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 1rem; color: var(--muted); margin: 0 0 18px; }
.label::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); flex: none; }
.light .label::before { background: var(--navy); }

/* Marker: auf Hell ein Strich unter dem Wort, auf Dunkel gelbe Schrift */
.hl { color: var(--hl-color); background-image: var(--hl-image); background-repeat: no-repeat; background-size: 100% 100%;
  padding: 0 var(--hl-pad, 0); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1.0625rem/1.2 var(--body);
  padding: 17px 30px; border-radius: 999px; border: 2px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg);
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-small { padding: 11px 22px; font-size: .98rem; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg); box-shadow: none; }
.btn-dark { --btn-bg: var(--navy); --btn-fg: var(--yellow); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.textlink { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.light .textlink { border-color: var(--navy); }
.textlink svg, .btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.textlink:hover svg, a:hover > .textlink svg { transform: translateX(4px); }

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: transparent; transition: background-color .3s, box-shadow .3s; view-transition-name: kopf; }
.site-header.solid, .site-header.open { background: rgba(43,45,66,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 1.02rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: transparent; color: var(--white); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 4vw, 64px); margin-top: -76px; padding-top: calc(76px + clamp(28px, 4vw, 64px)); overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-bottom: clamp(48px, 6vw, 88px); }
.hero h1 { margin-bottom: .34em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .ln > span { display: block; }
.hero .lead { color: #e7ebf1; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.micro { font-size: .98rem; color: var(--muted); margin: 0; }
.portrait { position: relative; }
.portrait img { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }

.proof { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.proof a { display: block; text-decoration: none; padding: clamp(24px, 3vw, 38px) clamp(16px, 2.4vw, 36px) clamp(24px, 3vw, 38px) 0; border-right: 1px solid var(--line); margin-right: clamp(16px, 2.4vw, 36px); transition: color .2s; }
.proof a:last-child { border-right: 0; margin-right: 0; }
.proof strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 10px; color: var(--muted); font-size: 1.02rem; line-height: 1.4; max-width: 19em; }
.proof a:hover span { color: var(--white); }

/* ---------- Logo-Leiste ---------- */
.logos { padding: 34px 0 44px; overflow: hidden; border-top: 1px solid var(--line); }
.logos-label { text-align: center; color: var(--muted); font-size: .98rem; margin: 0 0 24px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 26%, #000 74%, transparent 98%); mask-image: linear-gradient(90deg, transparent 2%, #000 26%, #000 74%, transparent 98%); }
.marquee-track { display: flex; width: max-content; gap: clamp(72px, 9vw, 132px); align-items: center; list-style: none; padding: 0; margin: 0; animation: laufen 62s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 42px; width: auto; max-width: 150px; object-fit: contain; opacity: .8; }
@keyframes laufen { to { transform: translateX(calc(-50% - 36px)); } }

/* ---------- Heute / Mit System ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(30px, 4vw, 52px); }
.col { border-radius: var(--radius); padding: clamp(28px, 3.6vw, 54px); background: var(--bg); color: var(--fg); }
.col.before { --bg: var(--white); --fg: var(--navy); --muted: #566076; --line: rgba(43,45,66,.15); }
.col.after { --bg: var(--navy); --fg: var(--white); --muted: #b9c1cf; --line: rgba(255,255,255,.14); }
.col h3 { margin-bottom: 26px; }
.col.after h3 { color: var(--yellow); }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.list.plain li { align-items: center; }
.list b { display: block; font-weight: 650; line-height: 1.3; }
.list small { display: block; font-size: 1rem; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.ico svg { width: 15px; height: 15px; }
.before .ico { background: var(--paper); color: var(--steel); }
.after .ico { background: var(--yellow); color: var(--navy); }

/* ---------- Markendreieck ---------- */
.tri { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.tri-tabs { display: grid; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.tri-tab { border-bottom: 1px solid var(--line); }
.tri-tab button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 54px 1fr; align-items: baseline; width: 100%; padding: 22px 0 6px; }
.tri-tab button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.tri-num { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #a3adbf; transition: color .3s; font-variant-numeric: tabular-nums; }
.tri-tab h3 { transition: color .3s; color: var(--muted); }
.tri-tab.active h3 { color: var(--white); }
.tri-tab.active .tri-num { color: var(--yellow); }
.tri-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); padding-left: 54px; }
.tri-panel > div { overflow: hidden; }
.tri-panel p { margin: 0; padding: 4px 0 22px; color: #dfe4ec; max-width: 30em; }
.tri-tab.active .tri-panel { grid-template-rows: 1fr; }
.tri-tab:not(.active) .tri-panel p { visibility: hidden; }
.tri-graph { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.tri-graph svg { width: 100%; height: auto; overflow: visible; display: block; }
.tri-edge { fill: none; stroke: rgba(255,255,255,.26); stroke-width: 1.5; }
.tri-fill { fill: var(--yellow); opacity: .06; }
.tri-flow { fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: opacity .25s; }
.tri-flow.active { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset .55s var(--ease), opacity .2s; }
.tri-node { cursor: pointer; outline: none; }
.tri-node circle { fill: var(--navy); stroke: rgba(255,255,255,.4); stroke-width: 1.5; transition: fill .3s, stroke .3s, r .3s var(--ease); }
.tri-node text { font: 700 22px var(--display); fill: var(--muted); text-anchor: middle; transition: fill .3s; }
.tri-node .tri-n { font-size: 19px; fill: var(--white); }
.tri-node.active circle { fill: var(--yellow); stroke: var(--yellow); r: 30px; }
.tri-node.active .tri-n { fill: var(--navy); }
.tri-node.active .tri-name { fill: var(--white); }
.tri-node:focus-visible circle { stroke: var(--white); stroke-width: 3; }
.tri-center { position: absolute; left: 50%; top: 63%; transform: translate(-50%, -50%); width: 30%; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.1; color: var(--yellow); margin: 0; }

/* ---------- Fallstudien ---------- */
.cases { display: grid; gap: 20px; margin-top: clamp(30px, 4vw, 52px); }
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--white); color: var(--navy); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.case:nth-child(even) .case-img { order: 2; }
.case-img { overflow: hidden; background: var(--navy-deep); min-height: 300px; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case-img img { transform: scale(1.045); }
.case-body { padding: clamp(26px, 3.6vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.case-tag { font-size: .98rem; font-weight: 650; color: #566076; margin-bottom: 12px; }
.case-big { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 3.5vw, 3.2rem); line-height: 1; margin-bottom: 14px; }
.case-body p { margin: 0 0 22px; max-width: 32em; color: #3d4359; }

/* ---------- Für wen ---------- */
.who { display: grid; margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.who > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(16px, 4vw, 64px); padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.who p { margin: 0; color: var(--muted); max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; }
.chips li { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 1.02rem; }

/* ---------- Über Kevin ---------- */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about p { max-width: 34em; }

/* ---------- Arbeiten ---------- */
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.work-head h2 { margin: 0; }
.work { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--navy-soft) transparent; }
.work figure { margin: 0; flex: 0 0 min(78vw, 560px); scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; background: #111; }
.work img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Kundengeschichten ---------- */
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(30px, 4vw, 52px); align-items: start; }
.story { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.story-head { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; margin-bottom: 22px; }
.story-head img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.story-head b { display: block; font-size: 1.1rem; line-height: 1.25; }
.story-head span { display: block; color: var(--muted); font-size: .98rem; line-height: 1.35; margin-top: 2px; }
.story blockquote { margin: 0; font-size: 1.2rem; line-height: 1.5; }
.story blockquote::before { content: "„"; } .story blockquote::after { content: "“"; }
details.more { margin-top: 20px; border-top: 1px solid var(--line); }
details.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 0; font-weight: 700; }
details.more summary::-webkit-details-marker { display: none; }
.plus { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex: none; transition: transform .3s var(--ease), background-color .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus { transform: rotate(45deg); }
.story dl { margin: 18px 0 0; }
.story dt { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin: 18px 0 6px; }
.story dd { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* ---------- Ablauf ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(30px, 4vw, 52px) 0; border-top: 1px solid var(--line); counter-reset: s; }
.flow.four { grid-template-columns: repeat(4, 1fr); }
.flow article { padding: 30px clamp(16px, 2.4vw, 36px) 6px 0; border-right: 1px solid var(--line); margin-right: clamp(16px, 2.4vw, 36px); }
.flow article:last-child { border-right: 0; margin-right: 0; }
.num { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; color: #77839a; display: block; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.dark .num, .deep .num { color: var(--yellow); }
.flow p { margin: 10px 0 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.12; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .answer { padding: 0 0 28px; max-width: 42em; color: #3d4359; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { font-weight: 700; }
/* sanftes Aufklappen, wo der Browser es kann */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .4s var(--ease), opacity .3s, content-visibility .4s allow-discrete; }
  details[open]::details-content { block-size: auto; opacity: 1; }
}

/* ---------- Abschluss ---------- */
.final h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); max-width: 13em; }
.final .lead { margin-bottom: 1.6em; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--navy-deep); color: var(--white); padding: 64px 0 34px; font-size: 1.05rem; --line: rgba(255,255,255,.12); --muted: #b9c1cf; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h3 { font-size: 1.3rem; color: var(--yellow); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--muted); transition: color .2s; }
.site-footer a:hover { color: var(--yellow); }
.site-footer li, .site-footer p { color: var(--muted); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Fester Button am Handy ---------- */
.sticky { display: none; }

/* ---------- Unterseiten: Kopfbereich ---------- */
.page-hero { margin-top: -76px; padding: calc(76px + clamp(40px, 6vw, 84px)) 0 clamp(48px, 6vw, 88px); }
.page-hero h1 { font-size: clamp(2.7rem, 5.2vw, 4.6rem); line-height: 1; max-width: 16em; margin-bottom: .35em; }
.page-hero.big h1 { font-size: clamp(3.1rem, 6.6vw, 6rem); line-height: .98; }
.back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; font-size: 1rem; color: var(--muted); margin-bottom: 26px; }
.back svg { width: 16px; height: 16px; transform: rotate(180deg); transition: transform .2s var(--ease); }
.back:hover { color: var(--fg); } .back:hover svg { transform: rotate(180deg) translateX(4px); }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; max-width: 880px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--yellow); }

/* ---------- Fallstudie ---------- */
.progress-read { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); z-index: 120; }
.case-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.case-top figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); }
.case-top img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.fact { padding: 26px 20px 4px 0; }
.fact strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; color: var(--yellow); }
.light .fact strong { color: var(--navy); }
.fact span { display: block; margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.35; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 6vw, 96px); align-items: start; }
.aside { position: sticky; top: 108px; background: var(--white); border-radius: var(--radius); padding: 28px; }
.aside h3 { font-size: 1.5rem; margin-bottom: 14px; }
.aside dl { margin: 0 0 22px; }
.aside dt { color: #566076; font-size: .95rem; margin-top: 14px; }
.aside dd { margin: 2px 0 0; font-weight: 700; line-height: 1.3; }
.aside .btn { width: 100%; }
.prose { max-width: 720px; }
.prose > * + h2 { margin-top: 1.6em; }
.prose h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.prose h3 { margin: 1.5em 0 .5em; }
.prose ul { padding-left: 1.15em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--steel); }
.key { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; margin: 1.1em 0; padding-left: 20px; border-left: 3px solid var(--yellow); }
.light .key { border-color: var(--navy); }
.points { list-style: none; padding: 0; margin: 1.6em 0; border-top: 1px solid var(--line); }
.points > li { display: grid; grid-template-columns: 60px 1fr; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); margin: 0; }
.points > li > .num { font-size: 2rem; margin: 2px 0 0; }
.points h3 { margin: 0 0 .4em; }
.points p:last-child, .points ul:last-child { margin-bottom: 0; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 1.4em 0 2em; }
.results .fact { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.bigquote { max-width: 900px; margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.bigquote img { width: 110px; height: 110px; border-radius: 16px; object-fit: cover; }
.bigquote blockquote { margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; }
.bigquote figcaption { color: var(--muted); } .bigquote figcaption b { color: var(--fg); display: block; }
.wide-img { margin: 2em 0; border-radius: var(--radius); overflow: hidden; }

/* ---------- Formulare ---------- */
.form-wrap { max-width: 700px; margin-inline: auto; }
.form-card { --btn-bg: var(--navy); --btn-fg: var(--yellow); --focus: var(--navy); background: var(--white); color: var(--navy); border-radius: var(--radius); padding: clamp(26px, 5vw, 52px); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.light .form-card { box-shadow: 0 14px 40px rgba(43,45,66,.1); }
.bar { height: 5px; border-radius: 5px; background: var(--paper); margin-bottom: 30px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 33.3%; background: var(--navy); border-radius: 5px; transition: width .4s var(--ease); }
fieldset.step { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
fieldset.step legend { padding: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.05; margin-bottom: 10px; }
.step-count { display: block; font: 650 .98rem var(--body); color: #566076; margin-bottom: 8px; }
.no-js fieldset.step + fieldset.step { margin-top: 36px; }
.field { margin-top: 18px; }
.field label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--navy); background: var(--white); border: 2px solid #cfd6dc; border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--yellow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choices { display: grid; gap: 12px; margin-top: 18px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span { display: flex; align-items: center; gap: 14px; border: 2px solid #cfd6dc; border-radius: 12px; padding: 16px 18px; font-weight: 700; transition: border-color .15s, background-color .15s; }
.choice span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9aa5b5; flex: none; transition: border-color .15s, box-shadow .15s; }
.choice input:hover + span { border-color: var(--navy); }
.choice input:checked + span { border-color: var(--navy); background: #ffffd6; }
.choice input:checked + span::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px #ffffd6, inset 0 0 0 10px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.btn-text { background: none; border: 0; font: inherit; font-weight: 700; color: #566076; cursor: pointer; padding: 12px 6px; }
.btn-text:hover { color: var(--navy); }
.form-note { font-size: .95rem; color: #566076; margin: 18px 0 0; }
.form-note a { font-weight: 700; }
.form-error { background: #fde8e8; color: #8a1c1c; border-radius: 12px; padding: 14px 16px; font-weight: 650; margin: 0 0 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cal-box { background: var(--navy-soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); margin-top: 40px; }
.cal-box h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.cal-box .small { font-size: .95rem; color: var(--muted); margin: 16px 0 0; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 800px; overflow-wrap: break-word; }
.legal h1 { font-size: clamp(2.7rem, 5.2vw, 4.4rem); margin-bottom: .5em; }
.legal h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.7em 0 .5em; }
.legal h3 { font-size: 1.5rem; margin: 1.4em 0 .4em; }
.legal h4 { margin: 1.2em 0 .4em; }
.legal p, .legal li { font-size: 1.08rem; }
.legal .caps { font-size: .98rem; }
.legal a { font-weight: 650; }
.check-note { background: var(--yellow); color: var(--navy); border-radius: 10px; padding: 12px 16px; font-weight: 650; font-size: 1rem; margin: 0 0 22px; max-width: 820px; }
.fehlt { background: var(--yellow); color: var(--navy); border-radius: 6px; padding: 1px 8px; font-weight: 650; font-size: .92em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Karriere ---------- */
.jobs { display: grid; gap: 16px; margin-top: clamp(30px, 4vw, 52px); }
.job { background: var(--navy-soft); border-radius: var(--radius); }
.job > summary, a.job { list-style: none; cursor: pointer; padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; text-decoration: none; color: inherit; }
.job > summary::-webkit-details-marker { display: none; }
.job h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.job .meta { display: block; margin-top: 10px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 60em; }
.job .plus { width: 46px; height: 46px; background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
a.job { background: transparent; border: 1.5px solid rgba(255,255,255,.24); transition: border-color .2s; }
a.job:hover { border-color: var(--yellow); }
.job-body { padding: 0 clamp(22px, 3vw, 40px) clamp(26px, 3vw, 40px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.job-body h4 { color: var(--yellow); margin-bottom: 10px; }
.job-body ul { margin: 0; padding-left: 1.1em; color: #dfe4ec; }
.job-body li { margin-bottom: .45em; }
.job-foot { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.values article { padding: 30px clamp(16px, 2.4vw, 36px) 0 0; border-right: 1px solid var(--line); margin-right: clamp(16px, 2.4vw, 36px); }
.values article:last-child { border-right: 0; margin-right: 0; }
.values p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Einwilligung ---------- */
.cc { position: fixed; inset: 0; z-index: 200; padding: 16px; display: grid; place-items: center; background: rgba(32, 34, 54, .62); overflow: auto; }
html.cc-offen { overflow: hidden; }
.cc-karte { width: 100%; max-width: 540px; outline: none; background: var(--white); color: var(--navy); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 18px 60px rgba(0,0,0,.4); font-size: 1.02rem; line-height: 1.5; max-height: calc(100vh - 28px); overflow: auto; animation: cc-rein .5s var(--ease) both; }
@keyframes cc-rein { from { opacity: 0; transform: translateY(24px); } }
.cc-titel { font-family: var(--display); font-weight: 700; font-size: 1.8rem; line-height: 1.05; margin: 0 0 8px; }
.cc-text { margin: 0 0 12px; } .cc-text a { font-weight: 700; }
.cc-details { margin: 16px 0 0; }
.cc-btn-wahl { margin-top: 14px; width: 100%; }
.cc-links { display: flex; gap: 18px; margin: 14px 0 0; font-size: .92rem; }
.cc-links a { color: #566076; }
.cc-details summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.cc-zeile { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid #dfe5ea; }
.cc-zeile input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); }
.cc-zeile b { display: block; } .cc-zeile small { display: block; color: #566076; font-size: .95rem; }
.cc-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-btn { font: 700 .98rem var(--body); padding: 13px 8px; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); cursor: pointer; }
.cc-btn:hover { background: var(--navy-deep); }
.cc-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* =====================================================================
   BEWEGUNG. Alles hier gilt nur, wenn der Besucher Bewegung nicht reduziert hat.
   Ohne JavaScript bleibt alles sichtbar: Die Klasse „anim“ setzt erst site.js.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-raus .22s ease both; }
  ::view-transition-new(root) { animation: vt-rein .32s ease both; }
  @keyframes vt-raus { to { opacity: 0; } }
  @keyframes vt-rein { from { opacity: 0; transform: translateY(10px); } }

  /* Auftritt im Hero: ein einziger, abgestimmter Moment beim Laden */
  .hero .label, .page-hero .label, .page-hero .back { animation: rauf .7s var(--ease) both; }
  .hero h1 .ln > span { animation: zeile .95s var(--ease) both; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .09s; }
  .hero h1 .ln:nth-child(3) > span { animation-delay: .18s; }
  .page-hero h1 { animation: rauf .9s var(--ease) .05s both; }
  .hero .lead, .page-hero .lead { animation: rauf .8s var(--ease) .32s both; }
  .hero .cta-row, .page-hero .cta-row, .page-hero .checks, .page-hero .facts { animation: rauf .8s var(--ease) .44s both; }
  .hero .portrait img, .case-top figure { animation: bild 1.1s var(--ease) .15s both; }
  .hero .proof { animation: rauf .8s var(--ease) .6s both; }
  .hero + .logos { animation: rauf .8s ease .8s both; }
  @keyframes rauf { from { opacity: 0; transform: translateY(22px); } }
  @keyframes zeile { from { transform: translateY(108%); } }
  @keyframes bild { from { opacity: 0; clip-path: inset(0 0 100% 0 round 16px); transform: scale(1.04); } to { opacity: 1; clip-path: inset(0 0 0 0 round 16px); transform: none; } }
  @keyframes strich { to { stroke-dashoffset: 0; } }

  /* Beim Scrollen: ruhiges Einblenden, Marker zeichnet sich */
  .anim .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .anim .rv.in { opacity: 1; transform: none; }
  .anim .light .hl { background-size: 0% 100%; transition: background-size .9s var(--ease) .25s; }
  .anim .light .hl.in { background-size: 100% 100%; }
  .anim .dark .hl, .anim .deep .hl { color: inherit; transition: color .6s ease .3s; }
  .anim .dark .hl.in, .anim .deep .hl.in { color: var(--yellow); }
  .anim .hero .hl, .anim .page-hero .hl { color: var(--yellow); transition: none; }
  /* Haken setzen sich nacheinander */
  .anim .col.after .ico { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i, 0) * 140ms + 250ms); }
  .anim .col.after.in .ico { transform: scale(1); }
  /* Dreieck zeichnet sich */
  .anim .tri-graph .tri-edge { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
  .anim .tri-graph.in .tri-edge { stroke-dashoffset: 0; }
  .anim .tri-graph .tri-node { opacity: 0; transition: opacity .5s ease; }
  .anim .tri-graph.in .tri-node { opacity: 1; transition-delay: calc(var(--i, 0) * 130ms + 250ms); }
  .anim .tri-graph .tri-center, .anim .tri-graph .tri-flows { opacity: 0; transition: opacity .4s ease .7s; }
  .anim .tri-graph.in .tri-center, .anim .tri-graph.in .tri-flows { opacity: 1; }
  .step-in { animation: rauf .45s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 28px 48px; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .tri-flow { stroke-dasharray: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 980px) {
  .article { grid-template-columns: 1fr; }
  .aside { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow.four { grid-template-columns: 1fr 1fr; }
  .flow.four article:nth-child(2) { border-right: 0; margin-right: 0; }
  .job-body { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 1.125rem; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: var(--navy); flex-direction: column; align-items: flex-start; gap: 0; padding: 12px var(--gutter) 40px; overflow: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
  .open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: 2.3rem; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; width: 100%; padding: 17px 30px; font-size: 1.0625rem; }
  .header-cta { display: none; }
  .hero-grid, .about, .split, .tri, .stories, .case-top { grid-template-columns: 1fr; }
  .hero-grid { padding-bottom: 44px; }
  .portrait { max-width: min(82%, 440px); margin-left: auto; }
  .about .portrait { margin-left: 0; }
  .proof { grid-template-columns: 1fr; }
  .proof a { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; }
  .proof strong { font-size: 2.5rem; white-space: nowrap; }
  .proof a:last-child { border-bottom: 0; }
  .proof span { margin: 0; }
  .tri > div:first-child { display: contents; }
  .tri > div:first-child > * { order: 1; }
  .tri-graph { max-width: 360px; order: 2; margin-block: 4px 8px; }
  .tri .tri-tabs { order: 3; margin-top: 0; }
  .tri { gap: 0; }
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-img { order: 0; }
  .case-img { min-height: 0; aspect-ratio: 16 / 9; }
  .who > div { grid-template-columns: 1fr; gap: 8px; }
  .flow, .values { grid-template-columns: 1fr; border-top: 0; }
  .flow.four { grid-template-columns: 1fr; }
  .flow article, .values article { border-right: 0; margin-right: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .case-top figure { order: -1; }
  .results { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  .has-sticky { padding-bottom: 78px; }
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(32,34,54,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.12); transform: translateY(110%); transition: transform .3s var(--ease); }
  .sticky.show { transform: none; }
  .sticky .btn { width: 100%; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(2.9rem, 13vw, 3.8rem); }
  .cta-row .btn, .form-actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .story-head { grid-template-columns: 64px 1fr; } .story-head img { width: 64px; height: 64px; }
  .bigquote { grid-template-columns: 1fr; } .bigquote img { width: 84px; height: 84px; }
  .points > li { grid-template-columns: 44px 1fr; }
  .cc { place-items: end center; padding: 10px; } .cc-karte { padding: 20px; }
  .job > summary, a.job { grid-template-columns: 1fr; } .job .plus { display: none; }
}

/* ---------- Nachträge ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-layout .intro { position: sticky; top: 120px; }
.form-layout .checks { grid-template-columns: 1fr; margin-top: 28px; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } .form-layout .intro { position: static; } }
.linklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.case-body .textlink { border-color: var(--navy); }
.story { --line: rgba(43,45,66,.15); --muted: #566076; }
.center-note { margin-top: 28px; }
.person { display: flex; align-items: center; gap: 14px; margin: 0; font-size: .98rem; color: var(--muted); line-height: 1.4; }
.person b { display: block; color: var(--fg); }
.legal h2 { max-width: none; text-wrap: wrap; }

/* ------------------------------------------------------------------ Blog und Teamfotos (Runde 9) */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(24px, 3vw, 40px); }
.posts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); color: var(--navy); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(32, 34, 54, .12); }
.post h3 { font-size: clamp(1.7rem, 2.3vw, 2.15rem); line-height: 1.06; margin-bottom: 12px; text-wrap: balance; }
.post p { margin: 0 0 22px; color: #3d4359; font-size: 1.06rem; }
.post .textlink { margin-top: auto; border-color: var(--navy); }
.blog-group + .blog-group { margin-top: clamp(52px, 7vw, 96px); }
.blog-group > h2 { scroll-margin-top: 100px; }
.chips-links a { text-decoration: none; }
.chips-links li { padding: 0; transition: border-color .2s, background-color .2s; }
.chips-links li a { display: block; padding: 8px 18px; }
.chips-links li:hover { border-color: var(--yellow); }
.post-meta { color: var(--muted); font-size: 1rem; margin: 0; }
.kurz { background: var(--white); border-radius: var(--radius); padding: 26px 28px; margin: 0 0 2.2em; }
.kurz-titel { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; margin: 0 0 14px; }
.prose .kurz .checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
.prose .kurz .checks li { margin: 0; color: var(--navy); font-weight: 600; }
.prose h2 { scroll-margin-top: 100px; }
.prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose a:not(.btn) { font-weight: 650; text-underline-offset: 3px; }
.prose .faq { margin-top: 12px; }
.prose .faq summary { font-size: clamp(1.35rem, 1.9vw, 1.6rem); padding: 20px 0; }
.autor { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid #dfe5ea; font-size: .95rem; line-height: 1.4; color: #566076; }
.autor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.autor b { display: block; color: var(--navy); font-size: 1.05rem; }
.toc { margin: 0 0 24px; padding-left: 1.2em; font-size: 1rem; line-height: 1.35; }
.toc li { margin-bottom: 9px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
figure.team { margin: 30px 0 0; max-width: 34em; }
.team img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.team figcaption { margin-top: 12px; font-size: .98rem; line-height: 1.45; color: var(--muted); }
.team figcaption b { color: var(--fg); }
.team.small { max-width: 300px; margin-top: 26px; }
.duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.duo figure.team { margin: 0; max-width: none; }
@media (max-width: 980px) {
  .posts.three { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .posts { grid-template-columns: 1fr; }
}
.prose .kurz .checks svg { color: var(--navy); stroke: var(--navy); }

/* ---------- Runde 14: Abschluss-Knopf, Stellenseite, Dankeseiten ---------- */
.final .cta-row { gap: 26px; }
.final .cta-row .btn { min-width: min(100%, 380px); padding: 21px 40px; font-size: 1.14rem; }
.rows { margin: clamp(28px, 4vw, 48px) 0 0; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 6px clamp(20px, 4vw, 56px); align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rows dt { font: 700 clamp(1.55rem, 2.3vw, 2rem)/1.08 var(--display); font-synthesis: none; }
.rows dd { margin: 0; font-size: 1.14rem; line-height: 1.55; max-width: 38em; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.4vw, 48px) clamp(20px, 3vw, 44px); margin-top: clamp(28px, 4vw, 48px); }
.perks article { border-top: 1px solid var(--line); padding-top: 24px; }
.perks h3 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); }
.perks p { margin: 10px 0 0; color: var(--muted); }
a.job.fest { background: var(--navy-soft); border: 1.5px solid transparent; }
a.job.fest:hover { border-color: var(--yellow); }
.dank { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.dank .portrait { margin: 12px 0 0; }
@media (max-width: 980px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .dank { grid-template-columns: 1fr; }
  .dank .portrait { max-width: min(72%, 340px); }
  .rows > div { grid-template-columns: 1fr; padding: 20px 0; }
}
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* Großes KLD-Zeichen als feine Linie im Hintergrund (nur Linie, keine Fläche) */
.final, .page-hero.big { position: relative; overflow: hidden; }
.final > .wrap, .page-hero.big > .wrap { position: relative; z-index: 1; }
.marke { position: absolute; z-index: 0; pointer-events: none; aspect-ratio: 1221 / 1407; fill: none; stroke: rgba(255, 255, 136, .5); stroke-width: 4; stroke-linejoin: round; }
.final .marke, .page-hero .marke { top: 50%; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); transform: translateY(-50%); }
.final .marke { height: 76%; }
.page-hero .marke { height: 82%; stroke: rgba(255, 255, 136, .26); stroke-width: 3; transform: translateY(-46%); }
.portrait .marke { height: 116%; top: 50%; left: 51%; transform: translate(-50%, -50%); stroke: rgba(255, 255, 136, .55); stroke-width: 3.2; }
.hero .lead { max-width: 30em; }
.portrait img { z-index: 1; }
@media (max-width: 980px) {
  .final .marke { display: none; }
  .page-hero .marke { height: 60%; right: -14%; stroke: rgba(255, 255, 136, .2); }
  .portrait .marke { height: 106%; }
}
@media (prefers-reduced-motion: no-preference) {
  .anim .marke path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.6, 0, .2, 1); }
  .anim .marke path + path { transition-delay: .45s; }
  .anim .marke.in path { stroke-dashoffset: 0; }
}

/* Runde 15: Vorstellung ohne Einzelbild, Text links, Teamfoto rechts */
.ueber p { max-width: 34em; }
.ueber { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 980px) { .ueber { grid-template-columns: 1fr; } }

/* ---------- Runde 16 ---------- */
/* Footer sitzt immer am Seitenende, auch auf kurzen Seiten und hohen Bildschirmen */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > :last-child { flex: 1 0 auto; }
/* Markendreieck: Punkte links sehen klickbar aus */
.tri-tab button { position: relative; transition: padding-left .25s var(--ease); }
.tri-tab button::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 700 1.5rem/1 var(--display); color: #a3adbf; transition: color .2s, transform .3s var(--ease); }
.tri-tab.active button::after { transform: rotate(45deg); color: var(--yellow); }
@media (hover: hover) {
  .tri-tab:not(.active) button:hover { padding-left: 8px; }
  .tri-tab:not(.active) button:hover h3 { color: var(--white); }
  .tri-tab:not(.active) button:hover .tri-num, .tri-tab:not(.active) button:hover::after { color: var(--yellow); }
  .tri-node:not(.active):hover circle { stroke: var(--yellow); }
  .tri-node:not(.active):hover .tri-name { fill: var(--white); }
}
/* Foto neben dem Bewerbungsformular auf Textbreite */
.form-layout .intro .team.small { max-width: none; }
/* Kevins Weg */
.wort { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 6vw, 84px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.wort .gross { font: 700 clamp(2.4rem, 4.6vw, 4rem)/1.02 var(--display); font-synthesis: none; margin: 0; color: var(--yellow); text-wrap: balance; }
.wort p { max-width: 34em; }
.wort .sign { margin-top: 1.6em; color: var(--muted); font-size: 1rem; }
.wort .sign b { color: var(--fg); }
.hinweis { margin: 28px 0 0; color: var(--muted); max-width: 40em; }
.hinweis a { color: var(--fg); }
@media (max-width: 860px) { .wort { grid-template-columns: 1fr; } }

/* Runde 19: Benefits unter dem Deal */
.zwischen { margin: clamp(44px, 6vw, 80px) 0 0; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.zwischen + .perks { margin-top: clamp(20px, 3vw, 32px); }

/* ---------- Runde 20: Piktogramme (Lucide, ISC). Linie statt Fläche, wie das KLD-Zeichen ---------- */
.pik { display: block; width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pikto { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--yellow); }
.light .pikto { color: var(--yellow); border-color: var(--navy); background: var(--navy); }
.perks .pikto, .values .pikto { margin-bottom: 20px; }
.rows > div { grid-template-columns: 52px minmax(0, 14em) minmax(0, 1fr); column-gap: 24px; align-items: center; }
.rows dd { padding-left: clamp(0px, 3vw, 32px); }
.who > div { grid-template-columns: 52px minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 24px; align-items: center; }
.who p { padding-left: clamp(0px, 3vw, 40px); }
.chips li { display: inline-flex; align-items: center; gap: 9px; }
.chips .pik { width: 19px; height: 19px; stroke-width: 1.9; color: var(--yellow); }
@media (max-width: 860px) {
  .rows > div { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
  .rows .pikto { grid-row: 1 / span 2; }
  .rows dt, .rows dd { grid-column: 2; }
  .rows dd { padding-left: 0; }
  .rows dt { align-self: center; min-height: 0; padding-top: 4px; }
}
@media (max-width: 760px) {
  .who > div { grid-template-columns: 52px minmax(0, 1fr); gap: 6px 16px; align-items: start; }
  .who .pikto { grid-row: 1 / span 2; }
  .who h3, .who p { grid-column: 2; }
  .who p { padding-left: 0; }
  .who h3 { padding-top: 6px; }
}
@media (max-width: 560px) {
  .perks article, .values article { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .perks .pikto, .values .pikto { grid-row: 1 / span 2; margin-bottom: 0; }
  .perks h3, .values h3 { align-self: center; padding-top: 4px; }
  .perks p, .values p { grid-column: 2; margin-top: 6px; }
}
