/* ═══════════════════════════════════════════════════════════════
   Terra Haven Retreats · Bausteine
   Jedes Steuerelement in allen Zuständen. Alles Antippbare ist
   mindestens 44px hoch, Eingabefelder 52px.
   ═══════════════════════════════════════════════════════════════ */

/* ── Schaltflächen ────────────────────────────────────────────
   Genau EINE gefüllte Terrakotta-Fläche pro Bildschirm.         */
.th-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--th-s2);
  min-height: var(--th-tap);
  padding: 0 var(--th-s6);
  border: 1px solid transparent;
  border-radius: var(--th-r-md);
  font-size: var(--th-fs-base);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  background: none;
  transition: background-color var(--th-dur) var(--th-ease),
              border-color var(--th-dur) var(--th-ease),
              color var(--th-dur) var(--th-ease);
}

.th-btn-primary { background: var(--th-accent); color: var(--th-on-accent); }
.th-btn-primary:hover  { background: var(--th-accent-hover); }
.th-btn-primary:active { background: var(--th-accent-active); }

.th-btn-outline {
  border-color: var(--th-hairline);
  color: var(--th-ink);
  background: var(--th-surface);
}
.th-btn-outline:hover { border-color: oklch(0.80 0.013 95); }
.th-on-dark .th-btn-outline {
  border-color: oklch(0.945 0.016 88 / 28%);
  color: var(--th-cream);
  background: oklch(0.945 0.016 88 / 8%);
}
.th-on-dark .th-btn-outline:hover { background: oklch(0.945 0.016 88 / 14%); }

.th-btn-quiet { color: var(--th-ink-2); padding-inline: var(--th-s4); }
.th-btn-quiet:hover { color: var(--th-ink); background: oklch(0.21 0.016 96 / 5%); }

.th-btn[disabled], .th-btn[aria-disabled="true"] {
  background: oklch(0.93 0.008 94);
  border-color: transparent;
  color: oklch(0.66 0.010 95);
  cursor: not-allowed;
}

.th-btn-lg { min-height: 52px; padding-inline: var(--th-s8); font-size: var(--th-fs-md); }
.th-btn-block { width: 100%; }

/* ── Eingabefelder · 52px ─────────────────────────────────────
   Felder sind Mulden. Das ist keine Deko: die eingesenkte Kante
   sagt „hier hinein“, während erhabenes Glas „das liegt darauf“
   sagt.                                                          */
.th-field-label {
  display: block;
  font-size: var(--th-fs-sm);
  font-weight: 500;
  color: var(--th-ink-2);
  margin-bottom: var(--th-s2);
}
.th-field {
  display: flex; align-items: center;
  width: 100%;
  min-height: var(--th-field);
  padding: 0 var(--th-s5);
  border: 1px solid var(--th-hairline);
  border-radius: var(--th-r-md);
  background: oklch(0.982 0.008 91);
  box-shadow: inset 0 2px 4px rgba(42,36,22,0.07);
  font-size: var(--th-fs-md);
  color: var(--th-ink);
  transition: border-color var(--th-dur) var(--th-ease),
              box-shadow var(--th-dur) var(--th-ease);
}
.th-field::placeholder { color: oklch(0.64 0.012 95); }
select.th-field {
  appearance: none; -webkit-appearance: none;
  padding-right: calc(var(--th-s5) + 20px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23615c50' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--th-s5) center; background-size: 12px 8px;
}
.th-field:hover { border-color: oklch(0.85 0.012 95); }
.th-field:focus-visible {
  outline: none;
  border-color: var(--th-accent-text);
  box-shadow: inset 0 2px 4px rgba(42,36,22,0.05),
              0 0 0 3px oklch(0.55 0.135 40 / 22%);
}
.th-field[aria-invalid="true"] {
  border-color: var(--th-error);
  box-shadow: inset 0 2px 4px rgba(42,36,22,0.05),
              0 0 0 3px oklch(0.52 0.17 27 / 16%);
}
.th-field[disabled] {
  background: oklch(0.945 0.008 93);
  color: oklch(0.66 0.010 95);
  box-shadow: none;
  cursor: not-allowed;
}
.th-field-error {
  display: flex; align-items: center; gap: var(--th-s2);
  margin-top: var(--th-s2);
  font-size: var(--th-fs-sm);
  color: var(--th-error);
}

/* ── Segmentierte Auswahl ─────────────────────────────────── */
.th-seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--th-hairline);
  border-radius: var(--th-r-md);
  background: oklch(0.955 0.010 92);
  gap: 3px;
}
.th-seg button {
  min-height: 40px;
  padding: 0 var(--th-s5);
  border: 0;
  border-radius: 9px;
  background: none;
  font-size: var(--th-fs-base);
  font-weight: 500;
  color: var(--th-ink-2);
  cursor: pointer;
  transition: background-color var(--th-dur) var(--th-ease),
              color var(--th-dur) var(--th-ease);
}
.th-seg button[aria-pressed="true"] {
  background: var(--th-surface);
  color: var(--th-ink);
  font-weight: 600;
  box-shadow: var(--th-sh-1);
}

/* ── Zähler ───────────────────────────────────────────────── */
.th-stepper {
  display: inline-flex; align-items: center; gap: var(--th-s2);
  padding: 4px;
  border: 1px solid var(--th-hairline);
  border-radius: var(--th-r-pill);
  background: var(--th-surface);
}
.th-stepper button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: oklch(0.955 0.010 92);
  color: var(--th-ink);
  font-size: var(--th-fs-lg);
  cursor: pointer;
  transition: background-color var(--th-dur) var(--th-ease);
}
.th-stepper button:hover { background: oklch(0.925 0.011 93); }
.th-stepper button[disabled] { color: oklch(0.72 0.010 95); cursor: not-allowed; }
.th-stepper output { min-width: 2.5ch; text-align: center;
                     font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── Kalender ─────────────────────────────────────────────── */
.th-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.th-cal-head {
  font-size: var(--th-fs-xs); font-weight: 500;
  color: var(--th-ink-3); text-align: center; padding-bottom: var(--th-s2);
}
.th-day {
  aspect-ratio: 1;
  min-height: var(--th-tap);
  display: grid; place-items: center;
  border: 0; border-radius: 10px;
  background: none;
  font-size: var(--th-fs-base);
  font-variant-numeric: tabular-nums;
  color: var(--th-ink);
  cursor: pointer;
  transition: background-color var(--th-dur) var(--th-ease);
}
.th-day:hover { background: oklch(0.94 0.010 93); }
.th-day[aria-selected="true"] { background: var(--th-accent); color: var(--th-on-accent); font-weight: 600; }
.th-day[data-today] { box-shadow: inset 0 0 0 1.5px var(--th-accent-text); font-weight: 600; }
.th-day[disabled] {
  color: oklch(0.72 0.010 95);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: oklch(0.80 0.010 95);
}
.th-day[disabled]:hover { background: none; }

/* ── Marker ───────────────────────────────────────────────────
   Zustand steckt in Farbe UND Form, damit er auch ohne Farb-
   wahrnehmung lesbar bleibt.                                    */
.th-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: var(--th-r-pill);
  font-size: var(--th-fs-xs);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.th-badge-ok      { background: var(--th-ok-wash);     color: var(--th-ok-text); }
.th-badge-prep    { background: var(--th-warn-wash);   color: var(--th-warn-text); }
.th-badge-busy    { background: oklch(0.21 0.016 96 / 8%); color: var(--th-ink-3); }
.th-badge-accent  { background: var(--th-accent-wash); color: var(--th-accent-deep); }
.th-badge-outline { border: 1px solid var(--th-hairline); color: var(--th-ink-2); }
.th-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }

/* ── Preiszeilen ──────────────────────────────────────────────
   Zahlen rechtsbündig, tabellarisch, damit die Kommas
   untereinander stehen.                                         */
.th-price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--th-s5);
  padding-block: var(--th-s3);
  border-top: 1px solid var(--th-hairline-soft);
  font-size: var(--th-fs-md);
}
.th-price-row:first-child { border-top: none; }
.th-price-row dt { color: var(--th-ink-2); margin: 0; }
.th-price-row dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; }
.th-price-total {
  border-top: 1px solid var(--th-hairline);
  padding-top: var(--th-s5);
  margin-top: var(--th-s2);
  font-size: var(--th-fs-lg);
}
.th-price-total dt { color: var(--th-ink); font-weight: 600; }
.th-price-total dd { font-family: var(--th-sans); font-weight: 600;
                     font-size: var(--th-fs-h4); letter-spacing: var(--th-ls-num); }
.th-price-note { font-size: var(--th-fs-sm); color: var(--th-ink-3); margin-top: var(--th-s3); }

/* ── Rückmeldungen ────────────────────────────────────────── */
.th-note {
  display: flex; align-items: flex-start; gap: var(--th-s3);
  padding: var(--th-s4) var(--th-s5);
  border-radius: var(--th-r-sm);
  font-size: var(--th-fs-base);
  line-height: 1.6;
}
.th-note-ok    { background: var(--th-ok-wash);     color: var(--th-ok-text); }
.th-note-info  { background: oklch(0.21 0.016 96 / 5%); color: var(--th-ink-2); }
.th-note-error { background: var(--th-error-wash);  color: var(--th-error); }
.th-note svg { flex: 0 0 auto; margin-top: 2px; }

/* ── Fortschritt in der Buchungsstrecke ───────────────────── */
.th-steps { display: flex; align-items: center; gap: var(--th-s3); flex-wrap: wrap; }
.th-step { display: flex; align-items: center; gap: var(--th-s2);
           font-size: var(--th-fs-sm); color: var(--th-ink-3); }
.th-step-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: oklch(0.92 0.010 93);
  font-size: 11px; font-weight: 600; color: var(--th-ink-3);
}
.th-step[aria-current="step"] { color: var(--th-ink); font-weight: 600; }
.th-step[aria-current="step"] .th-step-dot { background: var(--th-accent); color: var(--th-on-accent); }
.th-step[data-done] .th-step-dot { background: var(--th-ok); color: var(--th-on-accent); }
.th-step-line { width: 26px; height: 1px; background: var(--th-hairline); }

