/*
Theme Name: HSW Wesel
Theme URI: https://www.hsw-wesel.de
Author: Historischer Schienenverkehr Wesel e.V.
Author URI: https://www.hsw-wesel.de
Description: Klassisch elegantes Sepia-Theme für den Historischen Schienenverkehr Wesel e.V. — entwickelt für die Vereinswebseite mit Fahrten, Fahrzeugen und News. Eigenes Theme, nicht für andere Nutzung gedacht.
Version: 1.8.25
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.2
License: All rights reserved
License URI:
Text Domain: hsw-wesel
Tags: custom-theme, sepia, museum-railway, accessibility-ready
*/


/* ═══════════════════════════════════════════════════════════
   HSW WESEL — DESIGN SYSTEM
   Klassisch elegant · Sepia · Cormorant Garamond + Inter
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ─── DESIGN TOKENS ─── */
:root {
  /* Farben */
  --bg-paper:      #f4ede2;
  --bg-section:    #ebe0cc;
  --bg-dark:       #2a1810;
  --bg-card:       #ffffff;

  --text-primary:  #2a1810;
  --text-secondary:#4a3020;
  --text-muted:    #7a6a55;
  --text-on-dark:  #f4ede2;

  --accent:        #7a4a20;
  --accent-hover:  #a06030;

  --status-go:     #5a6b3a;  /* Grün-warm */
  --status-warn:   #b8860b;  /* Amber */
  --status-stop:   #8b3a2e;  /* Rot-warm */
  --status-info:   #4a5b6b;

  --line-light:    #e0d4be;
  --line-dark:     #4a3020;

  /* Typografie */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Abstände */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;
  --sp-4xl: 128px;

  /* Layout */
  --max-content: 1280px;
  --content-padding: clamp(20px, 5vw, 64px);
}

body {
  font-family: var(--font-body);
  background: var(--bg-paper);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── PAPIER-TEXTUR (Sepia-Untergrund) ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(120,70,30,.04), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(60,30,10,.05), transparent 50%);
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 2; }

/* ─── TYPOGRAFIE ─── */
.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: .02em;
  margin-bottom: var(--sp-md);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: var(--sp-md);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--text-primary);
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
em.accent { font-style: italic; color: var(--accent); }

p { margin: 0 0 var(--sp-md); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 16px 32px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--text-primary);
  color: var(--text-on-dark);
}
.btn-primary:hover { background: var(--accent); }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}
.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--text-on-dark);
}
.btn-on-dark {
  background: var(--text-on-dark);
  color: var(--text-primary);
}
.btn-on-dark:hover {
  background: var(--accent);
  color: var(--text-on-dark);
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ─── FOKUS (Accessibility) ─── */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 237, 226, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--sp-md) var(--content-padding);
  /* Safe-Area-Insets für iPhone-Notch / Dynamic Island */
  padding-top: max(var(--sp-md), env(safe-area-inset-top));
  padding-left: max(var(--content-padding), env(safe-area-inset-left));
  padding-right: max(var(--content-padding), env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}
.brand {
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--text-primary);
  color: var(--bg-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  font-style: italic;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
}
.brand-text .brand-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  color: var(--accent);
}
.main-nav {
  display: flex;
  gap: var(--sp-xl);
  flex: 1;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}
.header-cta {
  flex-shrink: 0;
}
.header-cta .btn {
  padding: 12px 24px;
  font-size: 12px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--text-primary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px;  }

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  /* Burger immer rechtsbündig, egal wie wenig Inhalt der Header hat */
  .menu-toggle { margin-left: auto; }
}

/* ─── Header auf kleinen Bildschirmen (v1.7.x) ─── */
@media (max-width: 600px) {
  .header-inner {
    gap: var(--sp-md);
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .brand { gap: 10px; }
  .brand-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .brand-text .brand-name { font-size: 16px; line-height: 1.2; }
  .brand-text .brand-sub  { font-size: 11px; }
  .menu-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
}
/* Sehr schmale Geräte: Untertitel kann weg */
@media (max-width: 360px) {
  .brand-text .brand-sub { display: none; }
}

/* ─── Mobile-Navigation: Side-Drawer (v1.7.x) ─── */
@media (max-width: 900px) {
  /* Burger-Button bleibt klickbar, auch wenn Drawer offen */
  .menu-toggle {
    position: relative;
    z-index: 1010;
    transition: border-color .2s ease;
  }
  body.mobile-nav-open .menu-toggle { border-color: var(--accent); }
  body.mobile-nav-open .menu-toggle span { background: transparent; }
  body.mobile-nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
  body.mobile-nav-open .menu-toggle span::after  { top: 0; transform: rotate(-45deg); }
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    transition: transform .25s ease, top .25s ease, background .15s ease;
  }

  /* Backdrop hinter dem Drawer (dunkler Schleier) */
  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(42, 24, 16, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1000;
  }
  body.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer: rechte Spalte, schiebt sich rein */
  body .main-nav {
    display: block !important;   /* Desktop-display:none neutralisieren */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: #f4ede2;
    background: var(--bg-paper);
    z-index: 1005;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 80px 24px 32px;
    box-shadow: -8px 0 24px rgba(42, 24, 16, .15);
    /* Wenn nicht offen: ganz weg (sonst Tab-Fokus möglich auf unsichtbaren Links) */
    visibility: hidden;
  }
  body.mobile-nav-open .main-nav {
    transform: translateX(0);
    visibility: visible;
  }

  /* Menü-Liste im Drawer (linksbündig statt zentriert) */
  body.mobile-nav-open .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  body.mobile-nav-open .main-nav li {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--line-light);
  }
  body.mobile-nav-open .main-nav li:last-child { border-bottom: none; }

  body.mobile-nav-open .main-nav a,
  body.mobile-nav-open .main-nav li > a {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 16px 4px;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
  }
  body.mobile-nav-open .main-nav a:hover,
  body.mobile-nav-open .main-nav a:focus {
    color: var(--accent);
    font-style: italic;
  }
  body.mobile-nav-open .main-nav a.active::after { display: none; }

  /* Untermenü ("Museumsbahn"-Dropdown) im Drawer */
  body.mobile-nav-open .main-nav .sub-menu,
  body.mobile-nav-open .main-nav ul ul {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0 0 4px 16px;
    border-left: 2px solid var(--line-light);
    margin-left: 4px;
    display: block;
    /* Desktop-Dropdown-Eigenschaften neutralisieren */
    position: static;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  body.mobile-nav-open .main-nav .sub-menu li,
  body.mobile-nav-open .main-nav ul ul li {
    border-bottom: none;
  }
  body.mobile-nav-open .main-nav .sub-menu a,
  body.mobile-nav-open .main-nav ul ul a {
    font-size: 16px;
    font-style: italic;
    color: var(--text-secondary);
    padding: 8px 4px;
  }

  /* Tickets-CTA: per JS in den Drawer geschoben, dort als Block im Layout */
  body.mobile-nav-open .main-nav .header-cta {
    display: block;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line-light);
    width: 100%;
  }
  body.mobile-nav-open .main-nav .header-cta .btn,
  body.mobile-nav-open .main-nav .header-cta .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    font-size: 13px;
    text-align: center;
    box-sizing: border-box;
    color: var(--text-on-dark);
    background: var(--text-primary);
  }

  /* Body-Scroll sperren, solange der Drawer offen ist */
  body.mobile-nav-open {
    overflow: hidden;
  }
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg-dark);
  color: var(--bg-paper);
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-md);
}

