/* Haberkorn & Lesche – Beispielentwurf. Ruhiges Register: Stein, Schiefer, Kanzleigrün. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-standard.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@property --vergangen { syntax: "<percentage>"; inherits: true; initial-value: 0%; }

:root {
  --grund: #f2f2ef;
  --papier: #ffffff;
  --tinte: #15202b;
  --tinte-2: #44505c;
  --tinte-3: #626c77;
  --linie: rgba(21, 32, 43, .14);
  --linie-stark: rgba(21, 32, 43, .38);
  --akzent: #1e5247;
  --akzent-tief: #163d35;
  --akzent-hell: #e1ebe7;
  --akzent-auf-dunkel: #a9d3c6;
  --dunkel-text: #d7dce1;
  --dunkel-linie: rgba(255, 255, 255, .16);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --rand: clamp(16px, 4vw, 56px);
  --abstand: clamp(64px, 9vw, 128px);
  --breite: 1200px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
  scrollbar-color: rgba(21, 32, 43, .4) var(--grund);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  caret-color: var(--akzent);
  overflow-x: clip;
}

::selection { background: var(--akzent); color: #fff; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong, b { font-weight: 650; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }

.skip {
  position: absolute; left: 12px; top: 48px; z-index: 50;
  background: var(--tinte); color: #fff; padding: 10px 14px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.innen, .kopf__innen, .held__innen, .bogen, .fuss > * {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-left: auto; margin-right: auto;
  padding-left: var(--rand); padding-right: var(--rand);
}

/* ---------- Kopf ---------- */

.kopf { position: relative; z-index: 20; border-bottom: 1px solid var(--linie); }
.kopf__innen {
  display: flex; align-items: center; gap: 12px 36px;
  padding-top: 20px; padding-bottom: 18px;
}

.marke { display: grid; text-decoration: none; line-height: 1; margin-right: auto; }
.marke__name {
  font-weight: 330; font-stretch: 125%;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  letter-spacing: -.012em;
}
.marke__und { font-weight: 330; color: var(--akzent); }
.marke__zusatz { font-size: .8125rem; color: var(--tinte-3); margin-top: 7px; letter-spacing: .01em; }

.nav__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 28px; }
.nav__liste a { text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 8px 0; display: inline-block; color: var(--tinte-2); }
.nav__liste a:hover { color: var(--tinte); text-decoration: underline; text-decoration-thickness: 1px; }
.nav__mobil { display: none; }

.kopf__tel {
  display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center;
  text-decoration: none; line-height: 1.25;
}
.kopf__tel .ico { grid-row: span 2; width: 20px; height: 20px; color: var(--akzent); }
.kopf__nummer { font-weight: 650; font-size: 1.0625rem; letter-spacing: .01em; }
.kopf__tel:hover .kopf__nummer { text-decoration: underline; text-underline-offset: .2em; }