/* Auf dunklem Grund kippt die ganze Leiste ins Creme. */
.th-on-dark .th-step { color: var(--th-cream-faint); }
.th-on-dark .th-step-dot { background: oklch(0.945 0.016 88 / 16%); color: var(--th-cream); }
.th-on-dark .th-step-line { background: oklch(0.945 0.016 88 / 22%); }
.th-on-dark .th-step[aria-current="step"] { color: var(--th-cream-bright); }
.th-on-dark .th-step[data-done] { color: var(--th-cream-dim); }
@media (max-width: 560px) { .th-step-line { display: none; } }

/* ── Bildplatz ────────────────────────────────────────────────
   Bis die echten Fotos da sind. Nie ohne Seitenverhältnis —
   sonst springt das Layout, wenn die Bilder nachladen.          */
.th-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  max-width: 100%;
  border-radius: var(--th-r-lg);
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 25% 20%, oklch(0.74 0.055 96 / 0.55), transparent 62%),
    linear-gradient(168deg, oklch(0.60 0.045 112), oklch(0.40 0.042 118));
}
.th-photo-tall { aspect-ratio: 3 / 4; }
.th-photo-wide { aspect-ratio: 16 / 9; }
.th-photo-tag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 10px; border-radius: var(--th-r-pill);
  background: rgba(0,0,0,0.42); color: oklch(0.95 0.012 88);
  font-size: var(--th-fs-xs); font-weight: 500;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* Scrim unter Text auf Bildern — ohne ihn ist weiße Schrift
   über einem hellen Himmel unlesbar. */
.th-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   Seitenmuster · Startseite
   ═══════════════════════════════════════════════════════════════ */

/* ── Zweifarbige Überschrift ──────────────────────────────────
   Erste Zeile römisch, zweite kursiv im Akzent. Farbige Schrift
   ist keine gefüllte Fläche — die Akzentregel bleibt heil.      */
.th-title-turn { display: block; font-style: italic; color: var(--th-accent-text); }
.th-on-dark .th-title-turn { color: var(--th-accent-bright); }

/* ── Vertrauenszeile ──────────────────────────────────────────
   Die Antwort auf „warum hier und nicht beim Portal“, über der
   Falzkante, in einem Blick.                                    */
.th-trust { display: flex; flex-wrap: wrap; gap: var(--th-s5) var(--th-s8); }
.th-trust li { display: flex; align-items: center; gap: var(--th-s2);
               font-size: var(--th-fs-cap); font-weight: 500;
               letter-spacing: 0.12em; text-transform: uppercase; }
.th-trust svg { flex: 0 0 auto; color: var(--th-accent-text); }
.th-on-dark .th-trust svg { color: var(--th-accent-bright); }

/* ── Kleingedrucktes ──────────────────────────────────────────
   Nimmt Hemmungen, bevor sie entstehen. Nie eine Behauptung,
   die die Seite nicht hält.                                     */
.th-fineprint { font-size: var(--th-fs-cap); font-weight: 500;
                letter-spacing: 0.1em; text-transform: uppercase;
                color: var(--th-ink-3); }
.th-on-dark .th-fineprint { color: var(--th-cream-faint); }

/* ── Verfügbarkeitsleiste ─────────────────────────────────────
   Ragt unten aus dem Hero heraus. Deshalb klippt der Hero NICHT;
   geklippt wird nur das Bild in seinem eigenen Rahmen. Genau
   hier war im ersten Entwurf der Fehler.                        */