/* ─── Footer-Grid ─── */
.footer-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  padding-bottom: var(--sp-lg);
  margin-bottom: var(--sp-md);
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Lesbarkeit: alle Texte hell auf dunklem Footer ─── */
.site-footer,
.site-footer p,
.site-footer ul,
.site-footer a,
.site-footer .brand-name,
.site-footer .brand-sub {
  color: var(--bg-paper);
}
.site-footer .brand-name { opacity: 1; }
.site-footer .brand-sub  { opacity: 0.75; }

/* Spalten-Überschriften: hell, im Marken-Stil (Cormorant-Italic) */
.footer-col h3 {
  color: var(--bg-paper);
  opacity: 0.9;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 var(--sp-sm) 0;
  letter-spacing: 0;
  text-transform: none;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 4px; font-size: 14px; }
.footer-col a {
  color: var(--bg-paper);
  opacity: 0.78;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-col a:hover,
.footer-col a:focus-visible { opacity: 1; color: var(--bg-paper); }
.footer-col p {
  color: var(--bg-paper);
  opacity: 0.78;
  margin: 0 0 var(--sp-sm) 0;
  font-size: 13.5px;
  line-height: 1.55;
}
.footer-col .brand { margin-bottom: var(--sp-md); }

/* Newsletter-Formular kompakter */
.footer-col form { margin-bottom: 6px; }
.footer-col form + p {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.65;
  line-height: 1.4;
}

/* ─── Footer-Bottom ─── */
.footer-bottom {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--sp-md) var(--content-padding) 0;
  border-top: 1px solid rgba(244, 237, 226, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  font-size: 12.5px;
  opacity: 0.75;
  color: var(--bg-paper);
}
.footer-bottom a { color: inherit; text-decoration: none; opacity: 1; }
.footer-bottom a:hover { color: var(--bg-paper); opacity: 1; text-decoration: underline; }

/* ─── Social-Media-Icons (Spalte "Folge uns") ─── */
.footer-social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244, 237, 226, 0.08);
  border: 1px solid rgba(244, 237, 226, 0.2);
  color: var(--bg-paper);
  opacity: 1;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social-icons a:hover {
  background: rgba(244, 237, 226, 0.18);
  border-color: rgba(244, 237, 226, 0.5);
  transform: translateY(-2px);
  opacity: 1;
}
.footer-social-icons a:focus-visible {
  outline: 2px solid var(--bg-paper);
  outline-offset: 2px;
}
.footer-social-icons svg {
  width: 17px;
  height: 17px;
}

/* ─── HINWEIS-BANNER ─── */
.notice-bar {
  background: var(--bg-section);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: var(--sp-md) 0;
}
.notice-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.notice-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 18px;
}
.notice-text {
  flex: 1;
  font-size: 15px;
  color: var(--text-secondary);
}
.notice-text strong { color: var(--text-primary); }
.notice-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.notice-link:hover { color: var(--accent-hover); }

/* ─── FAHRT-CARD ─── */
.fahrt-card {
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 1px 0 rgba(42,24,16,.08), 0 8px 24px -12px rgba(42,24,16,.15);
}
.fahrt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(42,24,16,.1), 0 30px 60px -20px rgba(42,24,16,.25);
}
.fahrt-card-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #c8a878, #7a4a20);
  position: relative;
  overflow: hidden;
}
.fahrt-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(42,24,16,.05) 20px, rgba(42,24,16,.05) 21px);
}
.fahrt-card-image-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(42,24,16,.7);
  color: var(--bg-paper);
  padding: 4px 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
}
.fahrt-card-body {
  padding: var(--sp-lg) var(--sp-lg) var(--sp-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fahrt-card-date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: var(--sp-xs);
}
.fahrt-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: var(--sp-sm);
}
.fahrt-card-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: var(--sp-md);
  flex: 1;
}
.fahrt-card-meta {
  display: flex;
  gap: var(--sp-md);
  font-size: 13px;
  color: var(--text-muted);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--line-light);
  margin-bottom: var(--sp-md);
}
.fahrt-card-meta strong { color: var(--text-primary); font-weight: 500; }
.fahrt-card-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.fahrt-card-cta::after {
  content: ' →';
  transition: transform .2s;
  display: inline-block;
}
.fahrt-card:hover .fahrt-card-cta::after { transform: translateX(4px); }

/* Status-Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.status-go    { color: var(--status-go); background: rgba(90,107,58,.1); }
.status-warn  { color: var(--status-warn); background: rgba(184,134,11,.1); }
.status-stop  { color: var(--status-stop); background: rgba(139,58,46,.1); }
.status-info  { color: var(--status-info); background: rgba(74,91,107,.1); }
.status-neutral { color: var(--text-muted); background: rgba(122,106,85,.1); }

/* Variante: Badge sitzt auf einem Foto/dunklem Hintergrund — solider Look statt zarte Hintergrundfärbung */
.status-badge.on-image {
  background: rgba(42, 24, 16, .85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--bg-paper);
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.status-badge.on-image::before {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 1px rgba(244,237,226,.3);
}
.status-badge.on-image.status-go      { background: rgba(40, 60, 25, .9); }
.status-badge.on-image.status-go::before     { background: #8fbf60; }
.status-badge.on-image.status-warn    { background: rgba(95, 65, 5, .9); }
.status-badge.on-image.status-warn::before   { background: #f0c050; }
.status-badge.on-image.status-stop    { background: rgba(95, 30, 22, .9); }
.status-badge.on-image.status-stop::before   { background: #e87060; }
.status-badge.on-image.status-info    { background: rgba(35, 50, 65, .9); }
.status-badge.on-image.status-info::before   { background: #80a8c8; }
.status-badge.on-image.status-neutral { background: rgba(60, 50, 35, .9); }
.status-badge.on-image.status-neutral::before { background: #d4c4a8; }

/* ═══════════════════════════════════════════════════════════
   PHASE 4b — ERWEITERTE KOMPONENTEN
   Für: Fahrten-Übersicht, Fahrzeuge, Über uns, Aktuelles, Kontakt
   ═══════════════════════════════════════════════════════════ */

/* ─── KOMPAKTER HERO (für Übersichtsseiten) ─── */
.hero-compact {
  background: var(--bg-section);
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  border-bottom: 1px solid var(--line-light);
  position: relative;
  overflow: hidden;
}
.hero-compact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(122,74,32,.08), transparent 60%);
}
.hero-compact-inner {
  position: relative;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}
.hero-compact-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.hero-compact-eyebrow::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--accent);
}
.hero-compact-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 var(--sp-md);
}
.hero-compact-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-compact-lead {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.5;
  margin: 0;
}

/* ─── FILTER-LEISTE ─── */
.filter-bar {
  background: var(--bg-paper);
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--line-light);
}
.filter-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: flex;
  gap: var(--sp-xl);
  align-items: center;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  gap: var(--sp-sm);
  align-items: center;
  flex-wrap: wrap;
}
.filter-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-right: var(--sp-sm);
}
.filter-pill {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
  font-family: inherit;
}
.filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-pill.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-paper);
}

