/* Pilot2Rollout · Website (Redesign 01)
   Farbwelt: Dunkelblau und Grün. Alle Farben stehen im Block :root. */

@font-face {
  font-family: "Besley";
  src: url("fonts/besley-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}

:root {
  --blue: #002657;
  --green: #24CC40;
  --green-hi: #5BD970;    /* Grün auf dunklem Grund */
  --green-ink: #18872A;   /* Grün als Schrift auf Weiß */
  --black: #000000;
  --white: #FFFFFF;
  --wall: #FAF2E7;        /* Papierton der Illustrationen */
  --desk: #F1EEEA;        /* helle Fläche */
  --ink-soft: #3A4E6E;
  --marker: rgba(36, 204, 64, .34);
  --marker-on: rgba(36, 204, 64, .78);

  --bg: var(--white);
  --fg: var(--blue);
  --fg-soft: var(--ink-soft);
  --rule: rgba(0, 38, 87, .16);
  --focus: var(--blue);

  --serif: "Besley", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(18px, 4.6vw, 56px);
  --section: clamp(64px, 8.5vw, 128px);
  --header-h: 72px;
  --line: clamp(7px, .7vw, 10px);
  --paper-shadow: 0 1px 1px rgba(0,38,87,.10), 0 16px 30px -16px rgba(0,38,87,.34);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--sans); font-size: 1.1875rem; line-height: 1.55; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--green); color: var(--blue); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.on-desk  { --bg: var(--desk); }
.on-blue  { --bg: var(--blue); --fg: var(--white); --fg-soft: rgba(255,255,255,.84); --rule: rgba(255,255,255,.24); --focus: var(--white); }
.on-black { --bg: var(--black); --fg: var(--white); --fg-soft: rgba(255,255,255,.8); --rule: rgba(255,255,255,.22); --focus: var(--white); }
.on-green { --bg: var(--green); --fg: var(--blue); --fg-soft: var(--blue); --rule: rgba(0,38,87,.32); --focus: var(--blue); }
.on-desk, .on-blue, .on-black, .on-green { background: var(--bg); color: var(--fg); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(1.375rem, min(1.05rem + 3.4vw, (100vw - 2 * var(--pad)) / 12.3), 3.5rem); line-height: 1.07; overflow-wrap: break-word; }
h2 { font-size: clamp(1.875rem, 1.2rem + 2.7vw, 3.375rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.2; letter-spacing: -.004em; }
.phrases { text-wrap: wrap; }
.phrases span { display: inline-block; }
.lead { font-size: clamp(1.1875rem, 1.08rem + .45vw, 1.4375rem); line-height: 1.45; color: var(--fg-soft); }
.soft { color: var(--fg-soft); }
.small { font-size: 1rem; line-height: 1.45; }
strong, b { font-weight: 700; }
p + p { margin-top: .8em; }
.nb { white-space: nowrap; }
.section-head { display: grid; gap: clamp(14px, 1.6vw, 22px); max-width: 52rem; margin-bottom: clamp(32px, 4vw, 56px); }
.link { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 5px; font-weight: 650; }
.link:hover { text-decoration-color: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--green); color: var(--blue); font-weight: 700; font-size: 1.125rem; line-height: 1.15; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .16s ease, color .16s ease; }
.btn:hover { background: var(--green-hi); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--black); }
.btn--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px currentColor; }
.btn--line:hover { background: var(--fg); color: var(--bg); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 1.0625rem; }

