/* ==========================================================================
   / (Startseite) — 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/008_2026-10-28_startseite/hero-steckbrief.md
   Gestaltung: Entwurf 19.10.2026 (material/design-vorlage), auf Tokens umgestellt
   ========================================================================== */

/* ── 1 Hero: Split, Text links, Bogen-Bildkarte rechts, goldene Notenlinie ── */
.hero-home {
  position: relative; overflow: hidden; padding: 112px 0 120px;
  background-color: var(--color-bg);
  background-image: radial-gradient(90% 70% at 85% 30%, var(--color-surface) 0%, var(--color-bg) 60%);
}
#staff { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hh-grid { position: relative; z-index: 1; display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) {
  .hero-home { min-height: 100svh; display: flex; align-items: center; }
  .hh-grid { grid-template-columns: 1.05fr .95fr; gap: 70px; }
  .hh-media { grid-column: 2; grid-row: 1; }
  .hh-copy { grid-column: 1; grid-row: 1; }
}
.hh-media { position: relative; max-width: 540px; width: 100%; justify-self: center; }
.hh-bogen { position: relative; }
.hh-bogen::before { /* Goldring wie .media-bogen */
  content: ""; position: absolute; inset: -12px; border-radius: 232px 232px 34px 34px;
  border: 1px solid var(--color-line-gold); opacity: .55; pointer-events: none;
}
.hh-bogen img {
  width: 100%; aspect-ratio: 679 / 715; object-fit: cover; object-position: 50% 30%;
  border-radius: 220px 220px 26px 26px; box-shadow: 0 50px 90px -50px rgba(60, 40, 20, .6);
}
.hh-rating {
  position: absolute; right: -6px; top: 28px; padding: 10px 16px; border-radius: 16px; text-align: center;
  background-color: var(--color-dark); color: var(--color-on-dark); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  animation: hh-schweben 6s ease-in-out 1.4s infinite alternate;
}
.hh-rating .sterne { display: block; color: var(--ci-gold); font-size: .75rem; letter-spacing: 2px; }
.hh-rating b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.625rem; line-height: 1.15; }
.hh-rating small { display: block; font-size: .75rem; color: rgba(246, 239, 228, .82); }
.hh-card {
  position: absolute; left: -10px; bottom: 26px; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 20px 40px -18px rgba(60, 40, 20, .5);
}
.hh-card img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.hh-card b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.125rem; line-height: 1.15; color: var(--color-text); }
.hh-card span { font-size: .8125rem; font-weight: 600; color: var(--color-accent); }
@keyframes hh-schweben { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.hh-copy { max-width: 620px; }
.hero-home .hero-hook { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.04; color: var(--color-text); }
.hero-home h1 {
  margin-top: 22px; font-family: var(--font-sans); font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
  letter-spacing: 0; color: var(--color-accent-d);
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-home h1::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--color-line-gold); }
.hero-home .hero-sub { margin-top: 16px; max-width: 54ch; font-size: var(--fs-lead); color: var(--color-text-2); }
.hero-home .hero-aktion { margin-top: 30px; }
.hero-home .hero-proof { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 20px; font-size: 1rem; color: var(--color-text-2); }
.hero-home .hero-proof .sterne { color: var(--ci-bronze); letter-spacing: 2px; }
.hero-home .hero-proof b { color: var(--color-text); font-weight: 600; }
/* Einstieg gestaffelt, Bildkarte steigt auf */
.hero-home .hero-stufe { animation: hh-auf .9s var(--ease) both; }
.hero-home .hero-stufe.s2 { animation-delay: .14s; } .hero-home .hero-stufe.s3 { animation-delay: .28s; }
.hero-home .hero-stufe.s4 { animation-delay: .42s; } .hero-home .hero-stufe.s5 { animation-delay: .56s; }
.hh-media { animation: hh-auf 1.2s var(--ease) .05s both; }
.hh-card { animation: hh-auf 1s var(--ease) .7s both; }
@keyframes hh-auf { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ── 2 Sektions-Bausteine ────────────────────────────────────────────── */
/* Block 2: Kopf mittig, zwei Fach-Karten */
.faecher-kopf { max-width: 820px; margin: 0 auto; text-align: center; }
.faecher-kopf h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); max-width: 24ch; margin: 0 auto 30px; }
.faecher-kopf .capsule { text-align: left; margin-inline: auto; }
.faecher-bruecke { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lead); color: var(--color-accent-d); }
.faecher { display: grid; gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 760px) { .faecher { grid-template-columns: 1fr 1fr; gap: 28px; } }
.fach {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--color-surface); box-shadow: 0 1px 0 var(--color-border), 0 30px 60px -40px rgba(60, 40, 20, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.fach-bild { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-dark-2); }
.fach-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fach-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 9, 0) 50%, rgba(13, 11, 9, .7)); pointer-events: none; }
.fach-num { position: absolute; top: 16px; left: 20px; z-index: 2; font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; color: #fff; }
.fach-motiv { position: absolute; left: 0; right: 0; bottom: 4px; z-index: 2; width: 100%; height: 56px; overflow: visible; }
.fach-motiv path { fill: none; stroke: var(--ci-gold-l); stroke-width: 1.4; opacity: .85; }
.fach-motiv--tasten rect { fill: rgba(250, 246, 239, .92); }
.fach-motiv--tasten .schwarz rect { fill: var(--color-dark); }
html.js .fach-motiv path { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2s var(--ease) .3s; }
html.js .fach.is-in .fach-motiv path { stroke-dashoffset: 0; }
.fach-text { padding: 26px 26px 30px; }
.fach-text h3 { margin-bottom: 10px; }
.fach-text p { color: var(--color-text-2); }
@media (hover: hover) {
  .fach:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--color-border), 0 40px 70px -40px rgba(60, 40, 20, .5); }
  .fach:hover .fach-bild img { transform: scale(1.05); }
}

