/* =====================================================================
   WOLLTASTISCH Leonberg 2027 – Stylesheet
   Design-System nach visual.md · Mobile-First · WCAG AA
   ===================================================================== */

/* ---------- Custom Properties (aus visual.md §6) ---------- */
:root {
  /* Marken-Kernfarben */
  --primary:        #E67328;
  --primary-700:    #C25618;
  --secondary:      #3C6B3E;
  --secondary-800:  #264A2A;
  --accent-teal:    #2E8C86;
  --accent-berry:   #C1362F;
  --accent-yellow:  #F2B233;

  /* Flächen & Neutrale */
  --bg:             #FBF6EC;
  --bg-alt:         #F5ECD9;
  --surface:        #FFFDF8;
  --border:         #E7D9BF;

  /* Text */
  --text:           #33291F;
  --text-muted:     #6B5A45;
  --text-invers:    #FBF6EC;

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

  --fs-display: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  --fs-h1:      clamp(2rem, 3.5vw + 1rem, 3rem);
  --fs-h2:      clamp(1.5rem, 2vw + 0.75rem, 2.125rem);
  --fs-h3:      clamp(1.25rem, 1vw + 0.9rem, 1.5rem);
  --fs-lead:    clamp(1.125rem, 0.6vw + 1rem, 1.375rem);
  --fs-body:    clamp(1rem, 0.3vw + 0.95rem, 1.125rem);
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.8125rem;

  --lh-tight:  1.1;
  --lh-snug:   1.2;
  --lh-normal: 1.65;

  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing (8er-Basis) */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;    --space-8: 4rem;    --space-9: 6rem;
  --section-y: clamp(4rem, 8vw, 7rem);

  /* Layout */
  --container: 1180px;
  --container-narrow: 720px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 68px;

  /* Radien */
  --radius-sm:   12px;
  --radius:      20px;
  --radius-lg:   28px;
  --radius-pill: 999px;

  /* Shadows (warm) */
  --shadow-sm: 0 4px 12px -6px rgba(51,41,31,0.18);
  --shadow:    0 12px 28px -14px rgba(51,41,31,0.22);
  --shadow-lg: 0 24px 48px -20px rgba(51,41,31,0.28);
  --shadow-cta: 0 8px 20px -8px rgba(230,115,40,0.55);

  /* Verläufe / Deko */
  --gradient-cta:  linear-gradient(100deg, #E67328 0%, #F2B233 100%);
  --gradient-hero: radial-gradient(circle at 30% 20%, rgba(242,178,51,0.28), transparent 60%);

  /* Motion & Focus */
  --transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
  --focus-ring: 3px solid var(--accent-teal);
  --focus-offset: 3px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: var(--primary-700); }

ul { margin: 0; padding: 0; }

/* Global sichtbarer Fokus */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin: 0 0 var(--space-3);
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 2000;
  background: var(--surface);
  color: var(--primary-700);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: top .18s ease;
}
.skip-link:focus { top: var(--space-3); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--secondary-800);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  margin-right: auto;
}
.header__logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.header__logo-text {
  display: none; /* Mobil ausgeblendet – nur das runde Logo, verhindert unsauberen Umbruch */
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-desktop { display: none; }
.nav-desktop__list {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
}
.nav-link {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: var(--fw-semibold);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary-700); }
.nav-link[aria-current="true"] {
  color: var(--primary-700);
  border-bottom-color: var(--primary);
  font-weight: var(--fw-bold);
}

.header__cta { display: none; }

/* Burger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
}
.burger, .burger::before, .burger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Nav Panel */
.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: var(--space-4) var(--gutter) var(--space-6);
  box-shadow: var(--shadow);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile__list { list-style: none; }
.nav-mobile__link {
  display: block;
  padding: 0.85rem 0.5rem;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-weight: var(--fw-semibold);
  font-size: 1.125rem;
  border-bottom: 1px solid var(--border);
}
.nav-mobile__link:hover { color: var(--primary-700); }
.nav-mobile__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;   /* ≥17px */
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.btn--sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 1rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.125rem; }

