/* ==========================================================================
   Küchenwelt Lauchhammer — Stylesheet
   Systemschrift-Stack (kein Self-Hosting von Webfonts), Farben aus dem Logo.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Sorgt dafür, dass auch native Browser-Elemente (Scrollbalken,
     Formular-Controls, Autofill) dunkel gerendert werden. */
  color-scheme: dark;

  /* Dark-Mode-Umstellung Sept. 2026: Basis-/Kartenfarben sind jetzt dunkel.
     --color-ink bleibt der feste dunkle Markenton (Footer/Abschluss-CTA/
     dunkle Logo-Fläche – Elemente, die immer dunkel sein sollen).
     --color-text/--color-text-muted sind die themeabhängigen Textfarben.
     --color-primary bleibt das kräftige Rot für Flächen (Buttons, Badges) –
     als TEXT auf dunklem Grund wird stattdessen das hellere
     --color-primary-text verwendet (Kontrastgrund, siehe unten). */
  --color-primary: #D52928;
  --color-primary-dark: #AE1F1F;
  --color-primary-text: #FF5C52;
  --color-ink: #1E1E1D;
  --color-text: #F2F0ED;
  --color-text-muted: #ABA8A2;
  --color-neutral-100: #141312;
  --color-neutral-200: #423F3B;
  --color-neutral-300: #57534D;
  --color-white: #ffffff;
  --color-surface: #2A2928;
  --color-page-bg: #1E1E1D;

  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --container-width: 1240px;
  --header-height: 76px;

  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.5);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-page-bg);
  line-height: 1.65;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 var(--space-sm); color: var(--color-text-muted); }
button { font-family: inherit; }

section, header, footer { scroll-margin-top: var(--header-height); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.section { padding-block: var(--space-2xl); }
.section--muted { background: var(--color-neutral-100); }
.section-header {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-header p { font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  color: var(--color-primary-text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: var(--space-xs);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-primary); }
.btn-secondary { background: var(--color-surface); border-color: var(--color-neutral-300); color: var(--color-text); }
.btn-secondary:hover { border-color: var(--color-primary-text); color: var(--color-primary-text); }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--color-primary); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-neutral-200);
}
/* Kein backdrop-filter hier: das erzeugt einen neuen "containing block" für
   position:fixed-Nachfahren (z.B. das mobile Menü unten), wodurch dessen
   inset-Werte plötzlich relativ zur ~76px hohen Kopfzeile statt zum
   Viewport berechnet würden – das mobile Menü würde dann nicht mehr den
   ganzen Bildschirm abdecken. */
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 46px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 1.15rem; }
.nav-menu a:not(.btn) {
  font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-menu a:not(.btn):hover, .nav-menu a:not(.btn):focus-visible {
  color: var(--color-primary-text); border-color: var(--color-primary-text);
}
.nav-menu a[aria-current="page"] {
  color: var(--color-primary-text); border-color: var(--color-primary-text);
}
.nav-menu .btn, .nav-actions .btn {
  padding: 0.5rem 1.1rem; font-size: 0.88rem;
}
.nav-actions { display: flex; align-items: center; gap: var(--space-sm); }
.mobile-only { display: none; }
.nav-phone svg { flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: var(--header-height) 0 0 0;
    background: var(--color-surface);
    flex-direction: column; align-items: center;
    padding: var(--space-lg) var(--space-md); gap: var(--space-md);
    transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a:not(.btn) { font-size: 1.1rem; }
  .nav-menu .btn { margin-top: var(--space-sm); }
  .nav-actions .desktop-only { display: none; }
  .mobile-only { display: inline-flex; }
  .nav-phone-text { display: none; }
  .nav-phone { padding: 0.6rem; }
}
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 84vh; display: flex; align-items: center;
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(20, 18, 17, 0.78), rgba(30, 30, 29, 0.55)),
    url('/assets/musterkuechen/musterkueche-t-2.jpg') center/cover no-repeat;
}
.hero-content { max-width: 620px; text-align: center; margin-inline: auto; }
.hero-logo { height: 84px; width: auto; margin: 0 auto var(--space-md); }
.hero .eyebrow { color: #ffb3b0; }
.hero h1 { color: var(--color-white); }
.hero-lead { font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); justify-content: center; }

/* ---------- Fade-in Animation (progressive enhancement, never a gate) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in { animation: fadeInUp 0.6s ease-out both; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 3er-Karten-Reihen (USPs / Service) ---------- */
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--color-neutral-100); color: var(--color-primary-text);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-sm);
}
.info-card-icon svg { width: 26px; height: 26px; }

/* ---------- Küchenwelten (Produktwelten-Kacheln) ---------- */
/* Flexbox statt Grid: zentriert eine "verwaiste" letzte Kachel automatisch,
   egal wie viele Kacheln es sind oder bei welcher Breite umgebrochen wird. */
