/* Drumstudio Schriesheim – Gestaltung nach Entwurf C „Bühne“
   Rhythmus: Einstieg dunkel · Über mich hell · Leitsatz rot · Unterrichts-
   inhalte dunkel · Unterrichtsformen + Preise hell · Studio dunkel ·
   Schülerstimmen hell · Kontakt dunkel (aufklappbar).

   Schrift: Archivo (lokal, variabel), feste Breiten:
     Claim 750 / 87,5 % · H2 700 / 87,5 % · H3 650 · Text 400
   Markenrot (--brand-red) für Handlung, Fokus, Probestunde und das Leitsatzband. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --brand-red: #FF1919;
  --night: #161514;
  --night-2: #1F1E1C;
  --paper: #F3EFE7;
  --tint: #E9E3D8;
  --ink: #1A1918;
  --ink-deep: #141312;
  --muted: #5B5650;
  --line: #CFC7BA;
  --on-night: #F3EFE7;
  --on-night-muted: #ADA79D;
  --line-night: #3A3734;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(1rem, 4.5vw, 3rem);
  --gap: clamp(1rem, 2.4vw, 2rem);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --section: clamp(4rem, 8vw, 7rem);
  /* Oberer Abstand aller Inhaltsabschnitte mit Label: Abschnittsgrenze → Oberkante Label
     (Desktop 8 px, mobil 4 px kleiner als --section) */
  --section-top: clamp(3.75rem, calc(8vw - 0.5rem), 6.5rem);

  --fs-small: 0.8125rem;
  --fs-meta: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.1875rem, 1.5vw, 1.375rem);
  --fs-h3: 1.375rem;
  --fs-h2: clamp(2.25rem, 3.6vw, 3.25rem);

  --head-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 0; }
/* Sprungmarken weich anfahren; Maus-, Trackpad- und Touch-Scrollen bleiben nativ */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Sprungziele: Rundung des Browsers (ganze Pixel) fällt in den Zielabschnitt, nie in den vorherigen */
main > section { scroll-margin-top: -0.5px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
}
@media (min-width: 720px) { body { font-size: 1.125rem; } }

img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, dl, dd, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--brand-red); }
:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 30; padding: 0.6rem 1rem; background: var(--paper); color: var(--ink); }
.skip:focus { top: 0.5rem; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* --- Bausteine ------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid var(--brand-red);
  border-radius: 0;
  background: var(--brand-red);
  color: var(--ink-deep);
  font: 650 1rem/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: transparent; color: var(--ink); }
.stage .button:hover, .contact .button:hover { color: var(--on-night); }

.label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.label::before { content: ""; width: 1.5rem; height: 2px; background: var(--brand-red); }
.label-dark { color: var(--on-night-muted); }

.h2 { font-size: var(--fs-h2); font-weight: 700; font-stretch: 87.5%; line-height: 1.05; letter-spacing: -0.01em; }
.h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.2; }
.h4 { display: block; font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
.meta { color: var(--muted); font-size: var(--fs-meta); line-height: 1.45; }
.meta-strong { color: var(--ink); font-weight: 650; }
.section-head { margin-bottom: 2.25rem; }
@media (min-width: 1024px) { .section-head { margin-bottom: 2.75rem; } }


/* --- Kopf ----------------------------------------------------------------- */

/* Unter 900 px läuft der Kopf mit; ohne JavaScript bleibt ein geöffnetes
   details-Menü am Seitenanfang statt über dem angesprungenen Ziel. */
.top { position: relative; z-index: 20; background: var(--night); color: var(--on-night); border-bottom: 1px solid var(--line-night); }
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--head-h); padding-inline: var(--edge); }
.brand { flex: none; }
/* Optische Mitte: das große „DRUMSTUDIO“ macht die Grafik kopflastig; Schwerpunkt
   (Zeile 78,6 von 193) auf die Kopfzeilenmitte legen = 2,7 % der Logobreite tiefer */
.brand img { position: relative; top: 3px; width: 125px; height: auto; }

.nav { display: none; }
.nav a { padding: 0.5rem 0.7rem; font-size: 0.875rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--brand-red); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

