/* ============================================================
   Musikschule Bachrain / Fulda — Entwurf A "Klang-Spielplatz"
   Gemeinsames Stylesheet für alle Seiten
   Palette: warmes Plum -> Magenta/Violett (Live-Marke)
   Abschnitte:
   1. Design-Tokens
   2. Reset & Base
   3. Reveal (GSAP) + Scroll-Progress
   4. Typografie
   5. Layout-Helfer
   6. Buttons
   7. Header / Navigation  (KONSTANT beim Scrollen)
   8. Hero (dunkel, Three.js) + Marker + Collage + Sticker
   9. Marquee (Laufband)
   10. Duotone-Fotos (Plum)
   11. Bento-Grid
   12. USP-Liste, Cards, Preise, Team, Steps, Bänder, Badges
   13. Formulare
   14. Kontakt (Standorte / Karten-Platzhalter)
   15. Footer
   16. Deko (Blobs, Equalizer)
   17. Responsive
   18. Reduced Motion
   ============================================================ */

/* ---------- 1. DESIGN-TOKENS ---------- */
:root {
  /* Markenfarben (Plum/Magenta – identisch mit Entwurf B) */
  --brand-deep:   #3A2030;   /* dunkles Maroon/Plum – Verlaufsanfang, dunkle Bänder, Footer */
  --brand:        #9C1F78;   /* Magenta-Violett – Primär (CTA, Akzent-Headlines) */
  --brand-bright: #C42A97;   /* kräftiges Magenta – NUR Deko/Highlights, nie Fließtext */
  --brand-mid:    #6E2258;   /* mittleres Violett */
  --ink:          #2A1622;   /* fast-schwarzes Plum – Fließtext */
  --brand-text:   #8A1E69;   /* AA-sicheres Magenta für Links/kleinen Text auf Weiß */
  --bg:           #F8F5F7;   /* sehr helles plum-getöntes Section-BG */
  --surface:      #FFFFFF;   /* Karten */
  --muted:        #6B5560;   /* gedämpftes Mauve-Grau, Sekundärtext */

  /* abgeleitete Töne */
  --brand-wash:   #F3E6EF;   /* helle plum Fläche (Section-BG, Eyebrow, Icons) */
  --brand-tint:   #F8E5F1;   /* helle magenta Fläche */
  --line:         #EAD9E4;   /* zarte plum Trennlinie */
  --hero-grad:    linear-gradient(118deg, #3A2030 0%, #6E2258 48%, #A81E82 100%);

  /* Radien */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-pill: 999px;

  /* Schatten (plum) */
  --shadow-sm: 0 4px 16px rgba(42, 22, 34, 0.07);
  --shadow-md: 0 16px 38px rgba(42, 22, 34, 0.12);
  --shadow-lg: 0 30px 70px rgba(42, 22, 34, 0.20);
  --shadow-brand: 0 12px 26px rgba(156, 31, 120, 0.30);
  --shadow-accent: 0 12px 26px rgba(196, 42, 151, 0.32);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.6rem);

  /* Typo-Skala (fluid) */
  --fs-display: clamp(2.6rem, 7.5vw, 5.4rem);
  --fs-h1: clamp(2rem, 4.8vw, 3.3rem);
  --fs-h2: clamp(1.7rem, 3.6vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 2.2vw, 1.5rem);
  --fs-lead: clamp(1.08rem, 1.6vw, 1.32rem);
  --fs-body: 1.05rem;
  --fs-sm: 0.9rem;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. 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);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Root-Clip: verhindert horizontalen Scroll durch das off-canvas Mobilmenü
   (position:fixed entkommt dem overflow-Kontext von <body>). clip statt hidden,
   damit iOS-Scroll und position:sticky intakt bleiben. */
html { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-text); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--brand); }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. REVEAL (GSAP) + SCROLL-PROGRESS ---------- */
.gsap-on [data-anim],
.gsap-on .section-head,
.gsap-on .card,
.gsap-on .usp-line,
.gsap-on .price-card,
.gsap-on .step,
.gsap-on .band,
.gsap-on .split-media,
.gsap-on .stat,
.gsap-on .bento-tile,
.gsap-on .table-wrap,
.gsap-on .form-card,
.gsap-on .loc-card,
.gsap-on .info-box,
.gsap-on .marquee-wrap,
.gsap-on .page-hero .breadcrumb,
.gsap-on .page-hero .eyebrow,
.gsap-on .page-hero h1,
.gsap-on .page-hero p { visibility: hidden; }

