/* site-chrome.css — Kopf- und Fussbereich der Website fuer ALLE Gastseiten
   der Buchung (Suche, Kasse, Gaestekonto, Karte, Warteliste, Gruppen).

   Warum es das gibt: Die Buchung lief bis 11.08.2026 in einem iframe auf
   campingamsee.com/buchung-2027/. Beim Sprung in die Kasse und ins Konto
   verliess sie diesen Rahmen (E-A167/E-A174) — der Gast stand ab Schritt 3
   von 9 auf einer nackten Seite ohne Logo, Menue und Impressum, also genau
   dort, wo er Daten eingibt und bezahlt. Statt den Rahmen zu reparieren
   (geht nicht: Lax-Cookies + Safari blockt Dritt-Cookies, siehe E-A167)
   bekommt die Buchung den Kopf und Fuss der Website selbst.

   Eigene Klassen mit Praefix cas- und KEINE header/footer-Elemente: mehrere
   Gastseiten haben schon eigene header{}/footer{}-Regeln, die sonst greifen.
   Farben sind bewusst hartkodiert (nicht var(--gold) o.ae.), weil nicht jede
   Seite dieselben Variablen definiert — eine Datei, ein Aussehen. */

.cas-top{background:#fff;border-bottom:1px solid #e5dccd;font:400 15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#1a1a1a}
.cas-top-bar{max-width:1080px;margin:0 auto;padding:10px 18px;display:flex;align-items:center;gap:14px;min-width:0}
.cas-top-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;min-width:0}
.cas-top-brand img{height:40px;width:auto;display:block}
.cas-top-ti{font-weight:700;font-size:15px;letter-spacing:.2px;min-width:0}
.cas-top-ti small{display:block;font-weight:400;color:#656761;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase}
.cas-top-nav{display:flex;align-items:center;gap:18px;margin-left:auto}
.cas-top-nav a{color:#656761;text-decoration:none;font-size:13.5px;font-weight:600;letter-spacing:.02em;white-space:nowrap}
.cas-top-nav a:hover{color:#6f5322}
.cas-top-konto{border:1.5px solid #e5dccd;color:#656761;font-size:13px;font-weight:700;letter-spacing:.1px;padding:8px 13px;border-radius:99px;text-decoration:none;background:#fff;white-space:nowrap}
.cas-top-konto:hover{border-color:#8a6a2f;color:#6f5322;background:#f6f0e4}

/* Auf schmalen Geraeten treten die Menuepunkte zurueck: der Gast ist im
   Buchungsvorgang, Logo und Konto reichen. Die Links stehen unten im Fuss. */
@media(max-width:820px){
  /* :not(.cas-top-konto) ist entscheidend — der Konto-Zugang muss auf dem
     Handy bleiben, dort kommt die Mehrheit der Gaeste her. */
  .cas-top-nav a:not(.cas-top-konto){display:none}
  .cas-top-brand img{height:36px}
  .cas-top-ti{font-size:14.5px;flex:1}
  .cas-top-ti small{font-size:11.5px}
}

.cas-bot{background:#f6f3ee;border-top:1px solid #e5dccd;margin-top:40px;font:400 14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#656761}
.cas-bot-in{max-width:1080px;margin:0 auto;padding:30px 18px 22px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:26px}
.cas-bot h3{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#1a1a1a;margin:0 0 10px}
.cas-bot ul{list-style:none;margin:0;padding:0}
.cas-bot li{margin:0 0 6px}
.cas-bot a{color:#656761;text-decoration:none}
.cas-bot a:hover{color:#6f5322;text-decoration:underline}
.cas-bot-name{font-weight:700;color:#1a1a1a;font-size:15px;margin:0 0 6px}
.cas-bot-note{max-width:1080px;margin:0 auto;padding:0 18px 26px;font-size:12.5px;color:#8d8a83}
.cas-bot-rule{max-width:1080px;margin:0 auto;padding:0 18px}
.cas-bot-rule hr{border:0;border-top:1px solid #e5dccd;margin:4px 0 14px}

/* Unterste Zeile: Hinweis links, Umsetzer-Badge rechts; bricht mobil um. */
.cas-bot-last{max-width:1080px;margin:0 auto;padding:0 18px 26px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px}
.cas-bot-last .cas-bot-note{margin:0;padding:0;max-width:none}
.cas-bot a.cas-bot-made{display:inline-flex;align-items:center;gap:8px;opacity:.55;transition:opacity .15s ease;color:#656761;text-decoration:none}
.cas-bot a.cas-bot-made:hover,.cas-bot a.cas-bot-made:focus-visible{opacity:1;color:#656761;text-decoration:none}
.cas-bot-made span{font:500 10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;text-transform:uppercase;letter-spacing:.16em}
.cas-bot-made img{height:16px;width:auto;display:block}

@media(max-width:820px){
  .cas-bot-in{grid-template-columns:1fr 1fr;gap:20px;padding:24px 16px 18px}
  .cas-bot-in>div:first-child{grid-column:1 / -1}
  .cas-bot-note{padding:0 16px 22px}
  .cas-bot-rule{padding:0 16px}
  .cas-bot-last{padding:0 16px 22px}
}
@media(max-width:430px){
  .cas-bot-in{grid-template-columns:1fr}
}

/* Drucken: Kopf und Fuss gehoeren nicht auf Rechnung/Campingpass. */
@media print{.cas-top,.cas-bot{display:none}}

/* Uebergangszustand: im fremden Rahmen steht nur der Konto-Zugang, buendig
   rechts. Faellt weg, sobald die WordPress-Seite auf Weiterleitung umgestellt
   ist (dann greift der Rahmen-Zweig in site-chrome.js nicht mehr). */
.cas-top-schmal{background:transparent;border-bottom:0}
.cas-top-schmal .cas-top-bar{padding:8px 18px;justify-content:flex-end}
