/* ==========================================================================
   /probestunde — nur was diese Seite unverwechselbar macht
   Reihenfolge (website-bauen 2B.1): 1 Hero · 2 Sektions-Bausteine
   3 Zustaende auf dunklem Grund · 4 Lesegroessen klein (zuletzt)
   Steckbrief: pages/007_2026-10-28_probestunde/hero-steckbrief.md
   ========================================================================== */

/* ── 1 Hero: kompakt, hell, Text links, Foto rechts bis an den Rand ───── */
.hero-probe {
  position: relative; overflow: hidden; padding: 128px 0 12px; /* 12 px unten: Schein des ersten Schienenpunkts (6 px) bleibt ganz */
  background-color: var(--color-bg);
}
.hero-probe-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero-probe-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
  /* Foto laeuft rechts aus dem Raster bis an die Fensterkante */
  .hero-probe-bild { margin-right: calc((100vw - min(var(--wrap), 100vw - 2 * var(--gutter))) / -2); }
}
.hero-probe-text { max-width: 600px; }
.hero-probe .hero-hook { font-size: clamp(2.125rem, 4.2vw, 3.5rem); color: var(--color-text); }
.hero-probe h1 {
  margin-top: 20px; font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.3; color: var(--color-text-2);
}
.hero-probe .hero-sub { margin-top: 16px; max-width: 52ch; font-size: var(--fs-lead); color: var(--color-text-2); }
.hero-punkte { list-style: none; display: grid; gap: 8px; margin-top: 22px; color: var(--color-text); }
.hero-punkte li { display: flex; gap: 12px; align-items: flex-start; }
.hero-punkte svg {
  flex: none; width: 22px; height: 22px; margin-top: 3px; padding: 3px; border-radius: 50%;
  background: var(--color-alt); fill: none; stroke: var(--ci-bronze); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.hero-probe .hero-aktion { margin-top: 30px; }
.arr--runter { display: inline-block; transform: rotate(90deg); }
.btn:hover .arr--runter { transform: rotate(90deg) translateX(4px); }
.hero-probe .hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 18px; font-size: 1rem; color: var(--color-text-2); }
.hero-probe .hero-proof .sterne { color: var(--ci-bronze); letter-spacing: 2px; }
.hero-probe .hero-proof b { color: var(--color-text); font-weight: 600; }
.hero-probe-bild { position: relative; }
.hero-probe-bild img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 40%;
  border-radius: var(--radius) 0 0 var(--radius); box-shadow: var(--shadow-lg);
}
/* Signatur: die Schiene des Ablaufs beginnt schon im Hero, Punkt 1 gefuellt */
.hero-schiene { position: relative; display: flex; justify-content: space-between; margin-top: clamp(48px, 6vw, 72px); height: 14px; }
.hero-schiene::before {
  content: ""; position: absolute; left: 7px; right: 7px; top: 6px; height: 1.5px;
  background: linear-gradient(90deg, var(--ci-bronze), var(--ci-gold) 40%, var(--color-border));
  transform-origin: left; animation: schiene-auf 1.6s var(--ease) .5s both;
}
.hero-schiene span { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--color-bg); border: 1.5px solid var(--ci-gold); }
.hero-schiene span:first-child { background: var(--ci-bronze); border-color: var(--ci-bronze); box-shadow: 0 0 0 6px rgba(154, 94, 36, .14); }
@keyframes schiene-auf { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Einstieg gestaffelt */
.hero-probe .hero-stufe { animation: probe-auf .9s var(--ease) both; }
.hero-probe .hero-stufe.s2 { animation-delay: .12s; } .hero-probe .hero-stufe.s3 { animation-delay: .24s; }
.hero-probe .hero-stufe.s4 { animation-delay: .36s; } .hero-probe .hero-stufe.s5 { animation-delay: .48s; }
.hero-probe-bild { animation: probe-bild 1.2s var(--ease) .1s both; }
@keyframes probe-auf { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes probe-bild { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }

/* ── 2 Sektions-Bausteine ────────────────────────────────────────────── */
/* Block 2: Ablauf als Schiene (Zeitstrahl), Linie zeichnet sich beim Einblenden */
.ablauf-sec { padding-top: clamp(56px, 7vw, 96px); }
.ablauf-kopf { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .ablauf-kopf { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.ablauf-kopf h2 { font-size: clamp(1.875rem, 3.3vw, 2.75rem); max-width: 16ch; }
.ablauf-kopf .capsule { margin: 0; }
.ablauf { list-style: none; position: relative; display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 80px); }
.schritt { position: relative; }
.schritt-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-surface); border: 1.5px solid var(--ci-gold); box-shadow: 0 0 0 8px var(--color-surface);
  transition: transform var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease);
}
.schritt-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ci-bronze); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.schritt h3 { margin: 22px 0 10px; font-size: clamp(1.25rem, 1.8vw, 1.4375rem); line-height: 1.25; }
.schritt p { color: var(--color-text-2); }
@media (hover: hover) { .schritt:hover .schritt-icon { transform: translateY(-3px); background: var(--color-alt); } }
@media (min-width: 900px) {
  .ablauf { grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
  .ablauf::before { /* Schiene durch die Mittelpunkte der Symbole */
    content: ""; position: absolute; left: 32px; right: 0; top: 32px; height: 1.5px;
    background: linear-gradient(90deg, var(--ci-bronze), var(--ci-gold) 55%, var(--color-border));
    transform-origin: left;
  }
  html.js .ablauf::before { transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
  html.js .ablauf.ist-sichtbar::before { transform: scaleX(1); }
}

/* Block 3: zwei Probestunden-Karten neben dem Doppelportraet */
.instrumente-sec .duo-text > h2 { max-width: 20ch; }
.probe-karten { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 640px) { .probe-karten { grid-template-columns: 1fr 1fr; } }
.probe-karte {
  padding: 24px 22px 24px; border-radius: 20px; background: var(--color-surface); box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.probe-karte h3 { margin: 16px 0 10px; font-size: 1.375rem; }
.probe-karte p { color: var(--color-text-2); }
.probe-motiv { display: block; width: 96px; height: 24px; overflow: visible; }
.probe-motiv path, .probe-motiv rect { fill: none; stroke: var(--ci-gold); stroke-width: 1.6; stroke-linecap: round; }
.probe-motiv .schwarz { fill: var(--ci-bronze); stroke: none; }
@media (hover: hover) { .probe-karte:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }
.gitarre-hinweis { margin-top: 22px; color: var(--color-text-2); font-size: var(--fs-small); padding-left: 16px; border-left: 2px solid var(--ci-gold); }
.instrumente-sec .media-rund > img { aspect-ratio: 3 / 2; }

/* Block 4: Fragen mittig, ohne Seitenkopf links (Abgrenzung zur Gesangsseite) */
.fragen-kopf { margin-inline: auto; text-align: center; }
.fragen-sec .faq { margin-inline: auto; }
/* Design-Runde 29./30.10.: Fragen als Vollbild-Band, Unterrichtsraum mit Plattenwand (_26K0111) als Hintergrund */
.raum-band { position: relative; overflow: hidden; background: var(--color-dark); color: var(--color-on-dark); }
.rb-bild { position: absolute; inset: 0; overflow: hidden; }
.rb-bild picture { position: absolute; inset: 0; }
.rb-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.12); will-change: transform; }
.rb-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(20, 15, 11, .92) 0%, rgba(20, 15, 11, .84) 60%, rgba(20, 15, 11, .72) 100%); }
.rb-inhalt { position: relative; z-index: 1; }
.raum-band h2 { color: var(--color-on-dark); }
.raum-band .faq { padding: 8px 32px; border-radius: var(--radius); background: rgba(26, 21, 17, .55); border: 1px solid rgba(201, 162, 107, .25); }
.raum-band .faq details { border-bottom-color: rgba(201, 162, 107, .25); }
.raum-band .faq details:last-child { border-bottom: 0; }
.raum-band .faq summary h3 { color: var(--color-on-dark); }
.raum-band .faq details > div { color: rgba(246, 239, 228, .84); }
.raum-band .faq details > div a { color: var(--ci-gold-l); }
.raum-band .faq summary::after { border-color: rgba(201, 162, 107, .5); color: var(--ci-gold-l); }
.raum-band .faq details[open] summary::after { background: rgba(201, 162, 107, .18); }
.raum-band :focus-visible { outline-color: var(--color-on-dark-2); }
@media (max-width: 599px) { .raum-band .faq { padding: 4px 18px; } }