.nav-small { display: flex; align-items: center; gap: 0.5rem; }
.menu summary {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--on-night-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.6rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}
.menu[open] summary { background: var(--on-night); color: var(--ink); }
.menu[open] summary::after { transform: translateY(0.15rem) rotate(-135deg); }
.menu nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.25rem var(--gutter) 1.25rem;
  background: var(--night);
  border-bottom: 1px solid var(--line-night);
}
.menu nav a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-night);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-width: 359px) {
  .brand img { width: 120px; }
  .top-bar { gap: 0.5rem; }
  .nav-small { gap: 0.15rem; }
  .menu summary { padding: 0 0.6rem; }
  .menu summary::after { margin-left: 0.4rem; }
}

@media (min-width: 900px) {
  :root { --head-h: 4.5rem; }
  /* Sprungziel direkt unter dem Sticky Header (Höhe + 1 px Unterkante) */
  html { scroll-padding-top: calc(var(--head-h) + 1px); }
  .top { position: sticky; top: 0; }
  .brand img { top: 4px; width: 152px; }
  .nav { display: flex; align-items: center; gap: 0.1rem; }
  .nav-small { display: none; }
}

/* --- Einstieg ------------------------------------------------------------- */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* Text wächst in den freien Raum, Foto bleibt in natürlicher Proportion */
  grid-template-rows: 1fr auto;
  /* mindestens die sichtbare Höhe abzüglich Kopfzeile (inkl. 1 px Linie);
     100vh als Fallback, svh für mobile Browserleisten. Darf länger werden. */
  min-height: calc(100vh - var(--head-h) - 1px);
  min-height: calc(100svh - var(--head-h) - 1px);
  background: var(--night);
  color: var(--on-night);
}
.stage-copy {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6svh, 4rem) var(--gutter) clamp(2.25rem, 6svh, 4rem);
}
.kicker { margin-bottom: 1rem; color: var(--on-night-muted); font-size: var(--fs-small); font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase; }

/* „Schlagzeugunterricht“ bei 750 / 87,5 % ≈ 9,2 em breit */
.claim { font-size: clamp(1.875rem, 10.4cqi, 5rem); font-weight: 750; font-stretch: 87.5%; line-height: 1; letter-spacing: -0.015em; }
.claim span { display: block; }
.stage-lead { max-width: 30rem; margin-top: clamp(1.25rem, 3svh, 2rem); color: var(--on-night-muted); font-size: var(--fs-lead); line-height: 1.5; }
.stage-trial { display: flex; align-items: center; gap: 0.6rem; margin: clamp(1.5rem, 4svh, 2.5rem) 0 1rem; font-weight: 650; }
.stage-trial::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; background: var(--brand-red); }
.stage-copy .button { width: 100%; }
.stage-copy > * { max-width: 100%; }
/* Bild immer in natürlicher Proportion: kein zusätzlicher Beschnitt */
.stage-photo img { width: 100%; height: auto; }

@media (min-width: 600px) { .stage-copy .button { width: auto; align-self: flex-start; } }

@media (min-width: 1200px) {
  /* Außenkante | Text | Querformat-Foto bis an den Rand. Erst ab 1200 px
     nebeneinander, damit das Foto in natürlicher Proportion die Textblock-
     höhe erreicht; darunter Text über Bild. */
  .stage { grid-template-columns: var(--edge) minmax(0, 0.82fr) minmax(0, 1fr); grid-template-rows: 1fr; align-items: stretch; }
  .stage-copy { grid-column: 2; padding: 3rem clamp(2rem, 4vw, 4rem) 3rem 0; }
  /* Foto füllt die volle Einstiegshöhe; Ausschnitt um Becken und Bassdrum */
  .stage-photo { grid-column: 3; position: relative; min-height: 26rem; }
  .stage-photo picture, .stage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .stage-photo img { object-fit: cover; object-position: 52% 50%; }
}

/* --- Gemeinsamer oberer Abstand aller Inhaltsabschnitte mit Label ------- */

.ole, .levels, .forms, .prices, .studio, .voices { padding-top: var(--section-top); }

/* --- Über mich ------------------------------------------------------------ */

.ole { padding-bottom: var(--section); }
.ole-text { max-width: 38rem; }
.ole-text .h2 { margin-bottom: 1.25rem; }
.ole-text p + p { margin-top: 1.1rem; }
/* Mobil: Label, Überschrift, Text, dann das Porträt (quadratisch, natürliche Proportion) */
/* Porträt auf allen Breiten ≈ 10 % niedriger: 95 % Breite, Format 21 : 20 (unten etwas Pullover weg) */
.ole-photo { width: 95%; margin-top: 2.25rem; max-width: 28.5rem; }
.ole-photo img { width: 100%; height: auto; aspect-ratio: 21 / 20; object-fit: cover; object-position: 50% 0; }

