/* =====================================================================================
   Vorlage 30 Pension am See · Gestaltung
   Aufbau: Grundlagen · Kopf mit Kalenderstreifen · Knöpfe (Poststempel) · Postkarten und Stapel ·
   Karte 1 Tageszeit · Karte 2 Jahreszeiten · ruhige Karten (Zimmer, Frühstück, Ausflüge, Preise,
   Stimmen, Anfrage) · Auftritte · Fuß · Handy
   Bewegt wird nur transform, opacity, clip-path und stroke-dashoffset.
   ===================================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--karte-top); scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text); font-family: var(--schrift); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip;
  background: radial-gradient(120% 70% at 50% 0%, #f1eadb 0%, var(--bg) 55%, #e2d7c0 100%) fixed var(--bg);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.behaelter { width: min(100% - 40px, var(--breite)); margin-inline: auto; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-klein); background: var(--text); color: #fff; }
.sprung:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.schirm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.marke { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.leise { color: var(--muted); }
.klein { font-size: 14px; }
h1 { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
/* Handschrift-Wirkung: nur Kursiv und leichte Schrägstellung, keine Schreibschrift-Datei */
.gruss { font-style: italic; font-weight: 500; font-size: 21px; color: var(--muted); letter-spacing: .005em; transform: rotate(-1.2deg); transform-origin: left bottom; display: inline-block; margin-bottom: 10px; }
.nur-finger { display: none; }
@media (hover: none) { .nur-maus { display: none; } .nur-finger { display: inline; } }

