/* transport-boss.com: Die Plane. Richtungsvertrag in .impeccable/surfaces/site-index-html.md (nicht ausgeliefert). */

@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* Planenstoff */
  --plane: #EEF0EE;
  --plane-bahn: #E4E8E7;
  --plane-tief: #D7DCDB;
  --schild: #FBFCFB;
  /* Beschriftung */
  --navy: #0B2545;
  --text: #0B2545;
  --text-2: #3E4E61;
  --linie: #C3CBD0;
  /* Konturmarkierung */
  --orange: #E8730C;
  --orange-text: #B4520A;
  /* Gurt und Schiene */
  --gurt: #4E5761;
  --gurt-hell: #646E78;
  --alu-1: #DDE2E5;
  --alu-2: #B9C1C7;
  --alu-kante: #8E979E;

  --schrift: "Barlow", system-ui, sans-serif;
  --schrift-plane: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --breite: 1240px;
  --rand: clamp(16px, 4vw, 48px);
  --abschnitt: clamp(4rem, 7vw, 6rem);
  --schiene-hoehe: 64px;
  --radius: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Einstieg, für das Regler-Panel in Phase 6 */
  --h1-groesse: clamp(2.5rem, 5.4vw, 4.5rem);
  --einstieg-oben: clamp(2.5rem, 7vh, 5.5rem);
  --einstieg-unten: clamp(3rem, 8vh, 6rem);
  --schild-breite: 25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--schiene-hoehe) + 16px); }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--schrift);
  color: var(--text);
  background-color: var(--plane);
  background-image: url("/assets/img/planenstoff.png");
  background-size: 256px 256px;
  caret-color: var(--orange);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--gurt) var(--plane-bahn); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--orange); }
p, ul, ol, dl, h1, h2, h3, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.sprung:focus { top: 12px; }

