/*
Theme Name: GeneratePress Child — Alles Holz
Theme URI: https://allesholz.de
Description: Child-Theme für den Alles-Holz-Neuaufbau. Design-System v3 aus dem Handoff (docs/referenz/design-handoff-v3/) — Tokens/Komponenten in assets/css/ah-design.css, Site-Layout hier.
Author: Alles Holz / Eric Zschieschang
Template: generatepress
Version: 0.4.0
Text Domain: allesholz
*/

/* ============================================================
   Fonts: Bricolage Grotesque / Hanken Grotesk
   (Design-Fonts, OFL, selbst gehostet — Entscheidung 2026-07-04)
   Spline Sans Mono bleibt als Datei/Face erhalten (PDF/Alt-Mails),
   wird im Frontend seit v3 aber nicht mehr benutzt.
   ============================================================ */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url(assets/fonts/bricolage-var.woff2) format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+20AC, U+2212;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url(assets/fonts/hanken-var.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+20AC, U+2212;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url(assets/fonts/spline-mono-var.woff2) format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+20AC, U+2212;
}

:root {
  --ah-font-heading: var(--ah-font-head); /* Kompat-Alias */
}

/* ============================================================
   Gürtel + Hosenträger: GP-Customizer-Variablen auf die
   v3-Palette (die Option generate_settings setzt dieselben
   Werte — dieser Block sichert Frisch-Installationen ab).
   ============================================================ */
