:root {
  --ink: #f3f0e8;
  --muted: #a9b1ad;
  --text-soft: #c3cbc7;
  --paper: #111715;
  --surface: #19211e;
  --surface-raised: #202a26;
  --line: #35413c;
  --green: #64b493;
  --green-dark: #34765f;
  --orange: #ef8156;
  --yellow: #edb84f;
  --button-text: #0b1914;
  --shadow: 0 20px 55px rgba(0, 0, 0, .32);
  --radius: 22px;
  --max: 1160px;
}
html[data-theme="light"] {
  --ink: #17211d;
  --muted: #66716c;
  --text-soft: #43504a;
  --paper: #f6f3ec;
  --surface: #fffdf8;
  --surface-raised: #ffffff;
  --line: #dcd8cd;
  --green: #245c4b;
  --green-dark: #173f34;
  --orange: #df6b3c;
  --button-text: #ffffff;
  --shadow: 0 18px 50px rgba(31, 52, 43, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 3%, rgba(237, 184, 79, .12), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(16px); }
.nav-wrap { width: min(var(--max), calc(100% - 2rem)); min-height: 74px; margin: auto; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; margin-right: auto; font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; padding: 2px; object-fit: contain; border-radius: 10px; background: #fff; mix-blend-mode: normal; filter: none; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.main-nav { display: flex; align-items: center; gap: .2rem; }
.main-nav a { padding: .55rem .75rem; color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; border-radius: 10px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green); background: rgba(36,92,75,.08); }
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: .27rem; }
.lang-switch button { min-width: 34px; border: 0; padding: .3rem .45rem; color: var(--muted); background: transparent; border-radius: 999px; cursor: pointer; font-size: .78rem; font-weight: 800; }
.lang-switch button.active { color: var(--button-text); background: var(--green); }
.theme-toggle { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); cursor: pointer; }
.theme-toggle:hover { border-color: var(--green); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: .45rem .65rem; cursor: pointer; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.hero { min-height: min(740px, calc(100vh - 74px)); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(4rem, 9vw, 8rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; color: var(--green); font-size: .77rem; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 820px; font-size: clamp(3rem, 7vw, 6.7rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; }
h3 { font-size: 1.55rem; font-weight: 600; }
.hero-lead { max-width: 660px; margin: 1.6rem 0 2rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .7rem 1.05rem; border: 1px solid var(--green); border-radius: 12px; color: var(--button-text); background: var(--green); font-weight: 750; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: var(--green-dark); }
.button.secondary { border-color: var(--line); color: var(--ink); background: var(--surface); }
.hero-art { position: relative; min-height: 440px; }
.orbit { position: absolute; inset: 4% 6%; border: 1px solid rgba(36,92,75,.22); border-radius: 50%; transform: rotate(-12deg); }
.orbit.two { inset: 15% 0; border-color: rgba(223,107,60,.24); transform: rotate(28deg); }
.art-core { position: absolute; inset: 18% 16%; display: grid; place-items: center; border-radius: 46% 54% 56% 44% / 50% 42% 58% 50%; background: var(--green); color: white; box-shadow: var(--shadow); }
.art-core span { font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); }
.art-dot { position: absolute; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; color: white; font-weight: 900; box-shadow: var(--shadow); }
.art-dot.one { top: 5%; right: 10%; background: var(--orange); transform: rotate(8deg); }
.art-dot.two { bottom: 3%; left: 8%; background: var(--yellow); color: var(--ink); transform: rotate(-9deg); }
.art-dot.three { right: 0; bottom: 25%; background: var(--surface); color: var(--green); border: 1px solid var(--line); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading p { max-width: 520px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.topic-card { grid-column: span 6; position: relative; min-height: 290px; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 25px rgba(31,52,43,.04); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.topic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.topic-card:nth-child(1) { background: var(--green); color: white; }
.topic-card:nth-child(4) { background: #202925; color: white; }
.topic-number { display: block; margin-bottom: 4rem; opacity: .65; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.topic-card p { max-width: 430px; margin: 1rem 0 0; color: inherit; opacity: .75; }
.card-arrow { position: absolute; right: 1.5rem; top: 1.5rem; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.25rem; }
.page-hero { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem); }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6.3rem); }
.page-hero .hero-lead { max-width: 780px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(2rem, 7vw, 6rem); align-items: start; padding-bottom: 6rem; }
.prose { max-width: 780px; }
.prose section { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.prose section:first-child { padding-top: 0; border-top: 0; }
.prose h2 { margin-bottom: 1.2rem; font-size: clamp(2rem, 4vw, 3rem); }
.prose h3 { margin: 2rem 0 .8rem; }
.prose p, .prose li { color: var(--text-soft); font-size: 1.04rem; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.side-nav { position: sticky; top: 105px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.78); }
.side-nav strong { display: block; margin-bottom: .7rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.side-nav a { display: block; padding: .35rem 0; color: var(--muted); text-decoration: none; font-size: .9rem; }
.side-nav a:hover { color: var(--green); }
.callout { margin: 1.5rem 0; padding: 1.4rem; border-left: 4px solid var(--orange); border-radius: 0 15px 15px 0; background: rgba(237,184,79,.12); }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin: 2rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.feature { padding: 1.5rem; background: var(--surface); }
.feature span { display: block; color: var(--orange); font-weight: 900; font-size: 1.5rem; }
.feature p { margin-bottom: 0; font-size: .92rem; }
.media-card { overflow: hidden; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 25px rgba(31,52,43,.05); }
.media-card-header { padding: 1.5rem 1.5rem 1rem; }
.media-card-header p { margin-bottom: 0; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.album-card { position: relative; display: flex; flex-direction: column; min-height: 390px; overflow: hidden; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.album-card::before { content: ""; height: 150px; margin: -1.6rem -1.6rem 1.6rem; background: linear-gradient(135deg, var(--green), #477b69); }
.album-card:nth-child(2)::before { background: linear-gradient(135deg, #293d51, #be5c40); }
.album-card:nth-child(3)::before { background: linear-gradient(135deg, #252a2c, #8b6f48); }
.album-card-kicker { position: absolute; top: 1.25rem; left: 1.4rem; color: rgba(255,255,255,.75); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.album-card h2 { font-size: 2rem; }
.album-card p { color: var(--muted); }
.album-card-link { margin-top: auto; color: var(--green); font-weight: 800; }
.album-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.album-toolbar p { margin: 0; color: var(--muted); font-size: .9rem; }
.play-all { border: 0; cursor: pointer; }
.playlist-controls { display: flex; align-items: center; gap: .45rem; }
.track-skip { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface-raised); cursor: pointer; font-size: 1.05rem; }
.track-skip:hover { border-color: var(--green); color: var(--green); }
.song-list { display: grid; gap: 1rem; }
.song-panel { display: grid; grid-template-columns: 1fr; min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.song-media { display: grid; grid-template-columns: 72px minmax(150px,1fr) minmax(280px,480px); align-items: center; gap: 1rem; padding: .55rem 1rem; }
.track-cover { grid-row: 1; width: 64px; height: 64px; border-radius: 9px; object-fit: cover; box-shadow: 0 5px 16px rgba(0,0,0,.3); }
.song-media:has(.track-cover) { grid-template-columns: 64px 72px minmax(150px,1fr) minmax(280px,480px); }
.song-number { display: block; margin: 0; color: var(--orange); font-size: .68rem; font-weight: 850; letter-spacing: .08em; }
.song-media h2 { margin: 0; font-family: inherit; font-size: 1rem; letter-spacing: -.01em; }
.song-media audio { width: 100%; height: 34px; }
.song-media audio:not([controls]) { display: none; }
.compact-audio-controls { display: grid; grid-template-columns: 34px minmax(90px,1fr) auto; align-items: center; gap: .65rem; min-width: 0; }
.compact-play { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 1rem; }
.compact-seek { width: 100%; min-width: 70px; accent-color: var(--green); cursor: pointer; }
.compact-time { color: var(--ink); font-size: .88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lyrics-box { height: 390px; overflow-y: auto; padding: 1.5rem 1.8rem; scrollbar-color: var(--green) transparent; }
.song-panel .lyrics-box { display: none; height: 330px; border-top: 1px solid var(--line); }
.song-panel .lyrics-box[hidden] { display: none !important; }
.song-panel.is-active { border-color: var(--green); }
.song-panel.is-active .lyrics-box { display: block; }
.lyrics-song-title { margin: 0 0 1.2rem; padding-bottom: .7rem; border-bottom: 2px solid var(--orange); color: var(--ink); font-size: 1.65rem; }
.lyrics-box h4 { margin: 1.35rem 0 .55rem; color: var(--orange); font-family: inherit; font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; }
.lyrics-box h4:first-child { margin-top: 0; }
.lyric-stanza { margin: 0 0 1.2rem; color: var(--text-soft); line-height: 1.75; }
.lyric-stanza span { display: block; }
.lyrics-status { color: var(--muted); font-style: italic; }
.film-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #0e1210; }
.film-panel video { width: 100%; height: 100%; min-height: 520px; object-fit: contain; }
.film-panel .lyrics-box { height: 680px; background: var(--surface); }
.album-detail-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block: 1.25rem; }
.album-detail-head h1 { font-size: clamp(2.2rem,4vw,3.7rem); }
.album-detail-head .hero-lead { max-width: 650px; margin: .5rem 0 0; font-size: .95rem; }
.album-detail-head .back-link { margin-bottom: .5rem; }
.album-detail-section { padding-bottom: 2rem; }
.album-detail-section .film-panel video { min-height: 0; max-height: calc(100vh - 205px); }
.audio-album-main .album-detail-head { padding-block: .8rem; }
.audio-album-main .album-toolbar { margin-bottom: .65rem; padding: .65rem 1rem; }
.audio-album-main .song-list { gap: .4rem; }
.back-link { display: inline-flex; margin-bottom: 1.5rem; color: var(--green); font-weight: 750; text-decoration: none; }
.video-wrap { background: #0e1210; }
.video-wrap video { width: 100%; max-height: 640px; }
.track-list { list-style: none; margin: 0; padding: 0 1.5rem 1.5rem !important; }
.track { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.track > span { padding-top: .2rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.track-title { display: block; margin-bottom: .35rem; color: var(--ink); font-weight: 700; }
.track audio { width: 100%; height: 36px; }
.calculator-frame { width: 100%; min-height: 1520px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.external-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--green-dark); color: white; }
.external-card p { margin: .3rem 0 0; color: rgba(255,255,255,.72); }
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; }
[data-lang] { display: none; }
html[lang="de"] [data-lang="de"], html[lang="en"] [data-lang="en"] { display: revert; }

/* Kompakte Einstiegsseite: Kerninhalt passt auf üblichen Desktop-Höhen in einen Viewport. */
.home-main { min-height: calc(100svh - 74px); display: grid; align-items: center; padding-block: clamp(1.5rem, 4vh, 3.5rem); }
.home-overview { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.home-copy h1 { max-width: 650px; font-size: clamp(3.3rem, 6vw, 6rem); }
.home-copy .hero-lead { margin: 1.2rem 0 1.5rem; font-size: clamp(1rem, 1.35vw, 1.16rem); }
.home-motto { display: flex; align-items: center; gap: .7rem; margin-top: 1.5rem; color: var(--muted); font-size: .88rem; }
.home-motto::before { content: ""; width: 34px; height: 1px; background: var(--orange); }
.home-topics { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.home-topic { position: relative; display: flex; flex-direction: column; min-height: 205px; padding: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.home-topic:hover { transform: translateY(-3px); border-color: var(--green); background: var(--surface-raised); }
.home-topic:first-child { background: var(--green-dark); border-color: transparent; }
.home-topic:last-child { background: #252321; }
.home-topic-number { color: var(--orange); font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.home-topic h2 { margin-top: auto; font-size: clamp(1.5rem, 2.4vw, 2.15rem); }
.home-topic p { margin: .55rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.home-topic:first-child p, .home-topic:first-child .home-topic-number { color: rgba(255,255,255,.72); }
.home-topic-arrow { position: absolute; right: 1rem; top: 1rem; font-size: 1.1rem; }
.home-topic.static { cursor: default; }
.home-topic.static:hover { transform: none; border-color: var(--line); background: var(--surface); }
body[data-title-de^="Academy"] .home-topics { gap: 0; border-top: 1px solid var(--line); }
body[data-title-de^="Academy"] .home-topic.static,
body[data-title-de^="Academy"] .home-topic.static:first-child,
body[data-title-de^="Academy"] .home-topic.static:last-child,
body[data-title-de^="Academy"] .home-topic.static:hover { min-height: 150px; padding: 1.25rem 1rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
body[data-title-de^="Academy"] .home-topic.static:nth-child(odd) { border-right: 1px solid var(--line); }
body[data-title-de^="Academy"] .home-topic.static h2 { margin-top: .65rem; font-size: clamp(1.35rem,2vw,1.8rem); }
body[data-title-de^="Academy"] .home-topic.static .home-topic-number { color: var(--orange); }
.ebook-card { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 1rem; margin-bottom: .65rem; padding: .8rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ebook-card img { width: 90px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; }
.ebook-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .6rem; }
.ebook-actions .button { padding: .55rem .8rem; font-size: .82rem; }
.music-topics .home-topic:first-child { grid-column: auto; background: linear-gradient(135deg, var(--green-dark), #2b4c55); }
.music-topics .home-topic:nth-child(2) { background: linear-gradient(135deg, #293d51, #643d33); }
.music-topics .home-topic:nth-child(3) { background: linear-gradient(135deg, #292724, #51432f); }
.music-topics .home-topic.has-cover > *:not(.album-card-cover) { position: relative; z-index: 2; }
.album-card-cover { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .2s, transform .35s; }
.music-topics .home-topic.has-cover::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(9,12,11,.08) 20%, rgba(9,12,11,.9) 100%); }
.music-topics .home-topic.has-cover:hover .album-card-cover { opacity: .9; transform: scale(1.025); }
.music-page { overflow-x: hidden; }
.music-page .home-main { align-items: start; height: calc(100svh - 74px); min-height: 580px; padding-block: clamp(.7rem,1.7vh,1.25rem); overflow: hidden; }
.music-page .home-overview { grid-template-columns: 1fr; gap: clamp(.55rem,1.2vh,1rem); }
.music-page .home-copy { display: flex; align-items: baseline; gap: 1rem; }
.music-page .home-copy h1 { max-width: none; font-size: clamp(1.8rem,3.2vw,3rem); }
.music-carousel-controls { display: flex; justify-content: flex-end; align-items: center; gap: .45rem; }
.music-carousel-button { display: grid; place-items: center; min-width: 42px; height: 38px; padding-inline: .75rem; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface); cursor: pointer; font: inherit; font-weight: 800; }
.music-carousel-button:hover { border-color: var(--green); color: var(--green); }
.music-carousel-button[data-carousel-toggle] { min-width: 112px; font-size: .82rem; }
.music-page .music-topics { display: block; width: calc(100vw - max(2rem,calc((100vw - var(--container)) / 2))); max-width: none; margin: 0; overflow: hidden; touch-action: pan-y; }
.music-carousel-track { display: flex; gap: clamp(.8rem,1.5vw,1.25rem); width: max-content; will-change: transform; }
.music-carousel-track.is-moving { transition: transform .58s cubic-bezier(.22,.75,.25,1); }
.music-page .music-topics .home-topic { display: grid; flex: 0 0 min(72vw,calc(100svh - 225px)); width: min(72vw,calc(100svh - 225px)); min-width: 340px; min-height: 0; max-height: calc(100svh - 190px); padding: 0 0 .8rem; scroll-snap-align: start; background: var(--surface); }
.music-page .music-topics .home-topic.has-cover::after { display: none; }
.music-page .music-topics .album-card-cover { position: relative; width: 100%; height: min(72vw,calc(100svh - 315px)); min-height: 0; opacity: 1; object-fit: contain; background: #111; border-bottom: 1px solid var(--line); }
.music-page .music-topics .home-topic.has-cover:hover .album-card-cover { opacity: 1; transform: none; }
.music-page .music-topics .home-topic-number { margin: .65rem 1rem 0; }
.music-page .music-topics .home-topic-arrow { z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: rgba(8,12,10,.72); }
.music-page .music-topics .home-topic h2 { margin: .15rem 1rem 0; font-size: clamp(1.5rem,2.5vw,2.2rem); text-shadow: none; }
.music-page .music-topics .home-topic p { max-width: 46rem; margin: .15rem 1rem 0; color: var(--muted); font-size: .82rem; }
.album-detail-head.has-album-cover { display: grid; grid-template-columns: 96px minmax(200px,auto) minmax(260px,1fr); align-items: center; }
.album-cover { width: 96px; aspect-ratio: 1; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow); }
.album-detail-head.has-album-cover .hero-lead { justify-self: end; }
html[data-theme="light"] .home-topic.static,
html[data-theme="light"] .home-topic.static:first-child,
html[data-theme="light"] .home-topic.static:last-child,
html[data-theme="light"] .home-topic.static:hover { border-color: #dcd8cd; color: #17211d; background: #fffdf8; }
html[data-theme="light"] .home-topic.static p { color: #43504a; }
html[data-theme="light"] .home-topic.static .home-topic-number { color: #df6b3c; }
html[data-theme="light"] .music-topics .home-topic { color: #f3f0e8; }
html[data-theme="light"] .music-topics .home-topic p,
html[data-theme="light"] .music-topics .home-topic .home-topic-number { color: rgba(255,255,255,.82); }
html[data-theme="light"] .music-page .music-topics .home-topic { color: var(--ink); background: var(--surface); }
html[data-theme="light"] .music-page .music-topics .home-topic p { color: var(--muted); }
html[data-theme="light"] .music-page .music-topics .home-topic .home-topic-number { color: var(--orange); }
.compact-note { max-width: 560px; margin-top: 1.2rem; color: var(--muted); font-size: .85rem; }
.contact-main { padding-block: clamp(1.5rem,4vh,3rem); }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem,6vw,5rem); align-items: center; }
.contact-form { padding: clamp(1.2rem,2vw,2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-field { display: grid; gap: .35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, .topic-label { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: .72rem .8rem; color: var(--ink); background: var(--paper); outline: none; }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(100,180,147,.12); }
.topic-options { display: grid; grid-template-columns: repeat(4,1fr); gap: .45rem; margin-top: .35rem; }
.topic-option input { position: absolute; opacity: 0; pointer-events: none; }
.topic-option { display: flex; align-items: center; justify-content: center; min-height: 39px; padding: .62rem .35rem; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); text-align: center; cursor: pointer; font-size: .8rem; }
.topic-option:has(input:checked) { border-color: var(--green); color: var(--button-text); background: var(--green); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.form-actions p { margin: 0; color: var(--muted); font-size: .75rem; }
.form-status { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: 10px; }
.form-status.success { color: #bdebd8; background: rgba(100,180,147,.15); }
.form-status.error { color: #ffc4b2; background: rgba(239,129,86,.14); }
.website-field { position: absolute !important; left: -10000px !important; }

html:not([data-theme="light"]) .side-nav,
html:not([data-theme="light"]) .global,
html:not([data-theme="light"]) .metric,
html:not([data-theme="light"]) .wrate-card { background: var(--surface); }
html:not([data-theme="light"]) .callout { background: rgba(239,129,86,.1); }
html:not([data-theme="light"]) .info-box { background: rgba(100,180,147,.12); color: var(--green); }
html:not([data-theme="light"]) audio { color-scheme: dark; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 1rem; right: 1rem; top: 68px; display: none; flex-direction: column; align-items: stretch; padding: .75rem; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .home-main { min-height: auto; padding-block: 3rem; }
  .home-overview { grid-template-columns: 1fr; }
  .music-page .home-main { height: auto; min-height: calc(100svh - 74px); padding-block: 1rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .home-topics { grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: 340px; }
  .topic-card { grid-column: span 12; }
  .content-layout { grid-template-columns: 1fr; }
  .side-nav { display: none; }
  .section-heading { align-items: start; flex-direction: column; }
  .feature-strip { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: 1fr; }
  .album-card { min-height: 330px; }
  .song-panel, .film-panel { grid-template-columns: 1fr; }
  .song-media, .song-media:has(.track-cover) { grid-template-columns: 56px minmax(100px,1fr) minmax(230px,1.35fr); gap: .7rem; }
  .song-media .track-cover { width: 56px; height: 56px; }
  .song-number { display: none; }
  .album-detail-head { align-items: flex-start; flex-direction: column; }
  .album-detail-head.has-album-cover { display: grid; grid-template-columns: 80px 1fr; }
  .album-detail-head.has-album-cover .album-cover { width: 80px; }
  .album-detail-head.has-album-cover .hero-lead { grid-column: 1 / -1; justify-self: start; }
  .film-panel video { min-height: 280px; }
  .film-panel .lyrics-box { height: 520px; }
  .calculator-frame { min-height: 2450px; }
}
@media (max-width: 540px) {
  .brand span:last-child { display: none; }
  .nav-wrap { gap: .55rem; }
  .hero-art { min-height: 280px; }
  .home-topics { grid-template-columns: 1fr; }
  body[data-title-de^="Academy"] .home-topic.static:nth-child(odd) { border-right: 0; }
  .music-topics .home-topic:first-child { grid-column: auto; }
  .music-page .home-copy { display: block; }
  .music-carousel-controls { justify-content: flex-start; }
  .music-page .music-topics { width: calc(100vw - 1rem); }
  .music-page .music-topics .home-topic { flex-basis: calc(100vw - 2.5rem); width: calc(100vw - 2.5rem); min-width: 0; max-height: none; }
  .music-page .music-topics .album-card-cover { height: min(calc(100vw - 2.5rem),calc(100svh - 300px)); }
  .home-topic { min-height: 170px; }
  .form-grid, .topic-options { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .art-dot { width: 55px; height: 55px; border-radius: 17px; }
  .footer-wrap, .external-card { align-items: flex-start; flex-direction: column; }
  .track { grid-template-columns: 1fr; }
  .album-toolbar { align-items: flex-start; flex-direction: column; }
  .playlist-controls { width: 100%; }
  .playlist-controls .play-all { flex: 1; }
  .track > span { display: none; }
  .song-media, .song-media:has(.track-cover) { grid-template-columns: 48px minmax(82px,.85fr) minmax(150px,1.4fr); gap: .5rem; padding: .45rem .55rem; }
  .song-media .track-cover { width: 48px; height: 48px; border-radius: 8px; }
  .song-media h2 { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
  .compact-audio-controls { grid-template-columns: 28px minmax(45px,1fr) auto; gap: .35rem; }
  .compact-play { width: 28px; height: 30px; }
  .compact-time { font-size: .72rem; }
}

/* Album-Reel: native Scroll-Snap-Navigation für beliebig viele Alben. */
.music-page .home-main { height: auto; min-height: calc(100svh - 74px); overflow: hidden; }
.music-page .home-overview { --reel-card: clamp(240px, 27vw, 350px); gap: clamp(.55rem, 1.2vh, 1rem); }
.music-reel-hint { margin-right: auto; color: var(--muted); font-size: .78rem; }
.music-page #album-carousel.music-topics {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}
.music-page #album-carousel.music-topics::-webkit-scrollbar { display: none; }
.music-page #album-carousel .music-carousel-track {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.8vw, 1.5rem);
  width: max-content;
  padding-inline: calc((100% - var(--reel-card)) / 2);
  transform: none;
}
.music-page #album-carousel .home-topic {
  display: grid;
  flex: 0 0 var(--reel-card);
  width: var(--reel-card);
  min-width: 0;
  min-height: 0;
  max-height: none;
  padding: 0 0 .8rem;
  opacity: .68;
  transform: none;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: opacity .25s, border-color .25s, box-shadow .25s;
}
.music-page #album-carousel .home-topic.is-active {
  z-index: 2;
  opacity: 1;
  transform: none;
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.music-page #album-carousel .home-topic:not(.is-active) h2,
.music-page #album-carousel .home-topic:not(.is-active) p,
.music-page #album-carousel .home-topic:not(.is-active) .home-topic-number { opacity: .25; }
.music-page #album-carousel .album-card-cover {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 1;
  background: #111;
  border-bottom: 1px solid var(--line);
}
.music-reel-thumbnails {
  display: flex;
  justify-content: center;
  gap: .5rem;
  max-width: 100%;
  padding: .15rem .15rem .45rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.music-reel-thumbnail {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 11px;
  opacity: .55;
  background: var(--surface);
  cursor: pointer;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.music-reel-thumbnail:hover { opacity: .85; transform: translateY(-2px); }
.music-reel-thumbnail.is-active { opacity: 1; border-color: var(--green); }
.music-reel-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 540px) {
  .music-page .home-overview { --reel-card: min(76vw, 310px); }
  .music-page .home-copy { display: none; }
  .music-reel-hint { width: 100%; }
  .music-carousel-controls { flex-wrap: wrap; }
  .music-page #album-carousel.music-topics { width: 100%; }
  .music-page #album-carousel .home-topic { flex-basis: var(--reel-card); width: var(--reel-card); }
  .music-page #album-carousel .album-card-cover { height: auto; }
  .music-reel-thumbnails { justify-content: flex-start; }
}

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