/* René Kälin – einfach. magisch. sein.
   Waldnacht, Sand und Ocker. Handschrift für das Persönliche, Alegreya für das Lesen.
   Layout: ruhige Textspalte, Bilder als organische Formen, ein handgezeichneter Faden als Trenner. */

@font-face { font-family: "Alegreya"; src: url("../fonts/Alegreya-var.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/Alegreya-Italic-var.woff") format("woff"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Dawning of a New Day"; src: url("../fonts/DawningofaNewDay.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  /* Dämmerlicht: warme Erdnacht, von innen leuchtend */
  --ground: #241E1A;     /* Erde bei Nacht */
  --ground-2: #2E2621;
  --ground-3: #3A302A;
  --line: #56483D;
  --sand: #F2E8D5;       /* Text */
  --sage: #C6BAA5;       /* leiser Text */
  --ochre: #E2AE5E;      /* Akzent: Feuerschein */
  --ochre-hi: #F2CB88;
  --clay: #CB825C;
  --chord: #9FCBBF;
  --on-image: #F6EEDD;   /* Text auf Bildern */
  --shadow: rgba(8,6,4,.5);
  --glow-1: rgba(255,190,100,.24);   /* Gold */
  --glow-2: rgba(236,96,176,.2);   /* Rosé */
  --glow-3: rgba(70,214,196,.18);    /* Türkis */
  --muster: url("../img/kene-nacht.webp");
  --muster-op: .6;

  --serif: "Alegreya", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --hand: "Dawning of a New Day", "Segoe Script", "Bradley Hand", cursive;

  --measure: 36rem;
  --wide: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: dark;
}
/* Morgenlicht: helle, warme Erde im ersten Sonnenlicht */
:root[data-licht="morgen"] {
  --ground: #F8F2E7;
  --ground-2: #EFE5D4;
  --ground-3: #E3D5BE;
  --line: #D2C1A5;
  --sand: #3A2B20;
  --sage: #6F604F;
  --ochre: #A75F28;
  --ochre-hi: #C0782F;
  --clay: #A6553A;
  --chord: #3E8379;
  --shadow: rgba(80,50,20,.18);
  --glow-1: rgba(255,180,90,.45);
  --glow-2: rgba(236,120,200,.3);
  --glow-3: rgba(90,210,195,.3);
  --muster: url("../img/kene-morgen.webp");
  --muster-op: .55;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--ground);
  /* Lichtschleier: Gold von oben, Rosé und Türkis aus der Tiefe */
  background-image:
    radial-gradient(ellipse 75% 55% at 78% -8%, var(--glow-1), transparent 70%),
    radial-gradient(ellipse 55% 45% at -5% 45%, var(--glow-2), transparent 70%),
    radial-gradient(ellipse 65% 50% at 85% 105%, var(--glow-3), transparent 70%);
  background-attachment: fixed;
  color: var(--sand);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.68;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
}
/* feine Papierstruktur – hinter dem Inhalt und ohne Mischmodus: so muss der Browser
   sie nicht bei jedem Videobild über den ganzen Bildschirm neu verrechnen */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .05;
  background: url("../img/papier.webp") repeat;
}
/* Shipibo-Kené über den ganzen Hintergrund, Lakota-Symbole in Medaillons.
   In der Lesespalte gedämpft, an den Rändern leuchtend; der Farbton wandert langsam. */
html::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: var(--muster-op);
  background: var(--muster); background-size: 900px auto; background-position: center top; background-repeat: repeat;
  animation: schimmer 70s ease-in-out infinite alternate;
}
@keyframes schimmer { from { filter: hue-rotate(-35deg) saturate(1.1); } to { filter: hue-rotate(40deg) saturate(1.25); } }
@media (max-width: 760px) {
  html::before { background-size: 640px auto; }
}