:root {
  --accent: #4C8324;
  --contrast: #4A3B2C;
  --contrast-2: #5C5348;
  --contrast-3: #7A6E5E;
  --base: #EDE9D0;
  --base-2: #F4EAD4;
  --base-3: #FBF4E4;
}
a { color: #4C8324; }
a:hover, a:focus { color: #2C4F17; }
/* GP-Default-Button-Hover (#3f4047, weiße Schrift) neutralisieren —
   nur für Buttons OHNE ah-*-Klasse (die haben eigene Rezepte) */
button:where(:not([class*="ah-"])):hover {
  background-color: var(--ah-beige);
  color: var(--ah-text);
}

/* ============================================================
   GP-Chrom: Seiten sind Design-Flächen. Der Papier-Grund samt
   Maserung liegt auf <body> (ah-design.css) — Site-Container
   bleiben transparent, damit die Textur durchscheint.
   ============================================================ */
.page .page-header { display: none; }
.page .inside-article { padding: 0; }
.page .site-main { margin: 0; }
.page .site-content { padding: 0; }
.site, .site-content { background: transparent; }
.one-container .container, .container, .inside-article { background: transparent; }
.separate-containers .inside-article,
.separate-containers .site-main > * { box-shadow: none; border: 0; }
.page .entry-content { margin-top: 0; }
html { background: var(--ah-paper); }

/* Sanftes Scrollen zu Ankern (Sticky-Header einrechnen) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#ah-buchung, #besuch, #termine, #stationen { scroll-margin-top: 84px; }

/* Full-Bleed-Bänder */
.ah-bleed {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  border-radius: 0 !important;
}
/* v3: Bänder trennen sich über Farbe/Textur — keine Ink-Border mehr */
.ah-band { border: 0; }

/* Headline-Sicherheitsnetz gegen GP-Defaults: Überschriften = Braun (Marke) */
h1, h2, h3 { font-family: var(--ah-font-head); color: var(--ah-brown); letter-spacing: -.01em; }
.ah-hero h1, .ah-hero h2, .ah-stationen h2,
.ah-cta-card h2, .ah-ws-copy h2, .ah-subhero h1 { color: #FFFDF4; }

/* Fokus global (README: 0 0 0 3px #fff, 0 0 0 6px #74B239) */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: none; box-shadow: var(--ah-focus); border-radius: 8px;
}

/* ============================================================
   HEADER v3: sticky, Papier 92 % + Blur, Text-Nav, Tickets-Pill,
   Burger < 860 px. GPs eigene Mobile-Toggles sind stillgelegt —
   Burger + Panel steuert assets/js/ah-theme.js.
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(244, 234, 212, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ah-line-2);
}
.site-header .inside-header {
  display: flex; align-items: center; gap: 16px;
  max-width: 1200px; margin: 0 auto;
  padding: 12px var(--ah-pad-x);
}
.site-header .site-branding { margin-right: auto; }
.site-header .main-title { margin: 0; line-height: 1; font-size: inherit; }
.site-description { display: none; }

/* GPs Menu-Toggles komplett aus dem Spiel nehmen */
#mobile-menu-control-wrapper,
.site-header button.menu-toggle { display: none !important; }

/* Logo: Holzbuchstaben-Wortmarke (logo-web.png, 640×91) + Kicker
   darunter (Markup aus functions.php). width/height-Attribute liefern
   das Seitenverhältnis — max-height/max-width skalieren proportional,
   damit schmale Screens (Wortmarke + Tickets-Pill + Burger) nicht
   überlaufen und die Sticky-Header-Höhe unter 84px Scroll-Margin bleibt. */
.ah-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; }
.ah-logo-img {
  display: block; width: auto; height: auto;
  max-height: 40px; max-width: min(52vw, 281px);
}
.ah-logo-sub {
  font-family: var(--ah-font-body); font-weight: 700;
  font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase;
  color: #A98F68;
}

/* Desktop-Nav: schlichte Text-Pills (Menüpunkte kommen aus WP) */
.main-navigation { background: transparent; }
.main-navigation .inside-navigation { background: transparent; }
.main-navigation .main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-navigation .main-nav ul li a {
  font-family: var(--ah-font-body); font-weight: 700; font-size: 15px;
  color: #484848;
  padding: 9px 13px; line-height: 1.2;
  border-radius: 999px;
  /* Transition/Bewegung: zentrales Motion-System (ah-design.css) */
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li a:focus {
  background: var(--ah-beige);
  color: var(--ah-text) !important; /* schlägt GPs Nav-Hover var(--accent) */
}
/* Aktiv-Zustand nur für echte Seiten — Anker-Links (custom) bekommen
   auf der Home sonst alle gleichzeitig die Markierung */
.main-navigation .main-nav ul li.current-menu-item:not(.menu-item-object-custom) > a,
.main-navigation .main-nav ul li.current_page_item:not(.menu-item-object-custom) > a {
  background: var(--ah-beige);
  color: var(--ah-brown) !important;
}

/* Tickets-Pill + Burger (Markup aus functions.php, nach der Nav) */
.ah-head-actions { display: flex; align-items: center; gap: 10px; }
.ah-btn.ah-head-tickets { padding: 11px 20px; min-height: 0; font-size: 15px; }
.ah-burger {
  display: none;
  width: 44px; height: 44px; padding: 0; flex: 0 0 auto;
  border-radius: 12px; border: 1px solid #E0D5C3; background: #fff;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.ah-burger span {
  display: block; width: 20px; height: 2.5px;
  background: var(--ah-brown); border-radius: 2px;
  transition: transform .15s, opacity .15s;
}
body.ah-nav-open .ah-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.ah-nav-open .ah-burger span:nth-child(2) { opacity: 0; }
body.ah-nav-open .ah-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobil < 860 px: Burger sichtbar, Nav wird Vollbreiten-Panel */
@media (max-width: 859.98px) {
  .ah-burger { display: flex; }
  .site-header .inside-header {
    flex-direction: row; flex-wrap: nowrap; text-align: left;
    padding: 10px var(--ah-pad-x);
  }
  #site-navigation {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #FCEFE7;
    border-top: 1px solid #EBDFCF;
    border-bottom: 1px solid var(--ah-line-2);
    box-shadow: 0 14px 28px rgba(20, 40, 10, .12);
  }
  body.ah-nav-open #site-navigation { display: block; }
  #site-navigation .inside-navigation { padding: 8px var(--ah-pad-x) 16px; }
  body.ah-nav-open #site-navigation .main-nav { display: block !important; }
  body.ah-nav-open #site-navigation .main-nav > ul {
    display: flex !important; flex-direction: column; gap: 2px;
  }
  #site-navigation .main-nav ul li { width: 100%; }
  .main-navigation .main-nav ul li a {
    display: block; font-size: 17px; padding: 14px 12px; border-radius: 14px;
  }
  .ah-btn.ah-head-tickets { padding: 10px 16px; font-size: 14px; }
}
@media (min-width: 860px) {
  #site-navigation .main-nav > ul { display: flex !important; }
}

/* ============================================================
   HERO v3 (Grün-Verlauf + Holzstreifen + Deko-Kreise)
   Klassen-Kontrakt: .ah-hero > .ah-wrap > .ah-hero-inner >
   .ah-hero-copy / .ah-hero-media
   ============================================================ */