.status { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; color: var(--tinte-3); }
.status__punkt { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.status.is-offen { color: var(--akzent); }
.status.is-offen .status__punkt { background: currentColor; }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 13px 24px;
  background: var(--akzent); color: #fff;
  font: 600 1rem/1.2 var(--sans); letter-spacing: .005em;
  text-decoration: none; border: 1px solid var(--akzent); border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s ease-out, border-color .2s ease-out, color .2s ease-out;
}
.knopf .ico { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.knopf:hover { background: var(--akzent-tief); border-color: var(--akzent-tief); }
.knopf:hover .ico { transform: translateX(3px); }
.knopf--leise { background: transparent; color: var(--tinte); border-color: var(--linie-stark); }
.knopf--leise .ico { color: var(--akzent); }
.knopf--leise:hover { background: var(--papier); border-color: var(--tinte); }
.knopf--leise:hover .ico { transform: none; }

/* ---------- Held: die Frist ---------- */

.held__innen {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr);
  grid-template-areas:
    "frist wahl"
    "leiste leiste"
    "fuss fuss"
    "hinweis hinweis";
  column-gap: clamp(32px, 6vw, 104px);
  padding-top: clamp(36px, 5.5vw, 76px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.held__frist { grid-area: frist; align-self: end; }
.frist { font-weight: 400; }
.frist__vor {
  display: block;
  font-size: clamp(1.125rem, .95rem + .7vw, 1.5rem);
  color: var(--tinte-2);
  letter-spacing: -.005em;
  margin-bottom: clamp(8px, 1.4vw, 18px);
}
.frist__datum {
  display: block;
  font-size: clamp(3rem, 1.2rem + 6vw, 6rem);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 680; font-stretch: 84%;
}
.frist__tag { display: block; font-weight: 280; font-stretch: 100%; letter-spacing: -.035em; }
.frist__jahr { font-weight: 280; font-stretch: 100%; color: var(--tinte-3); letter-spacing: -.02em; }
.frist__norm { margin-top: clamp(16px, 2vw, 24px); font-size: 1.0625rem; color: var(--tinte-2); max-width: 46ch; }
.frist__norm strong { color: var(--akzent); }
.frist__norm.is-abgelaufen strong { color: #8a2b1d; }

/* Briefwahl */
.briefwahl { grid-area: wahl; align-self: end; }
.briefwahl__frage { font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.briefwahl__optionen { display: grid; border-top: 1px solid var(--linie-stark); }

.wahl {
  position: relative;
  display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 14px;
  min-height: 52px; padding: 8px 12px 8px 10px;
  border-bottom: 1px solid var(--linie);
  cursor: pointer;
  transition: background-color .2s ease-out, color .2s ease-out;
}
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl__nr {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--linie-stark);
  font-weight: 600; font-size: .875rem; color: var(--tinte-2);
  transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out;
}
.wahl__text { font-size: 1rem; line-height: 1.3; }
.wahl:hover { background: rgba(255, 255, 255, .7); }
.wahl:has(input:checked) { background: var(--papier); }
.wahl:has(input:checked) .wahl__nr { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.wahl:has(input:checked) .wahl__text { font-weight: 600; color: var(--akzent-tief); }
.wahl:has(input:focus-visible) { outline: 2px solid var(--akzent); outline-offset: -2px; }

.briefwahl__datum {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; font-size: .9375rem; color: var(--tinte-2);
}

/* Fristleiste */
.fristleiste { grid-area: leiste; margin-top: clamp(36px, 5vw, 64px); }
.fristleiste__spur {
  --tage: 21; --vergangen: 0%;
  position: relative; height: 12px;
  background:
    linear-gradient(to left, var(--grund) 2px, transparent 2px) 0 0 / calc(100% / var(--tage)) 100% repeat-x,
    linear-gradient(to right, var(--akzent) var(--vergangen), #cfdfd8 var(--vergangen));
}
.fristleiste__ende {
  position: absolute; right: -2px; top: -8px; bottom: -8px; width: 3px; background: var(--tinte);
}
.fristleiste__heute { display: none; }
.fristleiste__labels {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 12px; font-size: .875rem; color: var(--tinte-3);
}
.fristleiste__labels span:last-child { color: var(--tinte); font-weight: 600; text-align: right; }

.held__fuss {
  grid-area: fuss;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); column-gap: clamp(32px, 6vw, 104px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 52px);
}
.held__text { font-size: 1.125rem; line-height: 1.55; max-width: 56ch; }
.held__aktion { display: flex; flex-wrap: wrap; gap: 10px; }
.held__person { grid-column: 2; margin-top: 12px; font-size: .875rem; color: var(--tinte-3); }
.held__person span { color: var(--tinte); font-weight: 600; }
.held__hinweis { grid-area: hinweis; margin-top: clamp(28px, 3vw, 40px); font-size: .8125rem; color: var(--tinte-3); max-width: 90ch; }

/* ---------- Abschnitte ---------- */

.abschnitt { background: var(--grund); }
.bogen { padding-top: var(--abstand); padding-bottom: var(--abstand); position: relative; }
.bogen::before {
  content: ""; position: absolute; top: 0; left: var(--rand); right: var(--rand); height: 1px; background: var(--linie-stark);
}

.abschnitt__kopf { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 64px); }
.abschnitt__kopf p, .rechnung__kopf p, .ablauf__kopf p, .anfahrt__kopf p { color: var(--tinte-2); margin-top: 18px; }

h2 {
  font-weight: 560; font-stretch: 92%;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  letter-spacing: -.028em;
  line-height: 1.04;
}
h3 { font-weight: 620; font-size: 1.25rem; letter-spacing: -.01em; }

/* Rechtsgebiete */
.register {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.register__blatt {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 4px;
  border-left: 1px solid var(--linie);
  border-top: 3px solid transparent;
  transition: border-color .3s ease-out, background-color .3s ease-out;
}
.register__blatt:first-child { border-left: 0; padding-left: 0; }
.register__blatt:last-child { padding-right: 0; }
.register__blatt h3 { font-size: clamp(1.375rem, 1.1rem + .6vw, 1.625rem); font-weight: 560; font-stretch: 92%; letter-spacing: -.02em; }

.etikett { margin: 18px 0 22px; display: grid; }
.etikett div { padding: 11px 0; border-top: 1px solid var(--linie); }
.etikett dt { font-size: .75rem; font-weight: 600; color: var(--tinte-3); letter-spacing: .02em; }
.etikett dd { margin: 3px 0 0; font-size: .9375rem; line-height: 1.45; }

.register__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9688rem; text-decoration: none; color: var(--akzent);
  padding: 8px 0;
}
.register__link:hover { text-decoration: underline; }
.register__link .ico { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.register__link:hover .ico { transform: translateX(3px); }

.register__ihr {
  display: block; visibility: hidden;
  margin-top: 4px; padding-bottom: 14px;
  font-size: .8125rem; font-weight: 600; color: var(--akzent);
}
.register__blatt.is-ihr { border-top-color: var(--akzent); }
.register__blatt.is-ihr .register__ihr { visibility: visible; }

/* Profile */
.profil {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.profil + .profil { margin-top: clamp(56px, 7vw, 96px); }
.profil--gespiegelt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.profil--gespiegelt .profil__bild { order: 2; }

.profil__bild { margin: 0; }
.profil__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: saturate(.85); }

.profil__text { padding-top: clamp(0px, 2vw, 24px); }
.profil__text h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 560; font-stretch: 92%; letter-spacing: -.025em; }
.profil__titel { margin-top: 8px !important; font-size: .9375rem; color: var(--akzent); font-weight: 560; }
.profil__satz { margin: 28px 0 0; padding: 0; }
.profil__satz p {
  font-size: clamp(1.25rem, 1rem + .7vw, 1.5rem); line-height: 1.42; font-weight: 340;
  letter-spacing: -.012em; text-indent: -.42em; max-width: 34ch;
}
.lebenslauf { margin: 32px 0 0; display: grid; }
.lebenslauf div { display: grid; grid-template-columns: 4.2ch 1fr; gap: 18px; padding: 10px 0; border-top: 1px solid var(--linie); }
.lebenslauf dt { font-weight: 600; }
.lebenslauf dd { margin: 0; font-size: .9375rem; color: var(--tinte-2); }
.profil__fakten { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 22px !important; font-size: .9375rem; }
.profil__fakten b { display: block; font-size: .75rem; font-weight: 600; color: var(--tinte-3); }

/* Kosten: dunkle Fläche */
#kosten { background: var(--tinte); color: #fff; }
#kosten .bogen::before { display: none; }
.rechnung__kopf {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px clamp(24px, 5vw, 80px);
  align-items: end; margin-bottom: clamp(36px, 5vw, 64px);
}
.rechnung__kopf p { margin-top: 0; max-width: 46ch; color: var(--dunkel-text) !important; }

.rechnung { width: 100%; border-collapse: collapse; }
.rechnung th, .rechnung td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; }
.rechnung thead th {
  font-size: .75rem; font-weight: 600; color: #aab3bc; letter-spacing: .02em;
  border-bottom: 1px solid rgba(255, 255, 255, .55); padding-top: 0; padding-bottom: 10px;
}
.rechnung tbody tr { border-bottom: 1px solid var(--dunkel-linie); }
.rechnung .pos { font-weight: 500; width: 4ch; color: #aab3bc; }
.rechnung td b { display: block; font-weight: 600; font-size: 1.0625rem; }
.rechnung td span { display: block; margin-top: 5px; font-size: .9375rem; color: var(--dunkel-text); max-width: 62ch; }
.rechnung .betrag { text-align: right; padding-right: 0; }
.rechnung td.betrag { font-weight: 600; font-size: 1.125rem; white-space: nowrap; }
.rechnung td.betrag small { display: block; font-weight: 400; font-size: .8125rem; color: #aab3bc; }
.rechnung tfoot th, .rechnung tfoot td { border-top: 3px double rgba(255, 255, 255, .6); padding-top: 22px; }
.rechnung tfoot th { font-weight: 560; font-size: 1.125rem; }
.betrag--summe { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem) !important; font-weight: 600 !important; color: var(--akzent-auf-dunkel); line-height: 1; }

/* Ablauf */
.bogen--ablauf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "kopf bild" "stationen stationen";
  gap: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 80px);
}
.ablauf__kopf { grid-area: kopf; align-self: end; }
.ablauf__kopf p { max-width: 46ch; }
.ablauf__kopf b { color: var(--akzent); }
.ablauf__bild { grid-area: bild; margin: 0; }
.ablauf__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 22%; }

