/* ============================================================
   SITE — Seiten-Kompositionen für Ferienhaus Teneriffa
   ------------------------------------------------------------
   Baut auf styles.css (Tokens + Components) auf. Enthält nur
   seitenübergreifende Layout-Bausteine: Header/Mobile-Nav,
   Heroes, Galerie, Formular, Footer. Werte kommen aus Tokens.
   ============================================================ */

/* ---- Skip-Link (a11y) -------------------------------------------- */
.skip-link {
  position: absolute; left: var(--space-4); top: var(--space-4);
  transform: translateY(-200%);
  background: var(--surface-card); color: var(--text-heading);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
  z-index: 100; box-shadow: var(--shadow-md);
}
.skip-link:focus { transform: translateY(0); }

/* ---- Header ------------------------------------------------------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  padding-block: var(--space-6);
}
.site-header__bar { position: relative; }

/* Mobile-Hamburger */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-xs);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: ''; display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top:  6px; }

/* Solid-Header-Variante (für Seiten ohne dunklen Hero) */
.site-header--solid {
  position: relative; background: var(--surface-page);
  border-bottom: 1px solid var(--border-muted);
}
.site-header--solid .nav__brand,
.site-header--solid .nav__link { color: var(--text-body); }
.site-header--solid .nav__brand { color: var(--text-heading); }
.site-header--solid .nav__toggle { background: var(--surface-sunken); border-color: var(--border-default); }
.site-header--solid .nav__toggle span,
.site-header--solid .nav__toggle span::before,
.site-header--solid .nav__toggle span::after { background: var(--ink-900); }

@media (max-width: 859px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: calc(100% + var(--space-4)); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-card);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  }
  .site-header.is-open .nav__links { opacity: 1; visibility: visible; transform: translateY(0); }
  /* Im offenen Panel immer dunkle Schrift auf hellem Grund */
  .nav--on-dark .nav__links .nav__link { color: var(--text-body); }
  .nav--on-dark .lang-switch > summary { color: var(--text-body); }
  .nav__links .nav__link {
    padding: var(--space-3) var(--space-3);
    border-radius: var(--radius-xs);
  }
  .nav__links .nav__link:hover { background: var(--surface-sunken); color: var(--text-heading); }
  .nav__links .btn { margin-top: var(--space-2); }
  .nav__link--active { color: var(--text-heading) !important; font-weight: var(--fw-bold); }
}
@media (min-width: 860px) {
  .nav__link--active { color: #fff; }
  .site-header--solid .nav__link--active { color: var(--text-heading); position: relative; }
}

/* ---- Hero (full-bleed, für Startseite) --------------------------- */
.home-hero {
  position: relative; min-height: 86vh; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; isolation: isolate;
}
.home-hero__media, .home-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__scrim { position: absolute; inset: 0; background: var(--scrim-hero); z-index: 1; }
.home-hero__inner { position: relative; z-index: 2; padding-bottom: var(--space-20); }
.home-hero h1 { color: #fff; font-size: var(--fs-display); max-width: 16ch; }
.home-hero .eyebrow { color: var(--accent-gold); margin-bottom: var(--space-4); }
.home-hero p.lead-hero { color: rgba(255,255,255,0.92); max-width: 48ch; margin-top: var(--space-5); font-size: var(--fs-lg); }
.home-hero .cluster { margin-top: var(--space-8); }

/* ---- Hero (kompakt, für Unterseiten) ----------------------------- */
.page-hero {
  position: relative; min-height: 52vh; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; isolation: isolate;
}
.page-hero__media, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; background: var(--scrim-hero); z-index: 1; }
.page-hero__inner { position: relative; z-index: 2; padding-bottom: var(--space-12); }
.page-hero h1 { color: #fff; font-size: var(--fs-display); max-width: 18ch; }
.page-hero .eyebrow { color: var(--accent-gold); margin-bottom: var(--space-3); }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 54ch; margin-top: var(--space-4); font-size: var(--fs-lg); }

/* ---- Intro / Haus ------------------------------------------------ */
.intro-grid { display: grid; gap: var(--space-12); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); } }
.intro-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hero); aspect-ratio: 4/3; }
.intro-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Fakten-Strip ------------------------------------------------ */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ---- Sehenswürdigkeiten-Vorschau (Tiles) ------------------------- */
.sights-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .sights-grid { grid-template-columns: repeat(3, 1fr); } }
.sights-grid .tile:first-child { grid-column: span 2; aspect-ratio: 16/10; }
@media (min-width: 760px) { .sights-grid .tile:first-child { grid-column: span 1; aspect-ratio: 4/3; } }

