/*
  Saunabad Grosser Teich - Relaunch 2035 "Gluehende Salzkristalle"
  Design-System: Dark-Warm-Theme, Glassmorphism, Parallax, Scroll-Reveal.
  Reine FTP-Umgebung: keine externen Requests, keine CDNs, kein Tracking.
*/
@import url("fonts.css");

/* ============================================================
   1) Design Tokens
   ============================================================ */
:root {
  /* Farbpalette (abgeleitet vom Salzstein-Hero) */
  --wood-950: #140b04;
  --wood-900: #1a0f08;
  --wood-800: #2d1a0e;
  --wood-700: #3d2513;
  --wood-100: #d9c4ad;
  --wood-50:  #f5efe8;

  --amber:   #c46a1a;
  /* Dunklerer Amberton fuer Text auf hellen Flaechen.
     #c46a1a erreicht dort nur 3,44:1, dieser Wert 5,39:1. */
  --amber-ink: #9a4e00;
  --glow:    #e8933a;
  --gold:    #f5c862;
  --gold-300:#f5c862;
  --olive:   #6b7d3e;

  --paper:   #faf0e4;
  --ink:     #241608;
  --ink-soft:#6a5844;

  /* Rollen */
  --bg:        var(--wood-900);
  --surface:   var(--paper);
  --text-dark: var(--ink);
  --text-light:var(--wood-50);

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(1.9rem, 1.5rem + 2vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.8rem + 3.4vw, 4.4rem);
  --step-5:  clamp(3rem, 2rem + 5vw, 6rem);

  /* Layout */
  --container: 1200px;
  --dock-h: 58px;
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Schatten & Glas */
  --shadow-1: 0 6px 24px rgba(20, 11, 4, 0.14);
  --shadow-2: 0 24px 60px rgba(20, 11, 4, 0.28);
  --shadow-glow: 0 10px 40px rgba(232, 147, 58, 0.35);
  --glass-bg: rgba(45, 26, 14, 0.55);
  --glass-border: rgba(245, 200, 98, 0.22);
  --glass-blur: 16px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   2) Reset & Basis
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--wood-800);
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.1rem; }

/* ============================================================
   3) Skip-Link & Fokus
   ============================================================ */
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--wood-900); color: var(--gold);
  padding: 0.6rem 1.1rem; border-radius: var(--radius-pill);
  z-index: 2000; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   4) Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: var(--step--1);
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--glow), var(--amber));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 16px 48px rgba(232, 147, 58, 0.5); }
.btn-outline {
  border: 1.5px solid var(--glow);
  color: var(--amber);
  background: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: var(--glow); color: #fff; }
.btn-ghost-light {
  border: 1.5px solid rgba(245, 200, 98, 0.5);
  color: var(--gold);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(245, 200, 98, 0.14); }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   5) Topbar & Header
   ============================================================ */
.topbar {
  background: var(--wood-950); color: var(--wood-100);
  font-size: 0.8rem; letter-spacing: 0.01em;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem;
  align-items: center; justify-content: center; padding: 0.5rem 0;
}
.topbar a:hover { color: var(--gold); }
.topbar span { color: var(--wood-100); opacity: 0.8; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(26, 15, 8, 0.72);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(245, 200, 98, 0.14);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgba(20, 11, 4, 0.92); box-shadow: var(--shadow-1); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 8px rgba(232,147,58,0.5));
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--wood-50); }
.brand-logo {
  display: block;
  height: 50px !important; /* Saubere Standard-Höhe für beschnittenes Logo */
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  object-position: left center;
  margin: 0 !important; /* Alle Hack-Margins entfernen */
  margin-right: 2rem !important; /* Normaler Abstand zum Menü */
}
@media (max-width: 992px) {
  .brand-logo { 
    height: 45px !important;
    margin-right: 1.5rem !important; 
  }
}
@media (max-width: 576px) {
  .brand-logo { 
    height: 40px !important;
    margin-right: 0.5rem !important; 
  }
}