.stationen {
  grid-area: stationen;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px;
}
.stationen li { border-top: 1px solid var(--linie-stark); padding-top: 16px; }
.stationen__tag { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 10px; color: var(--tinte-3); }
.stationen h3 { font-size: 1.0625rem; line-height: 1.3; }
.stationen p { margin-top: 8px; font-size: .9375rem; color: var(--tinte-2); line-height: 1.5; }
.stationen__frist { border-top: 3px solid var(--akzent) !important; padding-top: 14px !important; }
.stationen__frist .stationen__tag { color: var(--akzent); }

/* Ersteinschätzung */
.bogen--antwort { padding-bottom: var(--abstand); }
.antwort {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px);
}
.antwort__seite > p { color: var(--tinte-2); margin-top: 18px; max-width: 40ch; }
.antwort__tel {
  display: grid; gap: 4px; margin-top: 32px; padding: 20px 22px;
  background: var(--akzent-hell); text-decoration: none; border-radius: 2px;
}
.antwort__tel b { font-weight: 640; font-stretch: 88%; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); letter-spacing: -.02em; line-height: 1.1; color: var(--akzent-tief); }
.antwort__tel:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.antwort__zusagen { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; color: var(--tinte-2); }
.antwort__zusagen li { display: flex; gap: 10px; padding-top: 10px; border-top: 1px solid var(--linie); }
.antwort__zusagen .ico { margin-top: .2em; color: var(--akzent); }