/* Kené schimmert: ein ruhiger Lichtschein wandert über das Muster und lässt es aufleuchten */
html::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: var(--muster); background-size: 900px auto; background-position: center top; background-repeat: repeat;
  filter: brightness(1.7) saturate(1.5); opacity: calc(var(--muster-op) * .9);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, rgba(0,0,0,.6) 9%, transparent 22%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0, rgba(0,0,0,.6) 9%, transparent 22%);
  -webkit-mask-size: 130vmax 130vmax; mask-size: 130vmax 130vmax;
  animation: glanz-weg 46s ease-in-out infinite alternate, glanz-puls 7s ease-in-out infinite;
}
:root[data-licht="morgen"]::after { filter: brightness(1.15) saturate(1.8) contrast(1.1); }
@keyframes glanz-weg {
  0%   { -webkit-mask-position: -20vmax -10vmax; mask-position: -20vmax -10vmax; }
  50%  { -webkit-mask-position: 40vmax 30vmax;   mask-position: 40vmax 30vmax; }
  100% { -webkit-mask-position: 10vmax 60vmax;   mask-position: 10vmax 60vmax; }
}
@keyframes glanz-puls { 0%, 100% { opacity: calc(var(--muster-op) * .35); } 50% { opacity: calc(var(--muster-op) * 1.1); } }

/* Lebendiges Kené (assets/js/lebendig.js): Farbwellen und fliessende Linien per WebGL.
   Sobald es läuft, treten die ruhigen CSS-Ebenen oben zurück. */
.buehne { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.kene-live::before, .kene-live::after { display: none; }
@media (prefers-reduced-motion: reduce) { html::before, html::after { animation: none; } }

/* Lichtschleier hinter der Lesespalte: beruhigt Muster und Wesen genau dort, wo gelesen wird */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  --v: color-mix(in srgb, var(--ground) 78%, transparent);
  background: linear-gradient(90deg, transparent calc(50% - 47rem), var(--v) calc(50% - 35rem), var(--v) calc(50% + 35rem), transparent calc(50% + 47rem));
}
@media (max-width: 760px) { body::after { background: color-mix(in srgb, var(--ground) 72%, transparent); } }

/* «Hintergrund wirken lassen»: Seite ausblenden, nur das lebendige Kené bleibt – in voller Stärke */
.wirken { order: 3; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ochre); cursor: pointer; padding: 0; flex: none; margin-left: -.9rem;   /* rückt nah an den Hell/Dunkel-Schalter */ }
.wirken:hover { color: var(--ochre-hi); border-color: var(--ochre); }
.wirken svg { width: 1.35rem; height: 1.35rem; }
.site-head, main, .site-foot { transition: opacity 1.4s ease, visibility 0s linear 0s; }
body::after { transition: opacity 1.4s ease; }
:root[data-wirken] .site-head, :root[data-wirken] main, :root[data-wirken] .site-foot { opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
:root[data-wirken] body::after { opacity: 0; }
:root[data-wirken], :root[data-wirken] body { overflow: hidden; cursor: pointer; }
:root[data-wirken]::before { opacity: 1; transition: opacity 1.4s ease; }
.wirken-zurueck { position: fixed; z-index: 200; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); font-family: var(--sans); font-size: .95rem; color: var(--sand); background: color-mix(in srgb, var(--ground) 55%, transparent); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; cursor: pointer; opacity: 0; transition: opacity 1.2s ease; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
:root[data-wirken] .wirken-zurueck { opacity: .9; }
:root[data-wirken].ruhig .wirken-zurueck { opacity: .18; }
.wirken-zurueck:hover, .wirken-zurueck:focus-visible { opacity: 1 !important; border-color: var(--ochre); }

/* Hell/Dunkel-Schalter */
.licht { order: 3; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ochre); cursor: pointer; padding: 0; flex: none; }
.licht:hover { color: var(--ochre-hi); border-color: var(--ochre); }
.licht svg { width: 1.3rem; height: 1.3rem; }
.licht .mond { display: none; }
:root[data-licht="morgen"] .licht .sonne { display: none; }
:root[data-licht="morgen"] .licht .mond { display: block; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ochre); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ochre-hi); }
:focus-visible { outline: 2px solid var(--ochre-hi); outline-offset: 3px; border-radius: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-weight: 450; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.4rem; }
.hand { font-family: var(--hand); font-weight: 400; font-style: normal; letter-spacing: .01em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sand); color: var(--ground); padding: .5rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

/* handgezeichneter Faden */
/* Kené-Band unter der Navigation und über der Fusszeile – schimmert mit dem Hintergrund */
.thread { height: 30px; background: url("../img/kene-band.svg") repeat-x left center / auto 100%; opacity: .9; animation: schimmer 40s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .thread { animation: none; } }

