/* Standgeld-Rechner · Gestaltung nach Gestaltungsauftrag vom 26.10.2026 (Leitmotiv Rampe) */

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: optional;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: optional;
}

:root {
  color-scheme: light;
  --ink: #1B2430;
  --paper: #F4F1EA;
  --surface: #FFFFFF;
  --wall: #E9E4D8;
  --ink-2: #2A3542;
  --muted: #5B6270;
  --signal: #E06E35;
  --signal-soft: #E8915F;
  --rust: #A3461B;
  --field-line: #7A7466;
  --rule: #D6CFC1;
  --error: #B3261E;
  --ok: #2E6B3A;
  --stripes: repeating-linear-gradient(-45deg, var(--ink) 0 8px, var(--signal) 8px 16px);
  --display: "Barlow Semi Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 0 var(--rule), 0 12px 28px -16px rgba(27, 36, 48, .25);
  --gutter: 16px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--text);
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 16px; max-width: 68ch; }
a { color: var(--rust); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: .005em; }
h1 { font-weight: 700; font-size: 30px; line-height: 1.1; }
h2 { font-weight: 700; font-size: 25px; line-height: 1.15; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.25; }
@media (min-width: 1024px) {
  h1 { font-size: 46px; } h2 { font-size: 34px; } h3 { font-size: 22px; }
}
.num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.band :focus-visible, .fuss :focus-visible { outline-color: var(--signal-soft); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow {
  display: block; font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .06em; color: var(--rust); margin-bottom: 10px;
}
@media (min-width: 1024px) { .eyebrow { font-size: 15px; } }
.eyebrow .doppelpunkt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hinweis, .klein { font-size: 15px; color: var(--muted); }

/* Kopfzeile */
.kopf { border-bottom: 1px solid var(--rule); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; padding: 10px 0; }
.marke svg { width: 28px; height: 28px; flex: none; }
.kopf-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 600; }

