/* ═══════════════════════════════════════════════════════════════════════════
   Live-Demo-Landingpages — gemeinsame Grundlage
   Jede Seite setzt ihre Palette über --ld-*-Variablen (siehe _landing.php).
   Alle Paletten bleiben in der Nähe der BookIvy-Farben (Petrol, Creme, warmes
   Taupe), damit sie weder mit dem Kopf noch mit dem Fuß hart kollidieren.
   ═══════════════════════════════════════════════════════════════════════════ */

/* colors_and_type.css setzt p { color: var(--rt-fg) } — dunkle Schrift. Auf den
   dunklen Abschnitten (--ink, dunkle Paletten) muss der Absatz die Farbe seines
   Abschnitts erben. :where() hält die Spezifität bei 0,0,1: das schlägt die
   globale Regel (spätere Datei), aber keine Klasse wie .ld-lede oder .ld-card p. */
:where(.ld) p { color: inherit; }

.ld {
  --ld-radius: 14px;
  --ld-max: 1180px;
  background: var(--ld-bg);
  color: var(--ld-ink);
  font-family: var(--rt-font-body);
}
.ld-wrap { max-width: var(--ld-max); margin: 0 auto; padding-inline: 28px; }
@media (max-width: 720px) { .ld-wrap { padding-inline: 20px; } }

/* ── Demo-Hinweis unter dem Kopf ───────────────────────────────────────── */
.ld-demo { background: var(--rt-main-500, #112A2B); color: var(--rt-warm-100, #FAF1E0); font-size: 13px; }
.ld-demo__in { max-width: 1240px; margin: 0 auto; padding: 9px 28px; display: flex; gap: 14px;
  align-items: center; flex-wrap: wrap; }
.ld-demo__tag { font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  background: #86C3A0; color: #0B2418; border-radius: 999px; padding: 3px 10px; }
.ld-demo__txt { opacity: .88; flex: 1 1 320px; }
.ld-demo__link { color: #A6DBBC; text-decoration: none; font-weight: 600; white-space: nowrap; }
.ld-demo__link:hover { text-decoration: underline; }

/* ── Typografie ─────────────────────────────────────────────────────────── */
.ld-kicker { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ld-accent); margin-bottom: 12px; }
.ld-h1 { font-family: var(--rt-font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(40px, 6vw, 78px); line-height: 1.02; margin: 0 0 20px; }
.ld-h2 { font-family: var(--rt-font-display); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin: 0 0 14px; }
.ld-h3 { font-family: var(--rt-font-display); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
.ld-lede { font-size: 17px; line-height: 1.7; color: var(--ld-muted); max-width: 60ch; margin: 0; }
.ld-sec { padding-block: clamp(64px, 9vw, 112px); }
.ld-sec--alt { background: var(--ld-bg-alt); }
.ld-sec--ink { background: var(--ld-ink); color: var(--ld-bg); }
.ld-sec--ink .ld-lede { color: color-mix(in srgb, var(--ld-bg) 72%, transparent); }
.ld-head { margin-bottom: 44px; }
.ld-head--center { text-align: center; }
.ld-head--center .ld-lede { margin-inline: auto; }

/* ── Knöpfe ─────────────────────────────────────────────────────────────── */
.ld-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .16s ease, background .2s ease, color .2s ease; }
.ld-btn:active { transform: scale(.98); }
.ld-btn--solid { background: var(--ld-accent); color: var(--ld-on-accent); }
.ld-btn--solid:hover { filter: brightness(1.06); }
.ld-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.ld-btn--ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ── Hero: Bild + Text ──────────────────────────────────────────────────── */
.ld-hero { position: relative; padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.ld-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px); align-items: center; }
.ld-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ld-hero__img { border-radius: var(--ld-radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.ld-hero__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ld-hero__facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px;
  border-top: 1px solid var(--ld-line); }
.ld-hero__facts div { font-size: 13px; color: var(--ld-muted); }
.ld-hero__facts b { display: block; font-family: var(--rt-font-display); font-size: 24px; font-weight: 600;
  color: var(--ld-ink); margin-bottom: 2px; }
@media (max-width: 900px) {
  .ld-hero__grid { grid-template-columns: 1fr; }
  .ld-hero__img img { aspect-ratio: 16 / 11; }
}

/* ── Karten und Raster ──────────────────────────────────────────────────── */
.ld-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ld-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .ld-grid3, .ld-grid2 { grid-template-columns: 1fr; } }
.ld-card { background: var(--ld-card); border: 1px solid var(--ld-line); border-radius: var(--ld-radius);
  padding: 28px 26px; }
.ld-card p { color: var(--ld-muted); line-height: 1.65; margin: 0; font-size: 15px; }
.ld-card__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ld-accent) 16%, transparent); color: var(--ld-accent); margin-bottom: 18px; }
.ld-card__ic svg { width: 22px; height: 22px; }