/* ---------- Schrift ---------- */
.plane-schrift, h1, h2 {
  font-family: var(--schrift-plane);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: .96;
  text-wrap: balance;
  color: var(--navy);
}
h1 { font-size: var(--h1-groesse); }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: 1.25rem; }
h3 { font: 700 1.375rem/1.2 var(--schrift-plane); text-transform: uppercase; letter-spacing: .01em; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; color: var(--text-2); max-width: 38em; }
.text { max-width: 65ch; color: var(--text-2); }
.text + .text { margin-top: 1rem; }
.text strong, .lead strong { color: var(--navy); font-weight: 600; }
.zusammen { white-space: nowrap; }
.kontur-wort {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: .14em;
  text-underline-offset: .1em;
  text-decoration-skip-ink: none;
}
.randnotiz { font-size: .875rem; color: var(--text-2); }
.randnotiz::before { content: "Quelle: "; font-weight: 600; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: stretch;
  min-height: 56px;
  font: 800 1.25rem/1 var(--schrift-plane);
  text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; color: var(--navy);
  border-radius: var(--radius);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.knopf span { white-space: nowrap; display: flex; align-items: center; padding: 0 1.5rem; background: var(--orange); border-radius: var(--radius) 0 0 var(--radius); }
.knopf-ratsche i {
  position: relative; width: 52px; flex: none;
  background: linear-gradient(180deg, var(--alu-1), var(--alu-2));
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: inset 2px 0 0 var(--alu-kante);
}
.knopf-ratsche i::before {
  /* Hebel der Gurtratsche */
  content: ""; position: absolute; left: 11px; top: 50%; width: 26px; height: 16px; margin-top: -8px;
  border: 3.5px solid var(--gurt); border-left: 0; border-radius: 0 9px 9px 0;
  transform-origin: 0 50%; transition: transform .25s var(--ease);
}
.knopf-ratsche i::after { content: ""; position: absolute; left: 8px; top: 50%; width: 5px; height: 24px; margin-top: -12px; background: var(--gurt); border-radius: 2px; }
.knopf:hover { box-shadow: 0 6px 18px -8px rgba(11, 37, 69, .45); }
.knopf-ratsche:hover i::before { transform: rotate(-24deg); }
.knopf:active { transform: translateY(1px); }
.knopf-klein { min-height: 44px; font-size: 1.0625rem; }
.knopf-klein span { padding: 0 1rem; }
.knopf-klein.knopf-ratsche i { width: 40px; }
.knopf-klein.knopf-ratsche i::before { left: 8px; width: 20px; height: 13px; margin-top: -6.5px; border-width: 3px; }
.knopf-klein.knopf-ratsche i::after { left: 6px; height: 20px; margin-top: -10px; width: 4px; }

.knopf-zwei {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 1.25rem;
  font: 700 1.125rem/1 var(--schrift-plane); text-transform: uppercase; letter-spacing: .03em;
  color: var(--navy); border: 2px solid var(--navy); border-radius: var(--radius); text-decoration: none;
  transition: background .2s var(--ease);
}
.knopf-zwei:hover { background: rgba(11, 37, 69, .06); }
.knopf-zeile { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.unter-knopf { font-size: .9375rem; color: var(--text-2); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Schiene (Kopf) ---------- */
.schiene {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(180deg, var(--alu-1) 0%, #CBD2D7 55%, var(--alu-2) 100%);
  border-bottom: 2px solid var(--alu-kante);
}
.schiene-innen {
  max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand);
  height: var(--schiene-hoehe); display: flex; align-items: center; gap: 1.5rem;
}
.marke img { width: 188px; height: auto; }
.schiene-beschriftung { display: none; font: 700 .9375rem/1 var(--schrift-plane); text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); padding-left: 1.5rem; border-left: 1px solid var(--alu-kante); }
.hauptnav { display: none; margin-left: auto; }
.hauptnav ul { display: flex; gap: 1.5rem; }
.hauptnav a { font-weight: 600; text-decoration: none; padding: .5rem 0; white-space: nowrap; }
.hauptnav a:hover, .hauptnav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.wa-knopf { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; border: 2px solid var(--navy); color: var(--navy); }
.wa-knopf:hover { background: rgba(11, 37, 69, .07); }
.schiene .knopf { display: none; }
.menue-knopf {
  margin-left: auto; min-height: 44px; padding: 0 .9rem; border: 2px solid var(--navy); border-radius: var(--radius);
  background: transparent; font: 700 1rem/1 var(--schrift-plane); text-transform: uppercase; letter-spacing: .05em; color: var(--navy); cursor: pointer;
}
.menue-handy { border-top: 1px solid var(--alu-kante); background: var(--plane-bahn); padding: .5rem var(--rand) 1rem; }
.menue-handy a { display: block; padding: .85rem 0; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--linie); }

@media (min-width: 980px) {
  .hauptnav, .wa-knopf { display: flex; }
  .schiene .knopf { display: inline-flex; }
  .menue-knopf, .menue-handy { display: none !important; }
  .marke img { width: 250px; }
}
@media (min-width: 1280px) { .schiene-beschriftung { display: block; } }

/* ---------- Plane, Gurte, Ösen, Kontur ---------- */
.plane { position: relative; overflow: hidden; }
.plane-innen { position: relative; z-index: 1; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.bahn-dunkler { background-color: var(--plane-bahn); background-image: url("/assets/img/planenstoff.png"); background-size: 256px; background-blend-mode: darken; }
.gurt {
  position: absolute; top: 0; bottom: 0; width: 22px; z-index: 0; pointer-events: none;
  left: var(--x);
  background: linear-gradient(90deg, #444C55 0, var(--gurt-hell) 30%, var(--gurt) 70%, #3F474F 100%);
  box-shadow: 2px 0 6px -2px rgba(11, 37, 69, .35);
}
.gurt::after {
  /* Ratsche unten am Gurt */
  content: ""; position: absolute; left: -8px; bottom: 56px; width: 38px; height: 52px;
  background: linear-gradient(180deg, var(--alu-1), var(--alu-2)); border: 1px solid var(--alu-kante); border-radius: 4px;
  box-shadow: 0 3px 8px -3px rgba(11, 37, 69, .45);
}
.gurt-ohne-ratsche::after { display: none; }
.gurt-nur-gross { display: none; }
@media (min-width: 980px) { .gurt-nur-gross { display: block; } }

.seil {
  /* Ösen mit durchgezogenem Seil, eine Kachel je Öse */
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26'%3E%3Cpath d='M0 15h38M58 15h38' stroke='%234E5761' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='48' cy='12' r='7.5' fill='%23C3CBD0' stroke='%238E979E' stroke-width='2'/%3E%3Ccircle cx='48' cy='12' r='3' fill='%23D7DCDB'/%3E%3Cpath d='M41 15c3 4 11 4 14 0' fill='none' stroke='%234E5761' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center 0;
}
.kontur {
  height: 18px;
  background-color: var(--plane-tief);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18'%3E%3Crect x='0' y='3' width='112' height='12' fill='%23E8730C'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 24px 0;
}
.plomben { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9375rem; color: var(--text-2); }
.plombe {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem .3rem .4rem;
  background: var(--schild); border: 1.5px solid var(--alu-kante); border-radius: 999px; font-weight: 600; color: var(--navy);
}
.plombe::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F2C08C, var(--orange) 60%, #A84A06); }

/* ---------- Einstieg ---------- */
.einstieg { padding: var(--einstieg-oben) 0 0; }
.einstieg-raster { display: grid; gap: 2.5rem; padding-bottom: var(--einstieg-unten); }
.einstieg h1 { margin-bottom: 1.5rem; max-width: 15ch; }
.einstieg .lead { margin-bottom: 2rem; }
.einstieg .knopf-zeile { margin-bottom: .75rem; }
.einstieg-kaan { order: 3; display: flex; gap: .9rem; align-items: center; margin-top: 2.25rem; max-width: 34rem; }
.einstieg-kaan img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--schild); box-shadow: 0 2px 8px -3px rgba(11, 37, 69, .4); }
.einstieg-kaan p { font-size: .9375rem; line-height: 1.45; color: var(--text-2); }
.einstieg-kaan q { display: block; color: var(--navy); font-weight: 600; font-size: 1rem; quotes: "„" "“"; }
.einstieg-fuss { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1rem 0 1.25rem; }

@media (min-width: 980px) {
  .einstieg-raster { grid-template-columns: minmax(0, 1fr) var(--schild-breite); grid-template-rows: auto 1fr; align-items: start; column-gap: 4.5rem; row-gap: 0; }
  .einstieg .schild { grid-column: 2; grid-row: 1 / span 2; margin-top: .5rem; }
  .einstieg-kaan { grid-column: 1; grid-row: 2; }
}
@media (max-width: 599px) {
  .einstieg .knopf-zwei { display: none; }
  .einstieg .lead { margin-bottom: 1.5rem; }
  .einstieg-raster { gap: 1.75rem; }
  .einstieg-kaan { margin-top: 0; }
}

/* ---------- Ladungsschild ---------- */
.schild {
  background: var(--schild);
  border: 2px solid var(--navy);
  border-radius: 2px;
  padding: 1.25rem 1.5rem .5rem;
  box-shadow: 0 10px 30px -18px rgba(11, 37, 69, .55);
  position: relative;
}
.schild::before, .schild::after {
  /* Nieten */
  content: ""; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--alu-2) 60%, var(--alu-kante));
}
.schild::before { left: 10px; } .schild::after { right: 10px; }
.schild-titel { font: 800 1rem/1 var(--schrift-plane); text-transform: uppercase; letter-spacing: .14em; color: var(--navy); text-align: center; padding-bottom: .9rem; border-bottom: 2px solid var(--navy); }
.schild dl { display: grid; }
.schild-zeile { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.schild-zeile:last-child { border-bottom: 0; }
.schild dt { font: 700 .875rem/1.2 var(--schrift-plane); text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.schild dd { margin: 0; font: 800 clamp(1.75rem, 2.4vw, 2.125rem)/1 var(--schrift-plane); color: var(--navy); font-variant-numeric: tabular-nums; }
.schild dd small { display: block; margin-top: .3rem; font: 400 .9375rem/1.35 var(--schrift); color: var(--text-2); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--abschnitt) 0; }
.abschnitt-kopf { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.zwei-spalten { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .zwei-spalten { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 5rem; align-items: start; } }

/* Kosten des Wartens: Zeilen statt Karten */
.zeilen { border-top: 2px solid var(--navy); }
.zeile { display: grid; gap: .35rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--linie); }
.zeile h3 { color: var(--navy); }
.zeile p { color: var(--text-2); max-width: 60ch; }
@media (min-width: 760px) { .zeile { grid-template-columns: 15rem minmax(0, 1fr); align-items: baseline; } }
.merksatz { margin-top: 2rem; font: 800 clamp(1.5rem, 2.6vw, 2.25rem)/1.05 var(--schrift-plane); text-transform: uppercase; color: var(--navy); max-width: 26ch; }
.merksatz .kontur-wort { text-decoration-thickness: .12em; }

/* Ablauf: jeder Gurt ein Schritt */
.ablauf { display: grid; gap: 0; border-top: 2px solid var(--navy); list-style: none; margin: 0; padding: 0; }
.schritt { position: relative; padding: 1.5rem 0 1.75rem 3.5rem; border-bottom: 1px solid var(--linie); }
.schritt-zahl {
  position: absolute; left: 0; top: 1.4rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font: 800 1.125rem/1 var(--schrift-plane); color: var(--navy);
  background: radial-gradient(circle, var(--plane) 0 38%, var(--alu-2) 40% 62%, var(--alu-kante) 64% 70%, var(--alu-1) 72%);
}
.schritt h3 { margin-bottom: .4rem; }
.schritt p { color: var(--text-2); }
@media (min-width: 980px) {
  .ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .schritt { padding: 0 2.5rem 0 0; border-bottom: 0; }
  .schritt + .schritt { padding-left: 3.25rem; }
  .schritt-gurt { position: absolute; left: 0; top: -.5rem; bottom: -.5rem; width: 22px; background: linear-gradient(90deg, #444C55 0, var(--gurt-hell) 30%, var(--gurt) 70%, #3F474F 100%); }
  .schritt:first-child .schritt-gurt { display: none; }
  .schritt-zahl { position: static; margin-bottom: 1.25rem; width: 3rem; height: 3rem; font-size: 1.375rem; }
}
.zehn { margin-top: 2.5rem; border-top: 1px solid var(--linie); }
.zehn summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font: 700 1.25rem/1.2 var(--schrift-plane); text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.zehn summary::-webkit-details-marker { display: none; }
.zehn ol { list-style: none; padding: 0 0 1rem; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 760px) { .zehn ol { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.zehn li { counter-increment: s; display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; padding: .9rem 0; border-top: 1px solid var(--linie); }
.zehn li::before { content: counter(s); font: 800 1.25rem/1.2 var(--schrift-plane); color: var(--orange-text); }
.zehn li strong { display: block; color: var(--navy); }
.zehn li p { color: var(--text-2); font-size: 1rem; }

.plus { width: 22px; height: 22px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--navy); border-radius: 1px; transition: transform .25s var(--ease); }
.plus::before { width: 18px; height: 3px; margin: -1.5px 0 0 -9px; }
.plus::after { width: 3px; height: 18px; margin: -9px 0 0 -1.5px; }
details[open] > summary .plus::after { transform: scaleY(0); }

/* Beleg: Visum am Gurt */
.beleg { display: grid; gap: 2.5rem; }
.beleg-bild { position: relative; justify-self: center; max-width: 420px; }
.beleg-bild img { border: 1px solid var(--linie); box-shadow: 0 18px 40px -22px rgba(11, 37, 69, .6); background: #fff; }
.beleg-bild::before {
  /* Klemmleiste aus Alu hält das Dokument an der Plane */
  content: ""; position: absolute; left: -14px; right: -14px; top: -10px; height: 26px; z-index: 1;
  background: linear-gradient(180deg, var(--alu-1), var(--alu-2)); border: 1px solid var(--alu-kante); border-radius: 3px;
  box-shadow: 0 4px 10px -4px rgba(11, 37, 69, .5);
}
.beleg-bild figcaption { margin-top: .75rem; font-size: .875rem; color: var(--text-2); }
.beleg ul { display: grid; gap: 1.1rem; margin: 1.5rem 0 2rem; }
.beleg li { position: relative; padding-left: 1.75rem; }
.beleg li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, var(--plane) 0 30%, var(--alu-2) 34% 64%, var(--alu-kante) 68%); }
.beleg li strong { display: block; color: var(--navy); }
.beleg li span { color: var(--text-2); }
blockquote.zitat { margin: 0 0 2rem; font: 700 clamp(1.375rem, 2vw, 1.625rem)/1.3 var(--schrift-plane); color: var(--navy); max-width: 34ch; }
blockquote.zitat footer { margin-top: .6rem; font: 400 .9375rem/1.4 var(--schrift); text-transform: none; color: var(--text-2); }
@media (min-width: 980px) { .beleg { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; align-items: center; } .beleg-bild { justify-self: start; } }

/* Wer dahintersteht */
.person { display: grid; gap: 2rem; }
.person img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; border: 3px solid var(--schild); box-shadow: 0 10px 24px -14px rgba(11, 37, 69, .6); }
@media (min-width: 760px) { .person { grid-template-columns: 180px minmax(0, 1fr); gap: 3rem; align-items: start; } .person img { width: 180px; height: 180px; } }

/* Weitere Leistungen: Liste mit Haarlinien */
.liste { border-top: 2px solid var(--navy); }
.liste a {
  display: grid; gap: .25rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--linie);
  text-decoration: none; transition: padding .25s var(--ease), background .25s var(--ease);
}
.liste a:hover { background: rgba(11, 37, 69, .035); padding-left: .75rem; }
.liste h3 { color: var(--navy); }
.liste p { color: var(--text-2); max-width: 62ch; }
.liste .pfeil { display: none; }
@media (min-width: 760px) {
  .liste a { grid-template-columns: 14rem minmax(0, 1fr) 28px; align-items: baseline; }
  .liste .pfeil { display: block; width: 28px; height: 14px; align-self: center; color: var(--navy); }
}

/* Häufige Fragen */
.fragen { border-top: 2px solid var(--navy); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.15rem 0; font: 600 1.125rem/1.35 var(--schrift); color: var(--navy); }
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .25em; }
.frage div { padding: 0 0 1.4rem; max-width: 68ch; color: var(--text-2); }
.frage div p + p { margin-top: .75rem; }