/* ---- Anreise (Lage) ---------------------------------------------- */
.travel-grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 760px) { .travel-grid { grid-template-columns: repeat(3, 1fr); } }
.travel-card {
  background: var(--surface-card); border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm); padding: var(--space-8);
}
.travel-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.travel-card p { font-size: var(--fs-sm); }
.travel-card .eyebrow { color: var(--text-eyebrow); display: block; margin-bottom: var(--space-2); }

/* ---- Zitat ------------------------------------------------------- */
.quote blockquote { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.3; color: var(--text-heading); }

/* ---- CTA-Band ---------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); isolation: isolate; }
.cta-band__media, .cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33,29,24,0.78), rgba(33,29,24,0.35)); z-index: 1; }
.cta-band__inner { position: relative; z-index: 2; padding: var(--space-16) var(--space-12); }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 40ch; margin-top: var(--space-4); }

/* ---- Sehenswürdigkeiten-Index (Karten + Filter) ------------------ */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filter { cursor: pointer; }
.sight-grid { display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .sight-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sight-grid { grid-template-columns: repeat(3, 1fr); } }
.sight-card { display: flex; flex-direction: column; background: var(--surface-card);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.sight-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.sight-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.sight-card:hover .sight-card__media img { transform: scale(1.05); }
.sight-card__cat { position: absolute; top: var(--space-3); left: var(--space-3); }
.sight-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.sight-card__meta { display: flex; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3);
  font-size: var(--fs-xs); color: var(--text-muted); }
.sight-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.sight-card.is-hidden { display: none; }

.more-list { display: grid; gap: var(--space-2); }
.more-row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-5);
  align-items: center; padding: var(--space-5) 0; border-bottom: 1px solid var(--border-muted); }
.more-row:first-child { border-top: 1px solid var(--border-muted); }
.more-row__name { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--text-heading); }
.more-row__desc { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 2px; }
.more-row__idx { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--text-faint); width: 2.5ch; }

/* ---- Galerie ----------------------------------------------------- */
.gallery {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 4/3; background: var(--surface-well); cursor: zoom-in;
}
.gallery__item.is-wide { grid-column: span 2; aspect-ratio: 16/10; }
@media (max-width: 759px) { .gallery__item.is-wide { grid-column: span 2; aspect-ratio: 16/10; } }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-5) var(--space-3) var(--space-3);
  background: var(--scrim-bottom); color: #fff;
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-within .gallery__cap { opacity: 1; }

/* ---- Ausstattung (Amenities) ------------------------------------- */
.amenities { display: grid; grid-template-columns: 1fr; gap: var(--space-3) var(--space-8); }
@media (min-width: 640px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenity { display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-3) 0; border-bottom: 1px solid var(--border-muted); }
.amenity__icon { color: var(--laurel-500); font-size: 1.15rem; line-height: 1.4; flex: none; width: 1.4em; text-align: center; }
.amenity__txt strong { display: block; font-family: var(--font-sans); font-weight: var(--fw-bold);
  font-size: var(--fs-sm); color: var(--text-heading); }
.amenity__txt span { font-size: var(--fs-xs); color: var(--text-muted); }

