/*
Theme Name: Trailhead
Theme URI: https://example.com/trailhead
Author: Trailhead Bikeshop
Description: Eigenständiges Theme für Fahrradverkauf und Werkstatt-Service. Dark Theme mit Hi-Vis-Akzent, ohne Fremd-Theme, ohne Page-Builder und ohne externe Requests. Fonts werden lokal geladen, es werden keine Cookies gesetzt.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trailhead
Tags: e-commerce, custom-menu, custom-colors, translation-ready, dark-mode
*/

/* ============================================================================
   TRAILHEAD — BASIS
   ============================================================================
   Diese Datei enthält Design-Tokens, Fonts, Nav, Footer und alle gemeinsamen
   Komponenten. Seitenspezifische Abschnitte liegen in assets/css/pages.css.

   Farben und Schriften änderst du ausschließlich im :root-Block unten.

   FONTS: Die woff2-Dateien gehören nach assets/fonts/. Anleitung und
   Download-Quellen stehen in assets/fonts/README.txt.
   Es wird NIE von fonts.googleapis.com geladen — das würde die IP-Adresse
   jedes Besuchers ohne Einwilligung an Google übertragen und ist in AT/DE
   abmahnfähig (LG München I, 20.01.2022, 3 O 17493/20).
   Fehlen die Dateien, greift automatisch der Fallback-Stack: Layout bleibt
   intakt, nur die Schrift sieht anders aus.
   ============================================================================ */


/* ---------------------------------------------------------------------------
   1. FONTS (lokal, Pfade relativ zu dieser Datei)
   --------------------------------------------------------------------------- */