/* Kopf */
.site-head { position: relative; z-index: 20; }
.site-head__inner { max-width: var(--wide); margin: 0 auto; padding: 1.2rem var(--gutter) .6rem; display: flex; align-items: center; gap: 1.5rem; }
.site-head .thread { max-width: var(--wide); margin: 0 auto; width: calc(100% - 2 * var(--gutter)); }
.brand { text-decoration: none; color: var(--sand); display: grid; line-height: 1; margin-right: auto; }
.brand__name { font-size: 1.55rem; font-weight: 450; }
.brand__tag { font-size: 1.6rem; color: var(--ochre); margin-top: .1rem; transform: rotate(-1.5deg); transform-origin: left; }
.brand:hover .brand__name { color: var(--ochre-hi); }

.nav { font-family: var(--sans); font-size: 1.05rem; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: .15rem; }
.nav a, .nav button { color: var(--sand); text-decoration: none; font: inherit; background: none; border: 0; cursor: pointer; padding: .45rem .7rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .35rem; }
.nav a:hover, .nav button:hover { color: var(--ochre-hi); }
.nav [aria-current="page"], .nav button[data-active] { color: var(--ochre); }
.nav .chev { width: .7em; height: .7em; transition: transform .2s; }
.nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav .has-sub { position: relative; }
.sub { position: absolute; z-index: 50; top: calc(100% + .4rem); left: -.5rem; min-width: 15rem; background: var(--ground-2); border: 1px solid var(--line); border-radius: 16px 20px 14px 18px; padding: .6rem; display: none; box-shadow: 0 18px 40px var(--shadow); }
.sub.open { display: block; max-height: calc(100vh - 7rem); overflow-y: auto; overscroll-behavior: contain; }
.sub a { display: flex; border-radius: 10px; padding: .4rem .7rem; }
.sub a:hover { background: var(--ground-3); }
.sub .indent a { padding-left: 1.5rem; font-size: .98rem; }
.kids__row { display: flex; align-items: center; }
.kids__row > a { flex: 1; }
.nav .kids__toggle { padding: .4rem .55rem; border-radius: 10px; color: var(--sage); font-size: .85rem; gap: .3rem; }
.nav .kids__toggle:hover { background: var(--ground-3); }
/* Unterseiten: eingerückt, mit Leitlinie in Akzentfarbe – sie gehören sichtbar zur Seite darüber */
.has-kids { border-radius: 12px; }
.has-kids:has(> .kids:not([hidden])) { background: color-mix(in srgb, var(--ochre) 7%, transparent); padding-bottom: .35rem; }
.has-kids:has(> .kids:not([hidden])) > .kids__row > a, .has-kids:has(> .kids:not([hidden])) .kids__toggle { color: var(--ochre); }
.nav .kids { margin: .1rem 0 0 1.1rem; padding: .15rem 0 .15rem .6rem; border-left: 2px solid color-mix(in srgb, var(--ochre) 55%, transparent); }
.kids[hidden] { display: none; }
.kids a { font-size: .95rem; padding: .3rem .6rem; color: var(--sage); }
.kids a:hover { color: var(--ochre-hi); }
.kids a[aria-current="page"] { color: var(--ochre); }
.kids--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .2rem; }
.sub:has(.kids--cols:not([hidden])) { min-width: 24rem; }
.nav .gift { border: 1px solid var(--ochre); color: var(--ochre); margin-left: .4rem; }
.nav .gift:hover { background: var(--ochre); color: var(--ground); }
.nav-toggle { display: none; font-family: var(--sans); font-size: 1.05rem; color: var(--sand); background: none; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ground-2); border-block: 1px solid var(--line); padding: .8rem var(--gutter) 1.2rem; display: none; max-height: calc(100vh - 6rem); overflow: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav button { width: 100%; justify-content: space-between; padding: .7rem .2rem; border-radius: 0; font-size: 1.15rem; }
  .nav > ul > li + li { border-top: 1px solid var(--line); }
  .sub { position: static; box-shadow: none; border: 0; background: none; padding: 0 0 .6rem .8rem; }
  .sub a { padding: .45rem .2rem; }
  .nav .kids__toggle { width: auto; padding: .45rem .6rem; }
  .kids a { padding: .4rem .2rem; font-size: 1.02rem; }
  .nav .gift { margin: .8rem 0 0; justify-content: center; border-radius: 999px; }
}

