/* ============================================================
   SOCIALHOUSE DALAT – DESIGN (Farben, Schriften, Layout)
   ============================================================
   Die wichtigsten Farben stehen ganz oben als "Variablen".
   Wenn ihr eine Farbe ändern wollt, nur hier ändern – sie gilt
   dann automatisch auf der ganzen Website.
   ============================================================ */

:root {
  /* Markenfarben (aus Logo/Menü). TODO: exakte Werte aus eurem Logo eintragen */
  --olive: #7a8a3c;        /* Olivgrün – Hauptfarbe */
  --olive-dark: #55612a;   /* dunkleres Oliv für Text auf hellem Grund */
  --olive-soft: #e8ebd6;   /* sehr helles Oliv für Hintergründe */
  --terra: #c2643f;        /* Terrakotta – Akzentfarbe (Knöpfe) */
  --terra-dark: #9e4a2a;
  --terra-soft: #f3dfd3;

  --cream: #faf6ee;        /* Seitenhintergrund */
  --cream-2: #f2ebdd;      /* abwechselnde Abschnitte */
  --ink: #2e2a24;          /* Haupttext */
  --ink-soft: #5d554a;     /* Nebentext */
  --line: #e2d9c7;

  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --max: 1120px;           /* maximale Breite des Inhalts */
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--olive-dark);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

a { color: var(--terra-dark); }
a:hover { color: var(--terra); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--ink-soft); }

/* Nur für Screenreader sichtbar */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* Kleine Überschrift über den Titeln */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--terra);
  margin-bottom: .5em;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
/* Logo-Bild: Höhe hier ändern, die Breite passt sich automatisch an */
.logo-img { height: 54px; width: auto; border-radius: 0; }
.logo-footer { margin: 0 0 .6em; }
.logo-footer .logo-img { height: 80px; }
.logo-main {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  color: var(--olive); letter-spacing: -.01em;
}
.logo-sub { font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink-soft); }

.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--terra); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; font-size: 1.3rem; padding: 4px 12px; cursor: pointer; color: var(--ink);
}

/* Handy-Ansicht der Navigation (bis 900 px, damit auch längere Sprachen Platz haben) */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* ---------- Sprachwahl (🌐 EN ▾) - wird von sprachen/build-languages.ps1 eingesetzt ---------- */
.site-lang { position: relative; margin-left: 18px; background: none; border: 0; border-radius: 0; padding: 0; margin-bottom: 0; }
.site-lang[open] summary::after { content: " ▾"; font-size: .8em; color: inherit; }
.site-lang summary {
  display: block; gap: 0;
  list-style: none; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.site-lang summary::-webkit-details-marker { display: none; }
.site-lang summary::after { content: " ▾"; font-size: .8em; color: inherit; }
.site-lang[open] summary { border-color: var(--terra); color: var(--terra); }
.site-lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; margin: 0; padding: 6px;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); min-width: 160px;
}
.site-lang li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.site-lang li a:hover { background: var(--cream); }
.site-lang li a[aria-current="true"] { color: var(--terra); }
@media (max-width: 900px) {
  .site-lang { margin-left: auto; margin-right: 10px; order: 1; }
  .header-inner .nav-toggle { order: 2; }
}
@media (min-width: 901px) { .main-nav { margin-left: auto; } .main-nav a { white-space: nowrap; } }
/* mittlere Bildschirme: längere Wörter (RU/ES/VI/DE) passen so noch in eine Zeile */
@media (min-width: 901px) and (max-width: 1100px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .9rem; }
  .site-lang { margin-left: 12px; }
}

/* Schriften für andere Sprachen: Fredoka hat keine vietnamesischen/kyrillischen Buchstaben → Nunito Sans.
   Koreanisch/Chinesisch: System-Schrift des Geräts (sieht auf jedem Handy sauber aus). */