.worlds-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm);
}
.world-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  flex: 0 1 calc(50% - var(--space-sm) / 2);
}
@media (min-width: 768px) { .world-tile { flex-basis: calc(33.333% - var(--space-sm) * 2 / 3); } }
@media (min-width: 1024px) { .world-tile { flex-basis: calc(25% - var(--space-sm) * 3 / 4); } }
.world-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.world-tile:hover img { transform: scale(1.06); }
.world-tile-label {
  position: absolute; inset: auto 0 0 0; padding: var(--space-sm);
  background: linear-gradient(to top, rgba(20, 18, 17, 0.75), transparent 75%);
  color: #fff; font-weight: 600; font-size: 0.95rem;
}

/* ---------- Vorschau-Grids (Musterküchen/Referenzen auf der Startseite) ---------- */
.preview-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
@media (min-width: 768px) { .preview-grid { grid-template-columns: repeat(3, 1fr); } }
.preview-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.preview-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.preview-card:hover img { transform: scale(1.05); }
.preview-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: var(--space-sm);
  background: linear-gradient(to top, rgba(20, 18, 17, 0.78), transparent 80%);
  color: #fff;
}
.preview-card figcaption strong { display: block; font-size: 0.95rem; }
.preview-card figcaption span { font-size: 0.82rem; opacity: 0.85; }
.preview-more { text-align: center; margin-top: var(--space-lg); }