.footer-logo {
  display: block;
  height: 55px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  object-position: left center;
  margin: 0 !important;
  margin-bottom: 1.5rem !important;
}
.brand-text span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.nav-menu { display: flex; align-items: center; gap: 0.35rem; }
.nav-menu a {
  padding: 0.5rem 0.85rem; border-radius: var(--radius-pill);
  font-size: 0.92rem; font-weight: 500; color: var(--wood-50);
  position: relative; transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 0.3rem;
  width: 0; height: 2px; background: var(--gold);
  transform: translateX(-50%); transition: width 0.25s var(--ease);
}
.nav-menu a:not(.btn):hover::after,
.nav-menu a[aria-current="page"]:not(.btn)::after { width: 45%; }
.nav-menu a[aria-current="page"]:not(.btn) { color: var(--gold); }
.nav-menu .btn { margin-left: 0.5rem; padding: 0.6rem 1.2rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.6rem; z-index: 1000; }
.nav-toggle span { width: 26px; height: 2px; background: var(--gold); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(20,11,4,0.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); z-index: 800; }
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0.5rem;
    padding: 2rem; background: rgba(20, 11, 4, 0.97);
    backdrop-filter: blur(var(--glass-blur));
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    z-index: 950;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a { font-size: 1.15rem; padding: 0.7rem 1rem; }
  .nav-menu .btn { margin: 0.8rem 0 0; }
}

/* ============================================================
   6) Hero (Fullscreen, Parallax, Glow)
   ============================================================ */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
  background: var(--wood-950);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 25% 40%, rgba(232,147,58,0.28), transparent 70%),
    linear-gradient(180deg, rgba(20,11,4,0.55) 0%, rgba(20,11,4,0.35) 40%, rgba(20,11,4,0.85) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: radial-gradient(circle at 30% 50%, rgba(245,200,98,0.14), transparent 55%);
  animation: glowDrift 14s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0% { transform: translate(0,0) scale(1); opacity: 0.7; }
  100% { transform: translate(6%, -4%) scale(1.15); opacity: 1; }
}
.hero-inner {
  padding: 6rem 0; position: relative;
  display: flex; flex-direction: column; gap: 2.6rem;
}
.hero-panel { max-width: 44rem; }

.hero-gallery { width: 100%; max-width: 460px; margin: 0 auto; }
.hero-gallery-frame {
  position: relative; aspect-ratio: 4/5; border-radius: 1.4rem; overflow: hidden;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,200,98,0.25);
  background: var(--wood-950);
}
.hero-gallery-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s ease, transform 5s ease;
}
.hero-gallery-frame img.is-active { opacity: 1; transform: scale(1); }
.hero-gallery-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20,11,4,0) 55%, rgba(20,11,4,0.55) 100%);
}
.hero-gallery-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.9rem; }
.hero-gallery-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(245,200,98,0.3); transition: background 0.3s, transform 0.3s;
}
.hero-gallery-dots span.is-active { background: var(--gold); transform: scale(1.3); }

@media (min-width: 900px) {
  .hero-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 3.5rem; }
  .hero-panel { max-width: 44rem; }
  .hero-gallery { flex: 0 0 420px; max-width: 420px; margin: 0; margin-top: 3.4rem; }
  .hero-gallery-frame { aspect-ratio: auto; height: min(56vh, 520px); }
}
.hero-panel h1 {
  font-size: var(--step-5); font-weight: 900; color: #fff;
  letter-spacing: -0.03em; text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-panel .lede { color: var(--wood-100); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(245,200,98,0.2);
}
.hero-facts div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-facts strong { font-family: var(--font-display); font-size: var(--step-2); color: var(--gold); font-weight: 700; white-space: nowrap; }
.hero-facts span { font-size: 0.78rem; color: var(--wood-100); letter-spacing: 0.02em; }
@media (max-width: 620px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--glow); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); margin-top: 0.9rem; font-weight: 400; }