/* ─── FAHRZEUG-CARD (groß, 2-Spalten-Raster) ─── */
.fahrzeug-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2xl);
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--sp-3xl) var(--content-padding);
}
@media (max-width: 800px) { .fahrzeug-grid { grid-template-columns: 1fr; gap: var(--sp-xl); } }

.fahrzeug-card {
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 1px 0 rgba(42,24,16,.08), 0 12px 32px -16px rgba(42,24,16,.2);
}
.fahrzeug-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(42,24,16,.1), 0 40px 80px -24px rgba(42,24,16,.3);
}
.fahrzeug-card-image {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c8a878, #7a4a20);
}
.fahrzeug-card-image-img,
.fahrzeug-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.fahrzeug-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 30px, rgba(42,24,16,.05) 30px, rgba(42,24,16,.05) 31px);
  pointer-events: none;
  z-index: 1;
}
.fahrzeug-card-status {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  z-index: 2;
}
.fahrzeug-card-body {
  padding: var(--sp-xl);
}
.fahrzeug-card-type {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 4px;
}
.fahrzeug-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  margin: 0 0 var(--sp-xs);
}
.fahrzeug-card-nickname {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--text-secondary);
  margin: 0 0 var(--sp-md);
}
.fahrzeug-card-facts {
  display: flex;
  gap: var(--sp-lg);
  font-size: 14px;
  color: var(--text-muted);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--line-light);
}
.fahrzeug-card-facts strong { color: var(--text-primary); font-weight: 500; }

/* ─── FAHRZEUG-DETAIL: Spezifische Komponenten ─── */
.tech-data {
  background: var(--bg-section);
  padding: var(--sp-xl);
  border-left: 3px solid var(--accent);
}
.tech-data h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 var(--sp-md);
}
.tech-data dl {
  margin: 0;
  display: grid;
  gap: var(--sp-sm);
}
.tech-data dt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 2px;
}
.tech-data dd {
  margin: 0 0 var(--sp-sm) 0;
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--line-light);
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}
.tech-data dd:last-child { border-bottom: none; padding-bottom: 0; }

/* Galerie / Lightbox-Ready */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .2s;
}
.gallery-item:hover { opacity: .85; }
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(42,24,16,.05) 20px, rgba(42,24,16,.05) 21px);
}
.gallery-item:nth-child(3n+1) { background: linear-gradient(135deg, #c8a878, #7a4a20); }
.gallery-item:nth-child(3n+2) { background: linear-gradient(135deg, #a08866, #4a3020); }
.gallery-item:nth-child(3n+3) { background: linear-gradient(135deg, #b89868, #5a3a20); }

/* ─── ZEITSTRAHL (Über uns) ─── */
.timeline {
  position: relative;
  padding-left: 32px;
  margin: var(--sp-xl) 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: var(--accent);
  opacity: .3;
}
.timeline-item {
  position: relative;
  padding-bottom: var(--sp-2xl);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 2px solid var(--accent);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1;
}
.timeline-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 var(--sp-sm);
}
.timeline-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}

/* ─── ZAHLEN-BLOCK (Über uns) ─── */
.stats-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2xl);
  padding: var(--sp-2xl) 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin: var(--sp-2xl) 0;
}
@media (max-width: 700px) { .stats-block { grid-template-columns: 1fr; gap: var(--sp-lg); } }
.stat-item { text-align: left; }
.stat-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--sp-xs);
}
.stat-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-secondary);
}

/* ─── NEWS-CARD (Aktuelles) ─── */
.news-list {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--content-padding);
}
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: var(--sp-xl);
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--line-light);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: padding .2s;
}
.news-item:first-child { border-top: 1px solid var(--line-light); }
.news-item:hover { padding-left: var(--sp-md); }
@media (max-width: 700px) {
  .news-item { grid-template-columns: 1fr; gap: var(--sp-sm); padding: var(--sp-lg) 0; }
  .news-item:hover { padding-left: 0; }
}
.news-date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  line-height: 1.3;
}
.news-date small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
}
.news-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 var(--sp-sm);
  line-height: 1.2;
}
.news-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}
.news-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 4px;
}

/* ─── KONTAKT-FORMULAR ─── */
.contact-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--sp-3xl) var(--content-padding);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-2xl);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  margin: 0 0 var(--sp-lg);
}
.contact-info p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.contact-info dl { margin: var(--sp-xl) 0; }
.contact-info dt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-top: var(--sp-md);
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
}
.contact-info dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-light); }
.contact-info dd a:hover { color: var(--accent); border-color: var(--accent); }

.contact-purposes {
  background: var(--bg-section);
  padding: var(--sp-lg);
  margin-top: var(--sp-xl);
  border-left: 3px solid var(--accent);
}
.contact-purposes h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 var(--sp-sm);
}
.contact-purposes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-secondary);
  display: grid;
  gap: 6px;
}
.contact-purposes li::before { content: '◦  '; color: var(--accent); }

/* Form */
.contact-form {
  background: var(--bg-card);
  padding: var(--sp-xl);
  border-top: 3px solid var(--accent);
  box-shadow: 0 1px 0 rgba(42,24,16,.08), 0 12px 32px -16px rgba(42,24,16,.15);
}
.contact-form h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 var(--sp-lg);
}
.form-group { margin-bottom: var(--sp-md); }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 4px;
}
.form-group label .required { color: var(--status-stop); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-paper);
  border: 1px solid var(--line-light);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color .2s, background .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-checkbox {
  display: flex;
  gap: var(--sp-sm);
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--sp-md);
}
.form-checkbox input { margin-top: 4px; flex-shrink: 0; }
.form-checkbox a { color: var(--accent); }

/* Honeypot (versteckt für Menschen, sichtbar für Bots) */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-submit {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ─── ÜBER-UNS-LAYOUT ─── */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--content-padding);
}
.about-content .lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text-primary);
  line-height: 1.5;
  max-width: 65ch;
  margin: 0 0 var(--sp-2xl);
}
.about-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 44px);
  margin: var(--sp-2xl) 0 var(--sp-md);
  letter-spacing: -.01em;
}
.about-content h2:first-of-type { margin-top: 0; }
.about-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--sp-md);
  max-width: 65ch;
}