html:lang(vi), html:lang(ru) { --font-head: "Nunito Sans", system-ui, sans-serif; }
html:lang(ko) { --font-head: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; --font-body: "Nunito Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; }
html:lang(zh-Hans) { --font-head: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; --font-body: "Nunito Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
html:lang(ko) body { word-break: keep-all; }

/* ---------- Knöpfe ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 1rem; cursor: pointer;
  transition: background .2s, color .2s;
}
/* Knopf-Farbe dunkler für besseren Kontrast (weiß auf #9e4a2a = 6.1:1, Regel: mind. 4.5:1) */
.btn-primary { background: var(--terra-dark); color: #fff; }
.btn-primary:hover { background: #833c22; color: #fff; }
.btn-ghost { border-color: var(--olive); color: var(--olive-dark); background: transparent; }
.btn-ghost:hover { background: var(--olive); color: #fff; }
.text-link { font-weight: 700; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Echte Fotos ---------- */
/* ---------- Hero-Karussell ---------- */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--olive-soft); }
.carousel-track {
  display: flex; height: 100%; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;            /* Scrollbalken verstecken (Firefox) */
}
.carousel-track::-webkit-scrollbar { display: none; }  /* ... und Chrome/Safari */
.slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: 0; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(250, 246, 238, .85); color: var(--ink); font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.15);
  opacity: .85; transition: opacity .2s, background .2s;
}
.carousel-btn:hover { opacity: 1; background: #fff; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

/* Große Abschnitts-Überschrift (z. B. "Life at Socialhouse") */
.big-title { font-size: clamp(2.3rem, 5.5vw, 3.6rem); margin-bottom: .3em; }
.center-intro { margin-left: auto; margin-right: auto; text-align: center; }

/* Kleinere, zentrierte Variante (z. B. Gäste-Geschichten bei "Life at Socialhouse") */
.carousel-small { max-width: 420px; margin: 28px auto 24px; }

/* Pause-/Play-Knopf (oben rechts im Karussell, unten rechts bei den Zitaten) */
.carousel-pause, .quote-pause {
  position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(250, 246, 238, .9); color: var(--ink); font-size: .8rem; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.carousel-pause { top: 10px; right: 10px; }
.quote-pause { right: 0; bottom: -6px; width: 28px; height: 28px; background: #fff; border: 1px solid var(--line); box-shadow: none; }
.carousel-pause:focus-visible, .quote-pause:focus-visible { outline: 3px solid var(--olive-dark); outline-offset: 2px; }

/* Querformat-Variante (z. B. "Meet the family") */
.carousel-landscape { aspect-ratio: 4 / 3; max-width: 560px; margin: 24px auto 0; }
/* Fotos ganz zeigen und mittig platzieren (nicht beschneiden).
   Hochformat-Fotos bekommen dadurch links und rechts einen dunklen Rand. */
.carousel-landscape { background: rgba(0, 0, 0, .18); }
.carousel-landscape .slide img { object-fit: contain; object-position: center; }

.carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.55); transition: background .2s, transform .2s;
}
.carousel-dots button[aria-selected="true"] { background: #fff; transform: scale(1.3); }
.tall-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Kachel-Fotos: ganzes Foto zeigen (nichts abschneiden), mittig, mit dunklem Rand wie bei den Karussells */
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; background: #2b2722; border-radius: var(--radius) var(--radius) 0 0; }
.family-img { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; margin: 24px auto 0; }

/* ---------- Foto-Platzhalter (später durch <img> ersetzen) ---------- */
.ph {
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 40%),
    linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: #fff; font-family: var(--font-head); font-size: 1.05rem; padding: 16px;
}
.ph-tall { aspect-ratio: 4 / 5; }
.ph-terra { background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.3), transparent 40%),
    linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%); }
.ph-card { aspect-ratio: 3 / 2; border-radius: var(--radius) var(--radius) 0 0; }
.ph span { background: rgba(0,0,0,.18); padding: 6px 12px; border-radius: 999px; }

