/* Tonstube (Demo). Richtung: "The name as a monument", Orange und Blauschwarz. */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #ff7a1f;
  --ink: #050f16;
  --muted: #5a2306;
  --field: #ffffff;
  --rand: clamp(20px, 2.2vw, 32px);
  --titel: "Fraunces", Georgia, serif;
  --text: "Instrument Sans", system-ui, sans-serif;
  /* fünf Größen */
  --s1: 1rem;
  --s2: 1.25rem;
  --s3: clamp(1.25rem, 2.1vw, 1.875rem);
  --s4: clamp(3.5rem, 11vw, 11rem);
  --s5: clamp(4.5rem, 19vw, 18.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--s1)/1.55 var(--text); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip-link { position: absolute; left: var(--rand); top: -100%; z-index: 100; padding: 0.75rem 1rem; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: var(--rand); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.button:hover { background: var(--muted); }

/* Wortbild */
.wortbild { margin: 0; font-family: var(--titel); font-size: var(--s5); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; font-variation-settings: "opsz" 144; white-space: nowrap; }

/* Einstieg */
.hero { position: relative; display: grid; grid-template-rows: 58svh auto; min-height: 100svh; }
.hero-bild { overflow: hidden; background: var(--ink); }
.hero-bild svg { width: 100%; height: 100%; }
.hero-kopf { position: absolute; top: var(--rand); right: var(--rand); }
.site-nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--field); text-decoration: none; font-size: var(--s1); padding-block: 0.5rem; }
.site-nav a:hover { text-decoration: underline; }
.nav-toggle { display: none; min-height: 44px; padding: 0 1rem; border: 2px solid var(--field); background: transparent; color: var(--field); cursor: pointer; }
.hero-band { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 24px var(--rand) 28px; }
.hero-zeile { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.hero-zeile p { max-width: 34ch; font-size: 1.0625rem; }

/* Einleitung */
.intro { padding: 4rem var(--rand) 10rem; }
.spalte { width: min(100%, 21rem); margin-left: 15vw; display: grid; gap: 1.5em; }
.spalte p { color: var(--muted); }
.spalte .stark { color: var(--ink); font-weight: 600; }

/* Kurse */
.kurse { background: var(--field); padding: 6rem var(--rand); }
.tabelle { margin: 0; padding: 0; list-style: none; font-size: clamp(1.25rem, 2.1vw, 1.875rem); line-height: 1.5; }
.tabelle li { display: grid; grid-template-columns: 33% 33% 1fr auto; gap: 1rem; }
.tabelle span { min-width: 0; }
.t-zeit { text-align: right; }

/* Ablauf */
.ablauf ol { margin: 0; padding: 0; list-style: none; }
.schritt { position: relative; min-height: 80svh; display: grid; place-items: center; border-top: 2px solid var(--ink); padding: 4rem var(--rand) 6rem; }
.schritt:nth-child(even) { background: var(--ink); color: var(--bg); }
.verb { position: sticky; top: 40%; font-family: var(--titel); font-weight: 800; font-size: var(--s4); letter-spacing: -0.04em; line-height: 0.9; }
.satz { position: absolute; left: var(--rand); bottom: 2rem; max-width: 40ch; font-size: 1.125rem; }

/* Kontakt */
.kontakt { min-height: 90svh; display: grid; grid-template-rows: auto 1fr auto; gap: 2rem; padding: var(--rand); background: var(--ink); color: var(--bg); border-top: 2px solid var(--bg); }
.kontakt-satz { max-width: 30ch; margin: 0; font: 400 var(--s2)/1.4 var(--text); }
.mail { align-self: end; font-family: var(--titel); font-size: clamp(2.5rem, 8.5vw, 9rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; text-decoration: none; overflow-wrap: anywhere; }
.mail:hover { text-decoration: underline; text-decoration-thickness: 0.05em; }
.kontakt-fuss { font-size: 0.9375rem; }

/* Footer */
.site-footer { display: grid; grid-template-rows: auto 1fr auto auto; min-height: 80svh; padding: 40px var(--rand) 20px; background: var(--ink); color: var(--bg); border-top: 2px solid var(--bg); }
.footer-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; }
.footer-spalten ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.25rem; }
.footer-spalten a { display: inline-block; padding-block: 0.35rem; }
.footer-spalten .voll { font-weight: 600; }
.wortbild-fuss { align-self: end; font-size: clamp(4rem, 20.5vw, 21rem); }
.recht { font-size: 0.875rem; padding-top: 1rem; }

@media (max-width: 52rem) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 12rem; background: var(--ink); padding: 0.5rem 1rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.75rem 0; }
  .hero { grid-template-rows: 50svh auto; }
  .hero-zeile { flex-direction: column; align-items: flex-start; }
  .wortbild { font-size: 21vw; }
  .spalte { margin-left: 0; width: 78%; }
  .intro { padding: 4.5rem var(--rand) 6rem; }
  .tabelle li { grid-template-columns: 1fr auto; font-size: 1.375rem; margin-bottom: 1.1rem; line-height: 1.3; }
  .tabelle .t-name { grid-column: 1 / -1; }
  .tabelle .t-format, .tabelle .t-ort, .tabelle .t-zeit { font-size: 0.9375rem; color: var(--muted); }
  .tabelle .t-ort { display: none; }
  .verb { font-size: 15vw; }
  .satz { right: var(--rand); font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Unterseiten (Impressum, Datenschutz) */
.site-header { background: var(--ink); color: var(--bg); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 4.5rem; padding-inline: var(--rand); }
.logo { font-family: var(--titel); font-weight: 800; font-size: 1.5rem; text-decoration: none; }
.section { padding: 4rem var(--rand) 6rem; }
.prose { max-width: 65ch; }
.prose h1 { font-family: var(--titel); font-size: var(--s4); line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 2rem; }