/* Drei Aussagen mit Linienicons */
.facts { display: grid; margin-top: 3rem; border-top: 2px solid var(--ink); }
.facts li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}
.icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--brand-red);
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

@media (min-width: 900px) {
  /* Zwei Spalten im Verhältnis 7 : 5 mit festem Zwischenraum (statt Lücke zwischen
     schmaler Textspalte und rechtsbündigem Bild); Bildoberkante = Versalhöhe der H2 */
  .ole-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 4.5vw, 4rem); align-items: start; }
  .ole-text { grid-column: 1; grid-row: 1; max-width: none; }
  /* Porträt 88 % der Bildspalte (−12 %), links an der Spalte: Abstand zum Text bleibt gleich */
  /* Porträt ≈ 10 % niedriger als zuvor: 5 % schmaler (83,6 % der Spalte) und Format 21 : 20,
     d. h. unten ca. 5 % Pullover weggelassen; Haaransatz und Kinn bleiben vollständig */
  /* Breite höchstens 24,5 rem: auf breiten Bildschirmen endet das Porträt etwa auf Höhe des Textblocks */
  .ole-photo { grid-column: 2; grid-row: 1; justify-self: start; width: 83.6%; max-width: 24.5rem; margin-top: calc(2.25rem + var(--fs-h2) * 0.205); }
  .facts { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; }
  .facts li { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.5rem clamp(1rem, 2.5vw, 2.25rem) 0.25rem 0; border-bottom: 0; }
  .facts li + li { padding-left: clamp(1rem, 2.5vw, 2.25rem); border-left: 1px solid var(--line); }
}

/* --- Leitsatz (rotes Band) ------------------------------------------------ */

.motto {
  --slant: clamp(0.75rem, 1.8vw, 1.6rem);
  background: var(--brand-red);
  color: var(--ink-deep);
  padding-block: calc(clamp(1.75rem, 3.5vw, 2.75rem) + var(--slant)) clamp(1.75rem, 3.5vw, 2.75rem);
  /* nur die Fläche schräg: links tiefer, rechts bündig */
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}
.motto-text {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 750;
  font-stretch: 87.5%;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}

/* --- Unterrichtsinhalte (dunkel) ------------------------------------------ */

.levels { background: var(--night); color: var(--on-night); padding-bottom: var(--section); }
.level-grid { display: grid; gap: 2.5rem calc(var(--gap) * 2); }
.level { padding-top: 1.1rem; border-top: 1px solid var(--line-night); }
.level-question { margin: 0.5rem 0 1.25rem; color: var(--on-night-muted); max-width: 24rem; }
.topics-box { border-top: 1px solid var(--line-night); }
.topics-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 0.55rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.topics-box summary::-webkit-details-marker { display: none; }
.topics-box summary:hover { color: var(--on-night); text-decoration: underline; text-decoration-color: var(--brand-red); text-underline-offset: 0.25em; }
.pm-small { position: relative; flex: none; width: 0.85rem; height: 0.85rem; }
.pm-small::before, .pm-small::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--brand-red); transform: translate(-50%, -50%); }
.pm-small::before { width: 0.85rem; height: 2px; }
.pm-small::after { width: 2px; height: 0.85rem; }
.topics-box[open] .pm-small::after { display: none; }
.topics { padding: 0.25rem 0 0.5rem; font-size: 1rem; line-height: 1.55; }
.topics li { position: relative; padding: 0.2rem 0 0.2rem 1.1rem; }
.topics li::before { content: ""; position: absolute; left: 0.1rem; top: 0.82em; width: 0.32rem; height: 0.32rem; background: var(--on-night-muted); }
@media (min-width: 720px) { .level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }

/* --- Unterrichtsformen (getönt) ------------------------------------------- */
/* Gemeinsame Regel für alle Einträge mit Linie (Probestunde und die drei Formen):
   Linie → Überschrift 2,25 rem · Überschrift → Angabe 0,4 rem ·
   Angabe → Beschreibung 0,75 rem · Beschreibung → Button 1,25 rem */

