@import url("fonts.css");

/* =========================================================================
   Further Musikschule — Design System
   Marke: verspielt & hochwertig · Grün #9cc547 · Blau #72c5fd
   ========================================================================= */

:root {
  /* Marken-Farben */
  --green: #9cc547;
  --green-d: #89af3b;
  --green-dd: #6f9130;
  --green-tint: #f3f8e8;
  --green-tint-2: #e9f2d6;
  --blue: #72c5fd;
  --blue-d: #3ba6ef;
  --blue-tint: #eaf6ff;
  --sun: #ffc94d;              /* warmer Akzent (aus Hero-Foto) */

  /* Neutrale */
  --ink: #1a1a18;
  --ink-2: #34342f;
  --ink-3: #5c5c55;
  --paper: #ffffff;
  --cream: #fbfaf4;
  --cloud: #f4f4ef;
  --line: rgba(26, 26, 24, 0.10);
  --line-2: rgba(26, 26, 24, 0.06);

  /* Radien */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 38px;
  --pill: 999px;

  /* Schatten */
  --sh-sm: 0 2px 8px rgba(26, 26, 24, 0.06);
  --sh: 0 10px 30px -12px rgba(26, 26, 24, 0.18);
  --sh-lg: 0 30px 60px -24px rgba(26, 26, 24, 0.28);
  --sh-green: 0 14px 30px -10px rgba(137, 175, 59, 0.55);

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 880px;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --nav-h: 102px;

  /* Motion */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.28s;

  /* Fluid Spacing */
  --sp-section: clamp(4rem, 9vw, 8rem);

  --font-display: "Gill Sans", "Gill Sans MT", Calibri, "Segoe UI", system-ui, sans-serif;
  --font-body: "Gill Sans", "Gill Sans MT", Calibri, "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-d); outline-offset: 3px; border-radius: 4px; }

/* -------------------------------------------------------------- Typografie */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 4.75rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; }
p { max-width: 68ch; }
strong { color: var(--ink); font-weight: 700; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(calc(100% - 2 * var(--gutter)), var(--wrap-narrow)); margin-inline: auto; }
section { position: relative; }

/* Kicker / Eyebrow */
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dd);
  background: var(--green-tint);
  padding: 0.5rem 0.9rem 0.32rem;
  border-radius: var(--pill);
}
.kicker.is-blue { color: var(--blue-d); background: var(--blue-tint); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; color: var(--ink-3); font-size: 1.12rem; }
.section-head.center p { margin-inline: auto; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  --bg: var(--green); --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  padding: 1.02rem 1.6rem 0.78rem; border-radius: var(--pill);
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  line-height: 1; min-height: 52px; white-space: nowrap;
  transition: transform var(--t) var(--e-out), box-shadow var(--t) var(--e-out), background var(--t) var(--e-soft), color var(--t);
  will-change: transform;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; margin-top: -0.30em; } /* Icon optisch zentriert: -0.24em = geometrische Mitte, etwas höher gleicht den WhatsApp-Zipfel unten aus */
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn--primary { --bg: var(--green); box-shadow: var(--sh-green); }
.btn--primary:hover { --bg: var(--green-d); box-shadow: 0 20px 36px -10px rgba(137,175,59,0.65); }
.btn--wa { --bg: #25d366; --fg: #ffffff; box-shadow: 0 14px 30px -12px rgba(37,211,102,0.6); }
.btn--wa:hover { --bg: #1fb857; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--ink:hover { --bg: #000; }
.btn--lg { padding: 1.18rem 2rem 0.92rem; font-size: 1.1rem; min-height: 58px; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--t), box-shadow var(--t), height var(--t);
  background: transparent;
}
.site-header.solid {
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px -20px rgba(0,0,0,0.3);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; z-index: 2; }
.brand .brand-logo { height: 80px; width: auto; }
.brand .brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--ink); line-height: 1.04; letter-spacing: -0.015em;
}
.brand .brand-name span { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-dd); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links > li > a, .nav-toggle-instr {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 1.05rem; border-radius: var(--pill);
  font-weight: 700; font-size: 0.96rem; color: var(--ink-2);
  transition: background var(--t), color var(--t);
}
/* Top-Level-Nav-Links nie umbrechen – im EN würde sonst „Rehearsal rooms" bei knapper
   Fensterbreite 2-zeilig. Struktur ist NAV.nav-links > UL > LI > A (nicht direktes li-Kind),
   daher hier explizit über ul gescopt; die .mega-Links im Dropdown bleiben unberührt. */