/* Seitenkopf */
.page-head { max-width: var(--wide); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(1.5rem, 4vw, 2.5rem); }
.page-head .lead { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--ochre); margin: .5rem 0 0 .2rem; line-height: 1.2; transform: rotate(-1.2deg); transform-origin: left; }
.crumbs { font-family: var(--sans); font-size: .95rem; margin-bottom: .8rem; }
.crumbs a { color: var(--sage); }

.wrap { max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); }
.block { padding-block: clamp(1.5rem, 4vw, 3rem); }
.block--tight { padding-block: 0 1rem; }
.block-title { margin-bottom: 1.4rem; }
.prose { max-width: none; min-width: 0; }   /* Texte füllen den ganzen Container (Blocksatz) */
.ln { display: block; }
/* Bilder mit eigener Fassung für Hell/Dunkel */
.nur-hell { display: none !important; }
:root[data-licht="morgen"] .nur-hell { display: block !important; }
:root[data-licht="morgen"] .nur-dunkel { display: none !important; }
/* Blocksatz für Fliesstexte (Liedtexte, Zitate, Essenz und Handschrift ausgenommen) */
.prose p, .facet p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 6 3 3; text-wrap: pretty; }
.lyrics p, .voice, .essence, .closing { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.closing { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; color: var(--ochre); margin-top: 2rem; transform: rotate(-1.5deg); transform-origin: left; }
.note { color: var(--sage); font-style: italic; }
.block--note { padding-bottom: 0; }
.caption { font-size: 1.7rem; color: var(--sage); margin-top: .6rem; line-height: 1.1; }

p.subline { font-style: italic; color: var(--sage); font-size: 1.2rem; margin: .3rem 0 1rem; }

.split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split__media { position: sticky; top: 2rem; display: grid; gap: 1.2rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { position: static; } }

figure { margin: 0; }
.frame { overflow: hidden; background: var(--ground-2); border-radius: 18px 26px 16px 30px / 24px 18px 28px 16px; }
.frame img { width: 100%; }
.frame--organic { border-radius: 44% 56% 48% 52% / 40% 42% 58% 60%; }
.single { margin-inline: auto; }
.single--medium { max-width: 40rem; }
.single--wide { max-width: none; }
.single figcaption { font-size: 1.8rem; color: var(--sage); text-align: center; margin-top: .8rem; }

/* Startseite */
.hero { max-width: var(--wide); margin: 0 auto; padding: clamp(1.5rem, 5vw, 3.5rem) var(--gutter) clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(4.2rem, 10vw, 8rem); line-height: .95; color: var(--sand); transform: rotate(-3deg); transform-origin: left center; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { padding-left: .9em; }
.hero h1 span:nth-child(3) { padding-left: 1.9em; color: var(--ochre); }
/* Porträt: Rand läuft weich in den Hintergrund aus */
.hero__portrait .frame { border-radius: 0; background: none; -webkit-mask-image: radial-gradient(ellipse closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 62%, transparent 100%); }
.hero__text { font-size: 1.3rem; font-style: italic; color: var(--sage); margin-top: 2.2rem; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .hero__portrait { order: -1; max-width: 26rem; justify-self: center; } }

.page-index .block .verse { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }

.paths { list-style: none; padding: 0; margin: 0; }
.paths li + li { border-top: 1px dashed var(--line); }
.paths a { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1.25rem; align-items: center; padding: 1rem 0; text-decoration: none; color: var(--sand); }
.paths a:not(:has(img)) { grid-template-columns: 1fr auto; padding: 1.2rem 0; }
.paths img { width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; }
.paths img[src$=".svg"] { object-fit: contain; border-radius: 50%; transition: transform .4s ease; }
.paths a:hover img[src$=".svg"] { transform: rotate(-8deg) scale(1.06); }
.paths strong { display: block; font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 450; line-height: 1.15; }
.paths a > span > span { color: var(--sage); font-size: 1.05rem; }
.paths svg { width: 1.6rem; height: 1.6rem; color: var(--ochre); transition: transform .25s; }
.paths a:hover strong { color: var(--ochre-hi); }
.paths a:hover svg { transform: translateX(5px); }

/* Galerie */
.gallery { columns: 3 18rem; column-gap: 1rem; }
.gallery button { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: var(--ground-2); cursor: zoom-in; border-radius: 12px 16px 10px 14px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: opacity .2s; }
.gallery button:hover img { opacity: .85; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(18,22,18,.94); }
.lightbox__inner { width: 100%; height: 100%; display: grid; place-items: center; padding: 3.5rem 1rem 1rem; }
.lightbox img { max-width: min(96vw, 1400px); max-height: calc(100vh - 6rem); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox__bar { position: fixed; top: .8rem; right: .8rem; left: .8rem; display: flex; justify-content: space-between; gap: .5rem; font-family: var(--sans); }
.lightbox__count { color: var(--sage); margin-left: .5rem; }
.lightbox button { background: var(--ground-2); color: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font: inherit; cursor: pointer; }
.lightbox button:hover { border-color: var(--ochre); color: var(--ochre); }

/* Lieder & Videos */
.song { padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px dashed var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "head media" "lyrics media"; grid-template-rows: auto 1fr; column-gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.song:nth-child(even), .songs--video-links .song:nth-child(odd) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "media head" "media lyrics"; }
.songs--video-links .song:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "head media" "lyrics media"; }
.song__head { grid-area: head; min-width: 0; }
.song__media { grid-area: media; position: sticky; top: 1.5rem; min-width: 0; }
.song__lyrics { grid-area: lyrics; min-width: 0; }
.song__lyrics:empty, .song__media:empty { display: none; }
.song__head h2 { margin-bottom: .1rem; }
.song__text { margin-top: 1.1rem; }
@media (max-width: 900px) {
  .song, .song:nth-child(even), .songs--video-links .song:nth-child(n) { grid-template-columns: 1fr; grid-template-areas: "head" "media" "lyrics"; grid-template-rows: auto; }
  .song__media { position: static; margin-top: .6rem; }
}
.lyrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; font-size: 1.05rem; line-height: 1.55; }
.lyrics--single { grid-template-columns: 1fr; }
.lyrics h3 { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--sage); margin: 0 0 .7rem; }
.lyrics .col-tr { color: var(--sage); font-style: italic; }
.lyrics p { margin: 0 0 1.1em; }
.lyrics .ln { padding-left: 1em; text-indent: -1em; }
.lyrics .part { display: block; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: .85rem; color: var(--ochre); margin-top: .3rem; }
.lyrics .chord { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--chord); white-space: pre; line-height: 1.2; }
.lyrics .meta { display: block; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--sage); }
@media (max-width: 560px) { .lyrics { grid-template-columns: 1fr; } }
details.lyrics-box { margin-top: 1.4rem; border-top: 1px dashed var(--line); }
details.lyrics-box summary { cursor: pointer; font-family: var(--sans); color: var(--ochre); padding: .8rem 0; list-style: none; display: flex; align-items: center; gap: .5rem; }
details.lyrics-box summary::-webkit-details-marker { display: none; }
details.lyrics-box summary::before { content: ""; width: .5em; height: .5em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
details.lyrics-box[open] summary::before { transform: rotate(45deg); }
/* Liedtext: «Nur Text» blendet Akkorde, Liedteile (Verse, Chorus …) und Tuning aus */
html:not([data-akkorde="an"]) .lyrics .chord, html:not([data-akkorde="an"]) .lyrics .part, html:not([data-akkorde="an"]) .lyrics .nur-chords, html:not([data-akkorde="an"]) .lyrics .cp__c { display: none; }
/* ChordPro: Akkord über der Silbe */
html[data-akkorde="an"] .lyrics .cp { padding-left: 0; text-indent: 0; line-height: 1.25; margin-top: .25rem; }
html[data-akkorde="an"] .lyrics .cp__s { display: inline-flex; flex-direction: column; vertical-align: bottom; white-space: pre; }
.lyrics .cp__c { font-family: var(--sans); font-style: normal; font-weight: 400; font-size: .8rem; color: var(--chord); min-height: 1.1em; padding-right: .35em; }
.lyrics .rep { font-family: var(--sans); font-style: normal; font-size: .85em; color: var(--ochre); white-space: nowrap; }
.lyrics-mode { display: inline-flex; margin: 0 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px; font-family: var(--sans); font-size: .9rem; }
.lyrics-mode button { font: inherit; color: var(--sage); background: none; border: 0; border-radius: 999px; padding: .3rem .9rem; cursor: pointer; }
.lyrics-mode button:hover { color: var(--ochre-hi); }
.lyrics-mode button[aria-pressed="true"] { background: var(--ochre); color: var(--ground); }

.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 14px 20px 12px 18px; overflow: hidden; background: var(--ground-2); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video__btn { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--on-image); font-family: var(--sans); background: var(--ground-3); display: grid; place-items: center; padding: 0; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.video__btn::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(30,36,31,.55), transparent 35%); pointer-events: none; }
.video__btn:hover .video__poster { filter: brightness(1.06); }
.video__play { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .7rem; font-size: 1.05rem; color: var(--on-image); }
.video__play svg { width: 3.4rem; height: 3.4rem; color: var(--ochre-hi); transition: transform .25s; }
.video__btn:hover .video__play svg { transform: scale(1.07); }
.video__note { position: absolute; z-index: 2; left: 1rem; bottom: .7rem; font-size: .8rem; color: var(--sage); }
@media (max-width: 520px) { .video__note { display: none; } }

