/* florens.io – Stil. Dunkel mit warmem Gold (wie die Spirale), dazu hell. Handy zuerst. Keine fremden Quellen. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/inter-latin-400-normal.8909904ab6.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/inter-latin-500-normal.f3779f1efc.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/inter-latin-600-normal.f9a06e79cd.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/cormorant-garamond-latin-500-normal.8197bf5361.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/cormorant-garamond-latin-600-normal.ae062b6d5a.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/cormorant-garamond-latin-500-italic.4fb55a7a6d.woff2") format("woff2"); }

:root {
  --grund: #0e0d0b;
  --grund-2: #13110e;
  --flaeche: #191610;
  --flaeche-2: #221e16;
  --text: #efe7d6;
  --text-leise: #a89e8a;
  --text-still: #766d5d;
  --gold: #d9ab55;
  --gold-hell: #f2d38e;
  --gold-tief: #8f6a2c;
  --linie: rgba(217, 171, 85, 0.18);
  --linie-stark: rgba(217, 171, 85, 0.42);
  --schatten: 0 18px 50px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rand: clamp(18px, 5vw, 56px);
  --breite: 1080px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-thema="dunkel"]) {
    --grund: #f6f1e7; --grund-2: #efe8db; --flaeche: #fffdf8; --flaeche-2: #f1e9da;
    --text: #1f1b14; --text-leise: #685e4e; --text-still: #958a77;
    --gold: #a47628; --gold-hell: #c99a45; --gold-tief: #6f4f16;
    --linie: rgba(111, 79, 22, 0.18); --linie-stark: rgba(111, 79, 22, 0.42);
    --schatten: 0 18px 50px rgba(70, 50, 15, 0.16);
    color-scheme: light;
  }
}
:root[data-thema="hell"] {
  --grund: #f6f1e7; --grund-2: #efe8db; --flaeche: #fffdf8; --flaeche-2: #f1e9da;
  --text: #1f1b14; --text-leise: #685e4e; --text-still: #958a77;
  --gold: #a47628; --gold-hell: #c99a45; --gold-tief: #6f4f16;
  --linie: rgba(111, 79, 22, 0.18); --linie-stark: rgba(111, 79, 22, 0.42);
  --schatten: 0 18px 50px rgba(70, 50, 15, 0.16);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 400 16px/1.6 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--gold-hell); text-decoration-color: var(--linie-stark); text-underline-offset: 3px; }
:root[data-thema="hell"] a { color: var(--gold-tief); }
@media (prefers-color-scheme: light) { :root:not([data-thema="dunkel"]) a { color: var(--gold-tief); } }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.005em; line-height: 1.12; margin: 0; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--flaeche); color: var(--text); padding: 10px 14px; border-radius: 8px; }
.sprung:focus { top: 12px; }

/* ---------- Kopf ---------- */
.kopf {
  position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) var(--rand) 14px; pointer-events: none;
}
.kopf > * { pointer-events: auto; }
body:not(.mit-spirale) .kopf { position: relative; border-bottom: 1px solid var(--linie); }
.kopf-name { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: 0.02em; }
.kopf-name .marke { width: 26px; height: 26px; color: var(--gold); }
.mit-spirale .kopf-name span { opacity: 0; transition: opacity .4s; }
.mit-spirale.gescrollt .kopf-name span { opacity: 1; }
.kopf-nav { display: flex; align-items: center; gap: clamp(10px, 3vw, 26px); font: 500 14px/1 var(--sans); }
.kopf-nav a { color: var(--text-leise); text-decoration: none; }
.kopf-nav a:hover { color: var(--text); }
.thema-knopf { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linie); background: transparent; color: var(--text-leise); cursor: pointer; }
.thema-knopf:hover { color: var(--text); border-color: var(--linie-stark); }
.thema-knopf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.thema-knopf .mond { fill: currentColor; stroke: none; }
.thema-knopf .sonne { display: none; }
:root[data-thema="hell"] .thema-knopf .mond { display: none; }
:root[data-thema="hell"] .thema-knopf .sonne { display: inline; }
@media (prefers-color-scheme: light) {
  :root:not([data-thema]) .thema-knopf .mond { display: none; }
  :root:not([data-thema]) .thema-knopf .sonne { display: inline; }
}
@media (max-width: 420px) { .kopf-nav a[href="/#kontakt"] { display: none; } }