.forms { --rule-gap: 2.25rem; background: var(--tint); padding-bottom: var(--section); }
.forms .h3 { line-height: 1.2; }
.forms .meta { margin-top: 0.4rem; }

.form-trial { display: grid; padding-top: var(--rule-gap); margin-bottom: 2.75rem; border-top: 3px solid var(--brand-red); }
.form-trial-photo { max-width: 34rem; margin-top: 1rem; }
.form-trial-photo img { width: 100%; height: auto; }
.form-trial-text { max-width: 38rem; margin-top: 0.75rem; }
.form-trial-photo + .form-trial-text { margin-top: 1rem; }
.form-trial-action { margin-top: 1.25rem; }

.form-list { display: grid; }
.form { padding: var(--rule-gap) 0 1.75rem; border-top: 1px solid var(--line); }
.form .meta + p { margin-top: 0.75rem; }
.form p:last-child { max-width: 36rem; }

@media (min-width: 720px) {
  .form-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: calc(var(--gap) * 1.5); }
  .form { padding-bottom: 0; border-top-width: 2px; border-top-color: var(--ink); }
}
@media (min-width: 1024px) {
  .form-trial {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    column-gap: var(--gap);
    align-items: start;
    margin-bottom: 3.25rem; /* Abstand Probestunde → Schnupperstunden (+0,5 rem) */
  }
  /* Bild 5 von 12 Spalten (≈ 42 %), Oberkante = Oberkante „Probestunde“ */
  .form-trial-photo { grid-column: 1 / 6; grid-row: 1 / 4; max-width: none; margin-top: 0.2rem; }
  .form-trial-name { grid-column: 6 / -1; grid-row: 1; padding-left: var(--gap); }
  .form-trial-text, .form-trial-photo + .form-trial-text { grid-column: 6 / -1; grid-row: 2; padding-left: var(--gap); margin-top: 0.75rem; }
  .form-trial-action { grid-column: 6 / -1; grid-row: 3; padding-left: var(--gap); }
}

/* --- Preise --------------------------------------------------------------- */