/* Einträge: Empfehlungen, Bücher, Dietas */
.entry { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px dashed var(--line); }
.entry--person { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.entry__head { position: sticky; top: 1.5rem; align-self: start; }
.entry__img { display: grid; gap: .8rem; align-content: start; }
.entry__img img { border-radius: 6px; box-shadow: 0 12px 30px var(--shadow); }
.entry__img img[src$=".svg"] { border-radius: 0; box-shadow: none; }
.entry__body { min-width: 0; }
.entry h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); }
.entry .video { margin-top: 1.4rem; }
@media (max-width: 720px) { .entry, .entry--person { grid-template-columns: 1fr; } .entry__img { max-width: 11rem; } .entry__head { position: static; } }

/* Vorschau verlinkter Webseiten */
.webshot { display: block; position: relative; margin-top: 1.1rem; max-width: 22rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px 14px 9px 12px; background: var(--ground-2); box-shadow: 0 12px 30px var(--shadow); }
.webshot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.webshot:hover img { transform: scale(1.03); }
.webshot__host { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .8rem .5rem; font-family: var(--sans); font-size: .8rem; color: var(--on-image); background: linear-gradient(to top, rgba(30,36,31,.85), transparent); }
.btns { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0 0; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: 1rem; text-decoration: none; color: var(--ground); background: var(--ochre); border-radius: 999px; padding: .55rem 1.15rem; border: 0; cursor: pointer; }
.btn:hover { background: var(--ochre-hi); color: var(--ground); }
.btn--ghost { background: none; color: var(--ochre); border: 1px solid var(--ochre); }
.btn--ghost:hover { background: var(--ochre); color: var(--ground); }