.th-availability { border-radius: var(--th-r-xl); padding: var(--th-s4); }
.th-availability-grid {
  display: grid; gap: var(--th-s3);
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
}
@media (max-width: 860px) {
  .th-availability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-availability-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .th-availability-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ── Objektkachel ─────────────────────────────────────────────
   Bild, Merkmale, Fußzeile mit Preis und Aktion.                */
.th-tile { display: flex; flex-direction: column; border-radius: var(--th-r-xl);
           overflow: hidden; background: var(--th-surface);
           border: 1px solid var(--th-hairline); }
.th-tile-media { position: relative; }
.th-tile-media .th-photo { border-radius: 0; }
.th-tile-pills { position: absolute; left: var(--th-s4); top: var(--th-s4);
                 display: flex; flex-wrap: wrap; gap: 6px; }
.th-pill {
  padding: 5px 11px; border-radius: var(--th-r-pill);
  font-size: var(--th-fs-xs); font-weight: 500;
  color: oklch(0.97 0.012 85);
  background: rgba(24,20,12,0.38);
  border: 1px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
          backdrop-filter: blur(8px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .th-pill { background: rgba(24,20,12,0.72); }
}
.th-tile-body { padding: var(--th-s6) var(--th-s7); display: flex;
                flex-direction: column; gap: var(--th-s3); flex: 1; }
.th-tile-place { display: flex; align-items: center; gap: 7px;
                 font-size: var(--th-fs-sm); color: var(--th-ink-3); }
.th-tile-foot {
  margin-top: auto; padding-top: var(--th-s4);
  border-top: 1px solid var(--th-hairline-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--th-s4); flex-wrap: wrap;
}

/* Runder Pfeilknopf — sitzt in der Ecke einer Kachel. */
.th-arrow {
  width: var(--th-tap); height: var(--th-tap);
  display: grid; place-items: center;
  border: 1px solid var(--th-hairline); border-radius: 50%;
  background: var(--th-surface); color: var(--th-ink); cursor: pointer;
  transition: background-color var(--th-dur) var(--th-ease),
              border-color var(--th-dur) var(--th-ease);
}
.th-arrow:hover { background: var(--th-paper); border-color: oklch(0.80 0.013 95); }

/* Zwei Häuser, ungleicher Stand: das große ist buchbar, das
   kleine in Vorbereitung. Die Asymmetrie sagt das, ohne Worte. */
.th-pair { display: grid; gap: var(--th-s6); align-items: stretch;
           grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
@media (max-width: 860px) { .th-pair { grid-template-columns: minmax(0, 1fr); } }

/* ── Warmer Verlauf hinter hellen Abschnitten ─────────────────
   Glas braucht etwas zum Brechen. Über flachem Weiß ist die
   Unschärfe unsichtbar.                                         */
.th-wash {
  background:
    radial-gradient(70% 55% at 12% 0%, oklch(0.94 0.026 108 / 0.55), transparent 62%),
    radial-gradient(60% 50% at 92% 8%, oklch(0.95 0.030 72 / 0.50), transparent 60%),
    var(--th-paper);
}

/* Kacheln in einer Reihe enden auf gleicher Höhe — sonst franst
   das Raster unten aus. Die Fußzeile schiebt sich per margin-top
   auto nach unten, also stimmt auch die Grundlinie. */
.th-cols > .th-tile, .th-pair > .th-tile { height: 100%; }
.th-cols:has(> .th-tile), .th-pair { align-items: stretch; }

/* ═══════════════════════════════════════════════════════════════
   Seitenmuster · Objektseite
   ═══════════════════════════════════════════════════════════════ */

/* Sprungmarke für Tastatur und Screenreader. Sichtbar, sobald
   sie Fokus bekommt — vorher aus dem Weg. */
.th-skip {
  position: absolute; left: var(--th-s4); top: var(--th-s4); z-index: 100;
  transform: translateY(-200%);
  padding: var(--th-s3) var(--th-s5); border-radius: var(--th-r-md);
  background: var(--th-surface); color: var(--th-ink);
  box-shadow: var(--th-sh-2); font-weight: 600;
  transition: transform var(--th-dur) var(--th-ease);
}
.th-skip:focus-visible { transform: translateY(0); }

/* ── Galerie ──────────────────────────────────────────────────
   Ein großes Bild, vier kleine. Feste Seitenverhältnisse, damit
   beim Nachladen nichts springt.                                */
.th-gallery {
  display: grid; gap: 10px;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  border-radius: var(--th-r-xl); overflow: hidden;
}
.th-gallery > :first-child { grid-row: span 2; }
.th-gallery .th-photo { border-radius: 0; height: 100%; aspect-ratio: auto; }
.th-gallery-main { min-height: clamp(280px, 38vw, 470px); }
@media (max-width: 860px) {
  .th-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-gallery > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .th-gallery-main { min-height: 240px; }
  .th-gallery > :nth-child(n+4) { display: none; }
}

/* ── Eckdaten ─────────────────────────────────────────────────
   Die vier Zahlen, nach denen zuerst gesucht wird.              */
.th-facts { display: flex; flex-wrap: wrap; gap: var(--th-s3) var(--th-s6);
            list-style: none; margin: 0; padding: 0; }
.th-facts li { display: flex; align-items: center; gap: 7px;
               font-size: var(--th-fs-md); color: var(--th-ink-2); }
.th-facts svg { color: var(--th-ink-3); flex: 0 0 auto; }
.th-facts strong { font-weight: 600; color: var(--th-ink);
                   font-variant-numeric: tabular-nums; }

/* ── Buchungsfeld, mitlaufend ─────────────────────────────────
   align-self:start ist hier nicht Kosmetik: ohne das streckt das
   Raster die Spalte auf volle Höhe und sticky greift nie.
   Der Preis bleibt damit während des ganzen Scrollens sichtbar —
   sonst muss man zum Entscheiden wieder nach oben.              */
.th-booking { position: sticky; align-self: start;
              top: calc(env(safe-area-inset-top, 0px) + var(--th-s5));
              border-radius: var(--th-r-xl); padding: var(--th-s6); }
.th-booking-price { display: flex; align-items: baseline; gap: 7px; }
@media (max-width: 960px) { .th-booking { position: static; } }

/* ── Feste Leiste unten, nur auf dem Handy ────────────────────
   Preis links, Aktion rechts. Respektiert die Gestenleiste.     */
.th-bottombar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: var(--th-s3) var(--th-s5);
  padding-bottom: calc(var(--th-s3) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--th-hairline);
  background: oklch(0.993 0.006 90 / 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(158%);
          backdrop-filter: blur(14px) saturate(158%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .th-bottombar { background: var(--th-surface); }
}
@media (max-width: 960px) {
  .th-bottombar { display: flex; align-items: center; justify-content: space-between; gap: var(--th-s4); }
  /* Platz schaffen, damit die Leiste nichts verdeckt — nur auf
     Seiten, die eine haben. */
  body:has(> .th-bottombar:not([hidden])) { padding-bottom: 86px; }
}

/* ── Ausstattung ──────────────────────────────────────────────── */
.th-amenities { display: grid; gap: var(--th-s4) var(--th-s6); list-style: none;
                margin: 0; padding: 0;
                grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.th-amenities li { display: flex; align-items: flex-start; gap: var(--th-s3);
                   font-size: var(--th-fs-md); }
.th-amenities svg { color: var(--th-accent-text); flex: 0 0 auto; margin-top: 3px; }

/* ── Karte ────────────────────────────────────────────────────
   Rahmen und Maßstabsleiste. Der Anbieter gehört unter die
   Karte — aus der EU, nicht Google, sonst fällt die Aussage
   im Footer.                                                    */
.th-map { position: relative; border-radius: var(--th-r-lg); overflow: hidden;
          aspect-ratio: 16 / 10; background: oklch(0.93 0.014 110);
          border: 1px solid var(--th-hairline); }
.th-map-credit { display: flex; align-items: center; justify-content: space-between;
                 gap: var(--th-s4); flex-wrap: wrap;
                 margin-top: var(--th-s3); font-size: var(--th-fs-xs);
                 color: var(--th-ink-3); }
.th-map-pin { position: absolute; transform: translate(-50%, -100%); }

/* ── Entfernungen ─────────────────────────────────────────────
   Nach Fortbewegungsart gruppiert, nicht alphabetisch: man sucht
   „was erreiche ich zu Fuß“, nicht „was fängt mit S an“.        */
.th-distances { margin: 0; }
.th-distances dt { display: flex; align-items: center; gap: 7px;
                   margin: var(--th-s6) 0 var(--th-s2);
                   font-size: var(--th-fs-cap); font-weight: 500;
                   letter-spacing: var(--th-ls-cap); text-transform: uppercase;
                   color: var(--th-ink-3); }
.th-distances dt:first-child { margin-top: 0; }
.th-distances dd { margin: 0; }
.th-distance {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--th-s5); padding-block: var(--th-s3);
  border-top: 1px solid var(--th-hairline-soft);
}
.th-distance:first-child { border-top: none; }
.th-distance b { font-weight: 500; }
.th-distance span { font-variant-numeric: tabular-nums; color: var(--th-ink-2);
                    white-space: nowrap; }

/* ── Anreise ──────────────────────────────────────────────────── */
.th-route { display: flex; flex-direction: column; gap: var(--th-s3);
            border: 1px solid var(--th-hairline); border-radius: var(--th-r-lg);
            background: var(--th-surface); padding: var(--th-s6); height: 100%; }
.th-route-head { display: flex; align-items: center; gap: var(--th-s3); }
/* Symbole Auto, Bahn, Flugzeug: kleine Glaskachel, Motiv zweifarbig,
   dezent in Bewegung (bei „Bewegung reduzieren“ still) */
.th-route-icon { position: relative; width: 56px; height: 56px; border-radius: 17px; flex: 0 0 auto;
                 display: grid; place-items: center; overflow: hidden; color: var(--th-accent-deep);
                 background: linear-gradient(150deg, oklch(0.975 0.028 60), oklch(0.915 0.05 45));
                 box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(120,60,20,.10),
                             0 8px 18px -8px oklch(0.45 0.12 40 / 45%); }
.th-route-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
                        background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 48%); }
.th-route-icon .ri { position: relative; z-index: 1; overflow: visible; }
.ri .ri-f { fill: oklch(0.985 0.014 70); }
.ri .ri-w { fill: #fff; }
.ri-rad, .ri-zug, .ri-flieger, .ri-koerper { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .ri-auto .ri-rad { transform-origin: center; animation: ri-dreh 1.2s linear infinite; }
  .ri-auto .ri-koerper { animation: ri-hopsen .6s ease-in-out infinite alternate; }
  .ri-auto .ri-strasse { animation: ri-strasse .9s linear infinite; }
  .ri-auto .ri-tempo { animation: ri-tempo 1.2s ease-in-out infinite; }
  .ri-bahn .ri-zug { transform-origin: 50% 100%; animation: ri-wiegen 1.7s ease-in-out infinite alternate; }
  .ri-bahn .ri-licht { animation: ri-blinken 1.7s ease-in-out infinite; }
  .ri-bahn .ri-schwellen { animation: ri-schwellen 1s linear infinite; }
  .ri-flug .ri-flieger { transform-origin: center; animation: ri-schweben 2.6s ease-in-out infinite alternate; }
  .ri-flug .ri-wolke { animation: ri-wolke 4.5s linear infinite; }
  .ri-flug .ri-wolke-2 { animation-delay: -2.2s; }
  /* Mit dem Zeiger auf der Karte: etwas mehr Tempo */
  .th-route:hover .ri-rad { animation-duration: .55s; }
  .th-route:hover .ri-strasse { animation-duration: .45s; }
  .th-route:hover .ri-zug { animation-duration: .9s; }
  .th-route:hover .ri-flieger { animation-duration: 1.3s; }
}
@keyframes ri-dreh { to { transform: rotate(360deg); } }
@keyframes ri-hopsen { to { transform: translateY(-0.9px); } }
@keyframes ri-strasse { to { stroke-dashoffset: 18; } }
@keyframes ri-tempo { 0%, 100% { opacity: 0; transform: translateX(3px); } 45% { opacity: .6; transform: translateX(0); } }
@keyframes ri-wiegen { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@keyframes ri-blinken { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ri-schwellen { from { transform: translateY(-2px); opacity: .15; } 50% { opacity: .55; } to { transform: translateY(2px); opacity: 0; } }
@keyframes ri-schweben { from { transform: translate(-0.6px, 1.2px) rotate(-3deg); } to { transform: translate(0.6px, -1.2px) rotate(2deg); } }
@keyframes ri-wolke { from { transform: translateX(7px); opacity: 0; } 20% { opacity: .5; } 80% { opacity: .5; } to { transform: translateX(-12px); opacity: 0; } }
.th-route-foot { margin-top: auto; padding-top: var(--th-s4); }

/* Hinweis auf einen Partnerlink. Muss sichtbar bleiben —
   Werbung ist in Deutschland kennzeichnungspflichtig. */
.th-affiliate { display: flex; align-items: flex-start; gap: var(--th-s3);
                margin-top: var(--th-s4); font-size: var(--th-fs-xs);
                line-height: 1.6; color: var(--th-ink-3); }

/* ── Gastgeber ────────────────────────────────────────────────
   Bei einer Direktbuchung ist das kein Beiwerk: der Gast will
   wissen, wem er sein Geld gibt.                                */
.th-host { display: flex; gap: var(--th-s6); align-items: flex-start; flex-wrap: wrap; }
.th-host-portrait { width: 84px; height: 84px; border-radius: 50%; flex: 0 0 auto;
                    background: linear-gradient(160deg, oklch(0.62 0.045 112), oklch(0.42 0.042 118));
                    display: grid; place-items: center;
                    color: oklch(0.95 0.012 88); font-size: var(--th-fs-xs);
                    text-align: center; padding: 6px; line-height: 1.3; }

/* ── Abschnittskopf innerhalb einer Seite ─────────────────── */
.th-block { padding-block: var(--th-s8); border-top: 1px solid var(--th-hairline); }
.th-block:first-child { padding-top: 0; border-top: none; }

/* ═══════════════════════════════════════════════════════════════
   Seitenmuster · Buchungsstrecke
   ═══════════════════════════════════════════════════════════════ */

.th-textarea { min-height: 112px; padding: var(--th-s4) var(--th-s5);
               align-items: flex-start; resize: vertical; line-height: 1.6; }

/* ── Ankreuzfeld ──────────────────────────────────────────────
   Die ganze Zeile ist anklickbar, nicht nur das 20px-Kästchen.
   Und nichts ist vorausgewählt: eine vorangekreuzte kostenpflichtige
   Zusatzleistung ist nach § 312a Abs. 3 BGB unwirksam.          */
.th-check { display: flex; align-items: flex-start; gap: var(--th-s4);
            padding: var(--th-s4) var(--th-s5); cursor: pointer;
            border: 1px solid var(--th-hairline); border-radius: var(--th-r-md);
            background: var(--th-surface);
            transition: border-color var(--th-dur) var(--th-ease),
                        background-color var(--th-dur) var(--th-ease); }
.th-check:hover { border-color: oklch(0.82 0.013 95); }
.th-check:has(input:checked) { border-color: var(--th-accent-text);
                               background: var(--th-accent-wash); }
.th-check input { width: 20px; height: 20px; margin: 2px 0 0;
                  accent-color: var(--th-accent); flex: 0 0 auto; cursor: pointer; }
.th-check-body { flex: 1; min-width: 0; }
.th-check-title { display: flex; align-items: baseline; justify-content: space-between;
                  gap: var(--th-s4); font-size: var(--th-fs-md); font-weight: 500; }
.th-check-title span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.th-check-note { font-size: var(--th-fs-sm); color: var(--th-ink-2);
                 line-height: 1.55; margin-top: 3px; }

/* ── Zahlungsart ──────────────────────────────────────────────
   Wie das Ankreuzfeld, nur als Einfachauswahl.                  */
.th-pay { display: flex; align-items: center; gap: var(--th-s4);
          padding: var(--th-s4) var(--th-s5); cursor: pointer; min-height: var(--th-field);
          border: 1px solid var(--th-hairline); border-radius: var(--th-r-md);
          background: var(--th-surface); font-size: var(--th-fs-md);
          transition: border-color var(--th-dur) var(--th-ease); }
.th-pay:hover { border-color: oklch(0.82 0.013 95); }
.th-pay:has(input:checked) { border-color: var(--th-accent-text);
                             box-shadow: inset 0 0 0 1px var(--th-accent-text); }
.th-pay input { width: 19px; height: 19px; accent-color: var(--th-accent); flex: 0 0 auto; }
.th-pay-logo { margin-left: auto; font-size: var(--th-fs-xs); font-weight: 600;
               letter-spacing: 0.06em; color: var(--th-ink-3); }
.th-zahlarten { display: flex; flex-wrap: wrap; gap: var(--th-s2); }
.th-zahlart { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--th-s4);
              border: 1px solid var(--th-hairline); border-radius: 999px; background: var(--th-surface);
              font-size: var(--th-fs-xs); font-weight: 600; letter-spacing: 0.04em; color: var(--th-ink-2); }

/* ── Schritte ─────────────────────────────────────────────────── */
.th-step-panel[hidden] { display: none !important; }

/* ── Bestätigung ──────────────────────────────────────────────── */
.th-ref { display: inline-flex; align-items: center; gap: var(--th-s3);
          padding: var(--th-s3) var(--th-s5); border-radius: var(--th-r-md);
          background: oklch(0.945 0.016 88 / 10%);
          border: 1px solid oklch(0.945 0.016 88 / 22%);
          font-family: var(--th-mono); font-size: var(--th-fs-md);
          letter-spacing: 0.06em; }

/* ── Hinweis im Testbetrieb ──────────────────────────────────
   Muss auffallen. Wer hier echtes Geld erwartet, soll es nicht
   erst nach dem Klick merken.                                   */
.th-testmode { display: flex; align-items: flex-start; gap: var(--th-s3);
               padding: var(--th-s4) var(--th-s5); border-radius: var(--th-r-md);
               background: var(--th-warn-wash); color: var(--th-warn-text);
               font-size: var(--th-fs-sm); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   Seitenmuster · Rechtsseiten
   Lange Texte, die selten gelesen und dann gezielt durchsucht
   werden. Also: Sprungliste, Anker, druckbar.
   ═══════════════════════════════════════════════════════════════ */

.th-legal { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem);
            grid-template-columns: minmax(0, 1fr) minmax(0, 260px); align-items: start; }
@media (max-width: 960px) { .th-legal { grid-template-columns: minmax(0, 1fr); } }

/* Sprungliste — klebt mit, damit man aus § 9 zurück nach § 2 kommt,
   ohne zu scrollen. */
.th-toc { position: sticky; align-self: start;
          top: calc(env(safe-area-inset-top, 0px) + var(--th-s5));
          border-left: 2px solid var(--th-hairline); padding-left: var(--th-s5); }
.th-toc ol { list-style: none; margin: 0; padding: 0;
             counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.th-toc a { display: block; padding: 6px 0; font-size: var(--th-fs-sm);
            line-height: 1.45; color: var(--th-ink-2);
            transition: color var(--th-dur) var(--th-ease); }
.th-toc a:hover { color: var(--th-accent-text); }
.th-toc li { counter-increment: toc; }
/* Nummer in eigener Spalte: lange Titel umbrechen sauber neben „§ 4“ */
.th-toc a::before { content: "§\00a0" counter(toc); color: var(--th-ink-3);
                    font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 960px) {
  .th-toc { position: static; border-left: 0; padding-left: 0;
            border-top: 1px solid var(--th-hairline); padding-top: var(--th-s5); }
}
@media print { .th-toc, .th-header, .th-skip { display: none; } }

/* Nummerierte Abschnitte. Die Nummer steht in der Marginalie, damit
   Verweise wie „siehe § 7" schnell zu finden sind. */
.th-par { padding-block: var(--th-s7); border-top: 1px solid var(--th-hairline); }
.th-par:first-of-type { border-top: none; padding-top: 0; }
.th-par > h2 { display: flex; gap: var(--th-s4); align-items: baseline;
               font-family: var(--th-serif); font-weight: 400;
               font-size: var(--th-fs-h3); line-height: var(--th-lh-head);
               letter-spacing: var(--th-ls-tight); margin: 0 0 var(--th-s5);
               scroll-margin-top: 90px; }
.th-par > h2 .th-par-nr { font-family: var(--th-sans); font-size: var(--th-fs-md);
                          font-weight: 600; color: var(--th-accent-text);
                          letter-spacing: 0; flex: 0 0 auto; }
.th-par p { font-size: var(--th-fs-md); line-height: 1.75; color: var(--th-ink-2);
            margin: 0 0 var(--th-s5); max-width: 68ch; }
.th-par p:last-child { margin-bottom: 0; }
.th-par ul { margin: 0 0 var(--th-s5); padding-left: var(--th-s5);
             font-size: var(--th-fs-md); line-height: 1.75; color: var(--th-ink-2);
             max-width: 68ch; }
.th-par li { margin-bottom: var(--th-s2); }
.th-par strong { color: var(--th-ink); font-weight: 600; }
.th-par h3 { font-family: var(--th-sans); font-size: var(--th-fs-md); font-weight: 600;
             color: var(--th-ink); margin: var(--th-s6) 0 var(--th-s3); }

/* Paragrafenzitat — grau, monospaced, nie im Fließtext betont. */
.th-cite { font-family: var(--th-mono); font-size: var(--th-fs-xs);
           color: var(--th-ink-3); }

/* Noch zu füllen. Fällt absichtlich auf. */
.th-gap { background: var(--th-accent-wash); color: var(--th-accent-deep);
          padding: 1px 7px; border-radius: 5px; font-weight: 500;
          font-size: 0.94em; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════
   Seitenmuster · Erlebnisse
   ═══════════════════════════════════════════════════════════════ */

/* Filterleiste — Chrome-Glas, klebt beim Scrollen über dem Inhalt.
   Das ist genau der Fall, für den Glas da ist. */
.th-filterbar { position: sticky; z-index: 30;
                top: calc(env(safe-area-inset-top, 0px) + var(--th-s3));
                border-radius: var(--th-r-xl); padding: var(--th-s4) var(--th-s5);
                display: flex; flex-wrap: wrap; align-items: center;
                justify-content: space-between; gap: var(--th-s4); }

.th-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.th-chip {
  min-height: var(--th-tap); padding: 0 var(--th-s5);
  border: 1px solid var(--th-hairline); border-radius: var(--th-r-pill);
  background: var(--th-surface); color: var(--th-ink-2);
  font-size: var(--th-fs-base); font-weight: 500; cursor: pointer;
  transition: background-color var(--th-dur) var(--th-ease),
              border-color var(--th-dur) var(--th-ease),
              color var(--th-dur) var(--th-ease);
}
.th-chip:hover { border-color: oklch(0.80 0.013 95); color: var(--th-ink); }
.th-chip[aria-pressed="true"] { background: var(--th-ink); border-color: var(--th-ink);
                                color: var(--th-paper); }

/* Erlebniskachel: Eckdaten als kleines Raster, damit Länge, Dauer,
   Saison und Kosten immer an derselben Stelle stehen. */
.th-keyfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
               gap: var(--th-s3) var(--th-s5); margin: var(--th-s2) 0 0; }
.th-keyfacts div { display: flex; flex-direction: column; gap: 1px; }
.th-keyfacts dt { font-size: var(--th-fs-cap); font-weight: 500; letter-spacing: 0.1em;
                  text-transform: uppercase; color: var(--th-ink-3); margin: 0; }
.th-keyfacts dd { margin: 0; font-size: var(--th-fs-base); font-weight: 500;
                  font-variant-numeric: tabular-nums; }
.th-kicker { font-size: var(--th-fs-cap); font-weight: 600; letter-spacing: 0.12em;
             text-transform: uppercase; color: var(--th-accent-text); margin: 0; }

/* Die eigene Hausrunde steht zuerst und breiter — was ihr selbst macht,
   ist die beste Empfehlung auf der Seite. */
.th-exp-grid { display: grid; gap: var(--th-s6); align-items: stretch;
               grid-template-columns: repeat(3, minmax(0, 1fr)); }
.th-exp-grid > .th-tile { height: 100%; }
.th-exp-grid > .th-feature { grid-column: span 2; }
.th-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.th-feature .th-tile-media, .th-feature .th-photo { height: 100%; aspect-ratio: auto; min-height: 260px; }
@media (max-width: 960px) {
  .th-exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .th-exp-grid { grid-template-columns: minmax(0, 1fr); }
  .th-exp-grid > .th-feature { grid-column: auto; }
  .th-feature { grid-template-columns: minmax(0, 1fr); }
  .th-feature .th-photo { min-height: 200px; }
}

.th-empty { padding: var(--th-s9) var(--th-s6); text-align: center;
            border: 1px dashed var(--th-hairline); border-radius: var(--th-r-xl);
            color: var(--th-ink-2); }

/* Veranstaltungen: Datum links in fester Breite, damit die Zeilen fluchten. */
.th-event { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr);
            gap: var(--th-s5); padding-block: var(--th-s4);
            border-top: 1px solid var(--th-hairline-soft); }
.th-event:first-child { border-top: none; }
.th-event-date { font-size: var(--th-fs-sm); font-weight: 600;
                 font-variant-numeric: tabular-nums; color: var(--th-accent-text); }
@media (max-width: 520px) { .th-event { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Wetterlisten auf Olive. */
.th-weather { list-style: none; margin: 0; padding: 0; }
.th-weather li { padding-block: var(--th-s3); border-top: 1px solid oklch(0.945 0.016 88 / 15%);
                 font-size: var(--th-fs-md); color: var(--th-cream); }
.th-weather li:first-child { border-top: none; }

/* ═══════════════════════════════════════════════════════════════
   Zeitraum-Auswahl · eigenes Design statt Betriebssystem-Picker
   Auslöser sieht aus wie ein Feld (Mulde). Der Kalender ist
   L3-Glas: auf dem Desktop ein Popover unter dem Feld, auf dem
   Handy ein Blatt von unten — mit dem Daumen erreichbar.
   ═══════════════════════════════════════════════════════════════ */
.th-range { position: relative; }
.th-range-trigger {
  display: flex; align-items: center; gap: var(--th-s3);
  width: 100%; min-height: 56px;
  padding: 6px var(--th-s4) 6px var(--th-s5);
  border: 1px solid var(--th-hairline); border-radius: var(--th-r-md);
  background: oklch(0.982 0.008 91);
  box-shadow: inset 0 2px 4px rgba(42,36,22,0.07);
  color: var(--th-ink); text-align: left; cursor: pointer;
  transition: border-color var(--th-dur) var(--th-ease), box-shadow var(--th-dur) var(--th-ease);
}
.th-range-trigger:hover { border-color: oklch(0.82 0.013 95); }
.th-range-trigger:focus-visible, .th-range-trigger[aria-expanded="true"] {
  outline: none; border-color: var(--th-accent-text);
  box-shadow: inset 0 2px 4px rgba(42,36,22,0.05), 0 0 0 3px oklch(0.55 0.135 40 / 22%);
}
.th-range-part { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.th-range-k { font-size: var(--th-fs-cap); font-weight: 600; letter-spacing: 0.1em;
              text-transform: uppercase; color: var(--th-ink-3); }
.th-range-v { font-size: var(--th-fs-md); font-weight: 500; white-space: nowrap;
              font-variant-numeric: tabular-nums; }
.th-range-sep { color: var(--th-ink-3); flex: 0 0 auto; }
.th-range-cal { margin-left: auto; color: var(--th-accent-text); flex: 0 0 auto; }

/* Hintergrund hinter Dialogen */
.th-scrim-layer { position: fixed; inset: 0; z-index: 80;
                  background: rgba(24,20,12,0.16); opacity: 0;
                  transition: opacity 180ms var(--th-ease); }
.th-scrim-layer.is-open { opacity: 1; }
@media (max-width: 640px) { .th-scrim-layer { background: rgba(24,20,12,0.42); } }
html.th-noscroll { overflow: hidden; }
@media (max-width: 640px) { html.th-noscroll-mobil { overflow: hidden; } }

.th-picker {
  position: absolute; z-index: 90;
  border-radius: var(--th-r-xl);
  padding: var(--th-s6) var(--th-s7) var(--th-s5);
  color: var(--th-ink);
  animation: th-pop 180ms var(--th-ease);
}
/* Zahlen müssen lesbar bleiben, egal was darunter liegt:
   das Glas wird hier fast deckend. */
.th-picker.th-g-modal { background: linear-gradient(148deg, oklch(0.995 0.005 90 / 0.95), oklch(0.985 0.007 90 / 0.90)); }
.th-picker.is-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto;
  max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 26px 26px 0 0; border-bottom: 0;
  padding: var(--th-s7) var(--th-s5) 0;
  animation: th-sheet 240ms var(--th-ease);
}
.th-picker.is-sheet::before { content: ""; position: absolute; top: 9px; left: 50%;
  width: 38px; height: 5px; margin-left: -19px; border-radius: 3px;
  background: oklch(0.21 0.016 96 / 18%); }
@keyframes th-pop   { from { opacity: 0; transform: translateY(-6px) scale(0.985); } }
@keyframes th-sheet { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .th-picker, .th-picker.is-sheet { animation: none; } }

.th-picker-head { display: flex; align-items: center; justify-content: space-between;
                  gap: var(--th-s4); margin-bottom: var(--th-s3); }
.th-picker-titel { margin: 0; font-family: var(--th-serif); font-size: 1.625rem;
                   line-height: 1.1; letter-spacing: var(--th-ls-tight); }
.th-picker-x, .th-picker-pfeil {
  width: var(--th-tap); height: var(--th-tap); flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--th-hairline); border-radius: 50%;
  background: var(--th-surface); color: var(--th-ink); cursor: pointer;
  transition: background-color var(--th-dur) var(--th-ease), border-color var(--th-dur) var(--th-ease);
}
.th-picker-x:hover, .th-picker-pfeil:hover { border-color: oklch(0.80 0.013 95); background: var(--th-paper); }
.th-picker-pfeil[disabled] { opacity: 0.35; cursor: not-allowed; }
.th-picker-x:focus-visible, .th-picker-pfeil:focus-visible, .th-picker .th-day:focus-visible {
  outline: 2px solid var(--th-accent-text); outline-offset: 2px; }

/* Pfeile liegen auf Höhe der Monatsnamen, links und rechts. */
.th-picker-nav { position: relative; z-index: 1; display: flex; justify-content: space-between;
                 height: var(--th-tap); margin-bottom: calc(-1 * var(--th-tap)); pointer-events: none; }
.th-picker-pfeil { pointer-events: auto; }
.th-picker-monate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
                    gap: var(--th-s8); }
.is-sheet .th-picker-monate { grid-template-columns: minmax(0, 1fr); }
.th-picker-mname { margin: 0 0 var(--th-s3); height: var(--th-tap);
                   display: grid; place-items: center;
                   font-size: var(--th-fs-md); font-weight: 600; }

.th-picker .th-cal { display: block; }
.th-cal-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.th-cal-row + .th-cal-row { margin-top: 2px; }
.th-picker [role="gridcell"] { display: block; position: relative; }
.th-picker .th-cal-head { padding-bottom: var(--th-s2); font-size: var(--th-fs-cap);
                          letter-spacing: 0.06em; text-transform: uppercase; }

.th-picker .th-day {
  position: relative; width: 100%; aspect-ratio: 1; min-height: 40px; max-height: 48px;
  border-radius: 999px; font-size: var(--th-fs-md); text-decoration: none;
}
.th-picker .th-day:not([disabled]):not([data-rand]):not([data-inrange]):hover { background: oklch(0.21 0.016 96 / 7%); }
.th-picker .th-day[data-today] { box-shadow: none; }
.th-picker .th-day[data-today]::after { content: ""; position: absolute; left: 50%; bottom: 5px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--th-accent-text); }
/* vergangen / zu kurz: nur leiser, ohne Streichung */
.th-picker .th-day[disabled] { color: oklch(0.21 0.016 96 / 30%); text-decoration: none; }
/* belegt: gestrichen UND schraffiert — Zustand in Farbe und Form */
.th-picker .th-day[data-belegt] {
  color: oklch(0.21 0.016 96 / 42%);
  text-decoration: line-through; text-decoration-color: oklch(0.21 0.016 96 / 35%);
  background: repeating-linear-gradient(135deg, oklch(0.21 0.016 96 / 6%) 0 2px, transparent 2px 6px);
}
.th-picker .th-day[data-kurz] { color: oklch(0.21 0.016 96 / 34%); }
/* Zeitraum: ein durchgehendes Band, Anfang und Ende als Kreise */
.th-picker .th-day[data-inrange] { border-radius: 0; background: var(--th-accent-wash);
                                   color: var(--th-accent-deep); }
.th-picker .th-day[data-inrange]:hover { background: oklch(0.55 0.135 40 / 22%); }
.th-picker-monate:has([data-rand="ende"]) [role="gridcell"]:has(> [data-rand="start"]) {
  background: linear-gradient(90deg, transparent 50%, var(--th-accent-wash) 50%); }
.th-picker-monate:has([data-rand="start"]) [role="gridcell"]:has(> [data-rand="ende"]) {
  background: linear-gradient(90deg, var(--th-accent-wash) 50%, transparent 50%); }
.th-picker .th-day[data-rand] { background: var(--th-accent); color: var(--th-on-accent); font-weight: 600; }
.th-picker .th-day[data-rand][aria-selected]:hover { background: var(--th-accent-hover); }
.th-picker .th-day[data-rand="ende"]:not([aria-selected]) {   /* Vorschau beim Überfahren */
  background: var(--th-surface); color: var(--th-accent-deep);
  box-shadow: inset 0 0 0 1.5px var(--th-accent); }
.th-picker .th-day[data-rand]::after { background: currentColor; }

.th-picker-legende { display: flex; flex-wrap: wrap; gap: var(--th-s2) var(--th-s5);
                     margin-top: var(--th-s5); font-size: var(--th-fs-xs); color: var(--th-ink-3); }
.th-picker-legende span { display: inline-flex; align-items: center; gap: 7px; }
.th-picker-legende .lg { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.lg-wahl   { background: var(--th-accent); }
.lg-belegt { background: repeating-linear-gradient(135deg, oklch(0.21 0.016 96 / 30%) 0 2px, transparent 2px 5px);
             box-shadow: inset 0 0 0 1px oklch(0.21 0.016 96 / 20%); }
.lg-kurz   { box-shadow: inset 0 0 0 1px oklch(0.21 0.016 96 / 22%); }

.th-picker-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
                  gap: var(--th-s3) var(--th-s5);
                  margin-top: var(--th-s5); padding-top: var(--th-s4);
                  border-top: 1px solid var(--th-hairline); }
.th-picker-summe { margin: 0; font-size: var(--th-fs-sm); color: var(--th-ink-2);
                   font-variant-numeric: tabular-nums; }
.th-picker-summe strong { color: var(--th-ink); font-weight: 600; }
.th-picker-akt { display: flex; gap: var(--th-s2); margin-left: auto; }
/* Auf dem Handy klebt die Aktion unten am Daumen. */
.is-sheet .th-picker-fuss { position: sticky; bottom: 0; z-index: 2;
  margin-inline: calc(-1 * var(--th-s5)); padding: var(--th-s4) var(--th-s5);
  padding-bottom: calc(var(--th-s4) + env(safe-area-inset-bottom, 0px));
  background: oklch(0.993 0.006 90 / 0.97); }
.is-sheet .th-picker-summe { flex: 1 1 100%; }
.is-sheet .th-picker-akt { flex: 1 1 100%; }
.is-sheet .th-picker-akt .th-btn { flex: 1; min-height: 50px; }

/* ═══════════════════════════════════════════════════════════════
   Kopfzeile · Marke, Menüknopf, Menüblatt
   ═══════════════════════════════════════════════════════════════ */
.th-brand { display: inline-flex; flex-direction: column; justify-content: center;
            min-height: var(--th-tap); color: inherit; text-decoration: none; }
.th-brand .th-wordmark, .th-brand .th-slogan { display: block; }
.th-slogan { white-space: nowrap; }

.th-menu-btn {
  display: none; width: var(--th-tap); height: var(--th-tap); flex: 0 0 auto;
  place-items: center; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--th-hairline); background: var(--th-surface); color: var(--th-ink);
}
.th-on-dark .th-menu-btn { border-color: oklch(0.945 0.016 88 / 26%);
                           background: oklch(0.945 0.016 88 / 10%); color: var(--th-cream-bright); }
.th-menu-btn:focus-visible { outline: 2px solid var(--th-accent-bright); outline-offset: 2px; }
@media (max-width: 960px) {
  .th-menu-btn { display: grid; }
  .th-header-bar { gap: var(--th-s3); padding-left: var(--th-s5); }
  .th-header-bar > .th-btn { margin-left: auto; }
}
@media (max-width: 600px) {
  /* Die Aktion wandert ins Menü; die Leiste bleibt ruhig. */
  .th-header-bar:has(> .th-nav) > .th-btn { display: none; }
  .th-header-bar > .th-btn { padding-inline: var(--th-s4); font-size: var(--th-fs-sm); }
  .th-header-bar { min-height: 60px; padding-right: 8px; }
}
@media (max-width: 400px) {
  .th-slogan { letter-spacing: 0.1em; }
  .th-header-bar .th-wordmark { font-size: 1.125rem; }
}

/* Sprachwahl: klein und ruhig neben der Hauptaktion. Auf dem Handy
   wandert sie ins Menü — außer dort, wo es kein Menü gibt. */
.th-header-bar > .th-nav, .th-header-bar > .th-lang { margin-left: auto; }
.th-lang { display: flex; align-items: center; flex: 0 0 auto; margin-right: calc(var(--th-s3) - var(--th-s6));
           font-size: var(--th-fs-xs); font-weight: 600; letter-spacing: 0.08em; }
.th-lang a, .th-menu-lang a { display: inline-grid; place-items: center; min-width: 36px; min-height: var(--th-tap);
             padding: 0 4px; color: inherit; opacity: 0.62; text-decoration: none;
             transition: opacity var(--th-dur) var(--th-ease); }
.th-lang a:hover, .th-menu-lang a:hover { opacity: 1; }
.th-lang a[aria-current], .th-menu-lang a[aria-current] { opacity: 1; text-decoration: underline;
             text-decoration-color: var(--th-accent-bright); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.th-on-dark .th-lang { color: var(--th-cream-bright); }
.th-menu-lang { display: flex; gap: var(--th-s2); margin-top: var(--th-s4);
                font-size: var(--th-fs-sm); font-weight: 600; letter-spacing: 0.08em; }
.th-menu-lang a { min-width: var(--th-tap); border: 1px solid var(--th-hairline); border-radius: 12px; }
.th-on-dark .th-menu-lang a { border-color: oklch(0.945 0.016 88 / 22%); color: var(--th-cream-bright); }
@media (max-width: 960px) {
  .th-header-bar:has(> .th-nav) > .th-lang { display: none; }
  .th-header-bar > .th-lang { margin-right: 0; }
  .th-header-bar:not(:has(> .th-nav)) > .th-lang + .th-btn { margin-left: 0; }
  .th-lang a { min-width: 30px; padding: 0 2px; }
}

.th-menu-sheet {
  position: fixed; z-index: 90;
  top: calc(env(safe-area-inset-top, 0px) + var(--th-s3)); left: var(--th-s3); right: var(--th-s3);
  max-height: calc(100dvh - 2 * var(--th-s3)); overflow-y: auto;
  border-radius: var(--th-r-xl); padding: var(--th-s5) var(--th-s5) var(--th-s6);
  animation: th-pop 180ms var(--th-ease);
}
.th-menu-sheet.th-g-modal { background: oklch(0.993 0.006 90 / 0.96); color: var(--th-ink); }
.th-menu-sheet.th-gd { background: oklch(0.285 0.041 115 / 0.97); color: var(--th-cream); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .th-picker.th-g-modal, .th-menu-sheet.th-g-modal { background: var(--th-surface); }
}
.th-menu-head { display: flex; align-items: center; justify-content: space-between;
                gap: var(--th-s4); margin-bottom: var(--th-s4); padding-left: 2px; }
.th-on-dark .th-picker-x { border-color: oklch(0.945 0.016 88 / 26%);
                           background: oklch(0.945 0.016 88 / 10%); color: var(--th-cream-bright); }
.th-menu-links { display: flex; flex-direction: column; }
.th-menu-links a { display: flex; align-items: center; min-height: 56px;
                   font-family: var(--th-serif); font-size: 1.75rem; line-height: 1.1;
                   letter-spacing: var(--th-ls-tight);
                   border-top: 1px solid var(--th-hairline); }
.th-on-dark .th-menu-links a { border-top-color: oklch(0.945 0.016 88 / 15%); color: var(--th-cream-bright); }
.th-menu-links a[aria-current="page"] { color: var(--th-accent-text); font-style: italic; }
.th-on-dark .th-menu-links a[aria-current="page"] { color: var(--th-accent-bright); }
.th-menu-links + .th-btn { margin-top: var(--th-s5); }
.th-menu-recht { display: flex; flex-wrap: wrap; gap: 0 var(--th-s5); margin-top: var(--th-s5);
                 font-size: var(--th-fs-sm); color: var(--th-ink-3); }
.th-on-dark .th-menu-recht { color: var(--th-cream-faint); }
.th-menu-recht a { display: inline-flex; align-items: center; min-height: var(--th-tap); }

/* ═══════════════════════════════════════════════════════════════
   Audit-Korrekturen · Tippflächen, Handy, Kontrast
   ═══════════════════════════════════════════════════════════════ */
/* Tippflächen: 44 px, auch wo es ruhig aussehen soll */
.th-stepper button { width: var(--th-tap); height: var(--th-tap); }
.th-seg button { min-height: var(--th-tap); white-space: nowrap; }
.th-toc a { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); column-gap: .35em; align-items: center; min-height: var(--th-tap); padding-block: 4px; }
footer nav a { display: inline-flex; align-items: center; min-height: var(--th-tap); }

/* Paragrafenzitat bleibt klein — auch innerhalb von .th-par p */
.th-par .th-cite { font-family: var(--th-mono); font-size: var(--th-fs-xs);
                   line-height: 1.6; color: var(--th-ink-3); }
/* Lücke auf dunklem Grund */
.th-on-dark .th-gap { background: oklch(0.72 0.11 45 / 24%); color: var(--th-cream-bright); }
/* Lange Lücken dürfen auf dem Handy umbrechen */
@media (max-width: 640px) { .th-gap { white-space: normal; } }

/* Glas über Fotos: Beschriftung braucht mehr Deckkraft */
.th-availability.th-g { background: linear-gradient(148deg, rgba(255,255,255,0.74), rgba(255,255,255,0.58)); }
.th-pill { background: rgba(24,20,12,0.56); }
.th-photo-tag { background: rgba(0,0,0,0.58); }

/* Buchungsleiste im Hero: Haus · Zeitraum · Gäste · Aktion */
.th-availability-grid.is-range { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) auto auto; }
.th-house-static { display: flex; flex-direction: column; justify-content: center; gap: 1px;
                   min-height: 56px; padding: 6px var(--th-s5);
                   border: 1px solid var(--th-hairline); border-radius: var(--th-r-md);
                   background: oklch(0.982 0.008 91 / 0.7); }
.th-house-static b { font-weight: 500; font-size: var(--th-fs-md); white-space: nowrap;
                     overflow: hidden; text-overflow: ellipsis; }
.th-house-static span { font-size: var(--th-fs-xs); color: var(--th-ink-3); }
.th-availability .th-stepper { min-height: 56px; padding: 5px; border-radius: var(--th-r-md);
                               background: oklch(0.982 0.008 91); }
.th-availability-grid.is-range > .th-btn { min-height: 56px; }
@media (max-width: 960px) {
  .th-availability-grid.is-range { grid-template-columns: minmax(0, 1fr) auto; }
  .th-availability-grid.is-range > :first-child,
  .th-availability-grid.is-range > .th-btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .th-availability-grid.is-range { grid-template-columns: minmax(0, 1fr); }
  .th-availability-grid.is-range > * { grid-column: 1 / -1; }
  .th-availability .th-stepper { justify-content: space-between; width: 100%; }
}

/* Buchungsschritte: auf dem Handy nur der aktuelle Schritt mit Namen */
@media (max-width: 560px) {
  .th-steps { flex-wrap: nowrap; gap: var(--th-s2); }
  .th-step:not([aria-current="step"]) { font-size: 0; gap: 0; }
  .th-step-dot { font-size: 11px; }
}

/* Erlebnisse: Filter auf dem Handy in einer wischbaren Reihe */
@media (max-width: 640px) {
  .th-filterbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: var(--th-s3);
                  padding: var(--th-s3); }
  .th-filterbar .th-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
                            -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
                            margin-inline: calc(-1 * var(--th-s3)); padding-inline: var(--th-s3);
                            mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .th-filterbar .th-chips::-webkit-scrollbar { display: none; }
  .th-filterbar .th-chip { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
  .th-filterbar .th-seg { display: flex; }
  .th-filterbar .th-seg button { flex: 1 1 auto; min-width: 0; padding-inline: var(--th-s2); white-space: normal; line-height: 1.15; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; }
}
@media (max-width: 440px) {
  .th-filterbar .th-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
}

/* Karte: Beschriftung wächst auf kleinen Bildschirmen mit */
/* 800 Einheiten auf ~340 px heißt Faktor 0,43 — ohne das wären die
   Namen 5 px klein. Der Hinweis steht ohnehin unter der Karte. */
@media (max-width: 640px) {
  .th-map svg .k-s { font-size: 23px; }
  .th-map svg .k-m { font-size: 27px; }
  .th-map svg .k-l { font-size: 30px; }
  .th-map svg .k-unter  { transform: translateY(10px); }
  .th-map svg .k-unter2 { transform: translateY(16px); }
  .th-map svg .k-hinweis { display: none; }
}

/* Rechtsseiten: Sprungliste steht im Quelltext VOR dem Text, damit
   sie auf dem Handy oben auftaucht (eingeklappt). Auf dem Desktop
   rückt sie per Raster in die rechte Spalte. */
.th-legal > .th-toc { grid-column: 2; grid-row: 1; }
.th-legal > .th-legal-text { grid-column: 1; grid-row: 1; min-width: 0; }
.th-toc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between;
                    min-height: var(--th-tap); cursor: pointer;
                    font-size: var(--th-fs-cap); font-weight: 600; letter-spacing: 0.12em;
                    text-transform: uppercase; color: var(--th-ink-3); }