/* ============================================================
   7) Sektionen
   ============================================================ */
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; }
.section--cream { background: linear-gradient(180deg, #fff, var(--paper)); }
.section--dark {
  background: radial-gradient(120% 100% at 80% 0%, var(--wood-700), var(--wood-900) 60%);
  color: var(--wood-50);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--wood-50); }
.section--dark .lede { color: var(--wood-100); }

.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head.mt-0 { margin-bottom: 0; }
.section-head h1 { font-size: var(--step-4); margin-top: 0.5rem; }
.section-head h2 { font-size: var(--step-3); margin-top: 0.5rem; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.8s var(--ease); }
.split-media:hover img { transform: scale(1.05); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 16/10; }
}

/* ============================================================
   8) Grid & Glassmorphism-Cards
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  padding: 1.8rem; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196,106,26,0.14);
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--glow); }
.card h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.icon-badge {
  width: 54px; height: 54px; display: grid; place-items: center;
  font-size: 1.6rem; border-radius: 16px; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(232,147,58,0.18), rgba(245,200,98,0.28));
  box-shadow: inset 0 0 0 1px rgba(196,106,26,0.2);
}
.card-link {
  display: inline-block; margin-top: 1rem; font-weight: 700;
  font-size: 0.9rem; color: var(--amber);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.card-link:hover { color: var(--glow); letter-spacing: 0.01em; }

/* ============================================================
   9) Tabellen, Chips, Notizen
   ============================================================ */
.table-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(196,106,26,0.14); box-shadow: var(--shadow-1);
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 0.95rem 1.4rem; text-align: left; }
.data-table thead th {
  background: linear-gradient(135deg, var(--wood-800), var(--wood-700));
  color: var(--gold); font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.01em;
}
/* Die Karte ist hell, steht aber in .section--dark. Ohne eigene Angabe
   erben die Zellen die helle Schriftfarbe der Sektion. */
.data-table tbody td { color: var(--text-dark); }
.data-table tbody tr { border-top: 1px solid rgba(196,106,26,0.1); }
.data-table tbody tr:nth-child(even) { background: rgba(250,240,228,0.6); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--amber-ink); white-space: nowrap; }
.chip {
  display: inline-block; margin-left: 0.5rem; padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700;
  background: rgba(107,125,62,0.16); color: var(--olive);
}
.hint { font-size: 0.82rem; color: var(--ink-soft); }
.note-box {
  padding: 1.1rem 1.4rem; border-radius: var(--radius);
  background: rgba(245,200,98,0.14); border-left: 4px solid var(--glow);
  font-size: 0.95rem;
}
.section--dark .note-box { background: rgba(245,200,98,0.1); color: var(--wood-50); }

/* ============================================================
   10) Formular / Gutschein
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--wood-800); }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: var(--radius);
  border: 1.5px solid rgba(196,106,26,0.25); background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px rgba(232,147,58,0.18); }
.form-grid { display: grid; gap: 1.1rem; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr; } }

.amount-presets { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.amount-presets button {
  padding: 0.6rem 1.2rem; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(196,106,26,0.3); font-weight: 700; color: var(--amber);
  background: #fff; transition: all 0.2s var(--ease);
}
.amount-presets button:hover { border-color: var(--glow); }
.amount-presets button.is-active { background: linear-gradient(135deg, var(--glow), var(--amber)); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }

/* Gutscheinmotiv-Auswahl */
.motif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}
@media (max-width: 640px) {
  .motif-grid { grid-template-columns: repeat(2, 1fr); }
}
.motif-option {
  position: relative; cursor: pointer; border-radius: var(--radius);
  overflow: hidden; border: 2.5px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: var(--shadow-1);
}
.motif-option input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.motif-option img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform 0.4s var(--ease), filter 0.3s var(--ease);
}
.motif-option:hover img { transform: scale(1.06); }
.motif-option:hover { border-color: rgba(196,106,26,0.4); }
.motif-option.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,200,98,0.3), var(--shadow-glow);
}
.motif-option.is-active img { transform: scale(1.03); }
.motif-option::after {
  content: "\2713"; position: absolute; top: 0.5rem; right: 0.5rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--gold); color: var(--wood-900);
  display: grid; place-items: center; font-weight: 900; font-size: 0.85rem;
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.motif-option.is-active::after { opacity: 1; transform: scale(1); }
.motif-label {
  display: block; padding: 0.4rem 0.6rem; font-size: 0.78rem;
  font-weight: 700; color: var(--wood-800); background: var(--paper);
  text-align: center; letter-spacing: 0.02em;
}