.btn--primary {
  /* A11y-Fix: helles --primary (#E67328) erreicht auf hellem Text nur ~2.9:1.
     Dunkleres Orange + reinweißer Text => >= 4.5:1 (WCAG AA, normaler Text). */
  background: var(--primary-700);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  background: #A8480F;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(230,115,40,0.6);
}
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--secondary {
  background: transparent;
  border-color: var(--secondary);
  color: var(--secondary-800);
}
.btn--secondary:hover {
  background: var(--secondary);
  color: var(--text-invers);
  transform: translateY(-2px);
}
.btn--secondary:active { transform: translateY(0); }

/* Ghost-Variante für dunklen Footer */
.btn--ghost {
  background: transparent;
  border-color: var(--text-invers);
  color: var(--text-invers);
}
.btn--ghost:hover {
  background: var(--text-invers);
  color: var(--secondary-800);
  transform: translateY(-2px);
}

.icon-external { flex: 0 0 auto; }

/* Text-Link mit External-Icon */
.link-external {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-700);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-external:hover { color: var(--secondary-800); }
.link-external--light { color: var(--accent-yellow); }
.link-external--light:hover { color: var(--text-invers); }

/* =====================================================================
   SECTIONS (allgemein)
   ===================================================================== */
.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + 8px);
}
/* Sektionen tragen id ohne extra Klasse; scroll-margin für alle Anker */
section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.section--alt { background: var(--bg-alt); }
.section--center { text-align: center; }
.section--center .btn { margin-inline: auto; }

.section__head { margin-bottom: var(--space-6); }
.section__subhead {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--secondary-800);
  margin: 0 0 var(--space-4);
}
.section__lead {
  font-size: var(--fs-lead);
  color: var(--text);
  max-width: 65ch;
}
.section--center .section__lead { margin-inline: auto; }
.section__note {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-top: var(--space-5);
}

p { max-width: 65ch; }
.section--center p { margin-inline: auto; }

/* Divider (Wellen) */
.divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(40px, 5vw, 80px);
  display: block;
  z-index: 2;
}
.divider--bottom { bottom: -1px; }

/* Tannen-Treeline (dezent, additiv oberhalb der Wellen-Divider) */
.treeline {
  position: absolute;
  left: 0;
  bottom: clamp(30px, 4vw, 62px);
  width: 100%;
  height: clamp(38px, 6vw, 74px);
  display: block;
  z-index: 1;
  pointer-events: none;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(5rem, 9vw, 8rem);
  background: var(--bg);
  overflow: hidden;
  scroll-margin-top: 0;
}
.hero__wash {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}

/* Dezentes Wald-Foto-Band am unteren Hero-Rand (rein dekorativ) */
.hero__forest {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(120px, 18vw, 220px);
  background: url("../img/wald-staigwald.png") center 60% / cover no-repeat;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
}

.hero__logo-wrap {
  position: relative;
  justify-self: center;
  width: clamp(180px, 45vw, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero__blob {
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle at 40% 35%, rgba(242,178,51,0.55), rgba(230,115,40,0.20) 70%, transparent 78%);
  border-radius: 42% 58% 63% 37% / 45% 45% 55% 55%;
  z-index: 0;
}
.hero__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.hero__eyebrow { color: var(--accent-teal); }

.hero__title {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-4);
}
.hero__title-accent {
  font-style: italic;
  font-weight: var(--fw-semibold);
  color: var(--primary);
}
.hero__subtitle {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--fw-semibold);
  color: var(--secondary);
  margin-top: var(--space-2);
}
.hero__subline {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 55ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.hero__actions .btn { flex: 1 1 auto; max-width: 100%; }
.hero__micro {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-top: var(--space-5);
  margin-inline: auto;
  max-width: 48ch;
}

/* =====================================================================
   INTRO / VISION
   ===================================================================== */
.intro__pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lead);
  font-weight: var(--fw-semibold);
  color: var(--secondary-800);
  border-left: 4px solid var(--primary);
  padding-left: var(--space-5);
  margin-block: var(--space-6);
}
.intro__signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--primary-700);
  margin: 0;
}

.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lead);
  font-weight: var(--fw-semibold);
  color: var(--secondary-800);
}
.pullquote--center {
  max-width: 60ch;
  margin: var(--space-6) auto;
}

