/* bankwlan.de – Airfy für Banken
   Gestaltung: Papier, Tinte, Beere. Redaktionelle Typografie, echte Bilder mit Bildzeilen. */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-opsz.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --paper-3: #e2dccf;
  --white: #fffdf9;
  --ink: #16191a;
  --ink-2: #3a4044;
  --ink-3: #5f6569;
  --line: #d6cfc2;
  --line-strong: #b9b1a3;
  --berry: #7d2452;
  --berry-ink: #5e1a3d;
  --berry-tint: #f1e3ea;
  --ok: #2c6a4c;
  --ok-tint: #e2efe7;
  --stop: #9c2f2f;
  --stop-tint: #f6e4e1;
  --night: #16191a;
  --night-2: #23282a;
  --night-line: #3a4044;
  --night-text: #e9e5dd;
  --night-muted: #a9aaa5;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2.2vw, 32px);
  --space: clamp(72px, 10vw, 148px);
  --radius: 3px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  font-feature-settings: "ss01" 0, "cv11" 1; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--berry); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--berry); color: #fff; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
strong { font-weight: 600; }
abbr[title] { text-decoration: none; }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0.01em; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* ---------- Typografie ---------- */
.display {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(2.75rem, 1.15rem + 5.6vw, 6.4rem); line-height: 0.98; letter-spacing: -0.028em;
  hyphens: manual; text-wrap: balance;
}
.h2 {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(2.1rem, 1.25rem + 2.9vw, 3.9rem); line-height: 1.03; letter-spacing: -0.022em;
  text-wrap: balance; hyphens: manual;
}
.h3 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.05rem); line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; }
.h4 { font-family: var(--sans); font-weight: 650; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.005em; }
.lead { font-size: clamp(1.15rem, 1.02rem + 0.45vw, 1.42rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.prose { max-width: 38em; color: var(--ink-2); text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.small { font-size: 0.875rem; line-height: 1.5; }
.muted { color: var(--ink-3); }
em.serif, .serif-i { font-family: var(--serif); font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em; margin: 0 0 1.4rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--berry); flex: none; }

/* Rubrik: Kopfzeile eines Abschnitts, wie im Geschäftsbericht */
.rubrik {
  display: flex; align-items: baseline; gap: 1rem; padding-top: 14px; margin-bottom: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--ink); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
}
.rubrik__nr { font-family: var(--mono); font-weight: 400; letter-spacing: 0.02em; color: var(--berry); }
.rubrik__name { color: var(--ink); }
.rubrik { flex-wrap: wrap; row-gap: 6px; }
.rubrik__hint { margin-left: auto; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--ink-3); font-size: 0.85rem; }