.voucher-summary {
  align-self: start; padding: 2rem; border-radius: var(--radius-lg);
  background: radial-gradient(120% 100% at 80% 0%, var(--wood-700), var(--wood-900));
  color: var(--wood-50); box-shadow: var(--shadow-2);
  border: 1px solid rgba(245,200,98,0.2);
}
.voucher-summary .amount { font-family: var(--font-display); font-size: var(--step-4); font-weight: 900; color: var(--gold); line-height: 1; margin: 0.5rem 0 1.2rem; }
.voucher-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; font-size: 0.9rem; margin-bottom: 1.5rem; }
.voucher-summary dt { color: var(--wood-100); }
.voucher-summary dd { text-align: right; font-weight: 700; }
.pay-options { display: flex; flex-direction: column; gap: 0.7rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; }
.form-status { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: var(--radius); font-size: 0.88rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(107,125,62,0.22); color: #d9e6b8; }
.form-status.error { background: rgba(196,60,26,0.25); color: #ffd2c2; }

@media (min-width: 900px) {
  #gutschein-layout { grid-template-columns: 1.4fr 0.9fr !important; align-items: start; }

  /* Gutschein-Vorschau und Bestelluebersicht laufen beim Ausfuellen mit.
     Ohne das muesste der Kunde nach den letzten Feldern wieder ganz nach
     oben scrollen, um den Bezahlen-Knopf zu erreichen.
     Nur in der zweispaltigen Ansicht sinnvoll — darunter steht die Spalte
     ohnehin unter dem Formular. Der Abstand oben haelt die Spalte frei
     von der mitlaufenden Kopfzeile. */
  #bestell-spalte {
    position: sticky;
    top: 5.75rem;
    align-self: start;
  }
}

/* Flache Fenster: Spalte innen scrollbar machen, sonst rutscht der
   Bezahlen-Knopf unten aus dem Bild. */
@media (min-width: 900px) and (max-height: 820px) {
  #bestell-spalte {
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 0.4rem;
  }
}

/* ============================================================
   11) Galerie & Lightbox
   ============================================================ */
.gallery-grid { columns: 3 260px; column-gap: 1.1rem; }
.gallery-item {
  display: block; width: 100%; margin-bottom: 1.1rem; padding: 0;
  border-radius: var(--radius); overflow: hidden; break-inside: avoid;
  box-shadow: var(--shadow-1); position: relative;
}
.gallery-item img { width: 100%; transition: transform 0.6s var(--ease), filter 0.4s var(--ease); }
.gallery-item::after { content: "\002B"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: #fff; background: rgba(20,11,4,0.35); opacity: 0; transition: opacity 0.3s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 1500; display: none;
  place-items: center; background: rgba(15,8,3,0.94); backdrop-filter: blur(8px); padding: 2rem;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-2); }
.lightbox-close, .lightbox-nav {
  position: absolute; color: var(--gold); font-size: 2rem; width: 3rem; height: 3rem;
  display: grid; place-items: center; border-radius: 50%; background: rgba(245,200,98,0.1); transition: background 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(245,200,98,0.25); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   12) Rechtstexte
   ============================================================ */