/* ---- Lightbox ---------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: none; align-items: center; justify-content: center;
  background: rgba(20,17,13,0.92); padding: var(--space-8);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-hero); }
.lightbox__close {
  position: absolute; top: var(--space-6); right: var(--space-6);
  width: 48px; height: 48px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,0.26); }

/* ---- Kontakt / Formular ------------------------------------------ */
.contact-grid { display: grid; gap: var(--space-12); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; } }
.form-card { background: var(--surface-card); border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm); padding: var(--space-10); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field + .field, .form-row + .form-row, .form-row + .field, .field + .form-row { margin-top: var(--space-5); }
textarea.input { resize: vertical; min-height: 130px; }
.field__hint { font-size: var(--fs-xs); color: var(--text-muted); }
/* Honeypot — visuell und für Screenreader entfernt */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-4); }
.alert { border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); font-size: var(--fs-sm); margin-bottom: var(--space-6); }
.alert--ok { background: var(--laurel-100); color: var(--laurel-700); border: 1px solid var(--laurel-300); }
.alert--err { background: var(--clay-50); color: var(--clay-700); border: 1px solid var(--clay-300); }
.field--error .input, .field--error .select { border-color: var(--clay-500); box-shadow: 0 0 0 3px var(--clay-50); }
.field__error { font-size: var(--fs-xs); color: var(--clay-700); }

.contact-aside dl { display: grid; gap: var(--space-5); }
.contact-aside dt { font-family: var(--font-sans); font-size: var(--fs-xxs); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-eyebrow); margin-bottom: var(--space-1); }
.contact-aside dd { font-size: var(--fs-base); color: var(--text-body); }
.contact-aside a { color: var(--text-accent); }
.contact-aside a:hover { color: var(--action-primary-press); }

/* ---- Prose (Impressum / Datenschutz) ----------------------------- */
.prose { max-width: var(--container-narrow); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--space-12); margin-bottom: var(--space-4); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose p, .prose ul { margin-bottom: var(--space-4); }
.prose ul { padding-left: var(--space-6); list-style: disc; }
.prose li { margin-bottom: var(--space-2); }
.prose a { color: var(--text-accent); text-decoration: underline; text-underline-offset: 2px; }
.placeholder { background: var(--sun-100); color: var(--sun-600); padding: 0 0.3em; border-radius: 2px; font-weight: var(--fw-bold); }

/* ---- Footer ------------------------------------------------------ */
.site-footer { background: var(--surface-ink); color: rgba(255,255,255,0.7); }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--space-10); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4, .footer-col__title { color: #fff; font-family: var(--font-sans); font-size: var(--fs-xs);
  font-weight: var(--fw-bold); letter-spacing: var(--ls-label); text-transform: uppercase;
  margin-bottom: var(--space-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--fs-sm); }

/* ---- Bilder: <picture> transparent fürs Layout ------------------- */
picture { display: contents; }

/* Dezente Bild-Credit-Zeile (Copyright sichtbar, unaufdringlich) */
.credit {
  font-size: var(--fs-xxs); color: #6b6256;  /* kontraststark genug (AA) auf Creme/Weiß */
  letter-spacing: 0.02em;
}
.media-credit {
  position: absolute; right: var(--space-2); bottom: var(--space-2);
  margin: 0; padding: 2px 8px; border-radius: var(--radius-pill);
  background: rgba(33,29,24,0.45); color: rgba(255,255,255,0.82);
  font-size: 10px; letter-spacing: 0.03em; backdrop-filter: blur(2px);
  pointer-events: none;
}

/* ---- Sprachumschalter -------------------------------------------- */
.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: 0.02em;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill);
  color: inherit; white-space: nowrap;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::marker { content: ''; }