/* ── Preis- und Menülisten ──────────────────────────────────────────────── */
.ld-list { list-style: none; margin: 0; padding: 0; }
.ld-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 16px 0;
  border-bottom: 1px dotted var(--ld-line); }
.ld-list li:last-child { border-bottom: 0; }
.ld-list__name { font-weight: 600; }
.ld-list__price { font-family: var(--rt-font-display); font-weight: 600; font-size: 18px; white-space: nowrap; }
.ld-list__desc { grid-column: 1 / -1; color: var(--ld-muted); font-size: 14px; line-height: 1.55; }

/* ── Öffnungszeiten ─────────────────────────────────────────────────────── */
.ld-hours { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ld-hours li { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0;
  border-bottom: 1px solid var(--ld-line); }
.ld-hours li span:last-child { font-variant-numeric: tabular-nums; color: var(--ld-muted); }
.ld-hours li.is-closed span:last-child { font-style: italic; }

/* ── Stimmen ────────────────────────────────────────────────────────────── */
.ld-quote { margin: 0; }
.ld-quote p { font-family: var(--rt-font-display); font-size: 20px; line-height: 1.5; margin: 0 0 16px; }
.ld-quote cite { font-style: normal; font-size: 13px; color: var(--ld-muted); letter-spacing: .02em; }
.ld-stars { color: var(--ld-accent); letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; }

/* ── Buchung ────────────────────────────────────────────────────────────── */
.ld-book { padding-block: clamp(64px, 9vw, 112px); background: var(--ld-bg-alt); }
.ld-book__head { text-align: center; margin-bottom: 36px; }
.ld-book__head .ld-lede { margin-inline: auto; }
.ld-book__frame { max-width: 980px; margin: 0 auto; }
.ld-book__frame iframe { display: block; width: 100%; border: 0; background: transparent; }
.ld-book__pending { border: 1.5px dashed var(--ld-line); border-radius: var(--ld-radius); padding: 60px 24px;
  text-align: center; color: var(--ld-muted); line-height: 1.6; }
.ld-book__pending p { margin: 0 0 6px; }
.ld-book__note { text-align: center; font-size: 13px; color: var(--ld-muted); margin: 18px 0 0; }

/* ── Karte / Anfahrt (gezeichnet, kein Kartendienst) ────────────────────── */
.ld-map { position: relative; border-radius: var(--ld-radius); overflow: hidden; min-height: 280px;
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, color-mix(in srgb, var(--ld-line) 70%, transparent) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, color-mix(in srgb, var(--ld-line) 70%, transparent) 38px 39px),
    var(--ld-card); border: 1px solid var(--ld-line); }
.ld-map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 46%; height: 26px;
  background: color-mix(in srgb, var(--ld-accent) 22%, transparent); transform: rotate(-8deg); }
.ld-map__pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); width: 34px; height: 34px;
  border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--ld-accent);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.ld-map__label { position: absolute; left: 50%; top: 52%; transform: translateX(-50%); background: var(--ld-card);
  border: 1px solid var(--ld-line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600;
  white-space: nowrap; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.ld-faq details { border-bottom: 1px solid var(--ld-line); padding: 18px 0; }
.ld-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ld-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--ld-accent); }
.ld-faq details[open] summary::after { content: "–"; }
.ld-faq details p { color: var(--ld-muted); line-height: 1.65; margin: 12px 0 0; }

/* ── Weitere Demos + Abschluss ──────────────────────────────────────────── */
.ld-more { background: var(--rt-warm-100, #FAF1E0); color: var(--rt-main-400, #1C3031); padding-block: 56px; text-align: center; }
.ld-more__h { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin: 0 0 14px; }
.ld-more__row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ld-more__row a { color: inherit; text-decoration: none; border: 1px solid rgba(28,48,49,.2); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; }
.ld-more__row a:hover { background: rgba(28,48,49,.06); }
.ld-more__cta { margin: 28px 0 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ld-more .ld-btn--solid { background: var(--rt-main-400, #1C3031); color: var(--rt-warm-100, #FAF1E0); }

/* ── KI-Bildhinweis ─────────────────────────────────────────────────────── */
.ld .ki-mark { color: var(--ld-muted); }

/* Einblendung beim Scrollen — nur wenn Bewegung erwünscht ist. */
@media (prefers-reduced-motion: no-preference) {
  .ld-rise { animation: ldRise .7s cubic-bezier(.23,1,.32,1) both; }
  .ld-rise--2 { animation-delay: .08s; } .ld-rise--3 { animation-delay: .16s; }
  @keyframes ldRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* KI-Hinweis unter den Bildern: site.css setzt ihn mit 8,5 px und halber Deckkraft —
   auf den hellen Demo-Paletten liegt das bei ~2:1. Hier lesbar (Kontrast-Prüfung 27.09.). */
.ld .ki-mark { font-size: 10px; opacity: 1; color: var(--ld-muted); }