/* Block 5: Formular + Kontakt */
.anfrage-sec { background-color: var(--color-bg); background-image: linear-gradient(180deg, var(--color-bg), var(--color-alt)); }
.anfrage-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) {
  .anfrage-grid { grid-template-columns: 1.25fr .75fr; gap: 56px; }
  .kontakt-box { position: sticky; top: 110px; margin-top: 118px; }
}
.anfrage-haupt > h2 { font-size: clamp(1.875rem, 3.3vw, 2.75rem); }
.anfrage-intro { margin: 14px 0 26px; font-size: var(--fs-lead); color: var(--color-text-2); }
.form-card {
  background: var(--color-surface); border-radius: 28px; padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 40px 80px -50px rgba(60, 40, 20, .45);
}
.f-reihe { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .f-reihe { grid-template-columns: 1fr 1fr; } }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
fieldset.fld { border: 0; }
.fld label, .fld legend { font-size: 1rem; font-weight: 600; color: var(--color-text); }
.fld .optional { font-weight: 400; color: var(--color-text-2); }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: 1rem; width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.fld select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%239a5e24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.fld textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.fld textarea::placeholder { color: var(--color-muted); opacity: 1; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--ci-bronze); box-shadow: 0 0 0 4px rgba(154, 94, 36, .16); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pills span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border); background: var(--color-bg); font-size: 1rem; font-weight: 500; color: var(--color-text);
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.pills label:hover span { border-color: var(--ci-bronze); }
.pills input:checked + span { background: var(--color-text); border-color: var(--color-text); color: var(--color-surface); }
.pills input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
/* Fehler am Feld */
.fld-fehler { display: flex; gap: 6px; align-items: center; font-size: .9375rem; font-weight: 600; color: var(--color-error); }
.fld-fehler::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--color-error); color: #fff; font-size: .75rem; }
.fld-fehler[hidden] { display: none; }
.fld.ist-fehler input, .fld.ist-fehler select { border-color: var(--color-error); }
.fld.ist-fehler .pills span { border-color: var(--color-error); }
.hp-feld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box:not(:empty) { margin: 4px 0 16px; min-height: 65px; }
.f-senden { width: 100%; margin-top: 6px; }
.f-senden[aria-busy="true"] { opacity: .7; cursor: progress; }
.f-hinweis { margin-top: 14px; text-align: center; font-size: var(--fs-small); color: var(--color-text-2); }
.f-fehler { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--color-bg); border-left: 3px solid var(--color-error); color: var(--color-text); }
.f-fehler[hidden] { display: none; }
/* Danke-Zustand (gleiche URL) */
.danke { text-align: center; padding: clamp(28px, 6vw, 56px) 8px; outline: 0; }
.danke[hidden] { display: none; }
.danke .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.danke-titel { margin: 14px 0 12px; font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.2; color: var(--color-text); text-wrap: balance; }
.danke p:last-child { max-width: 44ch; margin-inline: auto; color: var(--color-text-2); }
html.js .danke:not([hidden]) { animation: probe-auf .8s var(--ease) both; }
/* Kontakt und Anfahrt */
.kontakt-box { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow-md); }
.kontakt-box h3 { font-size: 1.5rem; }
.kontakt-intro { margin-top: 8px; color: var(--color-text-2); }
.nap { font-style: normal; display: grid; gap: 12px; margin-top: 20px; }
.nap-zeile { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--color-text-2); }
.nap-zeile + .nap-zeile { margin-top: 0; }
.nap-zeile b { color: var(--color-text); font-weight: 600; }
.nap-zeile svg { flex: none; width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: var(--ci-bronze); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nap-zeile svg .voll { fill: var(--ci-bronze); stroke: none; }
.kontakt-faq { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--color-border); color: var(--color-text-2); font-size: 1rem; }
.nap-zeile a { display: inline-block; padding: 10px 0; margin: -10px 0; } /* Tap-Ziel 44 px ohne Zeilensprung */

