/* ==========================================================================
   Vocal & Music School! – Gestaltung „Wohnzimmer“ (Richtung F aus dem Entwurf, live seit 14.10.2026).
   Aufbau: Tokens · Grundelemente · Kopf · Fuß · Abschnitte · Bausteine · Recht · schmale Bildschirme ·
   Einblenden · Kammerton · Gutschein · Anfahrt · Richtung F. Skizzen, Fragebogen und Druckseiten aus dem
   Treffen stehen in werkstatt.css und laden nur dort (App.razor).
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */

.site {
    --bg: #faf8f5;
    --surface: #f1ece5;
    --card: #ffffff;
    --ink: #24201e;
    --ink-soft: #5f5752;
    --line: #e2dad1;
    --accent: #7d2232;
    --accent-ink: #ffffff;
    --accent-soft: #f3e3e5;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Source Serif 4', Georgia, serif;
    --head-weight: 600;
    --radius: 10px;
    --radius-lg: 16px;
}

/* ---------- Grundelemente ------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: #faf8f5;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}


.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.site__main { flex: 1; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    line-height: 1.2;
    margin: 0 0 .5em;
    text-wrap: balance;
}

h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

a:focus-visible, summary:focus-visible, .button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

img, svg { max-width: 100%; }

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--schmal { max-width: 780px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 8px 14px;
    background: #111;
    color: #fff;
}
.skip-link:focus { left: 8px; }

.eyebrow {
    margin: 0 0 1rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
}

.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    color: var(--ink-soft);
    max-width: 38em;
}

.klein { font-size: .875rem; color: var(--ink-soft); }

.aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .8em 1.4em;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}
.button:hover { filter: brightness(1.08); }

.button--leise {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.button--leise:hover { border-color: var(--ink-soft); filter: none; }

/* Nur für Screenreader sichtbar (z. B. die Legende der Gutschein-Wahl). */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

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

.site-header { border-bottom: 1px solid var(--line); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 32px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.wordmark {
    display: inline-flex;
    flex-direction: column;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.15;
}

.wordmark__main { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }
.wordmark__sub  { font-size: .78rem; color: var(--ink-soft); margin-top: 3px; }

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: .95rem;
    white-space: nowrap;
}
.site-nav a:hover { color: var(--accent); }




/* ---------- Fuß ---------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
    font-size: .9rem;
    color: var(--ink-soft);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px 40px;
}

.site-footer__name { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); margin-bottom: .3em; }
.site-footer p { margin: 0; }
.site-footer__links { display: flex; gap: 20px; }
.site-footer a { color: var(--ink-soft); }


/* ---------- Abschnitte --------------------------------------------------- */

/* Ein Drittel enger als im Entwurf (Treffen 14.10.2026); der letzte Block eines Abschnitts trägt keinen
   Außenabstand nach unten, sonst addiert er sich zum Innenabstand. */
.abschnitt { padding: clamp(40px, 5.5vw, 64px) 0; }
.abschnitt .container > :last-child,
.abschnitt .container > * > :last-child { margin-bottom: 0; }
.abschnitt--eng { padding: 28px 0; }
.abschnitt--flaeche { background: var(--surface); }
.abschnitt__lead { color: var(--ink-soft); max-width: 40em; margin-bottom: 2rem; }

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

.foto { position: relative; margin: 0; }

