/* camperito.de — Grundstil
   Farben angelehnt an deutsche Wegweiser: Schildergelb, Asphalt, Autobahnblau. */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --gelb: #F5C400;
  --gelb-dunkel: #D9AD00;
  --asphalt: #23272B;
  --asphalt-2: #3A4046;
  --blau: #0A5CA8;
  --papier: #F4F6F3;
  --weiss: #FFFFFF;
  --linie: #D5DAD3;
  --text-leise: #5A6168;

  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--asphalt);
  background: var(--papier);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--asphalt); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--cond); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gelb); color: var(--asphalt); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Kopfzeile ---------- */
.kopf { background: var(--asphalt); color: var(--weiss); position: sticky; top: 0; z-index: 50; }
.kopf .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--weiss); text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 1.75rem; letter-spacing: 0.01em; }
.logo:hover { color: var(--gelb); }
.logo svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: #E6E9EC; text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 4px; }
.nav a:hover { background: var(--asphalt-2); color: var(--weiss); }
.btn-kopf { background: var(--gelb); color: var(--asphalt); font-weight: 700; text-decoration: none; padding: 9px 16px; border-radius: 4px; white-space: nowrap; }
.btn-kopf:hover { background: var(--weiss); color: var(--asphalt); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--weiss); padding: 8px; cursor: pointer; }
.burger svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .kopf .wrap { gap: 12px; }
  .burger { display: block; }
  .btn-kopf { display: none; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--asphalt); flex-direction: column; padding: 8px var(--pad) 20px; border-top: 1px solid var(--asphalt-2); }
  .nav.offen { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--asphalt-2); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--asphalt); color: var(--weiss); padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { color: var(--weiss); max-width: 13ch; }