/* ---------- Bühne mit der Spirale ---------- */
.buehne {
  position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden;
  background: radial-gradient(120% 90% at 40% 55%, var(--grund-2), var(--grund) 70%);
}
.leinwand { position: absolute; inset: 0; touch-action: pan-y; outline: none; cursor: default; }
.leinwand:focus-visible { box-shadow: inset 0 0 0 2px var(--linie-stark); }
.leinwand canvas { display: block; }
.leinwand-ersatz { position: absolute; left: 50%; top: 40%; width: min(86vw, 760px); height: auto; transform: translate(-50%, -50%); opacity: .9; }
.leinwand.bereit .leinwand-ersatz { display: none; }

.held {
  position: absolute; left: var(--rand); right: var(--rand); bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 5;
  pointer-events: none; max-width: 640px;
}
.held-ueber { margin: 0 0 8px; color: var(--gold); font: 500 12px/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.held h1 { font-size: clamp(40px, 11vw, 92px); font-weight: 500; line-height: 0.98; }
.held-titel { margin: 12px 0 0; color: var(--text-leise); font: 400 clamp(15px, 3.8vw, 19px)/1.45 var(--sans); max-width: 34ch; }

.steuerung { position: absolute; right: var(--rand); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 6; display: flex; align-items: center; gap: 6px; }
.steuerung button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--linie); background: color-mix(in srgb, var(--grund) 70%, transparent);
  color: var(--text-leise); font: 400 18px/1 var(--sans); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.steuerung button:hover { color: var(--text); border-color: var(--linie-stark); }
.anzeige { margin-right: 8px; color: var(--text-still); font: 500 12px/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hinweis {
  position: absolute; left: 50%; top: calc(64px + env(safe-area-inset-top)); transform: translateX(-50%); margin: 0; z-index: 4;
  color: var(--text-still); font: 400 12px/1.4 var(--sans); letter-spacing: .04em; white-space: nowrap; transition: opacity 1.2s; pointer-events: none;
}
.hinweis.weg { opacity: 0; }
@media (max-width: 520px) { .hinweis { white-space: normal; width: 80vw; text-align: center; } }
.weiter {
  position: absolute; left: var(--rand); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 6; display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-leise); text-decoration: none; font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 16px 12px 0;
}
.weiter svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.weiter:hover { color: var(--text); }
@media (prefers-reduced-motion: no-preference) { .weiter svg { animation: atmen 2.8s ease-in-out infinite; } }
@keyframes atmen { 50% { transform: translateY(3px); } }
html:not(.js) .steuerung, html:not(.js) .hinweis { display: none; }

