/* =========================================================================
   Raus aus dem Haus – Hauptseite – Gestaltung
   Grün mit dem Rätsel-Muster als Hintergrund wie bisher, Orange wie die Tür,
   Bangers für Überschriften, Caveat Brush für Text, eigene Icons.
   Alle Farben stehen oben in :root.
   ========================================================================= */

@font-face { font-family: "Bangers"; src: url("fonts/bangers-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caveat Brush"; src: url("fonts/caveat-brush-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --seite: #2D5016;             /* Grün wie bisher (unter dem Muster) */
  --kopf-bg: rgba(22, 42, 10, .92);
  --karte-bg: rgba(20, 40, 9, .86);
  --karte-rand: rgba(232, 112, 15, .35);
  --flaeche: rgba(255, 255, 255, .07);
  --text: #FFFFFF;
  --text-leise: #D9E4CC;
  --titel: #FFFFFF;
  --orange: #E8700F;            /* die Tür im Banner */
  --orange-hell: #F7A14B;
  --knopf-text: #1B2E0B;
  --linie: rgba(255, 255, 255, .16);
  --rund: 24px;
  --f-titel: "Bangers", Impact, "Arial Black", sans-serif;
  --f-text: "Caveat Brush", "Comic Sans MS", cursive;
  --f-info: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  font-family: var(--f-text); font-size: 22px; line-height: 1.42;
  background: var(--seite) url("/assets/hintergrund-hp-neu-gedacht.png") center top / 1500px auto repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-hell); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #FFFFFF; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--titel); font-family: var(--f-titel); font-weight: 400; letter-spacing: 1px; line-height: 1.05; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange-hell); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sprunglink { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--orange); color: var(--knopf-text); padding: 10px 16px; border-radius: 10px; font: 600 15px var(--f-info); }
.sprunglink:focus { left: 16px; }

/* ------------------------------------------------------------ Kopf ---- */
.kopf { position: sticky; top: 0; z-index: 30; background: var(--kopf-bg); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); }
.kopf__leiste {
  max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 18px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
}
.marke { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; min-width: 0; }
.marke img { width: 64px; height: 64px; border-radius: 12px; flex: none; transition: transform .3s ease; }
.marke:hover img { transform: rotate(-5deg) scale(1.04); }
.marke__text { display: grid; line-height: 1.05; min-width: 0; }
.marke__name { font: 400 26px/1 var(--f-titel); letter-spacing: 1px; }
.marke__slogan { font: 600 11px/1.3 var(--f-info); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-hell); }
.navi { margin-left: auto; }
.navi__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.navi__liste a { color: var(--text); font: 400 21px/1 var(--f-titel); letter-spacing: 1px; text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; display: inline-block; }
.navi__liste a:hover, .navi__liste a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--text); }
.menue-knopf {
  display: none; margin-left: auto; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer;
  background: transparent; color: var(--text); border: 2px solid var(--text); border-radius: 999px; font: 400 20px/1 var(--f-titel); letter-spacing: 1px;
}

/* ---------------------------------------------------------- Banner ---- */
.banner { max-width: 1180px; margin: 22px auto 0; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.banner img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: var(--rund); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }

/* ----------------------------------------------------------- Seite ---- */
.seite { max-width: 980px; margin: 0 auto; padding: 26px max(16px, env(safe-area-inset-right, 0px)) 60px max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 26px; }
.bogen {
  background: var(--karte-bg); border: 1px solid var(--karte-rand); border-radius: var(--rund);
  padding: clamp(26px, 5vw, 44px) clamp(20px, 5vw, 52px); box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0;
}
.bogen--mitte { text-align: center; justify-items: center; }
.bogen > p, .bogen > ul, .bogen > ol, .absatz { max-width: 66ch; }
.bogen--mitte > p { margin-inline: auto; }
.titel { font-size: clamp(38px, 6.5vw, 60px); overflow-wrap: anywhere; -webkit-hyphens: manual; hyphens: manual; }
.zwischentitel { font-size: clamp(30px, 4.6vw, 40px); }
.kleintitel { font-size: 26px; }
.dachzeile { font: 700 13px var(--f-info); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-hell); }
.lead { font-size: 25px; }
.zitatzeile { font-size: 24px; color: var(--orange-hell); text-align: center; }
.kleingedruckt { font: 400 14px/1.55 var(--f-info); color: var(--text-leise); }
.blocksatz p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }

.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bogen--mitte .knopfreihe { justify-content: center; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 24px;
  border-radius: 999px; border: 2px solid var(--orange); cursor: pointer; text-decoration: none;
  font: 400 22px/1 var(--f-titel); letter-spacing: 1px; background: var(--orange); color: var(--knopf-text);
  transition: transform .15s ease, background .2s ease, color .2s ease;
  max-width: 100%; overflow-wrap: anywhere; text-align: center;
}
.knopf:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--knopf-text); }
.knopf:active { transform: scale(.96); }
.knopf--rand { background: transparent; color: var(--orange-hell); }
.knopf--rand:hover { background: var(--orange); border-color: var(--orange); color: var(--knopf-text); }

