:root {
  --ground: #FAF4E8;
  --surface: #F3EAD7;
  --ink: #221A16;
  --radiance: #C8982F;
  --warmth: #CC7A55;
  --muted: #8C8073;
  --line: rgba(34, 26, 22, 0.16);
  --line-strong: rgba(34, 26, 22, 0.28);
  --ground-soft: rgba(250, 244, 232, 0.88);
  --surface-soft: rgba(243, 234, 215, 0.78);
  --glow: rgba(200, 152, 47, 0.34);
  --shadow: rgba(34, 26, 22, 0.12);
  --max-width: 1180px;
  --header-height: 78px;
  --image-home-hero: image-set(url("assets/home-hero-unplugged.webp") type("image/webp"), url("assets/home-hero-unplugged.jpg") type("image/jpeg"));
  --image-lesson-hands: image-set(url("assets/lesson-hands-hero.webp") type("image/webp"), url("assets/lesson-hands-hero.jpg") type("image/jpeg"));
  --image-theory-sheet: image-set(url("assets/theory-sheet-background.webp") type("image/webp"), url("assets/theory-sheet-background.jpg") type("image/jpeg"));
  --image-about-section: image-set(url("assets/about-section-stage.webp") type("image/webp"), url("assets/about-section-stage.jpg") type("image/jpeg"));
  --image-study-support: image-set(url("assets/study-support-background.webp") type("image/webp"), url("assets/study-support-background.jpg") type("image/jpeg"));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 10%, rgba(200, 152, 47, 0.18), transparent 28rem);
  z-index: -1;
}

.atmosphere-scope {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.atmosphere-scope::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(250, 244, 232, 0) 0%,
    rgba(250, 244, 232, 0.03) 26rem,
    rgba(250, 244, 232, 0.22) 38rem,
    rgba(250, 244, 232, 0.7) 57rem,
    rgba(250, 244, 232, 0.88) calc(100% - 24rem),
    rgba(243, 234, 215, 0.96) 100%
  );
}

.atmosphere-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  margin-bottom: -100svh;
  z-index: 0;
  pointer-events: none;
}

.atmosphere-pin::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  aspect-ratio: 3472 / 2314;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(250, 244, 232, 0.1), rgba(250, 244, 232, 0.1)),
    linear-gradient(90deg, rgba(250, 244, 232, 0.4), rgba(250, 244, 232, 0.22) 90%, rgba(250, 244, 232, 0.12)),
    var(--image-home-hero);
  background-position: center, center, right center;
  background-repeat: no-repeat;
  background-size: cover, cover, auto 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 8%, rgba(0, 0, 0, 0.58) 20%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 8%, rgba(0, 0, 0, 0.58) 20%, #000 32%);
}

.atmosphere-scope > :not(.atmosphere-pin) {
  position: relative;
  z-index: 2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(200, 152, 47, 0.32);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--ground);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid transparent;
  background: rgba(250, 244, 232, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header[data-scrolled="true"] {
  border-color: var(--line);
  background: rgba(250, 244, 232, 0.92);
  box-shadow: 0 12px 36px var(--shadow);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  border: none;
  border-radius: 8px;
  color: var(--radiance);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -0.55rem;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  opacity: 0.7;
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand:hover .brand-mark::before {
  opacity: 1;
  transform: scale(1.08);
}

.wordmark {
  color: var(--ink);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.6vw, 2.2rem);
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--radiance);
  border-color: var(--radiance);
  outline: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.85rem;
  height: 2.85rem;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(250, 244, 232, 0.6);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--radiance);
  outline: none;
}

.nav-toggle-bar {
  display: block;
  width: 1.3rem;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(650px, calc(86svh - var(--header-height)));
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(250, 244, 232, 0.98) 0%, rgba(250, 244, 232, 0.88) 38%, rgba(250, 244, 232, 0.24) 66%),
    linear-gradient(0deg, rgba(250, 244, 232, 0.96), rgba(250, 244, 232, 0) 32%),
    var(--image-lesson-hands);
  background-position: center, center, center right;
  background-size: cover;
}