/* Kosten */
.vergleich { border-top: 2px solid var(--navy); margin: 1.5rem 0; }
.vergleich div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.vergleich dt { color: var(--text-2); }
.vergleich dd { margin: 0; font: 800 1.375rem/1.3 var(--schrift-plane); color: var(--text-2); text-align: right; }
.vergleich .wir dt, .vergleich .wir dd { color: var(--navy); }
.vergleich .wir dd { font-size: 1.75rem; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.vergleich .wir dt { font-weight: 600; }

/* Kasten "Warum jetzt" und Sicherheit */
.vermerk { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--schild); border: 2px solid var(--navy); max-width: 44rem; }
.vermerk strong { display: block; font: 800 1.125rem/1.2 var(--schrift-plane); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; color: var(--navy); }
.vermerk p { color: var(--text-2); }
.punkte { display: grid; gap: 0; border-top: 2px solid var(--navy); }
.punkte > div { padding: 1.25rem 0; border-bottom: 1px solid var(--linie); }
.punkte h3 { margin-bottom: .35rem; }
.punkte p { color: var(--text-2); max-width: 62ch; }
@media (min-width: 980px) { .punkte { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }

/* Schluss */
.schluss { padding: var(--abschnitt) 0 calc(var(--abschnitt) * .8); }
.schluss h2 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); max-width: 14ch; }
.schluss .lead { margin-bottom: 2rem; }
.schluss .wa-zeile { margin-top: 1.25rem; }