/* ---------- Kopf ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__berry { width: 30px; height: 30px; }
.brand__word { height: 13px; width: auto; }
.brand__tag { padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line-strong); font-size: 0.8rem; font-weight: 550; color: var(--ink-2); letter-spacing: 0.01em; line-height: 1.2; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 0.93rem; font-weight: 520; color: var(--ink-2); padding: 8px 11px; border-radius: var(--radius); }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--berry); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav a.btn { color: var(--paper); padding: 0.55em 0.95em; }
.nav a.btn:hover { color: #fff; background: var(--berry); }
.nav a.btn[aria-current="page"] { box-shadow: none; border-radius: var(--radius); background: var(--berry); border-color: var(--berry); }
.site-header .nav-toggle { display: none; margin-left: auto; }

@media (max-width: 1080px) {
  .brand__tag { display: none; }
}
@media (max-width: 920px) {
  .site-header .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; max-height: calc(100dvh - var(--header-h)); overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.25rem; font-family: var(--serif); color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--berry); }
  .nav .btn { margin: 20px 0 0; justify-content: center; font-family: var(--sans); font-size: 1rem; border-bottom: 0; }
}

/* ---------- Knöpfe & Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em; padding: 0.82em 1.25em; border-radius: var(--radius);
  font: 600 0.97rem/1.2 var(--sans); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--berry); border-color: var(--berry); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; color: var(--berry); border-color: #fff; }
.btn--sm { padding: 0.55em 0.95em; font-size: 0.88rem; }
.btn .arr, .more .arr { transition: transform .15s ease; }
.btn:hover .arr, .more:hover .arr { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; font-size: 0.97rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.more:hover { color: var(--berry); border-color: var(--berry); }

/* ---------- Bilder mit Bildzeile ---------- */
.fig { margin: 0; }
.fig__media { position: relative; overflow: hidden; background: var(--paper-3); }
.fig__media img, .fig__media video { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption, .film figcaption {
  display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; align-items: baseline;
  padding-top: 10px; font-size: 0.8rem; line-height: 1.45; color: var(--ink-3);
}
.fig figcaption .cap, .film figcaption .cap { color: var(--ink-2); max-width: 46em; }
.credit { font-size: 0.74rem; letter-spacing: 0.01em; color: var(--ink-3); white-space: nowrap; }
.credit a { text-decoration: none; }
.credit a:hover { text-decoration: underline; }
.r-21x9 .fig__media, .r-21x9 .film__frame { aspect-ratio: 21 / 9; }
.r-16x9 .fig__media, .r-16x9 .film__frame { aspect-ratio: 16 / 9; }
.r-3x2 .fig__media, .r-3x2 .film__frame { aspect-ratio: 3 / 2; }
.r-4x3 .fig__media, .r-4x3 .film__frame { aspect-ratio: 4 / 3; }
.r-4x5 .fig__media, .r-4x5 .film__frame { aspect-ratio: 4 / 5; }
.r-1x1 .fig__media, .r-1x1 .film__frame { aspect-ratio: 1 / 1; }
@media (max-width: 760px) {
  .r-21x9 .fig__media, .r-21x9 .film__frame { aspect-ratio: 4 / 3; }
  .r-4x5 .fig__media, .r-4x5 .film__frame { aspect-ratio: 4 / 3; }
}

.film { margin: 0; }
.film__frame { position: relative; overflow: hidden; background: var(--paper-3); }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; color: #fff;
  background: rgba(22, 25, 26, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s ease;
}
.film__toggle:hover { background: rgba(22, 25, 26, 0.85); }
.film__toggle svg { width: 14px; height: 14px; }
.film__toggle .i-play { display: none; }
.film.is-paused .film__toggle .i-play { display: block; }
.film.is-paused .film__toggle .i-pause { display: none; }

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * 0.6); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--night { background: var(--night); color: var(--night-text); }
.section--night .rubrik { border-top-color: var(--night-text); }
.section--night .rubrik__name { color: var(--night-text); }
.section--night .rubrik__nr { color: #e7a9c6; }
.section--night .lead, .section--night .prose { color: var(--night-muted); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); }
.hero__head { grid-column: 1 / -1; }
.hero__title { max-width: 14.5em; }
.hero__sub { grid-column: 6 / -1; margin-top: clamp(28px, 4vw, 52px); }
.hero__sub .lead { margin-bottom: 28px; }
.hero__media { margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .hero__sub { grid-column: 1 / -1; } }

.page-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero__text { grid-column: 1 / span 6; align-self: end; }
.page-hero__media { grid-column: 8 / -1; }
.page-hero .display { font-size: clamp(2.6rem, 1.3rem + 4.2vw, 5.2rem); }
.page-hero .lead { margin-top: 28px; }
.page-hero .actions { margin-top: 32px; }
.page-hero--wide .page-hero__text { grid-column: 1 / span 9; }
.page-hero--wide .page-hero__media { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 960px) {
  .page-hero__text, .page-hero__media { grid-column: 1 / -1; }
  .page-hero__media { margin-top: 40px; }
}

/* ---------- Beweisleiste ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); }
.proof__cell { padding: 26px 24px 24px 0; }
.proof__cell + .proof__cell { padding-left: 24px; border-left: 1px solid var(--line); }
.proof__num { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); line-height: 1; letter-spacing: -0.02em; }
.proof__num small { font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0; color: var(--ink-3); margin-right: 0.2em; font-weight: 500; }
.proof__label { margin-top: 10px; font-size: 0.88rem; line-height: 1.4; color: var(--ink-2); }
.proof__marks { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.proof__marks-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.proof__marks img { height: 30px; width: auto; }
.proof__marks img.vr { height: 32px; }
.proof__note { font-size: 0.74rem; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 960px) {
  .proof__grid { grid-template-columns: repeat(3, 1fr); }
  .proof__marks { grid-column: 1 / -1; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .proof__cell:nth-child(2) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .proof__grid { grid-template-columns: 1fr; }
  .proof__cell, .proof__cell + .proof__cell { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof__marks { border-bottom: 0; }
}

/* ---------- Vier Fragen ---------- */
.questions { list-style: none; margin: 0; padding: 0; }
.q { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: clamp(32px, 4.5vw, 64px); border-top: 1px solid var(--line); }
.q:first-child { border-top: 0; padding-top: 0; }
.q__nr { grid-column: 1 / span 1; font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1vw, 2rem); color: var(--berry); line-height: 1.1; }
.q__body { grid-column: 2 / span 5; }
.q__who { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.q__title { font-family: var(--serif); font-size: clamp(1.9rem, 1.2rem + 2.1vw, 3.1rem); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 22px; text-wrap: balance; }
.q__answer { color: var(--ink-2); max-width: 32em; }
.q__answer strong:first-child { color: var(--ink); }
.q__media { grid-column: 8 / -1; }
@media (max-width: 900px) {
  .q__nr { grid-column: 1 / -1; margin-bottom: 8px; }
  .q__body, .q__media { grid-column: 1 / -1; }
  .q__media { margin-top: 28px; }
}

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .fig__media { aspect-ratio: 16 / 10; }
.card__body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card__body .more { margin-top: auto; align-self: flex-start; }
.card .credit { display: block; padding: 8px clamp(22px, 3vw, 36px) 0; }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ok-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.4l2.4 2.3 5.2-5.4' fill='none' stroke='%232c6a4c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--night .ticks li { color: var(--night-text); }

/* ---------- Wer macht was ---------- */
.ledger { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.ledger caption { text-align: left; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.ledger thead th { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 0; border-bottom: 1px solid var(--ink); }
.ledger tbody th { font-weight: 600; width: 22%; color: var(--ink); }
.ledger td { color: var(--ink-2); width: 39%; }
.ledger td.none { color: var(--ink-3); }
.ledger .who { display: inline-flex; align-items: center; gap: 8px; }
.ledger .who::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--berry); }
.ledger .who--bank::before { background: transparent; border: 1.5px solid var(--ink); }
@media (max-width: 760px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: 100%; }
  .ledger tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .ledger th, .ledger td { border: 0; padding: 4px 0; }
  .ledger tbody th { width: 100%; font-family: var(--serif); font-size: 1.25rem; font-weight: 450; margin-bottom: 6px; }
  .ledger td::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
}