.liste { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.liste li::marker { color: var(--orange-hell); }

/* ------------------------------------------------------ Startseite ---- */
.vorteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px 30px; width: 100%; max-width: 820px; }
.vorteil { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; text-align: left; }
.vorteil img { width: 84px; height: 84px; border-radius: 16px; background: #FFFFFF; }
.vorteil h3 { font-size: 26px; margin-bottom: 4px; }
.kontaktzeile { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; font: 600 17px var(--f-info); }
.kontaktzeile a { color: var(--text); overflow-wrap: anywhere; }
.hoeren { display: grid; gap: 8px; justify-items: center; width: 100%; }
.hoeren audio { width: min(100%, 420px); }

.tourkacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; width: 100%; }
.tourkachel {
  display: grid; grid-template-rows: auto auto auto 1fr auto; justify-items: center; gap: 8px; padding: 22px 18px 20px;
  background: var(--flaeche); border: 2px solid var(--karte-rand); border-radius: 20px; text-align: center; color: var(--text); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.tourkachel:hover { transform: translateY(-4px) rotate(-.6deg); border-color: var(--orange); background: rgba(255, 255, 255, .11); color: var(--text); }
.tourkachel__bild { width: 150px; height: 150px; border-radius: 22px; object-fit: cover; background: rgba(255, 255, 255, .1); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.tourkachel__stadt { font: 700 12px var(--f-info); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-hell); }
.tourkachel__titel { font: 400 27px/1.05 var(--f-titel); letter-spacing: 1px; }
.tourkachel__satz { font-size: 20px; color: var(--text-leise); }
.tourkachel__knopf { margin-top: 6px; display: inline-block; padding: 7px 18px; border-radius: 999px; background: var(--orange); color: var(--knopf-text); font: 400 19px/1 var(--f-titel); letter-spacing: 1px; }

.bereiche { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; width: 100%; }
.bereich { display: block; border-radius: 22px; transition: transform .2s cubic-bezier(.2, .9, .3, 1.3); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
.bereich img { width: 100%; border-radius: 22px; }
.bereich:hover { transform: rotate(-3deg) scale(1.05); }

/* ------------------------------------------------------- Inhalte ---- */
.mit-icon { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; }
.mit-icon > img { width: 96px; height: 96px; border-radius: 18px; background: #FFFFFF; }
.kachelbild { width: min(100%, 220px); border-radius: 22px; justify-self: center; }
.person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; }
.person:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 220px; }
.person:nth-of-type(even) .person__bild { order: 2; }
.person__bild img { width: 100%; border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.person__text { display: grid; gap: 10px; }
.person__rolle { font: 700 13px var(--f-info); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-hell); }
.punkte { display: grid; gap: 16px; }
.punkt { display: grid; gap: 4px; padding: 16px 20px; border-radius: 16px; background: var(--flaeche); border-left: 4px solid var(--orange); }
.punkt h3 { font-size: 25px; }
.faq { display: grid; gap: 10px; width: 100%; }
.faq details { background: var(--flaeche); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 12px 0; font: 400 23px/1.15 var(--f-titel); letter-spacing: .5px; display: flex; gap: 12px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--orange-hell); font-size: 26px; width: 16px; flex: none; }
.faq details[open] summary::before { content: "–"; }
.faq details > *:not(summary) { margin: 0 0 14px 28px; }
.faq details > ul { padding-left: 1.1em; }
.recht h1 { font-size: clamp(34px, 5vw, 46px); }
.recht h2 { font-size: 30px; margin-top: 10px; }
.recht h3 { font-size: 24px; margin-top: 6px; }
.recht p, .recht li { font: 400 16px/1.65 var(--f-info); color: var(--text); }
.recht ul, .recht ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.recht a { color: var(--orange-hell); overflow-wrap: anywhere; }
.weiterleitung { min-height: 50vh; display: grid; place-items: center; text-align: center; }

/* ------------------------------------------------------------ Fuß ---- */
.fuss { background: var(--kopf-bg); border-top: 1px solid var(--linie); }
.fuss__innen {
  max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  padding: 24px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.fuss__logo img { width: 56px; height: 56px; border-radius: 10px; }
.fuss__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss__links a { color: var(--text); font: 400 19px/1 var(--f-titel); letter-spacing: 1px; text-decoration: none; }
.fuss__links a:hover { color: var(--orange-hell); }
.fuss__copy { margin-left: auto; font: 400 13px var(--f-info); color: var(--text-leise); }

/* ---------------------------------------------------------- Handy ---- */
@media (max-width: 900px) {
  .menue-knopf { display: inline-flex; }
  .navi { position: absolute; left: 0; right: 0; top: 100%; background: #1E3A0E; box-shadow: 0 12px 24px rgba(0,0,0,.45); border-bottom: 1px solid var(--linie); display: none; }
  .navi.navi--offen { display: block; }
  .navi__liste { flex-direction: column; padding: 10px max(16px, env(safe-area-inset-left, 0px)) 18px; gap: 2px; }
  .navi__liste a { font-size: 26px; padding: 10px 0; }
}
@media (max-width: 640px) {
  body { font-size: 21px; }
  .marke img { width: 52px; height: 52px; }
  .marke__name { font-size: 22px; }
  .marke__slogan { font-size: 9.5px; }
  .vorteil { grid-template-columns: 64px minmax(0, 1fr); }
  .vorteil img { width: 64px; height: 64px; }
  .mit-icon { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .mit-icon > img { width: 64px; height: 64px; }
  .person, .person:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .person__bild { max-width: 240px; justify-self: center; }
  .person:nth-of-type(even) .person__bild { order: 0; }
  .tourkacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tourkachel { padding: 16px 10px; }
  .tourkachel__bild { width: 110px; height: 110px; }
  .tourkachel__titel { font-size: 22px; }
  .tourkachel__satz { font-size: 17px; }
  .bereiche { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .fuss__copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