.wa-zeile { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.wa-zeile:hover span { text-decoration: underline; text-decoration-color: var(--orange); }

/* ---------- Fuß ---------- */
.fuss { background-color: var(--plane-bahn); background-image: url("/assets/img/planenstoff.png"); background-size: 256px; background-blend-mode: multiply; padding-bottom: 6rem; }
.fuss-innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 3.5rem var(--rand) 2rem; display: grid; gap: 2.5rem; }
.fuss-marke img { width: 200px; margin-bottom: 1rem; }
.fuss-marke p { color: var(--text-2); max-width: 30ch; margin-bottom: 1rem; }
.fuss h2 { font-size: 1rem; letter-spacing: .1em; margin-bottom: .75rem; }
.fuss li a { display: inline-block; padding: .3rem 0; color: var(--text-2); text-decoration: none; }
.fuss li a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); }
.fuss-recht { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 1.25rem var(--rand) 0; border-top: 1px solid var(--linie); display: grid; gap: .5rem; font-size: .9375rem; color: var(--text-2); }
.fuss-recht a { margin-right: 1rem; color: var(--text-2); }
@media (min-width: 980px) { .fuss-innen { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .fuss { padding-bottom: 2rem; } }

/* ---------- Leiste unten am Handy ---------- */
.leiste-handy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: .6rem; align-items: center;
  padding: .6rem var(--rand) calc(.6rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--alu-1), var(--alu-2)); border-top: 2px solid var(--alu-kante);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.leiste-handy.zeigen { transform: none; }