.th-toc > summary::-webkit-details-marker { display: none; }
.th-toc > summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px;
                           border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
                           transform: rotate(45deg) translateY(-2px); transition: transform var(--th-dur) var(--th-ease); }
.th-toc[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
@media (min-width: 961px) { .th-toc > summary { pointer-events: none; } .th-toc > summary::after { display: none; } }
@media (max-width: 960px) {
  .th-legal > .th-toc, .th-legal > .th-legal-text { grid-column: 1; grid-row: auto; }
  .th-toc { border: 1px solid var(--th-hairline); border-radius: var(--th-r-lg);
            padding: 0 var(--th-s5); background: var(--th-surface); }
  .th-toc[open] { padding-bottom: var(--th-s3); }
  .th-toc > summary { color: var(--th-ink-2); }
}

/* Heller Glaskasten im dunklen Hero: Schrift zurück auf Tinte. */
.th-availability { color: var(--th-ink); }
.th-availability .th-field-label { color: var(--th-ink-2); }
.th-pill { background: rgba(24,20,12,0.62); }
/* Fußzeile: Tippflächen hoch, Abstand zwischen Zeilen klein */
footer nav.th-row { row-gap: 0 !important; column-gap: var(--th-s6) !important; }
footer nav a { min-width: var(--th-tap); }
.th-map-credit a { min-height: var(--th-tap); }
@media (max-width: 600px) { .th-header-bar > .th-btn { min-height: var(--th-tap); } }
.th-chip { min-width: var(--th-tap); }

/* ═══════════════════════════════════════════════════════════════
   Seitenmuster · Journal
   ═══════════════════════════════════════════════════════════════ */
.th-jgrid { display: grid; gap: var(--th-s6); align-items: stretch;
            grid-template-columns: repeat(2, minmax(0, 1fr)); }
.th-jgrid > .th-jcard:first-child:not(:only-child) { grid-column: 1 / -1; }
.th-jgrid-2 > .th-jcard:first-child:not(:only-child) { grid-column: auto; }
@media (min-width: 961px) {
  .th-jgrid:not(.th-jgrid-2) > .th-jcard:first-child { display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .th-jgrid:not(.th-jgrid-2) > .th-jcard:first-child .th-photo { height: 100%; aspect-ratio: auto !important; min-height: 300px; }
  .th-jgrid:not(.th-jgrid-2) > .th-jcard:first-child .th-tile-body { justify-content: center; padding: var(--th-s8); }
}
@media (max-width: 700px) { .th-jgrid { grid-template-columns: minmax(0, 1fr); } }
/* Ganze Karte klickbar, Link bleibt die Überschrift (Screenreader liest nur den Titel) */
.th-jcard { position: relative; transition: border-color var(--th-dur) var(--th-ease), box-shadow var(--th-dur) var(--th-ease); }
.th-jcard:hover { border-color: oklch(0.82 0.013 95); box-shadow: var(--th-sh-1); }
.th-jcard-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.th-jcard-link:focus-visible { outline: none; }
.th-jcard:has(.th-jcard-link:focus-visible) { outline: 2px solid var(--th-accent-text); outline-offset: 3px; }
.th-jmeta { margin: 0; font-size: var(--th-fs-xs); color: var(--th-ink-3); }
.th-on-dark .th-jmeta { color: var(--th-cream-faint); }

.th-crumbs { display: flex; align-items: center; gap: var(--th-s2); font-size: var(--th-fs-sm); color: var(--th-cream-faint); }
.th-crumbs a { display: inline-flex; align-items: center; min-height: var(--th-tap); color: var(--th-cream-dim);
               text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(0.945 0.016 88 / 30%); }
.th-crumbs a:hover { color: var(--th-cream-bright); }

.th-article { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start;
              grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.th-article-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--th-s5));
                    padding: var(--th-s6); }