.formular { position: relative; background: var(--papier); padding: clamp(22px, 3.4vw, 44px); border-radius: 2px; }
.feldgruppe { border: 0; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.feldgruppe legend { font-weight: 600; font-size: 1.125rem; padding: 0; margin-bottom: 14px; }
.feld { display: grid; gap: 6px; align-content: start; }
.feld--breit { grid-column: 1 / -1; }
.feld label, .kreuze__titel { font-size: .875rem; font-weight: 560; color: var(--tinte-2); }
.optional { font-weight: 400; color: var(--tinte-3); }

.feld input, .feld select, .feld textarea, .briefwahl__datum input {
  font: inherit; color: var(--tinte);
  background: var(--papier);
  border: 1px solid var(--linie-stark);
  border-radius: 2px;
  padding: 10px 12px;
  min-height: 48px;
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
}
.briefwahl__datum input { min-height: 44px; font-size: 1rem; }
.feld textarea { resize: vertical; min-height: 116px; line-height: 1.5; }
.feld select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2315202b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
}
.feld input:hover, .feld select:hover, .feld textarea:hover, .briefwahl__datum input:hover { border-color: var(--tinte); }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible, .briefwahl__datum input:focus-visible {
  outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(30, 82, 71, .22);
}
.feld [aria-invalid="true"], .feld [aria-invalid="true"]:focus-visible { border-color: #8a2b1d; box-shadow: 0 0 0 3px rgba(138, 43, 29, .16); }
.kreuz input[aria-invalid="true"] { outline: 2px solid #8a2b1d; outline-offset: 2px; }
::placeholder { color: #7b848d; opacity: 1; }

.fehler { font-size: .8125rem; color: #8a2b1d; font-weight: 560; }

.kreuze { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.kreuze__titel { flex-basis: 100%; }
.kreuz { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; padding-top: 10px; font-size: .9375rem; }
.kreuz input { width: 20px; height: 20px; margin: 0; accent-color: var(--akzent); flex: none; cursor: pointer; }
.kreuz--einwilligung { display: flex; align-items: flex-start; padding-top: 0; margin-top: 4px; color: var(--tinte-2); line-height: 1.5; }
.kreuz--einwilligung input { margin-top: 2px; }

.formular__bezug {
  margin: 0 0 24px; padding: 12px 14px; background: var(--akzent-hell); border-radius: 2px;
  font-size: .9375rem; color: var(--akzent-tief);
}
.formular__bezug[hidden] { display: none; }
.formular__ende { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.formular__demo { font-size: .8125rem; color: var(--tinte-3); }

.eingang {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center;
  background: var(--papier);
  padding: 32px;
}
.eingang[hidden] { display: none; }
.eingang p { max-width: 42ch; color: var(--tinte-2); }
.eingang p b { color: var(--tinte); font-size: 1.25rem; }
.eingang:focus { outline: none; }
.eingang__haken { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--akzent); color: #fff; }

/* Anfahrt */
.bogen--anfahrt {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "kopf skizze" "daten foto";
  gap: clamp(32px, 4vw, 56px) clamp(28px, 5vw, 80px);
}
.anfahrt__kopf { grid-area: kopf; }
.skizze { grid-area: skizze; margin: 0; background: var(--papier); padding: clamp(12px, 2vw, 24px); align-self: start; }
.skizze svg { display: block; width: 100%; height: auto; color: var(--tinte); }
.skizze figcaption { margin-top: 10px; font-size: .8125rem; color: var(--tinte-3); }
.skizze__elbe { color: #6f8798; }
.skizze__bahn { fill: none; stroke: var(--tinte); stroke-width: 5; }
.skizze__bahn--strich { stroke: var(--papier); stroke-width: 2.5; stroke-dasharray: 14 14; }
.skizze__strasse { fill: none; stroke: var(--tinte); stroke-width: 1; opacity: .35; }
.skizze__weg { fill: none; stroke: var(--akzent); stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.skizze__block { fill: var(--grund); stroke: var(--linie-stark); stroke-width: 1; }
.skizze__bahnhof { fill: var(--tinte); }
.skizze__ziel circle { fill: none; stroke: var(--akzent); stroke-width: 2.5; }
.skizze__ziel .skizze__punkt { fill: var(--akzent); stroke: none; }
.skizze__p { fill: none; stroke: var(--tinte); stroke-width: 1.2; }
.skizze__label { font-family: var(--sans); font-size: 15px; font-weight: 560; fill: var(--tinte); }
.skizze__label--fluss { fill: #4f6676; font-size: 16px; }
.skizze__label--ziel { font-size: 19px; font-weight: 650; fill: var(--akzent); }
.skizze__label--klein { font-size: 13px; font-weight: 400; fill: var(--tinte-2); }
.skizze__label--p { font-weight: 650; font-size: 18px; }

.anfahrt__daten { grid-area: daten; display: grid; gap: 32px; align-content: start; }
.zeiten { margin: 0; display: grid; }
.zeiten div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--linie); }
.zeiten div:last-child { border-bottom: 1px solid var(--linie); }
.zeiten dd { margin: 0; font-weight: 560; }
.zeiten div.is-heute { color: var(--akzent); font-weight: 600; }
.zeiten div.is-heute dt::after { content: " · heute"; font-weight: 400; }
.wege { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .9375rem; color: var(--tinte-2); }
.wege b { display: block; color: var(--tinte); font-size: .875rem; }

.anfahrt__foto { grid-area: foto; margin: 0; align-self: start; }
.anfahrt__foto img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }

/* ---------- Fuß ---------- */

.fuss { background: var(--tinte); color: var(--dunkel-text); padding: clamp(56px, 8vw, 112px) 0 28px; font-size: .875rem; line-height: 1.55; }
.fuss a { color: #fff; }
.fuss a:focus-visible { outline-color: var(--akzent-auf-dunkel); }
.fuss__marke {
  color: #f2f2ef;
  font-weight: 280; font-stretch: 125%;
  font-size: clamp(2.25rem, 1rem + 5vw, 5.5rem);
  letter-spacing: -.035em; line-height: 1;
}
.fuss__marke .marke__und { color: var(--akzent-auf-dunkel); font-weight: 280; }
.fuss__absender > p:last-child { margin-top: 16px; font-size: .9375rem; }
.fuss__pflicht {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  margin-top: clamp(44px, 5vw, 72px) !important;
}
.fuss__pflicht > div { padding-top: 18px; border-top: 1px solid var(--dunkel-linie); }
.fuss__titel { font-size: .8125rem; font-weight: 600; color: #fff; margin-bottom: 8px; letter-spacing: .01em; }
.nowrap { white-space: nowrap; }
.fuss__recht {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px);
  margin-top: clamp(48px, 6vw, 80px) !important;
}
.recht { padding-top: 18px; border-top: 1px solid var(--dunkel-linie); scroll-margin-top: 16px; }
.recht__titel { font-size: 1.125rem; font-weight: 600; letter-spacing: -.005em; color: #fff; margin-bottom: 14px; }
.recht__liste { margin: 0; display: grid; }
.recht__liste div { display: grid; grid-template-columns: minmax(9em, 1fr) minmax(0, 2.6fr); gap: 4px 20px; padding: 8px 0; border-top: 1px solid var(--dunkel-linie); }
.recht__liste div:first-child { border-top: 0; padding-top: 0; }
.recht__liste dt { color: #a7b0b9; }
.recht__liste dd { margin: 0; }
.recht p + p { margin-top: 10px; }
.recht__hinweis { color: #a7b0b9; }
.fuss__leiste {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 48px !important;
  font-size: .8125rem; color: #a7b0b9;
}
.fuss__leiste ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.fuss__leiste p { max-width: 70ch; }

/* ---------- Bewegung: das neue Datum ---------- */

@media (prefers-reduced-motion: no-preference) {
  .frist__datum.is-neu { animation: einblenden .5s cubic-bezier(.16, 1, .3, 1) both; }
  .fristleiste__spur { transition: --vergangen .5s ease-out; }
  .register__blatt.is-ihr .register__ihr { animation: einblenden .4s cubic-bezier(.16, 1, .3, 1) both; }
  .eingang:not([hidden]) { animation: auftauchen .35s ease-out both; }
}
@keyframes einblenden {
  from { opacity: 0; transform: translateY(.18em); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes auftauchen { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Breiten ---------- */

@media (min-width: 981px) and (max-height: 820px) {
  .held__innen { padding-top: 28px; padding-bottom: 56px; }
  .frist__vor { margin-bottom: 6px; }
  .frist__datum { font-size: clamp(3rem, 1rem + 4.6vw, 4.75rem); }
  .frist__norm { margin-top: 12px; }
  .fristleiste { margin-top: 28px; }
  .held__fuss { margin-top: 24px; }
  .held__aktion .knopf { min-height: 48px; padding-top: 11px; padding-bottom: 11px; }
}


@media (max-width: 1100px) {
  .nav__liste--breit { gap: 4px 18px; }
  .register { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .register__blatt:nth-child(3) { border-left: 0; padding-left: 0; }
  .register__blatt:nth-child(2) { padding-right: 0; }
  .stationen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .fuss__pflicht { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav__liste--breit { display: none; }
  .nav__mobil { display: block; position: relative; }
  .nav__mobil summary {
    list-style: none; cursor: pointer;
    min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px;
    border: 1px solid var(--linie-stark); border-radius: 2px; font-weight: 560; font-size: .9375rem;
  }
  .nav__mobil summary::-webkit-details-marker { display: none; }
  .nav__mobil[open] summary { background: var(--tinte); color: #fff; border-color: var(--tinte); }
  .nav__mobil .nav__liste {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
    flex-direction: column; gap: 0; min-width: 220px;
    background: var(--papier); box-shadow: 0 1px 2px rgba(21, 32, 43, .08), 0 18px 40px -18px rgba(21, 32, 43, .35); padding: 8px 18px;
  }
  .nav__mobil .nav__liste a { display: block; padding: 11px 0; font-size: 1rem; color: var(--tinte); }
  .nav__mobil .nav__liste li + li { border-top: 1px solid var(--linie); }
  .kopf__innen { gap: 12px 18px; }

  .held__innen {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "frist" "wahl" "leiste" "fuss" "hinweis";
  }
  .briefwahl { margin-top: 36px; }
  .briefwahl__optionen { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .held__fuss { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .held__person { grid-column: 1; margin-top: 0; }

  .profil, .profil--gespiegelt { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .profil--gespiegelt .profil__bild { order: 0; }
  .antwort { grid-template-columns: minmax(0, 1fr); }
  .antwort__zusagen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .rechnung__kopf { grid-template-columns: minmax(0, 1fr); }
  .bogen--anfahrt { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "skizze" "daten" "foto"; }
  .anfahrt__daten { grid-template-columns: 1fr 1fr; }
  .fuss__recht { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .kopf__innen { padding-top: 14px; padding-bottom: 12px; }
  .marke__zusatz { font-size: .75rem; }
  .kopf__tel { grid-template-columns: auto; padding: 0; width: 44px; height: 44px; place-items: center; background: var(--akzent); border-radius: 2px; order: 3; }
  .kopf__tel .ico { grid-row: auto; color: #fff; }
  .kopf__nummer, .kopf .status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); left: 0; }

  .briefwahl__optionen { grid-template-columns: 1fr; }
  .held__aktion .knopf { width: 100%; }
  .fristleiste__labels { font-size: .8125rem; }
  .fristleiste__labels [data-leiste-tage] { display: none; }

  .register { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .register__blatt, .register__blatt:nth-child(n) { border-left: 0; padding: 22px 0 6px; border-top: 1px solid var(--linie-stark); }
  .register__blatt.is-ihr { border-top: 3px solid var(--akzent); }
  .register__ihr { display: none; }
  .register__blatt.is-ihr .register__ihr { display: block; }

  .profil, .profil--gespiegelt { grid-template-columns: minmax(0, 1fr); }
  .profil__bild img { aspect-ratio: 1 / 1; object-position: 50% 28%; }

  .rechnung thead { display: none; }
  .rechnung, .rechnung tbody, .rechnung tfoot { display: block; }
  .rechnung tr { display: grid; grid-template-columns: 3ch minmax(0, 1fr); column-gap: 10px; padding: 16px 0; }
  .rechnung th, .rechnung td { padding: 0; }
  .rechnung tbody .betrag { grid-column: 2; text-align: left; margin-top: 8px; }
  .rechnung .betrag small { display: inline; margin-left: 8px; }
  .rechnung tfoot tr { border-top: 3px double rgba(255, 255, 255, .6); padding-top: 18px; }
  .rechnung tfoot th, .rechnung tfoot td { border: 0; padding: 0; }
  .rechnung tfoot td:first-child { display: none; }
  .rechnung tfoot th { grid-column: 1 / -1; }
  .rechnung tfoot .betrag { grid-column: 1 / -1; text-align: left; margin-top: 10px; }

  .bogen--ablauf { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "bild" "stationen"; }
  .stationen { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stationen li { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); column-gap: 14px; padding: 16px 0 20px; }
  .stationen li > * { grid-column: 2; }
  .stationen .stationen__tag { grid-column: 1; grid-row: 1 / span 2; margin: 0; }

  .formular { margin-left: calc(-1 * var(--rand) + 8px); margin-right: calc(-1 * var(--rand) + 8px); }
  .feldgruppe { grid-template-columns: minmax(0, 1fr); }
  .antwort__zusagen { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .formular__ende .knopf { width: 100%; }

  .anfahrt__daten { grid-template-columns: minmax(0, 1fr); }
  .skizze { margin-left: calc(-1 * var(--rand) + 8px); margin-right: calc(-1 * var(--rand) + 8px); }

  .fuss__pflicht { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .recht__liste div { grid-template-columns: minmax(0, 1fr); }
}