.prices { background: var(--paper); padding-bottom: var(--section); }
.price-grid { display: grid; align-items: start; gap: 2.75rem calc(var(--gap) * 2); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { padding-bottom: 0.9rem; text-align: left; }
.caption-note { display: block; margin-top: 0.15rem; color: var(--muted); font-size: var(--fs-meta); }
thead th { padding: 0 0 0.45rem; border-bottom: 2px solid var(--ink); color: var(--muted); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-align: left; text-transform: uppercase; }
thead th:last-child { text-align: right; }
.price-table tbody th { padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.price-table td { padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 700; font-stretch: 87.5%; line-height: 1.1; text-align: right; white-space: nowrap; }
.gift-note { margin-top: 1.1rem; font-weight: 650; }

@media (min-width: 720px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-single { grid-column: 1 / -1; max-width: calc(50% - var(--gap)); }
}
@media (min-width: 1024px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-single { grid-column: auto; max-width: none; }
}

/* --- Studioeinblicke: feste Flächen, ein Bild wechselt per Überblendung --- */

.studio { background: var(--night); color: var(--on-night); padding-bottom: var(--section); }
.studio-head { margin-bottom: 2.25rem; }
@media (min-width: 1024px) { .studio-head { margin-bottom: 2.75rem; } } /* wie .section-head */

/* Mobil: eine große Fläche, darunter zwei kleine */
.studio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.slot { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--night-2); }
.s1 { grid-column: 1 / -1; }
.s4, .s5 { display: none; }
.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.layer.is-front { opacity: 1; }

@media (min-width: 720px) {
  /* Tablet und Desktop: große Fläche links über zwei Reihen, zwei rechts, zwei unten */
  .studio-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .slot { aspect-ratio: auto; min-height: 0; }
  .s1 { grid-column: 1 / 8; grid-row: 1 / 3; aspect-ratio: 3 / 2; }
  .s2 { grid-column: 8 / -1; grid-row: 1; }
  .s3 { grid-column: 8 / -1; grid-row: 2; }
  .s4, .s5 { display: block; grid-row: 3; aspect-ratio: 16 / 9; }
  .s4 { grid-column: 1 / 7; }
  .s5 { grid-column: 7 / -1; }
}

/* --- Schülerstimmen: kompaktes Karussell mit Punkten ----------------- */

.voices { padding-bottom: clamp(3rem, 5.5vw, 4.5rem); }
/* gemeinsame linke Inhaltskante; nur die Lesebreite ist begrenzt, freie Fläche rechts */
.voices-wrap > * { max-width: 46rem; }
.voices .section-head { margin-bottom: 1.25rem; }
.carousel { border-top: 3px solid var(--brand-red); }

/* Ohne JavaScript: alle Stimmen untereinander */
.slide { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.slide blockquote { font-size: clamp(1.1875rem, 1.8vw, 1.5rem); line-height: 1.5; }
.slide blockquote::before { content: "„"; }
.slide blockquote::after { content: "“"; }
.slide figcaption { margin-top: 0.6rem; font-size: 0.875rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }

/* Mit JavaScript: Stimmen nebeneinander, Ausschnitt zeigt eine; Höhe folgt der aktiven */
.carousel.is-enhanced .slides-viewport { overflow: hidden; transition: height 0.35s ease; }
.carousel.is-enhanced .slides { display: flex; align-items: flex-start; transition: transform 0.6s ease; }
.carousel.is-enhanced .slide { flex: 0 0 100%; min-width: 0; padding: 1.25rem 0 0.75rem; border-bottom: 0; }

.dots { display: flex; gap: 0; margin-left: -13px; } /* sichtbarer Punkt bündig mit der Textkante */
.dots[hidden] { display: none; }
.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dot span { width: 0.65rem; height: 0.65rem; border: 2px solid var(--brand-red); background: var(--brand-red); }
.dot[aria-current="true"] span { background: var(--paper); }
.dot:not([aria-current="true"]):hover span { background: var(--ink-deep); border-color: var(--ink-deep); }
.dot:focus-visible { outline-offset: -4px; }

/* --- Kontakt (aufklappbar, dunkel) ---------------------------------------- */

.contact { background: var(--night-2); color: var(--on-night); }
.contact-summary {
  display: block;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid var(--line-night);
}
.contact-summary::-webkit-details-marker { display: none; }
.contact-summary-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.contact-summary-title { font-size: clamp(1.625rem, 3.2vw, 2.5rem); font-weight: 700; font-stretch: 87.5%; line-height: 1.1; }
.contact-summary:hover .contact-summary-title { text-decoration: underline; text-decoration-color: var(--brand-red); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
/* Plus/Minus aus zwei Balken */
.pm { position: relative; flex: none; width: 3rem; height: 3rem; border: 2px solid var(--brand-red); background: var(--brand-red); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink-deep); transform: translate(-50%, -50%); }
.pm::before { width: 1.25rem; height: 3px; }
.pm::after { width: 3px; height: 1.25rem; }
.contact-box[open] .pm::after { display: none; }
.contact-box[open] > .contact-summary { border-bottom-color: transparent; }

.contact-grid { padding-block: 1rem var(--section); }
.contact-trial { display: flex; align-items: center; gap: 0.6rem; margin: 1.1rem 0 0.6rem; font-weight: 650; }
.contact-hint { max-width: 36rem; margin-bottom: 1.75rem; color: var(--on-night-muted); }
.contact-trial::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; background: var(--brand-red); }

.notice { margin-bottom: 1.75rem; padding: 1rem 1.1rem; border-left: 4px solid; background: var(--night); }
.notice-ok { border-color: var(--on-night); }
.notice-error { border-color: var(--brand-red); }
.notice p { font-weight: 650; }
.notice ul { margin-top: 0.5rem; padding-left: 1.1rem; list-style: square; }
.notice a { color: var(--on-night); }

.request { display: grid; gap: 1.25rem; max-width: 40rem; }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 650; }
.req, .opt { margin-left: 0.4rem; color: var(--on-night-muted); font-size: var(--fs-small); font-weight: 400; }
.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #6E6862;
  border-radius: 0;
  background: var(--night);
  color: var(--on-night);
  font: inherit;
  line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 0; border-color: var(--brand-red); }