.th-keyfacts-1 { grid-template-columns: minmax(0, 1fr); gap: var(--th-s4); }
.th-prose ul { margin: 0 0 var(--th-s7); padding-left: 1.2em; font-family: var(--th-serif);
               font-size: var(--th-fs-prose); line-height: var(--th-lh-prose); color: var(--th-prose); }
.th-prose .th-gap { font-family: var(--th-sans); font-size: 0.78em; }
@media (max-width: 960px) {
  .th-article { grid-template-columns: minmax(0, 1fr); }
  .th-article-aside { position: static; order: -1; }
}
@media (max-width: 640px) {
  .th-prose p { font-size: 1.125rem; margin-bottom: var(--th-s6); }
  .th-prose h2 { margin-top: var(--th-s9); }
}
.th-article { max-width: 66rem; }
@media (max-width: 960px) {
  .th-article-aside .th-keyfacts-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--th-s4) var(--th-s5); }
}
footer p a[href^="mailto:"] { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(0.945 0.016 88 / 35%); }
footer p a[href^="mailto:"]:hover { color: var(--th-cream-bright); }

/* Echte Fotos im Fotorahmen: füllen die Fläche, Seitenverhältnis kommt vom Rahmen */
.th-photo > picture, .th-photo > picture > img, .th-photo > img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.th-photo img { object-fit: cover; }
.th-figure figcaption { margin-top: var(--th-s3); font-size: var(--th-fs-xs); color: var(--th-ink-3); }
/* Auf dem Handy ist 21:9 zu flach für ein Landschaftsfoto */
@media (max-width: 640px) { .th-figure .th-photo { aspect-ratio: 3 / 2 !important; } }
/* Hochformat im Artikel: schmal, mittig im Lesefluss, eigenes Seitenverhältnis */
.th-prose .th-figure-hoch { margin: var(--th-s8) 0; max-width: 26rem; }
.th-figure-hoch img { display: block; width: 100%; height: auto; border-radius: var(--th-r-lg); }