@font-face {
  font-family: 'Space Grotesk Local';
  src: url('assets/fonts/space-grotesk-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk Local';
  src: url('assets/fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Local';
  src: url('assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Local';
  src: url('assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono Local';
  src: url('assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}


/* ---------------------------------------------------------------------------
   2. DESIGN-TOKENS — die einzige Stelle für Farben und Schriften
   --------------------------------------------------------------------------- */

:root {
  --th-ink: #0f1210;
  --th-graphite: #14171a;
  --th-graphite-2: #1c2020;
  --th-hivis: #c8ff3d;
  --th-hivis-bright: #d8ff70;
  --th-rust: #b54a2c;
  --th-paper: #ece9de;
  --th-paper-2: #d8d5c8;
  --th-paper-3: #cfccc0;
  --th-stone: #8f8c80;
  --th-error: #ff8a6b;
  --th-line: rgba(236, 233, 222, 0.14);

  --th-font-body: 'Inter Local', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --th-font-disp: 'Space Grotesk Local', 'Inter Local', system-ui, 'Segoe UI', Arial, sans-serif;
  --th-font-mono: 'IBM Plex Mono Local', ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;

  --th-gutter: 6vw;
  --th-gutter-mobile: 24px;
  --th-nav-height: 73px;
}


/* ---------------------------------------------------------------------------
   3. RESET UND GRUNDLAGEN
   --------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--th-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--th-paper);
  background: var(--th-graphite);
  overflow-x: hidden;
}

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

a { color: var(--th-hivis); }

h1, h2, h3, h4 {
  font-family: var(--th-font-disp);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.disp { font-family: var(--th-font-disp); font-weight: 700; letter-spacing: -0.02em; }
.mono { font-family: var(--th-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* Sichtbarer Fokus-Ring. Pflicht für Tastaturbedienung (WCAG 2.4.7) und ab 2025
   für Onlineshops über den European Accessibility Act relevant. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--th-hivis);
  outline-offset: 3px;
}

/* Skip-Link für Screenreader und Tastaturnutzer */
.th-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--th-hivis);
  color: var(--th-ink);
  font-family: var(--th-font-disp);
  font-weight: 600;
  text-decoration: none;
}
.th-skip-link:focus { left: 0; }

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

.th-wrap { padding-left: var(--th-gutter); padding-right: var(--th-gutter); }

@media (max-width: 700px) {
  .th-wrap { padding-left: var(--th-gutter-mobile); padding-right: var(--th-gutter-mobile); }
}


/* ---------------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------------- */

.th-btn {
  font-family: var(--th-font-disp);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.th-btn--primary {
  background: var(--th-hivis);
  color: var(--th-ink);
  border-color: var(--th-hivis);
}
.th-btn--primary:hover { transform: translateY(-2px); background: var(--th-hivis-bright); }
.th-btn--ghost {
  background: transparent;
  color: var(--th-paper);
  border-color: var(--th-line);
}
.th-btn--ghost:hover { border-color: var(--th-paper); transform: translateY(-2px); }
.th-btn--block { width: 100%; }
.th-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }


/* ---------------------------------------------------------------------------
   5. NAVIGATION
   --------------------------------------------------------------------------- */

.th-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--th-gutter);
  background: rgba(15, 18, 16, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--th-line);
}
.th-nav-logo {
  font-family: var(--th-font-disp);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--th-paper);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.th-nav-links {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.th-nav-links a {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--th-paper);
  text-decoration: none;
  border: 1px solid var(--th-line);
  border-radius: 22px;
  padding: 9px 18px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.th-nav-links a:hover { border-color: var(--th-hivis); color: var(--th-hivis); }
.th-nav-links .current-menu-item > a,
.th-nav-links .current_page_item > a {
  background: var(--th-hivis);
  border-color: var(--th-hivis);
  color: var(--th-ink);
  font-weight: 500;
}

.th-nav-actions { display: flex; align-items: center; gap: 10px; }

.th-nav-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border: 1px solid var(--th-line);
  border-radius: 50%;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease;
  text-decoration: none;
}
.th-nav-icon-btn:hover { border-color: var(--th-hivis); }
.th-nav-icon-btn svg {
  width: 18px; height: 18px;
  stroke: var(--th-paper); fill: none; stroke-width: 1.6;
  transition: stroke 0.2s ease;
}
.th-nav-icon-btn:hover svg { stroke: var(--th-hivis); }

.th-login-btn {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--th-line);
  border-radius: 22px;
  padding: 0 16px 0 6px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.th-login-btn:hover { border-color: var(--th-hivis); }
.th-login-btn span { font-size: 0.85rem; color: var(--th-paper); }
.th-login-btn svg { width: 18px; height: 18px; stroke: var(--th-paper); fill: none; stroke-width: 1.6; }

@media (max-width: 700px) {
  .th-login-btn span { display: none; }
  .th-login-btn { width: 40px; padding: 0; justify-content: center; }
}

.th-cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--th-hivis);
  color: var(--th-ink);
  font-family: var(--th-font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* Dropdowns (Konto, Warenkorb) */
.th-dropdown-wrap { position: relative; }
.th-dropdown {
  position: absolute;
  top: 52px; right: 0;
  width: 280px;
  background: var(--th-graphite-2);
  border: 1px solid var(--th-line);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.th-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.th-dropdown h4 { font-size: 0.95rem; margin: 0 0 6px; }
.th-dropdown p { font-size: 0.84rem; color: var(--th-paper-3); line-height: 1.5; margin: 0 0 16px; }
.th-dropdown .th-btn { width: 100%; font-size: 0.9rem; padding: 12px 20px; }
.th-dropdown-link {
  font-size: 0.76rem;
  color: var(--th-stone);
  text-decoration: none;
  display: block;
  text-align: center;
  margin-top: 12px;
}
.th-dropdown-link:hover { color: var(--th-paper); }

/* Mini-Warenkorb */
.th-mini-cart-list { list-style: none; margin: 0 0 16px; padding: 0; }
.th-mini-cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--th-line);
}
.th-mini-cart-list li span:last-child { font-family: var(--th-font-mono); white-space: nowrap; }
.th-mini-cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 16px;
  padding-top: 4px;
}
.th-mini-cart-total strong { font-family: var(--th-font-disp); color: var(--th-hivis); }