.ah-hero {
  position: relative; overflow: hidden;
  background-color: #57893E;
  background-image:
    repeating-linear-gradient(94deg, rgba(20,40,10,.10) 0 1px, rgba(255,255,255,0) 1px 4px, rgba(255,255,255,.04) 4px 5px, rgba(255,255,255,0) 5px 11px),
    linear-gradient(165deg, #7FBF45 0%, #57893E 62%, #2C4F17 150%);
  padding: clamp(36px, 6vw, 64px) 0 clamp(40px, 5vw, 60px);
}
.ah-hero::before {
  content: ""; position: absolute; top: -90px; right: -70px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .09); pointer-events: none;
}
.ah-hero::after {
  content: ""; position: absolute; bottom: -130px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(44, 79, 23, .28); pointer-events: none;
}
.ah-hero .ah-wrap { position: relative; z-index: 1; }
.ah-hero-inner { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 52px); align-items: center; }
.ah-hero-copy { flex: 1 1 340px; min-width: min(100%, 340px); }
.ah-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ah-font-body); font-weight: 800; font-size: 12px;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--ah-green-dark); background: var(--ah-lime);
  padding: 7px 14px; border-radius: 999px; margin: 0 0 22px;
}
.ah-hero h1 {
  font-family: var(--ah-font-head); font-weight: 700;
  font-size: clamp(38px, 6.4vw, 68px); line-height: 1;
  letter-spacing: -.015em; color: #FFFDF4; margin: 0;
}
.ah-hl {
  display: inline-block; padding: 0 14px 5px;
  background: var(--ah-lime); color: var(--ah-green-dark);
  border-radius: 14px; transform: rotate(-2deg);
}
.ah-hero-lede {
  max-width: 480px; margin: 24px 0 28px;
  font-size: clamp(16px, 2.4vw, 19px); line-height: 1.55; color: #EEF6E1;
}
.ah-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* „Nächster freier Termin"-Pill — [hidden] solange das Kalender-JS
   ([data-ah-next-slot]) noch nichts geliefert hat */
.ah-next-pill {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 253, 244, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; padding: 8px 8px 8px 16px;
  text-decoration: none;
  font-family: var(--ah-font-body); font-weight: 700; font-size: 13.5px;
  color: #F3FAE7;
}
.ah-next-pill:hover { background: rgba(255, 253, 244, .22); color: #F3FAE7; }
.ah-next-pill[hidden] { display: none; }
.ah-next-pill strong { color: #fff; }
.ah-next-pill strong:empty::before { content: "wird geladen …"; font-weight: 600; color: #EEF6E1; }
.ah-next-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto;
  background: var(--ah-lime); box-shadow: 0 0 8px var(--ah-lime);
}
.ah-next-go {
  background: #fff; color: var(--ah-green-dark);
  font-family: var(--ah-font-head); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}

/* Medienkarte rechts (Video/Bild, weicher Schatten, 16:11) */
.ah-hero-media {
  flex: 1 1 380px; min-width: min(100%, 320px);
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--ah-green-dark);
  box-shadow: 0 18px 40px rgba(20, 40, 10, .28);
}
.ah-hero-media video, .ah-hero-media img {
  display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover;
}
.ah-hero-mbadge {
  position: absolute; left: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: #FFFDF4; color: var(--ah-green-dark);
  font-family: var(--ah-font-head); font-weight: 700; font-size: 13px;
  padding: 7px 13px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(20, 40, 10, .25);
}
.ah-hero-mbadge > span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ah-red); flex: 0 0 auto;
}

/* ============================================================
   MARQUEE (braunes Band, 40 s, ahmq)
   ============================================================ */
.ah-marquee {
  background-color: var(--ah-brown-dark);
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 1px, rgba(255,255,255,0) 1px 5px, rgba(255,255,255,.05) 5px 6px, rgba(255,255,255,0) 6px 13px);
  color: #F6E7CF;
  padding: 13px 0; overflow: hidden; white-space: nowrap;
}
.ah-marquee-track { display: inline-flex; align-items: center; animation: ahmq 40s linear infinite; }
.ah-marquee-track b { font-family: var(--ah-font-head); font-weight: 500; font-size: 20px; padding: 0 22px; }
.ah-marquee-track i { font-style: normal; font-size: 16px; }
.ah-marquee-track i:nth-of-type(3n+1) { color: var(--ah-lime); }
.ah-marquee-track i:nth-of-type(3n+2) { color: var(--ah-red); }
.ah-marquee-track i:nth-of-type(3n) { color: #A9CE66; }
@keyframes ahmq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ah-marquee-track { animation: none; } }

/* ============================================================
   SO LÄUFT DEIN BESUCH: Schritt-Karten + Fakt-Kacheln
   ============================================================ */
.ah-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ah-step-card {
  background: #fff; border: 1px solid var(--ah-line);
  border-radius: 22px; padding: 24px 22px;
  box-shadow: var(--ah-shadow-sm);
}
.ah-step-card h3 {
  font-family: var(--ah-font-head); font-weight: 700; font-size: 20px;
  color: var(--ah-brown); margin: 0 0 8px;
}
.ah-step-card p { font-size: 14.5px; line-height: 1.55; color: var(--ah-text-2); margin: 0; }
.ah-step-no {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--ah-font-head); font-weight: 700; font-size: 21px;
  color: #fff; margin-bottom: 16px;
}
.ah-step-no.is-green { background: var(--ah-green); }
.ah-step-no.is-red { background: var(--ah-red); }
.ah-step-no.is-brown { background: var(--ah-brown); }
.ah-step-no.is-lime { background: var(--ah-lime); color: var(--ah-green-dark); }

