/* ============================================================
   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 */
@media (max-width: 820px) {
  .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); }
}

/* ---------- 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;
}
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-dark); 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; }

/* Kleinere, zentrierte Variante (z. B. Gäste-Geschichten bei den Bewertungen) */
.carousel-small { max-width: 420px; margin: 28px auto 8px; }

/* 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; }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; 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; }
@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; }
.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); }

/* ---------- Hero-Extras (Yokos Konzept) ---------- */
.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); }
/* Google-Bewertungs-Abzeichen im Hero (mit Abstand nach oben) */
.review-badge {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 28px; 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 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: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) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.gallery figure { margin: 0; }
.gallery img, .gallery .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
.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; }
.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; } }

/* ---------- 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 input[type="text"], .contact-form input[type="date"], .contact-form input[type="number"],
.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; }

/* ---------- Textseiten (Datenschutz) ---------- */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