/* ---------- Fakten-Leiste ---------- */
.facts { padding: 8px 0 24px; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column;
}
.fact strong { font-family: var(--font-head); font-weight: 600; color: var(--olive-dark); font-size: 1.1rem; }
.fact span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 820px) { .facts-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Abschnitte ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-2); }
.section-olive { background: var(--olive); }
.section-olive h2, .section-olive p { color: #fff; }
.section-olive .eyebrow { color: var(--terra-soft); }
.section-intro { max-width: 640px; color: var(--ink-soft); }

/* Text + Bild nebeneinander */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-reverse > :first-child { order: 0; }
  .section { padding: 52px 0; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .45em; }
.ticks li::before { content: "●"; color: var(--olive); position: absolute; left: 4px; font-size: .8rem; top: .25em; }

/* ---------- Karten (Küche) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 32px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-soft); font-size: .98rem; }
.price { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--terra-dark) !important; font-size: 1.15rem !important; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }   /* z. B. Hostel-Preise */
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Bewertungen ---------- */
.quotes { display: grid; gap: 16px; margin: 28px 0; text-align: left; }
blockquote {
  margin: 0; background: #fff; border-left: 4px solid var(--terra);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic;
}
/* Englische Übersetzung unter russischen Bewertungen */
blockquote .translation { display: block; margin-top: 8px; font-size: .93rem; color: var(--ink-soft); }
blockquote cite { display: block; margin-top: 6px; font-style: normal; font-weight: 700; color: var(--ink-soft); font-size: .92rem; }

/* ---------- FAQ (aufklappbar) ---------- */
details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0 20px; margin-bottom: 10px;
}
summary {
  cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--terra); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); }

/* ---------- Besuch / Karte ---------- */
address { font-style: normal; margin-bottom: 1.2em; line-height: 1.7; }
.hours { border-collapse: collapse; margin-bottom: .5em; min-width: 280px; }
.hours caption { text-align: left; font-family: var(--font-head); font-weight: 600; color: var(--olive-dark); font-size: 1.15rem; margin-bottom: 6px; }
.hours th, .hours td { text-align: left; padding: 6px 18px 6px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; }

