/* Ferienfibel – Markenfarben für das West-Labs-Design-Kit 2, Welt welt-geschenk (nur Variablen, Kontraste in DESIGN.md) */
:root {
  --marke: #2f6b4f;          /* auf Weiß 6,29:1, auf --grund 5,94:1, auf --flaeche 5,37:1 */
  --marke-dunkel: #24533d;   /* auf --marke-hell 7,48:1 */
  --marke-hell: #e4efe7;
  --akzent: #e0a100;         /* nur Fokusrahmen, nie Text */
}
/* welt-geschenk setzt --radius-klein auf 999px (runde Knöpfe); Kästen mit mehreren Zeilen bleiben bei 14px */
.hinweis { border-radius: 0 14px 14px 0; }

/* Startseite: Abstand zwischen Preiskarten und Bestellknopf */
#bestellen { margin-top: 2rem; }

/* Ratgeber: Vorlage zum Kopieren */
.vorlage-text { white-space: pre-wrap; background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 1.25rem; font-family: var(--schrift-mono); font-size: .92rem; line-height: 1.55; max-width: var(--lesebreite); overflow-wrap: anywhere; }

/* Werkzeuge: Checkliste zum Abhaken (Kästchen mit großer Tippfläche) und Druckansicht */
.check { list-style: none; padding-left: 0; }
.check li { margin: .5rem 0; }
.check label { display: block; position: relative; padding-left: 2rem; font-weight: 400; cursor: pointer; }
.vorlage-form .check li { margin: 0; }
.vorlage-form .check label { padding-block: .625rem; }
.vorlage-form .check input { top: .875rem; }
.check input { position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0; accent-color: var(--marke); }
@media print { .nicht-drucken { display: none !important; } .abschnitt { padding: 0; background: none; } .karte { break-inside: avoid; box-shadow: none; } }

