/* ==========================================================================
   EVO — Subpages (Datenschutz, Impressum, Anfrage = Funnel 2, Danke).
   Figma "◆ ・ UI" (2:14), section 4137:6: desktop 1920 frames and their
   390 mobile frames side by side. Shares nav, footer, CTA and tokens with
   the home; everything here is specific to these pages.
   ========================================================================== */

.page { background: var(--c-paper); color: var(--c-deep-blue); }
.page main { background: var(--c-paper); }

/* Nav on a light page (Danke): the brand and the toggle turn deep blue; the
   cluster keeps its own navy box. */
.nav__brand svg { display: block; fill: currentColor; }
.nav__brand .nav__symbol { width: 24px; height: 24px; }
.nav__brand .nav__wordmark { height: 22px; width: auto; }
.nav { transition: transform var(--dur-base) var(--ease-out), color 0.4s var(--ease-out); }
.nav--light { color: var(--c-deep-blue); }
.nav--light.is-menu { color: var(--c-white); }
/* Once the page scrolls the bar gets its surface's colour, hides while
   reading down and comes back when scrolling up. */
.page .nav { transition: transform 0.5s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out); }
.page .nav.is-scrolled { background: color-mix(in srgb, var(--c-deep-blue) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding-block: 12px; }
.page .nav--light.is-scrolled { background: color-mix(in srgb, var(--c-paper) 94%, transparent); }
.page .nav.is-hidden { transform: translateY(-110%); }
.page .nav.is-menu { transform: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Hero lines (Figma "Group 13"): two strokes at the right, drawn once. */
.lines { position: absolute; z-index: 0; pointer-events: none; fill: none; stroke: #fff; stroke-opacity: 0.17; stroke-width: 1.05; }
.lines path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .lines path { animation: lines-draw 2.4s var(--ease-in-out) 0.3s forwards; }
.js .lines path + path { animation-delay: 0.8s; }
@keyframes lines-draw { to { stroke-dashoffset: 0; } }
.no-js .lines path, html:not(.js) .lines path { stroke-dashoffset: 0; }

/* Entrance (JS adds .is-in; without JS everything shows). */
.js [data-rise] { opacity: 0; transform: translateY(28px); filter: blur(8px); }
.js [data-rise].is-in { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }

/* ---- Legal hero (navy) ------------------------------------------------ */
/* Figma 1920: padding 24/80/120, nav 58, 80 to the breadcrumb, 80 between
   breadcrumb, title and the bottom row; hero 869 tall. */
.lhero { position: relative; overflow: hidden; min-height: min(869px, 45.3vw + 200px); padding: calc(24px + 58px + clamp(56px, 4.16vw, 80px)) var(--gutter) clamp(56px, 6.25vw, 120px); background: var(--c-deep-blue); color: var(--c-white); }
.lhero .lines { right: 2.1%; top: 0; width: 58.6%; height: auto; aspect-ratio: 1125 / 869; }
.lhero .lines--imp { width: 70%; aspect-ratio: 1344 / 869; }
.lhero__inner { position: relative; z-index: 1; display: grid; gap: clamp(28px, 4.16vw, 80px); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: var(--fs-body); line-height: 1.6; }
.crumb .label { color: var(--c-white); }
.crumb__path { color: var(--c-beige-3); }
.crumb__path a:hover { color: var(--c-white); }
.lhero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.75rem, 5vw, 6rem); line-height: 0.88; letter-spacing: -0.02em; text-transform: uppercase; }
.lhero__bottom { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1000px); justify-content: space-between; gap: 40px 64px; align-items: start; }
.lhero__intro { font-size: clamp(1rem, 1.15vw, 1.375rem); line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.lhero__intro--display { font-family: var(--f-display); font-size: clamp(1.375rem, 1.46vw, 1.75rem); }
/* Two navy cards, beige top edge; each holds two key/value pairs. */
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.meta__card { display: grid; grid-template-rows: auto auto; align-content: space-between; gap: 40px; padding: 0 20px 20px; background: var(--c-deep-blue-4); border-top: 4px solid var(--c-beige); }
.meta__item { display: grid; gap: 12px; padding-top: 20px; }
.meta__item + .meta__item { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.meta__key { font-size: var(--fs-caps); line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-beige-3); }
.meta__value { font-size: clamp(1rem, 0.94vw, 1.125rem); line-height: 1.5; }
.is-pending { opacity: 0.45; }

/* ---- Datenschutz body: sticky index + clauses ------------------------- */
.lbody { padding: clamp(48px, 8.33vw, 160px) var(--gutter); }
.lbody__inner { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1200px); justify-content: space-between; gap: 64px; max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.toc { position: sticky; top: 110px; align-self: start; border-top: 1px solid rgba(14, 22, 43, 0.14); }
.toc a { display: grid; grid-template-columns: 28px 1fr 8px; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(14, 22, 43, 0.14); font-size: var(--fs-body); line-height: 1.4; color: rgba(14, 22, 43, 0.7); transition: color var(--dur-fast); }
.toc__num { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.2; color: var(--c-beige-3); }
.toc a::after { content: ""; width: 8px; height: 8px; background: var(--c-deep-blue); opacity: 0; transition: opacity var(--dur-fast); }
.toc a:hover { color: var(--c-deep-blue); }
.toc a.is-active { color: var(--c-deep-blue); font-weight: 500; }
.toc a.is-active .toc__num { color: var(--c-deep-blue); }
.toc a.is-active::after { opacity: 1; }

.clause { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding-block: 96px; border-bottom: 1px solid rgba(14, 22, 43, 0.14); scroll-margin-top: 90px; }
.clause:first-child { padding-top: 0; }
.clause:last-child { padding-bottom: 0; border-bottom: 0; }
.clause__num { font-family: var(--f-display); font-size: clamp(2.5rem, 3.33vw, 4rem); line-height: 0.92; color: var(--c-beige); }
.clause__body { display: grid; gap: 32px; align-content: start; min-width: 0; }
.clause__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.875rem, 2.92vw, 3.5rem); line-height: 1.05; letter-spacing: 0; text-wrap: balance; }
/* Zero specificity: the component classes below keep their own type. */
:where(.clause, .lblock) p { font-size: clamp(1rem, 0.94vw, 1.125rem); line-height: 1.7; color: rgba(14, 22, 43, 0.86); }
/* Rights: the grid spans the clause (number column included). */
.clause--wide { grid-template-columns: 1fr; gap: 56px; }
.clause--wide .clause__head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.addr { font-style: normal; display: grid; gap: 12px; padding: 32px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(14, 22, 43, 0.14); }
.addr__name { font-family: var(--f-display); font-size: clamp(1.375rem, 1.67vw, 2rem); line-height: 1.15; }
.addr p:not(.addr__name) { line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 10px 18px; border: 1px solid rgba(14, 22, 43, 0.28); border-radius: var(--r-pill); font-size: 0.9375rem; line-height: 1.4; }
.rights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.right { display: grid; grid-template-rows: auto 1fr; gap: 40px; align-content: space-between; min-height: 320px; padding: 28px 32px 32px; background: var(--c-deep-blue); color: var(--c-white); }
.right__key { font-size: var(--fs-caps); line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-beige); }
.right__text { align-self: end; font-size: clamp(1rem, 0.94vw, 1.125rem); line-height: 1.6; color: rgba(255, 255, 255, 0.88); }