/* ---------- Zitate ---------- */
.quotes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15em 0.6em; font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 1.1rem + 2.7vw, 3.7rem); line-height: 1.12; letter-spacing: -0.015em; }
.quotes li { color: var(--ink); }
.quotes li:nth-child(even) { color: var(--berry); }
.quotes li:not(:last-child)::after { content: " ·"; font-style: normal; color: var(--line-strong); }
.quote-source { margin-top: clamp(28px, 4vw, 48px); display: flex; gap: 14px; align-items: center; font-size: 0.95rem; color: var(--ink-2); }
.quote-source::before { content: ""; width: 40px; height: 1px; background: var(--ink); }

/* ---------- Zweispaltige Textblöcke ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.split__a { grid-column: 1 / span 5; }
.split__b { grid-column: 7 / -1; }
.split--rev .split__a { grid-column: 8 / -1; order: 2; }
.split--rev .split__b { grid-column: 1 / span 6; order: 1; }
.split--wide .split__a { grid-column: 1 / span 6; }
.split--wide .split__b { grid-column: 8 / -1; }
.split--center { align-items: center; }
@media (max-width: 900px) {
  .split__a, .split__b, .split--rev .split__a, .split--rev .split__b, .split--wide .split__a, .split--wide .split__b { grid-column: 1 / -1; order: initial; }
}
.stack > :not(:first-child) { margin-top: 20px; }
.stack-lg > :not(:first-child) { margin-top: 36px; }

/* Faktenliste mit Linien */
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.facts li strong { font-weight: 600; color: var(--ink); }
.facts li span { color: var(--ink-2); }
.facts--cols li { grid-template-columns: 13em minmax(0, 1fr); gap: 20px; }
@media (max-width: 640px) { .facts--cols li { grid-template-columns: 1fr; gap: 2px; } }
.section--night .facts, .section--night .facts li { border-color: var(--night-line); }
.section--night .facts li strong { color: var(--night-text); }
.section--night .facts li span { color: var(--night-muted); }

