/* Autobahn-Raststätten – Gestaltung
   Farben: Verkehrsblau der Autobahnschilder (RAL 5017) als Markenfarbe, warmes Gelb als Akzent. */
/* Schrift: Barlow (Text) und Barlow Condensed (Überschriften, DIN-Anmutung wie auf den Autobahnschildern).
   Selbst gehostet in fonts/ (SIL Open Font License) – keine Verbindung zu Google Fonts. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url("fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
:root {
  --blue: #005387;
  --blue-dark: #003a5f;
  --blue-soft: #e6eef5;
  --accent: #f2b705;
  --ink: #16202a;
  --muted: #5b6875;
  --line: #dde3e9;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --green: #1d7a46;
  --red: #b3261e;
  --radius: 10px;
  --gutter: clamp(20px, 4vw, 56px);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --yellow: #ffcc00;
  --header-h: 65px; /* Höhe der Kopfleiste inkl. Linie – der Startbereich füllt den Bildschirm darunter */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--ink); background: var(--bg); }
h1, h2, .schild, .stat strong, .page-title { font-family: var(--font-head); font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(40px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Autobahn-Schild */
.schild { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6em; height: 1.7em; padding: 0 .45em;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .95rem; border-radius: 5px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--blue); letter-spacing: .02em; }

/* Kopf: schwebende, abgerundete Leiste mit Abstand zu den Rändern */
:root { --header-gap: 16px; }
.site-header { position: sticky; top: var(--header-gap); z-index: 20; width: min(1280px, calc(100% - 2 * var(--header-gap)));
  margin: var(--header-gap) auto 0; background: rgba(255,255,255,.66); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px; box-shadow: 0 8px 28px rgba(0,30,55,.14), inset 0 1px 0 rgba(255,255,255,.6); }
/* Ohne backdrop-filter (ältere Browser): fast deckend, damit die Schrift lesbar bleibt */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: rgba(255,255,255,.95); } }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: calc(var(--header-h) - 2px); padding: 0 clamp(16px, 2.5vw, 28px); max-width: none; }
/* Startseite: Leiste schwebt über dem Hero-Video */
.is-home .site-header { margin-bottom: calc(-1 * (var(--header-h) + var(--header-gap))); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--blue); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: inherit; }
@media (max-width: 700px) {
  .menu-toggle { display: block; margin-left: 10px; }
  .lang-switch { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; gap: 0; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border: 1px solid rgba(255,255,255,.6); border-radius: 18px; box-shadow: 0 12px 28px rgba(0,30,55,.16); padding: 8px 20px 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
}
/* Menü passt nicht in eine Zeile (z. B. lange Übersetzungen): wie auf dem Handy. Klasse setzt ein kleines Skript im Kopf. */
.nav-eng .menu-toggle { display: block; margin-left: 10px; }
.nav-eng .lang-switch { margin-left: auto; }
.nav-eng .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; gap: 0; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border: 1px solid rgba(255,255,255,.6); border-radius: 18px; box-shadow: 0 12px 28px rgba(0,30,55,.16); padding: 8px 20px 12px; }
.nav-eng .nav.open { display: flex; }
.nav-eng .nav a { padding: 10px 0; }
.nav-mess .site-header .logo, .nav-mess .site-header .logo img { flex-shrink: 0; max-width: none; }
.nav-eng .head-search { margin-left: auto; }
.nav-eng .head-search + .lang-switch { margin-left: 8px; }

/* Schaltflächen und Suche */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); }
.search-field { position: relative; flex: 1; }
.search-field svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; }
.search-field input { width: 100%; font: inherit; padding: 12px 14px 12px 44px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.search-field input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }

/* Startseite */
.hero { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; padding: clamp(56px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 60%; height: 140%; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.07) 46px 50px); transform: skewX(-20deg); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
/* Hero mit Foto und Parallax: Bild ist höher als der Bereich, damit beim Verschieben kein Rand sichtbar wird */
.hero-photo { background: var(--blue-dark); padding: clamp(72px, 10vw, 140px) 0 clamp(80px, 10vw, 150px); }
.hero-photo::after { display: none; }
.hero-photo .hero-bg { position: absolute; left: 0; top: -20%; width: 100%; height: 140%; will-change: transform; }
.hero-photo .hero-bg img, .hero-photo .hero-bg video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-photo .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,36,.9) 0%, rgba(4,24,48,.72) 42%, rgba(4,24,48,.2) 100%); }
@media (max-width: 700px) { .hero-photo .hero-shade { background: rgba(4,20,40,.72); } }