.ah-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.ah-fact {
  background: var(--ah-beige); border-radius: 16px;
  padding: 15px 18px; display: flex; align-items: center; gap: 13px;
  font-size: 13.5px; line-height: 1.4; color: var(--ah-text-2);
}
.ah-fact strong { color: var(--ah-brown); }
.ah-fact-ic { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }

/* ============================================================
   STATIONEN-BAND (Grün + Streifen) + LANGDOCK-SLIDER + MODAL
   Slider/Modal-Markup kommt aus dem Plugin ([ah_stationen]) —
   hier nur die v3-Optik auf dessen bestehende Klassen.
   ============================================================ */
.ah-stationen {
  background-color: var(--ah-green);
  background-image: repeating-linear-gradient(93deg, rgba(20,40,10,.10) 0 1px, rgba(255,255,255,0) 1px 4px, rgba(255,255,255,.05) 4px 5px, rgba(255,255,255,0) 5px 12px);
  padding: clamp(48px, 7vw, 76px) 0;
}
.ah-stationen .ah-eyebrow { color: var(--ah-green-dark); margin-bottom: 10px; }
.ah-stationen .ah-h2 { color: #FFFDF4; }
.ah-stationen-lede {
  max-width: 560px; font-size: 16px; line-height: 1.55;
  color: #EEF6E1; margin: 14px 0 24px;
}

.ah-langdock {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 6px 0 20px;
  scrollbar-width: thin; scrollbar-color: rgba(44, 79, 23, .35) transparent;
}
.ah-langdock::-webkit-scrollbar { height: 8px; }
.ah-langdock::-webkit-scrollbar-thumb { background: rgba(44, 79, 23, .35); border-radius: 9px; }
.ah-langdock::-webkit-scrollbar-track { background: transparent; }
.ah-langdock-row {
  display: inline-flex; gap: 16px;
  padding-left: max(var(--ah-pad-x), calc(50vw - 600px));
  padding-right: var(--ah-pad-x);
}
.ah-stcard {
  scroll-snap-align: start;
  flex: 0 0 258px; width: 258px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 22px; overflow: hidden;
  padding: 0; text-align: left; cursor: pointer;
  font-family: var(--ah-font-body);
  box-shadow: 0 6px 18px rgba(20, 40, 10, .16);
  transition: transform .16s, box-shadow .16s;
}
.ah-stcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--ah-shadow-hover);
  background: #fff; color: inherit; /* defensiv gegen GP-button:hover */
}
.ah-stcard-media { position: relative; display: block; height: 158px; overflow: hidden; background: var(--ah-beige); }
.ah-stcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-stcard-no {
  position: absolute; left: 12px; bottom: 8px;
  font-family: var(--ah-font-head); font-weight: 700; font-size: 46px; line-height: 1;
  color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
.ah-stcard-count {
  position: absolute; right: 11px; top: 11px;
  font-family: var(--ah-font-body); font-weight: 800; font-size: 10px;
  letter-spacing: .03em; text-transform: uppercase;
  background: rgba(255, 253, 244, .94); color: var(--ah-green-dark);
  padding: 4px 10px; border-radius: 999px;
}
.ah-stcard-body { display: block; padding: 15px 17px 19px; }
.ah-stcard-body b { display: block; font-family: var(--ah-font-head); font-weight: 700; font-size: 19px; color: var(--ah-brown); margin-bottom: 6px; }
.ah-stcard-body span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ah-text-2); }