.foto__bild {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.foto--hoch    .foto__bild { aspect-ratio: 4 / 5; }
.foto--quer    .foto__bild { aspect-ratio: 3 / 2; }
.foto--quadrat .foto__bild { aspect-ratio: 1 / 1; }

/* Herkunft im Entwurf: kleines Etikett unten links im Bild. */
.foto__quelle {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 2px 9px;
    border-radius: 999px;
    background: rgb(0 0 0 / .58);
    color: #ffffff;
    font-size: .7rem;
    line-height: 1.45;
}

.foto__flaeche {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    font-size: .875rem;
    color: var(--ink-soft);
    border: 1px dashed color-mix(in srgb, var(--ink) 28%, transparent);
    border-radius: var(--radius-lg);
    background:
        repeating-linear-gradient(135deg,
            color-mix(in srgb, var(--ink) 4%, transparent) 0 10px,
            transparent 10px 20px),
        var(--surface);
}

.foto--hoch    .foto__flaeche { aspect-ratio: 4 / 5; }
.foto--quer    .foto__flaeche { aspect-ratio: 16 / 10; }
.foto--quadrat .foto__flaeche { aspect-ratio: 1 / 1; }

.foto__motiv { max-width: 18em; }

.kontakt {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.kontakt li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
}

.kontakt .icon { color: var(--accent); flex-shrink: 0; }
.kontakt a { color: var(--ink); }

.tabelle-scroll { overflow-x: auto; margin: 1.5rem 0 1rem; }

.gebuehren {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.gebuehren caption {
    text-align: left;
    font-weight: 600;
    margin-bottom: .6rem;
}

.gebuehren th, .gebuehren td {
    padding: .6em .8em;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.gebuehren thead th {
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.gebuehren .zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gebuehren td:nth-child(2) { white-space: nowrap; }
.gebuehren .kurz { display: none; text-decoration: none; }
.gebuehren tfoot td { padding-top: .9em; border-bottom: 0; font-size: .875rem; color: var(--ink-soft); }

.gebuehren__gruppe th {
    background: var(--surface);
    font-weight: 600;
    padding-top: .8em;
}

/* ---------- Impressum, Datenschutz --------------------------------------- */

.recht h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.recht h2 { font-size: 1.2rem; margin-top: 2em; }
.recht address { font-style: normal; margin-bottom: 1em; }

/* FocusOnNavigate setzt den Fokus programmatisch auf die h1 – ohne sichtbaren Rahmen. */
[tabindex="-1"]:focus { outline: none; }

/* ---------- Schmale Bildschirme ------------------------------------------ */

@media (max-width: 560px) {
    .container { padding-left: 16px; padding-right: 16px; }

    .site-nav { gap: 4px 16px; }

    .gebuehren { font-size: .875rem; }
    .gebuehren th, .gebuehren td { padding: .5em .45em; }
    .gebuehren .lang { display: none; }
    .gebuehren .kurz { display: inline; }
}

/* ---------- Erscheinen beim Hereinscrollen (reveal.js) ------------------- */

.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Ruhe für „weniger Bewegung“ ---------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 3 Kammerton zum Antippen -------------------------------------- */

.kammerton { display: none; }
.kammerton-bereit .kammerton { display: inline-flex; }
.kammerton {
    align-items: center;
    gap: 12px;
    padding: 9px 20px 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.kammerton:hover, .kammerton.is-klingt { border-color: var(--accent); }
.kammerton:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.kammerton__gabel { width: 34px; height: 34px; flex-shrink: 0; color: var(--accent); overflow: visible; }
.kammerton__text { display: flex; flex-direction: column; line-height: 1.25; }
.kammerton__titel { font-weight: 600; }
.kammerton__hinweis { font-size: .8rem; color: var(--ink-soft); }
.kammerton__welle { opacity: 0; }

.kammerton.is-klingt .kammerton__zinke--links  { animation: zinke-links .06s linear infinite alternate; }
.kammerton.is-klingt .kammerton__zinke--rechts { animation: zinke-rechts .06s linear infinite alternate; }
.kammerton.is-klingt .kammerton__welle         { animation: welle 1.2s ease-out infinite; }
.kammerton.is-klingt .kammerton__welle--weit   { animation-delay: .3s; }
@keyframes zinke-links  { to { transform: translateX(-.7px); } }
@keyframes zinke-rechts { to { transform: translateX(.7px); } }
@keyframes welle { 0% { opacity: 0; } 25% { opacity: .9; } 100% { opacity: 0; } }

.kammerton--inline { gap: 6px; padding: 1px 12px 1px 6px; font-size: .95rem; vertical-align: middle; }
.kammerton--inline .kammerton__gabel { width: 22px; height: 22px; }

.sk-fuss-mock {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 32px;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    font-size: .9rem;
    color: var(--ink-soft);
}
.sk-fuss-mock b { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }

/* ---------- 5 Gutschein als Konzertkarte ---------------------------------- */

.gutschein__wahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; }
.gutschein__option { position: relative; cursor: pointer; }
.gutschein__option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gutschein__option span {
    display: inline-block;
    padding: 6px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    font-size: .9rem;
}
.gutschein__option input:checked + span { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.gutschein__option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.ticket {
    --stub: clamp(92px, 20%, 136px);
    --kerbe: 22px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr var(--stub);
    max-width: 660px;
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 16px 36px -16px rgb(60 20 30 / .30);
    color: var(--ink);
    --mikro-gitter: #fffdf8;
}
.ticket::before, .ticket::after {
    content: "";
    position: absolute;
    right: var(--stub);
    top: 0;
    width: var(--kerbe);
    height: var(--kerbe);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--ticket-grund, var(--surface));
    transform: translate(50%, -50%);
    clip-path: inset(50% -2px -2px -2px);
}
.ticket::after { top: 100%; clip-path: inset(-2px -2px 50% -2px); }

.ticket__haupt { padding: clamp(20px, 4vw, 32px); }
.ticket__kopf {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 12px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.ticket__schule { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.ticket__art { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.ticket__titel {
    margin: 0 0 20px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 600;
    line-height: 1.1;
}
.ticket__daten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; font-size: .9rem; }
.ticket__daten div { display: flex; flex-direction: column; gap: 2px; }
.ticket__daten dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.ticket__daten dd { margin: 0; }
.ticket__ort { white-space: nowrap; }
.ticket__linie { min-height: 1.6em; border-bottom: 1px solid color-mix(in srgb, var(--ink) 45%, transparent); }

.ticket__abriss {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 10px;
    border-left: 2px dashed var(--line);
    font-size: .66rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--ink-soft);
}
.ticket__nr { font-family: 'IBM Plex Serif', Georgia, serif; font-size: .9rem; letter-spacing: .03em; text-transform: none; color: var(--accent); }
.ticket__code { width: 44px; height: 112px; }
.tasten-code__weiss { fill: #fffdf8; stroke: var(--ink, #261d1f); stroke-width: .8; vector-effect: non-scaling-stroke; }
.tasten-code__schwarz { fill: var(--ink, #261d1f); }

/* Titel je Wahl – reines CSS. Ohne :has() bleibt der erste Titel stehen. */
.ticket__titel-text { display: none; }
.ticket__titel-text:first-child { display: inline; }
.gutschein:has(input[value="gesang"]:checked)  .ticket__titel-text:not([data-art="gesang"]),
.gutschein:has(input[value="klavier"]:checked) .ticket__titel-text:not([data-art="klavier"]),
.gutschein:has(input[value="gitarre"]:checked) .ticket__titel-text:not([data-art="gitarre"]) { display: none; }
.gutschein:has(input[value="gesang"]:checked)  [data-art="gesang"],
.gutschein:has(input[value="klavier"]:checked) [data-art="klavier"],
.gutschein:has(input[value="gitarre"]:checked) [data-art="gitarre"] { display: inline; }

.gutschein .aktionen { align-items: center; margin-top: 28px; }


/* ---------- 7 Anfahrt mit stiller Karte ----------------------------------- */

.anfahrt { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.anfahrt__karte { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.anfahrt__karte img { display: block; width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; }
.anfahrt__karte::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 40%, transparent);
    animation: puls 2.6s ease-out infinite;
}
@keyframes puls {
    0%   { transform: scale(.6); opacity: .9; }
    100% { transform: scale(3.4); opacity: 0; }
}
.anfahrt__punkt {
    position: absolute;
    left: 50%;
    top: 50%;
    line-height: 0;
    transform: translate(-50%, -87.5%);
    filter: drop-shadow(0 2px 3px rgb(0 0 0 / .3));
}
.anfahrt__punkt .icon { fill: var(--accent); stroke: #ffffff; }
.anfahrt__karte figcaption {
    position: absolute;
    right: 8px;
    bottom: 6px;
    padding: 1px 9px;
    border-radius: 999px;
    background: rgb(255 255 255 / .88);
    font-size: .7rem;
    color: #3a2c2c;
}
.anfahrt__karte figcaption a { color: inherit; }
.anfahrt__adresse { font-size: 1.05rem; }
.anfahrt__wege { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 1.2rem; }
.anfahrt__wege dt { font-weight: 600; }
.anfahrt__wege dd { margin: 0; }
.anfahrt__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.anfahrt__links a { font-weight: 600; }
.anfahrt__links a::after { content: " →"; }

/* ---------- Anfahrt, Gutschein und Kammerton auf schmalen Bildschirmen ----- */

@media (max-width: 880px) {
    .anfahrt { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .ticket { --stub: 84px; }
    .ticket__daten { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .kammerton.is-klingt .kammerton__zinke--links,
    .kammerton.is-klingt .kammerton__zinke--rechts { animation: none; }
    .kammerton.is-klingt .kammerton__welle { animation: none; opacity: .9; }
    .anfahrt__karte::before { animation: none; opacity: 0; }
}

/* ==========================================================================
   Richtung F „Wohnzimmer“ (13.10.2026) – Simones Wunsch: freundlich, warm, hell.
   Gold = Stimme und Wände (ihre Spachtelwand als Hintergrund), Braun = Gitarren
   (Holzleiste aus der Ukulele-Decke), Schwarz = Klaviere und Text, Weinrot = Logo.
   ========================================================================== */

.site[data-richtung="wohnzimmer"] {
    --bg: #fcf8ef;
    --surface: #f5ebd6;
    --card: #fffdf8;
    --ink: #1d1a17;
    --ink-soft: #5b4f43;
    --line: #e6d6b6;
    --accent: #85243b;
    --accent-soft: #f6e4e4;
    --gold: #b48a3c;
    --gold-hell: #f0dfb4;
    --holz: url("../images/wohnzimmer/holz.jpg");
    --schwarz: #1d1a17;
    --font-head: 'Source Serif 4', Georgia, serif;
    --head-weight: 600;
    --radius: 6px;
    --radius-lg: 14px;
}
/* Auch für Teile außerhalb von .site, z. B. den Nach-oben-Knopf der Foundation. */
body:has(.site[data-richtung="wohnzimmer"]) { background: #fcf8ef; --accent: #85243b; --accent-dark: #5e1828; }

[data-richtung="wohnzimmer"] .wordmark { flex-direction: row; align-items: center; gap: 14px; }
.wordmark__logo { display: block; width: auto; height: 62px; }
[data-richtung="wohnzimmer"] .wordmark__sub { margin: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
/* Nach-oben-Knopf der Foundation: sein Scoped-CSS lädt nicht blockierend (App.razor). Bis es da ist, hält
   dieser Startzustand den Knopf unsichtbar und aus dem Fluss – sonst blitzt er beim Laden kurz auf. Die
   Foundation-Regel für .is-visible ist spezifischer und blendet ihn beim Scrollen ein. */
.back-to-top { position: fixed; opacity: 0; visibility: hidden; }

[data-richtung="wohnzimmer"] .site-footer { background: var(--surface); padding-bottom: 0; }

/* Telefon und Mail ganz oben, ohne Scrollen sichtbar (Simones Wunsch, Treffen 14.10.2026). */
.kontaktleiste { background: var(--accent, #85243b); color: #ffffff; font-size: .9rem; }
.kontaktleiste__inner { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 28px; padding-top: 7px; padding-bottom: 7px; }
.kontaktleiste a { display: inline-flex; align-items: center; gap: 8px; color: #ffffff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.kontaktleiste a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kontaktleiste a:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.kontaktleiste .icon { flex-shrink: 0; }

/* Holzleiste: Maserung der Ukulele, quer, wie eine Wandleiste. */
.f-holz {
    height: 20px;
    background: var(--holz, url("../images/wohnzimmer/holz.jpg")) center / auto 120px repeat-x;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -2px 3px rgb(0 0 0 / .2);
}

/* Einstieg auf der goldenen Wand. */
.f-hero {
    padding: clamp(44px, 7vw, 96px) 0;
    background:
        linear-gradient(90deg, rgb(252 248 239 / .05), rgb(252 248 239 / .5) 60%),
        url("../images/wohnzimmer/wand-gold-1400.jpg") center / cover no-repeat,
        #e8d4a4;
}
.f-hero__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.f-hero__logo img { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; filter: drop-shadow(0 8px 22px rgb(80 50 20 / .18)); }
.f-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.01em; }
.f-hero .eyebrow { color: var(--accent); }
.f-hero .lead { color: #3a2f25; }
.f-hero__zusatz { font-weight: 500; color: #3a2f25; }
.f-hero .button--leise { background: rgb(255 253 248 / .6); border-color: rgb(29 26 23 / .25); }

/* Drei Fächer mit Fotoausschnitten (statt Piktogrammen, Treffen 14.10.); je Fach seine Farbe: Gold, Holz, Schwarz. */
.f-faecher { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 1.6rem; }
.f-fach {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.f-fach:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgb(80 50 20 / .45); }
.f-fach__band { height: 10px; }
.f-fach--gesang .f-fach__band { background: linear-gradient(90deg, #c9a14f, #e9cf8c, #b48a3c); }
.f-fach--gitarre .f-fach__band { background: var(--holz) center / auto 120px repeat-x; }
.f-fach--klavier .f-fach__band { background: var(--schwarz); }
.f-fach__bild { display: block; width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; }
.f-fach__text { display: flex; flex-direction: column; gap: 2px; padding: 16px 24px 24px; }
.f-fach__name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; line-height: 1.25; }
.f-fach__wer { color: var(--accent); font-weight: 600; }
.f-fach__wann { font-size: .9rem; color: var(--ink-soft); }

/* Fach-Abschnitte: Foto und Text, im Wechsel. */
.f-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.f-detail--gespiegelt > :first-child { order: 2; }
.f-detail h2 { font-size: clamp(2.05rem, 3.9vw, 3rem); }
.f-fach-marke {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: .8rem;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.f-fach-marke::before { content: ""; width: 40px; height: 11px; border-radius: 3px; }
.f-fach-marke--gesang::before  { background: linear-gradient(90deg, #c9a14f, #e9cf8c, #b48a3c); }
.f-fach-marke--gitarre::before { background: var(--holz) center / auto 120px repeat-x; }
.f-fach-marke--klavier::before { background: var(--schwarz); }

.f-lehrer { margin: 1.4rem 0 1rem; padding: 14px 18px; border-left: 3px solid var(--gold); background: rgb(255 253 248 / .7); border-radius: 0 10px 10px 0; }
.f-lehrer p { margin: 0; }
.f-lehrer__name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.f-lehrer__rolle { color: var(--ink-soft); }
.f-lehrer__weg { margin: .5rem 0 0; padding-left: 1.1em; font-size: .92rem; color: var(--ink-soft); }

/* Steckbrief je Fach (Shared/Steckbrief.razor): Etikett links, Angabe rechts, je Zeile eine Angabe. */
.f-steckbrief { display: grid; gap: 8px; margin: 1.2rem 0 0; font-size: .95rem; }
.f-steckbrief > div { display: grid; grid-template-columns: 5.6em 1fr; gap: 14px; align-items: baseline; }
.f-steckbrief dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.f-steckbrief dd { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.f-chip { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; line-height: 1.5; }
.f-chip--gesang  { background: linear-gradient(135deg, #b48a3c, #e9cf8c 50%, #c9a14f); color: #2e1f05; box-shadow: inset 0 0 0 1px rgb(120 85 20 / .35); }
.f-chip--gitarre { background: var(--holz) center / auto 140px; color: #2a1708; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.f-chip--klavier { background: var(--schwarz); color: #ffffff; }

/* Kammerton und Gitarrenstimmer unter den Fächern (js/kammerton.js, js/gitarrenstimmer.js; ohne
   JavaScript verborgen). Die Textklassen teilt der Stimmer mit dem Kammerton. */
.f-stimmen { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 18px; margin-top: 2rem; }
.stimmer { display: none; }
.stimmer-bereit .stimmer { display: inline-flex; }
.stimmer {
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    padding: 8px 10px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
}
.stimmer__kopf { display: inline-flex; align-items: center; gap: 12px; }
.stimmer__plektrum { width: 30px; height: 30px; flex-shrink: 0; color: var(--accent); }
.stimmer__saiten { display: inline-flex; gap: 6px; }
.stimmer__saite {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fffdf8;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}
.stimmer__saite:hover { border-color: var(--accent); color: var(--accent); }
.stimmer__saite:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stimmer__saite.is-klingt { border-color: var(--accent); background: var(--accent); color: #ffffff; animation: saite-schwingt .05s linear infinite alternate; }
@keyframes saite-schwingt { to { transform: translateY(-.8px); } }

/* Stimmen mit dem Mikrofon: Knopf und Anzeige. Verborgen per [hidden], bis das Skript sie freigibt –
   Author-display schlägt sonst die UA-Regel für [hidden]. */
.stimmer [hidden] { display: none; }
.stimmer__mikro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fffdf8;
    color: var(--ink);
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
}
.stimmer__mikro svg { width: 18px; height: 18px; color: var(--accent); }
.stimmer__mikro:hover { border-color: var(--accent); }
.stimmer__mikro:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stimmer__mikro[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #ffffff; }
.stimmer__mikro[aria-pressed="true"] svg { color: #ffffff; }
.stimmer.is-hoert .stimmer__mikro svg { animation: lauscht 1.6s ease-in-out infinite; }
@keyframes lauscht { 50% { opacity: .45; } }

.stimmer:has(.stimmer__anzeige:not([hidden])) { border-radius: var(--radius-lg); }
.stimmer__anzeige {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "ton skala" "ton status";
    align-items: center;
    gap: 6px 14px;
    flex-basis: 100%;
    padding: 10px 6px 4px;
    border-top: 1px solid var(--line);
}
.stimmer__ton { grid-area: ton; min-width: 1.4em; font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1; text-align: center; color: var(--accent); }
.stimmer__skala {
    grid-area: skala;
    position: relative;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ead7d3, #f7f0e2 38%, #ecd6a0 50%, #f7f0e2 62%, #ead7d3);
}
.stimmer__mitte { position: absolute; left: 50%; top: 2px; bottom: 2px; width: 2px; margin-left: -1px; background: var(--gold); }
.stimmer__nadel { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--accent); transition: left .12s ease-out; }
.stimmer__nadel.is-ruhig { opacity: .25; }
.stimmer.is-gestimmt .stimmer__nadel { background: var(--gold); box-shadow: 0 0 0 3px rgb(180 138 60 / .3); }
.stimmer__status { grid-area: status; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: .85rem; }
.stimmer__wert { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.stimmer__saite.is-erkannt { border-color: var(--accent); box-shadow: 0 0 0 2px rgb(133 36 59 / .2); }
.stimmer.is-gestimmt .stimmer__saite.is-erkannt { border-color: var(--gold); background: var(--gold-hell); }

/* Abschlussleiste mit dem Urhebervermerk, wie bei den Schwester-Sites: leiseste Zeile der Seite, rechts.
   Der Nach-oben-Knopf steht fest 24 px vom Fensterrand und ist 44 px breit. Der Vermerk weicht ihm nur so
   weit aus wie nötig (Harald, 15.10.2026: bündig mit „Datenschutz“, wenn rechts genug Luft ist): bis 1120 px
   Fensterbreite 4 rem Innenabstand, darüber gleitend weniger, ab gut 1260 px keiner mehr. 72 statt 64 px in
   der Rechnung, weil 100vw die Scrollleiste mitzählt. Innenabstand statt Außenabstand, den nimmt ihm
   .site-footer p. Die Leiste ist unten so hoch, dass Knopf und Text auf einer Höhe sitzen. */
.site-footer__abschluss {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
    padding: 14px 0 34px;
    border-top: 1px solid var(--line);
}
.site-footer__credit { padding-inline-end: clamp(0px, calc(72px - (100vw - 1120px) / 2), 4rem); font-size: .78rem; letter-spacing: .06em; }
.site-footer__credit a { color: var(--ink-soft); text-decoration: none; }
.site-footer__credit a:hover,
.site-footer__credit a:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* ® klein hochgestellt; line-height: 0, sonst kippt die Grundlinie der Zeile. */
.reg { font-size: .65em; vertical-align: super; line-height: 0; }

.anfahrt__titel { margin: 0 0 .6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }

.f-zitat { margin: 1.2rem 0; font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--accent); }
.f-zitat p { margin: 0; }

/* Unterrichtszeiten als Wochenplan – auf der goldenen Wand. */
.f-zeiten {
    background:
        linear-gradient(rgb(252 248 239 / .55), rgb(252 248 239 / .55)),
        url("../images/wohnzimmer/wand-gold-1400.jpg") center / cover no-repeat;
}
.f-woche { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.f-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px 20px;
    border-radius: 12px;
    background: rgb(255 253 248 / .88);
    box-shadow: 0 8px 24px -18px rgb(80 50 20 / .5);
    text-align: center;
}
.f-tag__name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.f-tag__zeit { font-size: .9rem; color: var(--ink-soft); }
.f-tag .f-chip { min-width: 6.4em; text-align: center; }

.f-raum { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; align-items: center; }

.f-kontakt { background: var(--accent); color: #fff6f4; }
.f-kontakt__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.f-kontakt h2, .f-kontakt a, .f-kontakt .icon { color: #ffffff; }
.f-kontakt a:focus-visible { outline-color: #ffffff; }

/* Übersicht und Fragebogen: Mini-Vorschau für F. */
.u-mini--f {
    background:
        linear-gradient(transparent 78%, #b07a4e 78%, #c08a5a 90%, #8f5a33 90%),
        url("../images/wohnzimmer/wand-gold-1400.jpg") center / cover;
}
.u-mini--f span:nth-child(1) { background: #1d1a17; width: 64%; border-radius: 2px; }
.u-mini--f span:nth-child(2) { background: #b48a3c; width: 46%; }
.u-mini--f span:nth-child(3) { background: #85243b; border-radius: 11px; }

@media (max-width: 880px) {
    .f-hero__inner,
    .f-faecher,
    .f-detail,
    .f-kontakt__inner { grid-template-columns: 1fr; }

    .f-hero__logo img { max-width: 300px; margin: 0; }
    .f-detail--gespiegelt > :first-child { order: 0; }
    .f-woche { grid-template-columns: 1fr; }
    .f-tag { flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 12px 16px; text-align: left; }
    .f-raum { grid-template-columns: 1fr 1fr; }
    .f-raum > :nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
    .kontaktleiste__inner { justify-content: center; }
    .site-footer__abschluss { justify-content: flex-start; }
    .site-footer__credit { padding-inline-end: 0; }
    .stimmer { border-radius: var(--radius-lg); }
}

@media (prefers-reduced-motion: reduce) {
    .stimmer__saite.is-klingt,
    .stimmer.is-hoert .stimmer__mikro svg { animation: none; }
    .stimmer__nadel { transition: none; }
    .f-fach { transition: none; }
    .f-fach:hover { transform: none; }
}