/* ---------------------------------------------------------------------------
   6. MOBILES BURGER-MENÜ
   Ersetzt das, wofür man sonst ein Theme wie Astra oder ein Extra-Plugin
   bräuchte. Reines CSS/JS, keine Abhängigkeit.
   --------------------------------------------------------------------------- */

.th-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--th-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease;
}
.th-burger:hover { border-color: var(--th-hivis); }
.th-burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--th-paper);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.th-burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.th-burger.is-open span:nth-child(2) { opacity: 0; }
.th-burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.th-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--th-ink);
  padding: 84px var(--th-gutter-mobile) 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  overflow-y: auto;
}
.th-mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.th-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.th-mobile-menu a {
  display: block;
  font-family: var(--th-font-disp);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--th-paper);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--th-line);
}
.th-mobile-menu a:hover { color: var(--th-hivis); }
.th-mobile-close {
  position: absolute;
  top: 18px; right: var(--th-gutter-mobile);
  width: 40px; height: 40px;
  border: 1px solid var(--th-line);
  border-radius: 50%;
  background: transparent;
  color: var(--th-paper);
  font-size: 1.1rem;
  cursor: pointer;
}
.th-mobile-close:hover { border-color: var(--th-hivis); color: var(--th-hivis); }
.th-mobile-contact {
  margin-top: auto;
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--th-stone);
}
.th-mobile-contact a {
  font-family: var(--th-font-body);
  font-weight: 400;
  font-size: 0.95rem;
  border: none;
  padding: 4px 0;
  color: var(--th-paper-2);
}

@media (max-width: 760px) {
  .th-nav-links { display: none; }
  .th-burger { display: flex; }
}
@media (min-width: 761px) {
  .th-mobile-menu { display: none; }
}
body.th-menu-open { overflow: hidden; }


/* ---------------------------------------------------------------------------
   7. SECTION-BAUSTEINE
   --------------------------------------------------------------------------- */

.th-section {
  padding: 80px var(--th-gutter);
  border-top: 1px solid var(--th-line);
}
.th-section--flush { border-top: none; }
.th-section--ink { background: var(--th-ink); }

.th-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
}
.th-section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }

.th-tag {
  font-family: var(--th-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--th-hivis);
  margin-bottom: 14px;
  display: block;
}

.th-lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--th-paper-2);
  max-width: 46ch;
}

@media (max-width: 700px) {
  .th-section { padding-left: var(--th-gutter-mobile); padding-right: var(--th-gutter-mobile); }
}


/* ---------------------------------------------------------------------------
   8. PREISLISTE
   --------------------------------------------------------------------------- */

.th-price-list { border-top: 1px solid var(--th-line); max-width: 820px; }
.th-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--th-line);
}
.th-price-row .th-price-service { font-size: 1rem; }
.th-price-row .th-price-service span {
  display: block;
  font-size: 0.78rem;
  color: var(--th-stone);
  margin-top: 4px;
}
.th-price-row .th-price-value {
  font-family: var(--th-font-disp);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--th-hivis);
  white-space: nowrap;
}

/* Pflichthinweise unter Preisen, Bewertungen etc. */
.th-note {
  font-size: 0.76rem;
  color: var(--th-stone);
  line-height: 1.6;
  margin-top: 18px;
  max-width: 820px;
}
.th-note a { color: var(--th-stone); text-decoration: underline; }


/* ---------------------------------------------------------------------------
   9. FORMULARE inkl. DSGVO-Consent
   --------------------------------------------------------------------------- */