.leiste-handy .knopf { flex: 1; justify-content: stretch; }
.leiste-handy .knopf span { flex: 1; justify-content: center; }
.wa-rund { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--schild); border: 2px solid var(--navy); color: var(--navy); flex: none; }
@media (min-width: 980px) { .leiste-handy { display: none; } }

/* ---------- Wind über der Plane und Vorhang ---------- */
.wind {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%);
  background-size: 220% 100%;
  background-position: calc(var(--wind, 0) * 1%) 0;
  mix-blend-mode: soft-light;
}
.vorhang {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background-color: var(--plane); background-image: url("/assets/img/planenstoff.png"); background-size: 256px;
  transform-origin: 100% 50%;
}
.vorhang::before {
  /* Faltenwurf beim Aufziehen */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(11, 37, 69, 0) 0 46px, rgba(11, 37, 69, .10) 52px, rgba(255, 255, 255, .45) 60px, rgba(11, 37, 69, 0) 70px);
  opacity: 0; transition: opacity .2s linear;
}
.vorhang.zieht::before { opacity: 1; }
.vorhang.zieht { animation: plane-auf .62s var(--ease) forwards; }
@keyframes plane-auf {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 92%); }
}
.vorhang.fertig { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .wind { display: none; }
}

/* ---------- Seitenköpfe der Unterseiten ---------- */
.seitenkopf { padding: var(--einstieg-oben) 0 clamp(2.5rem, 6vw, 4.5rem); }
.seitenkopf h1 { max-width: 18ch; margin-bottom: 1.25rem; }
.brotkrumen { font-size: .9375rem; color: var(--text-2); margin-bottom: 1.25rem; }
.brotkrumen a { color: var(--text-2); }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 1.25rem; max-width: 40rem; }
.feld label, .feld legend { display: block; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; font: inherit; color: var(--navy);
  background: var(--schild); border: 2px solid var(--alu-kante); border-radius: var(--radius);
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--navy); outline: 3px solid rgba(232, 115, 12, .5); outline-offset: 1px; }
.feld input::placeholder, .feld textarea::placeholder { color: #66727E; }
.feld [aria-invalid="true"] { border-color: #B3261E; }
.fehler { color: #A1221B; font-size: .9375rem; margin-top: .35rem; }
.fehler:empty { display: none; }
.formular button[disabled] { opacity: .6; cursor: progress; }
.hinweis { font-size: .875rem; color: var(--text-2); }

/* Erklärfilm */
.film { margin-top: 3rem; max-width: 52rem; }
.film video { width: 100%; height: auto; border: 2px solid var(--navy); background: var(--navy); }
.film figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--text-2); }

/* Knopf als button-Element */
.knopf-als-button { border: 0; padding: 0; background: none; cursor: pointer; font: 800 1.25rem/1 var(--schrift-plane); text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.knopf-als-button:disabled { opacity: .6; cursor: progress; }

/* Kontakt und Termin */
.kontakt-form { padding: 1.75rem; max-width: 40rem; }
.termin-schild { max-width: 40rem; }
.termin-inhalt { padding: 1.5rem 0 1rem; display: grid; gap: 1rem; justify-items: start; }
.termin-kalender { min-height: 700px; max-width: 64rem; background: var(--schild); border: 2px solid var(--navy); }
.termin-direkt { margin-top: 1.75rem; }

/* Kampagnenseiten: kein Hauptmenü, Knopf und WhatsApp immer im Kopf */
.lp .lp-wa { display: inline-flex; margin-left: auto; }
.lp .schiene .lp-knopf { display: none; }
@media (min-width: 600px) { .lp .schiene .lp-knopf { display: inline-flex; } }
.lp-fuss { padding-bottom: 6rem; }
.lp-fuss .fuss-recht { border-top: 0; padding-top: 1.5rem; }
@media (min-width: 980px) { .lp-fuss { padding-bottom: 2rem; } }

/* Rechtstexte */
.rechtstext .plane-innen { max-width: calc(48rem + 2 * var(--rand)); margin-left: max(0px, calc((100% - var(--breite)) / 2 - var(--rand))); }
.rechtstext h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 2.5rem 0 1rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { margin: 1.75rem 0 .5rem; }
.rechtstext p { color: var(--text-2); max-width: 70ch; }
.rechtstext p + p { margin-top: .75rem; }
@media (max-width: 599px) {
  .vergleich div { grid-template-columns: 1fr; gap: .2rem; }
  .vergleich dd { text-align: left; }
}

.unsichtbar, .fn-sr { padding: 0 !important; border: 0 !important; position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* Erklärfilm direkt nach dem Einstieg */
.film-abschnitt .film { margin-top: 0; max-width: none; }
.film-raster { display: grid; gap: 2rem; }
@media (min-width: 980px) { .film-raster { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: center; } }

/* WhatsApp, TikTok und Instagram oben rechts */
.sozial { display: none; align-items: center; gap: .4rem; }
.sozial .wa-knopf, .sozial-knopf { width: 40px; height: 40px; }
.sozial-knopf { display: none; border-radius: 50%; align-items: center; justify-content: center; border: 2px solid var(--navy); color: var(--navy); }
.sozial-knopf:hover { background: rgba(11, 37, 69, .07); }
@media (min-width: 980px) { .sozial { display: flex; } .schiene .hauptnav ul { gap: 1.25rem; } }
@media (min-width: 1180px) { .sozial-knopf { display: inline-flex; } }
@media (min-width: 1280px) { .schiene-beschriftung { display: none; } }
@media (min-width: 1440px) { .schiene-beschriftung { display: block; } }
.menue-sozial { display: flex; gap: 1.5rem; }
.menue-sozial a { display: inline-flex !important; align-items: center; gap: .5rem; }
.menue-sozial a { border-bottom: 0 !important; }

/* Phase 6: WhatsApp im Kopf auch am Handy */
.wa-handy { display: inline-flex; margin-left: auto; }
.wa-handy + .menue-knopf { margin-left: .6rem; }
@media (min-width: 980px) { .wa-handy { display: none; } }

/* Phase 6: Mittelgurt mit Ratsche zwischen Überschrift und Ladungsschild */
.gurt-mitte { --x: calc(min(50% + var(--breite) / 2, 100% - var(--rand)) - var(--schild-breite) - 2.25rem - 11px); }
.gurt-mitte::after { bottom: auto; top: clamp(11rem, 30vh, 17rem); }
/* Am Handy liegt der Gurt quer und schließt den Einstieg ab */
.gurt-quer { position: relative; height: 22px; background: linear-gradient(180deg, #444C55 0, var(--gurt-hell) 30%, var(--gurt) 70%, #3F474F 100%); box-shadow: 0 2px 6px -2px rgba(11, 37, 69, .35); }
.gurt-quer::after { content: ""; position: absolute; top: -8px; right: 22%; width: 52px; height: 38px; background: linear-gradient(90deg, var(--alu-1), var(--alu-2)); border: 1px solid var(--alu-kante); border-radius: 4px; box-shadow: 0 3px 8px -3px rgba(11, 37, 69, .45); }
@media (max-width: 979px) { .einstieg .seil { display: none; } }
@media (min-width: 980px) {
  .gurt-quer { display: none; }
  /* Einstieg straffen, damit Ösenseil und Kontur den ersten Bildschirm abschließen */
  .einstieg { padding-top: clamp(2rem, 5vh, 4rem); }
  .einstieg-raster { padding-bottom: 1rem; }
  .einstieg-kaan { margin-top: 1.25rem; }
  .einstieg-fuss { padding: .25rem 0 0; }
  /* Plomben hängen am Seil */
  .einstieg .plomben { transform: translateY(26px); position: relative; z-index: 2; }
  .einstieg .plomben > span:first-child { background: var(--plane); padding: 0 .5rem; border-radius: 3px; }
  .einstieg .plombe { box-shadow: 0 3px 6px -3px rgba(11, 37, 69, .4); }
}
@media (min-width: 980px) { .einstieg h1.h1-breit { max-width: 19ch; } }

/* Vorteile des Fahrers: Zeilen im Raster, jede Zeile mit Öse */
.vorteile-titel { max-width: 22ch; margin-bottom: 2rem; }
.vorteile { border-top: 2px solid var(--navy); display: grid; }
.vorteile .zeile { grid-template-columns: 26px minmax(0, 1fr); column-gap: 1rem; padding: 1.5rem 0; }
.vorteile .zeile::before { content: ""; grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: .15rem; border-radius: 50%; background: radial-gradient(circle, var(--plane) 0 30%, var(--alu-2) 33% 58%, var(--alu-kante) 61% 70%, var(--alu-1) 73%); box-shadow: 0 1px 3px -1px rgba(11, 37, 69, .45); }
.vorteile .zeile h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
@media (min-width: 980px) {
  .vorteile { grid-template-columns: 1fr 1fr; column-gap: 4rem; }
}
.schluss .schluss-text { max-width: 46rem; }
.schluss .unter-knopf { margin-top: .75rem; }
.vorteile .zeile { align-items: start; align-content: start; }

/* Nach oben: erscheint weiter unten auf der Seite, am Handy über der Leiste */
.nach-oben {
  position: fixed; right: var(--rand); bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 24;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--schild); border: 2px solid var(--navy); color: var(--navy); box-shadow: 0 4px 12px -4px rgba(11, 37, 69, .4);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), bottom .35s var(--ease);
}
.nach-oben.zeigen { opacity: 1; transform: none; pointer-events: auto; }
.nach-oben:hover { background: var(--plane); }
.nach-oben:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
body:has(.leiste-handy.zeigen) .nach-oben { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { .nach-oben { transition: none; } }
/* Platz unter der Fußzeile, damit Leiste und Nach-oben-Knopf am Handy nichts verdecken */
@media (max-width: 979px) { .fuss, .lp-fuss { padding-bottom: calc(10rem + env(safe-area-inset-bottom)); } }
@media (min-width: 980px) { .fuss, .lp-fuss { padding-bottom: 5.5rem; } }
.marke { flex: none; }

/* Handy-Leiste: auch ohne gemeldeten Sicherheitsabstand (In-App-Browser von TikTok, Instagram, WhatsApp) Luft zum unteren Rand */
.leiste-handy { padding-bottom: calc(.6rem + max(env(safe-area-inset-bottom), 14px)); }
