/* urlaub-wohnwagen.de — Stylesheet
   Nachfolger von caravandiscount.css (Domain seit 2004) */

:root {
  --gruen-900: #16301f;
  --gruen-800: #1e422b;
  --gruen-700: #2a5a3a;
  --gruen-600: #38754c;
  --gruen-100: #e6f0e9;
  --ocker: #b8802a;
  --ocker-hell: #f5ebd8;
  --sand: #faf7f1;
  --papier: #ffffff;
  --text: #23291f;
  --text-hell: #5d6659;
  --linie: #e0dcd2;
  /* Bewusst nur lokal vorhandene Schriften: keine Einbindung von Google Fonts,
     damit keine IP-Adressen an Dritte übertragen werden (DSGVO) und die Seite
     ohne blockierende externe Anfrage rendert. */
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --breite: 1140px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.schmal { max-width: 760px; }

/* ---------- Kopf ---------- */

.topbar {
  background: var(--gruen-900);
  color: #cfe0d5;
  font-size: 14px;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

header.site {
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; padding: 12px 0; }
.logo svg { flex: none; }
.logo b { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.2px; display: block; line-height: 1.15; }
.logo span { font-size: 12px; color: var(--text-hell); letter-spacing: .09em; text-transform: uppercase; }

nav.haupt ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav.haupt a {
  display: block;
  padding: 9px 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--radius);
}
nav.haupt a:hover { background: var(--gruen-100); color: var(--gruen-800); }
nav.haupt a.aktiv { color: var(--gruen-700); font-weight: 700; }

/* ---------- Laufband (Hommage an das Original von 2004) ---------- */

.laufband {
  background: var(--ocker-hell);
  border-bottom: 1px solid #e8d9b8;
  color: #6b4a12;
  font-size: 14.5px;
  padding: 9px 0;
  text-align: center;
  font-weight: 600;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-haupt { background: var(--gruen-700); color: #fff; }
.btn-haupt:hover { background: var(--gruen-800); }
.btn-zweit { background: var(--papier); color: var(--gruen-800); border-color: #bcd0c2; }
.btn-zweit:hover { border-color: var(--gruen-600); }
.btn-tel { background: var(--ocker); color: #fff; }
.btn-tel:hover { background: #9d6c1f; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--gruen-800) 0%, var(--gruen-900) 100%);
  color: #fff;
  padding: 68px 0 60px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(31px, 4.4vw, 47px);
  line-height: 1.16;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -.5px;
  max-width: 17ch;
}
.hero p.lead { font-size: 19px; color: #c8dccf; max-width: 56ch; margin: 0 0 30px; }
.hero .aktionen { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-fakten {
  display: flex; gap: 34px; flex-wrap: wrap;
  margin-top: 42px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-fakten div strong { display: block; font-family: var(--serif); font-size: 25px; color: #fff; }
.hero-fakten div span { font-size: 14px; color: #a9c4b3; }

/* ---------- Abschnitte ---------- */

section.block { padding: 62px 0; }
section.block.hell { background: var(--papier); border-block: 1px solid var(--linie); }

h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 33px);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: -.3px;
}
h3 { font-family: var(--serif); font-size: 21px; margin: 32px 0 10px; font-weight: 600; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ocker);
  margin: 0 0 9px;
}
.einleitung { font-size: 18.5px; color: var(--text-hell); max-width: 62ch; margin: 0 0 34px; }

/* ---------- Raster & Karten ---------- */

.raster { display: grid; gap: 22px; }
.raster-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.raster-3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.raster-4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }

.karte {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 26px;
}
.karte h3 { margin-top: 0; font-size: 19px; }
.karte p { margin: 0; color: var(--text-hell); font-size: 15.5px; }
.karte .nr {
  font-family: var(--serif); font-size: 13px; font-weight: 700;
  color: var(--ocker); letter-spacing: .1em; display: block; margin-bottom: 6px;
}

a.karte { text-decoration: none; color: inherit; display: block; transition: border-color .15s; }
a.karte:hover { border-color: var(--gruen-600); }
a.karte .mehr { color: var(--gruen-700); font-weight: 600; font-size: 15px; display: inline-block; margin-top: 12px; }

/* ---------- Artikel ---------- */

article.text { max-width: 760px; }
article.text p { margin: 0 0 19px; }
article.text h2 { margin-top: 44px; }
article.text h3 { margin-top: 32px; }
article.text ul, article.text ol { margin: 0 0 19px; padding-left: 22px; }
article.text li { margin-bottom: 9px; }
article.text a { color: var(--gruen-700); text-decoration: underline; text-underline-offset: 2px; }
article.text a:hover { color: var(--ocker); }

.meta { font-size: 14.5px; color: var(--text-hell); margin: 0 0 28px; }

.hinweis {
  background: var(--ocker-hell);
  border-left: 4px solid var(--ocker);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 30px 0;
  font-size: 16px;
}
.hinweis strong { display: block; margin-bottom: 5px; }
.hinweis p:last-child { margin-bottom: 0; }

.tipp {
  background: var(--gruen-100);
  border-left: 4px solid var(--gruen-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 30px 0;
  font-size: 16px;
}
.tipp strong { display: block; margin-bottom: 5px; color: var(--gruen-800); }
.tipp p:last-child { margin-bottom: 0; }

/* ---------- Tabelle ---------- */

.tab-scroll { overflow-x: auto; margin: 26px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; background: var(--papier); }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--linie); }
th { background: var(--gruen-100); font-weight: 600; color: var(--gruen-800); white-space: nowrap; }

/* ---------- Formular ---------- */

.formular { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px; }
.feld { margin-bottom: 18px; }
.feld label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid #ccc6ba; border-radius: var(--radius);
  font-family: inherit; font-size: 16px; background: #fff; color: var(--text);
}
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: 2px solid var(--gruen-600); outline-offset: 1px; border-color: var(--gruen-600);
}
.feld small { color: var(--text-hell); font-size: 13.5px; display: block; margin-top: 5px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pflicht { color: #a8332a; }
.zustimmung { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-hell); }
.zustimmung input { width: auto; margin-top: 4px; flex: none; }

/* ---------- Brotkrumen ---------- */

.krumen { font-size: 14px; color: var(--text-hell); padding: 16px 0 0; }
.krumen a { color: var(--text-hell); text-decoration: none; }
.krumen a:hover { text-decoration: underline; color: var(--gruen-700); }
.krumen span { margin: 0 7px; opacity: .5; }

/* ---------- CTA-Band ---------- */

.band {
  background: var(--gruen-800);
  color: #fff;
  padding: 52px 0;
  text-align: center;
}
.band h2 { color: #fff; }
.band p { color: #c2d8ca; max-width: 54ch; margin: 0 auto 26px; }

/* ---------- Fuß ---------- */

footer.site { background: var(--gruen-900); color: #9db4a6; padding: 54px 0 26px; font-size: 15px; }
footer.site h4 { color: #fff; font-size: 15px; margin: 0 0 13px; font-weight: 600; }
footer.site a { color: #cfe0d5; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; }
.fuss-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 34px; }
.fuss-unten {
  border-top: 1px solid rgba(255,255,255,.13);
  margin-top: 38px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 14px;
}

/* Partnerzeile im Fuß */
.partner { font-size: 14px; line-height: 1.75; }
.partner a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  header.site .wrap { min-height: 0; padding-bottom: 10px; }
  nav.haupt ul { gap: 0; }
  nav.haupt a { padding: 8px 10px; font-size: 15px; }
  .hero { padding: 46px 0 42px; }
  .feld-reihe { grid-template-columns: 1fr; }
  .hero-fakten { gap: 22px; }
}