.th-form-row { margin-bottom: 18px; }
.th-form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.th-form-row label {
  display: block;
  font-family: var(--th-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--th-stone);
  margin-bottom: 6px;
}
.th-form-row input[type="text"],
.th-form-row input[type="email"],
.th-form-row input[type="tel"],
.th-form-row input[type="number"],
.th-form-row select,
.th-form-row textarea {
  width: 100%;
  background: var(--th-ink);
  border: 1px solid var(--th-line);
  color: var(--th-paper);
  padding: 11px 13px;
  font-family: var(--th-font-body);
  font-size: 0.9rem;
}
.th-form-row textarea { resize: vertical; min-height: 90px; }
.th-form-row input:focus, .th-form-row select:focus, .th-form-row textarea:focus {
  outline: none;
  border-color: var(--th-hivis);
}
.th-form-row input[aria-invalid="true"],
.th-form-row select[aria-invalid="true"],
.th-form-row textarea[aria-invalid="true"] { border-color: var(--th-error); }

/* Consent-Checkbox.
   RECHT: niemals mit "checked" vorbelegen — ein vorausgewähltes Häkchen ist
   keine wirksame Einwilligung (EuGH C-673/17, Planet49). */
.th-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 8px;
}
.th-consent input[type="checkbox"] {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--th-hivis);
  cursor: pointer;
}
.th-consent label {
  font-family: var(--th-font-body);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--th-paper-3);
  line-height: 1.5;
  margin: 0;
}
.th-consent label a { color: var(--th-hivis); text-decoration: underline; }

/* Art.-13-Kurzinfo über dem Absenden-Button */
.th-privacy-note {
  font-size: 0.76rem;
  color: var(--th-stone);
  line-height: 1.6;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 2px solid var(--th-line);
}
.th-privacy-note a { color: var(--th-stone); text-decoration: underline; }

.th-field-error {
  display: none;
  font-family: var(--th-font-body);
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--th-error);
  margin: 5px 0 0;
}
.th-field-error.is-visible { display: block; }

/* Serverseitige Sammelmeldung */
.th-form-notice {
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  line-height: 1.5;
  border-left: 3px solid var(--th-error);
  background: rgba(255, 138, 107, 0.07);
}
.th-form-notice--ok {
  border-left-color: var(--th-hivis);
  background: rgba(200, 255, 61, 0.07);
}
.th-form-notice ul { margin: 8px 0 0; padding-left: 20px; }

/* Honeypot — für Menschen unsichtbar, Bots füllen es aus.
   Absichtlich nicht display:none, weil manche Bots das erkennen. */
.th-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Foto-Upload */
.th-dropzone {
  border: 1.5px dashed var(--th-line);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.th-dropzone.is-dragover { border-color: var(--th-hivis); background: rgba(200, 255, 61, 0.05); }
.th-dropzone svg {
  width: 26px; height: 26px;
  stroke: var(--th-stone); fill: none; stroke-width: 1.6;
  margin-bottom: 10px;
}
.th-dropzone p { margin: 0; font-size: 0.85rem; color: var(--th-stone); }
.th-dropzone p strong { color: var(--th-hivis); font-weight: 500; }

.th-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.th-thumb {
  position: relative;
  width: 70px; height: 70px;
  border: 1px solid var(--th-line);
  overflow: hidden;
}
.th-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th-thumb button {
  position: absolute;
  top: 2px; right: 2px;
  width: 18px; height: 18px;
  background: rgba(15, 18, 16, 0.85);
  border: none;
  color: var(--th-paper);
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
}
.th-thumb button:hover { background: var(--th-rust); }

@media (max-width: 600px) {
  .th-form-row--2col { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------------------------
   10. FOOTER
   --------------------------------------------------------------------------- */

.th-footer {
  border-top: 1px solid var(--th-line);
  background: var(--th-ink);
  padding: 60px var(--th-gutter) 0;
}
.th-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.th-footer-brand .th-footer-logo {
  font-family: var(--th-font-disp);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.th-footer-brand p {
  font-size: 0.9rem;
  color: var(--th-paper-3);
  max-width: 32ch;
  line-height: 1.55;
  margin: 0 0 22px;
}
.th-social { display: flex; gap: 12px; }
.th-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--th-line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.th-social a:hover { border-color: var(--th-hivis); transform: translateY(-2px); }
.th-social svg { width: 17px; height: 17px; stroke: var(--th-paper); fill: none; stroke-width: 1.6; }

.th-footer address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--th-paper-2);
}
.th-footer address a { color: var(--th-paper-2); text-decoration: none; }
.th-footer address a:hover { color: var(--th-hivis); }

.th-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-family: var(--th-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.th-status .th-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--th-stone);
  flex: none;
}
.th-status.is-open .th-dot { background: var(--th-hivis); box-shadow: 0 0 8px 1px rgba(200, 255, 61, 0.6); }
.th-status.is-closed .th-dot { background: var(--th-rust); box-shadow: 0 0 8px 1px rgba(181, 74, 44, 0.5); }

.th-hours-list { list-style: none; margin: 0; padding: 0; }
.th-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--th-line);
  font-size: 0.88rem;
}
.th-hours-list li:last-child { border-bottom: none; }
.th-hours-list li span:first-child { color: var(--th-stone); }
.th-hours-list li span:last-child { font-family: var(--th-font-mono); }
.th-hours-list li.is-today span:first-child { color: var(--th-paper); }