.advanced-hero {
  background-image:
    linear-gradient(90deg, rgba(250, 244, 232, 0.98) 0%, rgba(250, 244, 232, 0.91) 42%, rgba(250, 244, 232, 0.32) 72%),
    linear-gradient(0deg, rgba(250, 244, 232, 0.96), rgba(250, 244, 232, 0) 32%),
    var(--image-lesson-hands);
}

.home-hero {
  background-image: none;
}

.home-hero::before {
  /* photo now lives in .atmosphere-pin behind the page; this used to duplicate it locally */
  display: none;
}

.home-hero .hero-inner {
  position: relative;
  z-index: 1;
}

.home-hero .hero-inner::before {
  content: "";
  position: absolute;
  left: clamp(0.8rem, 3.6vw, 3rem);
  bottom: clamp(1.1rem, 5.5vw, 3.8rem);
  z-index: -1;
  width: min(760px, 64vw);
  height: clamp(220px, 26vw, 300px);
  pointer-events: none;
  background: radial-gradient(
    ellipse at 38% 55%,
    rgba(250, 244, 232, 0.72) 0%,
    rgba(250, 244, 232, 0.5) 38%,
    rgba(250, 244, 232, 0.18) 62%,
    rgba(250, 244, 232, 0) 82%
  );
  filter: blur(12px);
}

.home-hero h1,
.home-hero .eyebrow,
.home-hero .hero-copy {
  text-shadow:
    0 0 1px rgba(250, 244, 232, 0.66),
    0 0 14px rgba(250, 244, 232, 0.5);
}

.home-hero .hero-copy {
  text-shadow:
    0 0 1px rgba(250, 244, 232, 0.78),
    0 0 12px rgba(250, 244, 232, 0.62);
}

.home-hero h1 {
  text-shadow:
    0 0 1px rgba(250, 244, 232, 0.78),
    0 0 18px rgba(250, 244, 232, 0.6),
    0 0 40px rgba(250, 244, 232, 0.34);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(0deg, var(--ground), transparent);
  z-index: -1;
}

.home-hero::after {
  display: none;
}

.hero-inner {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1rem, 4vw, 3.5rem) clamp(2rem, 4.5vw, 3rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--radiance);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  margin-right: 0.72rem;
  background: var(--radiance);
  vertical-align: middle;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  max-width: 850px;
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 5.8vw, 5.6rem);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.2rem, 3.4vw, 3.05rem);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  letter-spacing: 0.035em;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 1.35rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0;
}

.quick-facts {
  padding: clamp(0.85rem, 2vw, 1.2rem) clamp(1rem, 4vw, 3.5rem) clamp(2.3rem, 3.6vw, 3rem);
  background: transparent;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.button {
  min-height: 3.1rem;
  justify-content: center;
  padding: 0.88rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--warmth);
  color: var(--ground);
  box-shadow: 0 18px 42px rgba(204, 122, 85, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--radiance);
  box-shadow: 0 18px 42px rgba(200, 152, 47, 0.28);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(250, 244, 232, 0.54);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--radiance);
  color: var(--radiance);
  box-shadow: 0 14px 30px rgba(200, 152, 47, 0.14);
}

.hero-facts {
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 auto;
}