/* CTA-Block am Ende von Seiten */
.cta-block {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--sp-3xl) 0;
  text-align: center;
}
.cta-block-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--content-padding);
}
.cta-block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--bg-paper);
  margin: 0 0 var(--sp-md);
  line-height: 1.05;
}
.cta-block h2 em { font-style: italic; color: #d4a878; font-weight: 400; }
.cta-block p {
  color: rgba(244,237,226,.85);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 var(--sp-lg);
}


/* ═══════════════════════════════════════════════════════════
   PHASE 5.2 — TEMPLATE-INTEGRATIONS-ANPASSUNGEN
   ═══════════════════════════════════════════════════════════ */

/* Hero-Bild auf Detail-Hero einblenden, wenn Beitragsbild da */
.detail-hero-bg img,
.detail-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.detail-hero-bg::before,
.detail-hero-bg::after {
	z-index: 1;
}

/* Fahrt-Card mit echtem Beitragsbild */
.fahrt-card-image-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.fahrt-card-image {
	position: relative;
	overflow: hidden;
}
.fahrt-card-image-label {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 2;
}

/* Fahrt-Card: vergangene Fahrten leicht gedämpft */
.fahrt-card.is-past {
	opacity: .7;
}
.fahrt-card.is-past .fahrt-card-cta {
	color: var(--text-muted);
}
.fahrt-card.is-past:hover {
	opacity: 1;
}

/* Skip-Link für Tastatur-Nutzer (screen-reader-text Standard) */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
	background: var(--bg-paper);
	clip: auto !important;
	clip-path: none;
	color: var(--text-primary);
	display: block;
	font-weight: 600;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* WordPress-Block-Editor — Bilder im Editor-Inhalt schöner */
.prose img {
	margin: var(--sp-lg) 0;
	max-width: 100%;
	height: auto;
}
.prose figure {
	margin: var(--sp-lg) 0;
}
.prose figure.wp-block-image figcaption {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 14px;
	color: var(--text-muted);
	text-align: center;
	margin-top: var(--sp-sm);
}

/* WordPress-Pagination */
.nav-links {
	display: flex;
	justify-content: center;
	gap: var(--sp-sm);
	margin: var(--sp-2xl) 0;
}
.nav-links .page-numbers {
	padding: 8px 14px;
	text-decoration: none;
	color: var(--text-primary);
	border: 1px solid var(--line-light);
	transition: all .2s;
}
.nav-links .page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent);
}
.nav-links .page-numbers.current {
	background: var(--text-primary);
	color: var(--bg-paper);
	border-color: var(--text-primary);
}



/* ═══════════════════════════════════════════════════════════
   PHASE 5.2 FIX — VERGESSENE STARTSEITEN- & DETAIL-STYLES
   Diese Styles waren im Prototyp inline und wurden bei der
   Theme-Migration übersehen. Hier nachträglich integriert.
   ═══════════════════════════════════════════════════════════ */

/* ═══ STARTSEITEN-SPEZIFISCHES CSS ═══ */

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--sp-3xl) 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #8a5a30 0%, #4a2818 50%, #2a1810 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Gleise-Eindruck */
    repeating-linear-gradient(90deg, transparent 0, transparent 60px, rgba(42,24,16,.3) 60px, rgba(42,24,16,.3) 64px),
    /* Atmosphäre */
    radial-gradient(circle at 30% 70%, rgba(244,237,226,.1), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(122,74,32,.4), transparent 70%);
  opacity: .6;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .1 0 0 0 0 .05 0 0 0 .25 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5;
  mix-blend-mode: multiply;
}

/* ───── Hero mit Custom-Bild (Customizer) ───── */
.hero.has-image .hero-bg {
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position kommt aus inline-style (Customizer) */
}
.hero.has-image .hero-bg::before {
  background:
    linear-gradient(135deg, rgba(74,40,24,.55) 0%, rgba(42,24,16,.7) 100%),
    radial-gradient(circle at 30% 70%, rgba(244,237,226,.08), transparent 60%);
  opacity: 1;
}
.hero.has-image .hero-bg::after {
  opacity: .25;
}

/* ───── Hero-Video ───── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
/* Wenn Video da ist, liegt es zwischen Bild-Hintergrund und Overlay.
   Das ::before des hero-bg wandert via z-index drüber → Lesbarkeit. */
.hero.has-video .hero-bg {
  z-index: 1; /* Container mit Overlay über Video */
  pointer-events: none;
  background: none; /* kein doppelter Sepia-Gradient unter Video */
}
.hero.has-video .hero-bg::before {
  background:
    linear-gradient(135deg, rgba(74,40,24,.45) 0%, rgba(42,24,16,.6) 100%);
  opacity: 1;
}
.hero.has-video .hero-bg::after {
  opacity: .15; /* Rauschen sehr dezent über Video */
}
.hero.has-video .hero-content {
  position: relative;
  z-index: 2; /* Text über allem */
}

/* ───── Bewegungsreduzierung respektieren ───── */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  /* Falls Bild gesetzt ist, übernimmt das automatisch (hero-bg bleibt sichtbar).
     Falls nur Video ohne Bild gesetzt wurde, fällt der Sepia-Gradient zurück. */
}

/* ───── Mobile: Video schonen (Datenvolumen!) ───── */
@media (max-width: 768px) {
  .hero-video {
    display: none; /* Auf Handy nur das Standbild zeigen */
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: #d4a878;
  margin-bottom: var(--sp-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.hero-eyebrow::before {
  content: '';
  width: 60px;
  height: 1px;
  background: #d4a878;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 128px);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--bg-paper);
  margin: 0 0 var(--sp-xl);
  max-width: 900px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #d4a878;
}
.hero-lead {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  max-width: 580px;
  color: rgba(244,237,226,.85);
  margin-bottom: var(--sp-xl);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-md); }
.hero-actions .btn-primary {
  background: var(--bg-paper);
  color: var(--text-primary);
}
.hero-actions .btn-primary:hover {
  background: #d4a878;
  color: var(--text-primary);
}
.hero-actions .btn-secondary {
  border-color: rgba(244,237,226,.4);
  color: var(--bg-paper);
}
.hero-actions .btn-secondary:hover {
  background: rgba(244,237,226,.1);
  border-color: var(--bg-paper);
}

/* Sektion „Nächste Fahrten" */
.section {
  padding: var(--sp-4xl) 0;
}
.section-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}
.section-header {
  margin-bottom: var(--sp-2xl);
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  margin: 0;
  letter-spacing: -.01em;
}
.section-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.section-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.section-link::after {
  content: ' →';
  transition: transform .2s;
  display: inline-block;
}
.section-link:hover::after { transform: translateX(4px); }

.fahrten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
@media (max-width: 900px) { .fahrten-grid { grid-template-columns: 1fr; } }

/* Variante der Card-Bilder mit unterschiedlichen Farbverläufen */
.fahrt-card:nth-child(1) .fahrt-card-image { background: linear-gradient(135deg, #c8a878, #7a4a20); }
.fahrt-card:nth-child(2) .fahrt-card-image { background: linear-gradient(135deg, #a08866, #4a3020); }
.fahrt-card:nth-child(3) .fahrt-card-image { background: linear-gradient(135deg, #b89868, #5a3a20); }

/* Spenden-Banner */
.spenden-section {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--sp-4xl) 0;
  position: relative;
  overflow: hidden;
}
.spenden-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(122,74,32,.3), transparent 60%);
}
.spenden-inner {
  position: relative;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (max-width: 900px) {
  .spenden-inner { grid-template-columns: 1fr; }
}
.spenden-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: #d4a878;
  margin-bottom: var(--sp-md);
}
.spenden-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 var(--sp-lg);
  color: var(--bg-paper);
}
.spenden-title em { font-style: italic; color: #d4a878; font-weight: 400; }
.spenden-text {
  color: rgba(244,237,226,.85);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}
.spenden-cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.spenden-stats {
  background: rgba(244,237,226,.08);
  padding: var(--sp-lg);
  border: 1px solid rgba(244,237,226,.15);
}
.spenden-stat-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: #d4a878;
  margin-bottom: 4px;
}
.spenden-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--bg-paper);
}
.spenden-stat-value small {
  font-size: 14px;
  font-weight: 400;
  opacity: .7;
}

/* ─── Fahrt-Detail-spezifisch ─── */
/* ═══ FAHRT-DETAIL-SEITE CSS ═══ */

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-section);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--line-light);
}
.breadcrumb-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-inner a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner .sep { margin: 0 8px; opacity: .5; }
.breadcrumb-inner .current { color: var(--text-primary); font-weight: 500; }