/* Werkzeuge: Gästemappe-Vorlage (Formular links, Vorschau als Blatt rechts; am Handy untereinander) */
.vorlage-raster { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; margin-top: 1.25rem; }
.vorlage-form fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.vorlage-form legend { font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.2rem; margin-bottom: .75rem; padding: 0; }
.vorlage-form .feld { margin-bottom: 1rem; }
.vorlage-form .feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vorlage-form textarea { min-height: 5.5rem; resize: vertical; }
.vorlage-ausgabe { position: sticky; top: 1rem; }
.vorlage-ausgabe-titel { margin-bottom: .5rem; font-weight: 600; }
.mappe-blatt { background: #fff; box-shadow: var(--schatten), 0 0 0 1px var(--linie); border-radius: 4px; padding: clamp(1.25rem, 4vw, 2.25rem); }
@media (min-width: 760px) { .mappe-blatt { max-height: 80vh; overflow: auto; } }
.mappe-blatt section { padding: .9rem 0; border-bottom: 1px solid var(--linie); break-inside: avoid; }
.mappe-blatt section:last-child { border-bottom: 0; }
.mappe-blatt h2 { margin-bottom: .4rem; }
.mappe-blatt h3 { color: var(--marke-dunkel); margin-bottom: .35rem; }
.mappe-blatt p { white-space: pre-line; margin-bottom: .35rem; }
.mappe-blatt ul { padding-left: 1.2rem; margin: 0; }
.mappe-blatt .deckblatt { text-align: center; padding: 1.5rem 0; }
.mappe-blatt .deckblatt p { margin-inline: auto; }
/* Startbereich: kleines Blatt als Vorschau */
.blatt { padding: 1.75rem 2rem; font-size: .9rem; max-width: 26rem; margin-inline: auto; }
.blatt p, .blatt ul { margin: 0 0 .35rem; }
.blatt ul { padding-left: 1.1rem; }
.blatt .blatt-titel { font-family: var(--schrift-kopf); font-weight: 700; font-size: 1.5rem; text-align: center; margin-bottom: .2rem; }
.blatt .blatt-gruss { text-align: center; color: var(--text-leise); margin-bottom: .9rem; }
.blatt .blatt-h { font-family: var(--schrift-kopf); font-weight: 700; color: var(--marke-dunkel); margin: .8rem 0 .2rem; border-top: 1px solid var(--linie); padding-top: .6rem; }
@media print {
  .vorlage-raster { display: block; margin: 0; }
  .vorlage-ausgabe { position: static; }
  .mappe-blatt { box-shadow: none; padding: 0; max-height: none; overflow: visible; }
  .mappe-blatt .deckblatt { break-after: page; padding-top: 30vh; border-bottom: 0; }
}

/* Werkzeuge: WLAN-QR-Code (Aushang mittig, Code höchstens 280 px; Druck: nur der Aushang mit Rahmen) */
.wlan-karte { text-align: center; }
.wlan-karte h3 { margin-bottom: .5rem; }
.wlan-karte p { margin-inline: auto; }
.wlan-qr svg { width: 100%; max-width: 280px; height: auto; display: block; margin: .5rem auto; }
.blatt.wlan-karte .wlan-qr svg { max-width: 200px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
@media print { .wlan-karte { max-width: 12cm; margin: 2cm auto; border: 2px solid #000 !important; padding: 1.5rem !important; } }

/* Startseite: drei direkte Demo-Einstiege (Abschnitt Beispiel) und Leistungen in einer Zeile (Auftrag Master 04.11.) */
.einstiege { margin-top: 1.25rem; }
.einstiege p { margin: 0 0 .4rem; font-weight: 600; font-size: .95rem; }
.einstiege ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.einstiege a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .9rem; border: 1.5px solid var(--marke); border-radius: 999px; color: var(--marke-dunkel); background: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; }
.einstiege a::after { content: "\2192"; margin-left: .4rem; }
.einstiege a:hover { background: var(--marke-hell); }
.leistungen-kurz { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.leistungen-kurz li { background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: .8rem 1rem; line-height: 1.4; }
.leistungen-kurz strong { display: block; color: var(--marke-dunkel); }

/* Kopf: Sprungziele nicht unter dem festen Kopf (mobil einzeilig mit Aufklapp-Menü aus dem Kit) */
html { scroll-padding-top: 5.5rem; }

/* Rechtstexte (Impressum, Datenschutz, AGB, Widerruf, AVV, Lizenzen): lange Wörter, Adressen und Links brechen am Handy um */
.rechtstext :is(p, li, td) { overflow-wrap: anywhere; hyphens: auto; }
.rechtstext :is(h2, h3) { overflow-wrap: anywhere; }
.rechtstext h1 { font-size: clamp(1.5rem, .6rem + 4.5vw, 3.2rem); }
.rechtstext h2 { margin-top: 2rem; }

/* App „Gästemappe erstellen“ (site/app/): Einträge als Karten, Vorschau als Handy-Rahmen, kleine Knöpfe */
.app-eintrag { border: 1px solid var(--linie); border-radius: 14px; padding: 1rem 1rem .25rem; margin-bottom: 1rem; background: #fff; }
.app-titelbild { display: block; width: 100%; max-width: 22rem; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: .25rem 0 .75rem; }
.app-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.btn-klein { min-height: 44px; padding: .4rem .9rem; font-size: .95rem; }
.app-haken { display: flex; gap: .6rem; align-items: center; } .app-haken input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--marke); }
.app-code code { font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; margin-right: .5rem; }
.app-vorschau iframe { display: block; width: 100%; height: min(78vh, 760px); border: 1px solid var(--linie); border-radius: 18px; background: #fff; }

/* Produktvorschau aus dem echten Produkt (produkt/vorschau.js): Film im Startbereich, Lieferumfang beim Preis */
.hero .film video { height: 100%; object-fit: cover; object-position: top; }
/* Der Film hat keine Tonspur (Bildschirmaufnahme): Knopf „Mit Ton“ aus Kit 2.1 ausblenden, er hätte keine Wirkung (DESIGN.md, Abweichung Kit 2 Nr. 4) */
.hero .film .film-ton { display: none; }
/* Handy: Film ohne Rahmen in voller Breite, oberer Teil in fast Originalgröße, damit der Text lesbar bleibt (Kit 2: Vorschau lesbar) */
@media (max-width: 760px) {
  .hero .vorschau .rahmen-handy { width: 100%; height: 44vh; aspect-ratio: auto; padding: 0; background: none; box-shadow: var(--schatten), 0 0 0 1px var(--linie); border-radius: var(--radius); }
  .hero .vorschau .rahmen-handy > * { border-radius: var(--radius); }
}
.lieferung-titel { margin-top: 2rem; }
.lieferung { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 2rem 1.5rem; margin: 1.25rem 0 2.5rem; align-items: start; }
.lieferung figure { margin: 0; }
.lieferung .rahmen-handy { width: min(220px, 70%); }
.lieferung .rahmen-papier { transform: none; margin-top: 1rem; }
.lieferung img { display: block; width: 100%; height: auto; }
.lieferung figcaption { text-align: center; margin-top: .9rem; font-size: .95rem; }

/* Kopf am Handy: Logo, Menü und Knopf in einer Zeile ohne abgeschnittenen Namen (Kit 2) – schmal ohne Symbol, sehr schmal nur Symbol */
@media (max-width: 420px) { .kopf .logo img { display: none; } .kopf .nav { gap: .4rem; } .kopf .menue summary { padding: 0 .6rem; } }
@media (max-width: 360px) { .kopf .logo img { display: block; flex: none; } .kopf .logo { width: 30px; flex: none; gap: 0; overflow: hidden; text-overflow: clip; } }