/* Karten: Tierkraftwesen */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.5rem; }
.card { text-decoration: none; color: var(--sand); }
.card img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; border-radius: 40% 40% 12px 12px / 22% 22% 12px 12px; }
.card strong { display: block; font-size: 1.35rem; font-weight: 450; margin-top: .6rem; }
.card span { font-family: var(--sans); color: var(--sage); font-size: .95rem; }
a.card:hover strong { color: var(--ochre-hi); }
.card--soon img { filter: saturate(.5) brightness(.7); }
/* Krafttier-Medaillons (SVG): ganz zeigen, nicht zuschneiden */
.card img[src$=".svg"] { aspect-ratio: 680 / 620; object-fit: contain; border-radius: 0; }
.card--soon img[src$=".svg"] { filter: saturate(.75) brightness(.85); }
/* Visions-Mandalas: quadratisch, leuchten ohne Rahmen */
.card img[src*="-vision."] { aspect-ratio: 1; }
.entry__img img[src*="-vision."] { max-width: 13rem; }
.frame:has(> img[src$=".svg"]) { background: none; border-radius: 0; }

.facets { display: grid; gap: 1.8rem; }
.facet h2 { font-size: 1.2rem; font-family: var(--sans); font-weight: 500; color: var(--ochre); margin-bottom: .4rem; }
.facet ul { margin: 0 0 .8rem; padding-left: 1.1rem; }
.facet li::marker { color: var(--ochre); }
.voice { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.3; font-style: italic; margin: 0; padding: .4rem 0 .4rem 1.3rem; border-left: 2px solid var(--ochre); }
.essence { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--ochre); line-height: 1.2; }