.legal { max-width: 52rem; }
.legal h1 { font-size: var(--step-3); margin: 0.5rem 0 1rem; }
.legal h2 { font-size: var(--step-1); margin: 2rem 0 0.6rem; color: var(--amber); }
.legal p { margin-bottom: 0.9rem; color: #3d2f1e; }
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.ai-hinweis {
  padding: 1.2rem 1.4rem; border-radius: var(--radius); margin-bottom: 2rem;
  background: rgba(107,125,62,0.12); border: 1px dashed rgba(107,125,62,0.4);
  font-size: 0.9rem;
}
.ai-hinweis .tag { display: inline-block; margin-bottom: 0.5rem; padding: 0.15rem 0.7rem; border-radius: var(--radius-pill); background: var(--olive); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   13) Footer
   ============================================================ */
.site-footer { background: var(--wood-950); color: var(--wood-100); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.9rem; margin-top: 0.8rem; max-width: 30ch; }
.site-footer h3, .site-footer h4 { color: var(--gold); font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-list { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; }
.footer-list a:hover { color: var(--gold); }
.social-row { display: flex; gap: 0.6rem; }
.social-row a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245,200,98,0.3); font-size: 0.78rem; font-weight: 700; color: var(--gold); transition: all 0.2s var(--ease); }
.social-row a:hover { background: var(--gold); color: var(--wood-900); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(245,200,98,0.12); font-size: 0.8rem; opacity: 0.75; }

/* ============================================================
   14) Bild-Fallback (fehlende Bilder)
   ============================================================ */
.img-missing {
  display: grid; place-items: center; width: 100%;
  background: repeating-linear-gradient(45deg, rgba(196,106,26,0.08), rgba(196,106,26,0.08) 12px, rgba(245,200,98,0.12) 12px, rgba(245,200,98,0.12) 24px);
  color: var(--ink-soft); font-size: 0.82rem; text-align: center; padding: 1rem; border-radius: inherit;
}

/* ============================================================
   15) Dezente Notification-Bar (Gaeste-Hinweis)
   ============================================================ */
.notice-bar {
  position: fixed; left: 50%; bottom: calc(var(--dock-h) + 1rem); transform: translate(-50%, 200%);
  z-index: 1200; width: min(100% - 2rem, 640px);
  background: rgba(26,15,8,0.94); backdrop-filter: blur(var(--glass-blur));
  color: var(--wood-50); border: 1px solid rgba(245,200,98,0.25);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  padding: 1.1rem 1.3rem; transition: transform 0.5s var(--ease);
}
.notice-bar.is-visible { transform: translate(-50%, 0); }
.notice-bar-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.notice-bar-top strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); }
.notice-bar .close-x { font-size: 1.4rem; color: var(--wood-100); line-height: 1; }
.notice-bar .close-x:hover { color: var(--gold); }
.notice-bar p { font-size: 0.88rem; margin-top: 0.4rem; color: var(--wood-100); }
/* Tagesaktuelle Meldung: groesser und farbig abgesetzt, steht vor den
   allgemeinen Punkten. Gepflegt unter /admin/redaktion.php. */
.notice-bar .notice-aktuell {
  margin: 0.9rem 0 0.2rem; padding: 0.85rem 1rem;
  border-left: 4px solid var(--gold); border-radius: 8px;
  background: rgba(245, 200, 98, 0.14);
}
.notice-bar .notice-aktuell .notice-aktuell-titel {
  display: block; font-family: var(--font-display); font-size: 1.05rem;
  line-height: 1.3; color: var(--gold); margin-bottom: 0.25rem;
}
.notice-bar .notice-aktuell p {
  margin: 0; font-size: 0.97rem; line-height: 1.5; color: var(--wood-50);
}
.notice-bar .notice-detail { display: none; margin-top: 0.8rem; font-size: 0.85rem; }
.notice-bar .notice-detail.is-open { display: block; }
.notice-bar .notice-detail ul { margin: 0.4rem 0 0 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.notice-bar .notice-actions { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.notice-bar .link-btn { font-size: 0.82rem; font-weight: 700; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   16) Barrierefreiheits-Widget
   ============================================================ */
.a11y-fab {
  position: fixed; right: 1.2rem; bottom: calc(var(--dock-h) + 1rem); z-index: 1100;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--glow), var(--amber));
  color: #fff; font-size: 1.5rem; display: grid; place-items: center;
  box-shadow: var(--shadow-glow); transition: transform 0.25s var(--ease);
}
.a11y-fab:hover { transform: scale(1.08) rotate(6deg); }
.a11y-panel {
  position: fixed; right: 1.2rem; bottom: calc(var(--dock-h) + 8rem); z-index: 1101;
  width: min(90vw, 320px); padding: 1.4rem;
  background: rgba(26,15,8,0.97); backdrop-filter: blur(var(--glass-blur));
  color: var(--wood-50); border: 1px solid rgba(245,200,98,0.25);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  transform: translateY(20px) scale(0.96); opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease);
}
.a11y-panel.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.a11y-panel h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid rgba(245,200,98,0.12); font-size: 0.88rem; }
.a11y-row:first-of-type { border-top: none; }
.a11y-seg { display: flex; gap: 0.3rem; }
.a11y-seg button, .a11y-toggle {
  padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(245,200,98,0.3); font-size: 0.78rem; font-weight: 700; color: var(--wood-100);
  transition: all 0.2s var(--ease);
}
.a11y-seg button.is-active, .a11y-toggle.is-active { background: var(--gold); color: var(--wood-900); border-color: transparent; }