/* Karte zu einer Marke */
.karte {
  position: absolute; z-index: 12; width: min(340px, calc(100vw - 2 * var(--rand))); padding: 18px 20px 16px;
  background: color-mix(in srgb, var(--flaeche) 94%, transparent); border: 1px solid var(--linie-stark); border-radius: 14px;
  box-shadow: var(--schatten); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.karte[hidden] { display: none; }
.karte-zu { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--text-leise); font: 400 22px/1 var(--sans); cursor: pointer; border-radius: 50%; }
.karte-zu:hover { color: var(--text); background: var(--flaeche-2); }
.karte-art { margin: 0 32px 6px 0; color: var(--gold); font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.karte-titel { font-size: 22px; margin-right: 18px; }
.karte-unter { margin: 6px 0 0; color: var(--text-leise); font-size: 13px; }
.karte-text { margin: 10px 0 0; font-size: 14px; line-height: 1.55; }
.karte-link { display: inline-block; margin-top: 10px; font-size: 14px; }
@media (max-width: 560px) {
  .karte { left: 12px !important; right: 12px; top: auto !important; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; }
}

/* ---------- Über mich ---------- */
.ueber { position: relative; max-width: var(--breite); margin: 0 auto; padding: clamp(56px, 10vw, 120px) var(--rand) 40px; outline: none; }
.ueber.einzel { min-height: 60vh; }
.block { padding: clamp(36px, 6vw, 64px) 0; border-top: 1px solid var(--linie); }
.block:first-child { border-top: 0; padding-top: 0; }
.kicker { margin: 0 0 12px; color: var(--gold); font: 500 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.block h2, .block h1 { font-size: clamp(30px, 6vw, 48px); margin-bottom: 22px; max-width: 22ch; }
.block h3 { font-size: 21px; font-weight: 600; }
.block p { max-width: 64ch; }
.einleitung { font: 400 clamp(19px, 3.6vw, 23px)/1.55 var(--serif); color: var(--text); font-style: italic; }
.profil p { color: var(--text-leise); }
.profil .einleitung { color: var(--text); }
.aktion { margin-top: 28px; }
.knopf {
  display: inline-block; padding: 13px 22px; border-radius: 999px; background: var(--gold); color: #17130b !important; text-decoration: none;
  font: 600 14px/1 var(--sans); letter-spacing: .02em; border: 1px solid var(--gold); cursor: pointer;
}
.knopf:hover { background: var(--gold-hell); border-color: var(--gold-hell); }
.knopf.leise { background: transparent; color: var(--text) !important; border-color: var(--linie-stark); }
.knopf.leise:hover { border-color: var(--gold); background: transparent; }

.kacheln { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.kachel { padding: 22px 22px 18px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; }
.kachel h3 { margin-bottom: 8px; }
.kachel p { margin: 0; color: var(--text-leise); font-size: 15px; }

.stationen, .liste { list-style: none; padding: 0; margin: 0; }
.stationen li, .liste li { display: grid; grid-template-columns: 1fr; gap: 4px 28px; padding: 18px 0; border-top: 1px solid var(--linie); }
.stationen li:first-child, .liste li:first-child { border-top: 0; }
@media (min-width: 720px) { .stationen li, .liste li { grid-template-columns: 170px 1fr; } }
.stationen time, .liste time { color: var(--gold); font: 500 13px/1.9 var(--sans); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.stationen h3, .liste h3 { font-size: 20px; }
.liste h3 a { color: var(--text); text-decoration: none; }
.liste h3 a:hover { color: var(--gold-hell); }
.stationen p, .liste p { margin: 4px 0 0; color: var(--text-leise); font-size: 15px; }
.stationen .org { color: var(--text); font-weight: 500; }
.nummern { font-variant-numeric: tabular-nums; letter-spacing: .02em; font-size: 13px !important; }
.offen { display: inline-block; margin-top: 8px !important; padding: 2px 9px; border: 1px dashed var(--linie-stark); border-radius: 999px; font-size: 12px !important; color: var(--text-still) !important; }
.fussnote { margin-top: 16px; color: var(--text-still); font-size: 13px; }
.platzhalter-text { color: var(--text-still); font-style: normal; background: repeating-linear-gradient(135deg, transparent 0 6px, var(--linie) 6px 7px); padding: 0 4px; border-radius: 3px; }
.platzhalter.rahmen, .showcase.platzhalter.leer { border: 1px dashed var(--linie-stark); border-radius: 14px; padding: 18px 22px; }

.showcases { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.showcase { padding: 22px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; }
.showcase p { color: var(--text-leise); font-size: 15px; }
.showcase.leer { background: transparent; display: grid; align-content: center; min-height: 200px; }
.phi { margin-top: 14px; }
.phi-bruch { font: 500 26px/1.2 var(--serif); color: var(--text) !important; font-variant-numeric: tabular-nums; margin: 0 0 12px; }
.phi-skala { position: relative; height: 26px; margin: 0 0 8px; border-bottom: 1px solid var(--linie-stark); }
.phi-ziel { position: absolute; left: 50%; bottom: -6px; width: 1px; height: 30px; background: var(--gold); }
.phi-ziel::after { content: "φ"; position: absolute; top: -18px; left: -4px; color: var(--gold); font: 500 15px/1 var(--serif); }
.phi-punkt { position: absolute; bottom: -5px; left: calc(var(--lage, .5) * 100%); width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold-hell); box-shadow: 0 0 0 4px var(--linie); transition: left .5s cubic-bezier(.2, .8, .2, 1); }
.phi-abstand { font-size: 13px !important; font-variant-numeric: tabular-nums; margin: 0 0 14px; }

.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.links a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--linie); border-radius: 12px; text-decoration: none; background: var(--flaeche); }
.links a:hover { border-color: var(--gold); }
.links-titel { color: var(--text); font-weight: 500; }
.links-ziel { color: var(--text-leise); font-size: 14px; overflow-wrap: anywhere; }
.liste-einfach { padding-left: 18px; color: var(--text-leise); }

.fuss { max-width: var(--breite); margin: 0 auto; padding: 28px var(--rand) calc(36px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--linie); color: var(--text-still); font-size: 13px; }
.fuss p { margin: 0; }
.fuss a { color: var(--text-leise); }