.lang-switch[open] > summary { background: rgba(127,127,127,0.15); }
/* Über dem dunklen Hero (Desktop) Sprachkürzel hell wie die Nav-Links */
.nav--on-dark .lang-switch > summary { color: rgba(255,255,255,0.92); }
.nav--on-dark .lang-switch > summary:hover { color: #fff; }
.lang-switch__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  margin: 0; padding: var(--space-2); list-style: none; min-width: 170px;
  background: var(--surface-card); border: 1px solid var(--border-muted);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.lang-switch__menu a {
  display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
  color: var(--text-body); text-decoration: none; font-size: var(--fs-sm);
}
.lang-switch__menu a:hover,
.lang-switch__menu a[aria-current] { background: var(--surface-sunken); color: var(--text-heading); }
@media (max-width: 860px) {
  .lang-switch__menu { position: static; box-shadow: none; border: 0; padding-left: 0; min-width: 0; background: transparent; }
  .lang-switch__menu a { color: inherit; }
}

/* ---- Verfügbarkeitskalender (Airbnb-iCal) ------------------------ */
.cal-legend {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--space-6); margin-bottom: var(--space-8);
  font-size: var(--fs-sm); color: var(--text-muted);
}
.cal-legend__item { display: inline-flex; align-items: center; gap: var(--space-2); }
.cal-dot { width: 1em; height: 1em; border-radius: var(--radius-xs); display: inline-block; }
.cal-dot--free   { background: var(--laurel-100); box-shadow: inset 0 0 0 1.5px var(--laurel-500); }
.cal-dot--booked { background: var(--sand-200);   border: 1px solid var(--border-default); }

.cal-months {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: var(--space-6);
}
.cal-month {
  background: var(--surface-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.cal-month__name {
  font-family: var(--font-display, 'Marcellus', serif);
  font-size: var(--fs-lg); color: var(--text-heading);
  text-align: center; margin-bottom: var(--space-4);
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.cal-wd {
  text-align: center; font-size: var(--fs-xs);
  color: var(--text-faint); font-weight: var(--fw-bold);
  padding-bottom: var(--space-1);
}
.cal-day {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  font-size: var(--fs-sm);
  border-radius: var(--radius-xs);
}
.cal-day--empty { background: transparent; }
.cal-day--free {
  background: var(--laurel-100);
  box-shadow: inset 0 0 0 1.5px var(--laurel-500);
  color: var(--laurel-700); font-weight: var(--fw-semibold);
}
.cal-day--booked {
  background: var(--sand-100); color: var(--text-faint);
  text-decoration: line-through;
}
.cal-day--past { background: transparent; color: var(--text-faint); opacity: 0.5; }
.cal-day--today { outline: 2px solid var(--accent-gold); outline-offset: -2px; }

.cal-note, .cal-foot {
  text-align: center; color: var(--text-muted);
  font-size: var(--fs-sm); max-width: 56ch; margin-inline: auto;
}
.cal-note { padding-block: var(--space-8); }
.cal-foot { margin-top: var(--space-6); font-size: var(--fs-xs); color: var(--text-faint); }

/* Monats-Navigation nur mobil (Desktop zeigt das volle Raster) */
.cal-nav { display: none; }
@media (max-width: 700px) {
  .cal-carousel.is-carousel .cal-nav {
    display: flex; align-items: center; justify-content: center;
    gap: var(--space-3); margin-bottom: var(--space-6);
  }
  .cal-nav__btn {
    flex: 0 0 auto; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-default); border-radius: var(--radius-pill);
    background: var(--surface-card); color: var(--text-heading);
    font-size: 1.4rem; line-height: 1; cursor: pointer;
  }
  .cal-nav__btn:disabled { opacity: 0.35; cursor: default; }
  .cal-nav__select {
    flex: 1 1 auto; max-width: 240px; height: 44px; padding: 0 var(--space-3);
    border: 1px solid var(--border-default); border-radius: var(--radius-sm);
    background: var(--surface-card); color: var(--text-heading);
    font-family: var(--font-display, serif); font-size: var(--fs-base);
  }
  /* Nur den aktiven Monat zeigen; ohne JS bleibt die Liste (Fallback) */
  .cal-carousel.is-carousel .cal-months { display: block; }
  .cal-carousel.is-carousel .cal-month { display: none; }
  .cal-carousel.is-carousel .cal-month.is-active { display: block; }
}

/* ---- Sehenswürdigkeiten: Detailseite ----------------------------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-size: var(--fs-sm); margin-bottom: var(--space-4);
  color: rgba(255,255,255,0.75);
}
.breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: rgba(255,255,255,0.7); }

.ort-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-12); align-items: start;
}
.ort-main > .lead { margin-bottom: var(--space-6); }
.ort-section { margin-top: var(--space-10); }
.ort-section h2 { margin-bottom: var(--space-4); }
.ort-section p + p { margin-top: var(--space-4); }

.ort-figure {
  position: relative; margin: var(--space-6) 0 0;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.ort-figure img { display: block; width: 100%; height: auto; }
.ort-figure figcaption { margin-top: var(--space-2); }

/* Fakten-Box (Seitenleiste) */
.fact-box {
  position: sticky; top: var(--space-8);
  background: var(--surface-card); border: 1px solid var(--border-muted);
  border-radius: var(--radius-md); padding: var(--space-6); box-shadow: var(--shadow-sm);
}
.fact-box__title { font-size: var(--fs-lg); margin-bottom: var(--space-4); }
.fact-list { margin: 0 0 var(--space-6); }
.fact-row {
  display: flex; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-3) 0; border-bottom: 1px solid var(--border-muted);
}
.fact-row:last-child { border-bottom: 0; }
.fact-row dt { color: #6b6256; font-size: var(--fs-sm); }
.fact-row dd { margin: 0; text-align: right; font-weight: var(--fw-semibold); color: var(--text-heading); }
.btn--block { display: flex; width: 100%; justify-content: center; }
.needs-photo {
  margin-top: var(--space-4); font-size: var(--fs-xs); color: var(--sun-600);
  background: var(--sun-100); padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm); text-align: center;
}

/* FAQ */
.faq__item {
  border-bottom: 1px solid var(--border-muted); padding: var(--space-4) 0;
}
.faq__item summary {
  cursor: pointer; font-weight: var(--fw-semibold); color: var(--text-heading);
  list-style: none; display: flex; justify-content: space-between; gap: var(--space-4);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--text-accent); font-size: 1.3em; line-height: 1; }