.hero-facts.four-up {
  width: min(100%, var(--max-width));
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-facts div {
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(250, 244, 232, 0.54);
}

.hero-facts dt {
  color: var(--radiance);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 3.5rem);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-heading,
.teacher-layout,
.credential-row,
.pathway,
.region-layout,
.audience-strip,
.contact-layout,
.site-footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.section-heading {
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.section-heading.narrow {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.teacher-copy p,
.region-copy p,
.contact-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
}

.legal-section {
  padding-top: calc(var(--header-height) + clamp(3.5rem, 7vw, 5.5rem));
}

.legal-page {
  width: min(100%, var(--max-width));
  max-width: 900px;
  margin-inline: auto;
}

.legal-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.legal-heading h1 {
  max-width: none;
  margin-bottom: 0.85rem;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-content {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.4rem);
}

.legal-content section {
  padding-bottom: clamp(1.35rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-of-type {
  border-bottom: none;
}

.legal-content h2 {
  max-width: 100%;
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}

.legal-content p,
.legal-content address {
  max-width: 820px;
  margin-bottom: 0.95rem;
  color: var(--muted);
  font-style: normal;
}

.legal-content a {
  border-bottom: 1px solid rgba(200, 152, 47, 0.45);
  color: var(--ink);
}

.legal-content a:hover,
.legal-content a:focus-visible {
  border-color: var(--radiance);
  color: var(--radiance);
  outline: none;
}

.legal-back {
  margin-top: 0.6rem;
}

.lesson-grid {
  display: grid;
  width: min(100%, var(--max-width));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-inline: auto;
}

.lesson-card {
  padding: clamp(1.35rem, 2vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lesson-card:hover {
  border-color: rgba(200, 152, 47, 0.55);
  box-shadow: 0 18px 46px rgba(200, 152, 47, 0.15);
  transform: translateY(-2px);
}

.lesson-card h3,
.pathway h3 {
  position: relative;
  padding-bottom: 0.85rem;
}

.lesson-card h3::after,
.pathway h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--radiance);
  transition: width 200ms ease;
}

.lesson-card:hover h3::after {
  width: 3.25rem;
}

.note-label,
.credential-row span,
.form-note {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lesson-card p {
  color: var(--muted);
}


.audience-section,
.rhythm-section,
.proof-section {
  background:
    radial-gradient(circle at 14% 20%, rgba(200, 152, 47, 0.13), transparent 24rem),
    var(--ground);
}

#unterricht {
  padding-top: clamp(1rem, 1.8vw, 1.6rem);
  padding-bottom: clamp(1.8rem, 3vw, 2.4rem);
  background: transparent;
}

#unterricht .lesson-card {
  background: linear-gradient(180deg, rgba(250, 244, 232, 0.64), rgba(243, 234, 215, 0.46));
  backdrop-filter: blur(2px);
}

.problem-section {
  padding-top: clamp(1.7rem, 3vw, 2.6rem);
  padding-bottom: clamp(2.8rem, 5vw, 4.2rem);
  background: transparent;
}

.problem-section .section-heading {
  margin-bottom: clamp(1.9rem, 3.8vw, 3.1rem);
}

.problem-list {
  display: grid;
  width: min(100%, 760px);
  gap: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.problem-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.problem-list li:first-child {
  border-top: 1px solid var(--line);
}

.problem-marker {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--warmth);
}

.outcomes-list {
  display: grid;
  width: min(100%, 940px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.outcomes-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}

.outcome-marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--radiance);
}

.outcomes-list strong {
  color: var(--radiance);
}

.rhythm-section {
  background:
    radial-gradient(circle at 80% 18%, rgba(200, 152, 47, 0.16), transparent 23rem),
    var(--surface);
}

.teacher-band {
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 152, 47, 0.18), transparent 22rem),
    var(--surface);
}

#theorie.teacher-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250, 244, 232, 0.93), rgba(250, 244, 232, 0.79) 50%, rgba(243, 234, 215, 0.42)),
    linear-gradient(180deg, rgba(243, 234, 215, 0.52), rgba(250, 244, 232, 0.54)),
    var(--image-theory-sheet) center 50% / cover no-repeat;
}

#theorie.teacher-band .teacher-layout,
#theorie.teacher-band .credential-row {
  position: relative;
  z-index: 1;
}

.musiker-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(243, 234, 215, 0.82) 0%, rgba(243, 234, 215, 0.74) 32%, rgba(250, 244, 232, 0.46) 68%, rgba(250, 244, 232, 0.34) 100%),
    var(--image-about-section) center 32% / cover no-repeat;
}

.musiker-section .teacher-intro {
  position: relative;
  z-index: 1;
}

.teacher-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.teacher-note {
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 244, 232, 0.56);
  box-shadow: 0 24px 70px rgba(34, 26, 22, 0.08);
}

.teacher-note p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.note-label {
  margin-bottom: 1rem;
  color: var(--radiance);
}

.theory-note {
  background: rgba(250, 244, 232, 0.68);
  backdrop-filter: blur(8px);
}

.credential-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.8rem, 5vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.credential-row div {
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
  background: var(--ground);
}