.nav-links > ul > li > a, .nav-toggle-instr { white-space: nowrap; }
.nav-links > li > a:hover, .nav-toggle-instr:hover { background: var(--green-tint); color: var(--green-dd); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
/* DE/EN-Umschalter im Header-Balken: auf Desktop lebt er in .nav-cta; .nav-lang ist nur für
   Mobil (immer oben sichtbar, rechts neben dem Burger). Basis-Regel MUSS vor der ≤1024px-
   Media-Query stehen, sonst überschreibt sie (gleiche Spezifität) die Mobil-Anzeige. */
.nav-lang { display: none; }

/* Mega-Dropdown Instrumente */
.has-mega { position: relative; }
/* Unsichtbare Brücke über die 0.6rem-Lücke zwischen Button und Dropdown,
   damit der :hover beim Runterfahren zur Maus nicht abreißt. */
.has-mega::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 0.8rem;
}
.mega {
  position: absolute; top: calc(100% + 0.6rem); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(92vw, 640px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 1rem; opacity: 0; visibility: hidden; pointer-events: none;
  /* Öffnen sofort, Schließen mit kleiner Verzögerung als Puffer */
  transition: opacity var(--t) 0.25s, visibility var(--t) 0.25s, transform var(--t) var(--e-out) 0.25s;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.2rem;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.mega a {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.6rem; border-radius: var(--r-xs);
  font-weight: 600; font-size: 0.92rem; color: var(--ink-2); transition: background var(--t), color var(--t);
}
.mega a:hover { background: var(--green-tint); color: var(--green-dd); }
.mega a img { width: 26px; height: 26px; }
.chev { transition: transform var(--t); }
.has-mega:hover .chev { transform: rotate(180deg); }

/* Mobile-Nav: standardmäßig aus, nur im Mobile-Breakpoint sichtbar */
.nav-mobile { display: none; }

/* Burger */
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-xs); align-items: center; justify-content: center; z-index: 2; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform var(--t), opacity var(--t); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform var(--t); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-top: 1.1rem; }
.hero h1 .hl { color: var(--green-dd); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.05em; height: 0.28em; z-index: -1;
  background: var(--sun); border-radius: var(--pill); transform: scaleX(0); transform-origin: left;
  animation: underline 0.9s var(--e-out) 0.5s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero-lead { margin-top: 1.4rem; font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-trust { margin-top: 2.2rem; display: flex; align-items: center; gap: 0.9rem; }
.hero-trust img { height: 160px; width: auto; border-radius: var(--r-lg); filter: drop-shadow(0 8px 18px rgba(0,0,0,0.14)); }
.hero-trust span { font-size: 0.95rem; color: var(--ink-3); font-weight: 600; max-width: 22ch; }

/* Hero-Visual */
.hero-visual { position: relative; z-index: 1; aspect-ratio: 1 / 1; }
/* Runder Claymorphism-Fotorahmen (aus Hero-Variante 22) mit leichtem Floating. */
.hero-photo {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  background: var(--green);
  border-radius: 44% 56% 55% 45% / 48% 52% 48% 52%;
  padding: clamp(12px, 2.2vw, 20px);
  /* Schlagschatten + symmetrische (nur vertikale) Inset-Schatten für den Clay-Look.
     Diagonale Insets (7px 7px / -9px -9px) erzeugten mit der Organic-Rundung ein
     sichtbares helles Band an der rechten Seite – daher x-Offset 0. */
  box-shadow: 0 30px 50px -18px rgba(137,175,59,0.5),
              inset 0 4px 12px rgba(255,255,255,0.5),
              inset 0 -7px 16px rgba(0,0,0,0.12);
  animation: heroFloat 8s ease-in-out infinite;
}
.hero-photo-stack {
  position: absolute; inset: clamp(12px, 2.2vw, 20px);
  border-radius: 40% 54% 50% 46% / 44% 48% 44% 50%;
  overflow: hidden;
  /* Erzwingt EINE Compositing-Ebene: sonst wird beim Crossfade jedes halbtransparente
     Bild einzeln an der runden Clip-Kante anti-aliased, die AA-Ränder summieren sich
     nicht zu 100% und der grüne Rahmen schimmert als dunkle Sichel rechts durch. */
  isolation: isolate;
}
/* Bilderstapel für die Hero-Rotation (Crossfade).
   inset:-1px = 1px Overscan über den runden Clip hinaus, damit an fraktionalen
   Viewport-Breiten im Crossfade kein grüner 1px-Streifen durch die Clip-Kante blitzt. */
.hero-photo-stack img {
  position: absolute; top: -1px; left: -1px;
  width: calc(100% + 2px); height: calc(100% + 2px);
  max-width: none; /* globales img{max-width:100%} würde die +2px sonst wegclippen */
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-photo-stack img.active { opacity: 1; }

@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ------------------------------------------------------------------ Marquee / Trust */
.trustbar { background: var(--ink); color: #fff; padding: 0.9rem 0; overflow: hidden; }
/* Nahtloser Marquee: width:max-content macht das Element genau so breit wie sein
   Inhalt (beide identischen Kopien inkl. Abständen), dann verschiebt translateX(-50%)
   exakt eine Kopie → unsichtbarer Loop, kein Ruck. Abstand als margin-right pro Eintrag
   (nicht flex-gap), damit auch der letzte Eintrag vor der zweiten Kopie einen Abstand hat. */
.marquee { display: flex; width: max-content; white-space: nowrap; animation: scrollx 45s linear infinite; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.marquee span { display: inline-flex; align-items: center; gap: 0.7rem; margin-right: 3rem; opacity: 0.9; }
/* Punkt minimal nach oben, weil Gill Sans mit line-height:1 optisch hoch sitzt → sonst wirkt der Text höher als der Punkt */
.marquee span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); transform: translateY(-2px); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- Instrumente */
.instruments { padding-block: var(--sp-section); background: linear-gradient(180deg, #fff, var(--cream)); }
.instr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.instr-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem 1.4rem; box-shadow: var(--sh-sm);
  transition: transform var(--t) var(--e-out), box-shadow var(--t) var(--e-out), border-color var(--t);
  overflow: hidden; will-change: transform;
}
.instr-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(120% 80% at 50% -10%, var(--green-tint), transparent 70%);
  transition: opacity var(--t);
}
.instr-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.instr-card:hover::before { opacity: 1; }
/* Icons sind 220×265 (Hochformat) – nur Höhe fixieren, Breite folgt dem Seitenverhältnis (nicht dehnen) */
.instr-icon { position: relative; z-index: 1; width: auto; height: 82px; object-fit: contain; margin-bottom: 0.9rem; transition: transform var(--t) var(--e-out); }
.instr-card:hover .instr-icon { transform: rotate(-6deg) scale(1.06); }
.instr-card h3 { position: relative; z-index: 1; font-size: 1.22rem; margin-bottom: 0.4rem; }
.instr-card p { position: relative; z-index: 1; font-size: 0.92rem; color: var(--ink-3); line-height: 1.5; margin-bottom: 1rem; }
.instr-more { position: relative; z-index: 1; margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 600; color: var(--green-dd); font-size: 0.95rem; }
.instr-more svg { width: 1em; transition: transform var(--t); }
.instr-card:hover .instr-more svg { transform: translateX(4px); }

/* ------------------------------------------------------------- Vorteile */
.benefits { padding-block: var(--sp-section); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.benefit {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 1.5rem; transition: transform var(--t) var(--e-out), box-shadow var(--t);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.benefit .b-ic {
  flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; background: var(--green-tint); color: var(--green-dd);
}
.benefit .b-ic svg { width: 26px; height: 26px; }
.benefit:nth-child(3n+2) .b-ic { background: var(--blue-tint); color: var(--blue-d); }
.benefit:nth-child(3n) .b-ic { background: #fff3d6; color: #b47e12; }
.benefit h3 { font-size: 1.12rem; margin-bottom: 0.25rem; }
.benefit p { font-size: 0.95rem; color: var(--ink-3); margin: 0; }

/* ------------------------------------------------------------- bdfm-Band */
.cert { padding-block: var(--sp-section); }
.cert-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink), #26261f);
  color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 4rem);
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.cert-card::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(156,197,71,0.35), transparent 70%); }
.cert-badge { position: relative; z-index: 1; display: grid; place-items: center; }
.cert-badge img { width: 100%; max-width: 190px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4)); }
.cert-body { position: relative; z-index: 1; }
.cert-body h2 { color: #fff; }
.cert-body p { color: rgba(255,255,255,0.82); margin-top: 1rem; }
.cert-body .quote { font-family: var(--font-display); font-size: 1.3rem; color: var(--green); font-weight: 600; margin-bottom: 0.6rem; }

/* ------------------------------------------------------------- Preise */
.pricing { padding-block: var(--sp-section); background: linear-gradient(180deg, var(--cream), #fff); }
/* Gemeinsamer Hintergrund, der Auswahlmenü + Laufzeittarif + Ergänzungspakete als eine Einheit zusammenfasst */
.tariff-group {
  background: linear-gradient(180deg, var(--green-tint), #fbfdf5);
  border: 1px solid rgba(156, 197, 71, 0.3);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--sh-sm);
}
.tariff-group .price-fine { margin-bottom: 0; text-align: center; max-width: 640px; margin-inline: auto; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.35rem; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--sh-sm); margin-bottom: 2.2rem; }
/* Dezenter Hinweis zur Zielgruppe der Laufzeiten (über dem Slider) */
.tariff-hint {
  max-width: 62ch; margin: 0 auto 1.6rem; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0.7rem 1.1rem; font-size: 0.86rem; line-height: 1.5; color: var(--ink-2, var(--ink));
  box-shadow: var(--sh-sm);
}
.tariff-hint strong { color: var(--green-dd); }
.tab {
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 0.6rem 1.15rem; border-radius: var(--pill); color: var(--ink-3);
  transition: background var(--t), color var(--t); position: relative; white-space: nowrap;
}
.tab .u { display: block; font-size: 0.72rem; font-weight: 500; color: inherit; opacity: 0.7; }
.tab[aria-selected="true"] { background: var(--green); color: var(--ink); box-shadow: var(--sh-green); }
.tab[aria-selected="true"] .u { opacity: 0.8; }
.tab:hover:not([aria-selected="true"]) { background: var(--green-tint); color: var(--green-dd); }
/* Beliebter Tarif: im Slider dauerhaft hervorgehoben (Ring + Tint wenn inaktiv) + „Beliebt“-Badge */
.tab--feat:not([aria-selected="true"]) { background: var(--green-tint); color: var(--green-dd); box-shadow: inset 0 0 0 1.6px var(--green); }
.tab-flag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--ink);
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.12rem 0.5rem 0.06rem; border-radius: var(--pill); white-space: nowrap;
  box-shadow: var(--sh-sm); pointer-events: none;
}

.tabpanel { display: none; }
.tabpanel.active { display: block; animation: fadeup 0.4s var(--e-out); }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.price-note-lead { color: var(--ink-3); margin-bottom: 1.4rem; font-weight: 600; }
/* Preis-Kachel + Ergänzungspakete untereinander (nicht nebeneinander), auf angenehme
   Breite zentriert – so bleibt die Hierarchie klar und nichts wirkt auseinandergezogen. */
.price-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 640px; margin-inline: auto; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; transition: transform var(--t) var(--e-out), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--green); }
.pcard .tier { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-dd); }
.pcard .dur { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-weight: 600; margin-top: 0.15rem; }
.pcard .pdesc { font-size: 0.85rem; color: var(--ink-3); margin: 0.5rem 0 1.1rem; }
/* flex-wrap + margin-left:auto: bei schmalen Karten rutscht der Preis sauber rechtsbündig in die nächste Zeile statt über den Rand zu laufen */
.prow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; padding: 0.7rem 0; border-top: 1px dashed var(--line); }
.prow:first-of-type { border-top: none; }
.prow .lbl { min-width: 0; font-weight: 700; color: var(--ink-2); font-size: 0.92rem; }
.prow .amt { margin-left: auto; }
.prow .lbl small { display: block; font-weight: 600; color: var(--ink-3); font-size: 0.8rem; }
.prow .amt { font-family: var(--font-display); font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pcard.feat { border: 2px solid var(--green); box-shadow: var(--sh-green); position: relative; }
.pcard.feat .flag { position: absolute; top: -13px; left: 1.5rem; background: var(--green); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; padding: 0.25rem 0.75rem; border-radius: var(--pill); }

/* Noten-Deko am linken/rechten Seitenrand (wie auf der bisherigen Website), abwechselnd.
   Sitzt hinter dem Inhalt (z-index:-1): auf breiten Screens prominent im Außenrand,
   auf schmalen Screens wandert sie dezent hinter den Inhalt. */
.instruments, .benefits, .pricing { position: relative; z-index: 0; overflow: hidden; }
.side-note { position: absolute; top: 50%; transform: translateY(-50%); z-index: -1; width: clamp(180px, 17vw, 280px); opacity: 0.9; pointer-events: none; }
.side-note.left { left: 0; }
.side-note.right { right: 0; }
.side-note img { display: block; width: 100%; height: auto; }
/* Je enger, desto dezenter (sitzt dann hinter dem Inhalt) */
@media (max-width: 1200px) { .side-note { opacity: 0.5; } }
@media (max-width: 900px)  { .side-note { opacity: 0.32; width: clamp(150px, 34vw, 220px); } }
@media (max-width: 560px)  { .side-note { opacity: 0.22; } }

.price-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
/* Nur eine Kachel (Instrumentenseiten, ohne Früherziehung): zentriert & begrenzt, damit sie
   nicht über die volle Breite gedehnt wird. (Kein Grid-Track: minmax(0,…) kollabiert dort auf 0.) */
.price-extra--single { display: block; }
.price-extra--single .xcard { max-width: 460px; margin-inline: auto; }
.xcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.xcard h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.xcard .sub { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 1rem; }
.xtable { width: 100%; border-collapse: collapse; }
.xtable th, .xtable td { text-align: right; padding: 0.5rem 0.4rem; font-size: 0.92rem; border-top: 1px solid var(--line-2); }
.xtable th:first-child, .xtable td:first-child { text-align: left; font-weight: 700; color: var(--ink-2); }
.xtable thead th { color: var(--green-dd); font-family: var(--font-display); font-weight: 600; border-top: none; font-size: 0.85rem; }
.xtable td.amt { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
/* Ergänzungspakete NUR im Tarif-Grid bewusst untergeordnet – nicht so wuchtig/gleichwertig
   wie die Preis-Kachel: durchscheinend, gestrichelter Rahmen, kleinere Überschrift,
   nicht auf volle Höhe gestreckt (align-self:start). Die xcards im .price-extra bleiben normal. */
.price-cards .xcard {
  background: rgba(255, 255, 255, 0.45);
  border: 1px dashed rgba(156, 197, 71, 0.5);
  padding: 1.3rem 1.4rem;
  align-self: start;
  /* schmaler & zentriert unter der Preis-Kachel, damit die Tabelle in der Mitte nicht leer wirkt
     (greift nur, wo Platz ist – auf Mobil bleibt sie durch max-width ohnehin volle Breite) */
  max-width: 460px; margin-inline: auto;
}
.price-cards .xcard h3 { font-size: 1rem; color: var(--ink-2); }
.price-cards .xcard .sub { font-size: 0.82rem; margin-bottom: 0.75rem; }
.price-cards .xcard .xtable th, .price-cards .xcard .xtable td { font-size: 0.86rem; padding: 0.4rem 0.35rem; }
.price-fine { margin-top: 1.6rem; font-size: 0.86rem; color: var(--ink-3); text-align: center; max-width: 760px; margin-inline: auto; }
.price-fine a { color: var(--green-dd); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- CTA-Band */
.cta-band { padding-block: var(--sp-section); }
.cta-inner {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(120% 140% at 20% 0%, var(--green), var(--green-d));
  color: var(--ink); border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
}
.cta-inner h2 { color: var(--ink); }
.cta-inner p { color: rgba(26,26,24,0.78); margin: 1rem auto 0; font-size: 1.15rem; font-weight: 600; }
.cta-inner .hero-actions { justify-content: center; margin-top: 2rem; }
.cta-inner .btn--primary { --bg: var(--ink); --fg: #fff; box-shadow: var(--sh-lg); }
.cta-inner .btn--primary:hover { --bg: #000; }
.cta-pick { position: absolute; opacity: 0.18; }
.cta-pick.a { width: 160px; left: -30px; bottom: -40px; transform: rotate(-20deg); }
.cta-pick.b { width: 120px; right: -20px; top: -30px; transform: rotate(25deg); }
.cta-inner .noten-bg { position: absolute; inset: 0; background: url(../assets/deko/noten.png) no-repeat right -30px center / auto 150%; opacity: 0.12; mix-blend-mode: multiply; pointer-events: none; }

/* ------------------------------------------------------------- Impressionen-Galerie */
.gallery { padding-block: var(--sp-section); position: relative; overflow: hidden; }
.gallery > .wrap { position: relative; z-index: 1; }
.gallery .noten-bg { position: absolute; left: -60px; top: 40px; width: 300px; height: 480px; background: url(../assets/deko/noten.png) no-repeat center / contain; opacity: 0.06; pointer-events: none; z-index: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 176px; gap: 1rem; }
.gtile { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh); background: var(--cloud); }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--e-out); }
.gtile:hover img { transform: scale(1.06); }
.gtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,24,0.6), transparent 46%); }
.gtile .cap { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 0.9rem 1.1rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.gtile.big { grid-column: span 2; grid-row: span 2; }
.gtile.wide { grid-column: span 2; }

/* ------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-partners { padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 2.5rem; }
.footer-partners .kicker { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.partner-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 1.6rem); margin-top: 1.4rem; }
.partner-row img { height: 84px; width: auto; background: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: var(--sh-sm); transition: transform var(--t) var(--e-out); }
.partner-row img:hover { transform: translateY(-3px); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
/* Nur das Logo (direktes Kind) – so groß wie das Header-Logo (80px), NICHT das WhatsApp-Icon im Button */
.footer-brand > svg, .footer-brand > img { height: 80px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; }
/* WhatsApp-Button im Footer wie die anderen WA-Buttons, nur ohne den kräftigen Glow (auf dunklem Grund sonst zu wuchtig) */
.footer-brand .btn--wa { box-shadow: none; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; font-family: var(--font-display); }
.footer-col a, .footer-col address { display: block; color: rgba(255,255,255,0.72); font-style: normal; padding: 0.3rem 0; font-size: 0.96rem; transition: color var(--t); }
.footer-col a:hover { color: var(--green); }
.footer-col a:has(svg) { display: flex; align-items: center; gap: 0.55rem; }
.footer-col a svg { width: 19px; height: 19px; flex: none; color: var(--green); }
.footer-hours { font-size: 0.9rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.5rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.86rem; }
.footer-bottom a:hover { color: var(--green); }

/* ------------------------------------------------------------- Subpage-Hero */
.sub-hero { padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem)); padding-bottom: clamp(2rem, 4vw, 3rem); background: linear-gradient(180deg, var(--green-tint), #fff); position: relative; overflow: hidden; }
.sub-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; color: var(--ink-3); font-weight: 600; margin-bottom: 1.1rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green-dd); }
.breadcrumb .sep { opacity: 0.5; }
.sub-hero-grid { display: grid; grid-template-columns: 120px 1fr; gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center; }
.sub-hero-icon { width: auto; height: 120px; object-fit: contain; justify-self: center; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.14)); }
.sub-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.sub-hero .lead { margin-top: 0.8rem; font-size: 1.15rem; color: var(--ink-2); }
/* Foto-Hero auf Content-Unterseiten: Text links, runder Rotator rechts (wie Startseite).
   Nutzt die bestehenden .hero-visual/.hero-photo/.hero-photo-stack-Regeln. */
