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

/* ── 1 Hero (Design-Runde 29./30.10.2026, Adrian: „dunkel und klar statt milchig"):
   warmes Dunkel als Textflaeche links, Foto randlos rechts, sechs Saiten in Gold an der Kante ── */
.hero-gitarre {
  position: relative; min-height: min(100svh, 880px); display: flex; align-items: center;
  padding: 120px 0 clamp(64px, 8vw, 96px); overflow: hidden; color: var(--color-on-dark);
  background-color: #2a2018; background-image: linear-gradient(110deg, #33251b 0%, #2a2018 45%, #1f1813 100%);
}
.hero-gitarre .hero-bild { position: absolute; top: 0; bottom: 0; right: 0; width: 52%; overflow: hidden; }
.hero-gitarre .hero-bild picture { position: absolute; inset: 0; }
.hero-gitarre .hero-bild img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform-origin: 40% 45%; animation: gt-zoom 16s var(--ease) both;
}
.hero-gitarre .hero-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #2d2119 0%, rgba(45, 33, 25, .7) 12%, rgba(45, 33, 25, 0) 34%),
              linear-gradient(0deg, rgba(31, 24, 19, .55) 0%, rgba(31, 24, 19, 0) 26%); }
.hero-gitarre::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(42, 32, 24, 0), #2a2018); }
@keyframes gt-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
/* Signatur: sechs Saiten in Gold an der Kante zwischen Textflaeche und Foto, schwingen beim Laden einmal */
.hero-saiten {
  position: absolute; top: 0; bottom: 0; left: calc(48% + 14px); display: flex; gap: 8px;
  pointer-events: none; opacity: .7;
}
.hero-saiten i { display: block; width: 1px; height: 100%; background: linear-gradient(180deg, rgba(201, 162, 107, 0), var(--ci-gold) 18%, var(--ci-gold-l) 60%, rgba(201, 162, 107, 0));
  transform-origin: 50% 0; animation: gt-saite 1.2s var(--ease) both; }