#theorie.teacher-band .credential-row {
  background: rgba(34, 26, 22, 0.13);
  backdrop-filter: blur(8px);
}

#theorie.teacher-band .credential-row div {
  background: rgba(250, 244, 232, 0.62);
  backdrop-filter: blur(8px);
}

.credential-row strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.16;
}

.exam-section {
  position: relative;
  overflow: hidden;
}

.exam-section::before {
  content: "";
  position: absolute;
  inset: 5rem auto auto 50%;
  width: min(38rem, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 152, 47, 0.16), transparent 66%);
  transform: translateX(-50%);
  pointer-events: none;
}

.pathway {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pathway div {
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 244, 232, 0.72);
}

.pathway p {
  color: var(--muted);
}

.region-section {
  background: var(--surface);
}

#studium.region-section,
#faq.faq-section {
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  background-image:
    linear-gradient(100deg, rgba(243, 234, 215, 0.96), rgba(243, 234, 215, 0.84) 48%, rgba(250, 244, 232, 0.56)),
    linear-gradient(180deg, rgba(250, 244, 232, 0.16), rgba(243, 234, 215, 0.88)),
    var(--image-study-support);
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: auto, auto, cover;
}

#studium.region-section .region-layout,
#studium.region-section .audience-strip,
#faq.faq-section .section-heading,
#faq.faq-section .faq-list {
  position: relative;
  z-index: 1;
}

.region-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.region-copy {
  padding-top: 0.35rem;
}

.audience-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2.6rem, 5vw, 4.5rem);
}

.audience-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(250, 244, 232, 0.58);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-section {
  background:
    radial-gradient(circle at 22% 15%, rgba(200, 152, 47, 0.18), transparent 24rem),
    var(--ground);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 2.5vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.form-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ground);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--radiance);
  box-shadow: 0 0 0 4px rgba(200, 152, 47, 0.16);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.12em;
}

/* Lehrer: Porträt + Intro */
.teacher-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.teacher-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(200, 152, 47, 0.22), transparent 70%),
    var(--surface);
  box-shadow: 0 30px 80px rgba(34, 26, 22, 0.12);
}

.teacher-portrait picture,
.teacher-portrait img {
  display: block;
  width: 100%;
  height: 100%;
}

.teacher-portrait img {
  object-fit: cover;
  object-position: center top;
}

.portrait-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--radiance);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Credo — dunkler Akzent-Break mit Foto */
.credo-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(34, 26, 22, 0.85), rgba(34, 26, 22, 0.93)),
    var(--image-lesson-hands);
  background-size: cover;
  background-position: center 35%;
  color: var(--ground);
}

.credo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 24%, rgba(200, 152, 47, 0.26), transparent 58%);
}

.credo-quote {
  width: min(100%, 940px);
  margin-inline: auto;
  text-align: center;
}

.credo-kicker {
  margin: 0 0 1.4rem;
  color: var(--radiance);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.credo-text {
  margin: 0;
  color: var(--ground);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.55rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.28;
}

/* FAQ */
.faq-section {
  background:
    radial-gradient(circle at 80% 16%, rgba(200, 152, 47, 0.14), transparent 24rem),
    var(--surface);
}

.faq-list {
  width: min(100%, 880px);
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ground);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item[open],
.faq-item:hover {
  border-color: rgba(200, 152, 47, 0.55);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2.2vw, 1.6rem);
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  font-weight: 600;
  line-height: 1.25;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--radiance);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--radiance);
}

.faq-item summary:focus-visible {
  outline: none;
  color: var(--radiance);
  box-shadow: inset 0 0 0 2px rgba(200, 152, 47, 0.4);
}

.faq-answer {
  padding: 0 clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.1rem, 2.2vw, 1.5rem);
}

.faq-answer p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
}

.faq-answer a {
  border-bottom: 1px solid rgba(200, 152, 47, 0.45);
  color: var(--ink);
  transition: color 180ms ease, border-color 180ms ease;
}

.faq-answer a:hover,
.faq-answer a:focus-visible {
  border-color: var(--radiance);
  color: var(--radiance);
  outline: none;
}