.has-error input, .has-error textarea { border-color: var(--brand-red); border-width: 2px; }
.field-error { margin-top: 0.4rem; color: #FFB3B3; font-size: var(--fs-meta); }
.privacy { color: var(--on-night-muted); font-size: var(--fs-meta); }
.privacy a { color: var(--on-night); }
.request .button { justify-self: start; }

/* Honeypot: für Menschen unsichtbar, nicht per Tab erreichbar */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-ways { margin-top: 3rem; }
.contact-lines { border-top: 1px solid var(--line-night); }
.contact-lines div { padding: 0.85rem 0 0.95rem; border-bottom: 1px solid var(--line-night); }
.contact-lines dt { color: var(--on-night-muted); font-size: var(--fs-small); font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-phone { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; font-stretch: 87.5%; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.contact-phone:hover { text-decoration: underline; text-decoration-color: var(--brand-red); }
.contact-mail { overflow-wrap: anywhere; }
.contact-reach { margin-top: 1.25rem; max-width: 34rem; color: var(--on-night-muted); font-size: var(--fs-meta); }

@media (min-width: 1024px) {
  .contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .contact-form-col { grid-column: 1 / 7; }
  .contact-ways { grid-column: 8 / -1; margin-top: 0.4rem; }
}

/* --- Fuß: kleine Sitemap ------------------------------------------------ */

.foot { background: var(--night); color: var(--on-night-muted); font-size: 0.9375rem; border-top: 1px solid var(--line-night); }
.sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gap); padding-block: 2.5rem 3rem; }
.sitemap-title { margin-bottom: 0.7rem; color: var(--on-night); font-size: var(--fs-small); font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.sitemap li + li { margin-top: 0.25rem; }
.sitemap a { color: var(--on-night-muted); text-decoration: none; overflow-wrap: anywhere; }
.sitemap a:hover { color: var(--on-night); text-decoration: underline; text-decoration-color: var(--brand-red); }
.sitemap address { font-style: normal; line-height: 1.8; }
@media (max-width: 479px) { .sitemap { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) { .sitemap { grid-template-columns: 1fr 1.2fr 1.4fr 1fr; } }

.foot-copy { background: var(--night-2); border-top: 1px solid var(--line-night); color: var(--on-night-muted); font-size: var(--fs-small); line-height: 1.5; }
/* zentriert zur Seitenbreite (wrap ist mittig, gleiche Innenabstände links/rechts) und vertikal mittig */
.foot-copy p { display: flex; align-items: center; justify-content: center; min-height: 3rem; padding-block: 0.75rem; text-align: center; text-wrap: balance; }

/* --- Rechtsseiten --------------------------------------------------------- */

.legal-page { padding-block: 3.5rem 5rem; }
.legal-inner { max-width: 44rem; }
.legal-inner .h2 { margin-bottom: 2rem; }
.legal-copy { overflow-wrap: anywhere; }
.legal-copy h1, .legal-copy h2, .legal-copy h3, .legal-copy h4, .legal-copy h5, .legal-copy h6 { margin: 2rem 0 0.5rem; font-size: 1.1875rem; font-weight: 650; line-height: 1.3; }
.legal-back { margin-top: 2.5rem; }

/* --- Reduzierte Bewegung -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .layer, .carousel.is-enhanced .slides, .carousel.is-enhanced .slides-viewport { transition: none; }
}

/* --- Mobil-Feinschliff (nur unter 900 px; Desktop unverändert) ----------- */

@media (max-width: 899.98px) {
  /* Kopf: Trennlinie 4 px tiefer; Logo und Menü-Schaltfläche bleiben, wo sie sind */
  .top { padding-bottom: 0.25rem; }
  .stage {
    min-height: calc(100vh - var(--head-h) - 0.25rem - 1px);
    min-height: calc(100svh - var(--head-h) - 0.25rem - 1px);
  }
  /* Geöffnetes Menü deckt den ganzen Bildschirm: mindestens die große
     Viewport-Höhe (lvh, inkl. eingeklappter Browserleisten), Seite gesperrt */
  .menu nav { min-height: 100vh; min-height: 100lvh; }
  html:has(.menu[open]) { overflow: hidden; }
  /* Claim: etwas mehr Zeilenabstand */
  .claim { line-height: 1.08; }
  /* Probestunde: Button 8 px tiefer, Linie darunter bleibt an ihrem Platz
     (Button → Linie = Linie → „Probestunde“ = 2,25 rem) */
  .form-trial-action { margin-top: 1.75rem; }
  .form-trial { margin-bottom: 2.25rem; }
}