/* Hero */
.detail-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: end;
  padding: var(--sp-3xl) 0;
  overflow: hidden;
}
.detail-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8a878, #7a4a20 60%, #2a1810);
  z-index: 0;
}
.detail-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 30px, rgba(42,24,16,.08) 30px, rgba(42,24,16,.08) 31px),
    radial-gradient(circle at 70% 30%, rgba(244,237,226,.15), transparent 60%);
}
.detail-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .1 0 0 0 0 .05 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5;
  mix-blend-mode: multiply;
}
.detail-hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,24,16,.85) 0%, transparent 60%);
}
.detail-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  width: 100%;
}
.detail-hero-meta {
  display: flex;
  gap: var(--sp-md);
  align-items: center;
  margin-bottom: var(--sp-md);
}
.detail-hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: #d4a878;
}
.detail-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 88px);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--bg-paper);
  margin: 0 0 var(--sp-md);
  max-width: 900px;
}
.detail-hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: rgba(244,237,226,.85);
  max-width: 600px;
  margin: 0;
}

/* Fact-Leiste */
.fact-bar {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--line-light);
  padding: var(--sp-xl) 0;
  position: sticky;
  top: 73px;
  z-index: 40;
  backdrop-filter: blur(10px);
}
.fact-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
}
@media (max-width: 700px) {
  .fact-bar { position: static; }
  .fact-inner { grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
}
.fact {
  position: relative;
}
.fact:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(var(--sp-xl) / -2);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-light);
}
@media (max-width: 700px) {
  .fact:not(:last-child)::after { display: none; }
}
.fact-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.fact-value {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
}
.fact-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hauptinhalt zweispaltig */
.detail-main {
  padding: var(--sp-3xl) 0;
}
.detail-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }

/* Linke Spalte */
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-lg);
  letter-spacing: -.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--sp-md);
  max-width: 65ch;
}
.prose p.lead {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: var(--sp-xl);
}

/* Highlights */
.highlights {
  background: var(--bg-section);
  padding: var(--sp-xl);
  margin: var(--sp-2xl) 0;
  border-left: 3px solid var(--accent);
}
.highlights h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 var(--sp-md);
}
.highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-sm);
}
.highlights li {
  display: flex;
  gap: var(--sp-md);
  align-items: start;
  font-size: 16px;
  color: var(--text-secondary);
}
.highlights li::before {
  content: '◦';
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

/* Eingesetzte Fahrzeuge */
.fahrzeuge-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}
@media (max-width: 600px) {
  .fahrzeuge-mini { grid-template-columns: 1fr; }
}
.fahrzeug-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  padding: var(--sp-md);
  display: flex;
  gap: var(--sp-md);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.fahrzeug-mini-card:hover { border-color: var(--accent); }
.fahrzeug-mini-card .fahrzeug-mini-image {
  width: 80px !important;
  height: 80px !important;
  flex-shrink: 0;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}
.fahrzeug-mini-card .fahrzeug-mini-image img,
.fahrzeug-mini-card .fahrzeug-mini-image img.attachment-hsw-thumb,
.fahrzeug-mini-card .fahrzeug-mini-image img.size-hsw-thumb {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.fahrzeug-mini-card .fahrzeug-mini-image::before {
  display: none;
}
.fahrzeug-mini-info { flex: 1; }
.fahrzeug-mini-type {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
}
.fahrzeug-mini-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}
.fahrzeug-mini-status {
  font-size: 12px;
  color: var(--text-muted);
}

/* Rechte Spalte: Sticky Buchungsbox */
.booking-box {
  position: sticky;
  top: calc(73px + var(--sp-xl));
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
  padding: var(--sp-xl);
  box-shadow: 0 1px 0 rgba(42,24,16,.08), 0 30px 60px -20px rgba(42,24,16,.2);
}
@media (max-width: 900px) { .booking-box { position: static; } }
.booking-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 4px;
}
.booking-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 var(--sp-lg);
  line-height: 1.1;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-lg);
}
.price-table tr { border-bottom: 1px solid var(--line-light); }
.price-table tr:last-child { border-bottom: none; }
.price-table td {
  padding: var(--sp-sm) 0;
  font-size: 15px;
}
.price-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
}
.price-table .free {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
}
.booking-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: var(--sp-md);
}
.booking-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: var(--sp-md);
  background: var(--bg-section);
  margin-bottom: var(--sp-md);
}
.booking-info strong { color: var(--text-secondary); }
.booking-secondary {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  padding: var(--sp-sm);
}
.booking-secondary:hover { text-decoration: underline; }
.booking-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--line-light);
  line-height: 1.5;
}

/* Strecken-Sektion */
.strecke-section {
  background: var(--bg-section);
  padding: var(--sp-3xl) 0;
}
.strecke-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (max-width: 900px) { .strecke-inner { grid-template-columns: 1fr; } }
.strecke-text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  margin: 0 0 var(--sp-md);
}
.strecke-text p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.strecke-map-placeholder {
  aspect-ratio: 16 / 10;
  background: var(--bg-paper);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-xl);
  position: relative;
}
.strecke-map-placeholder::before {
  content: '';
  position: absolute;
  inset: var(--sp-md);
  background: 
    repeating-linear-gradient(0deg, var(--line-light) 0, var(--line-light) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, var(--line-light) 0, var(--line-light) 1px, transparent 1px, transparent 60px);
  opacity: .5;
}
.strecke-stations {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-family: var(--font-display);
  flex-wrap: wrap;
  justify-content: center;
}
.strecke-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.strecke-station-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-paper);
  box-shadow: 0 0 0 1px var(--accent);
}
.strecke-station-name { font-size: 14px; font-weight: 600; }
.strecke-arrow { color: var(--accent); font-size: 20px; }
.strecke-load-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--sp-md);
  font-style: italic;
}

/* FAQ */
.faq-section { padding: var(--sp-3xl) 0; }
.faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--content-padding);
}
.faq-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  margin: 0 0 var(--sp-xl);
}
.faq-item {
  border-top: 1px solid var(--line-light);
}
.faq-item:last-child { border-bottom: 1px solid var(--line-light); }
/* faq-summary: siehe Block ab Zeile ~2463 */
.faq-content {
  padding: 0 0 var(--sp-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 65ch;
}

/* Cross-Selling */
.related-section {
  background: var(--bg-section);
  padding: var(--sp-3xl) 0;
}
.related-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}
.related-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  margin-bottom: var(--sp-xl);
}
.related-section h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }

/* Header-Höhe Fix für Sticky-Berechnung */
.site-header { height: 73px; }
@media (max-width: 600px) { .site-header { height: auto; } }


/* ═══════════════════════════════════════════════════════════
   PHASE 5.3 — TEMPLATES FÜR FAHRZEUGE, AKTUELLES, SEITEN
   ═══════════════════════════════════════════════════════════ */

/* ─── Fahrzeug-Card mit echtem Bild ─── */
.fahrzeug-card-image-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.fahrzeug-card-image {
	position: relative;
	overflow: hidden;
}