/* ---------- DORA ---------- */
.keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.keyfacts > div { padding: 22px 24px 4px 0; }
.keyfacts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.keyfacts dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.keyfacts dd { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem); line-height: 1.15; }
@media (max-width: 760px) {
  .keyfacts { grid-template-columns: 1fr; }
  .keyfacts > div, .keyfacts > div + div { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .keyfacts > div:first-child { border-top: 0; }
}

.clauses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clause { background: var(--white); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.clause__ref { font-family: var(--mono); font-size: 0.8rem; color: var(--berry); }
.clause__title { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; }
.clause p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .clauses { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--gap); }
.checklist li { break-inside: avoid; display: grid; grid-template-columns: 2.2em 1fr; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
.checklist li b { font-family: var(--mono); font-weight: 400; color: var(--berry); }
.checklist li.is-key { color: var(--ink); }
.checklist li.is-key::after { content: ""; }
@media (max-width: 760px) { .checklist { columns: 1; } }

.register { background: var(--night); color: var(--night-text); padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); position: relative; overflow: hidden; }
.register__head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; flex-wrap: wrap; border-bottom: 1px solid var(--night-line); padding-bottom: 18px; margin-bottom: 4px; }
.register__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.1; letter-spacing: -0.015em; }
.register__tag { font-family: var(--mono); font-size: 0.78rem; color: var(--night-muted); }
.register dl { margin: 0; }
.register dl > div { display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--night-line); }
.register dt { color: var(--night-muted); font-size: 0.9rem; }
.register dd { margin: 0; font-size: 1.02rem; }
.register .lei { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.register code { font-family: var(--mono); font-size: 1.05rem; letter-spacing: 0.06em; background: var(--night-2); padding: 4px 10px; border-radius: var(--radius); }
.register .copy { font: 600 0.82rem/1 var(--sans); color: var(--night-text); background: transparent; border: 1px solid var(--night-line); border-radius: var(--radius); padding: 8px 12px; cursor: pointer; }
.register .copy:hover { border-color: var(--night-text); }
.register .copy[data-done] { border-color: #7fbf9c; color: #a9dcbf; }
.register a { color: var(--night-text); }
.register a:hover { color: #e7a9c6; }
.register__foot { margin-top: 20px; font-size: 0.88rem; color: var(--night-muted); display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 640px) { .register dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Gast-WLAN: Trennung ---------- */
.sep-diagram { background: var(--white); border: 1px solid var(--line); padding: clamp(18px, 3vw, 36px); }
.sep-diagram svg { width: 100%; height: auto; }
.sep-diagram .lbl { font-family: var(--sans); font-size: 16px; font-weight: 600; fill: var(--ink); }
.sep-diagram .sub { font-family: var(--sans); font-size: 13px; fill: var(--ink-3); }
.sep-diagram .box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.sep-diagram .box--muted { fill: var(--paper-2); stroke: var(--line-strong); }
.sep-diagram .box--guest { fill: var(--berry-tint); stroke: var(--berry); }
.sep-diagram .flow { stroke: var(--berry); stroke-width: 2; fill: none; }
.sep-diagram .wall { stroke: var(--ink); stroke-width: 3; }
.sep-diagram .wall-lbl { font-family: var(--mono); font-size: 12px; fill: var(--ink); letter-spacing: 0.04em; }
.sep-diagram .x { stroke: var(--stop); stroke-width: 2.2; stroke-linecap: round; }
.sep-diagram .dash { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; }
.sep-diagram figcaption { margin-top: 14px; font-size: 0.82rem; color: var(--ink-3); }

/* Telefon-Skizze der Startseite */
.phone { width: min(300px, 100%); margin-inline: auto; background: var(--ink); border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(22, 25, 26, 0.45); }
.phone__screen { background: #fff; border-radius: 28px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; }
.phone__bar { height: 34px; display: flex; align-items: center; justify-content: center; }
.phone__bar span { width: 86px; height: 22px; border-radius: 12px; background: var(--ink); }
.phone__brand { margin: 8px 20px 0; display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.phone__logo { width: 34px; height: 34px; border-radius: 8px; border: 1.5px dashed var(--line-strong); display: grid; place-items: center; font-size: 0.6rem; color: var(--ink-3); }
.phone__hero { margin: 18px 14px 0; border-radius: 16px; background: var(--paper-2); padding: 22px 18px; }
.phone__hero .phone__h { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; margin-bottom: 8px; }
.phone__hero p { font-size: 0.82rem; color: var(--ink-2); margin: 0; }
.phone__form { padding: 16px 18px 22px; display: grid; gap: 10px; margin-top: auto; }
.phone__field { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 0.8rem; color: var(--ink-3); }
.phone__check { display: flex; gap: 8px; font-size: 0.74rem; color: var(--ink-2); align-items: flex-start; }
.phone__check i { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--ink-2); flex: none; margin-top: 2px; }
.phone__btn { background: var(--ink); color: #fff; border-radius: 10px; padding: 12px; text-align: center; font-weight: 600; font-size: 0.88rem; }
.phone-note { text-align: center; margin-top: 14px; font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Team-WLAN: Schlüsselbund ---------- */
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.keys__panel { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); }
.keys__panel h3 { margin-bottom: 6px; }
.keys__panel > p { color: var(--ink-2); font-size: 0.95rem; }
.keys__list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.keys__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; transition: opacity .3s ease; }
.keys__dev { font-weight: 600; }
.keys__meta { grid-column: 1; font-size: 0.8rem; color: var(--ink-3); font-family: var(--mono); }
.state { grid-row: 1 / span 2; grid-column: 2; font-size: 0.76rem; font-weight: 650; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 99px; white-space: nowrap; }
.state--on { background: var(--ok-tint); color: var(--ok); }
.state--off { background: var(--stop-tint); color: var(--stop); }
.state--warn { background: #f6ecd7; color: #7a5410; }
.keys__list li.is-gone .keys__dev { text-decoration: line-through; text-decoration-color: var(--stop); }
#keys-shared li.is-gone .keys__dev { text-decoration: none; }
.keys__verdict { margin-top: 18px; padding: 14px 16px; font-size: 0.92rem; border-left: 3px solid var(--line-strong); background: var(--paper); color: var(--ink-2); min-height: 4.8em; }
.keys__verdict.is-bad { border-left-color: var(--stop); color: var(--ink); }
.keys__verdict.is-good { border-left-color: var(--ok); color: var(--ink); }
.keys__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
@media (max-width: 860px) { .keys { grid-template-columns: 1fr; } }

/* ---------- Schritte ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 18px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 0.82rem; color: var(--berry); margin-bottom: 14px; }
.steps h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Kosten */
.costs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); }
.costs > div { padding: clamp(22px, 3vw, 36px); }
.costs > div + div { border-left: 1px solid var(--line); }
.costs dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.costs dd { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 0.9vw, 2rem); line-height: 1.2; }
.costs__note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 14px clamp(22px, 3vw, 36px) !important; font-size: 0.9rem; color: var(--ink-2); border-left: 0 !important; }
@media (max-width: 640px) { .costs { grid-template-columns: 1fr; } .costs > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Gerät-Bühne */
.device-stage { background: #fff; border: 1px solid var(--line); }
.device-stage .fig__media { background: #fff; }

/* ---------- FAQ ---------- */
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.faq-nav a { font-size: 0.9rem; font-weight: 550; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--ink-2); }
.faq-nav a:hover { border-color: var(--ink); color: var(--ink); }
.faq-group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.faq-group__head { grid-column: 1 / span 4; }
.faq-group__list { grid-column: 5 / -1; }
.faq-group__head h2 { font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.08; letter-spacing: -0.015em; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq-group__head, .faq-group__list { grid-column: 1 / -1; } .faq-group__head { margin-bottom: 20px; } }
details.faq { border-bottom: 1px solid var(--line); }
details.faq:first-child { border-top: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 1.06rem; line-height: 1.4; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%2316191a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq summary:hover { color: var(--berry); }
details.faq .faq__a { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 44em; }
details.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field legend { font-size: 0.9rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .opt { font-weight: 450; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--berry-tint); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--stop); }
.field__err { font-size: 0.85rem; color: var(--stop); min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); cursor: pointer; font-weight: 550; font-size: 0.95rem; }
.choice input { accent-color: var(--berry); width: 16px; height: 16px; margin: 0; }
.choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.form__privacy { font-size: 0.88rem; color: var(--ink-2); max-width: 30em; margin: 0; }
.ts-box { min-height: 65px; }
.notice { padding: 16px 18px; border-left: 3px solid var(--line-strong); background: var(--white); font-size: 0.95rem; color: var(--ink-2); }
.notice[hidden] { display: none; }
.notice--ok { border-left-color: var(--ok); background: var(--ok-tint); color: var(--ink); }
.notice--err { border-left-color: var(--stop); background: var(--stop-tint); color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- Abschluss-CTA ---------- */
.cta { background: var(--night); color: var(--night-text); }
.cta__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: stretch; }
.cta__text { grid-column: 1 / span 6; padding-block: clamp(64px, 8vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.cta__text .h2 { color: #fff; }
.cta__text p { color: var(--night-muted); margin: 22px 0 32px; max-width: 30em; font-size: 1.1rem; }
.cta__media { grid-column: 8 / -1; position: relative; }
.cta__media .fig { height: 100%; display: flex; flex-direction: column; }
.cta__media .fig__media { flex: 1; min-height: 340px; }
.cta__media figcaption { color: var(--night-muted); padding-bottom: 14px; }
.cta__media .credit { color: var(--night-muted); }
@media (max-width: 900px) {
  .cta__text, .cta__media { grid-column: 1 / -1; }
  .cta__text { padding-bottom: 40px; }
  .cta__media { padding-bottom: 40px; }
}

/* ---------- Fuß ---------- */
.site-footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); font-size: 0.92rem; }
.site-footer a { color: var(--night-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: var(--gap); padding-block: 64px 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; color: var(--night-text); }
.footer__brand .brand { color: var(--night-text); }
.footer__brand p { color: var(--night-muted); max-width: 24em; margin: 0; }
.footer__h { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--night-text); margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__partner dl { margin: 0; display: grid; gap: 10px; }
.footer__partner dt { font-size: 0.78rem; color: var(--night-muted); }
.footer__partner dd { margin: 0; color: var(--night-text); }
.footer__partner .mono { letter-spacing: 0.05em; }
.footer__base { border-top: 1px solid var(--night-line); padding-block: 22px 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 0.82rem; }
.footer__base nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Rechtliche Seiten ---------- */
.legal { max-width: 46em; }
.legal h2 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; margin: 48px 0 14px; }
.legal address { font-style: normal; }
.placeholder { padding: 20px 22px; border: 1px dashed var(--line-strong); background: var(--white); color: var(--ink-2); }
.credits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.credits li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.credits li span:first-child { color: var(--ink-3); }
@media (max-width: 560px) { .credits li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Hilfen ---------- */
.mt-0 { margin-top: 0 !important; } .mt-s { margin-top: 16px !important; } .mt-m { margin-top: 32px !important; } .mt-l { margin-top: clamp(40px, 5vw, 72px) !important; } .mt-xl { margin-top: clamp(56px, 8vw, 112px) !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.note-line { font-size: 0.85rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; }
.pill { display: inline-block; font-size: 0.76rem; font-weight: 650; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 99px; background: var(--berry-tint); color: var(--berry-ink); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .site-header, .film__toggle, .cta, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 24px; }
}

.btn--night { background: transparent; color: var(--night-text); border-color: var(--night-line); }
.btn--night:hover { background: transparent; color: #fff; border-color: var(--night-text); }

/* drei Spalten mit Linie */
.cols3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cols3 > li, .cols3 > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.cols3 h3 { font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 0.6vw, 1.7rem); line-height: 1.15; margin-bottom: 10px; letter-spacing: -0.01em; }
.cols3 p { color: var(--ink-2); margin: 0; }
.cols3 .tag { display: block; font-family: var(--mono); font-size: 0.78rem; color: var(--berry); margin-bottom: 12px; }
@media (max-width: 900px) { .cols3 { grid-template-columns: 1fr; row-gap: 32px; } }
.bare { margin: 0; }
.pt-0 { padding-top: 0 !important; }
.self-start { align-self: start !important; }
.sep-tall { display: none; }
@media (max-width: 640px) { .sep-wide { display: none; } .sep-tall { display: block; max-width: 380px; margin-inline: auto; } }

.split--diagram .split__a { grid-column: 1 / span 5; }
.split--diagram .split__b { grid-column: 6 / -1; }
@media (max-width: 900px) { .split--diagram .split__a, .split--diagram .split__b { grid-column: 1 / -1; } }
.fig-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 0.8rem; line-height: 1.45; color: var(--ink-2); margin-bottom: 0; }
@media (max-width: 640px) { .rubrik__hint { flex-basis: 100%; margin-left: 0; } }

/* ==========================================================================
   f4: Ergänzungen für Managed Service (Ablauf) und Sponsored WiFi.
   Gleiche Mittel wie f2: Papier, Tinte, Beere, Linien statt Kästen.
   ========================================================================== */

/* Kopf: sieben Punkte brauchen etwas früher das Menü */
@media (max-width: 1240px) { .brand__tag { display: none; } }
@media (max-width: 1040px) {
  .site-header .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; max-height: calc(100dvh - var(--header-h)); overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.25rem; font-family: var(--serif); color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--berry); }
  .nav .btn { margin: 20px 0 0; justify-content: center; font-family: var(--sans); font-size: 1rem; border-bottom: 0; }
}

.credit--multi { white-space: normal; }
/* Breiter Seitenkopf: auf schmalen Schirmen volle Breite (in der Vorlage blieb der Text hier auf 9 von 12 Spalten) */
@media (max-width: 960px) { .page-hero--wide .page-hero__text { grid-column: 1 / -1; } }
.more--klein { font-size: 0.88rem; margin-top: 12px; }
.pill--night { background: rgba(231, 169, 198, 0.16); color: #f0c3d8; }
.linkknopf { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.linkknopf:hover { color: var(--berry); }

/* ---------- Managed Service: drei Abschnitte als Einstieg ---------- */
.phasen__link { display: block; text-decoration: none; color: inherit; }
.phasen__link:hover { color: inherit; }
.phasen__link:hover .phasen__titel { color: var(--berry); }
.phasen__titel { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 0.6vw, 1.7rem); line-height: 1.15; margin-bottom: 10px; letter-spacing: -0.01em; transition: color .15s ease; }

/* ---------- Managed Service: Fahrplan mit der Linie ----------
   Links: was Airfy übernimmt. Rechts: was bei Ihrer Bank bleibt. Dazwischen die Linie mit den Schritten. */
.fahrplan { --fp-cols: minmax(0, 3.1fr) minmax(0, 4fr) 56px minmax(0, 4fr); --fp-pad: clamp(22px, 2.6vw, 34px); }
.fahrplan__kopf {
  position: sticky; top: var(--header-h); z-index: 5; display: grid; grid-template-columns: var(--fp-cols); column-gap: var(--gap);
  padding: 12px 0 10px; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-3);
}
.fahrplan__kopf .who { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.fahrplan__kopf .who::before, .schritt__wer .who::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--berry); }
.fahrplan__kopf .who--bank::before, .schritt__wer .who--bank::before { background: transparent; border: 1.5px solid var(--ink); }
.fahrplan__abschnitt { padding-top: clamp(36px, 4.5vw, 64px); }
.fahrplan__abschnitt:first-of-type { padding-top: clamp(28px, 3vw, 40px); }
.fahrplan__titel {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px;
  font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.25rem); line-height: 1.1; letter-spacing: -0.015em;
}
.fahrplan__tag { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--berry); }
.fahrplan__schritte { list-style: none; margin: 0; padding: 0; }
.schritt {
  position: relative; display: grid; grid-template-columns: var(--fp-cols); column-gap: var(--gap); align-items: start;
  padding-block: var(--fp-pad); border-top: 1px solid var(--line);
}
.fahrplan__schritte .schritt:first-child { border-top-color: transparent; }
.schritt__kopf { grid-column: 1; }
.schritt__airfy { grid-column: 2; }
.schritt__nr { grid-column: 3; grid-row: 1; position: relative; align-self: stretch; display: flex; justify-content: center; }
.schritt__bank { grid-column: 4; }
.schritt__titel { font-family: var(--serif); font-size: clamp(1.35rem, 1.15rem + 0.55vw, 1.7rem); line-height: 1.15; letter-spacing: -0.01em; font-weight: 450; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.schritt__titel .pill { font-family: var(--sans); letter-spacing: 0.02em; }
.schritt__kurz { margin: 8px 0 0; font-size: 0.93rem; color: var(--ink-3); }
.schritt__text { margin: 0; color: var(--ink-2); max-width: 30em; }
.schritt__airfy .schritt__text { color: var(--ink); }
.schritt__hinweis { margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-3); }
.schritt__wer { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
/* die Linie: läuft durch alle Schritte, färbt sich beim Lesen in Beere */
.schritt__nr::before {
  content: ""; position: absolute; left: 50%; top: calc(var(--fp-pad) * -1 - 1px); bottom: calc(var(--fp-pad) * -1); width: 2px; margin-left: -1px;
  background: linear-gradient(var(--berry), var(--berry)) top / 2px var(--fill, 0%) no-repeat, var(--line);
}
.fahrplan__schritte .schritt:first-child .schritt__nr::before { top: 0; }
.fahrplan__schritte .schritt:last-child .schritt__nr::before { bottom: 0; }
.schritt__nr span {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.82rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink);
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
}
.schritt.is-erreicht .schritt__nr span { background: var(--berry); border-color: var(--berry); color: #fff; }
.schritt.is-erreicht .schritt__nr::before { --fill: 100%; }
.schritt__nr::before { transition: background-size .6s ease; }
@media print { .fahrplan__kopf { position: static; } }

@media (max-width: 900px) {
  .fahrplan { --fp-pad: 22px; }
  .fahrplan__kopf { display: none; }
  .schritt { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; row-gap: 14px; }
  .schritt__nr { grid-column: 1; grid-row: 1 / span 3; align-self: stretch; }
  .schritt__kopf { grid-column: 2; grid-row: 1; padding-top: 6px; }
  .schritt__airfy { grid-column: 2; grid-row: 2; }
  .schritt__bank { grid-column: 2; grid-row: 3; }
  .schritt__seite { padding-left: 14px; border-left: 2px solid var(--berry); }
  .schritt__bank { border-left: 2px dotted var(--ink-3); }
  .schritt__wer { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; margin: 0 0 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
  .schritt__wer .who { display: inline-flex; align-items: center; gap: 8px; }
  .schritt__nr span { width: 40px; height: 40px; }
}

/* Auswahl „Wer montiert?“ im Schritt 05 */
.wahl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.wahl__frage { margin: 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.wahl__knoepfe { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px; background: var(--white); }
.wahl__knopf { font: 600 0.85rem/1.2 var(--sans); color: var(--ink-2); background: transparent; border: 0; border-radius: 99px; padding: 7px 13px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.wahl__knopf:hover { color: var(--ink); }
.wahl__knopf[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.schritt__text[data-montage-text] { animation: einblenden .35s ease; }
@keyframes einblenden { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* Beispielansicht: eine Änderung erreicht jeden Standort */
.zugang { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); }
.zugang__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.zugang__titel { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 0.6vw, 1.75rem); line-height: 1.15; }
.zugang__tag { margin: 0; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); }
.zugang__wunsch { margin-top: 18px; padding: 14px 16px; background: var(--paper); border-left: 3px solid var(--berry); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.zugang__frage { margin: 0; display: grid; gap: 2px; }
.zugang__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.zugang__liste li { transition: background-color .5s ease; }
.zugang__liste li.is-neu { animation: welle 1.1s ease; }
@keyframes welle { 0% { background-color: var(--berry-tint); } 100% { background-color: transparent; } }
.state--neutral { background: var(--paper-2); color: var(--ink-2); }
.zugang__fuss { margin: 14px 0 0; font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 520px) {
  .zugang__liste li { grid-template-columns: minmax(0, 1fr); }
  .zugang__liste .state { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 4px; }
}

/* ---------- Sponsored WiFi ---------- */
.orte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ort__titel { margin-top: 18px; font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 0.6vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; }
.ort__text { margin: 8px 0 0; color: var(--ink-2); font-size: 0.97rem; }
.ort .fig figcaption { padding-top: 8px; }
@media (max-width: 960px) { .orte { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .orte { grid-template-columns: 1fr; } }

.sponsor { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sponsor__wahl { align-items: center; justify-items: center; text-align: center; }
.sponsor__wahl legend { margin-bottom: 8px; }
.choice--klein { justify-content: center; gap: 8px; }
.choice--klein label { padding: 8px 13px; font-size: 0.9rem; }
.phone--sponsor .phone__screen { min-height: 0; }
.phone--sponsor .phone__form { margin-top: 30px; }
.phone__hero--sponsor { padding: 28px 20px 26px; text-align: left; }
.phone__hero .phone__wifi { margin: 0; font-family: var(--serif); font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.phone__wifi::before {
  content: ""; display: block; width: 30px; height: 22px; margin-bottom: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 22'%3E%3Cg fill='none' stroke='%237d2452' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M2 8.2a19 19 0 0 1 26 0'/%3E%3Cpath d='M6.6 12.6a12.4 12.4 0 0 1 16.8 0'/%3E%3Cpath d='M11 17a6 6 0 0 1 8 0'/%3E%3C/g%3E%3Ccircle cx='15' cy='20' r='1.8' fill='%237d2452'/%3E%3C/svg%3E") no-repeat;
}
.phone__hero .phone__von { margin: 6px 0 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.phone__hero .phone__klein { margin: 14px 0 0; }
[data-bank] { transition: opacity .2s ease; }
.phone.is-wechsel [data-bank] { opacity: 0; }

.costs--preise dd { display: grid; gap: 10px; }
.preis { font-family: var(--serif); font-size: clamp(2.8rem, 1.9rem + 2.6vw, 4.4rem); line-height: 0.95; letter-spacing: -0.025em; font-variant-numeric: lining-nums; }
.preis__je { font-family: var(--sans); font-size: 0.95rem; line-height: 1.4; color: var(--ink-2); }
.costs--preise .costs__note strong { color: var(--ink); }

/* Rechner */
.rechner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line); }
.rechner__eingabe { background: var(--paper); padding: clamp(24px, 3.2vw, 44px); display: grid; gap: 34px; align-content: start; }
.regler__kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.regler__kopf label { font-weight: 600; font-size: 0.98rem; line-height: 1.3; padding-bottom: 8px; }
.regler__zahl {
  width: 4.4em; flex: none; text-align: right; font: 400 clamp(1.9rem, 1.5rem + 1vw, 2.5rem)/1.1 var(--serif); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 2px 2px 4px; font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.regler__zahl::-webkit-outer-spin-button, .regler__zahl::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.regler__zahl:focus { outline: none; border-bottom-color: var(--berry); box-shadow: 0 2px 0 var(--berry); }
.regler__band { --pct: 33%; display: block; width: 100%; margin: 16px 0 0; height: 26px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.regler__band:focus { outline: none; }
.regler__band:focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; }
.regler__band::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--berry) var(--pct), var(--line-strong) var(--pct)); }
.regler__band::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-strong); }
.regler__band::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--berry); }
.regler__band::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 2px solid var(--berry); box-shadow: 0 2px 6px rgba(22, 25, 26, 0.18); }
.regler__band::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--berry); }
.regler__hint { margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-3); }
.rechner__ergebnis { background: var(--night); color: var(--night-text); padding: clamp(24px, 3.2vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.rechner__kosten { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); }
.rechner__kosten > div { display: grid; align-content: start; gap: 6px; }
.rechner__kosten dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--night-muted); }
.rechner__kosten dd { margin: 0; }
.rechner__wert { font-family: var(--serif); font-size: clamp(2.1rem, 1.5rem + 1.9vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.rechner__rund { font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0; color: var(--night-muted); margin-right: 0.15em; }
.rechner__weg { font-family: var(--mono); font-size: 0.76rem; color: var(--night-muted); letter-spacing: 0.01em; }
.rechner__schaetzung { border: 1px dashed var(--night-line); border-radius: var(--radius); padding: 18px 20px 20px; display: grid; gap: 16px; }
.rechner__marke { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--night-muted); }
.rechner__fuss { margin: 0; font-size: 0.85rem; color: var(--night-muted); }
.rechner__ergebnis .btn { align-self: flex-start; }
.rechner__beispiel { border-top: 1px solid var(--line); padding-top: 14px; }
.ist-neu { animation: zahl .45s ease; }
@keyframes zahl { from { opacity: 0.35; } to { opacity: 1; } }
@media (max-width: 900px) { .rechner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .rechner__kosten { grid-template-columns: 1fr; } .regler__zahl { width: 3.6em; } }
