/* Neues Design, Oktober 2026: persönliche Seite statt Bewerbung.
   Liegt nach styles.css und überschreibt dessen Farben, Rundungen und Kopf.
   Leitgedanke: warmes Morgenlicht (Sonne), viel Rundung, große Schrift, Bewegung,
   die etwas bedeutet (Strahlen drehen sich, Regal baut sich auf, Tasten leuchten). */

:root {
  --papier: #fbf6ec;
  --papier-2: #f5e9d2;
  --karte: #fffdf8;
  --tinte: #2a1f3d;
  --text: #2f2740;
  --text-leise: #5e566f;
  --linie: #e9dcc3;
  --akzent: #b4410a;
  --akzent-hell: #f4a62a;
  --auf-akzent: #fff;
  --dunkel: #1b1230;
  --dunkel-2: #2a1d45;
  --dunkel-text: #f3ecfa;
  --dunkel-leise: #c0b4d4;
  --schatten: 0 1px 2px rgba(42, 31, 61, .06), 0 16px 36px -14px rgba(42, 31, 61, .22);
  --rund: 22px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #15101f;
    --papier-2: #1f1830;
    --karte: #271e3d;
    --tinte: #f6f0ff;
    --text: #e8e1f3;
    --text-leise: #b6acca;
    --linie: #3b3055;
    --akzent: #f6a94a;
    --akzent-hell: #fbc470;
    --auf-akzent: #1c1206;
    --dunkel: #0d0916;
    --dunkel-2: #1a1230;
    --schatten: 0 1px 2px rgba(0, 0, 0, .35), 0 16px 36px -14px rgba(0, 0, 0, .65);
  }
  :root:not([data-theme="light"]) :is(.abschnitt--hell, #arbeitsweise) { background: var(--papier-2); --karte: #1a1228; --linie: #4a3d68; }
  :root:not([data-theme="light"]) main > section + section { box-shadow: inset 0 1px 0 rgba(251, 196, 112, .14); }
}