/* ─── Galerie-Grid für Fahrzeug-Details ─── */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--sp-md);
}
.gallery-item {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--bg-card);
	transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover {
	transform: scale(1.02);
	box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.gallery-item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ─── Aktuelles-Liste ─── */
.aktuell-liste {
	display: flex;
	flex-direction: column;
	gap: var(--sp-xl);
}
.aktuell-item {
	padding: var(--sp-xl) 0;
	border-bottom: 1px solid var(--line-light);
}
.aktuell-item:last-child {
	border-bottom: 0;
}
.aktuell-item.is-very-important {
	background: linear-gradient(to right, rgba(184,134,11,.08), transparent);
	border-left: 3px solid var(--status-warn);
	padding-left: var(--sp-lg);
	margin-left: calc(-1 * var(--sp-lg));
	margin-right: calc(-1 * var(--sp-lg));
	padding-right: var(--sp-lg);
}
.aktuell-item.is-important {
	border-left: 3px solid var(--accent);
	padding-left: var(--sp-lg);
	margin-left: calc(-1 * var(--sp-lg));
}
.aktuell-meta {
	display: flex;
	align-items: center;
	gap: var(--sp-md);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--text-muted);
	margin-bottom: var(--sp-sm);
}
.aktuell-typ {
	padding: 2px 10px;
	background: var(--bg-card);
	border: 1px solid var(--line-light);
	font-size: 11px;
}
.aktuell-title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 600;
	margin: 0 0 var(--sp-sm);
	line-height: 1.2;
}
.aktuell-title a {
	color: var(--text-primary);
	text-decoration: none;
}
.aktuell-title a:hover {
	color: var(--accent);
}
.aktuell-excerpt {
	font-family: var(--font-body);
	color: var(--text-secondary);
	margin: 0 0 var(--sp-sm);
}
.aktuell-link {
	color: var(--accent);
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .05em;
	text-decoration: none;
}

/* ─── FAQ-Akkordeon (verwendet auf Kontaktseite) ─── */
.faq-summary {
	margin-bottom: var(--sp-md);
	padding: var(--sp-md) var(--sp-lg);
	background: var(--bg-paper);
	border-left: 2px solid var(--line-light);
	transition: border-color .2s;
}
.faq-summary[open] {
	border-left-color: var(--accent);
}
.faq-summary summary {
	cursor: pointer;
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 500;
	color: var(--text-primary);
	list-style: none;
	position: relative;
	padding-right: 30px;
}
.faq-summary summary::-webkit-details-marker {
	display: none;
}
.faq-summary summary::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 0;
	color: var(--accent);
	font-size: 24px;
	font-weight: 300;
	transition: transform .2s;
}
.faq-summary[open] summary::after {
	transform: rotate(45deg);
}
.faq-summary p {
	margin: var(--sp-md) 0 0;
	font-family: var(--font-body);
	color: var(--text-secondary);
	line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════
   v1.4.0 — TERMINÜBERSICHT (Saison-Liste mit Ampel-Status)
   Inspiration: Selfkantbahn-Übersicht, aber in unserem Sepia-Stil.
   ═══════════════════════════════════════════════════════════ */

.termin-liste {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(42,24,16,.04);
}

.termin-liste-header {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: var(--sp-md);
  align-items: center;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--bg-section);
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.termin-liste-header > :first-child { text-align: center; }

.termin-zeile {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: var(--sp-md);
  align-items: center;
  padding: var(--sp-lg);
  border-bottom: 1px solid var(--line-light);
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
  position: relative;
}
.termin-zeile:last-child { border-bottom: none; }
.termin-zeile:hover { background: var(--bg-paper); }
.termin-zeile.is-past { opacity: .55; pointer-events: none; }

.termin-zeile-status {
  display: flex;
  justify-content: center;
}

.termin-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-muted);
  box-shadow: 0 0 0 3px var(--bg-card), inset 0 0 0 1px rgba(0,0,0,.08);
  flex-shrink: 0;
}
.termin-dot.dot-go      { background: var(--status-go); }
.termin-dot.dot-warn    { background: var(--status-warn); }
.termin-dot.dot-stop    { background: var(--status-stop); }
.termin-dot.dot-info    { background: var(--status-info); }
.termin-dot.dot-neutral { background: var(--text-muted); }
.termin-zeile:hover .termin-dot {
  box-shadow: 0 0 0 3px var(--bg-paper), inset 0 0 0 1px rgba(0,0,0,.08);
}

.termin-zeile-haupt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.termin-datum {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.termin-titel {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.termin-titel em {
  font-style: italic;
  color: var(--accent);
}

.termin-zeile-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.termin-zeile:hover .termin-zeile-cta {
  background: var(--accent-hover);
  transform: translateX(2px);
}
.termin-zeile-cta::after {
  content: '→';
  font-weight: 400;
  font-size: 14px;
}

/* Status-Labels in gleicher Größe/Form wie der echte Buchen-Button (v1.6.1),
   aber klar als nicht-klickbar erkennbar (gedämpfte Farben, kein Hover). */
.termin-zeile-hinweis {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 10px 18px;            /* identisch zu .termin-zeile-cta */
  font-family: var(--font-body);
  font-size: 13px;              /* identisch zu .termin-zeile-cta */
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  background: var(--bg-section);
  border-radius: 2px;
  white-space: nowrap;
}
.termin-zeile-hinweis.hinweis-stop {
  color: var(--status-stop);
  background: rgba(139,58,46,.10);
}
.termin-zeile-hinweis.hinweis-info {
  color: var(--status-info);
  background: rgba(74,91,107,.10);
}

/* Legende unter der Tabelle */
.termin-legende {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--bg-paper);
  border-top: 1px solid var(--line-light);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}
.termin-legende-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
}
.termin-legende-item .termin-dot {
  width: 10px;
  height: 10px;
  box-shadow: none;
}

/* Mobile: zweispaltig (Datum oben, CTA unten) */
@media (max-width: 640px) {
  .termin-liste-header {
    display: none;
  }
  .termin-zeile {
    grid-template-columns: 28px 1fr;
    gap: var(--sp-sm) var(--sp-md);
    padding: var(--sp-md);
  }
  .termin-zeile-cta,
  .termin-zeile-hinweis {
    grid-column: 2;
    justify-self: start;
    margin-top: var(--sp-xs);
  }
  .termin-datum { font-size: 18px; }
  .termin-titel { white-space: normal; }
  .termin-dot { width: 12px; height: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   v1.4.0 — POLISH-FIXES
   ═══════════════════════════════════════════════════════════ */

/* Navigation: Umbrüche verhindern bei längeren Menüpunkten */
.main-nav a,
.main-nav .menu-item > a {
  white-space: nowrap;
}

/* Dropdown-Submenu für "Museumsbahn" */
.main-nav .menu-item-has-children {
  position: relative;
}
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: var(--sp-sm) 0;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  box-shadow: 0 8px 24px rgba(42,24,16,.12);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 100;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu li { display: block; }
.main-nav .sub-menu a {
  display: block;
  padding: var(--sp-sm) var(--sp-lg);
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  border-bottom: none;
}
.main-nav .sub-menu a:hover {
  background: var(--bg-paper);
  color: var(--accent);
}

/* RUHR.TOPCARD: prominenter darstellen als eigenständige Karte */
.topcard-card {
  position: relative;
}
.topcard-card::before {
  content: 'KOSTENLOS';
  position: absolute;
  top: -10px;
  right: var(--sp-lg);
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(42,24,16,.15);
}
.topcard-card .fahrt-card-title {
  font-family: var(--font-display);
}

/* Auf Mobile: Dropdown wird im Hamburger-Menü aufgeklappt dargestellt */
@media (max-width: 900px) {
  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: var(--sp-lg);
  }
}

/* ═══════════════════════════════════════════════════════════
   v1.4.0 — RUHR.TOPCARD Komponenten
   ═══════════════════════════════════════════════════════════ */

/* Hinweis-Block auf Fahrt-Detailseite (im prose-Bereich) */
.topcard-hinweis {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-lg);
  align-items: start;
  margin: var(--sp-xl) 0;
  padding: var(--sp-lg) var(--sp-xl);
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-top: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.topcard-hinweis-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 2px;
}
.topcard-hinweis-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.topcard-hinweis-body strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: var(--sp-xs);
  font-size: 16px;
}
.topcard-hinweis-link {
  display: inline-block;
  margin-top: var(--sp-sm);
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}
.topcard-hinweis-link:hover {
  color: var(--accent-hover);
}
@media (max-width: 600px) {
  .topcard-hinweis { grid-template-columns: 1fr; gap: var(--sp-sm); }
}