/* =====================================================================
   LOCATION (Wald-Foto)
   ===================================================================== */
.location__figure {
  max-width: 100%;
  margin: var(--space-6) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.location__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.location__figure figcaption {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: var(--fs-small);
  text-align: center;
}

/* =====================================================================
   CARDS (Highlights + Infos)
   ===================================================================== */
.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card__title {
  font-size: var(--fs-h3);
  margin: 0 0 var(--space-2);
}
.card__text {
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: var(--space-3);
  color: #fff;
}
/* farbige Top-Akzente rotierend */
.card--accent-orange { border-top: 4px solid var(--primary); }
.card--accent-orange .card__icon { background: var(--primary); }
.card--accent-green  { border-top: 4px solid var(--secondary); }
.card--accent-green .card__icon { background: var(--secondary); }
.card--accent-teal   { border-top: 4px solid var(--accent-teal); }
.card--accent-teal .card__icon { background: var(--accent-teal); }
.card--accent-yellow { border-top: 4px solid var(--accent-yellow); }
.card--accent-yellow .card__icon { background: var(--accent-yellow); color: var(--text); }
.card--accent-berry  { border-top: 4px solid var(--accent-berry); }
.card--accent-berry .card__icon { background: var(--accent-berry); }

.cards--info .card { border-top: 4px solid var(--accent-teal); }

/* =====================================================================
   LAGEPLAN (Coming Soon)
   ===================================================================== */
.lageplan { margin-top: var(--space-6); }

.lageplan__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--secondary-800);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin: 0 0 var(--space-4);
}
.lageplan__badge-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-berry);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

.lageplan__stage {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: clamp(0.75rem, 2vw, 1.25rem);
}
.lageplan__svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 500;
}

/* Zonen-Overlay: prozentual positioniert über dem SVG */
.lageplan__zones {
  position: absolute;
  inset: clamp(0.75rem, 2vw, 1.25rem);
}
.zone {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  font-family: var(--font-body);
  border-radius: var(--radius);
  border: 2px solid;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}
.zone__label { font-weight: var(--fw-bold); font-size: 1rem; }
.zone__meta  { font-size: var(--fs-small); font-weight: var(--fw-semibold); opacity: 0.9; }

.zone--halle {
  left: 5%; top: 12%;
  width: 40%; height: 66%;
  background: color-mix(in srgb, var(--secondary) 16%, var(--surface));
  border-color: var(--secondary);
  color: var(--secondary-800);
}
.zone--aussen {
  left: 55%; top: 22%;
  width: 40%; height: 50%;
  background: color-mix(in srgb, var(--primary) 14%, var(--surface));
  border-color: var(--primary);
  color: var(--primary-700);
}
.zone--marker {
  width: auto;
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  font-size: var(--fs-small);
  padding: 0.4rem 0.7rem;
}
.zone--marker .zone__label { font-size: 0.9rem; }
.zone--gastro  { left: 55%; top: 76%; border-color: var(--accent-yellow); }
.zone--buehne  { left: 5%; top: 82%; border-color: var(--accent-berry); color: var(--accent-berry); }
.zone--shuttle { right: 4%; top: 6%; border-color: var(--accent-teal); color: var(--accent-teal); }

.zone:hover,
.zone:focus-visible,
.zone.is-active {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  filter: saturate(1.15);
}
.zone.is-active { outline: 2px solid var(--accent-teal); outline-offset: 2px; }

/* Tooltips / Info */
.tip {
  position: absolute;
  z-index: 5;
  max-width: 240px;
  background: var(--secondary-800);
  color: var(--text-invers);
  font-size: var(--fs-small);
  line-height: 1.4;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  /* Positionierung setzt JS relativ zur Zone */
}
.tip[hidden] { display: none; }
.tip::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -6px;
  width: 12px; height: 12px;
  background: var(--secondary-800);
  transform: rotate(45deg);
}

.lageplan__hint {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin-top: var(--space-5);
}
.lageplan__cta { margin: 0; }