:is(.nav a.btn, .hero-actions a.btn, #r-mail, #k-mail, .showcase-visual--link) {
  box-shadow: 0 2px 6px color-mix(in srgb, var(--blue) 14%, transparent);
  transition: transform .22s ease-out, box-shadow .22s ease-out, background-color .16s ease, color .16s ease;
}
:is(.nav a.btn, .hero-actions a.btn, #r-mail, #k-mail, .showcase-visual--link):active {
  box-shadow: 0 1px 3px color-mix(in srgb, var(--blue) 15%, transparent);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.nav a.btn, .hero-actions a.btn, #r-mail, #k-mail, .showcase-visual--link):hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 9px 18px color-mix(in srgb, var(--blue) 23%, transparent);
  }
  :is(.nav a.btn, .hero-actions a.btn, #r-mail, #k-mail, .showcase-visual--link):active {
    transform: translateY(0) scale(.99);
    box-shadow: 0 1px 3px color-mix(in srgb, var(--blue) 15%, transparent);
  }
}

/* ---------- Kopfzeile ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--wall); transition: box-shadow .2s ease, background-color .2s ease; }
.header.is-stuck { background: var(--white); box-shadow: 0 1px 0 var(--rule); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 36px; width: auto; margin-left: -6px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a:not(.btn) { font-size: 1.0625rem; font-weight: 600; text-decoration: none; padding: 8px 0; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--green); }
.menu-btn { display: none; }
@media (max-width: 999px) {
  :root { --header-h: 62px; }
  .brand img { height: 31px; margin-left: -5px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 12px; background: none; border: 0; color: var(--blue); font-weight: 650; font-size: 1.0625rem; cursor: pointer; }
  .menu-btn .bars { position: relative; width: 26px; height: 18px; }
  .menu-btn .bars i { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--blue); transition: transform .2s ease, opacity .2s ease, top .2s ease; }
  .menu-btn .bars i:nth-child(1) { top: 0; } .menu-btn .bars i:nth-child(2) { top: 7.5px; } .menu-btn .bars i:nth-child(3) { top: 15px; }
  .menu-btn[aria-expanded="true"] .bars i:nth-child(1) { top: 7.5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .bars i:nth-child(3) { top: 7.5px; transform: rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 28px; background: var(--white); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility 0s linear .18s; }
  .nav[data-open="true"] { visibility: visible; opacity: 1; transition: opacity .18s ease; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 1.625rem; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--rule); white-space: normal; }
  .nav a:not(.btn):hover { border-bottom-color: var(--rule); }
  .nav .btn { margin-top: 26px; }
  .no-js .menu-btn { display: none; }
  .no-js .header { height: auto; position: static; }
  .no-js .header .wrap { flex-wrap: wrap; padding-block: 12px; }
  .no-js .nav { position: static; visibility: visible; opacity: 1; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; padding: 0; background: none; }
  .no-js .nav a:not(.btn) { font-family: var(--sans); font-size: 1.0625rem; padding: 8px 0; border: 0; }
  .no-js .nav .btn { margin-top: 0; }
}

/* ---------- Auftakt mit vier Nutzenfeldern ---------- */
.top { background: var(--wall); }
.top-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding: clamp(28px, 3.5vw, 56px) var(--pad) clamp(32px, 4vw, 60px); }
.shots { position: relative; grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 3 / 2; }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.shot.is-on { opacity: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.ai-label { position: absolute; z-index: 2; top: 10px; right: 10px; margin: 0; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--blue); font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.top-copy { grid-column: 1; grid-row: 1; max-width: none; padding: 0; }
.top-copy h1 { max-width: 9em; font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4.25rem); line-height: 1.03; }
.top-copy .lead { max-width: 24em; margin-top: clamp(16px, 1.8vw, 24px); color: var(--blue); }
.top-copy .hero-price { max-width: 30em; color: var(--ink-soft); }