/* ---------- Kopf mit Kalenderstreifen ---------- */
.kopf { position: sticky; top: 0; z-index: 30; height: var(--kopf); background: rgba(232, 223, 203, .94); border-bottom: 1px solid rgba(22, 48, 60, .1); }
.kopf-innen { height: 100%; display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.logo-zeichen { width: 30px; height: 30px; color: var(--accent); flex: none; }
.kalender { display: flex; margin-inline: auto; border: 1.5px solid var(--border); border-radius: 6px; background: var(--surface); overflow: hidden; }
.kalender a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 66px; height: 46px; padding: 2px 8px; border-left: 1px solid var(--border); color: var(--text); text-decoration: none; line-height: 1.1; transition: background .2s, color .2s; }
.kalender a:first-child { border-left: 0; }
.kalender a:hover { background: var(--accent-hell); }
.kalender b { font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.kalender span { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.kalender a.ist-aktiv { background: var(--accent); color: #fff; }
.kalender a.ist-aktiv span { color: rgba(255, 255, 255, .85); }
.kopf-tel { color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Knöpfe wie Poststempel: rund, zwei Ringe, Versalien ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 2px solid var(--accent); border-radius: var(--radius-rund);
  background: var(--accent); color: var(--on-accent); font: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4.5px rgba(255, 255, 255, .7); transition: transform .15s, background .2s, box-shadow .2s;
}
.knopf:hover { background: var(--accent-tief); border-color: var(--accent-tief); box-shadow: inset 0 0 0 3px var(--accent-tief), inset 0 0 0 4.5px rgba(255, 255, 255, .7); transform: translateY(1px) scale(.99); }
.knopf:active { transform: translateY(2px) scale(.975); }
.knopf-klein { min-height: 42px; padding: 0 20px; font-size: 12px; }
.knopf-leise { background: rgba(255, 253, 248, .9); color: var(--accent); box-shadow: inset 0 0 0 3px rgba(255, 253, 248, .9), inset 0 0 0 4.5px var(--accent); }
.knopf-leise:hover { background: #fff; color: var(--accent-tief); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px var(--accent-tief); }

/* =====================================================================================
   Postkarten und Stapel
   Grundform (ohne JavaScript, „starr", schmal, niedrig): Karten liegen untereinander, leicht gedreht.
   Mit html.stapel-an (js/main.js): jede Karte klebt oben, die nächste schiebt sich darüber;
   --deck (0 bis 3) macht die untere Karte kleiner und dunkler, ab 3 wird sie ausgeblendet.
   ===================================================================================== */
.stapel { position: relative; padding: var(--karte-luft) 0 0; }
.karte {
  position: relative; width: min(100% - 56px, var(--breite)); margin: 0 auto 28px; background: var(--surface); border: 1px solid #e3dbc9; border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(22, 48, 60, .05), 0 22px 60px -24px rgba(22, 48, 60, .45); transform: rotate(var(--dreh, 0deg)); transform-origin: 50% 50%;
}
.karte::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: #0d1b26; opacity: 0; pointer-events: none; }
.karte-innen { position: relative; padding: 44px 48px 40px; }
.karte-kopf { max-width: 44rem; margin-bottom: 8px; padding-right: 200px; }
.karte-kopf .leise { margin-top: 12px; }
.karte-kopf-breit { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; padding-right: 0; }
.karte-kopf-breit .leise { margin: 0; padding-right: 200px; }
.karte-fuss { margin-top: 22px; }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 52px; align-items: center; }
.zweispaltig-breit { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
.karte-text > h2 { margin-bottom: 14px; }
.karte-text > p + p, .karte-text > ul + p, .karte-text > ol + p { margin-top: 16px; }

/* Briefmarke und Poststempel oben rechts auf jeder Karte */
.karte-post { position: absolute; top: 20px; right: 24px; display: flex; align-items: flex-start; pointer-events: none; z-index: 2; }
.briefmarke { width: 62px; height: 78px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .12)); }
.poststempel { position: relative; width: 86px; height: 86px; margin: 4px 0 0 -34px; color: var(--tinte); opacity: .74; transform: rotate(-11deg); }
.poststempel svg, .mini-stempel svg, .post-stempel svg { width: 100%; height: 100%; }
.poststempel b, .mini-stempel b, .post-stempel b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.poststempel b { font-size: 13px; }
.stempel-wellen { width: 58px; height: 38px; margin: 26px 0 0 -10px; color: var(--tinte); opacity: .55; }
.karte-bild .karte-post { top: 26px; right: 30px; }
.karte-bild .poststempel, .karte-bild .stempel-wellen { opacity: .85; }
.karte-bild .poststempel::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: rgba(255, 253, 248, .78); }
.karte-bild .poststempel b { font-size: 11px; }

/* Stapel */
html.stapel-an .stapel { padding-bottom: 0; }
html.stapel-an .karte { position: sticky; top: var(--karte-top); height: var(--karte-h); margin-bottom: 0; transform: translateY(calc(var(--deck, 0) * -10px)) rotate(var(--dreh, 0deg)) scale(calc(1 - var(--deck, 0) * .04)); will-change: transform; }
html.stapel-an .karte::after { opacity: calc(var(--deck, 0) * .36); will-change: opacity; }
html.stapel-an .karte.verdeckt { visibility: hidden; }
/* die letzte Karte klebt nicht: sie zieht mit dem Fuß nach oben weg */
html.stapel-an .stapel > .karte:last-child { position: relative; top: auto; }
html.stapel-an .fuss { margin-top: 0; }
html.stapel-an .karte-innen { height: 100%; padding: 36px 44px 32px; }
html.stapel-an .karte-innen:not(.zweispaltig):not(.rueckseite):not(.jz-innen) { display: flex; flex-direction: column; justify-content: center; }
html.stapel-an .zweispaltig, html.stapel-an .rueckseite { align-content: center; }
html.stapel-an .jahreszeiten { height: calc(400vh + var(--karte-h)); }
.nur-stapel { display: none; }
html.stapel-an .nur-stapel { display: inline; }
html.stapel-an .nur-flach { display: none; }

/* =====================================================================================
   Karte 1 · Ankunft: Tageszeit ziehen
   Die Szene füllt die Bildseite der Karte. Grußzettel links unten, Uhr links oben, Regler rechts unten.
   ===================================================================================== */
.karte-bild .karte-innen { padding: 14px; }
.szene-rahmen { position: relative; height: clamp(440px, 64vh, 760px); border-radius: 3px; overflow: hidden; background: #245f82; touch-action: pan-y; cursor: ew-resize; }
html.stapel-an .szene-rahmen { flex: 1; min-height: 0; height: auto; }
.szene { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Überlagen mit den bewegten Teilen und die vier Jahreszeiten-Ebenen: eigene Compositor-Ebenen,
   die große Zeichnung darunter wird beim Scrollen nie neu gezeichnet */
.szene-ueber { pointer-events: none; max-width: none; }
.jz-ebene { will-change: opacity; }
.uhr { position: absolute; left: 24px; top: 22px; padding: 10px 16px 11px; max-width: 360px; background: rgba(255, 253, 248, .9); border-radius: 6px; border-left: 4px solid var(--accent); pointer-events: none; }
.uhr-zeit { display: flex; align-items: baseline; gap: 10px; line-height: 1; }
.uhr-zeit b { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.uhr-zeit span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.uhr-satz { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--text); font-style: italic; }
.held { position: absolute; left: 24px; bottom: 24px; width: min(500px, calc(100% - 48px)); padding: 22px 26px 24px; background: rgba(255, 253, 248, .92); border-radius: 6px; }
.held h1 { font-size: clamp(34px, 3.6vw, 48px); }
.held h1 { margin-top: 2px; }
.einleitung { margin-top: 12px; font-size: 16px; color: var(--text); max-width: 34rem; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 18px; }
.tageszeit { position: absolute; right: 24px; bottom: 24px; width: min(380px, calc(45% - 24px)); padding: 14px 18px 12px; background: rgba(255, 253, 248, .92); border-radius: 6px; }
.tageszeit-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.tageszeit-regler { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; display: block; }
.tageszeit-regler::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #0e1f3d 0%, #7d9dcb 7%, #f4cfa3 14%, #8fc1e6 32%, #8fc1e6 56%, #e8895a 74%, #2f4b86 88%, #0e1f3d 100%); }
.tageszeit-regler::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #0e1f3d 0%, #7d9dcb 7%, #f4cfa3 14%, #8fc1e6 32%, #8fc1e6 56%, #e8895a 74%, #2f4b86 88%, #0e1f3d 100%); }
.tageszeit-regler::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff4cf; border: 3px solid var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.tageszeit-regler::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff4cf; border: 3px solid var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.tageszeit-marken { display: flex; justify-content: space-between; margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }

/* Lebendige Szene (nur dynamisch, nur solange sichtbar: Klasse .lebt von JavaScript auf dem Rahmen der Szene) */
.wolke, .wellen rect, .nebel-1, .nebel-2, .nebel-3, .boot, .schwan, .flocken-a, .flocken-b, .laub-a, .laub-b { transform-box: fill-box; }
html[data-bewegung="dynamisch"] .lebt .wolke-1 { animation: treiben 110s linear infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .wolke-2 { animation: treiben 80s linear infinite alternate-reverse; }
html[data-bewegung="dynamisch"] .lebt .wolke-3 { animation: treiben 140s linear infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .wellen rect:nth-child(odd) { animation: wellen 8s ease-in-out infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .wellen rect:nth-child(even) { animation: wellen 11s ease-in-out infinite alternate-reverse; }
html[data-bewegung="dynamisch"] .lebt .sterne circle:nth-child(3n) { animation: funkeln 3.2s ease-in-out infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .sterne circle:nth-child(3n + 1) { animation: funkeln 4.1s ease-in-out .9s infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .glitzer rect { animation: funkeln 1.4s ease-in-out infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .glitzer rect:nth-child(2n) { animation-delay: .5s; }
html[data-bewegung="dynamisch"] .lebt .glitzer rect:nth-child(3n) { animation-delay: .9s; }
html[data-bewegung="dynamisch"] .lebt .nebel-1 { animation: treiben 70s linear infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .nebel-2 { animation: treiben 50s linear infinite alternate-reverse; }
html[data-bewegung="dynamisch"] .lebt .boot-1 { animation: treiben 90s linear infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .boot-2 { animation: treiben 120s linear infinite alternate-reverse; }
html[data-bewegung="dynamisch"] .lebt .schwan-1 { animation: treiben 60s linear infinite alternate; }
html[data-bewegung="dynamisch"] .lebt .flocken-a { animation: fallen 9s linear infinite; }
html[data-bewegung="dynamisch"] .lebt .flocken-b { animation: fallen 12s linear 4s infinite; }
html[data-bewegung="dynamisch"] .lebt .laub-a { animation: fallen 11s ease-in-out infinite; }
html[data-bewegung="dynamisch"] .lebt .laub-b { animation: fallen 14s ease-in-out 5s infinite; }
@keyframes treiben { to { transform: translateX(40px); } }
@keyframes wellen { to { transform: translateX(28px); } }
@keyframes funkeln { from { opacity: .25; } to { opacity: 1; } }
@keyframes fallen { 0% { opacity: 0; transform: translate(0, -60px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, 60px); } }

/* =====================================================================================
   Karte 2 · Mo · Vier Jahreszeiten (klebender Abschnitt)
   Flach: Szene oben, die vier Schritte darunter. Mit html.stapel-an: Szene links, rechts wechselt der Text.
   ===================================================================================== */
.jz-kopf { max-width: 46rem; padding-right: 200px; }
.jz-kopf .leise { margin-top: 10px; }
.jz-buehne { position: relative; margin-top: 24px; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: #245f82; }
.wetterschild { position: absolute; left: 16px; bottom: 16px; display: grid; grid-template-columns: auto auto; gap: 2px 20px; padding: 12px 18px 12px 16px; background: rgba(255, 253, 248, .93); border-left: 4px solid var(--accent); border-radius: 6px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .4); }
.ws-saison { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ws-wert { font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.ws-wert span { display: block; margin-top: 5px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.jz-leiste, .jz-leiste li { display: none; }
.jz-schritte { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jz-schritt { padding: 22px 24px; background: var(--surface-2); border-radius: 6px; }
.jz-schritt h3 { margin-bottom: 10px; }
.jz-schritt p { color: var(--muted); font-size: 16px; }
.jz-schritt .marke { margin-bottom: 8px; }
.jz-werte { margin-top: 12px; font-size: 15px; color: var(--muted); }
.jz-werte b { color: var(--text); font-weight: 800; }
html.stapel-an .jz-innen { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto minmax(0, 1fr); gap: 18px 44px; height: 100%; }
html.stapel-an .jz-kopf { grid-column: 1 / -1; padding-right: 220px; }
html.stapel-an .jz-kopf h2 { font-size: clamp(26px, 2.4vw, 34px); }
html.stapel-an .jz-buehne { grid-row: 2; grid-column: 1; margin: 0; aspect-ratio: auto; min-height: 0; }
html.stapel-an .jz-leiste { display: flex; gap: 6px; position: absolute; right: 14px; bottom: 14px; }
html.stapel-an .jz-leiste li { display: block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 253, 248, .86); font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--muted); transition: background .3s, color .3s; }
html.stapel-an .jz-leiste li.ist-aktiv { background: var(--accent); color: #fff; }
html.stapel-an .jz-schritte { grid-row: 2; grid-column: 2; display: block; position: relative; margin: 0; align-self: center; min-height: 300px; }
html.stapel-an .jz-schritt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0; background: transparent; opacity: 0; transform: translateY(22px); transition: opacity .4s, transform .45s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
html.stapel-an .jz-schritt.ist-aktiv { opacity: 1; transform: none; pointer-events: auto; }
html.stapel-an .jz-schritt h3 { font-size: clamp(22px, 2vw, 28px); }
html.stapel-an .jz-schritt p { font-size: 17px; }

/* =====================================================================================
   Ruhige Karten
   ===================================================================================== */
/* Bildplatzhalter: gewollt, ruhiger Hauch von Seeblau, feine Diagonale */
.bild-platzhalter {
  position: relative; display: flex; align-items: flex-end; margin: 0; overflow: hidden;
  aspect-ratio: var(--format, 3 / 2); border-radius: 2px;
  background:
    radial-gradient(110% 80% at 85% 12%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(135deg, rgba(29, 106, 140, .09) 0 1px, transparent 1px 13px),
    var(--accent-hell);
}
.bild-platzhalter figcaption { margin: 14px; padding: 8px 12px; border-radius: var(--radius-klein); max-width: calc(100% - 28px); background: rgba(255, 255, 255, .94); color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.35; }

/* Di · Zimmer: drei kleine Postkarten */
.mini-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 26px; }
.mini-karte { position: relative; padding: 12px 12px 18px; background: #fff; border: 1px solid var(--border); box-shadow: 0 14px 34px -20px rgba(22, 48, 60, .55); transform: rotate(var(--dreh-mini, 0deg)); }
.mini-text { padding: 14px 6px 0; }
.mini-text p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.mini-fakten { font-weight: 700; color: var(--text) !important; font-size: 14px !important; letter-spacing: .02em; }
.mini-preis { color: var(--text) !important; }
.mini-preis b { font-size: 22px; font-weight: 800; }
.mini-stempel { position: absolute; top: -16px; right: 4px; width: 64px; height: 64px; color: var(--tinte); opacity: .72; transform: rotate(10deg); }
.mini-stempel b { font-size: 18px; }

/* Mi · Frühstück */
.fruehstueck-bild { transform: rotate(-1.6deg); border: 10px solid #fff; box-shadow: 0 18px 40px -22px rgba(22, 48, 60, .6); }
.haken-liste { display: grid; gap: 10px; margin-top: 18px; }
.haken-liste li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; }
.haken { width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.haken circle { stroke-dasharray: 63; stroke-dashoffset: 0; }
.haken path { stroke-dasharray: 16; stroke-dashoffset: 0; }

/* Do · Ausflüge: Landkarte mit Pins */
.landkarte { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 3px; }
.landkarte-hinweis { margin-top: 10px; }
.pin-innen { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .25s; }
.pin.ist-aktiv .pin-innen { transform: scale(1.3); }
.ziele { margin-top: 14px; border-bottom: 1px solid var(--border); }
.ziele li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 14px; padding: 9px 4px; border-top: 1px solid var(--border); cursor: default; line-height: 1.4; }
.ziele li::before { content: attr(data-pin); grid-row: span 2; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; transition: transform .2s; }
.ziele li:hover::before { transform: scale(1.12); background: var(--accent-tief); }
.ziele b { font-weight: 700; font-size: 16px; }
.ziele span { color: var(--muted); font-size: 14.5px; }

/* Fr · Preise als Saisonkalender */
.saison-leiste { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin: 24px 0 20px; }
.saison-leiste li { padding: 10px 6px 9px; border-radius: 4px; text-align: center; line-height: 1.2; }
.saison-leiste b { display: block; font-size: 15px; font-weight: 800; }
.saison-leiste span { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; opacity: .9; }
.s-vor { background: #d4e8f0; color: var(--text); }
.s-haupt { background: var(--accent); color: #fff; }
.s-nach { background: #ead9b6; color: var(--text); }
.s-winter { background: #dfe6ea; color: var(--text); }
.s-zu { background: var(--surface-2); color: var(--muted); }
.s-punkt { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; }
.preis-tabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.preis-tabelle th, .preis-tabelle td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--border); }
.preis-tabelle thead th { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--tinte); }
.preis-tabelle th:first-child, .preis-tabelle td:first-child { text-align: left; }
.preis-tabelle tbody th { font-weight: 700; }
.preis-tabelle td { font-weight: 800; font-size: 18px; }
.preis-hinweise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 28px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.preis-hinweise li { padding-left: 14px; position: relative; }
.preis-hinweise li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Sa · Stimmen als Karten an die Wirtin */
.post-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 26px; }
.post-karte { position: relative; padding: 26px 26px 22px; background: #fff; border: 1px solid var(--border); box-shadow: 0 14px 34px -20px rgba(22, 48, 60, .55); transform: rotate(var(--dreh-mini, 0deg)); }
.post-karte .gruss { font-size: 19px; margin-bottom: 8px; }
.post-karte blockquote p + p { font-size: 16px; }
.post-von { margin-top: 14px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.post-stempel { position: absolute; top: 8px; right: 10px; width: 70px; height: 70px; color: var(--tinte); opacity: .72; transform: rotate(12deg); }

/* So · Anfrage: die Rückseite der Postkarte */
.rueckseite { display: grid; grid-template-columns: minmax(0, 5fr) 1px minmax(0, 6fr); gap: 0 44px; align-items: stretch; }
.rueck-links > p + p { margin-top: 14px; }
.rueck-links h2 { margin-bottom: 14px; }
.rueck-linie { display: block; background: var(--tinte); opacity: .3; }
.anreise { display: grid; gap: 12px; margin: 22px 0; }
.anreise dt { font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.anreise dd { color: var(--muted); font-size: 15px; }
.rueck-links address { margin-top: 18px; font-weight: 600; line-height: 1.6; }
.rueck-links address a { font-weight: 700; }
.rueck-links .klein { margin-top: 8px; }
.formular { position: relative; padding-top: 74px; }
.adressfeld { display: grid; gap: 10px; }
.feld label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 44px; padding: 7px 2px; border: 0; border-bottom: 1.5px solid var(--tinte); border-radius: 0; background: transparent; font: inherit; font-size: 17px; color: var(--text); }
.feld textarea { resize: vertical; }
.feld select { cursor: pointer; }
.feld-paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.formular-meldung { font-weight: 700; }
.formular .klein { margin-top: 10px; font-size: 13px; }
.karte-post-rueck .marke-feld { position: absolute; top: -8px; right: -8px; width: 78px; height: 94px; border: 1.5px dashed var(--tinte); opacity: .3; }

/* =====================================================================================
   Auftritte: je Karte eine kleine Bewegung beim Hereinscrollen (mittel, dynamisch; einmal; höchstens 600 ms)
   Die Startlage gilt nur mit JavaScript und ohne „Bewegung reduzieren", sonst steht alles fertig da.
   ===================================================================================== */
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .mini-karte,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .mini-karte,
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .post-karte,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .post-karte { opacity: 0; transform: translateY(28px) rotate(0deg); }
.mini-karte, .post-karte { transition: opacity .55s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.mini-karte:nth-child(2), .post-karte:nth-child(2) { transition-delay: .1s; }
.mini-karte:nth-child(3), .post-karte:nth-child(3) { transition-delay: .2s; }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .post-stempel,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .post-stempel { opacity: 0; transform: rotate(12deg) scale(1.7); }
.post-stempel { transition: opacity .3s .45s, transform .3s .45s cubic-bezier(.2, .9, .3, 1.2); }
.post-karte:nth-child(2) .post-stempel { transition-delay: .6s; }
.post-karte:nth-child(3) .post-stempel { transition-delay: .75s; }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .haken circle,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .haken circle { stroke-dashoffset: 63; }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .haken path,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .haken path { stroke-dashoffset: 16; }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .haken-liste li,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .haken-liste li { opacity: 0; transform: translateX(-10px); }
.haken-liste li { transition: opacity .45s, transform .45s; }
.haken circle { transition: stroke-dashoffset .5s .1s; }
.haken path { transition: stroke-dashoffset .3s .5s; }
.haken-liste li:nth-child(2), .haken-liste li:nth-child(2) .haken circle, .haken-liste li:nth-child(2) .haken path { transition-delay: .15s, .25s, .65s; }
.haken-liste li:nth-child(3), .haken-liste li:nth-child(3) .haken circle, .haken-liste li:nth-child(3) .haken path { transition-delay: .3s, .4s, .8s; }
.haken-liste li:nth-child(4), .haken-liste li:nth-child(4) .haken circle, .haken-liste li:nth-child(4) .haken path { transition-delay: .45s, .55s, .95s; }
.haken-liste li:nth-child(5), .haken-liste li:nth-child(5) .haken circle, .haken-liste li:nth-child(5) .haken path { transition-delay: .6s, .7s, 1.1s; }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .pin-innen,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .pin-innen { opacity: 0; transform: translateY(-30px); }
.pins .pin-innen { transition: opacity .35s, transform .5s cubic-bezier(.2, .9, .3, 1.25); }
.pins .pin:nth-child(2) .pin-innen { transition-delay: .08s; }
.pins .pin:nth-child(3) .pin-innen { transition-delay: .16s; }
.pins .pin:nth-child(4) .pin-innen { transition-delay: .24s; }
.pins .pin:nth-child(5) .pin-innen { transition-delay: .32s; }
.pins .pin:nth-child(6) .pin-innen { transition-delay: .4s; }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .saison-leiste,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .saison-leiste { clip-path: inset(0 100% 0 0); }
.saison-leiste { clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.2, .8, .2, 1); }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .preis-tabelle tbody tr,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .preis-tabelle tbody tr { opacity: 0; }
.preis-tabelle tbody tr { transition: opacity .4s .3s; }
.preis-tabelle tbody tr:nth-child(2) { transition-delay: .42s; }
.preis-tabelle tbody tr:nth-child(3) { transition-delay: .54s; }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .rueck-linie,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .rueck-linie { transform: scaleY(0); }
.rueck-linie { transform-origin: top; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .marke-feld,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .marke-feld { opacity: 0; }
.marke-feld { transition: opacity .4s .4s; }
html.js[data-bewegung="mittel"] .karte:not(.ist-da) .wetterschild,
html.js[data-bewegung="dynamisch"] .karte:not(.ist-da) .wetterschild { opacity: 0; transform: translateY(14px); }
.wetterschild { transition: opacity .5s .2s, transform .5s .2s; }
html.js[data-bewegung="mittel"] .held, html.js[data-bewegung="dynamisch"] .held { animation: auftauchen .7s .1s both; }
html.js[data-bewegung="mittel"] .tageszeit, html.js[data-bewegung="dynamisch"] .tageszeit { animation: auftauchen .7s .3s both; }
@keyframes auftauchen { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.js .karte:not(.ist-da) * { opacity: 1 !important; transform: none !important; clip-path: none !important; stroke-dashoffset: 0 !important; }
  html.js .karte:not(.ist-da) .mini-karte, html.js .karte:not(.ist-da) .post-karte { transform: rotate(var(--dreh-mini, 0deg)) !important; }
  html.js .held, html.js .tageszeit { animation: none !important; }
}

/* ---------- Fuß: liegt über dem Stapel, deshalb eigener Stapelkontext ---------- */
.fuss { position: relative; z-index: 1; margin-top: 36px; padding: 56px 0 0; background: var(--nacht); color: var(--nacht-leise); font-size: 15px; }
.fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.fuss a { color: var(--nacht-text); }
.fuss-logo { color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.fuss-links a { margin-right: 16px; }
.fuss-demo { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.fuss-zeile { width: 100%; max-width: none; margin: 0; padding: 22px 20px 26px; text-align: center; font-size: 13px; color: #7c8d97; }
.fuss-zeile a { color: #9fb0ba; }
.anruf-leiste { display: none; }

/* =====================================================================================
   Schmale und niedrige Bildschirme
   ===================================================================================== */
@media (max-height: 820px) and (min-width: 981px) {
  html.stapel-an .karte-innen { padding: 30px 40px 28px; }
  html.stapel-an .karte-kopf { margin-bottom: 0; }
  html.stapel-an .mini-karten, html.stapel-an .post-karten { margin-top: 18px; }
  html.stapel-an .mini-text p, html.stapel-an .jz-schritt p { font-size: 15px; }
  html.stapel-an h2 { font-size: clamp(24px, 2.6vw, 32px); }
  html.stapel-an .karte-fuss { margin-top: 14px; }
}
@media (max-width: 1100px) {
  .kalender a { min-width: 56px; }
  .kalender span { display: none; }
  .kopf-tel { display: none; }
}
@media (max-width: 980px) {
  :root { --kopf: 112px; }
  .kopf-innen { flex-wrap: wrap; align-content: center; gap: 6px 14px; padding: 6px 0; }
  .kalender { order: 3; width: 100%; margin: 0; }
  .kalender a { flex: 1; min-width: 0; height: 40px; }
  .kalender span { display: none; }
  .kopf .knopf-klein { margin-left: auto; min-height: 38px; padding: 0 14px; font-size: 11px; letter-spacing: .06em; }
  .logo { font-size: 17px; gap: 8px; }
  .logo-zeichen { width: 26px; height: 26px; }
  .karte { width: min(100% - 24px, var(--breite)); transform: rotate(calc(var(--dreh, 0deg) * .35)); margin-bottom: 18px; }
  .karte-innen { padding: 28px 22px 26px; }
  .karte-kopf, .karte-kopf-breit .leise, .jz-kopf { padding-right: 0; }
  .karte-kopf-breit { grid-template-columns: minmax(0, 1fr); }
  .karte-post { position: static; justify-content: flex-end; margin: -6px 0 10px; }
  .karte-bild .karte-post { position: absolute; top: 18px; right: 22px; margin: 0; transform: scale(.82); transform-origin: top right; }
  .briefmarke { width: 52px; height: 66px; }
  .poststempel { width: 72px; height: 72px; margin-left: -28px; }
  .stempel-wellen { width: 48px; height: 32px; margin-top: 22px; }
  .karte-bild .karte-innen { padding: 10px; }
  .szene-rahmen { height: clamp(380px, 58vh, 560px); }
  .uhr { left: 12px; top: 12px; max-width: calc(100% - 24px); padding: 8px 12px; }
  .uhr-zeit b { font-size: 20px; }
  .uhr-satz { font-size: 13px; }
  .held { position: static; width: auto; margin: 16px 6px 0; padding: 10px 4px 0; background: transparent; }
  .tageszeit { position: static; width: auto; margin: 18px 6px 4px; padding: 12px 14px 10px; background: var(--surface-2); }
  .zweispaltig, .zweispaltig-breit { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fruehstueck-bild { transform: rotate(-1deg); border-width: 8px; }
  .mini-karten, .post-karten, .preis-hinweise { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .jz-schritte { grid-template-columns: minmax(0, 1fr); }
  .jz-buehne { aspect-ratio: 4 / 3; }
  .wetterschild { left: 10px; bottom: 10px; padding: 8px 12px 8px 12px; gap: 0 14px; }
  .ws-wert { font-size: 20px; }
  .saison-leiste { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .preis-tabelle th, .preis-tabelle td { padding: 10px 6px; }
  .preis-tabelle td { font-size: 16px; }
  .rueckseite { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .rueck-linie { display: none; }
  .formular { padding-top: 0; }
  .karte-post-rueck .marke-feld { display: none; }
  .fuss-raster { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .fuss { padding-bottom: 70px; }
  .anruf-leiste { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 30px rgba(12, 26, 42, .35); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo span { font-size: 17px; }
  .karte-innen { padding: 22px 16px 22px; }
  .szene-rahmen { height: clamp(340px, 52vh, 480px); }
  .held-knoepfe .knopf { width: 100%; }
  .saison-leiste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .saison-leiste li { padding: 8px 3px 7px; }
  .saison-leiste span { font-size: 10px; letter-spacing: -.01em; }
  .preis-tabelle { table-layout: fixed; }
  .preis-tabelle th:first-child, .preis-tabelle td:first-child { width: 21%; }
  .preis-tabelle thead th { font-size: 10.5px; letter-spacing: .02em; white-space: normal; hyphens: auto; padding: 8px 2px; }
  .preis-tabelle td, .preis-tabelle tbody th { padding: 10px 2px; }
  .preis-tabelle tbody th { font-size: 15px; }
  .preis-tabelle thead th .s-punkt { display: block; margin: 0 auto 4px; }
  .preis-tabelle td { font-size: 14.5px; }
  .feld-paar { grid-template-columns: minmax(0, 1fr); }
  .formular-fuss .knopf { width: 100%; }
  .mini-stempel { right: 6px; }
  .uhr-satz { display: none; }
}
@media (max-width: 400px) {
  :root { --kopf: 100px; }
  .kopf .knopf-klein { display: none; }
  .saison-leiste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