/* ---------- Galerie & Referenzen (Unterseiten: Masonry + Filter + Lightbox) ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: var(--space-lg); }
.filter-btn {
  background: var(--color-surface); color: var(--color-text);
  border: 2px solid var(--color-neutral-200);
  border-radius: 999px; padding: 0.5rem 1.2rem; font-weight: 500; font-size: 0.9rem;
  cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--color-primary-text); }
.filter-btn.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }

.masonry-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-sm);
}
@media (min-width: 640px) { .masonry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .masonry-grid { grid-template-columns: repeat(3, 1fr); } }

.masonry-item {
  border-radius: var(--radius-md); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); transition: opacity 0.35s ease, transform 0.35s ease;
}
.masonry-item.is-hidden { display: none; }
.masonry-item button.gallery-trigger {
  display: block; width: 100%; height: 100%; padding: 0; border: none; background: none; cursor: pointer; position: relative;
  aspect-ratio: 1 / 1;
}
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
@media (hover: hover) {
  .masonry-item button.gallery-trigger:hover img { transform: scale(1.05); }
  .masonry-item button.gallery-trigger:hover .masonry-overlay { opacity: 1; }
}
.masonry-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: var(--space-sm);
  background: linear-gradient(to top, rgba(20, 18, 17, 0.68), transparent 60%);
  color: #fff; opacity: 0; transition: opacity 0.25s ease; text-align: left; font-weight: 600;
}
.masonry-item button.gallery-trigger:focus-visible .masonry-overlay { opacity: 1; }
.masonry-item figcaption.card-caption { padding: var(--space-xs) var(--space-sm) var(--space-sm); font-size: 0.9rem; color: var(--color-text-muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(15, 12, 12, 0.92);
  display: none; align-items: center; justify-content: center; padding: var(--space-md);
}
.lightbox.is-open { display: flex; }
.lightbox-figure { max-width: min(90vw, 1100px); max-height: 85vh; text-align: center; }
.lightbox-figure img { max-height: 75vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox-figure figcaption { color: #fff; margin-top: var(--space-sm); font-size: 0.95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255, 255, 255, 0.12); border: none; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close { top: var(--space-md); right: var(--space-md); }
.lightbox-prev { left: var(--space-md); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-md); top: 50%; transform: translateY(-50%); }

/* ---------- Bewertungen (Slider, 1 Karte = 100% Breite) ---------- */
.reviews-slider { max-width: 720px; margin-inline: auto; }
.reviews-viewport {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.reviews-viewport::-webkit-scrollbar { display: none; }
.reviews-viewport .review-card { flex: 0 0 100%; scroll-snap-align: start; }
.review-card { background: var(--color-surface); border: 1px solid var(--color-neutral-200); border-radius: var(--radius-md); padding: var(--space-lg) var(--space-md); text-align: center; min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.review-stars { color: var(--color-primary-text); letter-spacing: 2px; margin-bottom: 0.5rem; }
.review-author { font-weight: 600; color: var(--color-text); margin-top: var(--space-sm); }
.review-location { font-size: 0.85rem; color: var(--color-text-muted); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-md); margin-top: var(--space-md); }
.slider-arrow {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--color-neutral-200); background: var(--color-surface); color: var(--color-text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.slider-arrow:hover, .slider-arrow:focus-visible { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.slider-dots { display: flex; align-items: center; gap: 1rem; }
.slider-dot {
  position: relative;
  width: 9px; height: 9px; border-radius: 50%; border: none;
  background: var(--color-neutral-200); padding: 0; cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
/* Die Punkte sind absichtlich klein, waeren als Tap-Ziel auf dem Handy aber zu
   winzig (9x9px). Die unsichtbare Flaeche vergroessert das Ziel auf ~25x33px,
   ohne die Optik zu aendern; die Breite ist so gewaehlt, dass sich benachbarte
   Punkte nicht ueberlappen. */
.slider-dot::after { content: ''; position: absolute; inset: -12px -8px; }
.slider-dot.is-active { background: var(--color-primary); width: 22px; border-radius: 5px; }

/* ---------- Partner ---------- */
/* Alle Hersteller-Logos liegen als weiße Silhouetten mit Transparenz vor
   (`*-white.png` / `miele-white.svg`, abgeleitet aus den Originaldateien).
   Damit brauchen sie kein helles Band mehr und fügen sich sauber in den
   dunklen Hintergrund ein – die Originale sind teils dunkle Marken auf
   Transparenz, teils JPGs mit eingebranntem weißem Hintergrund. */
/* Die Leiste wird komplett per JS bewegt (siehe initPartnerSlider): eine
   CSS-Animation ließe sich nicht nahtlos mit dem Ziehen verrechnen – beim
   Übernehmen sprang die Position und am Ende des Logo-Satzes war Schluss,
   statt endlos umzulaufen. Jetzt steuert ein rAF-Loop `transform` und setzt
   die Position bei jedem Durchlauf zurück, so entsteht die Endlos-Schleife. */
.partner-slider {
  overflow: hidden; position: relative;
  cursor: grab;
  touch-action: pan-y;   /* vertikales Seiten-Scrollen bleibt möglich */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.partner-slider.is-dragging { cursor: grabbing; }
.partner-track { display: flex; gap: var(--space-lg); width: max-content; will-change: transform; }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  height: 84px; padding: 0 var(--space-md);
  color: var(--color-text);
  opacity: 0.72; transition: opacity 0.2s ease;
}
.partner-logo:hover, .partner-logo:focus-visible { opacity: 1; }
.partner-logo img { max-height: 42px; max-width: 130px; }
/* Quadratische Bildmarken (Burger) wirken bei gleicher Höhe deutlich kleiner
   als die breiten Wortmarken – etwas mehr Höhe gleicht das optisch aus. */
.partner-logo--square img { max-height: 60px; }
.partner-logo a, .partner-logo img { -webkit-user-drag: none; user-select: none; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1.1fr 1fr; } }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); margin-top: var(--space-md); }
.fact-card { background: var(--color-neutral-100); border-radius: var(--radius-md); padding: var(--space-sm); text-align: center; }
.fact-card strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary-text); }
.fact-card span { font-size: 0.85rem; color: var(--color-text-muted); }
.about-media { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Preise ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { background: var(--color-surface); border: 1px solid var(--color-neutral-200); border-radius: var(--radius-md); padding: var(--space-lg); text-align: center; }
.pricing-card.is-featured { border-color: var(--color-primary-text); box-shadow: var(--shadow-md); position: relative; }
.pricing-card .price { font-family: var(--font-heading); font-size: 2rem; color: var(--color-primary-text); margin: var(--space-sm) 0; }
.pricing-card ul { margin: var(--space-sm) 0; text-align: left; }
.pricing-card li { padding: 0.35rem 0; display: flex; gap: 0.5rem; align-items: flex-start; }
.pricing-card li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--color-primary-text); margin-top: 0.15rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--color-neutral-200); border-radius: var(--radius-sm); padding: 0.2rem var(--space-sm); background: var(--color-surface); }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading); padding: var(--space-sm) 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--color-primary-text); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: var(--space-sm); }