/* Hero */
.hero { padding: 32px 0 48px; }
.hero-raster { display: grid; gap: 32px; }
.hero h1 { margin-bottom: 16px; }
.lead { font-size: 18px; line-height: 1.5; }
@media (min-width: 1024px) {
  .hero { padding: 64px 0 96px; }
  .hero-raster { grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: start; }
  .lead { font-size: 20px; }
}
.vertrauen { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; font-size: 16px; }
.vertrauen li { display: flex; gap: 10px; align-items: flex-start; }
.vertrauen svg, .haken svg { width: 16px; height: 16px; flex: none; margin-top: 5px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-extra { display: none; }
@media (min-width: 1024px) {
  .hero-extra { display: block; margin-top: 32px; }
  .hero-extra .illu { margin-top: 32px; width: 360px; height: 270px; }
}

/* Karten */
.karte { background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.karte-innen { padding: 20px; }
@media (min-width: 1024px) { .karte-innen { padding: 32px; } }
.rampenkante { height: 8px; background: var(--stripes); }
.karte h2 { margin-bottom: 20px; }

/* Formulare */
.feld { margin-bottom: 16px; }
.feld label, .feld .label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.feld label .hint { font-weight: 400; color: var(--muted); }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.paar-640 { display: grid; gap: 0 12px; }
@media (min-width: 640px) {
  .paar-640 { grid-template-columns: 1fr 1fr; }
  .paar-640 .feld label { min-height: 4.7em; }
}
input[type="time"], input[type="number"], input[type="text"], input[type="email"], select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--field-line); border-radius: 4px;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
input:hover, select:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
input[aria-invalid="true"], select[aria-invalid="true"] { border: 2px solid var(--error); }
.feldfehler { display: flex; gap: 6px; align-items: flex-start; color: var(--error); font-size: 15px; margin-top: 6px; }
.feldfehler svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.feldfehler[hidden] { display: none; }
.live { font-size: 15px; color: var(--muted); margin-top: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 6px; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.1; text-decoration: none;
  transition: background-color .15s ease-out, transform .15s ease-out;
}
.btn-primaer { background: var(--signal); color: var(--ink); border: 2px solid var(--ink); width: 100%; }
.btn-primaer:hover { background: var(--signal-soft); color: var(--ink); }
.btn-primaer:active { transform: translateY(1px); }
.btn-primaer[aria-disabled="true"] { background: var(--wall); color: var(--muted); border-color: var(--rule); cursor: progress; }
.btn-sekundaer { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-sekundaer:hover { background: var(--wall); color: var(--ink); }
@media (min-width: 640px) { .btn-primaer.auto { width: auto; } }

/* Ergebnis */
.ergebnis { margin-top: 20px; background: var(--wall); border-left: 4px solid var(--ink); border-radius: 4px; padding: 16px 20px; }
.ergebnis[hidden] { display: none; }
.ergebnis.veraltet .ergebnis-inhalt { opacity: .5; }
.ergebnis h3 { margin-bottom: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .ergebnis.neu { animation: einblenden .2s ease-out; }
  @keyframes einblenden { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
.zeitstrahl { display: flex; height: 12px; border-radius: 2px; overflow: hidden; background: var(--rule); margin: 4px 0 6px; }
.zeitstrahl .frei { background: var(--rule); }
.zeitstrahl .grenze { width: 2px; background: var(--ink); flex: none; }
.zeitstrahl .ueber { background: var(--stripes); }
.zeitlabels { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.zeitlabels span:nth-child(2) { text-align: center; }
.zeitlabels span:last-child { text-align: right; }
.zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.zeile + .zeile { margin-top: 8px; }
.zeile .wert-mittel { font-weight: 600; font-size: 17px; }
.betrag { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--ink); }
@media (min-width: 1024px) { .betrag { font-size: 40px; } }
.betrag small { font-family: var(--text); font-weight: 400; font-size: 15px; color: var(--muted); }
.rechenweg { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.trenner { border: 0; border-top: 1px solid var(--rule); margin: 14px 0; }
.hochrechnung { font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.weiter-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.disclaimer { font-size: 15px; color: var(--muted); margin: 16px 0 0; }

/* Band Automatik */
.band { background: var(--ink); color: var(--paper); padding: 48px 0; }
@media (min-width: 1024px) { .band { padding: 96px 0; } }
.band h2 { max-width: 24ch; margin-bottom: 32px; }
.band a { color: var(--signal-soft); }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 1024px) { .schritte { grid-template-columns: repeat(3, 1fr); } }
.schritt-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.torschild {
  display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 48px;
  border: 2px solid var(--signal-soft); border-radius: 4px;
  font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--signal-soft);
}
.schritt-icon { width: 48px; height: 48px; color: var(--paper); fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.schritte h3 { margin-bottom: 8px; }
.schritte p { color: #D9DCE1; }
.merksatz { margin-top: 40px; background: var(--ink-2); border-left: 4px solid var(--signal-soft); padding: 16px 20px; font-size: 18px; font-weight: 600; max-width: none; border-radius: 0 4px 4px 0; }

/* Preis und Reservierung */
.abschnitt { padding: 48px 0; }
@media (min-width: 1024px) { .abschnitt { padding: 96px 0; } }
.preis-raster { display: grid; gap: 32px; }
@media (min-width: 1024px) { .preis-raster { grid-template-columns: 5fr 7fr; gap: 48px; } }
.preis-raster h2 { margin-bottom: 20px; }
.preis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.preis .zahl { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; }
@media (min-width: 1024px) { .preis .zahl { font-size: 56px; } }
.preis .zusatz { font-size: 17px; color: var(--muted); }
.modus { border: 0; padding: 0; margin: 0 0 20px; }
.modus legend { font-weight: 600; font-size: 16px; margin-bottom: 8px; padding: 0; }
.kacheln { display: grid; gap: 8px; }
@media (min-width: 640px) { .kacheln { grid-template-columns: 1fr 1fr; } }
.kachel { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 1px solid var(--field-line); border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 16px; background: var(--surface); }
.kachel input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.kachel:has(input:checked) { border: 2px solid var(--ink); background: var(--wall); padding: 9px 13px; }
.kachel:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 12px; margin: 0 -12px 4px; border-radius: 4px; font-size: 16px; cursor: pointer; }
.check:hover { background: var(--wall); }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--ink); }
.check[hidden], .feld[hidden] { display: none; }
.fehlerkasten { border: 2px solid var(--error); background: var(--surface); border-radius: 4px; padding: 12px 16px; margin-bottom: 20px; }
.fehlerkasten[hidden] { display: none; }
.fehlerkasten p { margin: 0 0 6px; font-weight: 600; color: var(--error); }
.fehlerkasten ul { margin: 0; padding-left: 20px; }
.erfolg { border-left: 4px solid var(--ok); background: var(--surface); padding: 20px; border-radius: 0 4px 4px 0; }
.erfolg[hidden] { display: none; }
.erfolg h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.erfolg svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.fragen { max-width: 760px; }
.fragen h2 { margin-bottom: 32px; }
.fragen h3 { margin-bottom: 8px; }
.frage + .frage { margin-top: 32px; }

/* Fußzeile */
.fuss { background: var(--ink); color: var(--paper); font-size: 15px; padding: 32px 0; }
.fuss a { color: var(--signal-soft); }
.fuss .angaben span { display: block; }
.fuss .angaben a { display: inline-block; padding: 12px 0; }
@media (min-width: 1024px) {
  .fuss .angaben span { display: inline; }
  .fuss .angaben span + span::before { content: " · "; }
}
.fuss .links { display: flex; gap: 24px; margin-top: 12px; }
.fuss .links a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss p { max-width: none; margin: 0; }

/* Unterseiten */
.unterseite main, .schmal { max-width: 720px; margin: 0 auto; padding: 32px var(--gutter) 64px; }
.unterseite h1 { font-size: 30px; margin: 8px 0 24px; }
@media (min-width: 1024px) { .unterseite h1 { font-size: 40px; } }
.unterseite h2 { font-size: 22px; margin: 32px 0 12px; }
.zurueck { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 16px; margin: 8px 0 24px; }
.tabelle caption { text-align: left; font-weight: 600; margin-bottom: 8px; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 759px) {
  .tabelle thead { position: absolute; left: -10000px; }
  .tabelle tr { display: block; border-bottom: 1px solid var(--rule); padding: 16px 0; }
  .tabelle td { display: block; border: 0; padding: 4px 0; }
  .tabelle td::before { content: attr(data-label); display: block; font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
