/* ═══════════════ TANKWETTER — Design-Tokens ═══════════════
   Palette „Vorplatz bei Tag": Beton, Asphalt, Verkehrsblau, LED-Amber.
   Ampelfarben nur als Datenfarben im Kalender/Verdikt. */

@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/BarlowCondensed-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/BarlowCondensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/HankenGrotesk-var.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Spline Sans Mono'; src: url('../fonts/SplineSansMono-var.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'DSEG7'; src: url('../fonts/DSEG7Classic-Bold.woff2') format('woff2'); font-weight: 700; font-display: block; }

:root {
  --beton: #EEF1F4;
  --beton-tief: #E2E7EC;
  --asphalt: #161B22;
  --asphalt-60: rgba(22, 27, 34, .62);
  --blau: #0B4EA2;
  --blau-tief: #093E82;
  --amber: #FFB300;
  --amber-glut: rgba(255, 179, 0, .16);
  --gruen: #178A50;
  --gruen-flaeche: #DEF2E6;
  --rot: #C93A3A;
  --rot-flaeche: #F9E4E4;
  --weiss: #FFFFFF;
  --panel: #10151B;
  --segment-aus: #232A33;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, monospace;
  --led: 'DSEG7', monospace;
  --radius: 10px;
  --breite: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--beton);
  color: var(--asphalt);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; border-radius: 4px; }

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
}

main > section { padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; }
.sektion-kopf { max-width: var(--breite); margin: 0 auto 2rem; }
.sektion-sub { color: var(--asphalt-60); margin-top: .5rem; max-width: 46ch; }

/* ═══ Kopf ═══ */
.kopf {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem 1.25rem;
  background: rgba(238, 241, 244, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beton-tief);
}
.wortmarke { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; display: inline-flex; }
.wm-tank { color: var(--blau); }
.wm-wetter { color: var(--asphalt); }
.kopf-nav { margin-left: auto; margin-right: 1rem; }
.kopf-nav a { font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; color: var(--asphalt-60); text-decoration: none; }
.kopf-nav a:hover { color: var(--blau); }
.sorten-toggle { display: inline-flex; background: var(--beton-tief); border-radius: 999px; padding: 3px; }
.sorten-toggle button {
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: .04em;
  border: 0; background: transparent; color: var(--asphalt-60);
  padding: .38rem .95rem; border-radius: 999px; cursor: pointer;
}
.sorten-toggle button[aria-selected="true"] { background: var(--blau); color: var(--weiss); }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: calc(2.2rem + 30px);
  background: linear-gradient(180deg, #DCE7F2 0%, #E8EEF4 42%, var(--beton) 80%);
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
  background:
    repeating-linear-gradient(90deg, #E8ECF0 0 44px, transparent 44px 96px) center / 100% 4px no-repeat,
    #20262E;
}
.hero-eyebrow {
  max-width: var(--breite); margin: 0 auto 1.6rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--asphalt-60);
}
.hero-grid {
  max-width: var(--breite); margin: 0 auto;
  display: grid; grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}