/* Sektion auf der Startseite */
.topcard-section {
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-paper) 100%);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: var(--sp-3xl) var(--content-padding);
  position: relative;
  overflow: hidden;
}
.topcard-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(122,74,32,.025) 40px, rgba(122,74,32,.025) 41px);
  pointer-events: none;
}
.topcard-section-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.topcard-section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  border-radius: 2px;
  margin-bottom: var(--sp-lg);
  box-shadow: 0 2px 8px rgba(122,74,32,.25);
}
.topcard-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 var(--sp-lg);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.topcard-section-title em {
  font-style: italic;
  color: var(--accent);
}
.topcard-section-lead {
  max-width: 650px;
  margin: 0 auto var(--sp-xl);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.topcard-section-actions {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   v1.4.0 — BUCHUNGS-MODAL (Weiterleitungs-Hinweis)
   ═══════════════════════════════════════════════════════════ */

.hsw-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}
.hsw-modal.is-open {
  display: flex;
  animation: hswModalFadeIn .2s ease-out;
}
@keyframes hswModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hsw-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42,24,16,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hsw-modal-dialog {
  position: relative;
  background: var(--bg-card);
  max-width: 520px;
  width: 100%;
  max-height: calc(100vh - 2 * var(--sp-md));
  overflow-y: auto;
  padding: var(--sp-2xl) var(--sp-2xl) var(--sp-xl);
  border-top: 4px solid var(--accent);
  box-shadow: 0 20px 60px rgba(42,24,16,.35);
  animation: hswModalSlideUp .25s ease-out;
}
@keyframes hswModalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.hsw-modal-close {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.hsw-modal-close:hover {
  background: var(--bg-paper);
  border-color: var(--accent);
  color: var(--accent);
}

.hsw-modal-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}

.hsw-modal-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 var(--sp-md);
  letter-spacing: -.01em;
  padding-right: var(--sp-2xl);
}
.hsw-modal-title em {
  font-style: italic;
  color: var(--accent);
}

.hsw-modal-lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 var(--sp-lg);
}

.hsw-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-lg);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
}
.hsw-modal-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  line-height: 1.5;
}
.hsw-modal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.hsw-modal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-md);
}
.hsw-modal-checkbox input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
}

.hsw-modal-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}
.hsw-modal-actions .btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  text-align: center;
}

.hsw-modal-fineprint {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--line-light);
}
.hsw-modal-fineprint a {
  color: var(--accent);
  text-decoration: underline;
}

/* Mobile: Dialog rückt vom Rand weg */
@media (max-width: 540px) {
  .hsw-modal-dialog {
    padding: var(--sp-xl) var(--sp-lg) var(--sp-lg);
  }
  .hsw-modal-actions { flex-direction: column; }
  .hsw-modal-actions .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   v1.4.0 — BLOCK-EDITOR-LAYOUT (Wide/Full + Prose-Container)
   ═══════════════════════════════════════════════════════════ */

/* Standard-Container: Inhalte sind auf Lesebreite begrenzt */
.prose {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* "wide"-Blöcke: breiter als der Prose-Container, aber nicht volle Breite */
.prose .alignwide {
  max-width: 1100px;
  margin-left: calc(50% - 550px);
  margin-right: calc(50% - 550px);
  width: auto;
}

/* "full"-Blöcke: volle Breite des Browser-Fensters */
.prose .alignfull {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* Bei kleineren Bildschirmen wird wide einfach normal breit */
@media (max-width: 1180px) {
  .prose .alignwide {
    max-width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* Block-typische Elemente innerhalb prose sollen schöne Abstände haben */
.prose h1,
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-md);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.prose h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 500; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 500; }
.prose h3 { font-size: clamp(20px, 2.5vw, 24px); font-weight: 500; }
.prose h2 em, .prose h3 em, .prose h1 em {
  font-style: italic;
  color: var(--accent);
}

.prose p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--sp-md);
}

.prose ul, .prose ol {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--sp-md);
  padding-left: var(--sp-xl);
}
.prose li { margin-bottom: var(--sp-xs); }

.prose strong { color: var(--text-primary); font-weight: 600; }
.prose em { font-style: italic; }

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--accent-hover); }

.prose .wp-element-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 2px;
  transition: background .15s ease;
}
.prose .wp-element-button:hover {
  background: var(--accent-hover);
  color: #fff;
}

.prose .wp-block-image figcaption {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  margin-top: var(--sp-sm);
}

.prose .wp-block-separator {
  border: none;
  border-top: 1px solid var(--line-light);
  margin: var(--sp-2xl) auto;
  max-width: 100px;
}

/* ═══════════════════════════════════════════════════════════
   v1.4.0 — em-Akzent in Cover-Blöcken (für Block-Patterns)
   ═══════════════════════════════════════════════════════════ */

/* Wenn ein <em> in einem Cover-Block mit dunklem Sepia-Hintergrund steht,
   soll es als heller Akzent erscheinen (statt unsichtbar in derselben
   Sepia-Farbe wie der Hintergrund). */
.wp-block-cover em,
.wp-block-cover .wp-block-heading em,
.wp-block-cover h1 em,
.wp-block-cover h2 em,
.wp-block-cover h3 em {
  font-style: italic;
  color: #d4a878; /* helles Sepia, kontrastiert gegen dunkles Braun */
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   STANDORTWECHSEL-SEITE — Stilelemente (v1.7.x)
   ═══════════════════════════════════════════════════════════ */

/* ─── Eyebrow-Heading (kleine Vorab-Überschrift im Stil von Hero) ─── */
.is-style-eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: .04em;
  color: var(--accent);
  margin: 0 0 var(--sp-lg) 0;
  text-transform: none;
}
.is-style-eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: var(--sp-sm);
}

/* ─── Lead-Datumszeile unter Abschnitts-Headlines (z.B. "1979 – 2004") ─── */
.prose .hsw-lead {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
  margin: -8px 0 var(--sp-lg) 0;
  letter-spacing: .02em;
}