/* ── Über uns ── */
.th-versprechen { list-style: none; padding-left: 0 !important; }
.th-versprechen li { position: relative; padding-left: 1.4em; margin-bottom: var(--th-s4); }
.th-versprechen li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55em; height: .55em;
                             border-radius: 50%; background: var(--th-accent); }
.th-person { display: flex; flex-direction: column; }
.th-person-bild { width: 96px; height: 96px; }
.th-seg button { min-width: var(--th-tap); }
.th-crumbs a { padding-inline: 2px; }

/* Fußzeile unten: Copyright links, Green-Hosting-Siegel rechts (Bild liegt lokal, kein Fremdaufruf) */
.th-fuss-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--th-s5); margin-top: var(--th-s8); }
.th-greenbadge { display: inline-block; line-height: 0; border-radius: 6px; }
.th-greenbadge img { width: 150px; height: auto; border-radius: 6px; }
/* Instagram unter der Anschrift: ein Link, kein eingebettetes Widget */
.th-sozial { margin: var(--th-s4) 0 0; font-size: var(--th-fs-sm); }
.th-sozial a { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; color: inherit;
  text-decoration: none; transition: color .3s var(--th-ease); }
.th-sozial a span { text-decoration: underline; text-decoration-color: color-mix(in oklch, currentColor 35%, transparent); text-underline-offset: 3px; }
.th-sozial a:hover { color: var(--th-cream-bright, #fff); }
.th-sozial a:hover span { text-decoration-color: currentColor; }
/* Host-Login in der Fußzeile: da, aber leise */
.th-host-login { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in oklch, currentColor 40%, transparent); text-underline-offset: 3px; }
.th-host-login:hover { text-decoration-color: currentColor; }

/* Zwei Fotos nebeneinander (Über uns) */
.th-duo { display: grid; gap: var(--th-s5); }
@media (min-width: 700px) { .th-duo { grid-template-columns: 1fr 1fr; } }
.th-duo .th-figure { margin: 0; }

/* Footer-Links: gleichmäßiger Abstand, Text mittig in der Tippfläche */
footer nav a { justify-content: center; }

/* Merkmale auf Fotos: am Handy eine Zeile zum Wischen statt zwei, die das Bild verdecken */
@media (max-width: 640px) {
  .th-tile-pills { right: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: var(--th-s4);
                   -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .th-tile-pills::-webkit-scrollbar { display: none; }
  .th-tile-pills .th-pill { flex: none; }
  .th-tile-media .th-photo-wide { aspect-ratio: 4 / 3; }
}

/* Buchungsleiste am Handy: echtes Glas wie Kopfleiste und Buchungsbox */
.th-bottombar {
  background: linear-gradient(180deg, oklch(0.995 0.005 90 / 0.70), oklch(0.985 0.008 88 / 0.80));
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 -10px 30px -12px rgba(42, 36, 22, 0.25);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
}
.th-tile-pills:focus-visible { outline: 2px solid var(--th-accent-bright, #e0703f); outline-offset: 2px; border-radius: 14px; }

/* ── Datenschutz-Hinweis: Glaskarte, blockiert nichts ───────────
   Unten rechts, am Handy über die ganze Breite und oberhalb der
   Buchungsleiste. Schiebt sich sanft herein, bei „Bewegung
   reduzieren“ einfach da. */
.th-hinweis { position: fixed; z-index: 70; right: 20px; bottom: var(--th-hinweis-unten, 20px);
              width: min(380px, calc(100vw - 24px)); border-radius: 22px; padding: 18px 20px 16px;
              opacity: 0; transform: translateY(18px) scale(.98); pointer-events: none;
              transition: opacity .4s var(--th-ease), transform .5s var(--th-ease); }
.th-hinweis.is-open { opacity: 1; transform: none; pointer-events: auto; }
/* fast deckendes Glas: Text muss lesbar bleiben, egal was darunter liegt */
.th-hinweis.th-g { background: linear-gradient(148deg, oklch(0.995 0.005 90 / 0.90), oklch(0.985 0.008 88 / 0.84));
                   -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
                   box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 44px rgba(42,36,22,.20), 0 2px 6px rgba(42,36,22,.08); }
.th-hinweis-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.th-hinweis-icon { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 11px; display: grid; place-items: center;
                   color: var(--th-accent-deep); background: linear-gradient(150deg, oklch(0.975 0.028 60), oklch(0.915 0.05 45));
                   box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 4px 10px -4px oklch(0.45 0.12 40 / 40%); }
.th-hinweis-titel { margin: 0; font-family: var(--th-serif); font-size: 1.3rem; line-height: 1.15; color: var(--th-ink); }
.th-hinweis-text { margin: 0 0 14px; font-size: var(--th-fs-sm); line-height: 1.6; color: var(--th-ink-2); }
.th-hinweis-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.th-hinweis-knoepfe .th-btn { min-height: 40px; padding-inline: 18px; font-size: var(--th-fs-sm); }
.th-hinweis-link { font-size: var(--th-fs-sm); font-weight: 500; color: var(--th-accent-text);
                   text-decoration: underline; text-underline-offset: 3px; min-height: 40px; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  .th-hinweis { right: 12px; left: 12px; width: auto; bottom: var(--th-hinweis-unten, 12px); padding: 16px 16px 14px; }
}
@media (prefers-reduced-motion: reduce) { .th-hinweis { transition: none; transform: none; } }
@media print { .th-hinweis { display: none; } }
/* Sicherheitszeile im Zahlungsschritt */
.th-sicher { list-style: none; margin: calc(-1 * var(--th-s4)) 0 var(--th-s7); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.th-sicher li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--th-r-pill);
                font-size: var(--th-fs-xs); font-weight: 500; color: var(--th-ok-text); background: var(--th-ok-wash); }

/* ── Foto-Mosaik: ein großes, zwei kleine Quadrate im 3:2-Rahmen ── */
.th-photo > .th-mosaik {
  position: absolute; inset: 0; display: grid; gap: 3px;
  grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr;
  background: var(--th-surface);
}
.th-mosaik > picture { position: relative; overflow: hidden; min-height: 0; }
.th-mosaik > picture:first-child { grid-row: span 2; }
.th-mosaik img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.th-tile:hover .th-mosaik img { transform: scale(1.04); }
.th-tile:hover .th-mosaik > picture:nth-child(2) img { transition-delay: 60ms; }
.th-tile:hover .th-mosaik > picture:nth-child(3) img { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) { .th-mosaik img { transition: none; } .th-tile:hover .th-mosaik img { transform: none; } }
.th-tile-body p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklch, currentColor 40%, transparent); }

/* „Made with ♥“: die persönliche Zeile unter dem Kleingedruckten */
.th-made { display: block; margin-top: var(--th-s3); font-family: var(--th-serif); font-style: italic;
  font-size: 1.0625rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.th-on-dark .th-made { color: var(--th-cream); }
.th-herz { display: inline-block; color: var(--th-accent, #B1512D); font-style: normal; padding: 0 0.1em;
  transform-origin: 50% 60%; animation: th-herzschlag 2.8s ease-in-out infinite; }
.th-on-dark .th-herz { color: oklch(0.72 0.12 45); }
@keyframes th-herzschlag { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(1.22); } 82% { transform: scale(1); } 88% { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .th-herz { animation: none; } }

/* ── Seite „Datenschutz & Sicherheit“ ─────────────────────────── */
.th-sicher-hell li { color: var(--th-cream); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.th-sicher-hell { margin: var(--th-s7) 0 0; }
.th-trust-grid { display: grid; gap: var(--th-s6); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .th-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .th-trust-grid { grid-template-columns: minmax(0, 1fr); } }
.th-trust { border-radius: var(--th-r-xl); padding: var(--th-s6); display: flex; flex-direction: column;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.th-trust > .th-g-body { display: flex; flex-direction: column; height: 100%; }
.th-trust:hover { transform: translateY(-3px); }
.th-trust-icon { position: relative; width: 52px; height: 52px; border-radius: 16px; flex: 0 0 auto;
  display: grid; place-items: center; overflow: hidden; color: var(--th-accent-deep);
  background: linear-gradient(150deg, oklch(0.975 0.028 60), oklch(0.915 0.05 45));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(120,60,20,.10), 0 8px 18px -8px oklch(0.45 0.12 40 / 45%); }
.th-trust-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 48%); }
.th-trust-icon svg { transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
.th-trust:hover .th-trust-icon svg, .th-fluss-schritt:hover .th-trust-icon svg { transform: rotate(-8deg) scale(1.1); }
.th-trust .th-buegel { transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.th-trust:hover .th-buegel { transform: translateY(-1.5px); }
.th-trust-quelle { margin-top: auto; padding-top: var(--th-s5); align-self: flex-start; font-size: var(--th-fs-sm); font-weight: 600;
  color: var(--th-accent-text); text-decoration: underline; text-underline-offset: 3px; min-height: var(--th-tap, 44px);
  display: inline-flex; align-items: flex-end; }
.th-trust-quelle::after { content: " ↗"; white-space: pre; }

.th-fluss { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--th-s6);
  grid-template-columns: repeat(4, minmax(0, 1fr)); }
.th-fluss-schritt { position: relative; display: flex; flex-direction: column; gap: var(--th-s5); }
.th-fluss-schritt:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 64px;
  right: calc(-1 * var(--th-s6) + 12px); height: 2px; border-radius: 2px; opacity: .6;
  background: repeating-linear-gradient(90deg, var(--th-accent) 0 6px, transparent 6px 14px);
  animation: th-fluss-x 1.4s linear infinite; }
.th-fluss-ort { margin: 0 0 var(--th-s2); font-size: var(--th-fs-xs); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--th-ink-3); }
@keyframes th-fluss-x { to { background-position: 14px 0; } }
@keyframes th-fluss-y { to { background-position: 0 14px; } }
@media (max-width: 860px) {
  .th-fluss { grid-template-columns: minmax(0, 1fr); gap: var(--th-s7); }
  .th-fluss-schritt { flex-direction: row; align-items: flex-start; }
  .th-fluss-schritt:not(:last-child)::after { top: 62px; left: 25px; right: auto; width: 2px; height: auto;
    bottom: calc(-1 * var(--th-s7) + 8px);
    background: repeating-linear-gradient(180deg, var(--th-accent) 0 6px, transparent 6px 14px);
    animation-name: th-fluss-y; }
}
@media (prefers-reduced-motion: reduce) {
  .th-fluss-schritt::after { animation: none !important; }
  .th-trust, .th-trust-icon svg, .th-trust .th-buegel { transition: none; }
  .th-trust:hover { transform: none; }
}

.th-haken { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--th-s4); }
.th-haken li { position: relative; padding-left: 2.1em; line-height: 1.6; }
.th-haken li::before { content: ""; position: absolute; left: 0; top: .12em; width: 1.4em; height: 1.4em; border-radius: 50%;
  background: var(--th-ok-wash) no-repeat center / 62% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.th-haken-nein li::before { background-color: oklch(0.95 0.03 40);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4492a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }
.th-keyfacts dd a { color: var(--th-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.th-keyfacts dd a::after { content: " ↗"; }

/* ── Erlebnisse: Auswahl nach Land, über der Filterleiste ─────── */
.th-laender { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 var(--th-s5); }
.th-laender button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px 0 var(--th-s5);
  border: 1px solid var(--th-hairline); border-radius: var(--th-r-pill); cursor: pointer;
  background: linear-gradient(148deg, rgba(255,255,255,0.72), rgba(255,255,255,0.42));
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 6px 18px -10px rgba(42,36,22,0.35);
  font-size: var(--th-fs-base); font-weight: 600; color: var(--th-ink-2);
  transition: background-color .3s var(--th-ease), color .3s var(--th-ease), transform .3s var(--th-ease), border-color .3s;
}
.th-laender button:hover { color: var(--th-ink); transform: translateY(-1px); border-color: oklch(0.80 0.013 95); }
.th-laender button[aria-pressed="true"] { background: var(--th-ink); border-color: var(--th-ink); color: var(--th-paper); box-shadow: 0 8px 20px -10px rgba(42,36,22,0.55); }
.th-anz { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px;
  font-size: var(--th-fs-xs); font-weight: 600; font-variant-numeric: tabular-nums;
  background: oklch(0.93 0.012 92); color: var(--th-ink-2); transition: background-color .3s, color .3s; }
.th-laender button[aria-pressed="true"] .th-anz { background: rgba(255,255,255,0.16); color: var(--th-paper); }
@media (max-width: 520px) {
  .th-laender { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .th-laender button { justify-content: space-between; padding-inline: var(--th-s4) 10px; }
}
@media (prefers-reduced-motion: reduce) { .th-laender button { transition: none; } .th-laender button:hover { transform: none; } }
@media (prefers-reduced-transparency: reduce) { .th-laender button { background: var(--th-surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Fußzeile: Datenschutz-Plakette (eigene Angabe, verlinkt auf die Nachweise) neben dem Green-Hosting-Siegel */
.th-plaketten { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.th-dsplakette { display: inline-flex; align-items: center; gap: 10px; height: 71px; box-sizing: border-box;
  padding: 0 16px 0 12px; border-radius: 8px; color: var(--th-cream-bright, #fff); text-decoration: none;
  background: linear-gradient(150deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .3s var(--th-ease), transform .3s var(--th-ease), border-color .3s; }
.th-dsplakette svg { flex: 0 0 auto; color: oklch(0.80 0.10 55); }
.th-dsplakette > span { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.th-dsplakette strong { font-size: var(--th-fs-sm); font-weight: 600; letter-spacing: .02em; }
.th-dsplakette > span > span { font-size: var(--th-fs-xs); color: var(--th-cream-faint); white-space: nowrap; }
.th-dsplakette strong { margin-bottom: 1px; }
@media (max-width: 420px) {
  .th-plaketten { gap: 10px; }
  .th-dsplakette { height: 65px; padding: 0 12px 0 10px; gap: 8px; }
  .th-dsplakette svg { width: 26px; height: 26px; }
  .th-plaketten .th-greenbadge img { width: 137px; }
}
.th-dsplakette:hover { border-color: rgba(255,255,255,0.34); transform: translateY(-1px); }
.th-dsplakette:hover svg path:last-child { stroke-dasharray: 12; animation: th-haken-zeichnen .6s ease-out; }
@keyframes th-haken-zeichnen { from { stroke-dashoffset: 12; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .th-dsplakette { transition: none; } .th-dsplakette:hover { transform: none; } .th-dsplakette:hover svg path:last-child { animation: none; } }

/* Nach oben: kleiner Glaskreis unten rechts, erst nach etwas Scrollen */
.th-nachoben { position: fixed; right: 16px; bottom: calc(16px + var(--th-nachoben-unten, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 55;
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--th-ink); border: 1px solid var(--th-hairline);
  background: oklch(0.993 0.006 90 / 0.78); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 24px oklch(0.2 0.02 100 / 0.16), inset 0 1px 0 rgba(255,255,255,.6);
  opacity: 0; transform: translateY(10px) scale(.92); pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--th-ease), transform .3s var(--th-ease), visibility 0s linear .3s; }
.th-nachoben.is-da { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.th-nachoben:hover { transform: translateY(-2px); }
.th-nachoben:focus-visible { outline: 2px solid var(--th-accent-text); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .th-nachoben, .th-nachoben:hover { transition: none; transform: none; } }
@media (prefers-reduced-transparency: reduce) { .th-nachoben { background: var(--th-surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media print { .th-nachoben { display: none; } }