.faq-quicknav {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  max-width: 900px; margin: 0 auto var(--space-2xl);
}
.faq-quicknav a {
  background: var(--color-surface); border: 2px solid var(--color-neutral-200);
  border-radius: 999px; padding: 0.5rem 1.2rem; font-weight: 500; font-size: 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.faq-quicknav a:hover { border-color: var(--color-primary-text); color: var(--color-primary-text); }
.faq-category { margin-bottom: var(--space-2xl); }
.faq-category:last-child { margin-bottom: 0; }
.faq-category h2 { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: var(--space-lg); }

/* ---------- Abschluss-CTA ---------- */
/* Im Dark Mode hebt sich der Abschluss-CTA als hellere "Karte" ab statt wie
   früher als dunkler Block auf hellem Grund. */
.final-cta {
  background: var(--color-surface); color: #fff; border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg); text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin-inline: auto; }
.cta-steps {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
  margin: var(--space-lg) 0; text-align: left; max-width: 760px; margin-inline: auto;
}
@media (min-width: 768px) { .cta-steps { grid-template-columns: repeat(3, 1fr); } }
.cta-step { display: flex; gap: 0.8rem; align-items: flex-start; }
.cta-step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-heading);
}
.cta-step-text strong { display: block; color: #fff; }
.cta-step-text span { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
/* Kontakt-Karte: ersetzt vorerst das Buchungs-iFrame (siehe index.html) */
.contact-cta {
  background: var(--color-surface); border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-md); padding: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-sm);
}
.contact-cta h3 { margin: 0; }
.contact-cta p { margin: 0; color: var(--color-text-muted); }
.contact-cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: 0.4rem; }
.contact-cta-actions .btn svg { width: 20px; height: 20px; flex-shrink: 0; }
/* Auf schmalen Displays sollen die Buttons volle Breite bekommen, damit die
   Telefonnummer nicht umbricht und das Tap-Ziel groß genug bleibt. */
@media (max-width: 480px) { .contact-cta-actions .btn { width: 100%; } }
.contact-cta-note { font-size: 0.9rem; }
.contact-cta-note a { text-decoration: underline; }
/* Anfrage-Formular (Microsoft Forms im iFrame, erst nach Klick eingehaengt).
   Die Hoehe ist bewusst grosszuegig: Forms scrollt intern, je mehr auf einmal
   sichtbar ist, desto weniger verschachteltes Scrollen entsteht. */
.form-frame-wrap {
  border: 1px solid var(--color-neutral-200); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md); background: #fff;
}
.form-frame-wrap:focus { outline: none; }
.form-frame-wrap iframe { width: 100%; height: clamp(560px, 78vh, 900px); border: none; display: block; }
#form-newtab { margin-top: var(--space-sm); }

.contact-info { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-info-item { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--color-primary-text); flex-shrink: 0; margin-top: 0.2rem; }
.opening-hours { width: 100%; border-collapse: collapse; }
.opening-hours td { padding: 0.3rem 0; border-bottom: 1px solid var(--color-neutral-200); font-size: 0.92rem; }
.opening-hours td:last-child { text-align: right; color: var(--color-text-muted); }

.map-placeholder {
  position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 320px;
  background: var(--color-neutral-100) center/cover no-repeat; display: flex; align-items: center; justify-content: center;
}
#map-live { min-height: 320px; border-radius: var(--radius-md); overflow: hidden; }
.map-consent-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-sm); background: rgba(20, 19, 18, 0.92); text-align: center; padding: var(--space-md);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-neutral-100); color: #c9c7c4; padding-block: var(--space-xl) var(--space-md); }
.site-footer > .container:not(:last-child) { margin-bottom: var(--space-lg); }
/* Mobile (Standard): Marke oben (volle Breite), darunter 50/50 – Navigation |
   Kontakt+Öffnungszeiten gestapelt. Ab 768px: Original-Layout, 4 gleich breite
   Spalten nebeneinander (Marke, Navigation, Kontakt, Öffnungszeiten), kein 50/50 mehr. */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "brand brand" "nav kontakt" "nav hours";
  gap: var(--space-md) var(--space-sm);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: "brand nav kontakt hours";
    gap: var(--space-lg);
  }
}
.footer-col-brand { grid-area: brand; }
.footer-col-nav { grid-area: nav; }
.footer-col-kontakt { grid-area: kontakt; }
.footer-col-hours { grid-area: hours; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: var(--space-sm); }
.footer-grid a { transition: color 0.2s ease; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-sm); }
.footer-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer-links li { margin-bottom: 0.5rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: var(--space-sm); }
.footer-social a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); border-radius: 50%;
}
.footer-social a:hover { background: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: var(--space-md);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); font-size: 0.85rem;
}
.footer-bottom nav { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

@media (max-width: 767px) {
  .site-footer .container { text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom nav { justify-content: center; }
}

/* ---------- Subpage generic ---------- */
.page-hero { background: var(--color-neutral-100); padding-block: var(--space-xl) var(--space-lg); }
.legal-content h2 { margin-top: var(--space-lg); }
.legal-content p, .legal-content li { color: var(--color-text); }
.legal-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: var(--space-sm); }

.planner-frame-wrap { border: 1px solid var(--color-neutral-200); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.planner-frame-wrap iframe { width: 100%; min-height: 720px; border: none; display: block; }

/* ---------- Utilities ---------- */
/* Das hidden-Attribut muss staerker sein als Layout-Regeln wie display:flex,
   sonst bleiben per JS versteckte Bloecke (z. B. die Formular-Karte) sichtbar. */
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