.hero-saiten i:nth-child(1) { width: 2px; animation-delay: .1s; } .hero-saiten i:nth-child(2) { width: 2px; animation-delay: .16s; }
.hero-saiten i:nth-child(3) { width: 1.5px; animation-delay: .22s; } .hero-saiten i:nth-child(4) { animation-delay: .28s; }
.hero-saiten i:nth-child(5) { animation-delay: .34s; } .hero-saiten i:nth-child(6) { animation-delay: .4s; }
@keyframes gt-saite { 0% { transform: scaleY(0); } 70% { transform: scaleY(1) translateX(2px); } 85% { transform: translateX(-1px); } 100% { transform: none; } }
.hero-gitarre .hero-inhalt { position: relative; z-index: 2; }
.hero-gitarre .hero-inhalt > * { max-width: min(500px, 36vw); }
.hero-gitarre .hero-hook { font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--color-on-dark); text-wrap: balance; }
.hero-gitarre .hero-hook em { color: var(--ci-gold-l); }
.hero-gitarre h1 { margin-top: 22px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3; color: var(--ci-gold-l); }
.hero-gitarre .hero-sub { margin-top: 20px; font-size: var(--fs-lead); color: rgba(246, 239, 228, .92); }
.hero-gitarre .hero-lead { margin-top: 10px; color: rgba(246, 239, 228, .8); }
.hero-gitarre .hero-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.hero-gitarre .preis-sprung { color: var(--ci-gold-l); }
.hero-gitarre .hero-proof { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; font-size: .9375rem; color: rgba(246, 239, 228, .8); }
.hero-gitarre .hero-proof .sterne { color: var(--ci-gold); letter-spacing: 2px; }
.hero-gitarre .hero-proof b { color: var(--color-on-dark); font-weight: 600; }
.hero-gitarre .hero-stufe { animation: gt-auf 1s var(--ease) both; }
.hero-gitarre .hero-stufe.s2 { animation-delay: .15s; } .hero-gitarre .hero-stufe.s3 { animation-delay: .3s; }
.hero-gitarre .hero-stufe.s4 { animation-delay: .45s; } .hero-gitarre .hero-stufe.s5 { animation-delay: .6s; }
@keyframes gt-auf { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── 2 Sektions-Bausteine ────────────────────────────────────────────── */
.media-bogen, .media-rund { max-width: 520px; justify-self: center; width: 100%; }
.media-rund { max-width: none; }
.media-schmal { max-width: 400px; }

/* Block 2: anschlagbare Saiten. Text links, Instrument rechts (Gesang zentriert, Klavier Kopf ueber der Tastatur) */
.saiten-buehne { padding-block: var(--section-pad); background-image: linear-gradient(180deg, #2a2018 0%, var(--color-dark-2) 260px, var(--color-dark) 70%); }  /* Naht: beginnt im Ton des Hero-Fusses */
.saiten-raster { display: grid; gap: 40px 72px; align-items: center; }
@media (min-width: 900px) { .saiten-raster { grid-template-columns: .9fr 1.1fr; } }
.saiten-raster > * { min-width: 0; }
.saiten-text h2 { margin: 16px 0 20px; font-size: clamp(2rem, 4.4vw, 3.5rem); }
.saiten-text p { max-width: 44ch; }
.saiten-text .chip { margin-top: 24px; }
.saiten-instrument { display: grid; justify-items: center; gap: 18px; }
.saiten-box {
  position: relative; width: 100%; height: clamp(280px, 30vw, 380px); cursor: crosshair; touch-action: pan-y;
  border-radius: var(--radius);
  background-color: var(--color-dark-2);
  background-image: radial-gradient(70% 90% at 50% 50%, rgba(201, 162, 107, .14) 0%, rgba(26, 21, 17, 0) 70%);
  user-select: none; -webkit-user-select: none;
}
.saiten-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.schallloch { /* Schallloch hinter den Saiten, nur Andeutung */
  position: absolute; left: 50%; top: 50%; width: min(52%, 220px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(201, 162, 107, .45); box-shadow: inset 0 0 0 10px rgba(13, 11, 9, .55), 0 0 0 7px rgba(201, 162, 107, .12);
  background: rgba(13, 11, 9, .6); pointer-events: none;
}
.saiten-knoepfe { display: flex; gap: 6px; justify-content: center; }
.saiten-knoepfe button {
  min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid rgba(201, 162, 107, .35);
  font-family: var(--font-serif); font-size: 1.0625rem; color: var(--color-on-dark-2);
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.saiten-knoepfe button:hover { background-color: rgba(201, 162, 107, .18); }
.saiten-knoepfe button:active { background-color: var(--ci-bronze); color: var(--color-on-accent); }
.ton-schalter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: var(--radius-pill); background: rgba(26, 21, 17, .6); border: 1px solid rgba(201, 162, 107, .45);
  color: var(--color-on-dark-2); font-size: 1rem; font-weight: 600; white-space: nowrap;
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.ton-schalter:hover { background-color: rgba(201, 162, 107, .18); }
.ton-schalter[aria-pressed="true"] { background-color: var(--ci-bronze); border-color: transparent; color: var(--color-on-accent); }
.ton-symbol { font-size: 1.125rem; line-height: 1; }

/* Block 3: zwei Haende als Gegenueberstellung (Griffhand | Schlaghand) */
.haende { display: grid; gap: 20px; margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 800px) { .haende { grid-template-columns: 1fr 1fr; gap: 0; } }
.hand { position: relative; padding: 8px 0 8px 28px; border-left: 1px solid var(--ci-gold); }
@media (min-width: 800px) { .hand + .hand { margin-left: 48px; } }
.hand h3 { margin-bottom: 12px; color: var(--color-text); }
.hand p { color: var(--color-text-2); max-width: 52ch; }
.teil-fuss { display: grid; gap: 28px 56px; align-items: center; margin-top: clamp(44px, 6vw, 72px); }
@media (min-width: 1000px) { .teil-fuss { grid-template-columns: minmax(0, 1fr) auto; } }
.teil-fuss .capsule { margin: 0; max-width: 820px; }
.teil-fuss .cta-zwischen { margin-top: 0; }

/* Block 4: Luecke Lehrerportraet, als sichtbare Platzhalterflaeche */
.lehrer-luecke { width: 100%; }
.lehrer-luecke .caption { color: var(--color-text-2); font-size: 1rem; } /* gedaempft auf Sand nur 4,07:1 */
.luecke-flaeche {
  display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 24px; text-align: center;
  border-radius: var(--radius); border: 1px dashed var(--ci-gold); background: var(--color-surface); color: var(--color-text-2);
}

/* Block 5: drei Wege als Liste mit Bronze-Marke */
.wege { list-style: none; display: grid; gap: 16px; margin-top: 22px; }
.wege li { position: relative; padding: 20px 22px 20px 26px; border-radius: 18px; background: var(--color-bg); color: var(--color-text-2); }
.wege li::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--ci-bronze); }
.wege li strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.wege a { color: var(--color-accent-d); text-decoration: underline; text-underline-offset: 3px; }


/* Block 3: gebaute Grafik statt Stockfoto (Design-Runde): vier Griffbilder + Schlagmuster auf dunkler Karte.
   Punkte setzen sich Griff fuer Griff, der aktive Griff wechselt im Takt (aus bei Reduced Motion). */
.griffbild { justify-self: center; width: 100%; max-width: 480px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background-color: var(--color-dark-2); background-image: radial-gradient(120% 90% at 50% 0%, #2a2018 0%, var(--color-dark-2) 55%, var(--color-dark) 100%);
  box-shadow: 0 50px 90px -50px rgba(60, 40, 20, .6); }
.griffbild-svg { display: block; width: 100%; height: auto; overflow: visible; }
.gb-name { font-family: var(--font-serif); font-size: 22px; fill: var(--color-on-dark); text-anchor: middle; }
.gb-sattel { fill: var(--ci-gold-l); }
.gb-saite { stroke: rgba(231, 207, 166, .55); stroke-width: 1.2; }
.gb-bund { stroke: rgba(201, 162, 107, .35); stroke-width: 1; }
.gb-leer { font-family: var(--font-sans); font-size: 12px; fill: rgba(246, 239, 228, .7); text-anchor: middle; }
.gb-punkt { fill: var(--ci-gold); }
.gb-takt { stroke: rgba(201, 162, 107, .35); stroke-width: 1; }
.gb-pfeil { fill: none; stroke: var(--ci-gold-l); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .gb-reihe > g { animation: gb-griff 8s var(--ease) infinite; }
  .gb-reihe > g:nth-child(2) { animation-delay: 2s; } .gb-reihe > g:nth-child(3) { animation-delay: 4s; } .gb-reihe > g:nth-child(4) { animation-delay: 6s; }
  .gb-pfeil { animation: gb-schlag 2s steps(1) infinite; animation-delay: calc(var(--k) * .3333s); opacity: .35; }
}
@keyframes gb-griff { 0%, 22% { opacity: 1; } 30%, 92% { opacity: .42; } 100% { opacity: 1; } }
@keyframes gb-schlag { 0% { opacity: 1; } 16% { opacity: .35; } }

/* Block 5: Vollbild-Band (Design-Runde), Greifhand als Hintergrund, drei Wege als Glaskarten */
.wege-band { position: relative; overflow: hidden; padding-block: clamp(80px, 8vw, 120px); background: var(--color-dark); color: var(--color-on-dark); }
.wb-bild { position: absolute; inset: 0; overflow: hidden; }
.wb-bild picture { position: absolute; inset: 0; }
.wb-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.12); will-change: transform; }
.wb-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(13, 11, 9, .88) 0%, rgba(13, 11, 9, .62) 45%, rgba(13, 11, 9, .5) 100%); }
.wb-inhalt { position: relative; z-index: 1; }
.wb-kopf { max-width: 640px; }
.wege-band h2 { color: var(--color-on-dark); }
.wege-band .prose { margin-top: 14px; color: rgba(246, 239, 228, .86); }
.wege-band .wege { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.wege-band .wege li { background: rgba(26, 21, 17, .72); border: 1px solid rgba(201, 162, 107, .28); color: rgba(246, 239, 228, .86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 26px 24px 24px 28px;
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
.wege-band .wege li:hover { transform: translateY(-4px); border-color: rgba(201, 162, 107, .6); }
.wege-band .wege li::before { background: var(--ci-gold); }
.wege-band .wege li strong { color: var(--color-on-dark); }
.wege-band .wege a { color: var(--ci-gold-l); }
.wege-band .ph-mark { color: var(--color-on-dark-2); background: rgba(201, 162, 107, .16); outline-color: rgba(201, 162, 107, .5); }

/* Block 6: gebaute Grafik statt Portraet (Design-Runde: kein Migena-Portraet auf der Gitarrenseite).
   Ein Lied aus zwei Teilen: Melodie auf Notenlinien, darunter die Akkorde der Begleitung. */
.lied-grafik { justify-self: center; width: 100%; max-width: 520px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background: var(--color-alt); }
.lied-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ls-linien line { stroke: var(--ci-gold); stroke-width: 1; }
.ls-noten ellipse { fill: var(--ci-ink); }
.ls-noten line { stroke: var(--ci-ink); stroke-width: 1.6; }
.ls-akkorde rect { fill: var(--color-surface); stroke: var(--ci-gold); stroke-width: 1; }
.ls-akkorde text { font-family: var(--font-serif); font-size: 26px; fill: var(--ci-ink); text-anchor: middle; }
.ls-label { font-family: var(--font-sans); font-size: 15px; font-weight: 600; fill: var(--ci-bronze-d); }
@media (prefers-reduced-motion: no-preference) {
  .ls-noten > g { animation: ls-ton 6s var(--ease) infinite; animation-delay: calc(var(--k) * .4s); }
  .ls-akkorde > g { animation: ls-ton 6s var(--ease) infinite; animation-delay: calc(var(--k) * 1.3s); }
}
@keyframes ls-ton { 0%, 100% { opacity: 1; } 6% { opacity: .55; } 12% { opacity: 1; } }

/* Block 7: FAQ zweispaltig, Kopf oben links ohne Sticky */
/* Block 7: FAQ einspaltig zentriert (style.css, Design-Runde 29./30.10.) */

/* Block 8: sechs kurze Saiten statt Goldlinie */
.closing-saiten { display: flex; justify-content: center; gap: 14px; height: 44px; margin: 0 auto 30px; }
.closing-saiten i { display: block; width: 1px; height: 100%; background: var(--ci-gold); }

/* ── 3 Zustaende auf dunklem Grund ───────────────────────────────────── */
.saiten-buehne .chip:focus-visible, .ton-schalter:focus-visible, .saiten-knoepfe button:focus-visible { outline-color: var(--color-on-dark-2); }

/* ── 4 Lesegroessen klein (immer zuletzt) ────────────────────────────── */
@media (max-width: 899px) {
  /* Mobil-Auftritt Muster 1: Motiv hinter dem Text, Schleier dichter */
  .hero-gitarre { display: block; min-height: 0; padding: 0 0 52px; }
  .hero-gitarre .hero-bild { position: relative; width: 100%; aspect-ratio: 4 / 3; }
  .hero-gitarre .hero-bild::after { background: linear-gradient(0deg, #2d2119 0%, rgba(45, 33, 25, .4) 22%, rgba(45, 33, 25, 0) 46%); }
  .hero-saiten { top: auto; bottom: auto; left: auto; right: 22px; height: 0; display: none; }
  .hero-gitarre .hero-inhalt { padding-top: 10px; }
  .hero-gitarre .hero-inhalt > * { max-width: none; }
  .hero-gitarre .hero-hook { font-size: clamp(1.875rem, 8.4vw, 2.5rem); }
  .hero-gitarre h1 { margin-top: 14px; font-size: 1.1875rem; }
  .hero-gitarre .hero-sub { margin-top: 14px; font-size: 1rem; }
  .hero-gitarre .hero-lead { font-size: 1rem; order: 9; margin-top: 18px; }
  .hero-gitarre .hero-inhalt { display: flex; flex-direction: column; }  /* Falz: Bewertung im ersten Bildschirm */
  .hero-gitarre .hero-bild { aspect-ratio: 16 / 10; }
  .hero-gitarre .hero-aktion { margin-top: 22px; }
  .hero-gitarre .hero-aktion .btn { width: 100%; }
  .wege-band .wege { grid-template-columns: 1fr; }
  .saiten-box { height: 300px; }
}
@media (max-width: 399px) { .saiten-buehne .chip { white-space: normal; text-align: left; } }