.faq__item[open] summary::after { content: '–'; }
.faq__a { margin-top: var(--space-3); color: var(--text-body); }

/* Detail-Galerie */
.ort-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}
.ort-gallery__item {
  margin: 0; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
}
.ort-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .ort-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .fact-box { position: static; }
}

/* ---- Sehenswürdigkeiten: Übersicht (Hub) ------------------------- */
.cat-block { margin-top: var(--space-16); }
.cat-block:first-of-type { margin-top: 0; }
.cat-block__head { margin-bottom: var(--space-6); }
.cat-block__intro { color: var(--text-muted); max-width: 60ch; margin-top: var(--space-1); }

/* ---- Aktivitäten-Seite ------------------------------------------- */
.act-nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface-card); border-bottom: 1px solid var(--border-muted);
  box-shadow: var(--shadow-xs);
}
.act-nav__inner {
  display: flex; gap: var(--space-3); overflow-x: auto;
  padding-block: var(--space-3); -webkit-overflow-scrolling: touch;
}
.act-nav .tag { white-space: nowrap; text-decoration: none; }

.act-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-12); align-items: center;
}
.act-row--rev .act-media { order: 2; }
.act-media {
  margin: 0; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative;
}
.act-media img { display: block; width: 100%; height: auto; }
.act-media .needs-photo { position: static; margin: 0; border-radius: 0; }

.act-facts {
  display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2);
}
.act-facts > div {
  background: var(--surface-well); border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
}
.act-facts dt { font-size: var(--fs-xxs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.act-facts dd { margin: 0; font-weight: var(--fw-semibold); color: var(--text-heading); font-size: var(--fs-sm); }

@media (max-width: 800px) {
  .act-row { grid-template-columns: 1fr; gap: var(--space-6); }
  .act-row--rev .act-media { order: 0; }
}

/* ---- Utilities --------------------------------------------------- */
.center-col { display: flex; flex-direction: column; align-items: center; }