.map-box {
  min-height: 360px; border-radius: var(--radius); background: var(--olive-soft);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center;
  color: var(--ink-soft);
}
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--radius); }
.map-box.loaded { padding: 0; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: #e9e2d4; padding: 48px 0 32px; }
.site-footer a { color: #f3dfd3; }
.site-footer .logo-main { color: #c9d38f; }
.site-footer .logo-sub, .site-footer .small { color: #b9b0a0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 32px; }
.social { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Speisekarte ---------- */
.menu-hero { padding-bottom: 24px; }
.menu-jump a { font-weight: 700; text-decoration: none; }
.menu-sections { padding-top: 16px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.menu-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
}
.menu-block-wide { grid-column: 1 / -1; }
.menu-block h3 { margin-top: 1.2em; color: var(--terra-dark); }
@media (max-width: 820px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-block { padding: 22px 18px; }
}
.m-note { color: var(--ink-soft); font-size: .95rem; font-style: italic; }
.m-extra { margin-top: 12px; font-size: .92rem; color: var(--olive-dark); font-weight: 600; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px;
  padding: 9px 0; border-bottom: 1px dashed var(--line);
}
.menu-list li:last-child { border-bottom: 0; }
.m-name { font-weight: 700; }
.m-name small { font-weight: 400; color: var(--ink-soft); }
.m-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.fact del { display: block; font-size: .75em; font-weight: 500; color: var(--ink-soft); }
.price del { font-weight: 500; color: var(--ink-soft); margin-right: .35em; }
.m-price { font-family: var(--font-head); font-weight: 600; color: var(--terra-dark); }
.m-desc { flex-basis: 100%; font-size: .93rem; color: var(--ink-soft); }
.star { color: var(--terra); }
.event-video-wrap { background: none; border: 0; padding: 0; margin: 14px 0 0; }
.event-video-wrap summary { display: inline-flex; cursor: pointer; font-weight: 700; color: var(--terra-dark); padding: 6px 16px; border: 1.5px solid var(--terra); border-radius: 999px; list-style: none; }
.event-video-wrap summary::after, .event-video-wrap[open] summary::after { content: none; }
.event-video-wrap summary::-webkit-details-marker { display: none; }
.event-video-wrap[open] summary { background: var(--terra-soft); }
.event-video { display: block; width: 100%; max-width: 300px; height: auto; aspect-ratio: 9 / 16; margin: 16px auto 0; border-radius: 12px; background: #1d1a16; }

/* Hostel: Karussell (4:5) und Video (9:16) nebeneinander - durch die Spaltenbreiten sind beide gleich hoch */
.hostel-media { display: grid; grid-template-columns: .8fr .5625fr; gap: 20px; max-width: 860px; margin: 28px auto 0; align-items: start; }
.hostel-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #1d1a16; }
@media (max-width: 700px) {
  .hostel-media { grid-template-columns: 1fr; }
  .hostel-video { max-width: 340px; margin: 0 auto; }
}
.tag { display: inline-block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; line-height: 1.5; padding: 0 8px; border-radius: 999px; vertical-align: 2px; white-space: nowrap; }
.tag-veg { background: var(--olive-soft); color: var(--olive-dark); }
.tag-new { background: var(--terra); color: #fff; }
.menu-next { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; margin-top: 40px; text-align: center; }
.menu-next h2 { margin-top: 0; }
.menu-next-event { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 0; font-size: .97rem; color: var(--ink-soft); }

/* ---------- Hero-Extras (Yokos Konzept) ---------- */
/* Öffnungszeiten + Adresse direkt unter der Überschrift */
.hero-info { list-style: none; padding: 0; margin: -.2em 0 1.1em; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-info li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
.hero-info a { color: var(--ink); text-decoration: none; font-weight: 600; }
.hero-info .hi-time::before { content: "🕖 "; }
.hero-info .hi-place a::before { content: "📍 "; }
.hero-info .hi-wifi::before { content: "📶 "; }
.hero-info .hi-hostel::before { content: "🛏️ "; }
.hero-info .hi-hostel { background: var(--olive-soft); }
.hero-info .hi-stars a { font-weight: 400; }
.hero-info .hi-stars strong { color: var(--olive-dark); }
.hero-info .pill-stars { color: #f2a93b; letter-spacing: 1px; }   /* goldene Sterne wie im Google-Abzeichen */
.hero-events { margin: -.4em 0 0; }
/* Hostel-Hinweis im Abschnitt "About us" */
.hostel-note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--terra); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin-top: 1.2em; font-size: .97rem; }
.hostel-note a { font-weight: 700; }
.big-plus {
  display: inline-block; background: var(--olive-soft); color: var(--olive-dark);
  border-radius: 999px; padding: 6px 16px; font-weight: 600; margin-bottom: 1em;
}
.big-plus strong { color: var(--terra-dark); text-transform: uppercase; letter-spacing: .04em; }
.hero-claim { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; color: var(--olive-dark); }
/* Bewertungs-Leiste unter dem Hero: Abzeichen links, wechselndes Zitat rechts */
.review-strip { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.quote-rotator { position: relative; flex: 1; min-height: 120px; display: grid; }
.quote-rotator blockquote {
  grid-area: 1 / 1; align-self: center; margin: 0; background: transparent; border-left: 3px solid var(--terra);
  border-radius: 0; padding: 4px 0 4px 18px; font-size: 1.02rem; color: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .6s;
}
.quote-rotator blockquote.active { opacity: 1; visibility: visible; }
@media (max-width: 820px) {
  .review-strip { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 24px; }
  .quote-rotator { min-height: 0; }
}

/* Google-Bewertungs-Abzeichen */
.review-badge {
  display: inline-flex; align-items: center; gap: 18px; flex-shrink: 0;
  padding: 16px 24px 16px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(46, 42, 36, .08);
  text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.review-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46, 42, 36, .12); color: var(--ink); }
.review-score { font-family: var(--font-head); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--olive-dark); }
.review-text { display: flex; flex-direction: column; line-height: 1.35; font-weight: 600; }
.review-stars { color: #f2a93b; font-size: 1.5rem; letter-spacing: 2px; line-height: 1.1; }
.review-cta { color: var(--terra-dark); font-weight: 700; font-size: .95rem; margin-top: 2px; }
@media (max-width: 480px) {
  .review-badge { gap: 12px; padding: 14px 16px; }
  .review-score { font-size: 2.2rem; }
}

/* ---------- Produzenten (Local farms) ---------- */
.producers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 28px 0 48px; }
.producer { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--olive); border-radius: var(--radius); padding: 20px 22px; }
.producer:nth-child(2) { border-top-color: var(--terra); }
.producer h3 { margin-bottom: .3em; }
.producer p { margin: 0; color: var(--ink-soft); }

/* ---------- Family Dinner (Küche) ---------- */
.family-dinner {
  background: var(--terra-soft); border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0 0; max-width: 640px;
}
.family-dinner h3 { color: var(--terra-dark); margin-bottom: .3em; }
.family-dinner p { margin: 0 0 .4em; }

/* ---------- Events ---------- */
.btn-row-center { justify-content: center; }
.past-events-title { margin-top: 2.2em; }
/* 2 Spalten: passt für 2 oder 4 Events (2 x 2) */
.event-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 18px auto 0; max-width: 960px; }
.event-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.event-card .carousel-landscape { max-width: none; margin: 0; border-radius: 0; }
.event-card-body { padding: 16px 20px 20px; }
.event-card-body h3, .event-card-body h4 { font-family: var(--font-head); font-weight: 600; color: var(--olive-dark); font-size: 1.25rem; margin: 0 0 .4em; }
.event-card-body p:not(.event-date) { margin: 0 0 .6em; color: var(--ink-soft); font-size: .97rem; }
.event-card-body p:last-child { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.event-date { font-weight: 700; color: var(--terra-dark); font-size: .9rem; margin-bottom: .3em; }
@media (max-width: 900px) { .event-cards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* ---------- Life at Socialhouse (Fotogalerie) ---------- */
/* Galerie in Reihen: jedes Foto in seinem ECHTEN Format (hoch oder quer),
   nichts wird abgeschnitten – Gesichter bleiben immer ganz im Bild.
   Die Reihen werden automatisch gleichmäßig gefüllt. Das Seitenverhältnis (--r)
   setzt main.js aus width/height des Bildes. */
.gallery { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.gallery::after { content: ""; flex-grow: 1000; }   /* letzte Reihe nicht aufblähen */
#life .gallery::after { display: none; }             /* Startseite: beide Reihen ganz füllen */
.gallery figure { margin: 0; flex: var(--r, 1.33) 1 calc(var(--r, 1.33) * 160px); min-width: 0; }
.gallery img, .gallery .ph { width: 100%; height: auto; aspect-ratio: var(--r, 4 / 3); object-fit: cover; }
.gallery figcaption { margin-top: 8px; font-size: .93rem; color: var(--ink-soft); }
.gallery a { display: block; }
.gallery a:hover img { opacity: .9; }
/* Abstand zwischen Fotos und dem Knopf "See all photos" */
.gallery-cta { margin-top: 40px; }

/* ---------- Dalat Guide (Lieblingsorte) ---------- */
.spots { display: grid; gap: 28px; }
.spot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr; }
.spot > img, .spot > .ph { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.spot > .carousel { border-radius: 0; aspect-ratio: 4 / 5; align-self: start; }
/* Dalat Map: Folge nur mit Querformat-Fotos (z. B. Wasserfall) - Karussell im Querformat, ohne dunkle Ränder */
.spot > .carousel.carousel-wide { aspect-ratio: 16 / 9; }
.spot-body { padding: 22px 24px; }
.spot-body h2 { font-size: 1.5rem; margin-bottom: .4em; }
.spot-cat { font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--terra); margin-bottom: .4em; }
.spot-tip { background: var(--olive-soft); border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
@media (max-width: 720px) { .spot { grid-template-columns: 1fr; } .spot > img, .spot > .ph { aspect-ratio: 4 / 3; height: auto; } }
/* Dalat Map: Video unter den Fotos (Computer: linke Spalte, Text rechts daneben; Handy: Video nach dem Text) */
.spot-with-video > .carousel { grid-column: 1; grid-row: 1; }
.spot-with-video > .spot-video { grid-column: 1; grid-row: 2; padding: 20px 16px 24px; }
.spot-with-video > .spot-body { grid-column: 2; grid-row: 1 / span 2; }
.spot-video .event-video { margin: 0 auto; }
@media (max-width: 720px) {
  .spot-with-video > .carousel, .spot-with-video > .spot-video, .spot-with-video > .spot-body { grid-column: 1; grid-row: auto; }
  .spot-with-video > .spot-video { order: 3; padding-top: 0; }
}

/* ---------- Kontaktformular ---------- */
.contact-form { display: grid; gap: 16px; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact-form .optional { font-weight: 400; color: var(--ink-soft); }
.contact-form input[type="email"]:not(:placeholder-shown):invalid { border-color: var(--terra); }
.contact-form input[type="text"], .contact-form input[type="date"], .contact-form input[type="number"],
.contact-form input[type="email"], .contact-form input[type="tel"],
.contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--olive); outline-offset: 1px; border-color: var(--olive); }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row[hidden] { display: none; }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } .contact-form { padding: 18px; } }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.contact-form .consent input { margin-top: 4px; accent-color: var(--olive); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--olive-dark); }
.form-status.error { color: var(--terra-dark); }

/* ---------- Cookie-Banner (Google Analytics) ---------- */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 560px; margin: 0 auto; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(46, 42, 36, .18); padding: 18px 20px;
}
.consent-banner p { margin: 0 0 12px; font-size: .95rem; }
.consent-buttons { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent-buttons .btn { padding: 9px 18px; font-size: .95rem; }

/* ---------- Fotos passend zeigen ----------
   In allen Karussells wird das ganze Foto gezeigt (nichts abgeschnitten), mittig,
   mit dunklem Rand bei Hoch-/Querformat. */
.carousel { background: #2b2722; }
.carousel .slide img { object-fit: contain; object-position: center; }

/* ---------- Foto-Zoom (Lightbox) ---------- */
.zoomable { cursor: zoom-in; }
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20, 18, 15, .94);
  display: flex; align-items: center; justify-content: center; padding: 56px 12px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: #f3ead9; margin-top: 10px; text-align: center; font-size: .95rem; }
.lightbox button {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.14);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 12px; right: 12px; font-size: 1.3rem !important; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox button[hidden] { display: none; }

/* ---------- HANDY: kürzere Seite ----------
   Weniger Abstände, quadratische statt hoher Bilder, und auf der Startseite
   werden ein paar Fotos/Bewertungen ausgeblendet (auf dem Computer bleiben sie sichtbar). */
@media (max-width: 720px) {
  .section { padding: 40px 0; }
  .hero { padding: 28px 0 24px; }
  h2 { font-size: 1.6rem; }
  .lead { font-size: 1.08rem; }
  .split { gap: 20px; }
  /* hohe Bilder & Karussells auf dem Handy quadratisch statt 4:5 */
  .hero .carousel, #sweets .carousel, .tall-img { aspect-ratio: 1 / 1; }
  .carousel-small { max-width: 340px; }
  /* Startseite: Life-Vorschau nur 4 Fotos, Bewertungen nur 2 Zitate */
  #life .gallery figure:nth-child(n+5) { display: none; }
  .producers { margin: 20px 0 24px; gap: 12px; }
  .producer { padding: 14px 16px; }
  /* Gerichte als kompakte Zeile: kleines Bild links, Text rechts */
  .cards { gap: 12px; margin: 20px 0; }
  .card { flex-direction: row; }
  .card-img { width: 112px; min-width: 112px; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: var(--radius) 0 0 var(--radius); }
  .card-body { padding: 12px 14px; }
  .card-body h3 { font-size: 1.1rem; margin-bottom: .3em; }
  .card-body p { font-size: .9rem; margin-bottom: .5em; }
  /* Galerien auf dem Handy: kleinere Fotos, Fotos weiterhin ungeschnitten */
  .gallery { gap: 8px; }
  .gallery figure { flex-basis: calc(var(--r, 1.33) * 110px); }
  .gallery img { border-radius: 12px; }
  .gallery-cta { margin-top: 24px; }
  .hide-mobile { display: none; }
  /* Bewertungs-Leiste auf dem Handy: nur das Google-Abzeichen, ohne wechselnde Zitate (kürzer) */
  .review-strip .quote-rotator { display: none; }
  .hero-info { gap: 6px; }
  .hero-info li { font-size: .84rem; padding: 5px 11px; }
  .contact-form { gap: 12px; }
}

/* Hinweis-Karte "Upcoming event" auf der Events-Seite */
.upcoming-event {
  display: grid; gap: 4px; max-width: 640px; margin: 28px auto 0; padding: 20px 24px; text-align: center;
  background: #2b2722; color: #f3ead9; border-radius: var(--radius); text-decoration: none;
  box-shadow: 0 8px 24px rgba(46,42,36,.18); transition: transform .2s;
}
.upcoming-event:hover { transform: translateY(-2px); color: #f3ead9; }
.upcoming-event strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.upcoming-event .text-link { color: #f2a93b; }
.upcoming-badge { justify-self: center; background: var(--terra-dark); color: #fff; font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 3px 12px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Event-Seite mit Buchung (Halloween) ---------- */
.lang-switch { display: inline-flex; gap: 6px; margin-bottom: 18px; }
.lang-switch button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 700; cursor: pointer; color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--olive-dark); border-color: var(--olive-dark); color: #fff; }
.event-when { font-family: var(--font-head); font-size: 1.3rem; color: var(--terra-dark); margin-top: -.3em; }
.hw-included { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hw-included li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.hw-status { margin-top: 10px; }
/* Countdown-Zähler "20 of 25 early bird spots left" */
.hw-counter { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 24px;
  background: #2b2722; color: #f3ead9; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(46,42,36,.18); }
.hw-count { font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; color: #f2a93b; min-width: 1.6em; text-align: center; font-variant-numeric: tabular-nums; }
.hw-count-label { font-weight: 700; font-size: 1.05rem; text-align: left; max-width: 12em; }
.hw-counter.low .hw-count { color: #ff7a4d; }
.hw-counter[hidden] { display: none; }
/* Vorverkaufs-Countdown */
.hw-presale { margin: 16px auto 0; max-width: 520px; background: #fff; border: 2px solid var(--terra-dark); border-radius: var(--radius); padding: 14px 18px; }
.hw-presale p { margin: 0; }
.hw-presale-price { font-size: 1.15rem; margin-bottom: 6px !important; }
.hw-presale-price strong { color: var(--terra-dark); font-size: 1.3rem; }
.hw-presale-title { font-weight: 700; color: var(--terra-dark); }
.hw-presale-timer { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); margin: 4px 0 !important; font-variant-numeric: tabular-nums; }
.hw-presale-note { color: var(--ink-soft); font-size: .95rem; }
.hw-presale.over { border-color: var(--line); }
.hw-presale.over .hw-presale-title { color: var(--ink); }
.hw-seats { font-weight: 700; color: var(--olive-dark); font-size: 1.1rem; margin: 0 0 .3em; }
.hw-price { color: var(--ink-soft); margin: 0; }
.hw-steps { padding-left: 1.3em; margin: 18px 0; }
.hw-steps li { margin-bottom: .5em; }
.hw-closed { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 20px; }
.hw-total { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--terra-dark); margin: 0; }
.hw-pay { text-align: center; background: #fff; border: 2px solid var(--terra); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.hw-qr { width: 100%; max-width: 280px; height: auto; margin: 14px auto; border-radius: 12px; }

/* ---------- Ernährung & Allergien (Event-Anmeldung) ---------- */
.allergies { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.allergies legend { width: 100%; }
.allergies label { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 400 !important;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.allergies label:has(input:checked) { background: var(--olive-soft); border-color: var(--olive); }
.allergies input { accent-color: var(--olive-dark); }

/* ---------- Feedback-Formular (Sterne) ---------- */
.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form legend { font-weight: 600; font-size: .95rem; margin-bottom: 4px; padding: 0; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 2.2rem; line-height: 1; color: #d9d0bf; cursor: pointer; transition: color .15s, transform .15s; font-weight: 400; }
.small-rating .stars label { font-size: 1.6rem; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f2a93b; }
.stars input:focus-visible + label { outline: 3px solid var(--olive-dark); outline-offset: 2px; border-radius: 4px; }
.stars label:hover { transform: scale(1.1); }
.rating-row { display: flex; flex-wrap: wrap; gap: 18px 32px; }
.again { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.again legend { width: 100%; }
.again label { display: inline-flex !important; gap: 6px; align-items: center; font-weight: 400 !important; }
.fb-reward { background: var(--olive-soft); border-radius: 12px; padding: 10px 14px; font-weight: 600; }

/* ---------- Textseiten (Datenschutz) ---------- */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* Speisekarte: Fotos der Gerichte im Breitformat, mit Name und Preis */
.carousel-dishes { aspect-ratio: 16 / 9; max-width: 760px; margin: 20px auto 0; }
.carousel-dishes .slide { position: relative; }
.carousel-dishes .slide img { object-position: center; }
.slide-caption {
  position: absolute; top: 10px; left: 10px; max-width: calc(100% - 64px);
  padding: 5px 12px; border-radius: 16px; background: rgba(29, 26, 22, .75); color: #fff;
  font-size: .85rem; line-height: 1.3; text-align: left;
}
.slide-caption .sc-name { font-weight: 700; }
.slide-caption .sc-price { margin-left: 4px; white-space: nowrap; }