.sub-hero.has-photo { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.sub-hero.has-photo .sub-hero-grid {
  grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; margin-top: clamp(0.8rem, 2vw, 1.4rem);
}
.sub-hero.has-photo .hero-visual { max-width: 400px; width: 100%; margin-inline: auto; }
@media (max-width: 900px) {
  .sub-hero.has-photo .sub-hero-grid { grid-template-columns: 1fr; gap: 1.4rem; text-align: center; }
  .sub-hero.has-photo .sub-actions { justify-content: center; }
  .sub-hero.has-photo .hero-visual { width: min(240px, 62%); margin-bottom: 0.4rem; order: -1; }
}
.sub-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Subpage content */
.prose { padding-block: clamp(2.5rem, 5vw, 4rem); }
.prose-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-2); font-size: 1.08rem; }
.prose h2 { margin: 1.8rem 0 0.9rem; }
.prose h3 { margin: 1.4rem 0 0.6rem; font-size: 1.12rem; }
.prose ul { margin: 0 0 1.1rem 1.25rem; color: var(--ink-2); font-size: 1.05rem; }
.prose ol { margin: 0 0 1.6rem 1.4rem; color: var(--ink-2); font-size: 1.05rem; }
.prose ol > li { margin-bottom: 0.7rem; padding-left: 0.2rem; }
.prose ol ul, .prose ul ul { margin: 0.5rem 0 0.6rem 0.7rem; list-style: disc; }
.prose ol ol { margin: 0.5rem 0 0.6rem 0.7rem; list-style: lower-alpha; }
.prose ol ol > li, .prose ol ul > li { margin-bottom: 0.35rem; }
/* AGB: „Stand"-Zeile unter der Abschnitts-Überschrift + Tabpanel-Kopf */
.prose .tabpanel h2 { margin-top: 0.4rem; }
.agb-stand { margin: -0.3rem 0 1.3rem; font-size: 0.9rem; color: var(--ink-3); }
.agb-stand strong { color: var(--ink-2); font-weight: 700; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--green-dd); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green-d); }
/* Buttons im Fließtext (z. B. „Raum anfragen" auf der Proberäume-Seite) behalten ihren
   Button-Look – nicht den grünen/unterstrichenen Link-Stil von .prose a. */