/* Block 3: Fuer wen, Kopf links klebt, vier Karten mit roemischer Ziffer */
.fuer-wen-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) {
  .fuer-wen-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .fuer-wen-kopf { position: sticky; top: 120px; }
}
.fuer-wen-kopf h2 { font-size: clamp(1.875rem, 3.3vw, 2.75rem); margin-bottom: 20px; }
.wer { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .wer { grid-template-columns: 1fr 1fr; } }
.wer li {
  position: relative; padding: 26px 24px 26px; border-radius: 20px; background: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wer i {
  display: block; font-family: var(--font-serif); font-style: italic; font-size: 1.75rem; line-height: 1;
  color: var(--color-accent); margin-bottom: 14px;
}
.wer h3 { font-size: 1.375rem; margin-bottom: 10px; }
.wer p { color: var(--color-text-2); }
@media (hover: hover) { .wer li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); } }

/* Block 4: spielbares Klavier auf der dunklen Buehne (Entwurf, Tokens) */
.hero-piano { position: relative; display: flex; flex-direction: column; padding-top: var(--section-pad); }
.hero-piano::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 30% at 50% 70%, rgba(201, 162, 107, .18), transparent 70%);
}
.hero-piano .grain {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-copy { position: relative; z-index: 3; text-align: center; max-width: 720px; }
.hero-copy .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero-copy h2 { margin-top: 16px; font-size: clamp(2.125rem, 6vw, 4rem); }
.hero-copy p { margin: 18px auto 0; max-width: 50ch; }
.piano-aktion { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-copy .piano-link { margin: 0; font-size: 1rem; }
.piano-link a { color: var(--color-on-dark-2); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 10px 0; margin: -10px 0; }
.piano-link a:hover { color: #fff; }
.stage { position: relative; flex: 1; min-height: 340px; display: flex; align-items: flex-end; justify-content: center; margin-top: 10px; }
#notes { position: absolute; inset: 0; z-index: 2; pointer-events: none; width: 100%; height: 100%; }
.piano-scene { position: relative; width: 100%; perspective: 900px; perspective-origin: 50% 0%; padding-bottom: 76px; z-index: 1; }
.piano {
  --tilt: 52deg; position: relative; margin: 0 auto; width: min(1100px, 112vw);
  transform: rotateX(var(--tilt)) translateZ(0); transform-style: preserve-3d; transform-origin: 50% 100%; transition: transform .1s linear;
}
.piano .case {
  position: absolute; inset: -26px -22px -30px; border-radius: 14px 14px 22px 22px;
  background: linear-gradient(180deg, #191512, #060505 40%, #0f0c0a);
  box-shadow: 0 60px 80px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: translateZ(-14px);
}
.piano .case::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 6px; height: 14px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 107, .55), transparent); opacity: .5;
}
.fall {
  position: absolute; left: -22px; right: -22px; bottom: 100%; margin-bottom: 1px; /* Entwurf -2px: Deckel schnitt die Tastenebene, Chrome malte dann Tastenbereiche zeitweise dahinter */ height: clamp(54px, 9vw, 90px);
  transform-origin: 50% 100%; transform: rotateX(-88deg); border-radius: 10px 10px 0 0; display: grid; place-items: center;
  background: linear-gradient(180deg, #0a0807, #1d1814 70%, #2a221b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -10px 20px rgba(0, 0, 0, .6);
}
.fall span {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(14px, 2.2vw, 22px); letter-spacing: .08em;
  background: linear-gradient(90deg, var(--ci-bronze), var(--ci-gold-l), var(--ci-bronze));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.keys { position: relative; display: flex; height: 220px; transform-style: preserve-3d; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.key { position: relative; flex: 1; transform-origin: 50% 0; transform-style: preserve-3d; transition: transform .16s var(--ease), filter .2s; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.key.w {
  background: linear-gradient(180deg, #e9e2d6 0%, #fbf8f2 18%, #fffdf8 80%, #e7dfd1 100%);
  border-left: 1px solid #cfc4b2; border-radius: 0 0 6px 6px; box-shadow: inset 0 -8px 0 #ded3c1, inset 0 -9px 0 #bfb39f;
}
.key.w:first-child { border-left: 0; }
.key.b {
  position: absolute; top: 0; height: 62%; width: var(--bw); margin-left: calc(var(--bw) / -2); z-index: 2;
  background: linear-gradient(180deg, #000 0%, #24201c 85%, #3a332c 100%); border-radius: 0 0 4px 4px;
  box-shadow: 0 6px 8px rgba(0, 0, 0, .6), inset 0 -6px 0 #15120f, inset 2px 0 0 rgba(255, 255, 255, .07);
  transform: translateZ(10px);
}
.key.down { transform: translateZ(-3px) rotateX(-3deg); }
.key.w.down { background: linear-gradient(180deg, #e2d8c6, #f6efe2 70%, #e9d7b6); box-shadow: inset 0 -3px 0 #d8c9ad, 0 0 30px rgba(201, 162, 107, .55); }
.key.b.down { transform: translateZ(5px) rotateX(-3deg); background: linear-gradient(180deg, #000, #3b2c1d 90%, #7a5525); box-shadow: 0 2px 4px rgba(0, 0, 0, .6), 0 0 22px rgba(201, 162, 107, .6); }
.piano-ui { position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; }
.piano-ui .chip { font-size: 1rem; }
.piano-ui .chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.piano-ui .chip[aria-pressed="true"] { background-color: var(--color-accent); border-color: transparent; color: #fff; }

/* Block 5: Fragen, Kopf links mit Verweis auf /faq */
@media (min-width: 960px) { .fragen-start-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.fragen-start .sec-head h2 { font-size: clamp(1.875rem, 3.3vw, 2.75rem); }
.fragen-mehr { margin-top: 18px; color: var(--color-text-2); }

/* Block 6: Nicole + gebaute Google-Bewertungskarte */
.nicole-sec .stimme { margin: 26px 0 0; }
.nicole-gesamt { margin-top: 26px; font-weight: 600; color: var(--color-text); }
.g-karte-wrap { max-width: 440px; justify-self: center; width: 100%; }
.g-karte {
  position: relative; padding: 30px 30px 26px; border-radius: var(--radius); background: var(--color-surface);
  box-shadow: 0 40px 80px -40px rgba(60, 40, 20, .45), 0 1px 0 var(--color-border); transform: rotate(-1.5deg);
  transition: transform .6s var(--ease);
}
@media (hover: hover) { .g-karte:hover { transform: rotate(0deg) translateY(-4px); } }
.g-kopf { display: flex; align-items: center; gap: 12px; }
.g-marke {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-alt);
  font-family: var(--font-sans); font-weight: 700; font-size: 1.25rem; color: var(--color-text);
}
.g-quelle { font-weight: 600; color: var(--color-text); }
.g-wert { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.g-wert b { font-family: var(--font-serif); font-weight: 500; font-size: clamp(3.5rem, 6vw, 4.5rem); line-height: 1; color: var(--color-text); }
.g-sterne { display: flex; gap: 3px; font-size: 1.625rem; color: var(--ci-gold); }
html.js .g-sterne span { opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease), transform .5s var(--ease); }
html.js .g-karte-wrap.is-in .g-sterne span { opacity: 1; transform: none; }
.g-sterne span:nth-child(2) { transition-delay: .5s; } .g-sterne span:nth-child(3) { transition-delay: .62s; }
.g-sterne span:nth-child(4) { transition-delay: .74s; } .g-sterne span:nth-child(5) { transition-delay: .86s; }
.g-sterne span:nth-child(1) { transition-delay: .38s; }
.g-balken { display: grid; gap: 7px; margin-top: 22px; }
.g-balken div { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: center; font-size: .875rem; color: var(--color-text-2); }
.g-balken i { display: block; height: 7px; border-radius: 7px; background: var(--color-alt); position: relative; overflow: hidden; }
.g-balken i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 7px; background: var(--ci-gold); transform-origin: left; }
html.js .g-balken i::after { transform: scaleX(0); transition: transform 1.2s var(--ease) .5s; }
html.js .g-karte-wrap.is-in .g-balken i::after { transform: scaleX(1); }
.g-fuss { margin-top: 20px; font-size: 1rem; color: var(--color-text-2); }

/* Block 7: Abschluss mit Raumfoto */
.abschluss-start .duo-text > h2 { max-width: 20ch; }
.abschluss-zitat { margin: 6px 0 24px; }
.abschluss-zitat blockquote { font-size: clamp(1.1875rem, 2vw, 1.4375rem); }
.abschluss-start .prose a { color: var(--color-accent-d); text-decoration: underline; text-underline-offset: 3px; }
.abschluss-aktion { margin-top: 30px; }
.abschluss-start .media-rund > img { aspect-ratio: 4 / 3; }

/* ── 3 Zustaende auf dunklem Grund ───────────────────────────────────── */
.hero-piano .eyebrow { color: var(--color-line-gold); }
.hero-piano .chip { min-height: 48px; }

@media (prefers-reduced-motion: reduce) {
  .hh-rating, .hh-media, .hh-card, .hero-home .hero-stufe { animation: none; }
  html.js .fach-motiv path { stroke-dashoffset: 0; }
  html.js .g-sterne span { opacity: 1; transform: none; }
  html.js .g-balken i::after { transform: none; }
}

/* ── 4 Lesegroessen klein (immer zuletzt) ────────────────────────────── */
@media (max-width: 959px) {
  /* Mobil: Bogenkarte oben (niedriger, 4:3), Text darunter, Notenlinie am Fuss */
  .hero-home { padding: 96px 0 88px; }
  .hh-media { max-width: 460px; }
  .hh-bogen img { aspect-ratio: 900 / 619; object-position: 50% 30%; border-radius: 160px 160px 22px 22px; }
  .hh-bogen::before { border-radius: 172px 172px 30px 30px; }
  .hh-copy { max-width: none; }
}
@media (max-width: 699px) {
  .hero-home { padding-top: 92px; }
  .hh-grid { gap: 26px; }
  .hh-bogen img { border-radius: 130px 130px 20px 20px; }
  .hh-bogen::before { inset: -8px; border-radius: 138px 138px 26px 26px; }
  .hh-rating { top: 12px; right: -4px; padding: 8px 12px; }
  .hh-rating b { font-size: 1.375rem; }
  .hh-card { bottom: 12px; left: -4px; padding: 8px 14px 8px 8px; }
  .hh-card img { width: 38px; height: 38px; }
  .hero-home .hero-hook { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .hero-home h1 { margin-top: 14px; }
  .hero-home .hero-sub { margin-top: 12px; font-size: 1rem; }
  .hero-home .hero-aktion { margin-top: 22px; }
  .hero-home .hero-aktion .btn { width: 100%; }
  .hero-home .hero-proof { margin-top: 14px; }
  .stage { flex: none; min-height: 300px; }
  .piano { width: 94vw; }
  .keys { height: 190px; }
  .piano-scene { padding-bottom: 72px; }
  .piano-ui { bottom: 12px; }
  .g-karte { padding: 24px 22px 22px; }
}