.ben { background: var(--white); }
.ben-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(14px, 2vw, 28px); }
.ben-tab { position: relative; padding: calc(var(--line) + 18px) 4px 18px 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: clamp(1.125rem, 1rem + .55vw, 1.5rem); line-height: 1.15; color: var(--ink-soft); }
.ben-tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--line); border-radius: 999px; background: rgba(0,38,87,.14); transition: background-color .2s ease; }
.ben-tab:hover { color: var(--blue); }
.ben-tab:hover::before { background: rgba(0,38,87,.34); }
.ben-tab[aria-selected="true"] { color: var(--blue); }
.ben-tab[aria-selected="true"]::before { background: var(--green); }
.ben-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px clamp(28px, 5vw, 88px); padding-block: clamp(22px, 2.6vw, 34px) clamp(48px, 6vw, 88px); }
.ben-panel h2 { font-size: clamp(1.625rem, 1.15rem + 1.9vw, 2.625rem); line-height: 1.1; }
.ben-text p { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.5; }
.ben-text .ben-note { font-size: 1.0625rem; color: var(--ink-soft); }
.ben-text .link { display: inline-block; margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .js .ben-panel { animation: fade .35s ease-out both; }
}
.no-js .ben-tabs { display: none; }
.no-js .ben-panel { border-top: var(--line) solid var(--green); padding-top: 24px; }
@media (max-width: 899px) {
  .top-stage { grid-template-columns: minmax(0, 1fr); }
  .top-copy, .shots { grid-column: 1; grid-row: auto; }
  .ben-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-top: 18px; }
  .ben-tab { padding: calc(var(--line) + 12px) 4px 16px 0; }
  .ben-panel { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
}


/* ---------- Auftakt ---------- */
.hero { padding-block: clamp(22px, 3vw, 44px) clamp(44px, 5vw, 76px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 72px); align-items: end; }
.hero-side .lead { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(18px, 2vw, 26px); }
.hero-price { margin-top: 14px; font-size: 1.0625rem; color: var(--fg-soft); }

.scene-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(30px, 4vw, 56px); padding-top: 18px; border-top: 1px solid var(--rule); }
.example-note { font-size: 1.0625rem; line-height: 1.4; color: var(--fg-soft); max-width: 36em; }
.example-note b { color: var(--blue); }
.case-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.case-pill { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--white); color: var(--blue); font-weight: 650; font-size: 1.0625rem; cursor: pointer; box-shadow: inset 0 0 0 2px transparent; transition: background-color .16s ease, color .16s ease; }
.case-pill:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.case-pill[aria-pressed="true"] { background: var(--blue); color: var(--white); }

.scene { display: grid; grid-template-columns: minmax(0, 5fr) clamp(56px, 7vw, 104px) minmax(0, 6fr); align-items: start; margin-top: clamp(20px, 2.4vw, 32px); }
.scene-label { font-family: var(--serif); font-weight: 700; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.2; margin-bottom: 16px; }
.scene-label span { display: block; font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; color: var(--fg-soft); margin-top: 2px; }