.th-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--th-line);
  font-family: var(--th-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--th-stone);
}
.th-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.th-footer-links a { color: var(--th-stone); text-decoration: none; }
.th-footer-links a:hover { color: var(--th-paper); }

@media (max-width: 860px) {
  .th-footer-top { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 700px) {
  .th-footer { padding-left: var(--th-gutter-mobile); padding-right: var(--th-gutter-mobile); }
}


/* ---------------------------------------------------------------------------
   11. KARTE — 2-Klick-Lösung
   RECHT: Ein direkt eingebettetes Karten-iframe lädt beim Seitenaufruf Skripte
   und setzt teils Cookies beim Anbieter. Ohne vorherige Einwilligung ist das
   nicht zulässig (§ 165 Abs 3 TKG 2021, Art. 6 DSGVO). Deshalb wird das iframe
   erst nach aktivem Klick erzeugt — dadurch braucht die Karte kein Cookie-Banner.
   --------------------------------------------------------------------------- */

.th-map { border-top: 1px solid var(--th-line); padding: 28px 0; }
.th-map-wrap { position: relative; }
.th-map-wrap iframe {
  width: 100%;
  height: 240px;
  border: 1px solid var(--th-line);
  filter: grayscale(1) invert(0.92) contrast(0.9);
  display: block;
}
.th-map-placeholder {
  height: 240px;
  border: 1px solid var(--th-line);
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(236, 233, 222, 0.03) 12px 24px),
    var(--th-graphite-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}
.th-map-placeholder p {
  font-size: 0.82rem;
  color: var(--th-stone);
  max-width: 48ch;
  line-height: 1.55;
  margin: 0;
}
.th-map-placeholder p a { color: var(--th-hivis); text-decoration: underline; }
.th-map-placeholder .th-btn { font-size: 0.85rem; padding: 12px 22px; }
.th-map-wrap.is-loaded .th-map-placeholder { display: none; }


/* ---------------------------------------------------------------------------
   12. WHATSAPP-BUTTON
   Reiner Link — es wird nichts von Meta geladen, solange niemand klickt.
   Daher nicht consent-pflichtig.
   --------------------------------------------------------------------------- */

.th-whatsapp-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--th-hivis);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  z-index: 80;
  transition: transform 0.2s ease;
}
.th-whatsapp-fab:hover { transform: scale(1.06); }
.th-whatsapp-fab svg { width: 26px; height: 26px; fill: var(--th-ink); }


/* ---------------------------------------------------------------------------
   13. BEWEGUNG REDUZIEREN (WCAG 2.3.3)
   --------------------------------------------------------------------------- */

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