/* ---------- Grundton ---------- */
h1, h2, h3 { letter-spacing: -.02em; }
.abschnitt h2 { font-size: clamp(30px, 21px + 3.2vw, 52px); max-width: 18em; }
.abschnitt .vorzeile::before { content: none; }
.vorzeile {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font: 700 12px/1.3 var(--schrift-text); letter-spacing: .12em;
  background: color-mix(in srgb, var(--akzent-hell) 22%, transparent); color: var(--akzent);
}
.abschnitt--dunkel .vorzeile { background: rgba(244, 166, 42, .16); color: #f9c46f; }
.knopf { border-width: 2px; border-radius: 16px; font-weight: 700; }
.knopf--voll { background: var(--akzent-hell); border-color: var(--akzent-hell); color: #2a1604; }
.knopf--voll:hover { background: var(--tinte); border-color: var(--tinte); color: var(--papier); }

/* ---------- Kopf ---------- */
.kopf { background: rgba(27, 18, 48, .93); border-bottom-color: rgba(251, 196, 112, .16); }
.marke__zeichen {
  width: 32px; height: 32px; padding: 0; display: inline-grid; place-items: center;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd98a, #f4a62a 70%); color: #2a1604; font: 800 16px/1 var(--schrift-titel);
}
.kopf__knopf { background: var(--akzent-hell); color: #2a1604; border-radius: 12px; font-weight: 700; }
.kopf__knopf:hover { background: #fff; color: #2a1604; }
.fortschritt span { background: linear-gradient(90deg, #7a3bd1, #f4a62a 70%, #ffd98a); }

/* ---------- Start ---------- */
.hallo { position: relative; padding: 40px 0 64px; overflow: hidden; isolation: isolate; }
.hallo__sonne {
  position: absolute; z-index: -1; width: 120vmax; height: 120vmax; left: 50%; top: -52vmax; margin-left: -60vmax;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 224, 140, .75) 0, rgba(244, 166, 42, .28) 14%, transparent 34%),
    repeating-conic-gradient(from 0deg, rgba(244, 166, 42, .16) 0 4deg, transparent 4deg 14deg);
  -webkit-mask-image: radial-gradient(circle, #000 5%, transparent 60%); mask-image: radial-gradient(circle, #000 5%, transparent 60%);
  animation: strahlen 160s linear infinite;
}
@keyframes strahlen { to { transform: rotate(360deg); } }
.hallo__raster { display: grid; gap: 40px; }
.hallo__gruss {
  display: inline-block; margin-bottom: 18px; padding: 8px 16px; border-radius: 999px;
  background: var(--karte); border: 1px solid var(--linie); box-shadow: var(--schatten);
  font: 600 15px/1.2 var(--schrift-text); color: var(--text);
}
.hallo__gruss::before { content: "☀"; margin-right: 8px; color: var(--akzent-hell); }
.hallo h1 { font-size: clamp(42px, 24px + 6.4vw, 92px); font-weight: 800; line-height: 1.02; margin-bottom: 22px; }
.hallo__akzent { display: block; margin-top: .18em; font-size: .52em; line-height: 1.12; font-weight: 700; color: var(--akzent); letter-spacing: -.015em; }
.hallo__lead { font-size: clamp(18px, 16px + .6vw, 22px); color: var(--text-leise); max-width: 34em; }
.hallo__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hallo__knoepfe .knopf { flex: 1 1 190px; max-width: 280px; }
.hallo__ort { margin-top: 22px; font: 600 14px/1.4 var(--schrift-mono); color: var(--text-leise); }

.hallo__buehne { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.hallo__buehne .held__bild {
  position: absolute; inset: 17%; margin: 0; border-radius: 50%;
  box-shadow: 0 0 0 8px var(--karte), 0 0 0 10px var(--akzent-hell), 0 0 70px 10px rgba(244, 166, 42, .45);
}
.hallo__buehne .held__bild img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hallo__buehne .umlauf { --r: 44cqw; }
.hallo__buehne .umlauf span { animation-duration: 70s; font-size: 13px; padding: 8px 13px; }
.hallo__buehne .umlauf::before { border-color: color-mix(in srgb, var(--akzent-hell) 70%, transparent); }

@media (min-width: 760px) {
  .hallo { padding: 72px 0 96px; }
  .hallo__raster { grid-template-columns: 1.25fr 1fr; align-items: center; column-gap: 48px; }
  .hallo__buehne { width: min(100%, 440px); }
}

/* ---------- Laufband ---------- */
.laufband { background: var(--dunkel); border: 0; padding: 18px 0; }
.laufband__liste li { font: 800 clamp(20px, 16px + 1.2vw, 30px)/1 var(--schrift-titel); color: #f3ecfa; letter-spacing: -.01em; }
.laufband__liste li::after { color: var(--akzent-hell); }

/* ---------- Über mich ---------- */
.ueber { display: grid; gap: 32px; margin-top: 28px; }
.ueber__text { font-size: clamp(17px, 15.5px + .4vw, 20px); }
.ueber__text p { max-width: 36em; }
.fakten { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.fakten li {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 18px 16px;
  box-shadow: var(--schatten); display: grid; gap: 4px;
}
.fakten li:nth-child(1) { border-top: 4px solid #f4a62a; }
.fakten li:nth-child(2) { border-top: 4px solid #7a3bd1; }
.fakten li:nth-child(3) { border-top: 4px solid #006277; }
.fakten li:nth-child(4) { border-top: 4px solid #d6455d; }
.fakten b { font: 800 clamp(20px, 17px + 1vw, 28px)/1.1 var(--schrift-titel); color: var(--tinte); }
.fakten span { font-size: 14px; color: var(--text-leise); line-height: 1.4; }
@media (min-width: 860px) {
  .ueber { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
}

/* ---------- Musik ---------- */
.musik { display: grid; gap: 18px; }
.klang {
  position: relative; background: var(--karte); border: 1px solid var(--linie); border-radius: 28px;
  padding: 28px 24px 26px; box-shadow: var(--schatten); overflow: hidden;
}
.klang__bild { width: 120px; height: auto; color: var(--akzent); margin-bottom: 14px; }
.klang h3 { font-size: clamp(26px, 22px + 1.2vw, 36px); font-weight: 800; }
.klang__stand { font: 700 13px/1.3 var(--schrift-mono); letter-spacing: .04em; color: var(--akzent); margin: 4px 0 12px; }
.klang p:last-child { margin-bottom: 0; color: var(--text-leise); }
.klang::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 166, 42, .28), transparent 70%); pointer-events: none;
}
.klang:hover .klang__bild { animation: wippen .9s ease-in-out; }
@keyframes wippen { 30% { transform: rotate(-4deg) scale(1.05); } 65% { transform: rotate(3deg) scale(1.05); } }
.musik__hinweis { margin: 20px 0 0; font-size: 15px; color: var(--text-leise); }
@media (min-width: 760px) { .musik { grid-template-columns: 1fr 1fr; gap: 24px; } .klang { padding: 36px 32px 32px; } }

/* ---------- Bücher ---------- */
.regal {
  list-style: none; display: flex; align-items: flex-end; justify-content: center; gap: clamp(6px, 2vw, 14px);
  padding: 24px 12px 0; border-bottom: 10px solid #8a5a2b; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--akzent-hell) 12%, transparent));
  max-width: 560px; margin: 8px auto 0;
}
.buch { display: block; }
.buch__rueck {
  display: flex; align-items: center; justify-content: center; width: clamp(54px, 15vw, 86px); height: var(--h);
  background: var(--f); color: #fff; border-radius: 6px 6px 2px 2px;
  box-shadow: inset -6px 0 0 rgba(0, 0, 0, .18), inset 4px 0 0 rgba(255, 255, 255, .14);
  font: 700 clamp(12px, 11px + .4vw, 15px)/1.2 var(--schrift-titel); letter-spacing: .02em;
  writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; padding: 14px 0;
  transition: transform .3s;
}
.buch:hover .buch__rueck { transform: rotate(180deg) translateX(8px); }
.buch.einblenden { transform: translateY(40px); }
.buch.einblenden.ist-sichtbar { transform: none; }
.regal__text { text-align: center; max-width: 36em; margin: 28px auto 0; color: var(--text-leise); font-size: 18px; }

/* ---------- Was mich antreibt ---------- */
.antrieb__karten { display: grid; gap: 16px; }
.antrieb__karte {
  position: relative; border: 1px solid rgba(251, 196, 112, .22); border-radius: 26px; padding: 26px 24px;
  background: rgba(255, 255, 255, .04); overflow: hidden;
}
.antrieb__karte h3 { font-size: clamp(22px, 19px + 1vw, 28px); margin-bottom: 8px; position: relative; }
.antrieb__karte p { color: var(--dunkel-leise); margin: 0; position: relative; }
.antrieb__sonne {
  position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%;
  background:
    radial-gradient(circle, #ffd98a 0 18%, rgba(244, 166, 42, .5) 19% 34%, transparent 36%),
    repeating-conic-gradient(rgba(244, 166, 42, .45) 0 6deg, transparent 6deg 24deg);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%);
  animation: strahlen 60s linear infinite; opacity: .85;
}
.antrieb__sonne--zwei { background: radial-gradient(circle, #c9a8ff 0 18%, rgba(122, 59, 209, .55) 19% 36%, transparent 38%), repeating-conic-gradient(rgba(122, 59, 209, .5) 0 6deg, transparent 6deg 24deg); animation-direction: reverse; }
@media (min-width: 760px) { .antrieb__karten { grid-template-columns: 1fr 1fr; gap: 24px; } .antrieb__karte { padding: 34px 32px; } }

/* ---------- Projekte, Werdegang, Kontakt: gleiche Bauteile, neuer Ton ---------- */
.projekt { border-radius: 26px; }
.projekt__nr { background: var(--akzent-hell); color: #2a1604; }
.projekt--spiel { border-radius: 26px; }
.station::before { background: var(--akzent-hell); }
.kontakt { text-align: left; }
.kontaktweg { border-radius: 22px; }
.kontaktweg:hover { background: #2a1d45; }
.trenner .vorzeile { background: rgba(244, 166, 42, .2); color: #ffd98a; }

.fuss { background: var(--dunkel); }

@media (prefers-reduced-motion: reduce) {
  .hallo__sonne, .antrieb__sonne, .klang:hover .klang__bild { animation: none; }
}

/* ---------- Spiele-Seite und Verweis ---------- */
.spiele-teaser__innen { display: grid; gap: 28px; align-items: center; }
.spiele-teaser__bild { width: min(60%, 240px); margin: 0 auto; filter: drop-shadow(0 20px 28px rgba(42, 31, 61, .3)); }
@media (min-width: 760px) { .spiele-teaser__innen { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.spielwahl { padding: 40px 0 24px; }
.spielkarten { display: grid; gap: 18px; }
.spielkarte {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; text-decoration: none; color: var(--text);
  background: var(--karte); border: 1px solid var(--linie); border-radius: 26px; padding: 20px; box-shadow: var(--schatten);
  transition: transform .25s, border-color .25s;
}
.spielkarte:hover { transform: translateY(-4px); border-color: var(--akzent-hell); }
.spielkarte img { width: 100%; height: auto; }
.spielkarte h2 { font-size: clamp(24px, 20px + 1.2vw, 32px); margin-bottom: 6px; }
.spielkarte p { margin: 0 0 10px; color: var(--text-leise); }
.spielkarte__los { font-weight: 700; color: var(--akzent); }
.spielwahl__zurueck { margin: 24px 0 0; }
.spielwahl__zurueck a { font-weight: 600; }
@media (min-width: 760px) { .spielkarten { grid-template-columns: 1fr 1fr; } .spielkarte { grid-template-columns: 140px 1fr; padding: 26px; } }
.trenner h1 { color: #fff; margin-bottom: 12px; font-size: clamp(34px, 24px + 3.4vw, 60px); font-weight: 800; }
.trenner .vorzeile::before { content: none; }

/* Logo: Handpan von oben, die Tonfelder sind die Sonnenstrahlen.
   Ab und zu klingt eine kleine Melodie: der Ding in der Mitte, dann die Töne im Zickzack nach oben. */
.marke { gap: 10px; }
.marke .marke__zeichen { width: 38px; height: 38px; padding: 0; border-radius: 0; background: none; display: block; flex: none; overflow: visible; }
.hp-glanz { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hp-glanz { animation: hp-klang 9s ease-out infinite; animation-delay: calc(var(--n) * .26s + 1.2s); }
  .marke:hover .hp-glanz { animation-duration: 2.8s; animation-delay: calc(var(--n) * .26s); }
}
@keyframes hp-klang { 0% { opacity: 0; } 2% { opacity: .9; } 9% { opacity: 0; } 100% { opacity: 0; } }

/* ---------- KÜNI fliegt: hochkantes Spielfeld, Ton-Knopf oben rechts ---------- */
.spiel.flug { aspect-ratio: 3 / 4; max-width: 460px; margin-inline: auto; background: #061722; }
.flug .spiel__tafel { flex-direction: column; }
.flug .spiel__figur { width: 92px; }
.flug__ton {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center; border-radius: 12px; cursor: pointer;
  background: rgba(6, 18, 24, .55); border: 1px solid rgba(79, 245, 240, .3); color: #4ff5f0;
}
.flug__ton:hover { background: rgba(6, 18, 24, .85); }
.flug__ton:focus-visible { outline: 2px solid #4ff5f0; outline-offset: 2px; }
.flug__ton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flug__ton .ton-box { fill: currentColor; }
.flug__ton[aria-pressed="true"] .ton-aus, .flug__ton[aria-pressed="false"] .ton-an { display: none; }
.flug ~ .bestenliste, #fliegt .bestenliste { margin-inline: auto; }
@media (min-width: 760px) { .spielkarten { grid-template-columns: repeat(3, 1fr); } .spielkarte { grid-template-columns: 1fr; align-content: start; } .spielkarte img { width: auto; height: 120px; object-fit: contain; } }

/* Zähler in den Faktenkarten: die Zahl ist so groß wie der Rest der Überschrift */
.fakten b span { font: inherit; color: inherit; }

/* ---------- Handy-Menü im neuen Design (vorher noch blau-grau aus styles.css) ---------- */
.burger { border-radius: 12px; background: rgba(251, 196, 112, .08); border-color: rgba(251, 196, 112, .4); color: #f3ecfa; }
.burger[aria-expanded="true"] { background: rgba(244, 166, 42, .2); border-color: var(--akzent-hell); color: #ffd98a; }
@media (max-width: 1079px) {
  .kopf.ist-offen { background: rgba(27, 18, 48, .98); }
  .kopf.ist-offen .nav {
    background: #241a3d; border-bottom: 2px solid var(--akzent-hell);
    border-radius: 0 0 22px 22px; box-shadow: 0 24px 50px rgba(8, 4, 18, .65);
  }
  .kopf.ist-offen .nav a { color: #f3ecfa; border-bottom-color: rgba(251, 196, 112, .16); }
  .kopf.ist-offen .nav a[aria-current="true"], .kopf.ist-offen .nav a:hover { color: #ffd98a; border-bottom-color: var(--akzent-hell); }
  .kopf.ist-offen .nav__meta a { color: #fff; }
  .kopf.ist-offen .nav__meta a + a { color: var(--dunkel-leise); }
  .kopf.ist-offen::after { background: rgba(14, 8, 26, .72); }
}

/* ---------- Kontakt: Telefon und WhatsApp ---------- */
.kontaktweg--wa .kontaktweg__symbol { background: #25d366; }
.kontaktweg--wa:hover .kontaktweg__symbol svg { animation: brief-hopsen .6s ease; }
@media (min-width: 900px) { .kontakt__wege { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; } }

/* Handpan-Zeichnung in der Musik-Karte: Pinselstrich in der Akzentfarbe */
.klang__bild--pan { width: 160px; margin-bottom: 8px; }