/* ─── Zeitleiste ─── */
.hsw-timeline {
  background: var(--bg-section);
  padding: var(--sp-xl);
  border-radius: 3px;
}
.hsw-timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}
.hsw-timeline-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-md);
  align-items: baseline;
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--line-light);
}
.hsw-timeline-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hsw-timeline-year {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -.01em;
}
.hsw-timeline-event {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
}
@media (max-width: 600px) {
  .hsw-timeline { padding: var(--sp-lg); }
  .hsw-timeline-list li {
    grid-template-columns: 60px 1fr;
    gap: var(--sp-sm);
  }
  .hsw-timeline-year { font-size: 20px; }
  .hsw-timeline-event { font-size: 14px; }
}

/* ─── Unterzeichner-Block (Vertrags-Unterzeichnung 2008) ─── */
.hsw-signatories {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  margin: var(--sp-xl) 0;
  padding: var(--sp-lg) var(--sp-xl);
  box-sizing: border-box;
}
.hsw-signatories p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.hsw-signatories strong {
  color: var(--accent);
  font-weight: 500;
}

/* ─── Fahrzeug-Filter-Bar ─── */
.fz-filter-bar {
  background: var(--bg-section);
  border-top: 1px solid rgba(122, 74, 32, 0.15);
  border-bottom: 1px solid rgba(122, 74, 32, 0.15);
  padding: var(--sp-md) 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.fz-filter-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
}
.fz-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(122, 74, 32, 0.3);
  border-radius: 999px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
}
.fz-filter-btn:hover {
  background: rgba(122, 74, 32, 0.08);
  border-color: var(--accent);
  color: var(--text-primary);
}
.fz-filter-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.fz-filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-paper);
}
.fz-filter-btn.is-active:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg-paper);
}
.fz-filter-count {
  display: inline-block;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  min-width: 22px;
  text-align: center;
}
.fz-filter-btn.is-active .fz-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: var(--bg-paper);
}

/* Mobile: Filter-Buttons kompakter */
@media (max-width: 600px) {
  .fz-filter-bar {
    padding: var(--sp-sm) 0;
  }
  .fz-filter-inner {
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fz-filter-inner::-webkit-scrollbar {
    display: none;
  }
  .fz-filter-btn {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* ─── PDF-Download-Block ─── */
.hsw-download {
  margin: var(--sp-xl) 0;
}
.hsw-download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-lg) var(--sp-xl);
  background: var(--bg-card);
  border: 1px solid rgba(122, 74, 32, 0.15);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hsw-download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 24, 16, 0.12);
  border-left-color: var(--accent-hover);
}
.hsw-download-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-section);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.hsw-download-icon svg {
  width: 26px;
  height: 26px;
}
.hsw-download-text {
  min-width: 0;
}
.hsw-download-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}
.hsw-download-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}
.hsw-download-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}
.hsw-download-cta {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.hsw-download-card:hover .hsw-download-cta {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .hsw-download-card {
    padding: var(--sp-md) var(--sp-lg);
    gap: var(--sp-md);
  }
  .hsw-download-title {
    font-size: 18px;
  }
  .hsw-download-meta {
    font-size: 12px;
  }
  .hsw-download-cta {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
 *  MAILPOET-FORMULAR im Footer — Sepia-Dark-Styling
 * ═══════════════════════════════════════════════════════════ */

/* Container: alle Abstände kompakt */
.site-footer .mailpoet_form,
.site-footer .mailpoet_form_paragraph,
.site-footer .mailpoet_paragraph {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--bg-paper);
}

/* Labels (Datenschutz-Einwilligung, *Pflichtmarker) */
.site-footer .mailpoet_form label,
.site-footer .mailpoet_checkbox_label {
  color: var(--bg-paper);
  font-size: 11.5px;
  line-height: 1.4;
  opacity: 0.85;
  display: block;
  margin-bottom: 4px;
}

/* Eingabefelder: dunkel statt weiß */
.site-footer .mailpoet_text,
.site-footer .mailpoet_form input[type="email"],
.site-footer .mailpoet_form input[type="text"] {
  background: rgba(244, 237, 226, 0.08);
  border: 1px solid rgba(244, 237, 226, 0.25);
  color: var(--bg-paper);
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}
.site-footer .mailpoet_text::placeholder,
.site-footer .mailpoet_form input::placeholder {
  color: rgba(244, 237, 226, 0.45);
  opacity: 1;
}
.site-footer .mailpoet_text:focus,
.site-footer .mailpoet_form input:focus {
  outline: none;
  border-color: rgba(244, 237, 226, 0.55);
  background: rgba(244, 237, 226, 0.12);
}

/* Checkbox: schlanker, dunkel */
.site-footer .mailpoet_form input[type="checkbox"],
.site-footer .mailpoet_checkbox {
  margin-right: 6px;
  vertical-align: top;
  margin-top: 2px;
  accent-color: var(--bg-paper);
}

/* Submit-Button im Sepia-Stil — hell mit dunklem Text */
.site-footer .mailpoet_submit {
  background: var(--bg-paper);
  color: var(--bg-dark);
  border: none;
  padding: 11px 22px;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 100%;
  border-radius: 0;
  margin-top: 4px;
}
.site-footer .mailpoet_submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.site-footer .mailpoet_submit:focus-visible {
  outline: 2px solid var(--bg-paper);
  outline-offset: 2px;
}

/* Links im Formular */
.site-footer .mailpoet_form a {
  color: var(--bg-paper);
  text-decoration: underline;
  opacity: 0.85;
}
.site-footer .mailpoet_form a:hover {
  opacity: 1;
}

/* Validation-Messages und Erfolgsmeldungen */
.site-footer .mailpoet_validate_success,
.site-footer .mailpoet_validate_error,
.site-footer .mailpoet_message {
  font-size: 11px;
  line-height: 1.4;
  margin-top: 6px;
}

/* Den "Pflicht-Stern" (* nach Datenschutz-Einwilligung) etwas dezenter */
.site-footer .mailpoet_form .mailpoet_required {
  color: var(--bg-paper);
  opacity: 0.6;
}

/* ─── Footer-Grid: Newsletter-Spalte doppelt so breit ─── */
.site-footer .footer-grid {
  grid-template-columns: 1fr 1fr 1fr 2fr;
}
@media (max-width: 980px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Datenschutz-Einwilligung-Text noch etwas kompakter */
.site-footer .mailpoet_checkbox_label {
  font-size: 11.5px;
  line-height: 1.35;
}
.site-footer .mailpoet_paragraph {
  margin-bottom: 6px;
}

/* ─── Footer-Grid: 4 Spalten, Newsletter + Sponsoren ─── */
.site-footer .footer-grid {
  grid-template-columns: 1fr 1fr 2fr 1fr;
}
@media (max-width: 980px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ── Sponsoren als 4. Footer-Spalte ── */
.footer-sponsoren-logos {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.footer-sponsoren-logos img,
.footer-sponsoren-logos .wp-block-image img,
.footer-sponsoren-logos figure img {
  height: 40px !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity .2s;
  display: block;
}
.footer-sponsoren-logos img:hover,
.footer-sponsoren-logos figure img:hover { opacity: 1; }
.footer-sponsoren-logos figure,
.footer-sponsoren-logos .wp-block-image { margin: 0; }
.footer-sponsoren-logos figure a,
.footer-sponsoren-logos .wp-block-image a {
  display: block;
  line-height: 0;
}