/* Barrierefreiheits-Modi (per Body-Klasse aktiviert) */
body.a11y-large { font-size: calc(var(--step-0) * 1.15); }
body.a11y-xlarge { font-size: calc(var(--step-0) * 1.32); }
body.a11y-contrast { --paper: #fff; --ink: #000; --ink-soft: #2a2a2a; --amber: #9a4e00; }
body.a11y-contrast .card, body.a11y-contrast .table-wrap { background: #fff; border-color: #000; }
body.a11y-underline a { text-decoration: underline; text-underline-offset: 2px; }
body.a11y-focus :focus-visible { outline: 4px solid #00b3ff; outline-offset: 4px; }

/* ============================================================
   17) Scroll-Reveal & Section-Divider
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: 0.1s; }
[data-reveal].d2 { transition-delay: 0.2s; }
[data-reveal].d3 { transition-delay: 0.3s; }

.wave-divider { display: block; width: 100%; height: 60px; }
.wave-divider path { fill: currentColor; }

/* ============================================================
   17b) Fixer Kontakt-Bodenbalken + Cookie-Tool + Footer-Credit
   ============================================================ */
body.has-dock { padding-bottom: var(--dock-h); }

.contact-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
  height: var(--dock-h);
  display: flex; align-items: stretch; justify-content: center;
  background: rgba(20, 11, 4, 0.92);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  border-top: 1px solid rgba(245, 200, 98, 0.22);
  box-shadow: 0 -8px 30px rgba(20, 11, 4, 0.35);
}
.contact-dock a {
  flex: 1; max-width: 240px;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--wood-50); font-size: 0.9rem; font-weight: 600;
  border-left: 1px solid rgba(245, 200, 98, 0.12);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.contact-dock a:first-child { border-left: none; }
.contact-dock a:hover { background: rgba(245, 200, 98, 0.12); color: var(--gold); }
.contact-dock .ico { font-size: 1.15rem; }
@media (max-width: 560px) {
  .contact-dock a .label { display: none; }
  .contact-dock .ico { font-size: 1.4rem; }
}

.cookie-fab {
  position: fixed; right: 1.2rem; bottom: calc(var(--dock-h) + 4.6rem); z-index: 1100;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(26, 15, 8, 0.92); color: var(--gold); font-size: 1.4rem;
  display: grid; place-items: center; border: 1px solid rgba(245, 200, 98, 0.3);
  box-shadow: var(--shadow-2); transition: transform 0.25s var(--ease);
}
.cookie-fab:hover { transform: scale(1.08); }
.consent-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; padding: 1.2rem;
  background: rgba(20, 11, 4, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.consent-overlay.is-open { opacity: 1; pointer-events: auto; }
.consent-card {
  width: min(100%, 560px); background: #fff; color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  transform: translateY(16px) scale(0.98); transition: transform 0.35s var(--ease);
}
.consent-overlay.is-open .consent-card { transform: none; }
.consent-card .eyebrow { color: var(--amber-ink); }
.consent-card h2 { font-family: var(--font-display); font-size: var(--step-2); color: var(--wood-900); margin: 0.35rem 0 0.8rem; }
.consent-card > p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.consent-list { list-style: none; margin: 1.3rem 0; display: flex; flex-direction: column; gap: 0.85rem; }
.consent-list li { display: flex; gap: 0.7rem; font-size: 0.9rem; line-height: 1.45; color: var(--ink); }
.consent-list .ck {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: linear-gradient(135deg, var(--glow), var(--amber)); color: #fff;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 900;
}
.consent-list strong { color: var(--wood-900); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-actions .consent-link { font-weight: 700; color: var(--amber-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consent-actions .consent-link:hover { color: var(--glow); }

.footer-credit { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--gold); }
.footer-credit .admin-gear {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(245, 200, 98, 0.3); text-decoration: none; font-size: 0.95rem;
  transition: transform 0.4s var(--ease), background 0.2s var(--ease);
}
.footer-credit .admin-gear:hover { transform: rotate(90deg); background: rgba(245, 200, 98, 0.14); color: var(--gold); }
.footer-cookie-link { background: none; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; color: inherit; font: inherit; }
.footer-cookie-link:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
body.reduce-motion * { animation: none !important; transition: none !important; }
body.reduce-motion [data-reveal] { opacity: 1; transform: none; }

/* ============================================================
   19) Print
   ============================================================ */
@media print {
  .topbar, .site-header, .nav-backdrop, .site-footer, .notice-bar, .a11y-fab, .a11y-panel, .contact-dock, .cookie-fab, .cookie-panel, .hero-cta, .btn { display: none !important; }
  body.has-dock { padding-bottom: 0; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; }
  .section { padding: 1rem 0; }
}

/* Betragsfeld: Das Euro-Zeichen steht fest am Feld, damit es niemand
   selbst eintippt. Zahlen-Spinner aus, es sind ohnehin nur ganze Zahlen. */
.betrag-feld { position: relative; }
.betrag-feld input { width: 100%; padding-right: 2.4rem; }
.betrag-feld input::-webkit-outer-spin-button,
.betrag-feld input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.betrag-feld input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.betrag-waehrung {
  position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
  font-weight: 700; color: var(--amber-ink); pointer-events: none;
}
[data-company-fields][hidden] { display: none; }

/* ============================================================
   Gutschein-Vorschau auf der Bestellseite.
   Nachbau des gedruckten Gutscheins, damit der Besteller sieht,
   was er bekommt — mit seinen eigenen Angaben, nicht als Foto.
   ============================================================ */
.gs-blatt {
  max-width: 40rem; margin: 0 auto; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-2);
  background: radial-gradient(120% 100% at 80% 0%, var(--wood-700), var(--wood-900) 60%);
  color: var(--wood-50);
}
.gs-blatt .gs-motiv { display: block; width: 100%; height: auto; }
.gs-blatt .gs-inhalt { padding: 1.8rem 2rem 2rem; text-align: center; }
.gs-blatt .gs-eyebrow {
  display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-300);
}
.gs-blatt .gs-firma {
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15;
  color: var(--wood-50); margin: .35rem 0 .2rem;
}
.gs-blatt .gs-betrag {
  font-family: var(--font-display); font-weight: 900; font-size: var(--step-4);
  line-height: 1; color: var(--gold); margin: .6rem 0 .3rem;
}
.gs-blatt .gs-fuer { color: var(--gold); font-style: italic; margin: 0; }
.gs-blatt .gs-gruss { color: var(--wood-100); margin: .7rem 0 0; font-style: italic; }
.gs-blatt .gs-kaesten {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem;
}
.gs-blatt .gs-kasten {
  flex: 1 1 12rem; max-width: 15rem; padding: .8rem 1rem; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(245,200,98,.25);
}
.gs-blatt .gs-kasten b {
  display: block; color: var(--gold-300); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: .25rem;
}
.gs-blatt .gs-code { font-family: ui-monospace, "Courier New", monospace; letter-spacing: .12em; }
.gs-blatt .gs-fuss { margin: 1.5rem 0 0; font-size: .76rem; line-height: 1.6; color: var(--wood-100); opacity: .85; }