/* ── 3 Zustaende auf dunklem Grund ───────────────────────────────────── */
/* keine: die Seite hat keine dunkle Flaeche ausser dem Footer (BAUPLAN §4) */

@media (prefers-reduced-motion: reduce) {
  html.js .ablauf::before { transform: none; }
  .hero-probe-bild, .hero-probe .hero-stufe { animation: none; }
}

/* ── 4 Lesegroessen klein (immer zuletzt) ────────────────────────────── */
@media (max-width: 899px) {
  /* Mobil-Auftritt Muster 4: Text zuerst, Foto als Band darunter, angeschnitten an der Falz */
  .hero-probe { padding-top: 100px; }
  .hero-probe-grid { gap: 26px; }
  .hero-probe .hero-hook { font-size: clamp(1.8rem, 8.2vw, 2.4rem); }
  .hero-probe h1 { margin-top: 14px; font-size: 1.1875rem; }
  .hero-probe .hero-sub { margin-top: 12px; font-size: 1rem; }
  .hero-punkte { margin-top: 16px; gap: 6px; }
  .hero-probe .hero-aktion { margin-top: 22px; }
  .hero-probe .hero-aktion .btn { width: 100%; }
  .hero-probe .hero-proof { margin-top: 14px; }
  .hero-probe-bild { margin-inline: calc(var(--gutter) * -1); }
  .hero-probe-bild img { aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none; }
  .hero-schiene { display: none; }
  .ablauf { padding-left: 0; gap: 0; }
  .schritt { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 30px; }
  .schritt::before { /* senkrechte Schiene */
    content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1.5px; background: linear-gradient(180deg, var(--ci-gold), var(--color-border));
  }
  .schritt:last-child::before { display: none; }
  .schritt:last-child { padding-bottom: 0; }
  .schritt-icon { width: 56px; height: 56px; grid-row: span 2; box-shadow: none; }
  .schritt-icon svg { width: 26px; height: 26px; }
  .schritt h3 { margin: 12px 0 8px; }
  .schritt { max-width: 640px; }
  .kontakt-box { margin-top: 0; }
}