/* Der Preismast — Signature-Objekt */
.preismast { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.mast-panel {
  width: 100%;
  background: var(--panel);
  border: 6px solid var(--blau);
  border-radius: 14px;
  padding: 1.1rem 1.2rem .8rem;
  box-shadow: 0 24px 48px -20px rgba(9, 62, 130, .45);
}
.mast-zeile {
  position: relative; z-index: 0; /* Stacking-Context: Ghost-Segmente (z -1) bleiben über dem Zeilen-Hintergrund */
  display: flex; align-items: baseline; justify-content: space-between;
  padding: .55rem .35rem;
  border-radius: 8px;
  transition: background .25s ease;
}
.mast-zeile.aktiv { background: var(--amber-glut); }
.mast-label {
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--beton);
}
.mast-preis { font-family: var(--led); color: var(--amber); font-size: clamp(1.7rem, 4vw, 2.15rem); }
.mast-preis .digits { position: relative; text-shadow: 0 0 14px rgba(255, 179, 0, .55); }
.mast-preis .digits::before {
  content: '8.88'; position: absolute; right: 0; top: 0;
  color: var(--segment-aus); z-index: -1; text-shadow: none;
}
.digit-sup { position: relative; font-size: .55em; margin-left: .18em; text-shadow: 0 0 10px rgba(255, 179, 0, .5); display: inline-block; }
.digit-sup::before {
  content: '8'; position: absolute; left: 0; top: 0;
  color: var(--segment-aus); z-index: -1; text-shadow: none;
}
.mast-fuss {
  margin-top: .55rem; padding-top: .55rem;
  border-top: 1px solid var(--segment-aus);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: #7C8794;
  text-transform: uppercase; text-align: center;
}
.mast-stele { width: 22%; flex: 1 0 56px; background: linear-gradient(90deg, #C9D1D9, #EDF1F5 45%, #B9C2CB); }
.mast-sockel { width: 42%; height: 12px; background: #C1C9D1; border-radius: 3px; }

/* Verdikt */
.verdikt { padding-top: .4rem; }
.verdikt-titel {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  line-height: .98; text-transform: uppercase; letter-spacing: .005em;
}
.verdikt-titel .gruen { color: var(--gruen); }
.verdikt-titel .rot { color: var(--rot); }
.verdikt-lage { margin-top: 1.1rem; max-width: 52ch; font-size: 1.08rem; }
.cta {
  display: inline-block; margin-top: 1.5rem;
  background: var(--blau); color: var(--weiss); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase;
  padding: .78rem 1.6rem; border-radius: var(--radius);
  transition: background .2s ease, transform .2s ease;
}
.cta:hover { background: var(--blau-tief); transform: translateY(-1px); }
.cta-zweit { background: var(--asphalt); }
.cta-zweit:hover { background: #000; }
.verdikt-meta { margin-top: 1rem; font-family: var(--mono); font-size: .78rem; color: var(--asphalt-60); }
.verdikt-meta .meta-zeile { display: block; }
.verdikt-meta .meta-zeile + .meta-zeile { margin-top: .25rem; }

/* 1/3/7/14-Tage-Leiste */
.horizonte {
  display: flex; margin-top: 1.6rem;
  background: var(--weiss); border: 1px solid var(--beton-tief); border-radius: 12px;
  overflow: hidden; max-width: 560px;
}
.hz { flex: 1; padding: .65rem .9rem .7rem; border-left: 1px solid var(--beton-tief); }
.hz:first-child { border-left: 0; }
.hz-label { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--asphalt-60); }
.hz-preis { display: block; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.hz-delta { display: block; font-family: var(--mono); font-size: .72rem; }
.hz-delta.steigt { color: var(--rot); }
.hz-delta.faellt { color: var(--gruen); }
.hz-delta.stabil { color: var(--asphalt-60); }

/* ═══ Wegweiser (Autobahn-Schild → Karte) ═══ */
.schild {
  max-width: var(--breite); margin: 0 auto;
  background: var(--blau);
  border: 4px solid var(--weiss);
  outline: 1px solid var(--beton-tief);
  border-radius: 18px;
  box-shadow: 0 20px 40px -22px rgba(9, 62, 130, .55);
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem; align-items: center;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) clamp(1.4rem, 3.5vw, 2.6rem);
}
.schild-pfeil { color: var(--weiss); font-size: 1.1rem; line-height: 1; margin-bottom: .5rem; }
.schild h2 { color: var(--weiss); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.schild h2 br { display: none; }
.schild-sub { color: #C9DBF2; margin-top: .6rem; max-width: 48ch; }

/* ═══ Kalender ═══ */
.kalender { background: var(--weiss); border-block: 1px solid var(--beton-tief); }
.wochentage, .tage-grid { max-width: var(--breite); margin: 0 auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.wochentage { margin-bottom: 8px; }
.wochentage span { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-60); text-align: center; }
.tag {
  border: 1px solid var(--beton-tief); border-radius: var(--radius);
  background: var(--weiss);
  padding: .55rem .3rem .6rem;
  text-align: center; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 86px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .22rem;
}
.tag:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(22, 27, 34, .35); }
.tag.leer-zelle { visibility: hidden; pointer-events: none; }
.tag-wt { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--asphalt-60); }
.tag-nr { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1; }
.tag-preis { font-family: var(--mono); font-weight: 600; font-size: .92rem; }
.tag-preis sup { font-size: .62em; }
.tag.v-guenstig { background: var(--gruen-flaeche); border-color: #B5DFC6; }
.tag.v-guenstig .tag-preis { color: var(--gruen); }
.tag.v-teuer { background: var(--rot-flaeche); border-color: #EBC4C4; }
.tag.v-teuer .tag-preis { color: var(--rot); }
.tag.heute .tag-wt { color: var(--blau); font-weight: 700; }
.tag.bester { box-shadow: inset 0 0 0 2.5px var(--blau); position: relative; }
.tag.bester::after {
  content: 'Bester Tag'; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--blau); color: var(--weiss);
  font-family: var(--mono); font-size: .56rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 1px 7px; border-radius: 999px; white-space: nowrap;
}
.tag[aria-selected="true"] { box-shadow: 0 0 0 2.5px var(--asphalt); }
.tag.bester[aria-selected="true"] { box-shadow: inset 0 0 0 2.5px var(--blau), 0 0 0 2.5px var(--asphalt); }
.tag-detail {
  max-width: var(--breite); margin: 14px auto 0;
  display: flex; gap: 1.2rem; align-items: baseline; flex-wrap: wrap;
  background: var(--beton); border-radius: var(--radius);
  padding: .7rem 1.1rem;
  font-family: var(--mono); font-size: .88rem;
}
.detail-datum { font-weight: 600; }
.detail-spanne { color: var(--asphalt-60); }
.legende { max-width: var(--breite); margin: 1.2rem auto 0; display: flex; gap: 1.3rem; flex-wrap: wrap; font-size: .82rem; color: var(--asphalt-60); }
.lg { display: inline-flex; align-items: center; gap: .45rem; }
.lg::before { content: ''; width: 13px; height: 13px; border-radius: 4px; border: 1px solid var(--beton-tief); }
.lg-guenstig::before { background: var(--gruen-flaeche); border-color: #B5DFC6; }
.lg-neutral::before { background: var(--weiss); }
.lg-teuer::before { background: var(--rot-flaeche); border-color: #EBC4C4; }
.lg-best::before { background: var(--weiss); box-shadow: inset 0 0 0 2px var(--blau); }

/* ═══ Rechner ═══ */
.rechner-box {
  max-width: var(--breite); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--weiss); border: 1px solid var(--beton-tief); border-radius: 16px;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
}
.rechner-eingabe label { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--asphalt-60); }
.liter-zeile { display: flex; align-items: baseline; gap: .6rem; margin-top: .4rem; }
#liter {
  font-family: var(--display); font-weight: 700; font-size: 2.6rem;
  width: 5.2ch; border: 0; border-bottom: 3px solid var(--blau);
  background: transparent; color: var(--asphalt);
}
.liter-einheit { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--asphalt-60); }
.liter-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.liter-chips button {
  font-family: var(--body); font-size: .85rem; font-weight: 500;
  background: var(--beton); color: var(--asphalt);
  border: 1px solid var(--beton-tief); border-radius: 999px;
  padding: .35rem .85rem; cursor: pointer;
}
.liter-chips button:hover { border-color: var(--blau); color: var(--blau); }
.rechner-ergebnis { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--beton-tief); padding-left: clamp(1.5rem, 4vw, 3rem); }
.re-betrag { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--gruen); }
.re-betrag.neutral { color: var(--asphalt); }
.re-text { margin-top: .5rem; color: var(--asphalt-60); max-width: 34ch; }