/* ---- Impressum body ---------------------------------------------------- */
.ibody { padding: clamp(40px, 8.33vw, 160px) var(--gutter) clamp(56px, 4.16vw, 80px); }
.ibody__inner { max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: clamp(48px, 6.25vw, 120px); border-top: 1px solid rgba(14, 22, 43, 0.3); }
.fact { display: grid; grid-template-rows: auto 1fr; gap: 40px; min-height: 340px; padding: 32px 40px 48px; border-bottom: 1px solid rgba(14, 22, 43, 0.14); border-right: 1px solid rgba(14, 22, 43, 0.14); }
.fact:nth-child(3n + 1) { padding-left: 0; }
.fact:nth-child(3n) { border-right: 0; }
.fact__key { font-size: var(--fs-caps); line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-beige-3); }
.fact__val { align-self: end; display: grid; gap: 16px; }
.fact__big { font-family: var(--f-display); font-size: clamp(1.625rem, 1.875vw, 2.25rem); line-height: 1.2; }
.fact__big--s { font-size: clamp(1.375rem, 1.46vw, 1.75rem); }
.fact__sub { font-size: var(--fs-body); line-height: 1.6; color: rgba(14, 22, 43, 0.7); }
.lblock { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1200px); justify-content: space-between; gap: 40px 64px; padding-block: clamp(48px, 6.25vw, 120px); border-top: 1px solid rgba(14, 22, 43, 0.14); }
.lblock__head { display: grid; gap: 16px; align-content: start; }
.lblock__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.875rem, 2.92vw, 3.5rem); line-height: 1.05; letter-spacing: 0; }
.lblock__sub { font-family: var(--f-display); font-size: clamp(1.25rem, 1.25vw, 1.5rem); line-height: 1.2; color: var(--c-beige-3); }
.lblock__body { display: grid; gap: 24px; align-content: start; min-width: 0; }
.lblock__link { justify-self: start; font-weight: 500; font-size: clamp(1rem, 0.94vw, 1.125rem); line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lblock__statement { font-family: var(--f-display); font-size: clamp(1.625rem, 2.29vw, 2.75rem); line-height: 1.2; text-wrap: balance; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.col { display: grid; gap: 20px; align-content: start; padding-top: 24px; border-top: 1px solid rgba(14, 22, 43, 0.3); }
.col h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.56vw, 1.875rem); line-height: 1.15; }
:where(.col, .lsplit__text) p { font-size: var(--fs-body); line-height: 1.7; }
.lsplit { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.lsplit__text { display: grid; gap: 20px; }
.linkcard { display: grid; align-content: space-between; min-height: 300px; padding: 32px; background: var(--c-deep-blue); color: var(--c-white); transition: background var(--dur-fast); }
.linkcard:hover { background: var(--c-deep-blue-4); }
.linkcard p { font-size: var(--fs-body); line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.linkcard__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.linkcard__label { font-family: var(--f-display); font-size: clamp(1.75rem, 2.29vw, 2.75rem); line-height: 1.05; }
.linkcard__arrow { font-size: 1.5rem; line-height: 1.2; transition: transform var(--dur-base) var(--ease-out); }
.linkcard:hover .linkcard__arrow { transform: translate(4px, -4px); }

/* ---- Anfrage (Funnel 2) ---------------------------------------------- */
.ahero { position: relative; overflow: hidden; min-height: max(100svh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(24px + 58px + 40px) var(--gutter) clamp(48px, 4.16vw, 80px); background: var(--c-deep-blue); color: var(--c-white); }
.ahero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Figma scrim: navy from the copy corner (0.85 → 0.5 → 0 at 68 %), plus a
   soft navy floor (0 at 45 % → 0.45). */
.ahero__scrim { position: absolute; inset: 0; background: linear-gradient(33deg, rgba(14, 22, 43, 0.85) 0%, rgba(14, 22, 43, 0.5) 42%, rgba(14, 22, 43, 0) 68%), linear-gradient(180deg, rgba(14, 22, 43, 0) 45%, rgba(14, 22, 43, 0.45) 100%); }
.ahero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1000px) minmax(0, 640px); justify-content: space-between; align-items: end; gap: 48px 64px; width: 100%; max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.ahero__copy { display: grid; gap: 40px; }
.ahero__copy .label { color: var(--c-white); }
.ahero__copy .marker { background: var(--c-beige); }
.ahero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 2.92vw, 3.5rem); line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.ahero__title span { color: var(--c-beige-2); }
.ahero__lead { max-width: 640px; font-size: clamp(1rem, 1.15vw, 1.375rem); line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 16px; }
.kpi { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.kpi__value { font-family: var(--f-display); font-size: clamp(1.625rem, 1.875vw, 2.25rem); line-height: 1.1; }
.kpi__caption { font-size: 0.9375rem; line-height: 1.45; color: rgba(255, 255, 255, 0.75); }

/* Step form card (Figma "Form / Anfrage (Funnel 2)", variants Schritt × Zustand). */
.steps { display: grid; gap: 40px; padding: 48px; background: var(--c-paper); color: var(--c-deep-blue); scroll-margin-top: 90px; }
.steps__head { display: grid; gap: 16px; }
.steps__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.steps__row .label { color: var(--c-deep-blue); }
.steps__count { font-size: var(--fs-caps); line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-beige-3); font-variant-numeric: tabular-nums; }
.steps__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps__bar i { height: 3px; background: rgba(14, 22, 43, 0.14); transition: background 0.5s var(--ease-out); }
.steps__bar i.is-done { background: var(--c-deep-blue); }
.step { display: grid; gap: 28px; }
.step[hidden] { display: none; }
.step__q { display: flex; gap: 16px; align-items: baseline; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.625rem, 2.08vw, 2.5rem); line-height: 1.1; }
.step__q > span:first-child { color: var(--c-beige); }
.step__q:focus { outline: none; }
/* A fieldset's legend is not a grid item: its distance comes from a margin. */
.step > legend { margin-bottom: 28px; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { display: flex; flex-direction: column; justify-content: space-between; min-height: 140px; padding: 20px; background: var(--c-white); border: 1px solid rgba(14, 22, 43, 0.18); transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.choice__radio { width: 20px; height: 20px; border-radius: 50%; background: var(--c-white); border: 1px solid rgba(14, 22, 43, 0.35); transition: border var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out); }
.choice__label { font-family: var(--f-display); font-size: clamp(1.5rem, 1.67vw, 2rem); line-height: 1.1; }
.choice:hover .choice__box { border-color: rgba(14, 22, 43, 0.5); }
.choice input:checked + .choice__box { background: var(--c-deep-blue); border-color: var(--c-deep-blue); color: var(--c-white); }
.choice input:checked + .choice__box .choice__radio { background: var(--c-deep-blue); border: 6px solid var(--c-white); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--c-deep-blue); outline-offset: 3px; }
.sfield { display: grid; gap: 8px; }
.sfield label { font-size: var(--fs-small); font-weight: 500; line-height: 1.2; }
.sfield input { width: 100%; height: 56px; padding: 0 20px; background: var(--c-white); border: 1px solid rgba(14, 22, 43, 0.2); border-radius: 0; color: var(--c-deep-blue); font-size: var(--fs-body); transition: border-color var(--dur-fast); }
.sfield input::placeholder { color: rgba(14, 22, 43, 0.45); }
.sfield input:focus { outline: none; border-color: var(--c-deep-blue); }
.sfield input[aria-invalid="true"] { border-color: var(--c-error); }
.sfield__hint { font-size: 0.8125rem; line-height: 1.4; color: rgba(14, 22, 43, 0.6); }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sconsent { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-small); line-height: 1.5; color: rgba(14, 22, 43, 0.8); cursor: pointer; }
.sconsent input { flex: none; appearance: none; width: 20px; height: 20px; margin: 0; background: var(--c-white); border: 1px solid rgba(14, 22, 43, 0.4); display: grid; place-items: center; cursor: pointer; }
.sconsent input:checked { background: var(--c-deep-blue); border-color: var(--c-deep-blue); }
.sconsent input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--c-white); border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg); }
.sconsent input[aria-invalid="true"] { border: 1.5px solid var(--c-error); }
.sconsent a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; color: var(--c-deep-blue); }
.serror { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; line-height: 1.5; }
.serror::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-error); }
.serror:empty { display: none; }
.steps__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.steps__foot--first { justify-content: flex-end; }
.back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(14, 22, 43, 0.6); transition: color var(--dur-fast); }
.back:hover { color: var(--c-deep-blue); }
.back svg, .snext svg { width: 7px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.snext { display: inline-flex; align-items: center; gap: 20px; padding: 4px 4px 4px 24px; background: var(--c-deep-blue); color: var(--c-white); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; transition: background var(--dur-fast); }
.snext i { display: grid; place-items: center; width: 48px; height: 48px; background: var(--c-beige); color: var(--c-deep-blue); transition: transform var(--dur-base) var(--ease-out); }
.snext:hover { background: var(--c-deep-blue-4); }
.snext:hover i { transform: translateX(3px); }
.snext[disabled] { opacity: 0.6; cursor: progress; }
.sstatus { font-size: var(--fs-small); color: rgba(14, 22, 43, 0.7); }
.sstatus:empty { display: none; }

/* Without JS the four steps stand one under the other as one form. */
.steps:not(.is-stepped) .steps__head, .steps:not(.is-stepped) [data-next], .steps:not(.is-stepped) [data-back] { display: none; }

/* ---- Danke (paper) ------------------------------------------------------ */
/* Figma 4454:482: the title stands centred in the space above the bottom
   block (nav laid over it); the bottom block has its own paper and covers
   the navy lines. */
.thanks { position: relative; overflow: hidden; min-height: min(932px, max(100svh, 640px)); display: grid; grid-template-rows: 1fr auto; padding: 24px var(--gutter) clamp(56px, 5vw, 96px); background: var(--c-paper); color: var(--c-deep-blue); }
.thanks .lines { stroke: var(--c-deep-blue); stroke-opacity: 0.24; }
.thanks .lines--d { right: 2.1%; top: 0; width: 58.6%; height: auto; aspect-ratio: 1125 / 932; }
.thanks .lines--m { display: none; }
.thanks__title { position: relative; z-index: 1; align-self: center; font-family: var(--f-display); font-weight: 400; font-size: clamp(4.5rem, 6.09vw, 7.3125rem); line-height: 1; letter-spacing: 0; padding-block: 40px; }
.thanks__bottom { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1120px) minmax(0, 520px); justify-content: space-between; align-items: end; gap: 40px 64px; padding-block: 40px; border-top: 1px solid var(--c-deep-blue); background: var(--c-paper); }
.thanks__next { display: grid; gap: 24px; }
.thanks__next .label { color: var(--c-deep-blue); }
.thanks__next .marker { background: var(--c-beige); }
.thanks__text { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.625rem, 2.29vw, 2.75rem); line-height: 1.2; text-wrap: balance; }
.thanks__contact { display: grid; gap: 32px; justify-items: start; }
.thanks__contact p { font-size: clamp(1rem, 0.94vw, 1.125rem); line-height: 1.6; }
.thanks__contact a { text-decoration: underline; text-underline-offset: 2px; }
.thanks__contact .snext { text-decoration: none; }