/* Erste Stunde */
.firststep-section {
  background:
    radial-gradient(circle at 16% 22%, rgba(204, 122, 85, 0.14), transparent 24rem),
    var(--ground);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem) 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer .wordmark {
  color: var(--ink);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-credits {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  border-bottom: 1px solid rgba(200, 152, 47, 0.45);
  color: var(--ink);
  transition: color 180ms ease, border-color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: var(--radiance);
  color: var(--radiance);
  outline: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .lesson-grid,
  .outcomes-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-layout,
  .teacher-intro,
  .region-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .teacher-portrait {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .teacher-note,
  .contact-form {
    max-width: 720px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    padding: 0.4rem clamp(1rem, 4vw, 3.5rem) 1rem;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px var(--shadow);
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(250, 244, 232, 0.96) 0%, rgba(250, 244, 232, 0.86) 45%, rgba(250, 244, 232, 0.42) 100%),
      var(--image-lesson-hands);
    background-position: center, 62% center;
  }

  .home-hero {
    min-height: calc(100svh - var(--header-height));
    background-color: transparent;
    background-image:
      linear-gradient(180deg, rgba(15, 12, 10, 0.56) 0%, rgba(15, 12, 10, 0.48) 48%, rgba(15, 12, 10, 0.64) 100%),
      linear-gradient(90deg, rgba(15, 12, 10, 0.88) 0%, rgba(15, 12, 10, 0.58) 58%, rgba(15, 12, 10, 0.24) 100%);
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: cover, cover;
  }

  .atmosphere-scope::after {
    background: linear-gradient(
      180deg,
      rgba(250, 244, 232, 0) 0%,
      rgba(250, 244, 232, 0.08) 23rem,
      rgba(250, 244, 232, 0.36) 34rem,
      rgba(250, 244, 232, 0.78) 50rem,
      rgba(250, 244, 232, 0.92) calc(100% - 18rem),
      rgba(243, 234, 215, 0.96) 100%
    );
  }

  .atmosphere-pin::before {
    right: auto;
    left: 0;
    width: 100%;
    aspect-ratio: auto;
    background-position: center, center, 42% center;
    background-size: cover, cover, auto 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .quick-facts {
    padding-bottom: clamp(2.25rem, 9vw, 3.4rem);
  }

  .home-hero::before {
    background-image: none;
  }

  .home-hero h1,
  .home-hero .hero-copy {
    color: #FAF4E8;
    text-shadow:
      0 1px 1px rgba(15, 12, 10, 0.56),
      0 0 18px rgba(15, 12, 10, 0.72),
      0 0 34px rgba(15, 12, 10, 0.6);
  }

  .home-hero .eyebrow {
    color: var(--radiance);
    text-shadow:
      0 1px 1px rgba(15, 12, 10, 0.56),
      0 0 18px rgba(15, 12, 10, 0.7);
  }

  .home-hero .hero-inner::before {
    display: none;
  }

  .home-hero .button-secondary {
    border-color: rgba(250, 244, 232, 0.46);
    background: rgba(250, 244, 232, 0.86);
    color: #221A16;
  }

  .hero-inner {
    padding-top: clamp(3.2rem, 8vh, 4.6rem);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9vw, 4rem);
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
  }

  h2,
  h3 {
    overflow-wrap: anywhere;
  }

  .exam-section .section-heading h2 {
    font-size: clamp(1.95rem, 8.5vw, 2.9rem);
    hyphens: auto;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-facts,
  .hero-facts.four-up,
  .credential-row,
  .pathway {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }

  .hero-facts dd {
    text-align: right;
  }
}

@media (max-width: 620px) {
  .wordmark {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .lesson-grid,
  .outcomes-list {
    grid-template-columns: 1fr;
  }

  .lesson-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #0F0C0A;
    --surface: #17110E;
    --ink: #FAF4E8;
    --muted: rgba(250, 244, 232, 0.7);
    --line: rgba(250, 244, 232, 0.15);
    --line-strong: rgba(250, 244, 232, 0.28);
    --ground-soft: rgba(15, 12, 10, 0.86);
    --surface-soft: rgba(23, 17, 14, 0.78);
    --glow: rgba(200, 152, 47, 0.42);
    --shadow: rgba(0, 0, 0, 0.46);
  }

  body {
    background:
      radial-gradient(circle at 16% 0%, rgba(200, 152, 47, 0.15), transparent 30rem),
      linear-gradient(180deg, #17110E 0%, #0F0C0A 34rem);
  }

  body::before {
    background: radial-gradient(circle at 24% 10%, rgba(200, 152, 47, 0.18), transparent 26rem);
  }

  .atmosphere-scope::after {
    background: linear-gradient(
      180deg,
      rgba(15, 12, 10, 0) 0%,
      rgba(15, 12, 10, 0.06) 24rem,
      rgba(15, 12, 10, 0.24) 39rem,
      rgba(15, 12, 10, 0.56) 68rem,
      rgba(15, 12, 10, 0.82) calc(100% - 22rem),
      rgba(23, 17, 14, 0.94) 100%
    );
  }

  .atmosphere-pin::before {
    background-image:
      linear-gradient(rgba(15, 12, 10, 0.1), rgba(15, 12, 10, 0.1)),
      linear-gradient(90deg, rgba(15, 12, 10, 0.4), rgba(15, 12, 10, 0.22) 90%, rgba(15, 12, 10, 0.12)),
      var(--image-home-hero);
  }

  ::selection {
    background: rgba(200, 152, 47, 0.42);
  }

  .site-header {
    background: rgba(15, 12, 10, 0.74);
    backdrop-filter: blur(18px) saturate(135%);
  }

  .site-header[data-scrolled="true"] {
    background: rgba(15, 12, 10, 0.92);
    box-shadow: 0 16px 44px var(--shadow);
  }

  .brand-mark::before {
    opacity: 0.9;
    filter: blur(1px);
  }

  .nav-toggle,
  .button-secondary,
  .teacher-note,
  .pathway div,
  .audience-strip span,
  .contact-form {
    background: rgba(250, 244, 232, 0.07);
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible,
  .button-secondary:hover,
  .button-secondary:focus-visible {
    background: rgba(200, 152, 47, 0.12);
  }

  .button-primary {
    color: #221A16;
    box-shadow: 0 18px 42px rgba(204, 122, 85, 0.24);
  }

  .hero {
    background-image:
      linear-gradient(90deg, rgba(15, 12, 10, 0.98) 0%, rgba(15, 12, 10, 0.88) 42%, rgba(15, 12, 10, 0.2) 72%),
      linear-gradient(0deg, rgba(15, 12, 10, 0.98), rgba(15, 12, 10, 0) 34%),
      var(--image-lesson-hands);
  }

  .advanced-hero {
    background-image:
      linear-gradient(90deg, rgba(15, 12, 10, 0.98) 0%, rgba(15, 12, 10, 0.9) 46%, rgba(15, 12, 10, 0.24) 74%),
      linear-gradient(0deg, rgba(15, 12, 10, 0.98), rgba(15, 12, 10, 0) 34%),
      var(--image-lesson-hands);
  }

  .home-hero {
    background-image: none;
  }

  .home-hero::before {
    background-image:
      linear-gradient(rgba(15, 12, 10, 0.1), rgba(15, 12, 10, 0.1)),
      linear-gradient(90deg, rgba(15, 12, 10, 0.24), rgba(15, 12, 10, 0.1) 44%, rgba(15, 12, 10, 0.045)),
      var(--image-home-hero);
  }

  .home-hero h1,
  .home-hero .eyebrow,
  .home-hero .hero-copy {
    text-shadow:
      0 0 1px rgba(15, 12, 10, 0.75),
      0 0 18px rgba(15, 12, 10, 0.76),
      0 0 34px rgba(15, 12, 10, 0.58);
  }

  .home-hero .hero-inner::before {
    display: none;
  }

  .home-hero .button-secondary {
    border-color: var(--line-strong);
    background: rgba(250, 244, 232, 0.07);
    color: var(--ink);
  }

  .hero::after {
    background: linear-gradient(0deg, var(--ground), transparent);
  }

  .quick-facts {
    background: transparent;
  }

  .hero-facts,
  .credential-row {
    box-shadow: 0 20px 58px var(--shadow);
  }

  .hero-facts div {
    border-color: var(--line-strong);
    background: rgba(250, 244, 232, 0.07);
  }

  .credential-row div,
  .faq-item {
    background: rgba(250, 244, 232, 0.06);
  }

  .lesson-card {
    background:
      linear-gradient(180deg, rgba(250, 244, 232, 0.07), rgba(250, 244, 232, 0.035)),
      var(--surface);
  }

  .lesson-card:hover,
  .faq-item[open],
  .faq-item:hover {
    box-shadow: 0 18px 46px rgba(200, 152, 47, 0.16);
  }

  .audience-section,
  .proof-section,
  .contact-section,
  .firststep-section {
    background:
      radial-gradient(circle at 16% 18%, rgba(200, 152, 47, 0.13), transparent 24rem),
      var(--ground);
  }

  .rhythm-section,
  .teacher-band,
  .region-section,
  .faq-section {
    background:
      radial-gradient(circle at 82% 18%, rgba(200, 152, 47, 0.14), transparent 24rem),
      linear-gradient(180deg, rgba(250, 244, 232, 0.035), rgba(250, 244, 232, 0.012)),
      var(--surface);
  }

  #unterricht {
    background: transparent;
  }

  #unterricht .lesson-card {
    background: transparent;
  }

  .problem-section {
    background: transparent;
  }

  #theorie.teacher-band {
    background:
      linear-gradient(90deg, rgba(15, 12, 10, 0.95), rgba(15, 12, 10, 0.82) 52%, rgba(15, 12, 10, 0.46)),
      linear-gradient(180deg, rgba(23, 17, 14, 0.56), rgba(15, 12, 10, 0.86)),
      var(--image-theory-sheet) center 50% / cover no-repeat;
  }

  .musiker-section {
    background:
      linear-gradient(rgba(15, 12, 10, 0.38), rgba(15, 12, 10, 0.38)),
      var(--image-about-section) center 32% / cover no-repeat;
  }

  .theory-note {
    background: rgba(15, 12, 10, 0.72);
    backdrop-filter: blur(10px);
  }

  #studium.region-section,
  #faq.faq-section {
    background-color: var(--surface);
    background-image:
      linear-gradient(100deg, rgba(15, 12, 10, 0.96), rgba(15, 12, 10, 0.84) 50%, rgba(15, 12, 10, 0.52)),
      linear-gradient(180deg, rgba(23, 17, 14, 0.34), rgba(15, 12, 10, 0.9)),
      var(--image-study-support);
  }

  .teacher-portrait {
    background:
      radial-gradient(circle at 50% 32%, rgba(200, 152, 47, 0.24), transparent 70%),
      var(--surface);
    box-shadow: 0 30px 80px var(--shadow);
  }

  .credo-section {
    color: var(--ink);
    background:
      linear-gradient(rgba(15, 12, 10, 0.78), rgba(15, 12, 10, 0.94)),
      var(--image-lesson-hands);
    background-size: cover;
    background-position: center 35%;
  }

  .credo-text {
    color: var(--ink);
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    background: rgba(250, 244, 232, 0.07);
    color: var(--ink);
  }

  .contact-form option {
    background: var(--surface);
    color: var(--ink);
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: rgba(250, 244, 232, 0.48);
  }

  .site-nav[data-open="true"],
  .site-footer {
    background: var(--ground);
  }
}

@media (prefers-color-scheme: dark) and (max-width: 820px) {
  .site-nav {
    background: var(--ground);
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(15, 12, 10, 0.98) 0%, rgba(15, 12, 10, 0.9) 48%, rgba(15, 12, 10, 0.48) 100%),
      var(--image-lesson-hands);
    background-position: center, 62% center;
  }

  .home-hero {
    background-image:
      linear-gradient(90deg, rgba(15, 12, 10, 0.98) 0%, rgba(15, 12, 10, 0.9) 50%, rgba(15, 12, 10, 0.16) 84%, rgba(15, 12, 10, 0) 100%),
      linear-gradient(90deg, var(--ground), rgba(15, 12, 10, 0) 72%);
    background-position: center, center;
    background-size: cover, cover;
  }
}