.hero-text { color: #C9CED3; font-size: 1.2rem; margin: 20px 0 32px; max-width: 46ch; }

.suche { background: var(--weiss); color: var(--asphalt); border-radius: 6px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr 110px; gap: 14px 12px; align-items: end; margin-bottom: clamp(40px, 7vw, 88px); box-shadow: 0 0 0 4px var(--gelb); }
.suche label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.suche input, .suche select { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1.5px solid var(--linie); border-radius: 4px; background: var(--weiss); color: var(--asphalt); min-height: 46px; }
.suche input:focus, .suche select:focus { border-color: var(--blau); outline: none; box-shadow: 0 0 0 3px rgba(10,92,168,.2); }
.suche .feld-ganz { grid-column: 1 / -1; }
.suche .feld-ort { grid-column: span 2; }
.suche select { appearance: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1.05rem; background: var(--blau); color: var(--weiss); border: 0; border-radius: 4px; padding: 12px 22px; min-height: 46px; cursor: pointer; text-decoration: none; }
.btn:hover { background: #084A88; color: var(--weiss); }
.suche-hinweis { grid-column: 1 / -1; font-size: 0.9rem; color: var(--text-leise); margin: 0; }

/* Wegweiser — das eine auffällige Element der Seite */
.schilder { display: flex; flex-direction: column; gap: 14px; padding-bottom: 0; position: relative; }
.mast { position: absolute; left: 50%; top: 20px; bottom: -10px; width: 18px; margin-left: -9px; background: linear-gradient(90deg, #8E969D, #C4CACF 45%, #7D858C); z-index: 0; }
.schild {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--gelb); color: var(--asphalt);
  font-family: var(--cond); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  text-decoration: none; padding: 12px 22px; border: 4px solid var(--asphalt); outline: 3px solid var(--gelb);
  border-radius: 6px; transition: transform .2s ease;
}
.schild small { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; opacity: .75; display: block; line-height: 1.1; }
.schild .pfeil { width: 40px; height: 40px; flex: none; }
.schild.links { flex-direction: row-reverse; margin-right: 14%; clip-path: polygon(0 50%, 34px 0, 100% 0, 100% 100%, 34px 100%); padding-left: 48px; border-radius: 0 6px 6px 0; outline: none; }
.schild.rechts { margin-left: 14%; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%); padding-right: 48px; border-radius: 6px 0 0 6px; outline: none; }
.schild:hover { color: var(--asphalt); transform: translateY(-3px); }
.schild:hover .ziel { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.strasse { height: 54px; background: #2F3439; border-top: 3px solid #4A5157; position: relative; margin-top: 6px; }
.strasse::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, #E9ECEF 0 46px, transparent 46px 86px); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .suche { grid-template-columns: 1fr 1fr 110px; }
  .suche .btn { grid-column: 1 / -1; }
  .schilder { max-width: 460px; }
}
@media (max-width: 520px) {
  .suche { grid-template-columns: 1fr 1fr; }
  .suche .feld-ort, .suche .feld-pers { grid-column: 1 / -1; }
  .suche .feld-pers { order: 3; }
  .suche .btn { order: 4; } .suche-hinweis { order: 5; }
  .schild.links { margin-right: 4%; } .schild.rechts { margin-left: 4%; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(56px, 8vw, 104px) 0; }
.abschnitt-kopf { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.abschnitt-kopf p { margin: 12px 0 0; color: var(--text-leise); font-size: 1.1rem; }
.weiss { background: var(--weiss); }

/* Camper-Typen: Vergleichstabelle statt Kartenraster */
.typen { width: 100%; border-collapse: collapse; }
.typen th { text-align: left; font-weight: 600; font-size: 0.95rem; color: var(--text-leise); padding: 0 16px 12px 0; border-bottom: 2px solid var(--asphalt); }
.typen td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.typen tr:hover td { background: #FBFCFA; }
.typ-name { display: flex; gap: 16px; align-items: center; min-width: 250px; }
.typ-name svg { width: 92px; height: 46px; flex: none; }
.typ-name strong { font-family: var(--cond); font-size: 1.5rem; font-weight: 700; display: block; line-height: 1.1; }
.typ-name span { color: var(--text-leise); font-size: 0.95rem; }
.zahl { font-family: var(--cond); font-weight: 600; font-size: 1.35rem; white-space: nowrap; }
.fs { display: inline-block; font-weight: 700; font-size: .85rem; padding: 2px 8px; border-radius: 3px; background: var(--papier); border: 1.5px solid var(--asphalt); white-space: nowrap; }
.fs.c1 { background: var(--gelb); }
.typen-fussnote { font-size: .95rem; color: var(--text-leise); margin-top: 20px; }

@media (max-width: 760px) {
  .typen thead { display: none; }
  .typen, .typen tbody, .typen tr, .typen td { display: block; width: 100%; }
  .typen tr { border-bottom: 1px solid var(--linie); padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .typen td { border: 0; padding: 0; }
  .typen td:first-child, .typen td:last-child { grid-column: 1 / -1; }
  .typen td[data-l]::before { content: attr(data-l); display: block; font-size: .85rem; color: var(--text-leise); }
}

/* Reiseziele */
.ziele { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--asphalt); }
.ziel-eintrag { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--linie); }
.ziel-eintrag:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--linie); }
.ziel-eintrag h3 { display: flex; align-items: baseline; gap: 10px; }
.ziel-eintrag .land { font-family: var(--sans); font-size: .9rem; font-weight: 600; background: var(--blau); color: var(--weiss); padding: 1px 7px; border-radius: 3px; }
.ziel-eintrag p { margin: 10px 0 12px; color: var(--asphalt-2); }
.ziel-eintrag .route { font-size: .95rem; color: var(--text-leise); margin: 0; }
@media (max-width: 900px) {
  .ziele { grid-template-columns: 1fr 1fr; }
  .ziel-eintrag:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .ziel-eintrag:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--linie); }
}
@media (max-width: 560px) {
  .ziele { grid-template-columns: 1fr; }
  .ziel-eintrag:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* So funktioniert's — echte Reihenfolge, daher nummeriert */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.schritte .raute { width: 46px; height: 46px; display: grid; place-items: center; background: var(--gelb); border: 3px solid var(--asphalt); transform: rotate(45deg); margin: 6px 0 24px 6px; }
.schritte .raute span { transform: rotate(-45deg); font-family: var(--cond); font-weight: 700; font-size: 1.4rem; }
.schritte h3 { margin-bottom: 10px; }
.schritte p { color: var(--asphalt-2); }
@media (max-width: 800px) { .schritte { grid-template-columns: 1fr; } }

/* Ratgeber */
.artikel-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.artikel { border-top: 4px solid var(--asphalt); padding-top: 18px; }
.artikel .kat { font-size: .9rem; font-weight: 600; color: var(--blau); margin: 0 0 8px; }
.artikel h3 { font-size: 1.6rem; margin-bottom: 10px; }
.artikel h3 a { color: var(--asphalt); text-decoration: none; }
.artikel h3 a:hover { text-decoration: underline; }
.artikel p { color: var(--asphalt-2); }
.bald { font-size: .9rem; color: var(--text-leise); }
@media (max-width: 860px) { .artikel-liste { grid-template-columns: 1fr; } }

/* Transparenz */
.transparenz { background: var(--blau); color: var(--weiss); }
.transparenz .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.transparenz svg { width: 56px; height: 56px; }
.transparenz h2 { font-size: 1.9rem; margin-bottom: 6px; }
.transparenz p { margin: 0; color: #DCE8F5; max-width: 80ch; }
@media (max-width: 600px) { .transparenz .wrap { grid-template-columns: 1fr; } }

/* Fußzeile */
.fuss { background: var(--asphalt); color: #C9CED3; padding: 56px 0 32px; font-size: .98rem; }
.fuss-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.fuss h4 { color: var(--weiss); font-family: var(--cond); font-size: 1.25rem; font-weight: 600; margin: 0 0 12px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 8px; }
.fuss a { color: #C9CED3; text-decoration: none; }
.fuss a:hover { color: var(--gelb); text-decoration: underline; }
.fuss-unten { border-top: 1px solid var(--asphalt-2); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
@media (max-width: 800px) { .fuss-grid { grid-template-columns: 1fr 1fr; } }

/* Rechtstexte */
.recht { padding: 56px 0 88px; }
.recht .wrap { max-width: 820px; }
.recht h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 28px; }
.recht h2 { font-size: 1.7rem; margin: 36px 0 12px; }
.recht .platzhalter { background: #FFF3BF; border-left: 4px solid var(--gelb-dunkel); padding: 2px 6px; }