/* ---- Laptops and small desktops --------------------------------------- */
@media (min-width: 1024px) and (max-width: 1439px) {
  .lbody__inner { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; }
  .clause, .clause--wide .clause__head { grid-template-columns: 110px minmax(0, 1fr); gap: 28px; }
  .rights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lblock { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .lsplit { grid-template-columns: minmax(0, 1fr) 320px; }
  .lhero__bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .ahero__copy { gap: 28px; }
  .kpis { gap: 16px; }
  .steps { padding: 36px; gap: 32px; }
  .choice__box { min-height: 112px; }
}
/* Small laptops and tablets on their side: the card narrows and the
   indicators stack so the copy column keeps a readable measure. */
@media (min-width: 1024px) and (max-width: 1439px) {
  .ahero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; }
  .kpis { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .kpi { padding-block: 12px; gap: 2px; }
  .kpi__value { font-size: 1.5rem; }
  .steps { padding: 28px; gap: 28px; }
}
/* Tablets and phones: one column, as in the 390 frames. */
@media (max-width: 1023px) {
  .lhero { min-height: 0; padding: calc(24px + 44px + 64px) var(--gutter) 56px; }
  .lhero .lines { width: 140%; right: -60%; top: 150px; }
  .lhero__inner { gap: 28px; }
  .lhero__bottom { grid-template-columns: 1fr; gap: 32px; }
  .meta { grid-template-columns: 1fr; gap: 12px; }
  .meta__card { gap: 24px; }
  .lbody { padding: 48px var(--gutter) 64px; }
  .lbody__inner { grid-template-columns: 1fr; gap: 48px; }
  .toc { position: static; }
  .clause, .clause--wide, .clause--wide .clause__head { grid-template-columns: 1fr; gap: 16px; }
  .clause { padding-block: 48px; }
  .clause--wide { gap: 28px; }
  .clause__body { gap: 20px; }
  .addr { padding: 20px; }
  .rights { grid-template-columns: 1fr; gap: 8px; }
  .right { min-height: 0; gap: 28px; padding: 24px; }
  .facts { grid-template-columns: 1fr; margin-bottom: 48px; }
  .fact, .fact:nth-child(3n + 1) { min-height: 0; padding: 24px 0 28px; border-right: 0; gap: 24px; }
  .lblock { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; }
  .cols3 { grid-template-columns: 1fr; gap: 32px; }
  .lsplit { grid-template-columns: 1fr; gap: 28px; }
  .linkcard { min-height: 220px; padding: 24px; }

  .ahero { min-height: 0; justify-content: flex-start; padding: calc(24px + 44px + 300px) var(--gutter) 48px; }
  .ahero__img { height: 560px; inset: 0 0 auto 0; }
  .ahero__scrim { height: 560px; inset: 0 0 auto 0; background: linear-gradient(180deg, rgba(14, 22, 43, 0.45) 0%, rgba(14, 22, 43, 0.05) 30%, rgba(14, 22, 43, 0.35) 62%, var(--c-deep-blue) 100%); }
  .ahero__inner { grid-template-columns: 1fr; gap: 40px; }
  .ahero__copy { gap: 24px; }
  .kpis { grid-template-columns: 1fr; gap: 0; padding-top: 8px; }
  .kpi { gap: 4px; padding-block: 14px; }
  .steps { padding: 24px; gap: 28px; }
  .choices { grid-template-columns: 1fr; gap: 8px; }
  .step > legend { margin-bottom: 20px; }
  .choice__box { flex-direction: row; justify-content: flex-start; align-items: center; gap: 16px; min-height: 64px; padding: 0 20px; }
  .sgrid { grid-template-columns: 1fr; }
  .steps__foot--send { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .steps__foot--send .back { justify-content: center; }
  .steps__foot--send .snext { justify-content: space-between; }

  .thanks { min-height: 0; grid-template-rows: auto auto; padding: calc(24px + 44px) var(--gutter) 56px; }
  /* Figma 4472:138: the mobile drawing spans the width from y 208. */
  .thanks .lines--d { display: none; }
  .thanks .lines--m { display: block; left: 0; top: 208px; width: 100%; height: auto; aspect-ratio: 390 / 588; stroke-opacity: 0.57; }
  .thanks__title { align-self: start; padding: 140px 0 64px; }
  .thanks__bottom { grid-template-columns: 1fr; gap: 40px; padding: 32px 10px; }
  .thanks__next { gap: 20px; }
  .thanks__contact { gap: 20px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .ahero__img, .ahero__scrim { height: 640px; }
  .ahero { padding-top: calc(24px + 44px + 380px); }
  .rights { grid-template-columns: 1fr 1fr; }
}
/* Phones on their side: short window, the photo band stays short. */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 600px) {
  .ahero__img, .ahero__scrim { height: 100svh; }
  .ahero { padding-top: calc(24px + 44px + 40svh); }
  .thanks__title { padding: 64px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .lines path { animation: none; stroke-dashoffset: 0; }
  .js [data-rise] { opacity: 1; transform: none; filter: none; }
}
/* Long German compounds (Verbraucherschlichtungsstelle) break with a hyphen
   on narrow screens instead of leaving the column. */
@media (max-width: 599px) {
  .page :is(h1, h2, h3, .lblock__statement, .fact__big, .thanks__text, .addr__name) { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
}