/* Hero der Startseite: volle Bildschirmhöhe, Text links, Beispiel-Autobahnschild rechts */
.hero-photo { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-h) + var(--header-gap) + clamp(40px, 6vw, 90px)) !important; display: flex; align-items: center; box-sizing: border-box; }
.hero-photo > .wrap { width: 100%; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-text .eyebrow { color: var(--yellow); font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .14em; margin: 0; }
.hero-text h1 { margin: 0; font-size: clamp(52px, 6vw, 84px); line-height: 1.05; letter-spacing: -.005em; }
.hero-text .lead { margin: 0; font-size: 20px; max-width: 52ch; color: rgba(255,255,255,.88); }
.hero-photo .hero-search { margin-top: 6px; flex-wrap: wrap; }
.hero-photo .hero-search .search-field { flex: 1 1 320px; }
.hero-photo .hero-search .search-field input { min-height: 58px; font-size: 18px; }
.hero-photo .hero-search .btn-primary { min-height: 58px; padding: 0 28px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 18px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 15px; }
.hero-links span { color: rgba(255,255,255,.75); padding: 6px 0; }
.hero-links a { color: #fff; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; text-decoration: none; }
.hero-links a:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Beispiel-Autobahnschild */
.hero-sign { flex: 1 1 360px; max-width: 440px; display: flex; flex-direction: column; padding: 30px 30px 26px; border: 4px solid #fff; border-radius: 14px; background: #06345f; color: #fff; text-decoration: none; box-shadow: 0 24px 60px rgba(0,0,0,.35); transition: translate .2s; }
.hero-sign:hover { translate: 0 -3px; color: #fff; }
.hero-sign-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 22px; letter-spacing: .04em; }
.hero-sign-top .schild { font-size: 22px; padding: 7px 12px; height: auto; }
.hero-sign-line { margin: 28px 0 4px; font-family: var(--font-head); font-size: 24px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero-sign-name { margin: 0; font-family: var(--font-head); font-size: 54px; font-weight: 700; line-height: 1; }
.hero-sign-icons { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-sign-icons li { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; background: #fff; border-radius: 6px; }
.hero-sign-icons .ico { width: 32px; height: 32px; color: var(--blue); }
.hero-sign-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 2px solid rgba(255,255,255,.3); }
.hero-sign-foot span { font-size: 15px; color: rgba(255,255,255,.75); }
.hero-sign-foot strong { font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; white-space: nowrap; }
@media (max-width: 560px) {
  .hero-sign-name { font-size: 42px; }
  .hero-photo .hero-search .search-field { flex: none; }
}
.hero .eyebrow { color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.85); }
.hero-search { display: flex; gap: 10px; max-width: 640px; margin-top: 28px; }
.hero-search .search-field input { border: none; padding-top: 14px; padding-bottom: 14px; }
.hero-search .btn-primary { background: var(--accent); color: var(--ink); }
.hero-search .btn-primary:hover { background: #ffc81f; }
@media (max-width: 560px) { .hero-search { flex-direction: column; } }
/* Kennzahlen als blaue Autobahn-Hinweisschilder */
.stats-band { padding: clamp(28px, 4vw, 44px) 0; background: var(--bg-alt); overflow: hidden; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); }
.stat-sign { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 16px; min-height: 132px; box-sizing: border-box;
  background: var(--blue); color: #fff; text-decoration: none; border-radius: 12px;
  box-shadow: inset 0 0 0 4px var(--blue), inset 0 0 0 6px #fff, 0 10px 24px rgba(0,40,70,.18);
  transition: translate .2s, box-shadow .2s; will-change: transform; }
.stat-sign:hover, .stat-sign:focus-visible { translate: 0 -3px; box-shadow: inset 0 0 0 4px var(--blue), inset 0 0 0 6px #fff, 0 16px 32px rgba(0,40,70,.26); }
.stat-ico { display: flex; align-items: center; height: 30px; }
.stat-ico .ico { width: 28px; height: 28px; color: #fff; }
.stat-ico .schild { background: #fff; color: var(--blue); font-size: .95rem; padding: 2px 9px; box-shadow: none; }
.stat-sign strong { font-family: var(--font-head); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; opacity: .92; }
.stat-arrow { position: absolute; right: 18px; top: 14px; font-size: 1.5rem; font-weight: 700; opacity: .85; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat-sign { min-height: 0; } }

.ab-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 24px; }
.ab-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.ab-tile:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(0,58,95,.08); }
.ab-text { display: flex; flex-direction: column; }
.ab-text span { color: var(--muted); font-size: .9rem; }
.arrow { margin-left: auto; color: var(--blue); }
/* Startseite: Nach Bundesland */
.bl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 24px; }
/* Bundesland-Kasten: Foto (src/images/bundeslaender/<kürzel>.webp) oder ruhige blaue Fläche, Text unten in Weiß */
.bl-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 230px; padding: 22px 24px; background: linear-gradient(160deg, #0a6aa6 0%, var(--blue) 55%, #003a5f 100%); border-radius: var(--radius); color: #fff; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.bl-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,30,50,.05) 0%, rgba(0,30,50,.4) 40%, rgba(0,30,50,.9) 100%); }
.bl-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.bl-tile:hover { box-shadow: 0 10px 28px rgba(0,58,95,.22); }
a.bl-tile:hover .bl-bg { transform: scale(1.04); }
a.bl-tile:hover a.bl-tile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.bl-name { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; line-height: 1.1; }
.bl-meta { color: rgba(255,255,255,.85); }
.bl-link { padding-top: 8px; color: var(--yellow); font-weight: 600; }
.bl-soon { min-height: 120px; background: transparent; border: 1px dashed var(--line); color: var(--ink); justify-content: center; }
.bl-soon::after { content: none; }
.bl-soon .bl-meta { color: var(--muted); }
.bl-soon .bl-name { font-size: 1.3rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .bl-bg, .bl-flag, .bl-tile { transition: none; } a.bl-tile:hover .bl-bg, a.bl-tile:hover .bl-flag { transform: none; } }
.service-links { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.service-links a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 500; }
.service-links a:hover { border-color: var(--blue); color: var(--blue); }
.ico { width: 22px; height: 22px; flex: none; color: var(--blue); }

/* Seitenkopf */
.page-head { padding-top: 32px; padding-bottom: 24px; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.page-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.ab-head { display: flex; align-items: center; gap: 16px; }
.ab-head .schild { font-size: 1.4rem; }
.ab-head .page-title { margin: 0; }
.strecke { color: var(--muted); font-weight: 500; margin-top: 10px; }

/* Übersicht mit Filtern */
.rs-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; max-height: calc(100vh - 100px); overflow: auto; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.filters legend { font-weight: 700; margin-bottom: 6px; }
.f-label { display: grid; gap: 6px; font-weight: 700; }
.f-label select { font: inherit; font-weight: 400; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.f-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.f-check input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.f-check .ico { width: 18px; height: 18px; }
@media (max-width: 900px) { .rs-layout { grid-template-columns: 1fr; } .filters { position: static; max-height: none; } .filters fieldset { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.search-status { color: var(--muted); margin: 0 0 14px; min-height: 1.5em; }
.empty { padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.hinweis { color: var(--muted); font-size: .9rem; margin-top: 20px; }

/* Karten */
.rs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.rs-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.rs-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(0,58,95,.09); transform: translateY(-2px); }
.rs-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rs-card h3 { margin: 0; }
.rs-lage { color: var(--muted); margin: 0; font-size: .95rem; }
.rs-typ { margin: 0; font-size: .85rem; color: var(--muted); }
.rs-noch { margin: 10px 0 0; font-size: .85rem; color: var(--muted); font-style: italic; }
.rs-icons { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rs-icons li { display: inline-flex; padding: 5px; background: var(--blue-soft); border-radius: 6px; }
.rs-icons .ico { width: 18px; height: 18px; }
.rs-icons-lg li { gap: 6px; align-items: center; padding: 6px 10px; font-size: .9rem; }
.rel-dir { font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.preis { font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); }
.preis-guenstig { background: #e3f4ea; color: var(--green); }
.preis-mittel { background: #fdf3d6; color: #7a5a00; }
.preis-teuer { background: #fbe4e2; color: var(--red); }

/* Detailseite */
.rs-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: 48px; }
.rs-media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin: 0; background: var(--bg-alt); }
.rs-media img { width: 100%; height: 100%; object-fit: cover; }
.rs-media-ph { position: relative; }
/* Platzhalter-Kennzeichnung im Stil eines blauen Autobahn-Hinweisschilds */
.ph-sign { position: absolute; left: 16px; bottom: 16px; padding: 7px 16px 6px; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 0 4px #fff, 0 4px 14px rgba(0,0,0,.3); line-height: 1.2; }
.rs-kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 14px; }
.status-hint { display: inline-block; margin-top: 16px; padding: 6px 12px; background: #fdf3d6; color: #7a5a00; border-radius: 6px; font-size: .9rem; }
@media (max-width: 860px) { .rs-hero { grid-template-columns: 1fr; } }
.rs-body { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 860px) { .rs-body { grid-template-columns: 1fr; } }
.rs-body h2 { margin-top: 1.2em; }
.rs-body h2:first-child { margin-top: 0; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.svc { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.svc-name { font-weight: 600; }
.svc-state { margin-left: auto; font-size: .8rem; color: var(--muted); text-align: right; }
.svc-ja { border-color: #b9dcc7; }
.svc-ja .svc-state { color: var(--green); font-weight: 700; }
.svc-nein { opacity: .55; }
.svc-nein .ico, .svc-offen .ico { color: var(--muted); }
.svc-offen .svc-name { color: var(--muted); font-weight: 500; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.aside-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.aside-card h2 { font-size: 1.2rem; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { color: var(--muted); font-weight: 500; width: 42%; padding-right: 12px; }

/* Fuß */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 48px 0 24px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
.footer-bottom a { color: #fff; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Bremen: Kasten ohne Link (keine Raststätte) – gedämpft */
.bl-none{cursor:default;filter:saturate(.55)}
.bl-none::after{background:linear-gradient(180deg,rgba(0,30,50,.25) 0%,rgba(0,30,50,.6) 40%,rgba(0,30,50,.92) 100%)}

/* ---------- Karte ---------- */
.map-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.map-box { position: relative; width: 100%; max-width: 680px; }
.map { display: block; width: 100%; height: auto; overflow: visible; }
.map-land { fill: #e7eef4; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; transition: fill .15s; }
.map-land:hover { fill: #dbe6ef; }
.map-pt circle { fill: var(--blue); stroke: #fff; stroke-width: 1.3; transition: r .12s, fill .12s; cursor: pointer; }
.map-pt:hover circle, .map-pt:focus-visible circle { fill: var(--yellow); stroke: var(--ink); r: 6.5; }
.map-pt:focus { outline: none; }
.map-tip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); background: var(--blue-dark, #00385f); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 5; }
.map-tip strong { display: block; font-family: var(--font-head); font-size: 17px; letter-spacing: .01em; }
.map-tip span { opacity: .8; }
.map-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: inherit; }

/* ---------- Tipps ---------- */
.tipp-tiles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.tipp-tiles li { display: flex; }
@media (max-width: 860px) { .tipp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tipp-tiles { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.tipp-tiles a { flex: 1; min-height: 64px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, background .15s; }
.tipp-tiles a:hover { border-color: var(--blue); background: var(--blue-soft); }
.tipp-tiles .ico { width: 26px; height: 26px; color: var(--blue); flex: none; }
.tipp-wrap { max-width: 860px; display: flex; flex-direction: column; gap: 24px; }
.tipp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); scroll-margin-top: calc(var(--header-h, 64px) + 16px); }
.tipp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.tipp-head h2 { margin: 0; }
.tipp-ico { width: 44px; height: 44px; padding: 9px; border-radius: 10px; background: var(--blue); color: #fff; flex: none; box-sizing: border-box; }
.tipp-text { font-size: 1.05rem; }
.tipp-list { padding-left: 1.2em; margin: 14px 0 0; display: grid; gap: 8px; }
.tipp-list li::marker { color: var(--blue); }
.tipp-table { margin: 16px 0 6px; width: 100%; }
.tipp-check { list-style: none; padding: 0; margin: 16px 0 6px; display: grid; gap: 6px; }
.tipp-check label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 12px; border-radius: 8px; background: var(--bg-alt); cursor: pointer; }
.tipp-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.tipp-check input:checked + span { text-decoration: line-through; color: var(--muted); }
.tipp-wussten { margin-top: 18px; padding: 14px 18px; border-radius: 10px; background: #fff6cc; border-left: 5px solid var(--yellow); }
.tipp-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.btn-sm { padding: 7px 14px; font-size: .95rem; }
.tipp-quellen ul { padding-left: 1.2em; display: grid; gap: 4px; }
.tipp-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tipp-teaser .tipp-tiles { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tipp-tiles span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 860px) { .tipp-teaser { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .tipp-teaser .tipp-tiles { grid-template-columns: minmax(0, 1fr); } }
@media print { .site-header, .site-footer, .tipp-tiles, .tipp-links { display: none; } .tipp { break-inside: avoid; border: 0; } }

.rs-hotel { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0 0 8px; }
.rs-hotel .ico { width: 24px; height: 24px; color: var(--blue); flex: none; }

/* ---------- Impressum, Datenschutz, Kontakt ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover, .footer-legal a[aria-current] { text-decoration: underline; }
.legal { max-width: 820px; }
.legal-sec { margin: 0 0 30px; padding: 0; }
.legal-sec h2 { font-size: 1.3rem; margin: 0 0 .5em; }
.legal-sec p { margin: 0 0 .8em; line-height: 1.65; max-width: 72ch; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.legal-table { margin-top: 8px; }
.legal-table th { width: 1%; white-space: nowrap; padding-right: 28px; }
mark.ph { background: #fff3c4; color: #6b4e00; border-radius: 3px; padding: 0 3px; }
.kontakt-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.kontakt-grid h2 { font-size: 1.3rem; margin: 0 0 16px; }
.kontakt-grid h3 { font-size: 1rem; margin: 20px 0 6px; }
.kontakt-form label { display: block; font-weight: 600; margin-bottom: 14px; }
.kontakt-form .opt { font-weight: 400; color: var(--muted); }
.kontakt-form input, .kontakt-form select, .kontakt-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; font-weight: 400;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; }
.kontakt-form textarea { resize: vertical; min-height: 140px; }
.kontakt-form input:focus, .kontakt-form select:focus, .kontakt-form textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue-soft); }
.form-error { color: #b3261e; font-weight: 600; margin: 0 0 12px; }
.kontakt-mail { font-size: 1.1rem; font-weight: 600; word-break: break-word; }
@media (max-width: 800px) { .kontakt-grid { grid-template-columns: 1fr; } .legal-card { padding: 20px; } }

/* ---------- Cookie-Hinweis (Autobahnschild) ---------- */
.cookie-sign { position: fixed; z-index: 60; left: 20px; bottom: 20px; width: min(400px, calc(100% - 40px));
  transform: translateY(calc(100% + 40px)) rotate(-2deg); opacity: 0;
  transition: transform .55s cubic-bezier(.2,.9,.25,1.15), opacity .35s ease; }
.cookie-sign.is-in { transform: none; opacity: 1; }
.cs-panel { background: var(--blue); color: #fff; border-radius: 14px; padding: 18px 20px 18px;
  box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 6px #fff, 0 18px 40px rgba(0,30,60,.35); }
.cs-top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin: 2px 0 12px; border-bottom: 2px solid rgba(255,255,255,.85); }
.cs-badge { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #fff; color: var(--blue);
  font: 700 1.15rem/1 "Barlow Condensed", sans-serif; }
.cs-label { font: 700 .95rem/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.cs-title { font: 700 1.6rem/1.05 "Barlow Condensed", sans-serif; margin: 0 0 6px; }
.cs-text { margin: 0 0 16px; font-size: .95rem; line-height: 1.5; color: rgba(255,255,255,.92); }
.cs-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cs-ok { font: 700 1.05rem/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; background: #fff; color: var(--blue);
  border: 0; border-radius: 6px; padding: 11px 22px; cursor: pointer; }
.cs-ok:hover { background: var(--accent); color: #111; }
.cs-ok:focus-visible, .cs-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cs-link { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.cs-link:hover { border-bottom-color: #fff; }
@media (max-width: 560px) { .cookie-sign { left: 12px; bottom: 12px; width: calc(100% - 24px); } .cs-title { font-size: 1.4rem; } }
@media (prefers-reduced-motion: reduce) { .cookie-sign { transition: none; transform: none; } }

/* ---------- Logo (Raststätten-Guide) ---------- */
.logo { flex: none; }
.logo img { display: block; height: 40px; width: auto; max-width: none; }
@media (max-width: 700px) { .site-header .logo img { height: 34px; } }
@media (max-width: 420px) { .site-header .logo img { height: 30px; } .site-header .wrap { gap: 8px; } .lang-switch summary { padding: 7px 8px; } .lang-switch summary span { display: none; } .menu-toggle { margin-left: 6px; padding: 6px 12px; } }

/* ---------- Sprachauswahl (Header) ---------- */
.lang-switch { position: relative; margin-left: 18px; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 12px; border: 1px solid rgba(0,40,70,.14); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--blue); border-color: var(--blue); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; margin: 0; padding: 8px; list-style: none; z-index: 30;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255,255,255,.6); border-radius: 16px; box-shadow: 0 12px 28px rgba(0,30,55,.18); }
.lang-switch a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.lang-switch a:hover { background: var(--blue-soft); }
.lang-switch a[aria-current] { color: var(--blue); font-weight: 600; }
.ls-code { display: inline-grid; place-items: center; min-width: 30px; height: 22px; border-radius: 5px; background: var(--blue); color: #fff; font: 700 .75rem/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.legal-note { background: var(--blue-soft); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 28px; }

/* Bundesland-Kästen: schlichte blaue Fläche, Schrift unten */
.bl-tile:not(.has-img) { min-height: 170px; }
@media (max-width: 370px) { .site-header .logo img { height: 25px; } .site-header .wrap { padding: 0 12px; } }
@media (max-width: 340px) { .site-header .logo img { height: 22px; } .menu-toggle { padding: 5px 10px; } }

/* Bundesland-Kästen: beim Darüberfahren dunkleres Blau */
.bl-tile::after { transition: background-color .25s ease; }
a.bl-tile:hover::after, a.bl-tile:focus-visible::after { background-color: rgba(0,22,40,.42); }
@media (prefers-reduced-motion: reduce) { .bl-tile::after { transition: none; } }

/* Autobahn-Seite: Fakten und Übersicht der Anlagen */
.ab-fakten { max-width: 720px; margin: 18px 0 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px 6px; }
.ab-fakten .specs th { width: 32%; }
.ab-fakten .hinweis { margin-top: 8px; font-size: .82rem; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.ab-paare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.ab-paare th, .ab-paare td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ab-paare thead th { background: var(--blue); color: #fff; font-weight: 600; }
.ab-paare tbody th { font-weight: 600; }

/* Themen, Bundesland-Seiten, Ratgeber, Werkzeuge */
.themen-kacheln { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.themen-kacheln a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.themen-kacheln a:hover { border-color: var(--blue); color: var(--blue); }
.themen-kacheln .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--blue); }
.themen-kacheln span { font-weight: 600; }
.themen-kacheln small { color: var(--muted); }
.thema-h2 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.thema-h2 > span:not(.schild) { font-family: var(--font-body, inherit); font-weight: 500; font-size: 1rem; color: var(--muted); }
.bl-zahlen { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bl-zahlen li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--blue-soft); border-radius: 999px; font-size: .9rem; }
.bl-zahlen .ico { width: 18px; height: 18px; color: var(--blue); }
.rg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding-top: 8px; }
.rg-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.rg-card:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(0,58,95,.1); }
.rg-card .ico { width: 30px; height: 30px; color: var(--blue); }
.rg-card h2 { font-size: 1.35rem; margin: 4px 0 0; }
.rg-card p { margin: 0; color: var(--muted); }
.rg-more { margin-top: auto; padding-top: 8px; color: var(--blue); font-weight: 600; }
.rg-artikel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.rg-artikel .tipp h2 { font-size: 1.3rem; margin: 18px 0 6px; }
.rg-artikel .tipp h2:first-child { margin-top: 0; }
.rg-weiter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; position: sticky; top: calc(var(--header-h) + 2 * var(--header-gap)); }
.rg-weiter h2 { font-size: 1.1rem; margin: 0 0 10px; }
.rg-weiter ul { list-style: none; padding: 0; margin: 0; }
.rg-weiter a { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.rg-weiter li:last-child a { border-bottom: 0; }
.rg-weiter a:hover { color: var(--blue); }
.rg-weiter .ico { width: 20px; height: 20px; color: var(--blue); flex: none; }
@media (max-width: 860px) { .rg-artikel { grid-template-columns: 1fr; } .rg-weiter { position: static; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.tool-wrap { display: grid; gap: 20px; }
.tool-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 14px 0; }
.tool-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.tool-form input, .tool-form select { padding: 10px 12px; font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 160px; }
.tool-form .form-error { flex-basis: 100%; margin: 0; }
.tool-out { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.tool-out li { padding: 10px 14px; background: var(--blue-soft); border-radius: 8px; }
.tool-out li strong { display: inline-block; min-width: 54px; color: var(--blue); }
.tool-out .pp-pause { background: #fff6d6; }
.tool-out .lz-ende { background: var(--blue); color: #fff; }
.tool-out .lz-ende strong { color: #fff; }
.geo-out li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.geo-km { margin-left: auto; color: var(--muted); }
@media (max-width: 600px) { .tool-tiles { grid-template-columns: 1fr !important; } }
/* Themen-Kacheln: alle gleich hoch und gleich breit – Symbol, Name (max. 2 Zeilen), Anzahl als Plakette */
.themen-kacheln { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 72px; }
.themen-kacheln li { display: flex; }
.themen-kacheln a { flex: 1; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-rows: none; align-items: center; gap: 12px; height: 72px; padding: 0 14px 0 16px; }
.themen-kacheln .ico { grid-row: auto; }
.themen-kacheln span { line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; hyphens: auto; }
.themen-kacheln small { min-width: 38px; padding: 3px 8px; border-radius: 6px; background: var(--blue); color: #fff; font: 700 .9rem/1.2 var(--font-head); text-align: center; }
.themen-kacheln a:hover small { background: var(--blue-dark); }

/* Suche: Lupe im Header und Suchseite */
.head-search { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-left: 14px; border: 1px solid rgba(0,40,70,.14); border-radius: 50%; color: var(--ink); flex: none; }
.head-search svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.head-search:hover, .head-search[aria-current] { color: var(--blue); border-color: var(--blue); }
.head-search + .lang-switch { margin-left: 8px; }
@media (max-width: 700px) { .head-search { margin-left: auto; } .head-search + .lang-switch { margin-left: 8px; } }
@media (max-width: 420px) { .head-search { width: 32px; height: 32px; } .head-search + .lang-switch { margin-left: 4px; } .menu-toggle { margin-left: 4px !important; } }
.suche-form { max-width: 640px; margin-top: 8px; }
.suche-form .search-field input { font-size: 1.1rem; }
.s-gruppe { margin-bottom: 28px; }
.s-gruppe h2 { font-size: 1.25rem; margin: 0 0 10px; }
.s-liste { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.s-liste a { display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.s-liste a:hover { border-color: var(--blue); }
.s-liste strong { color: var(--blue); }
.s-liste span { color: var(--muted); font-size: .9rem; }

/* Raststätte: In der Nähe */
.nah-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 10px 0 6px; }
.nah-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.nah-box > .ico { width: 24px; height: 24px; color: var(--blue); }
.nah-box h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.nah-liste { margin: 0; padding-left: 18px; }
.nah-liste li { margin-bottom: 6px; line-height: 1.45; }
.nah-liste span { color: var(--muted); }
.nah-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }

/* Aktuelle Spritpreise (sprit.js) – Anzeige wie eine Preistafel */
.sprit[hidden] { display: none; }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 10px 0 6px; }
.sp-kopf { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.sp-status { font-size: .8rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.sp-status.is-open { background: #e3f3e9; color: var(--green); }
.sp-status.is-closed { background: #fbe7e6; color: var(--red); }
.sp-tab { width: 100%; border-collapse: collapse; }
.sp-tab th, .sp-tab td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.sp-tab tr:last-child th, .sp-tab tr:last-child td { border-bottom: 0; }
.sp-tab th { font-weight: 500; color: var(--muted); width: 32%; }
.sp-tab td:nth-child(2) { white-space: nowrap; padding-right: 14px; }
.sp-preis { display: inline-block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--blue-dark); font-variant-numeric: tabular-nums; line-height: 1; }
.sp-preis sup { font-size: .55em; vertical-align: .6em; margin-left: 1px; }
.sp-nah { font-size: .9rem; color: var(--green); }
.sp-fuss { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 560px) { .sp-tab tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); } .sp-tab tr:last-child { border-bottom: 0; } .sp-tab th, .sp-tab td { border-bottom: 0; } .sp-tab td:nth-child(2) { padding-right: 0; } .sp-tab td.sp-nah { grid-column: 1 / -1; padding-top: 0; } }

/* Baustellen, Sperrungen, Lkw-Stellplätze (verkehr.js) */
.verkehr[hidden] { display: none; }
.vk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 10px 0; }
.vk-kopf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0; }
.vk-kopf svg { width: 22px; height: 22px; color: var(--blue-dark); flex: none; }
.vk-zahl { color: var(--muted); font-size: .9rem; margin-left: auto; }
.vk-live { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; }
.vk-ampel, .vk-tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #eef1f5; color: var(--muted); }
.vk-ampel { font-size: .95rem; padding: 4px 12px; }
.is-frei { background: #e3f3e9; color: var(--green); }
.is-knapp { background: #fff1d6; color: #8a5a00; }
.is-voll { background: #fbe7e6; color: var(--red); }
.vk-zeit, .vk-hinweis, .vk-leer { font-size: .85rem; color: var(--muted); }
.vk-hinweis, .vk-leer { margin: 10px 0 0; }
.vk-liste { list-style: none; margin: 12px 0 0; padding: 0; }
.vk-liste li { padding: 12px 0; border-top: 1px solid var(--line); }
.vk-liste p { margin: 0; }
.vk-marken { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 4px !important; }
.vk-typ { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: .85rem; }
.vk-typ svg { width: 16px; height: 16px; }
.vk-baustelle { color: #8a5a00; }
.vk-sperrung { color: var(--red); }
.vk-km { margin-left: auto; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.vk-titel span { color: var(--muted); }
.vk-text { font-size: .9rem; margin-top: 4px !important; }
.vk-liste .vk-zeit { margin-top: 4px; }

/* Mobil: Kopfzeile darf nie breiter als der Bildschirm werden. Das Logo gibt als Erstes nach. */
.site-header .logo { flex: 0 1 auto; min-width: 0; }
.site-header .logo img { display: block; max-width: 100%; object-fit: contain; object-position: left center; }
.site-header .head-search, .site-header .lang-switch, .site-header .menu-toggle { flex: none; }
.site-header .menu-toggle { white-space: nowrap; }
@media (max-width: 420px) { .site-header .wrap { padding: 0 12px; } }
/* Sicherheitsnetz gegen seitliches Scrollen (clip bricht anders als hidden das Sticky-Verhalten nicht) */
html, body { overflow-x: clip; }

/* Startseite kompakt: Autobahnen als Schilder, flachere Bundesland-Kacheln */
.ab-chips { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.ab-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px 9px 9px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--muted, #5b6670); font-size: .9rem; font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s, translate .15s; }
.ab-chip .schild { font-size: .95rem; }
.ab-chip:hover, .ab-chip:focus-visible { border-color: var(--blue); box-shadow: 0 6px 16px rgba(0,58,95,.1); translate: 0 -2px; }
.ab-chips-hinweis { margin: 12px 0 0; font-size: .85rem; color: var(--muted, #5b6670); }
.home-bl .bl-tiles { gap: 12px; }
.home-bl .bl-tile, .home-bl .bl-tile:not(.has-img) { min-height: 128px; padding: 18px 20px; }
@media (max-width: 420px) { .ab-chips { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .ab-chip { transition: none; } .ab-chip:hover { translate: none; } }
@media (max-width: 600px) {
  .home-bl .bl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-bl .bl-tile, .home-bl .bl-tile:not(.has-img) { min-height: 96px; padding: 14px 14px; gap: 4px; }
  .home-bl .bl-name { font-size: 1.15rem; overflow-wrap: anywhere; hyphens: auto; }
  .home-bl .bl-meta { font-size: .8rem; }
  .home-bl .bl-link { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-sign { min-height: 0; padding: 14px 16px 12px; }
}

/* Jetzt geöffnet */
.offen { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; line-height: 1.2; padding: 3px 9px 3px 8px; border-radius: 999px; white-space: nowrap; }
.offen::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.offen.is-offen { background: #e3f4e8; color: #17703a; }
.offen.is-bald { background: #fff1d6; color: #8a5a00; }
.offen.is-zu { background: #eceff2; color: #59636d; }
.rs-card-top .offen { white-space: normal; text-align: right; }
.rs-offen { margin: 4px 0 14px; }
.rs-offen .offen { font-size: .9rem; padding: 5px 12px 5px 10px; }

/* Startseite: Standort und Streckenplaner */
.hero-geo { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.btn-geo { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-geo:hover, .btn-geo:focus-visible { background: #fff; color: var(--blue); border-color: #fff; }
.btn-geo .ico { width: 20px; height: 20px; color: inherit; }

/* In meiner Nähe / Streckenplaner */
.nz-wrap, .sp-wrap { max-width: 880px; }
#nz-btn { display: inline-flex; align-items: center; gap: 8px; }
#nz-btn .ico { width: 20px; height: 20px; color: inherit; }
.nz-filter { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 18px 0 8px; }
.nz-filter legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.nz-filter label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .92rem; }
.nz-filter label:has(input:checked) { border-color: var(--blue); background: #e8f1f8; }
.nz-filter input { accent-color: var(--blue); margin: 0; }
.nz-filter .ico { width: 18px; height: 18px; color: var(--blue); }
.nz-dot { width: 9px; height: 9px; border-radius: 50%; background: #17703a; }
.nz-liste, .sp-liste { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.nz-rs { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.nz-km { flex: none; width: 74px; font-size: .8rem; color: var(--muted); line-height: 1.2; }
.nz-km strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.nz-rs > .schild { flex: none; margin-top: 2px; }
.nz-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.nz-text a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.nz-text a:hover { color: var(--blue); text-decoration: underline; }
.nz-lage { font-size: .88rem; color: var(--muted); }
.nz-icons { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.nz-icons > span { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; background: #e8f1f8; border-radius: 6px; color: var(--blue); }
.nz-icons .ico { width: 16px; height: 16px; }
.sp-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.sp-form label { flex: 1 1 180px; }
.sp-form select { width: 100%; }
.sp-anlage { display: flex; gap: 14px; }
.sp-km { flex: none; width: 64px; padding-top: 14px; font-size: .8rem; color: var(--muted); text-align: right; }
.sp-km strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.sp-inhalt { flex: 1; min-width: 0; border-left: 3px solid var(--blue); padding: 10px 0 4px 16px; }
.sp-inhalt h3 { margin: 4px 0 10px; }
.sp-inhalt h3 span { font-weight: 400; font-size: .9rem; color: var(--muted); font-family: var(--font-body, inherit); }
.sp-inhalt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-abstand { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) {
  .nz-rs { flex-wrap: wrap; gap: 8px 10px; padding: 12px; }
  .nz-km { width: auto; }
  .nz-km strong { display: inline; font-size: 1.2rem; }
  .nz-text { flex-basis: 100%; }
  .sp-anlage { gap: 8px; }
  .sp-km { width: 44px; }
  .sp-inhalt { padding-left: 10px; }
}

/* Ladesäulen (Ladesäulenregister) */
.ld-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 8px; }
.ld-zahlen { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ld-zahlen div { display: flex; flex-direction: column; }
.ld-zahlen strong { font-family: var(--font-head); font-size: 1.8rem; line-height: 1.1; color: var(--blue); }
.ld-zahlen span { font-size: .85rem; color: var(--muted); }
.ld-stecker { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ld-stecker > span:first-child { font-weight: 600; margin-right: 4px; }
.ld-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e8f1f8; color: var(--blue); font-size: .85rem; font-weight: 600; }
.ld-betreiber { list-style: none; margin: 14px 0 6px; padding: 0; border-top: 1px solid var(--line); }
.ld-betreiber li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ld-betreiber li span:last-child { color: var(--muted); white-space: nowrap; }

/* Ferien und Reisewellen */
.ferien-wrap { max-width: 980px; }
.ferien-wrap h2 { margin-top: 36px; }
.ferien-wrap h2:first-child { margin-top: 0; }
.fj-liste { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.fj-liste li { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 8px; }
.fj-liste li.is-ferien { border-left-color: var(--yellow); background: #fffbea; }
.fj-land { font-weight: 700; }
.fj-status { font-size: .9rem; color: var(--muted); }
.is-ferien .fj-status { color: var(--ink); }
.rw-liste { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.rw { display: grid; grid-template-columns: 200px 1fr; gap: 6px 18px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 6px solid #9fb8cb; border-radius: 8px; }
.rw.is-mittel { border-left-color: #f2a900; }
.rw.is-stark { border-left-color: #d64545; }
.rw-datum strong { display: block; }
.rw-n { display: inline-block; margin-top: 4px; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #e8eef3; color: #3c5568; }
.is-mittel .rw-n { background: #fff1d6; color: #8a5a00; }
.is-stark .rw-n { background: #fde4e4; color: #a12a2a; }
.rw-text p { margin: 0 0 4px; font-size: .95rem; }
.rw-label { font-weight: 600; }
.rw-art { color: var(--muted); font-size: .85rem; }
.gantt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 10px; margin-top: 12px; }
.gt-monate { position: relative; height: 22px; margin-left: 190px; border-bottom: 1px solid var(--line); }
.gt-monate span { position: absolute; top: 0; font-size: .8rem; color: var(--muted); padding-left: 4px; border-left: 1px solid var(--line); height: 22px; text-transform: capitalize; }
.gantt ul { list-style: none; margin: 6px 0 0; padding: 0; }
.gantt li { display: flex; align-items: center; height: 30px; }
.gt-land { flex: none; width: 190px; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 10px; }
.gt-spur { position: relative; flex: 1; height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(100%/12 - 1px), #f0f3f5 calc(100%/12 - 1px) calc(100%/12)); }
.gt-bar { position: absolute; top: 0; bottom: 0; background: var(--blue); color: #fff; border-radius: 5px; font-size: .72rem; line-height: 22px; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ferien-alle { margin-top: 28px; }
.ferien-alle summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.ferien-tabelle { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .88rem; background: #fff; }
.ferien-tabelle th, .ferien-tabelle td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
.ferien-tabelle thead th { background: var(--blue); color: #fff; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .rw { grid-template-columns: 1fr; }
  .gt-monate { margin-left: 92px; }
  .gt-land { width: 92px; font-size: .78rem; }
  .gt-bar { font-size: 0; padding: 0; }
}
.offline-liste { list-style: none; padding: 0; margin: 12px 0 24px; display: grid; gap: 6px; }
.offline-liste a { display: block; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.offline-liste a:hover { border-color: var(--blue); }

/* Fester Standort-Button (nur Handy): führt zu „Raststätten in meiner Nähe“ */
.fab-naehe { display: none; }
@media (max-width: 760px) {
  .fab-naehe { display: grid; place-items: center; position: fixed; z-index: 50; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; border: 2px solid #fff;
    box-shadow: 0 6px 18px rgba(0, 30, 60, .35); }
  .fab-naehe .ico { width: 26px; height: 26px; color: #fff; }
  .fab-naehe:active { transform: scale(.94); }
  .fab-naehe:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .site-footer { padding-bottom: 88px; }
}
@media print { .fab-naehe { display: none !important; } }

/* Kopfbild ohne Foto: Autobahnschild mit Lagekarte */
.rs-media.sk { margin: 0; display: flex; flex-direction: column; padding: 22px 24px 20px; border-radius: 14px; border: 4px solid #fff; outline: 1px solid var(--line);
  background: #06345f; color: #fff; box-shadow: 0 18px 40px rgba(0, 30, 60, .22); aspect-ratio: auto; }
.sk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .04em; }
.sk-top .schild { font-size: 1.15rem; padding: 6px 11px; height: auto; border-color: #fff; }
.sk-typ { margin: 16px 0 2px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.sk-name { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.02; }
.sk-karte { position: relative; margin-top: 16px; border-radius: 8px; overflow: hidden; background: #0a4677; aspect-ratio: 170 / 96; }
.sk-karte > svg:first-child { display: block; width: 100%; height: 100%; }
.sk-linie { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.sk-stadt { fill: rgba(255,255,255,.85); }
.sk-lbl-stadt { font-weight: 500; fill: rgba(255,255,255,.85); font-size: 4.2px; }
.sk-dot-x { fill: rgba(255,255,255,.35); }
.sk-dot-a { fill: #fff; }
.sk-ring { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .9; }
.sk-hier { fill: var(--accent); stroke: #06345f; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sk-lbl { font-family: var(--font-body, sans-serif); font-size: 4.6px; font-weight: 600; fill: #fff; paint-order: stroke; stroke: #06345f; stroke-width: 1.2px; stroke-linejoin: round; }
.sk-mini { position: absolute; right: 8px; bottom: 8px; width: 15%; min-width: 46px; height: auto; }
.sk-mini rect { fill: none; stroke: var(--accent); stroke-width: 14; }
.sk-bl { position: absolute; left: 10px; top: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.8); }
.sk-icons { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.sk-icons li { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: #fff; border-radius: 6px; }
.sk-icons .ico { width: 25px; height: 25px; color: var(--blue); }
.sk-foot { margin: 14px 0 0; padding-top: 12px; border-top: 2px solid rgba(255,255,255,.3); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .03em; }
/* Handy: Überschrift steht direkt darunter – Name im Schild nicht doppelt */
@media (max-width: 860px) { .sk-typ, .sk-name { display: none; } .sk-karte { margin-top: 14px; } }
@media (max-width: 560px) { .rs-media.sk { padding: 16px 16px 14px; } .sk-icons li { width: 34px; height: 34px; } .sk-icons .ico { width: 21px; height: 21px; } }
/* Kontaktformular: Fangfeld für Spam-Programme (für Menschen unsichtbar) und Dankeschön */
.kontakt-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-danke h2 { color: var(--blue); }
.kontakt-danke:focus { outline: none; }