.scroll-progress {
  display: none; /* entfernt: keine Scroll-Animation im Header (Kundenwunsch) */
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  z-index: 1500;
  pointer-events: none;
}

/* ---------- 4. TYPOGRAFIE ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 1rem; }
strong { color: var(--ink); font-weight: 700; }

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-wash);
  padding: 0.42rem 0.95rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.eyebrow--sun { color: var(--brand-text); background: var(--brand-tint); }
.eyebrow--coral { color: var(--brand-deep); background: #EBD3E6; }

.text-center { text-align: center; }

/* ---------- 5. LAYOUT-HELFER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 840px; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--bg { background: var(--bg); }
.section--white { background: var(--surface); }
.section--sky { background: linear-gradient(165deg, var(--brand-wash), #EAD7E6); }

.section-head { max-width: 730px; margin: 0 auto clamp(2rem, 4vw, 3.4rem); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 0; }

.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.98rem 1.8rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease);
  text-align: center;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }

/* Energie-CTA: kräftiges Magenta + weiß (5.1:1 AA) */
.btn--accent { background: var(--brand-bright); color: #fff; box-shadow: var(--shadow-accent); }
.btn--accent:hover { background: #a8237f; color: #fff; }

.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }

.btn--white { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.btn--white:hover { background: var(--brand-wash); color: var(--brand-deep); }

/* Für dunkle Hintergründe (Hero, Bänder) */
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn--lg { padding: 1.12rem 2.2rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- 7. HEADER / NAVIGATION (konstant beim Scrollen) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1rem; padding-block: 0.85rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.1;
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand strong { color: var(--brand); }
.brand .brand-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff url("https://musikschule-bachrain.de/wp-content/uploads/2019/08/logo_musikschule.png") no-repeat left center;
  background-size: cover;
  border: 2px solid var(--brand);
  flex: none;
}
.brand .brand-badge svg { display: none; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.nav-menu { display: flex; align-items: center; gap: 0.3rem; }
.nav-menu a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-menu a:hover { background: var(--brand-wash); color: var(--brand); }
.nav-menu a[aria-current="page"] { color: var(--brand); background: var(--brand-wash); font-weight: 600; }
.nav-cta { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: none;
  background: var(--brand-wash);
  border-radius: 13px;
  cursor: pointer;
  color: var(--brand);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 8. HERO (dunkel, Three.js) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero-grad);   /* Fallback UNTER dem Canvas */
}
.hero-3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.hero-copy { max-width: 620px; }
.hero .eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.1rem;
}
.hero-title .hwmask { display: inline-block; overflow: hidden; vertical-align: top; }
.hero-title .hw { display: inline-block; will-change: transform; }
.hero-title .marked { position: relative; display: inline-block; color: #fff; }
.hero-title .marked .marker {
  position: absolute;
  left: -6%; right: -6%; width: 112%;
  bottom: 0.02em; top: 0.24em; height: auto;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.hero-title .marked .marker path { fill: var(--brand-bright); opacity: 0.8; }
.hero-sub { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.92); margin-bottom: 1.8rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin-top: 2.4rem; }
.hero-stats .stat-num { color: #fff; }
.hero-stats .stat-label { color: rgba(255, 255, 255, 0.72); }

/* Hero-Collage */
.hero-collage { position: relative; aspect-ratio: 1 / 1; min-height: 340px; }
.collage-panel {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}
.collage-panel.p1 { width: 60%; height: 62%; left: 0; top: 6%; transform: rotate(-5deg); z-index: 2; }
.collage-panel.p2 { width: 50%; height: 52%; right: 2%; top: 0; transform: rotate(5deg); z-index: 3; }
.collage-panel.p3 { width: 46%; height: 44%; right: 8%; bottom: 2%; transform: rotate(-3deg); z-index: 2; }
.collage-panel img { width: 100%; height: 100%; object-fit: cover; }

.sticker {
  position: absolute;
  z-index: 5;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  will-change: transform;
}
.sticker.s1 { top: 2%; left: 4%; background: #fff; color: var(--brand); transform: rotate(-6deg); }
.sticker.s2 { bottom: 16%; left: -2%; background: var(--brand); color: #fff; transform: rotate(4deg); }
.sticker.s3 { bottom: 0; right: 4%; background: var(--brand-bright); color: #fff; transform: rotate(-4deg); }

/* Page-Hero (Innenseiten) */
.page-hero {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.page-hero .container { padding-block: clamp(3rem, 7vw, 5rem); position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: var(--fs-h1); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: var(--fs-lead); max-width: 60ch; margin-bottom: 0; }
.page-hero .eyebrow { background: rgba(255,255,255,0.16); color: #fff; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.78); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.92); }
.breadcrumb a:hover { color: #fff; }

/* Wellen-Trenner */
.wave { display: block; width: 100%; line-height: 0; }
.wave svg { display: block; width: 100%; height: auto; }

/* ---------- 9. MARQUEE (Laufband) ---------- */
.marquee-wrap {
  overflow: hidden;
  background: var(--brand-deep);
  color: #fff;
  padding-block: 0.9rem;
  border-top: 3px solid var(--brand-bright);
  border-bottom: 3px solid var(--brand-bright);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
}
.marquee-track span::after { content: "\266A"; color: var(--brand-bright); font-size: 0.8em; }
.marquee-track .outline {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255,255,255,0.85);
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10. DUOTONE-FOTOS (Plum) ---------- */
.duotone { position: relative; overflow: hidden; isolation: isolate; }
.duotone img { filter: grayscale(1) contrast(1.05) brightness(1.03); }
.duotone::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--brand-deep); mix-blend-mode: multiply;
}
.duotone::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--brand-bright); mix-blend-mode: screen; opacity: 0.45;
}

/* ---------- 11. BENTO-GRID ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 158px;
  grid-auto-flow: row dense;
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
  perspective: 1200px;
}
.bento-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.2rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease);
  transform-style: preserve-3d;
  min-height: 0;
}
.bento-tile:hover { box-shadow: var(--shadow-lg); }
.bento-tile.b-feature { grid-column: span 2; grid-row: span 2; }
.bento-tile.b-wide { grid-column: span 2; }
.bento-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.bento-tile:hover .bento-img { transform: scale(1.07); }
.bento-tile.bento-photo .bento-img { filter: grayscale(1) contrast(1.06) brightness(1.03); }
.bento-tile.bento-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--brand-deep); mix-blend-mode: multiply; }
.bento-tile.solid-petrol { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); }
.bento-tile.solid-sky { background: linear-gradient(150deg, var(--brand-bright), var(--brand)); }
.bento-tile.solid-red { background: linear-gradient(150deg, var(--brand-bright), var(--brand-mid)); }
.bento-emoji {
  position: absolute; top: 0.7rem; right: 0.9rem; z-index: 1;
  font-size: clamp(2rem, 4vw, 3rem);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}
.bento-ghost {
  position: absolute; top: -0.35em; right: 0.1em; z-index: 0;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(4rem, 9vw, 7rem);
  color: rgba(255,255,255,0.14); line-height: 1;
  pointer-events: none;
}
.bento-label { position: relative; z-index: 3; text-shadow: 0 2px 12px rgba(42,22,34,0.6); }
.bento-kicker {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 0.1rem;
}
.bento-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.bento-tile.b-feature .bento-name { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.bento-teaser { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.92); margin-top: 0.35rem; max-width: 30ch; text-shadow: 0 1px 8px rgba(42,22,34,0.7); }
.bento-tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(to top, rgba(42,22,34,0.66), transparent);
  z-index: 1;
}
.bento-tile.b-solid::after { display: none; }

/* ---------- Bento „innen drin" – cooler Hover ---------- */
.bento-label { transition: transform 0.45s var(--ease); }
.bento-kicker { transition: color 0.35s var(--ease); }
.bento-emoji { transition: transform 0.45s var(--ease); }
.bento-ghost { transition: transform 0.5s var(--ease), color 0.4s var(--ease); }
.bento-tile.bento-photo::before { transition: opacity 0.4s var(--ease); }

.bento-tile:hover .bento-label { transform: translateY(-6px); }
.bento-tile:hover .bento-kicker { color: #fff; }
.bento-tile.bento-photo:hover::before { opacity: 0.72; }
.bento-tile.b-solid:hover .bento-emoji { transform: scale(1.2) rotate(-8deg); }
.bento-tile.b-solid:hover .bento-ghost { transform: scale(1.12) translateX(-4px); color: rgba(255,255,255,0.24); }

/* Teaser klappt bei Hover auf; auf Touch/ohne Hover dauerhaft sichtbar */
.bento-teaser {
  max-height: 0; opacity: 0; margin-top: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin-top 0.4s var(--ease);
}
.bento-tile:hover .bento-teaser { max-height: 7em; opacity: 1; margin-top: 0.35rem; }
@media (hover: none) {
  .bento-teaser { max-height: 7em; opacity: 1; margin-top: 0.35rem; }
}

/* ---------- Bento: animiertes Equalizer-SVG (Musik-Motiv, Endlos-Loop) ---------- */
.bento-eq {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 3;
  width: 42px; height: 22px; color: #fff; opacity: 0.82;
  pointer-events: none;
}
.bento-eq svg { display: block; width: 100%; height: 100%; fill: currentColor; overflow: visible; }
.bento-eq rect { transform-box: fill-box; transform-origin: 50% 100%; animation: bentoEq 1s ease-in-out infinite; }
.bento-eq rect:nth-child(1) { animation-duration: 0.90s; animation-delay: -0.20s; }
.bento-eq rect:nth-child(2) { animation-duration: 1.25s; animation-delay: -0.50s; }
.bento-eq rect:nth-child(3) { animation-duration: 0.80s; animation-delay: -0.10s; }
.bento-eq rect:nth-child(4) { animation-duration: 1.10s; animation-delay: -0.35s; }
.bento-eq rect:nth-child(5) { animation-duration: 0.95s; animation-delay: -0.60s; }
.bento-tile:hover .bento-eq { opacity: 1; }
.bento-tile:hover .bento-eq rect { animation-duration: 0.5s; }
@keyframes bentoEq { 0%, 100% { transform: scaleY(0.28); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .bento-eq rect { animation: none; transform: scaleY(0.55); }
}

/* ---------- 12. USP-LISTE, CARDS, PREISE, TEAM ... ---------- */

/* USP mit Persönlichkeit: Equalizer-Bullet + Geister-Ziffer */
.usp-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.9rem, 2vw, 1.3rem); }
/* Sticky-Split-Story "DU suchst" (Desktop ab 861px): Head bleibt stehen, Liste scrollt vorbei */
@media (min-width: 861px) {
  .usp-split { display: grid; grid-template-columns: minmax(260px, 0.85fr) 1.5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .usp-split .section-head { position: sticky; top: 14vh; text-align: left; margin: 0; max-width: none; }
  .usp-split .usp-list { grid-template-columns: 1fr; }
}
.usp-line {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-left-color 0.25s var(--ease);
}
.usp-line:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-left-color: var(--brand-bright); }
.usp-line:nth-child(even) { border-left-color: var(--brand-bright); }
.usp-line:nth-child(even):hover { border-left-color: var(--brand); }
.usp-line p { margin: 0; font-weight: 500; color: var(--ink); font-size: 0.98rem; position: relative; z-index: 1; }
.usp-line .usp-ghost {
  position: absolute; right: 0.7rem; bottom: -1.4rem;
  font-family: var(--font-head); font-weight: 800;
  font-size: 4.6rem; color: rgba(156,31,120,0.09); line-height: 1;
  pointer-events: none; z-index: 0;
}
.eq { flex: none; display: inline-flex; align-items: flex-end; gap: 3px; height: 30px; width: 34px; }
.eq span { width: 5px; background: var(--brand); border-radius: 3px; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.eq span:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.eq span:nth-child(2) { height: 90%; animation-delay: -0.5s; background: var(--brand-bright); }
.eq span:nth-child(3) { height: 60%; animation-delay: -0.1s; background: var(--brand-mid); }
.eq span:nth-child(4) { height: 100%; animation-delay: -0.7s; }
@keyframes eq { 0%,100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 16px;
  font-size: 1.7rem; margin-bottom: 1rem;
  background: var(--brand-wash);
}
.card-icon--sun { background: var(--brand-tint); }
.card-icon--coral { background: var(--brand-wash); }

/* Instrument-Karte (Bild oben) */
.inst-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.inst-card .inst-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.inst-card .inst-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inst-card .inst-media .inst-emoji { font-size: 3rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2)); position: relative; z-index: 3; }
.inst-card .inst-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; background: var(--surface); position: relative; z-index: 3; }
.inst-card .inst-body h3 { margin-bottom: 0.35rem; }
.inst-card .inst-body p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1rem; }
.inst-card .inst-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.inst-card .inst-link::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.inst-card:hover .inst-link::after { transform: translateX(4px); }

.badge {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.03em;
  padding: 0.3rem 0.78rem; border-radius: var(--r-pill);
  background: var(--brand-bright); color: #fff;
}
.badge--coral { background: var(--brand); color: #fff; }
.badge--petrol { background: var(--brand-deep); color: #fff; }

/* Split (Text + Media) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  display: grid; place-items: center;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Preis-Karten */
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative; height: 100%;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.price-card .price-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.price-card h3 { margin-bottom: 0.15rem; }
.price-card .price-meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; }
.price-amount { font-family: var(--font-head); font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 1rem; }
.price-amount .num { font-size: 2.6rem; }
.price-amount .per { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.price-list { margin: 0 0 1.4rem; display: grid; gap: 0.55rem; }
.price-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.price-list li::before { content: "\2713"; color: var(--brand); font-weight: 800; flex: none; }
.price-card .btn { margin-top: auto; }

/* Tabelle */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: var(--surface); }
table.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td { padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; }
.price-table thead th:first-child { border-top-left-radius: var(--r-lg); }
.price-table thead th:last-child { border-top-right-radius: var(--r-lg); text-align: right; }
.price-table tbody tr:nth-child(even) { background: var(--bg); }
.price-table tbody tr:hover { background: var(--brand-wash); }
.price-table td:last-child { text-align: right; font-family: var(--font-head); font-weight: 700; color: var(--brand); white-space: nowrap; }
.price-table tbody tr:last-child td { border-bottom: none; }

/* Team */
.team-card { text-align: center; }
.avatar {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1rem;
  font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff;
}
.avatar--1 { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.avatar--2 { background: linear-gradient(135deg, var(--brand-bright), var(--brand-mid)); }
.avatar--3 { background: linear-gradient(135deg, var(--brand-mid), var(--brand-deep)); }
.avatar--4 { background: linear-gradient(135deg, var(--brand), var(--brand-bright)); }
.team-card .role { color: var(--brand); font-weight: 600; font-size: 0.9rem; font-family: var(--font-head); margin-bottom: 0.5rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.4rem 1.5rem 1.4rem 4.6rem;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.2rem; top: 1.2rem;
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  color: #fff; font-family: var(--font-head); font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 0.25rem; }
.step p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }

/* Check-Liste */
.check-list { display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list li::before {
  content: "\2713"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-wash); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; margin-top: 2px;
}

/* Info-Box */
.info-box { background: var(--brand-wash); border: 1px solid #E6D2E0; border-radius: var(--r-md); padding: 1.3rem 1.5rem; }
.info-box--sun { background: var(--brand-tint); border-color: #F0CFE5; }
.info-box p:last-child { margin-bottom: 0; }

/* Stat-Reihe / Count-up */
.stats { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.stat .stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--brand); line-height: 1; }
.stat .stat-label { font-size: 0.9rem; color: var(--muted); }

/* Bänder / Sticker-Blöcke */
.band { border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem); color: #fff; position: relative; overflow: hidden; }
.band--sun { background: linear-gradient(120deg, var(--brand-wash), #EAD7E6); color: var(--ink); }
.band--petrol { background: var(--hero-grad); }
.band--coral { background: linear-gradient(120deg, var(--brand-bright), var(--brand)); color: #fff; }
.band-flex { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; }
.band-flex .band-text { flex: 1 1 360px; }
.band h2 { color: inherit; margin-bottom: 0.4rem; }
.band p { margin-bottom: 0; opacity: 0.96; }
.relative { position: relative; z-index: 1; }

/* ---------- 13. FORMULARE ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.5rem); box-shadow: var(--shadow-md); }
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field label .req { color: var(--brand-bright); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(156, 31, 120, 0.14);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239C1F78' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.checkbox-field { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.checkbox-field input { width: auto; margin-top: 3px; }
.form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- 14. KONTAKT (Standorte / Karten-Platzhalter) ---------- */
.loc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.map-placeholder { aspect-ratio: 16 / 9; position: relative; background: linear-gradient(135deg, var(--brand-wash), #EAD7E6); display: grid; place-items: center; overflow: hidden; }
.map-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(156,31,120,0.10) 2px, transparent 2px),
    linear-gradient(0deg, rgba(156,31,120,0.10) 2px, transparent 2px),
    linear-gradient(120deg, rgba(196,42,151,0.28) 6px, transparent 6px);
  background-size: 48px 48px, 48px 48px, 220px 220px;
}
.map-pin { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; padding: 0.55rem 1rem; border-radius: var(--r-pill); box-shadow: var(--shadow-md); }
.map-pin svg { width: 18px; height: 18px; }
.loc-card .loc-body { padding: 1.5rem 1.6rem 1.7rem; }
.loc-card .loc-body h3 { margin-bottom: 0.25rem; }
.loc-card .loc-body address { font-style: normal; color: var(--muted); line-height: 1.6; }

.contact-lines { display: grid; gap: 0.9rem; margin: 1.2rem 0; }
.contact-line { display: flex; gap: 0.85rem; align-items: center; }
.contact-line .ci { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-wash); color: var(--brand); display: grid; place-items: center; }
.contact-line .ci svg { width: 22px; height: 22px; }
.contact-line span { font-size: 0.82rem; color: var(--muted); display: block; }
.contact-line strong { display: block; font-size: 1.02rem; color: var(--ink); }
.contact-line a { color: var(--ink); }
.contact-line a:hover { color: var(--brand); }

/* ---------- 15. FOOTER ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,0.82); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand strong { color: var(--brand-bright); }
.footer-brand .brand-sub { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; font-size: 0.95rem; }
.footer-loc { margin-bottom: 1.2rem; }
.footer-loc strong { color: #fff; display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.footer-loc span { font-size: 0.92rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,0.10); display: grid; place-items: center; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-rating { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.9rem; }
.footer-rating .stars { color: var(--brand-bright); letter-spacing: 1px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 16. DEKO ---------- */
.deco-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.55; z-index: 0; pointer-events: none; }
.blob-sky { background: radial-gradient(circle, rgba(196,42,151,0.42), transparent 70%); }
.blob-sun { background: radial-gradient(circle, rgba(156,31,120,0.45), transparent 70%); }
.blob-coral { background: radial-gradient(circle, rgba(196,42,151,0.4), transparent 70%); }

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 520px; margin-inline: auto; min-height: 300px; aspect-ratio: 5 / 4; }
  .usp-list { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column; align-items: stretch; gap: 0.3rem;
    background: #fff; padding: 6rem 1.4rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin: 0.6rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(42,22,34,0.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease); z-index: 99; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .bento-tile.b-feature { grid-column: span 2; grid-row: span 2; }
  .bento-tile.b-wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .band-flex { flex-direction: column; align-items: flex-start; }
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .marquee-track { animation-duration: 20s; }
  .collage-panel.p3 { display: none; }
  .sticker.s2 { display: none; }
}

/* ---------- 18. REDUCED MOTION ---------- */
@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;
  }
  .marquee-track { animation: none !important; transform: none !important; }
  .eq span { animation: none !important; }
  .hero-title .marked .marker { transform: scaleX(1) !important; }
}