.ah-stmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(12px, 3vw, 26px); }
.ah-stmodal[hidden] { display: none; } /* hidden-Attribut muss gewinnen */
.ah-stmodal-overlay { position: absolute; inset: 0; background: rgba(27, 20, 11, .66); }
.ah-stmodal-card {
  position: relative; z-index: 1;
  width: min(840px, 100%); max-height: 90vh; overflow-y: auto;
  background: #FFFDF4;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  padding: 24px clamp(18px, 3vw, 26px);
}
.ah-stmodal-card .ah-eyebrow {
  display: inline-block; background: var(--ah-beige); color: var(--ah-brown);
  font-size: 12px; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.ah-stmodal-x {
  position: absolute; top: 16px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #E4DAC8; background: #fff; color: var(--ah-brown);
  cursor: pointer; font-size: 17px;
}
.ah-stmodal-x:hover { background: var(--ah-beige); color: var(--ah-brown); }
.ah-stmodal-text { margin: 10px 0 16px; line-height: 1.6; color: var(--ah-text-2); max-width: 640px; }
.ah-stmodal-img { width: 100%; height: clamp(240px, 42vw, 400px); object-fit: cover; border-radius: 18px; }
.ah-stmodal-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.ah-stmodal-thumb {
  width: 92px; height: 68px; padding: 0; overflow: hidden; cursor: pointer;
  border: 2.5px solid #E4DAC8; border-radius: 12px; background: none;
}
.ah-stmodal-thumb:hover { background: none; }
.ah-stmodal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-stmodal-thumb.is-active { border-color: var(--ah-red); }

/* ============================================================
   WORKSHOPS-BANNER (flaches Braun, Bildhälfte rechts)
   ============================================================ */
.ah-ws-banner {
  background: var(--ah-brown);
  border-radius: 26px; overflow: hidden;
  display: flex; flex-wrap: wrap;
  box-shadow: var(--ah-shadow);
}
.ah-ws-copy { flex: 1 1 340px; padding: clamp(28px, 4vw, 46px); color: #F6E7CF; }
.ah-ws-copy .ah-eyebrow { color: var(--ah-lime); letter-spacing: .12em; margin-bottom: 16px; }
.ah-ws-copy h2 {
  font-family: var(--ah-font-head); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.02;
  color: #FFFDF4; margin: 0 0 14px;
}
.ah-ws-copy p { max-width: 460px; font-size: 16px; line-height: 1.55; color: #EAD5B8; margin: 0 0 24px; }
.ah-ws-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ah-ws-ctas span { font-weight: 700; font-size: 12.5px; color: #D8C0A0; }
.ah-ws-img { flex: 1 1 320px; min-height: 280px; position: relative; }
.ah-ws-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   SPONSOREN (horizontal scrollbar)
   ============================================================ */
.ah-sponsors { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.ah-sp-row { display: flex; gap: 16px; min-width: min-content; padding: 0 var(--ah-pad-x); align-items: stretch; }
.ah-sp-card {
  scroll-snap-align: start; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  min-width: 186px; min-height: 106px;
  background: #fff; border: 1px solid var(--ah-line); border-radius: 18px;
  padding: 20px 26px;
  font-family: var(--ah-font-head); font-weight: 700; font-size: 17px;
  color: var(--ah-brown); text-align: center; text-decoration: none;
  box-shadow: 0 1px 2px rgba(44, 79, 23, .06);
}
.ah-sp-card img { display: block; height: 66px; width: auto; max-width: 220px; object-fit: contain; }
.ah-sp-join {
  scroll-snap-align: start; flex: 0 0 auto;
  display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center;
  background: #FFF4EE; border: 1px dashed #F0B9A6; border-radius: 18px;
  padding: 20px 26px; text-decoration: none;
}
.ah-sp-join span { font-family: var(--ah-font-head); font-weight: 700; font-size: 16px; color: var(--ah-brown); }
.ah-sp-join small { font-weight: 700; font-size: 11px; letter-spacing: .04em; color: var(--ah-red); }
.ah-sp-join:hover { border-color: var(--ah-red); }

/* ============================================================
   BEWERTUNGEN (Kopf + horizontal scrollbare Zitat-Karten)
   ============================================================ */
.ah-reviews-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.ah-review-score { font-family: var(--ah-font-head); font-weight: 700; font-size: 52px; line-height: 1; color: var(--ah-brown); }
.ah-stars { color: var(--ah-star); font-size: 19px; letter-spacing: 2px; }
.ah-stars i { font-style: normal; color: #D8D2C4; } /* grauer Stern */
.ah-reviews-head small { font-weight: 700; font-size: 14px; color: var(--ah-text-3); }
.ah-reviews { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.ah-reviews-row { display: flex; gap: 16px; min-width: min-content; padding: 0 var(--ah-pad-x); }
.ah-review-card {
  scroll-snap-align: start; flex: 0 0 min(88vw, 340px);
  background: #fff; border: 1px solid var(--ah-line); border-radius: 20px;
  padding: 22px; box-shadow: var(--ah-shadow-sm);
}
.ah-review-card .ah-stars { font-size: 13px; letter-spacing: 1px; margin-bottom: 10px; }
.ah-review-card p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: #4C4438; }
.ah-review-card cite { font-style: normal; font-weight: 700; font-size: 11.5px; letter-spacing: .03em; color: #A98F68; }

/* ============================================================
   ANFAHRT + ABSCHLUSS-CTA
   ============================================================ */
.ah-anfahrt { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 44px); align-items: center; }
.ah-anfahrt > div:first-child { flex: 1 1 340px; min-width: min(100%, 300px); }
.ah-anfahrt-img {
  flex: 1 1 340px; min-width: min(100%, 300px);
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--ah-shadow);
}
.ah-anfahrt-img img { display: block; width: 100%; height: clamp(240px, 32vw, 320px); object-fit: cover; }
/* Kompat: Kontakt-Seite nutzt noch .ah-map-grid (Inline-Grid) */
@media (max-width: 720px) { .ah-map-grid { grid-template-columns: 1fr !important; } }

.ah-cta-card {
  background: linear-gradient(150deg, #7FBF45, #2C4F17);
  border-radius: 26px;
  padding: clamp(32px, 5vw, 52px) clamp(24px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  box-shadow: var(--ah-shadow);
}
.ah-cta-card .ah-eyebrow { color: #DFF0BC; margin-bottom: 12px; }
.ah-cta-card h2 {
  font-family: var(--ah-font-head); font-weight: 700;
  font-size: clamp(28px, 4vw, 48px); line-height: 1;
  color: #FFFDF4; margin: 0;
}

/* Sticky-Kontakt-Lasche (rechter Rand) — v3: Papier statt Holzschild */
.ah-phone-tab {
  position: fixed; right: 0; top: 58%; z-index: 80;
  writing-mode: vertical-rl;
  padding: 16px 10px;
  background: #FFFDF4;
  color: var(--ah-brown) !important; text-decoration: none;
  font-family: var(--ah-font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--ah-line-2); border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow: var(--ah-shadow);
}
.ah-phone-tab:hover { padding-right: 14px; color: var(--ah-green-dark) !important; }

/* ============================================================
   FOOTER (v3: #EFE5CC, braune Texte, weiche Trennung) —
   Markup aus functions.php (GPs .site-info ist abgeschaltet).
   ============================================================ */
.ah-footer {
  background: var(--ah-footer); color: var(--ah-text-2);
  padding: clamp(40px, 5vw, 52px) 0 30px;
}
.ah-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--ah-pad-x); }
.ah-footer-row {
  display: flex; flex-wrap: wrap; gap: 30px;
  justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px;
}
.ah-footer-brand { max-width: 320px; }
.ah-footer-brand .ah-logo { margin-bottom: 14px; }
.ah-footer-brand .ah-logo-img { max-height: 30px; max-width: 211px; }
.ah-footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ah-text-3); }
.ah-footer-links, .ah-footer-contact {
  display: flex; flex-direction: column; gap: 10px;
  font-weight: 700; font-size: 14.5px;
}
.ah-footer a { color: var(--ah-text-2); text-decoration: none; }
.ah-footer a:hover { color: var(--ah-brown); }
.ah-footer-contact span { color: #A98F68; font-weight: 600; }
.ah-footer-logos { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ah-footer-logos img { height: 36px; width: auto; display: block; }
.ah-footer-sub {
  border-top: 1px solid #DCCBA4; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
}
.ah-footer-legal { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.ah-footer-legal a { color: #A98F68; font-weight: 600; }
.ah-footer-legal span { color: #A98F68; }
.ah-footer-funding {
  font-weight: 700; font-size: 10.5px;
  letter-spacing: .03em; text-transform: uppercase; color: #B5A588;
}
.site-footer { background: transparent; margin: 0; }

/* ============================================================
   Buchungs-Widget-Feinheiten auf v3 (Karten weich statt Ink)
   ============================================================ */
.ah-widget-day { border: 1px solid var(--ah-line); box-shadow: var(--ah-shadow-sm); background: #fff; }
.ah-dayrow-closed { opacity: .55; }
.ah-widget-pricecard { border: 1px solid var(--ah-line); background: #fff; }

/* Preisband-Karten (Tickets-Seite, bis zu deren v3-Angleich) */
.ah-grid-4 { display: grid; gap: var(--ah-s3); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ah-price-amt {
  display: block;
  font-family: var(--ah-font-head); font-weight: 800; font-size: 34px;
  color: var(--ah-green-dark); line-height: 1; margin-bottom: 6px;
}

/* ============================================================
   „GUT ZU WISSEN"-BAND (Tickets): helle v3-Papierfläche
   (#FBF4E4) mit etwas kräftigerer Holzmaserung statt Dunkelbraun.
   Struktur: weiße Karten für Liste + Führungszeiten-Zeilen.
   Klassen-Kontrakt für die bereinigte Content-Fassung:
   Band  = .ah-knowband  (auf dem .ah-section.ah-bleed-Container)
   Zeile = .ah-timerow   (Führungszeiten rechts)
   ÜBERGANGS-SHIMS: Der Content der Tickets-Seite bringt aktuell
   noch dunkle Inline-Farben mit (background:#4A2E15, Lime-Eyebrows,
   helle H2/Spans — Stellen siehe scripts/setup-content.php,
   Bereinigung macht die Hauptsession). Bis dahin werden sie hier
   per !important + [style*=…]-Selektoren neutralisiert — die als
   „Shim" markierten Regeln sind nach dem Content-Update entfernbar.
   ============================================================ */
:is(.ah-knowband, .ah-section:has(.ah-know)) {
  background-color: var(--ah-paper-light) !important; /* Shim: Inline-#4A2E15 */
  background-image: repeating-linear-gradient(91deg,
    rgba(138, 92, 44, .055) 0 1px, rgba(255, 255, 255, 0) 1px 3px,
    rgba(138, 92, 44, .032) 3px 4px, rgba(255, 255, 255, 0) 4px 8px);
  color: var(--ah-text) !important;                   /* Shim: Inline-#F1E4CE */
  border-top: 1px solid var(--ah-line-2);
  border-bottom: 1px solid var(--ah-line-2);
}
:is(.ah-knowband, .ah-section:has(.ah-know)) .ah-eyebrow {
  color: var(--ah-green-mid) !important;              /* Shim: Inline-Lime */
}
:is(.ah-knowband, .ah-section:has(.ah-know)) .ah-h2 {
  color: var(--ah-brown) !important;                  /* Shim: Inline-#FFF9E6 */
}

/* „Gut zu wissen"-Liste: weiße Karten mit grünem Punkt */
.ah-know { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ah-know li {
  position: relative;
  background: #fff; border: 1px solid var(--ah-line);
  border-radius: var(--ah-r); box-shadow: var(--ah-shadow-sm);
  padding: 14px 16px 14px 38px; line-height: 1.55; font-size: 14.5px;
  color: var(--ah-text-2);
}
.ah-know li::before {
  content: ""; position: absolute; left: 16px; top: 21px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ah-green);
}
.ah-know b { color: var(--ah-brown); }

/* Führungszeiten-Zeilen als weiße Karten (rechts im Band) */
:is(.ah-knowband, .ah-section:has(.ah-know)) :is(.ah-timerow, .ah-map-grid div[style*="border-top"]) {
  background: #fff;
  border: 1px solid var(--ah-line) !important;        /* Shim: Inline-border-top weiß */
  border-radius: var(--ah-r); box-shadow: var(--ah-shadow-sm);
  padding: 13px 16px !important;                      /* Shim: Inline-padding 14px 0 */
  margin-bottom: 10px;
}
:is(.ah-knowband, .ah-section:has(.ah-know)) .ah-map-grid b { color: var(--ah-brown); }
:is(.ah-knowband, .ah-section:has(.ah-know)) .ah-map-grid span[style*="#CDBBA0"] {
  color: var(--ah-text-3) !important;                 /* Shim: gedämpftes Tan → Meta-Braun */
}
:is(.ah-knowband, .ah-section:has(.ah-know)) .ah-map-grid span[style*="--ah-lime"] {
  color: var(--ah-green-mid) !important;              /* Shim: Lime-Zeiten → Grün, lesbar */
  font-weight: 800;
}

/* ============================================================
   UNTERSEITEN-KOPF (Klassen-Kontrakt für den Content):
   grünes Gradient-Band + Lime-Eyebrow-Pill + helle H1 + Lede.
   Einsatz: <div class="ah-subhero ah-bleed"><div class="ah-wrap">…
   ============================================================ */
.ah-subhero {
  background-color: #57893E;
  background-image:
    repeating-linear-gradient(94deg, rgba(20,40,10,.10) 0 1px, rgba(255,255,255,0) 1px 4px, rgba(255,255,255,.04) 4px 5px, rgba(255,255,255,0) 5px 11px),
    linear-gradient(160deg, #7FBF45 0%, #57893E 70%, #2C4F17 140%);
  padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 5vw, 44px);
}
.ah-subhero .ah-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ah-lime); color: var(--ah-green-dark);
  font-family: var(--ah-font-body); font-weight: 800;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 999px;
  margin-bottom: 18px;
}
.ah-subhero h1, .ah-subhero .ah-h1 {
  font-family: var(--ah-font-head); font-weight: 700;
  font-size: clamp(38px, 5vw, 64px); line-height: 1;
  letter-spacing: -.015em; color: #FFFDF4;
  margin: 0;
}
.ah-subhero-lede {
  max-width: 640px; margin: 14px 0 0;
  font-size: 18.5px; line-height: 1.55; color: #EEF6E1;
}

/* ============================================================
   WOOCOMMERCE-OVERRIDES (Warenkorb / Kasse / Danke-Seite)
   Greifen zuverlässig, weil das Child-CSS NACH
   woocommerce-general und generate-style lädt.
   ============================================================ */

/* Sichtbarer Seitenkopf: WC-Seiten behalten die GP-H1 (Filter in
   functions.php) und bekommen einen ordentlichen Container */
.woocommerce-cart .inside-article,
.woocommerce-checkout .inside-article {
  max-width: 1140px; margin: 0 auto;
  padding: 20px var(--ah-pad-x) 72px;
}
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header { display: block; }
.woocommerce-cart h1.entry-title,
.woocommerce-checkout h1.entry-title {
  font-family: var(--ah-font-head); font-weight: 700;
  font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05;
  letter-spacing: -.01em; color: var(--ah-brown);
  margin: 18px 0 22px;
}

/* Sekundär-Buttons: Outline-Pill (z. B. „Zurück zum Shop",
   Gutschein anwenden, Warenkorb aktualisieren) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: #fff; color: #484848;
  border: 2px solid #E0D9CB; border-radius: 999px;
  box-shadow: none;
  font-family: var(--ah-font-head); font-weight: 700;
  padding: .7em 1.4em; line-height: 1.2;
  /* Transition/Bewegung: zentrales Motion-System (ah-design.css) */
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #fff; color: var(--ah-green-dark);
  border-color: var(--ah-green);
}

/* Primär: CTA-Rot NUR für Conversion (Kasse, Kaufen) */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce #payment #place_order,
.woocommerce-checkout #place_order {
  background: var(--ah-red) !important; color: #fff !important;
  border-color: transparent;
  box-shadow: var(--ah-shadow);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce #payment #place_order:hover,
.woocommerce-checkout #place_order:hover {
  background: var(--ah-red-hover) !important; color: #fff !important;
}
.woocommerce a.button.disabled, .woocommerce a.button:disabled,
.woocommerce button.button.disabled, .woocommerce button.button:disabled,
.woocommerce input.button.disabled, .woocommerce input.button:disabled,
.woocommerce a.button.alt.disabled, .woocommerce button.button.alt.disabled {
  background: var(--ah-beige); color: var(--ah-text-3);
  border-color: transparent; box-shadow: none; transform: none;
}

/* Notices: Grün-Tint statt WC-Blau/Lila, Fehler in Rot-Palette */
.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--ah-green);
  background: var(--ah-green-light); color: var(--ah-green-dark);
}
.woocommerce-info::before,
.woocommerce-message::before { color: var(--ah-green-mid); }
.woocommerce-error {
  border-top-color: var(--ah-red);
  background: #FFF0F3; color: var(--ah-pink-dark);
}
.woocommerce-error::before { color: var(--ah-red); }

/* Tabellen als weiche Karten (helle Ränder statt Ink) */
.woocommerce table.shop_table {
  background: #fff;
  border: 1px solid var(--ah-line); border-radius: 22px;
  box-shadow: var(--ah-shadow-sm);
  border-collapse: separate; overflow: hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: var(--ah-line); }
/* Germanized setzt .woocommerce-checkout .shop_table auf #eeeeee */
.woocommerce-checkout .shop_table { background: #fff !important; }

/* Zahlarten-Box (Kasse): warm statt WC-Grau */
.woocommerce-checkout #payment { background: var(--ah-paper-light); border-radius: 14px; }
.woocommerce-checkout #payment div.payment_box { background: var(--ah-beige); color: var(--ah-text); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--ah-beige); }

/* Formularfelder: warmer Fokus-Ring statt GP-Blaugrau */
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
  border-color: var(--ah-green);
  box-shadow: 0 0 0 3px rgba(116, 178, 57, .2);
  background: #fff; outline: none;
}

/* Danke-Seite: große Bestätigung + Bestellübersicht als Karte */
.woocommerce-order .woocommerce-thankyou-order-received {
  font-family: var(--ah-font-head); font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1;
  letter-spacing: -.01em; color: var(--ah-brown);
  margin: 0 0 22px;
}
.woocommerce ul.order_details {
  display: flex; flex-wrap: wrap;
  margin: 0 0 32px; padding: 20px 24px; list-style: none;
  background: #fff;
  border: 1px solid var(--ah-line); border-radius: 22px;
  box-shadow: var(--ah-shadow-sm);
}
.woocommerce ul.order_details li {
  border-right: 1px solid var(--ah-line);
  font-family: var(--ah-font-body); font-weight: 700; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ah-text-3);
}
.woocommerce ul.order_details li:last-of-type { border-right: 0; }
.woocommerce ul.order_details li strong {
  font-family: var(--ah-font-body); font-size: 15px;
  letter-spacing: 0; text-transform: none;
  color: var(--ah-text);
}