.pile { display: flex; flex-direction: column; padding-bottom: 6px; }
.paper { position: relative; padding: 14px 16px 16px; background: var(--white); border: 1px solid rgba(0,38,87,.10); border-radius: 4px; box-shadow: var(--paper-shadow); font-size: .9375rem; line-height: 1.42; color: var(--blue); transform: rotate(var(--r, 0deg)); transition: opacity .2s ease, box-shadow .2s ease; }
.paper.p0 { --r: -2.2deg; align-self: flex-start; width: 82%; z-index: 1; }
.paper.p1 { --r: 1.8deg; align-self: flex-end; width: 74%; margin-top: -46px; z-index: 2; }
.paper.p2 { --r: -3deg; align-self: flex-start; width: 52%; margin: -14px 0 0 5%; z-index: 3; }
.paper-tag { display: inline-block; margin-bottom: 8px; padding: 1px 8px; border-radius: 3px; background: var(--desk); font-size: .8125rem; font-weight: 650; color: var(--ink-soft); }
.paper-meta { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--rule); font-size: .875rem; color: var(--ink-soft); }
.paper-meta b { color: var(--blue); font-weight: 650; }
.paper-body { margin: 0; }
.paper-title { font-weight: 700; margin: 0 0 6px; }
.paper-line { margin: 4px 0 0; }
.paper table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.paper th, .paper td { overflow-wrap: anywhere; text-align: left; padding: 5px 8px 5px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.paper th { font-weight: 650; color: var(--ink-soft); }
.paper--xls th { background: rgba(36,204,64,.16); color: var(--blue); padding-left: 6px; }
.paper--xls td { padding-left: 6px; border-right: 1px solid var(--rule); }
.paper--scan { background: #DCE2EA; }
.scan-lines { display: grid; gap: 7px; margin-top: 8px; filter: blur(1.6px); }
.scan-lines i { display: block; height: 7px; border-radius: 2px; background: rgba(0,38,87,.34); }
.scan-lines i:nth-child(2) { width: 82%; } .scan-lines i:nth-child(3) { width: 91%; } .scan-lines i:nth-child(4) { width: 64%; } .scan-lines i:nth-child(5) { width: 76%; }
mark { background: var(--marker); color: inherit; padding: .04em .14em; margin: 0 -.06em; border-radius: .18em .5em .22em .45em; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-color .2s ease; }
.pile.has-focus mark { background: rgba(36,204,64,.14); }
.pile mark.is-on { background: var(--marker-on); }
.pile.has-focus .paper { opacity: .62; }
.pile.has-focus .paper.is-src, .pile.has-focus .paper--scan { opacity: 1; }
.pile.has-focus .paper--scan:not(.is-src) .scan-lines { opacity: .62; }
.pile .paper--scan.is-on { box-shadow: 0 0 0 4px var(--green), var(--paper-shadow); }

.flow { display: grid; place-items: center; padding-top: clamp(150px, 15vw, 210px); }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow path { fill: none; stroke: var(--green); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }

.sheet { position: relative; background: var(--white); border-radius: 8px; box-shadow: 0 1px 1px rgba(0,38,87,.10), 0 28px 50px -24px rgba(0,38,87,.42); padding: clamp(18px, 2.2vw, 30px); }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 3px solid var(--blue); }
.sheet-kicker { font-size: 1rem; font-weight: 650; color: var(--ink-soft); margin: 0; }
.sheet-head h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.12; margin-top: 2px; }
.sheet-sub { margin: 4px 0 0; font-size: 1.0625rem; color: var(--ink-soft); }
.stamp { flex: none; margin: 2px 0 0; padding: 5px 12px 4px; border: 3px solid currentColor; border-radius: 6px; font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; transform: rotate(-5deg); white-space: nowrap; }
.stamp--open { color: var(--blue); }
.stamp--ok { color: var(--green-ink); }
.check { border-bottom: 1px solid var(--rule); }
.check-btn { display: grid; grid-template-columns: 26px minmax(5.2em, 8.2em) minmax(0, 1fr); gap: 4px 12px; align-items: start; width: 100%; padding: 13px 8px 13px 6px; background: none; border: 0; text-align: left; cursor: pointer; font-size: 1.0625rem; line-height: 1.35; border-radius: 6px; }
.check-btn:hover { background: var(--desk); }
.check.is-on .check-btn { background: var(--desk); border-radius: 6px 6px 0 0; }
.ico { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; font-weight: 800; font-size: .9375rem; line-height: 1; }
.check--ok .ico { background: var(--green); color: var(--blue); }
.check--open .ico { background: var(--blue); color: var(--white); }
.check-label { color: var(--ink-soft); }
.check-value { font-weight: 700; }
.check--open .check-value { text-decoration: underline; text-decoration-color: rgba(36,204,64,.5); text-decoration-thickness: .5em; text-underline-offset: -.3em; text-decoration-skip-ink: none; }
.check-src { padding: 2px 12px 14px 44px; background: var(--desk); border-radius: 0 0 6px 6px; font-size: 1rem; line-height: 1.4; }
.check-src p { margin: 0; padding-top: 6px; color: var(--ink-soft); }
.check-src b { color: var(--blue); font-weight: 650; }
.sheet-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 18px; }
.sheet-foot p { margin: 0; font-size: 1.0625rem; font-weight: 650; flex: 1 1 14em; }
.draft-box { margin-top: 16px; padding: 18px; border-radius: 6px; background: var(--desk); }
.draft-text { white-space: pre-line; font-size: 1rem; line-height: 1.5; margin: 0; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.draft-result { margin: 14px 0 0; padding: 12px 14px; border-radius: 6px; background: var(--blue); color: var(--white); font-size: 1rem; line-height: 1.4; }
.scene-foot { margin-top: clamp(18px, 2vw, 26px); font-size: 1.0625rem; color: var(--fg-soft); max-width: 46em; }

/* Bewegung: einmal beim Laden, kurz beim Wechsel des Beispiels */
@media (prefers-reduced-motion: no-preference) {
  @keyframes drop { from { opacity: 0; transform: translateY(-26px) rotate(calc(var(--r, 0deg) * 3.5)); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes rise { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .is-intro .paper { animation: drop .55s cubic-bezier(.2,.75,.2,1) both; }
  .is-intro .paper.p0 { animation-delay: .15s; } .is-intro .paper.p1 { animation-delay: .32s; } .is-intro .paper.p2 { animation-delay: .49s; }
  .is-intro .flow path { stroke-dasharray: 1; animation: draw .5s ease-out .85s both; }
  .is-intro .sheet { animation: rise .5s cubic-bezier(.2,.75,.2,1) 1.15s both; }
  .is-intro .check { animation: fade .3s ease-out both; }
  .is-intro .check:nth-child(1) { animation-delay: 1.5s; } .is-intro .check:nth-child(2) { animation-delay: 1.65s; } .is-intro .check:nth-child(3) { animation-delay: 1.8s; } .is-intro .check:nth-child(4) { animation-delay: 1.95s; }
  .is-swap .paper { animation: drop .36s cubic-bezier(.2,.75,.2,1) both; }
  .is-swap .paper.p1 { animation-delay: .06s; } .is-swap .paper.p2 { animation-delay: .12s; }
  .is-swap .sheet > * { animation: fade .3s ease-out .12s both; }
}

/* Peter, kurz */
.intro-strip { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; margin-top: clamp(36px, 4.5vw, 64px); padding-top: clamp(22px, 2.6vw, 32px); border-top: 1px solid var(--rule); }
.intro-strip img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.intro-strip p { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.4; max-width: 46em; }

@media (max-width: 899px) {
  .hero-top { grid-template-columns: minmax(0, 1fr); }
  .scene { grid-template-columns: minmax(0, 1fr); }
  .pile { max-width: 460px; }
  .paper.p1 { margin-top: -30px; }
  .paper.p2 { margin-top: -10px; }
  .flow { padding: 18px 0 14px; justify-items: start; }
  .flow svg { width: 44px; margin-left: 28px; transform: rotate(90deg); }
  .scene-label { margin-bottom: 12px; }
  .intro-strip { grid-template-columns: 64px minmax(0, 1fr); }
  .intro-strip img { width: 64px; height: 64px; }
  .intro-strip .link { grid-column: 2; }
}
@media (max-width: 479px) {
  .paper { font-size: .875rem; padding: 11px 12px 12px; }
  .paper.p0 { width: 90%; } .paper.p1 { width: 82%; } .paper.p2 { width: 60%; }
  .check-btn { grid-template-columns: 26px minmax(0, 1fr); }
  .check-label { grid-column: 2; }
  .check-value { grid-column: 2; }
  .check-src { padding-left: 44px; }
  .stamp { font-size: .9375rem; padding: 4px 9px 3px; }
  .case-pill { padding: 0 14px; font-size: 1rem; }
}

/* ---------- Rechner ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--rule); font-weight: 650; font-size: 1.0625rem; transition: background-color .16s ease, color .16s ease; }
.chip input:hover + span { box-shadow: inset 0 0 0 2px var(--blue); }
.chip input:checked + span { background: var(--blue); color: var(--white); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.dial { padding: 18px 0 22px; border-top: 1px solid var(--rule); }
.dial-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.dial label { font-size: 1.125rem; line-height: 1.3; }
.dial output { font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dial small { display: block; margin-top: 8px; font-size: 1rem; color: var(--fg-soft); }
input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 6px 0 0; background: transparent; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(to right, var(--green) var(--fill), rgba(0,38,87,.16) var(--fill)); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(to right, var(--green) var(--fill), rgba(0,38,87,.16) var(--fill)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--blue); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--blue); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--blue); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px var(--green); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px var(--green); }

.result { border-radius: 10px; padding: clamp(24px, 3.2vw, 44px); }
.result-kicker { font-size: 1.125rem; color: var(--fg-soft); }
.result-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; margin-top: 4px; font-family: var(--serif); font-weight: 700; line-height: 1; }
.result-num b { font-size: clamp(3.5rem, 2rem + 6.4vw, 7rem); letter-spacing: -.03em; color: var(--green-hi); font-variant-numeric: tabular-nums; }
.result-num span { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); }
.days { display: grid; grid-template-columns: repeat(23, minmax(0, 1fr)); gap: 3px; margin-top: clamp(20px, 2.4vw, 30px); }
.days i { display: block; aspect-ratio: 1; border-radius: 2px; background: rgba(255,255,255,.16); }
.days i.on { background: var(--green); }
.result-days { margin-top: 14px; font-size: 1.125rem; line-height: 1.4; }
.result-euro { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 1.125rem; line-height: 1.4; }
.result-euro input { width: 3.6em; height: 44px; margin: 0 4px; padding: 0 8px; border: 0; border-bottom: 3px solid var(--green); border-radius: 6px 6px 0 0; background: rgba(255,255,255,.12); color: var(--white); font-weight: 700; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.result-euro input::-webkit-outer-spin-button, .result-euro input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.result-euro input:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.result-euro b { font-family: var(--serif); font-size: 1.375rem; white-space: nowrap; }
.result details { margin-top: 18px; font-size: 1rem; line-height: 1.5; color: var(--fg-soft); }
.result summary { cursor: pointer; font-weight: 650; color: var(--white); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; width: fit-content; padding: 6px 0; }
.result details p { margin-top: 8px; }
.result .btn { margin-top: 22px; }
@media (max-width: 899px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Vier Schritte ---------- */
.steps { --node: 52px; --gap: clamp(14px, 2vw, 28px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.step { display: contents; }
.step-head { position: relative; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; padding: calc(var(--node) + 16px) 12px 20px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.step-head::before { content: attr(data-no); position: absolute; z-index: 2; left: 0; top: 0; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 4px var(--green); font-family: var(--serif); font-weight: 700; font-size: 1.375rem; line-height: 1; transition: background-color .16s ease; }
.step.is-on .step-head::before { background: var(--green); }
.step-head:hover::before { background: var(--green-hi); }
.step-head::after { content: ""; position: absolute; z-index: 1; left: calc(var(--node) / 2); top: calc(var(--node) / 2 - var(--line) / 2); width: calc(100% + var(--gap)); height: var(--line); background: var(--green); }
.step:last-child .step-head::after { display: none; }
.exit { position: absolute; z-index: 1; left: 62%; top: calc(var(--node) / 2); width: 34px; height: 5px; border-radius: 5px; background: var(--blue); transform-origin: 0 50%; transform: rotate(42deg); }
.exit::after { content: ""; position: absolute; right: -7px; top: -4px; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--blue); background: var(--desk); }
.step:last-child .exit { display: none; }
.step-title { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.1875rem, 1rem + .6vw, 1.375rem); line-height: 1.15; hyphens: manual; }
.step-price { display: block; margin-top: 6px; font-size: 1.0625rem; font-weight: 650; color: var(--green-ink); line-height: 1.3; }
.step-panel { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 64px); margin-top: 8px; padding: clamp(22px, 3vw, 40px); background: var(--white); border-radius: 8px; box-shadow: var(--paper-shadow); }
.step-panel h3 { margin-bottom: 10px; }
.step-panel p { color: var(--fg-soft); }
.step-panel .gets-title { font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.gets li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--rule); line-height: 1.4; }
.gets li::before { content: ""; position: absolute; left: 0; top: calc(10px + .7em - 4px); width: 18px; height: 8px; border-radius: 999px; background: var(--green); }
.exit-note { display: flex; align-items: center; gap: 14px; margin-top: clamp(22px, 2.6vw, 32px); font-size: 1.125rem; }
.exit-note i { position: relative; flex: none; width: 34px; height: 5px; margin: 0 8px 14px 2px; border-radius: 5px; background: var(--blue); transform-origin: 0 50%; transform: rotate(42deg); }
.exit-note i::after { content: ""; position: absolute; right: -7px; top: -4px; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--blue); background: var(--desk); }
.no-js .steps { display: block; }
.no-js .step { display: block; }
.no-js .step-panel[hidden] { display: grid !important; margin-bottom: 20px; }
@media (max-width: 899px) {
  .steps { display: block; --node: 44px; }
  .step { display: block; position: relative; }
  .step-head { padding: 6px 0 22px calc(var(--node) + 16px); min-height: calc(var(--node) + 22px); }
  .step-head::before { font-size: 1.1875rem; }
  .step-head::after { left: calc(var(--node) / 2 - var(--line) / 2); top: calc(var(--node) / 2); width: var(--line); height: 100%; }
  .step.is-on .step-head::after { height: calc(100% + 600px); }
  .step { overflow: hidden; }
  .exit { display: none; }
  .step-panel { position: relative; z-index: 3; grid-template-columns: 1fr; margin: 0 0 22px calc(var(--node) + 16px); padding: 18px; }
  .exit-note i { display: none; }
}

/* ---------- Peter ---------- */
.peter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.peter-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.peter-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.peter-photo figcaption { margin-top: 12px; font-size: 1.0625rem; color: var(--fg-soft); }
.peter-photo figcaption b { display: block; color: var(--white); font-family: var(--serif); font-size: 1.25rem; }
.peter .lead { margin-top: clamp(18px, 2vw, 26px); max-width: 38em; }
.stations { margin-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--rule); }
.station { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.station dt { font-family: var(--serif); font-weight: 700; font-size: 1.1875rem; color: var(--green-hi); white-space: nowrap; }
.station dd b { display: block; }
.station dd { color: var(--fg-soft); line-height: 1.4; }
.station dd b { color: var(--white); }
.peter-more { margin-top: 18px; color: var(--fg-soft); max-width: 44em; }
.ki-head { margin-top: clamp(36px, 4vw, 52px); color: var(--white); }
.stations--ki { margin-top: 20px; }
.stations--ki dt { font-size: 1.0625rem; }
@media (max-width: 899px) {
  .peter { grid-template-columns: 1fr; }
  .peter-photo { position: static; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
  .peter-photo img { aspect-ratio: 1; border-radius: 8px; }
  .peter-photo figcaption { margin: 0; }
  .station { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Grenzen ---------- */
.limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(32px, 6vw, 104px); }
.limit h3 { font-size: clamp(1.4375rem, 1.1rem + 1.3vw, 2.125rem); line-height: 1.2; }
.limit h3 span { padding: 0 .12em; margin: 0 -.12em; background: linear-gradient(var(--green), var(--green)) no-repeat 0 62% / 100% .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.limit p { margin-top: 12px; color: var(--fg-soft); max-width: 30em; }
.more-links { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(36px, 4.5vw, 64px); padding-top: 24px; border-top: 1px solid var(--rule); font-size: 1.1875rem; }
@media (max-width: 699px) { .limits { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact h2 { font-size: clamp(2.125rem, 1.2rem + 4.2vw, 4.5rem); line-height: 1.04; max-width: 13em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: end; margin-top: clamp(26px, 3.4vw, 44px); }
.contact-text { font-size: clamp(1.1875rem, 1.08rem + .45vw, 1.4375rem); line-height: 1.45; max-width: 28em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-ways { display: grid; gap: 2px; }
.contact-ways a.big { display: inline-block; width: fit-content; font-family: var(--serif); font-weight: 700; font-size: clamp(1.375rem, 1rem + 1.7vw, 2.25rem); line-height: 1.25; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.contact-ways a.big:hover { text-decoration-color: var(--white); }
.contact-ways .where { margin-top: 12px; font-size: 1.125rem; }
@media (max-width: 799px) { .contact-grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Fußzeile ---------- */
.footer { padding-block: clamp(40px, 5vw, 64px) 28px; font-size: 1.0625rem; line-height: 1.5; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: 28px clamp(24px, 4vw, 64px); }
.footer img { width: 270px; max-width: 100%; height: auto; margin-left: -9px; }
.footer h2 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin-bottom: 6px; color: var(--fg-soft); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer li a { display: inline-block; padding: 5px 0; }
.footer-base { margin-top: clamp(30px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--rule); color: var(--fg-soft); font-size: 1rem; }
@media (max-width: 799px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.page { padding-block: clamp(40px, 5vw, 80px) var(--section); }
.page .wrap { max-width: calc(800px + 2 * var(--pad)); }
.page h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); margin-bottom: clamp(20px, 2.6vw, 34px); }
.page h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.8125rem); line-height: 1.15; margin: 1.9em 0 .5em; }
.page p, .page li { color: var(--fg-soft); }
.page .lead { color: var(--fg); }
.page ul.list { margin-top: .4em; }
.page ul.list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--rule); }
.page ul.list li::before { content: ""; position: absolute; left: 0; top: calc(9px + .7em - 4px); width: 18px; height: 8px; border-radius: 999px; background: var(--green); }
.page ul.list li b { color: var(--fg); }
.page a { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.page a.btn { text-decoration: none; }
.page details { border-bottom: 1px solid var(--rule); }
.page details:first-of-type { border-top: 1px solid var(--rule); }
.page summary { position: relative; display: block; padding: 20px 52px 20px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 700; font-size: clamp(1.1875rem, 1.1rem + .5vw, 1.4375rem); line-height: 1.25; color: var(--fg); }
.page summary::-webkit-details-marker { display: none; }
.page summary::before, .page summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--green-ink); transition: transform .2s ease; }
.page summary::after { transform: rotate(90deg); }
.page details[open] summary::after { transform: rotate(0deg); }
.page details .answer { padding: 0 0 22px; }
.draft-note { margin-bottom: 28px; padding: 14px 18px; border-radius: 8px; background: var(--desk); color: var(--blue); font-size: 1.0625rem; line-height: 1.45; }
.open { background: #FFF1B8; color: var(--blue); padding: 0 .25em; border-radius: 4px; font-weight: 650; }
.back { display: inline-block; margin-top: 2.2em; }

@media (max-width: 479px) {
  body { font-size: 1.125rem; }
  h2.phrases span { display: inline; }
  .btn { width: 100%; }
  .btn--small, .sheet-foot .btn { width: auto; }
  .hero-actions .link { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}
@media print {
  .header, .case-pills, .hero-actions, .result .btn { display: none !important; }
  .on-blue, .on-black, .on-green, .on-desk { background: #fff !important; color: #000 !important; --fg: #000; --fg-soft: #222; }
}
@media (max-width: 359px) { .paper { font-size: .8125rem; } .paper.p0, .paper.p1 { width: 96%; } .paper.p2 { width: 66%; } }