/* =====================================================================
   TICKETS / Status-Badge
   ===================================================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--secondary-800);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin: 0 auto var(--space-5);
}
.status-badge__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-yellow);
}

.cta-disclaimer {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 50ch;
}
.section--center .cta-disclaimer { margin-inline: auto; }

/* =====================================================================
   TICKET-GRID (Besucher-Preise, Iteration 5)
   ===================================================================== */
.ticketgrid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: var(--space-6);
  padding: 0;
  text-align: left;
}
@media (min-width: 760px) {
  .ticketgrid { grid-template-columns: repeat(3, 1fr); }
}

.ticket-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}
.ticket-card__title {
  font-size: var(--fs-h3);
  font-family: var(--font-display);
  margin: 0;
}
.ticket-card__price {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: var(--lh-tight);
  color: var(--primary-700);
  margin: var(--space-2) 0 0;
}
.ticket-card__suffix {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin: 0;
}
.ticket-card__hint {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--secondary-800);
  margin: var(--space-2) 0 0;
}
.ticket-card__cta {
  margin-top: auto;
  align-self: flex-start;
}
.ticket-card__foot {
  margin-top: auto;
}
.ticket-card--featured {
  border-top-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.ticket-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-700);
  color: #fff;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
}

.ticket-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: color-mix(in srgb, var(--secondary) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--secondary) 40%, transparent);
  border-radius: var(--radius);
  color: var(--secondary-800);
}
.ticket-note__icon {
  flex: 0 0 auto;
  color: var(--secondary);
}
.ticket-note__text {
  margin: 0;
  font-weight: var(--fw-semibold);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  position: relative;
  background: var(--secondary-800);
  color: var(--text-invers);
  padding-block: var(--section-y) var(--space-6);
  overflow: hidden;
}
.footer__trees {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 120px;
  pointer-events: none;
}
.footer__inner { position: relative; z-index: 1; }

.footer__brand {
  display: grid;
  gap: var(--space-5);
  align-items: start;
  margin-bottom: var(--space-7);
}
.footer__logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--surface);
  padding: 6px;
}
.footer__title {
  color: var(--text-invers);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
}
.footer__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent-yellow);
  margin-bottom: var(--space-3);
}
.footer__text { color: color-mix(in srgb, var(--text-invers) 88%, transparent); }

.footer__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid color-mix(in srgb, var(--text-invers) 20%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text-invers) 20%, transparent);
}

.footer__bottom {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
}
.footer__signoff {
  font-family: var(--font-display);
  font-style: italic;
  margin: 0;
  color: var(--text-invers);
}
.footer__legal { font-size: var(--fs-small); margin: 0; color: color-mix(in srgb, var(--text-invers) 82%, transparent); }
.footer__legal a { color: var(--accent-yellow); text-underline-offset: 3px; }
.site-footer a:focus-visible { outline-color: var(--accent-yellow); }

/* =====================================================================
   BREAKPOINTS
   ===================================================================== */
@media (min-width: 600px) {
  .hero__actions .btn { flex: 0 1 auto; }
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: minmax(220px, 320px) 1fr;
    text-align: left;
    gap: clamp(2rem, 5vw, 4rem);
  }
  .hero__subline { margin-inline: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__micro { margin-inline: 0; }

  .footer__brand { grid-template-columns: auto 1fr; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .nav-desktop { display: block; }
  .header__cta { display: inline-flex; }
  .header__logo-text { display: inline; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover, .zone:hover, .zone:focus-visible { transform: none; }
  .ticket-modal__dialog { transform: none; }
}

/* =====================================================================
   AUSSTELLER-UNTERSEITE (additiv – nur bestehende Tokens)
   ===================================================================== */

/* aktueller Seiten-Nav-Zustand (analog aria-current="true") */
.nav-link[aria-current="page"] {
  color: var(--primary-700);
  border-bottom-color: var(--primary);
  font-weight: var(--fw-bold);
}

/* Pfeil-Icon für interne CTAs */
.icon-arrow { flex: 0 0 auto; }

/* ---------- Preistabelle ---------- */
.pricetable-wrap {
  margin-top: var(--space-6);
}
.pricetable {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricetable thead th {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-800);
  background: var(--bg-alt);
  text-align: left;
  padding: var(--space-4) var(--space-5);
}
.pricetable tbody th,
.pricetable tbody td {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.pricetable th[scope="row"] {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--text);
}

/* Status-Pills (abgeleitet von .status-badge) */
.stand-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  white-space: nowrap;
}
.stand-status--free {
  background: color-mix(in srgb, var(--secondary) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--secondary) 40%, transparent);
  color: var(--secondary-800);
}
.stand-status--sold {
  background: color-mix(in srgb, var(--accent-berry) 12%, var(--surface));
  border-color: color-mix(in srgb, var(--accent-berry) 40%, transparent);
  color: var(--accent-berry);
}
.stand-status__icon { flex: 0 0 auto; }