/* Herzensgabe */
.gifts { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; max-width: 60rem; }
.gift-way { background: var(--ground-2); border: 1px solid var(--line); border-radius: 18px 24px 16px 22px; padding: 1.4rem 1.5rem; }
.gift-way h2 { font-size: 1.35rem; margin-bottom: .8rem; }
.gift-way dl { margin: 0 0 1rem; font-family: var(--sans); font-size: 1rem; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; }
.gift-way dt { color: var(--sage); }
.gift-way dd { margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.gift-way p { font-size: 1.05rem; }

/* Fuss */
.site-foot { margin-top: clamp(3rem, 8vw, 6rem); background: var(--ground-2); }
.site-foot .thread { opacity: .6; }
.site-foot__inner { max-width: var(--wide); margin: 0 auto; padding: 2.2rem var(--gutter) 2rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; font-family: var(--sans); font-size: 1rem; color: var(--sage); }
.site-foot strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 450; color: var(--sand); margin-bottom: .4rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.site-foot a { color: var(--sand); text-decoration: none; }
.site-foot a:hover { color: var(--ochre-hi); text-decoration: underline; }
.site-foot address { font-style: normal; font-variant-numeric: lining-nums; }
.site-foot__small { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 1.2rem; font-size: .9rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.site-foot__small .hand { font-size: 1.5rem; color: var(--ochre); }
@media (max-width: 760px) { .site-foot__inner { grid-template-columns: 1fr; } }

/* Ein Moment beim Laden: die Worte erscheinen nacheinander, wie geschrieben */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: write 1.1s ease-out both; clip-path: inset(-60% 100% -80% -10%); }
  .hero h1 span:nth-child(1) { animation-delay: .2s; }
  .hero h1 span:nth-child(2) { animation-delay: .8s; }
  .hero h1 span:nth-child(3) { animation-delay: 1.4s; }
}
@keyframes write { from { clip-path: inset(-60% 100% -80% -10%); } to { clip-path: inset(-60% -10% -80% -10%); } }

@media print {
  body { background: #fff; color: #000; }
  html::before, html::after, .buehne, body::before, body::after, .site-head, .site-foot, .video, .nav-toggle, .wirken-zurueck { display: none !important; }
}

/* ------------------------------------------------------------ Mehrere Medien pro Baustein */
.song__media { display: grid; gap: 1.1rem; align-content: start; }
.split--video { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split--video { grid-template-columns: 1fr; } }
.split__media .video + .video, .entry__img .video + .video { margin-top: 0; }

/* Einträge mit Bildern/Videos: Medienspalte abwechselnd links und rechts */
.entry { grid-template-areas: "media body"; }
.entry > .entry__img { grid-area: media; }
.entry > .entry__body { grid-area: body; }
.entry--rechts { grid-template-columns: minmax(0, 1fr) minmax(0, 13rem); grid-template-areas: "body media"; }
.entry--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.entry--wide.entry--rechts { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.entry--wide .entry__img { position: sticky; top: 1.5rem; align-self: start; }
.entry--wide .entry__img img { max-width: 100%; }
.entry .entry__img .video { margin-top: 0; }
.entry--person { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); grid-template-areas: "head body"; }
.entry--person > .entry__head { grid-area: head; }
.entry--person.entry--rechts { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "body head"; }
@media (max-width: 720px) {
  .entry, .entry--rechts, .entry--wide, .entry--wide.entry--rechts { grid-template-columns: 1fr; grid-template-areas: "media" "body"; }
  .entry--person, .entry--person.entry--rechts { grid-template-columns: 1fr; grid-template-areas: "head" "body"; }
  .entry--wide .entry__img { position: static; max-width: none; }
}

/* ------------------------------------------------------------ Sprachwahl */
.nav .lang > button { gap: .3rem; font-size: .92rem; letter-spacing: .04em; }
.nav .globus { width: 1.05em; height: 1.05em; }
.sub--lang { min-width: 10rem; left: auto; right: -.5rem; }
.sub--lang a[aria-current="true"] { color: var(--ochre); }
@media (max-width: 1100px) { .sub--lang { left: auto; right: 0; } }
@media (max-width: 900px) { .sub--lang { right: auto; } .nav .lang > button { justify-content: flex-start; gap: .5rem; } }

/* ------------------------------------------------------------ Hinweis auf KI-Übersetzung: leuchtet beim Laden auf, bleibt dann ruhig */
.ki-hinweis { --ki: color-mix(in srgb, var(--ochre) 55%, transparent); max-width: var(--wide); margin: 1.2rem auto 0; padding: 0 var(--gutter); display: flex; }
.ki-hinweis > span:last-child { display: inline-flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; font-family: var(--sans); font-size: .95rem; color: var(--sand);
  padding: .5rem 1.1rem .5rem 2.3rem; border: 1px solid var(--ki); border-radius: 999px; background: color-mix(in srgb, var(--ground) 70%, transparent); animation: ki-glow 2.6s ease-in-out 3; }
.ki-hinweis__stern { position: absolute; margin: .48rem 0 0 .95rem; color: var(--ochre); font-size: 1.05rem; z-index: 1; animation: ki-stern 2.6s ease-in-out 3; }
.ki-hinweis a { color: var(--ochre); }
@keyframes ki-glow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 22px 2px color-mix(in srgb, var(--ochre) 55%, transparent); border-color: var(--ochre); } }
@keyframes ki-stern { 0%, 100% { opacity: .55; transform: scale(.9) rotate(0); } 50% { opacity: 1; transform: scale(1.25) rotate(20deg); } }
@media (prefers-reduced-motion: reduce) { .ki-hinweis__stern, .ki-hinweis > span:last-child { animation: none; } }