.prose .btn { color: var(--fg); text-decoration: none; }
.prose .btn:hover { color: var(--fg); text-decoration: none; }
.legal-stand { font-size: 0.92rem; color: var(--ink-3); margin-top: 2rem; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.7rem; margin-top: 1rem; }
.feature-list li { display: flex; gap: 0.7rem; align-items: flex-start; background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--r); padding: 0.9rem 1.1rem; font-weight: 600; color: var(--ink-2); }
.feature-list li svg { flex: none; width: 22px; height: 22px; color: var(--green-dd); margin-top: 1px; }

/* Miettabelle (Proberäume) */
.rent-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rent-table th, .rent-table td { padding: 1rem 1.2rem; text-align: left; border-top: 1px solid var(--line-2); }
.rent-table thead th { background: var(--green-tint); color: var(--green-dd); font-family: var(--font-display); font-weight: 600; border-top: none; }
.rent-table td.amt { font-family: var(--font-display); font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }
.rent-table .room { font-weight: 700; color: var(--ink); }
.rent-table .room small { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.85rem; }

/* ------------------------------------------------------------- Reveal-Anim */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--e-out), transform 0.7s var(--e-out); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.06s; }
.reveal[data-d="2"] { transition-delay: 0.12s; }
.reveal[data-d="3"] { transition-delay: 0.18s; }
.reveal[data-d="4"] { transition-delay: 0.24s; }
.reveal[data-d="5"] { transition-delay: 0.30s; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  /* Unter dem Zweispalter: der runde Clay-Fotorahmen bleibt rund (1:1), nur zentriert
     und kleiner, damit die Überschrift sofort sichtbar ist. */
  .hero-visual { aspect-ratio: 1 / 1; width: min(300px, 46%); margin-inline: auto; margin-bottom: 1.2rem; order: -1; }
  /* Kicker-Badge + Überschrift zentriert (nur außerhalb Desktop) */
  .hero-copy .kicker { display: flex; width: fit-content; margin-inline: auto; }
  .hero-copy h1 { text-align: center; }
  .hero-lead { max-width: 56ch; text-align: center; margin-inline: auto; }
  .hero-copy .hero-actions { justify-content: center; }
  .hero-copy .hero-trust { justify-content: center; }
  .cert-card { grid-template-columns: 1fr; text-align: center; }
  .cert-badge img { margin-inline: auto; }
  .cert-body p { margin-inline: auto; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1180px) {
  .nav-links, .nav-cta { display: none; }
  .brand .brand-logo { height: 60px; }
  .brand .brand-name { font-size: 1.2rem; }
  .burger { display: flex; }
  /* Umschalter immer oben sichtbar, rechts gebündelt mit dem Burger */
  .nav-lang { display: inline-flex; margin-left: auto; }
  .nav-mobile {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
    background: #fff; padding: 1.5rem 1.5rem 2.5rem; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.4s var(--e-out); visibility: hidden;
    display: flex; flex-direction: column; gap: 0.3rem;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-mobile { transform: none; visibility: visible; }
  .nav-mobile a { padding: 0.85rem 0.5rem; font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 0.7rem; }
  .nav-mobile a img { width: auto; height: 30px; object-fit: contain; }
  .nav-mobile .m-title { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-dd); font-family: var(--font-display); margin-top: 1.2rem; border: none; padding-bottom: 0.3rem; }
  .nav-mobile .m-instr { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem; }
  .nav-mobile .m-instr a { font-size: 0.95rem; border: none; }
  .nav-mobile .btn { margin-top: 1.2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gtile.big { grid-column: span 2; grid-row: span 2; }
  .gtile.wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  :root { --nav-h: 78px; }
  body { font-size: 1rem; }
  .brand .brand-logo { height: 54px; }
  .hero-visual { width: min(240px, 60%); }
  /* Vollbreite Buttons dürfen mobil schrumpfen + umbrechen, sonst ragt langer Text
     (z. B. „Kostenlose Probestunde buchen") über den Container-Rand → wirkt asymmetrisch */
  .hero-actions .btn, .sub-actions .btn { flex: 1 1 100%; min-width: 0; white-space: normal; }
  .sub-hero-grid { grid-template-columns: 80px 1fr; gap: 1rem; }
  .sub-hero-icon { width: auto; height: 80px; }
  .instr-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .instr-card { padding: 1.1rem 1rem; }
  .instr-icon { width: auto; height: 64px; }
  .instr-card h3 { font-size: 1.05rem; text-align: center; }
  .instr-more { align-self: center; }
  .instr-card p { display: none; }
  /* Mobil: 2×2-Raster statt gequetschter Pill-Reihe – kein Überlauf, gleich große Tabs */
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; width: 100%; border-radius: 20px; padding: 0.45rem; }
  .tab { flex: none; text-align: center; padding: 0.8rem 0.5rem; border-radius: 14px; }
  .tab .u { margin-top: 0.1rem; }
  .hero-trust { flex-direction: row; }
  .hero-trust img { height: 124px; }
  .footer-main { grid-template-columns: 1fr; }
  .cta-inner .hero-actions { flex-direction: column; }
}

@media (max-width: 380px) {
  .instr-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-photo, .marquee { animation: none !important; }
  .hero h1 .hl::after { transform: scaleX(1); }
}

/* Print */
@media print { .site-header, .burger, .cta-band, .hero-visual { display: none; } }

/* ============================================================
   Cookie-Consent (DSGVO, self-hosted)  – siehe js/consent.js
   ============================================================ */
.cc-lock { overflow: hidden; }

/* --- Banner --- */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  display: flex; justify-content: center;
  padding: clamp(.7rem, 2vw, 1.3rem);
  pointer-events: none;
}
.cc[hidden] { display: none; }
.cc-card {
  pointer-events: auto;
  background: #fff; color: var(--ink);
  width: 100%; max-width: 660px;
  border-radius: 20px; padding: 1.35rem 1.5rem 1.4rem;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
  border: 1px solid rgba(0, 0, 0, .06);
}
.cc-card h2 { font-size: 1.18rem; margin: 0 0 .45rem; }
.cc-card p { font-size: .92rem; line-height: 1.5; margin: 0 0 1rem; color: #333; }
.cc-card a { color: var(--green-dd); text-decoration: underline; }
.cc-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }

/* --- Buttons (Akzeptieren / Ablehnen gleichwertig) --- */
.cc-b {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 700; line-height: 1; white-space: nowrap;
  /* asymmetrisch (oben mehr als unten): Gill Sans sitzt bei line-height:1 sonst zu hoch */
  border-radius: 999px; padding: .94rem 1.35rem .70rem;
  border: 2px solid var(--green);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.cc-b:active { transform: translateY(1px); }
.cc-b--fill { background: var(--green); color: #fff; }
.cc-b--fill:hover { background: var(--green-d); border-color: var(--green-d); }
.cc-b--line { background: #fff; color: var(--ink); border-color: #cfd6c2; }
.cc-b--line:hover { border-color: var(--green); }
.cc-b--text {
  border-color: transparent; background: transparent; color: var(--green-dd);
  text-decoration: underline; padding: .94rem .5rem .70rem;
}
.cc-actions .cc-b--fill, .cc-actions .cc-b--line { flex: 1 1 auto; }

/* --- Einstellungs-Modal --- */
.cc-modal {
  position: fixed; inset: 0; z-index: 1001;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(20, 20, 18, .55);
}
.cc-modal[hidden] { display: none; }
.cc-dialog {
  background: #fff; color: var(--ink);
  width: 100%; max-width: 560px; max-height: 90vh; overflow: auto;
  border-radius: 22px; padding: 1.6rem 1.7rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.cc-dialog h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.cc-dialog > p { margin: 0 0 1rem; font-size: .9rem; color: #444; line-height: 1.5; }
.cc-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-top: 1px solid #ececec;
}
.cc-row:first-of-type { border-top: 0; }
.cc-row-txt h3 { margin: 0 0 .2rem; font-size: 1rem; }
.cc-row-txt p { margin: 0; font-size: .84rem; color: #666; line-height: 1.45; }

/* Toggle-Schalter */
.cc-sw { position: relative; flex: 0 0 auto; width: 48px; height: 27px; margin-top: .1rem; }
.cc-sw input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cc-track { position: absolute; inset: 0; background: #c9cec0; border-radius: 999px; transition: background .15s ease; }
.cc-track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: transform .15s ease;
}
.cc-sw input:checked + .cc-track { background: var(--green); }
.cc-sw input:checked + .cc-track::after { transform: translateX(21px); }
.cc-sw input:disabled { cursor: default; }
.cc-sw input:disabled + .cc-track { background: var(--green); opacity: .5; }
.cc-sw input:focus-visible + .cc-track { outline: 2px solid var(--blue-d); outline-offset: 2px; }
.cc-modal-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.cc-modal-actions .cc-b--fill, .cc-modal-actions .cc-b--line { flex: 1 1 auto; }

/* --- Google-Maps 2-Klick --- */
.footer-map { margin-top: 2.4rem; }
.footer-map h4 { margin: 0 0 .9rem; font-size: 1rem; }
.gmap {
  position: relative; border-radius: 18px; overflow: hidden;
  min-height: 300px; background: #e7eaf0;
}
.gmap iframe { display: block; width: 100%; height: 340px; border: 0; }
.gmap-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: .5rem; padding: 1.6rem; background: #eef1e8; color: var(--ink);
}
.gmap.is-loaded .gmap-consent { display: none; }
.gmap-consent .gm-h { font-weight: 700; font-size: 1.05rem; }
.gmap-consent p { max-width: 40ch; margin: 0; font-size: .88rem; color: #4a4a44; line-height: 1.45; }
.gmap-consent .cc-b { margin-top: .4rem; }
.gmap-fine { font-size: .78rem; }
.gmap-fine a { color: var(--green-dd); text-decoration: underline; }

@media (max-width: 560px) {
  .cc-actions .cc-b--fill, .cc-actions .cc-b--line { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-b, .cc-track, .cc-track::after { transition: none; }
}

/* ============================================================ Sprachumschalter DE/EN */
.lang-switch { display: inline-flex; align-items: center; gap: .32rem;
  font-family: var(--font-display); font-weight: 700; font-size: .86rem; line-height: 1; }
.lang-switch button { background: none; border: 0; padding: .22rem .12rem; cursor: pointer;
  color: #a4a49b; line-height: 1; letter-spacing: .02em; transition: color var(--t); }
.lang-switch button[aria-pressed="true"] { color: var(--green-dd); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"]:hover { color: var(--green-dd); }
.lang-switch .lang-sep { color: #cfcfc6; }

/* Im Burger-Menü größer und abgesetzt */