/* Vergebene Zeile */
.pricerow--sold { opacity: .85; }
.pricerow--sold .pricerow__size {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

/* ---------- Preistabelle → Karten (Mobile) ---------- */
@media (max-width: 640px) {
  .pricetable {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
    display: block;
  }
  .pricetable thead {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .pricetable tbody { display: block; }
  .pricetable tbody tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
  }
  .pricetable tbody th,
  .pricetable tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-2) 0;
    border-top: 0;
    text-align: right;
  }
  .pricetable tbody th[scope="row"] {
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-2);
  }
  .pricetable tbody td::before {
    content: attr(data-label);
    font-family: var(--font-body);
    font-size: var(--fs-eyebrow);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
  }
  .pricetable tbody th[scope="row"]::before {
    content: attr(data-label);
    font-family: var(--font-body);
    font-size: var(--fs-eyebrow);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
  }
}

/* =====================================================================
   TICKET-AUSWAHL-MODAL (Iteration 6, additiv – nur bestehende Tokens)
   ===================================================================== */

/* No-JS-Fallback: Trigger nur zeigen, wenn JS aktiv */
.no-js [data-ticket-open] { display: none; }

.ticket-modal[hidden] { display: none; }
/* Hintergrund-Scroll sperren, solange das Modal offen ist */
body.has-modal-open { overflow: hidden; }
/* Fallback fuer Browser ohne native inert-Unterstuetzung:
   Zeiger-Interaktion des Hintergrunds unterbinden (Tastatur bleibt via aria-hidden + Focus-Trap gesichert) */
[inert] { pointer-events: none; cursor: default; user-select: none; }
.ticket-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}
.ticket-modal__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--secondary-800) 62%, transparent);
}
.ticket-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 5vw, 2.25rem);
  max-height: calc(100dvh - 2 * var(--gutter));
  overflow: auto;
}
.ticket-modal__eyebrow { padding-right: 48px; }
.ticket-modal__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  margin: 0 0 var(--space-2);
}
.ticket-modal__lead {
  color: var(--text-muted);
  margin: 0 0 var(--space-5);
}
.ticket-modal__options {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ticket-option {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-4) var(--space-5);
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.ticket-option--featured { border-left-color: var(--primary); }
.ticket-option__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ticket-option__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.ticket-option__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-top: var(--space-1);
}
.ticket-option__price {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.25rem;
  color: var(--primary-700);
  white-space: nowrap;
}
.ticket-option__icon {
  flex: 0 0 auto;
  color: var(--text-muted);
}
.ticket-option:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.ticket-option:hover .ticket-option__icon { color: var(--primary-700); }
.ticket-modal__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.ticket-modal__close:hover {
  color: var(--primary-700);
  border-color: var(--primary);
}
.ticket-modal__foot {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin: 0;
}

/* Dezente Einblend-Animation nur, wenn Motion erwünscht */
@media (prefers-reduced-motion: no-preference) {
  .ticket-modal:not([hidden]) .ticket-modal__dialog {
    animation: ticketDialogIn .22s ease both;
  }
  @keyframes ticketDialogIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* =====================================================================
   RECHTLICHE SEITEN (Impressum / AGB, Iteration 6)
   ===================================================================== */
.legal-address {
  font-style: normal;
  font-family: var(--font-body);
  color: var(--text);
  line-height: var(--lh-normal);
  margin: 0 0 var(--space-5);
}