/* ------------------------------------------------------------ Kontaktformular */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.4rem; max-width: 46rem; margin-top: 1.4rem; font-family: var(--sans); }
.kontakt p { margin: 0; }
.kontakt__wide { grid-column: 1 / -1; }
.kontakt label { display: block; font-size: .95rem; color: var(--sage); margin: .6rem 0 .3rem; }
.kontakt input[type="text"], .kontakt input[type="email"], .kontakt textarea { width: 100%; font: inherit; font-size: 1.05rem; color: var(--sand); background: color-mix(in srgb, var(--ground) 75%, transparent); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; }
.kontakt textarea { resize: vertical; min-height: 9rem; font-family: var(--serif); }
.kontakt input:focus, .kontakt textarea:focus { outline: 2px solid color-mix(in srgb, var(--ochre) 70%, transparent); outline-offset: 1px; border-color: var(--ochre); }
.kontakt__ok label { display: flex; gap: .6rem; align-items: flex-start; color: var(--sand); line-height: 1.45; }
.kontakt__ok input { margin-top: .25rem; accent-color: var(--ochre); width: 1.1rem; height: 1.1rem; flex: none; }
.kontakt__ok a { color: var(--ochre); }
.kontakt .btn { margin-top: .8rem; }
.kontakt .btn[disabled] { opacity: .6; cursor: wait; }
.kontakt .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: .8rem 0 0; padding: .7rem 1rem; border-radius: 12px; border: 1px solid var(--line); }
.form-msg--ok { border-color: var(--ochre); color: var(--sand); background: color-mix(in srgb, var(--ochre) 12%, transparent); }
.form-msg--err { border-color: #c45c4a; color: var(--sand); background: color-mix(in srgb, #c45c4a 14%, transparent); }
@media (max-width: 640px) { .kontakt { grid-template-columns: 1fr; } }

/* Läuft ein Video, ruht auch der CSS-Schimmer – Grafikleistung für das Video */
:root.video-laeuft::before, :root.video-laeuft::after { animation-play-state: paused; }
:root.video-laeuft body::before, :root.video-laeuft::after { display: none; }   /* Papierstruktur und Lichtschein ruhen */
:root.video-laeuft .thread, :root.video-laeuft .thread::before, :root.video-laeuft .thread::after { animation-play-state: paused; }

/* Buchcover u. ä. neben dem Text: alle gleich breit und im selben Format (2:3) */
.entry:not(.entry--wide) .entry__img img:not([src$=".svg"]) { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
/* Medien unter dem Text (Einstellung «Neben dem Text steht …») */
.entry__unten { margin-top: 1.4rem; display: grid; gap: 1rem; }
.entry__unten .video { margin-top: 0; }
.entry__bilder { grid-template-columns: repeat(auto-fill, minmax(8rem, 11rem)); }
.entry__bilder img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 12px 30px var(--shadow); }

/* Alle Videos so gross wie die Musikvideos (dort ergibt die Spalte ca. 33.4rem) – egal in welchem Baustein */
.video { width: 100%; max-width: 33.4rem; }