/* ═══ Tagesuhr ═══ */
.tu-merksatz { margin-top: 1.6rem; }

/* ═══ Alarm ═══ */
.alarm-box {
  max-width: var(--breite); margin: 0 auto;
  background: var(--asphalt); color: var(--beton);
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center;
}
.alarm-text p { color: #A6B0BB; margin-top: .4rem; max-width: 44ch; }
.alarm-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.alarm-form input {
  flex: 1 1 200px;
  font-family: var(--body); font-size: 1rem;
  background: #1F2630; color: var(--beton);
  border: 1px solid #333D49; border-radius: var(--radius);
  padding: .75rem 1rem;
}
.alarm-form input::placeholder { color: #66717E; }
.alarm-form button {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase;
  background: var(--amber); color: var(--asphalt);
  border: 0; border-radius: var(--radius);
  padding: .75rem 1.3rem; cursor: pointer;
}
.alarm-form button:hover { background: #FFC233; }
.alarm-status { grid-column: 1 / -1; font-family: var(--mono); font-size: .82rem; color: var(--amber); min-height: 1.2em; }

/* ═══ Spediteure ═══ */
.sp-grid {
  max-width: var(--breite); margin: 0 auto;
  display: grid; grid-template-columns: 1fr minmax(280px, 460px);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.sp-eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blau); margin-bottom: .6rem; }
.sp-text p { margin-top: .8rem; max-width: 54ch; }
.sp-text .cta { margin-top: 1.2rem; }
.sp-hinweis { font-size: .85rem; color: var(--asphalt-60); }
.sp-bild img { border-radius: 16px; }

/* ═══ FAQ ═══ */
.faq { background: var(--weiss); border-block: 1px solid var(--beton-tief); }
.faq details { max-width: var(--breite); margin: 0 auto; border-bottom: 1px solid var(--beton-tief); }
.faq summary {
  font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: .02em;
  padding: 1rem 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 1.2rem; color: var(--blau); flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 1.2rem; max-width: 64ch; color: #3A4450; }

/* ═══ SEO + Fuß ═══ */
.seo { max-width: var(--breite); margin: 0 auto; }
.seo h2 { font-size: 1.35rem; text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 700; }
.seo p { margin-top: .8rem; color: #3A4450; max-width: 78ch; font-size: .95rem; }
.fuss { background: var(--asphalt); color: #A6B0BB; padding: 2.2rem 1.25rem 2.6rem; }
.fuss-inhalt { max-width: var(--breite); margin: 0 auto; }
.fuss-marke { font-family: var(--display); font-weight: 700; letter-spacing: .03em; color: var(--beton); }
.fuss p { font-size: .82rem; margin-top: .5rem; max-width: 70ch; }
.fuss a { color: #C9D4E0; text-decoration-color: rgba(201,212,224,.45); }
.fuss a:hover { color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ═══ Ortszeile (Hero) ═══ */
.ortzeile { margin-bottom: 1.1rem; }
.ort-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--blau); color: var(--weiss); border: 0; border-radius: 999px;
  padding: .42rem 1rem .42rem .85rem; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase;
}
.ort-chip[hidden] { display: none; }
.ort-chip:hover { background: var(--blau-tief); }
.ort-chip .ort-pin { flex-shrink: 0; }
.ort-chip .ort-radius { color: #C9DBF2; font-family: var(--mono); font-size: .72rem; text-transform: none; letter-spacing: 0; }
.ort-chip .ort-aendern { margin-left: .4rem; font-family: var(--body); font-size: .8rem; text-transform: none; letter-spacing: 0; color: #C9DBF2; text-decoration: underline; text-underline-offset: 3px; }
.ort-form {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  background: var(--blau); border-radius: 14px; padding: .9rem 1rem 1rem;
  box-shadow: 0 16px 32px -20px rgba(9, 62, 130, .55);
  margin-top: .6rem; max-width: 560px;
}
.ort-form[hidden] { display: none; }
.ort-chip:not([hidden]) + .ort-form { margin-top: .7rem; }
.ort-prompt { flex-basis: 100%; color: #C9DBF2; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.ort-feldwrap { position: relative; flex: 1 1 200px; min-width: 0; }
#ort {
  width: 100%; font-family: var(--body); font-size: 1.05rem; font-weight: 500;
  background: rgba(255, 255, 255, .12); color: var(--weiss);
  border: 1.5px solid rgba(255, 255, 255, .45); border-radius: var(--radius);
  padding: .68rem 1rem;
}
#ort::placeholder { color: #A9C4E6; }
#ort:focus { border-color: var(--weiss); outline: none; background: rgba(255, 255, 255, .18); }
.ort-los {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase;
  background: var(--weiss); color: var(--blau); border: 0; border-radius: var(--radius);
  padding: .68rem 1.2rem; cursor: pointer; transition: transform .15s ease;
}
.ort-los:hover { transform: translateY(-1px); }
.ort-standort {
  flex-basis: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  font-family: var(--body); font-size: .88rem; color: #C9DBF2; text-decoration: underline; text-underline-offset: 3px;
}
.ort-standort:hover { color: var(--weiss); }
.ort-status { flex-basis: 100%; margin: 0; font-size: .85rem; color: var(--amber); }
.ort-status:empty { display: none; }
.vorschlaege {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 700;
  background: var(--weiss); border: 1px solid var(--beton-tief); border-radius: 10px;
  margin-top: 4px; list-style: none; overflow: hidden;
  box-shadow: 0 16px 32px -16px rgba(22, 27, 34, .3);
}
.vorschlaege[hidden] { display: none; }
.vorschlaege li { padding: .55rem .9rem; cursor: pointer; font-size: .95rem; color: var(--asphalt); }
.vorschlaege li:hover, .vorschlaege li.aktiv { background: var(--beton); }
.verdikt-lage .ortsatz { font-weight: 600; }
.verdikt-lage .ortsatz:empty { display: none; }

/* ═══ Ladezustand (Ort wird abgefragt) ═══ */
.mast-panel.laedt .digits, .mast-panel.laedt .digit-sup { animation: mast-puls 1.1s ease-in-out infinite; text-shadow: none; }
@keyframes mast-puls { 0%, 100% { opacity: .28; } 50% { opacity: .8; } }
.ort-lauflicht { display: none; gap: 3px; margin-left: .45rem; align-items: center; }
.ort-chip.laedt .ort-aendern { display: none; }
.ort-chip.laedt .ort-lauflicht { display: inline-flex; }
.ort-lauflicht i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); opacity: .3; animation: lauflicht 1s ease-in-out infinite; }
.ort-lauflicht i:nth-child(2) { animation-delay: .2s; }
.ort-lauflicht i:nth-child(3) { animation-delay: .4s; }
@keyframes lauflicht { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.ort-quittung { margin: .55rem 0 0; font-family: var(--mono); font-size: .76rem; color: var(--gruen); opacity: 0; transition: opacity .4s ease; min-height: 0; }
.ort-quittung:empty { display: none; }
.ort-quittung.sichtbar { opacity: 1; }
.ort-quittung::before { content: '✓ '; }
.tage-grid.laedt .tag:not(.leer-zelle) { position: relative; overflow: hidden; }
.tage-grid.laedt .tag:not(.leer-zelle)::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .78) 50%, transparent 80%);
  background-size: 200% 100%; animation: schimmer 1.2s linear infinite;
}
@keyframes schimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ═══ Tagesverlauf (zweites LED-Display) ═══ */
.tagesverlauf { background: var(--weiss); border-top: 1px solid var(--beton-tief); }
.tv-grid { max-width: var(--breite); margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tv-panel {
  background: var(--panel); border: 6px solid var(--blau); border-radius: 14px;
  padding: 1rem 1.1rem .9rem; box-shadow: 0 24px 48px -20px rgba(9, 62, 130, .45);
  min-width: 0;
}
.tv-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #8A97A6; margin-bottom: .5rem; }
.tv-titel { color: var(--beton); }
.tv-sorte { color: var(--amber); }
.tv-chartwrap { position: relative; }
.tv-chart { display: block; width: 100%; height: auto; touch-action: pan-y; }
.tvc-grid { stroke: #232A33; stroke-width: 1; }
.tvc-achse { fill: #8A97A6; font-family: var(--mono); font-size: 11px; }
.tvc-typisch { fill: none; stroke: #7F8EA0; stroke-width: 1.5; stroke-dasharray: 4 4; }
.tvc-gemessen { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 179, 0, .5)); }
.tvc-fenster { fill: rgba(23, 138, 80, .24); }
.tvc-fenster-label { fill: #7FD3A2; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.tvc-jetzt { fill: var(--amber); }
.tvc-jetzt-ring { fill: none; stroke: var(--amber); stroke-width: 1.5; opacity: .6; transform-origin: center; transform-box: fill-box; animation: tv-puls 2.2s ease-out infinite; }
@keyframes tv-puls { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.tvc-jetzt-label { fill: var(--beton); font-family: var(--mono); font-size: 11.5px; font-weight: 600; }
.tvc-cursor { stroke: #EEF1F4; stroke-width: 1; opacity: .5; stroke-dasharray: 2 3; }
.tv-tooltip {
  position: absolute; top: 6px; left: 0; transform: translateX(-50%);
  background: var(--beton); color: var(--asphalt); font-family: var(--mono); font-size: .74rem;
  padding: .28rem .55rem; border-radius: 6px; pointer-events: none; white-space: nowrap;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6);
}
.tv-tooltip[hidden] { display: none; }
.tv-legende { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: .65rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: #8A97A6; }
.tvl::before { content: ''; display: inline-block; width: 18px; height: 0; border-top: 2.5px solid var(--amber); margin-right: .4rem; vertical-align: middle; }
.tvl-typisch::before { border-top: 1.5px dashed #7F8EA0; }
.tv-panel.ohne-messung .tvl-gemessen { display: none; }
.tvl-fenster::before { border: 0; height: 10px; background: rgba(23, 138, 80, .5); border-radius: 2px; }
.tv-lead { margin-top: 1rem; font-size: 1.08rem; max-width: 46ch; }
.tv-hinweis { margin-top: .8rem; color: var(--asphalt-60); font-size: .92rem; max-width: 46ch; }
.tv-hinweis:empty { display: none; }
.tv-hinweis a { color: var(--blau); font-weight: 700; }

/* ═══ Responsive ═══ */
@media (max-width: 860px) {
  .hero-grid, .rechner-box, .alarm-box, .tv-grid, .sp-grid { grid-template-columns: 1fr; }
  .preismast { max-width: 420px; margin: 0 auto; }
  .mast-stele { height: 42px; }
  .verdikt { text-align: left; }
  .rechner-ergebnis { border-left: 0; border-top: 1px solid var(--beton-tief); padding-left: 0; padding-top: 1.3rem; }
  .sp-grid { grid-template-columns: 1fr; }
  .sp-bild { order: -1; }
  .tage-grid, .wochentage { gap: 5px; }
  .tag { min-height: 74px; padding: .4rem .15rem .45rem; }
  .tag-nr { font-size: 1.2rem; }
  .tag-preis { font-size: .78rem; }
}
@media (max-width: 520px) {
  .kopf-nav { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .kopf { padding: .55rem .8rem; }
  .wortmarke { font-size: 1.25rem; }
  .sorten-toggle button { padding: .32rem .7rem; font-size: .95rem; }
  main > section { padding-left: .8rem; padding-right: .8rem; }
  .tag { min-height: 64px; }
  .tag-wt { font-size: .58rem; }
  .tag-preis { font-size: .68rem; letter-spacing: -.02em; }
  .tag.bester::after { font-size: .5rem; }
  .verdikt-titel { font-size: 2.35rem; }
}

/* ═══ Motion ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.kalender-mehr { max-width: var(--breite); margin: 1.1rem auto 0; font-size: .92rem; color: var(--asphalt-60); }
.kalender-mehr a { color: var(--blau); font-weight: 700; }
@media (max-width: 860px) {
  .schild { grid-template-columns: 1fr; gap: 1rem; }
  .schild h2 br { display: block; }
}
