/* Neutrale Vorlage, dunkel für alle Seiten. Farben kommen aus theme.css (vom Bauskript aus creator.js erzeugt). */
:root{
  --bg:#120f0d; --surface:#1b1714; --text:#f1ebe2; --muted:#b8afa3; --line:#8a8076; --hairline:#2e2823;
  --akzent:#8FD0B8; --knopf:#86B8A2; --knopf-text:#10201A;
  --r-aussen:20px; --abstand:8px;
  --relief:inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.25);
  --relief-druck:inset 0 1px 2px rgba(0,0,0,.25);
  --font:ui-rounded,"SF Pro Rounded",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.5 var(--font);min-height:100vh;min-height:100dvh}
img{max-width:100%}
h1,h2{font-family:var(--serif);font-weight:500;text-wrap:balance;margin:0}
p{text-wrap:pretty}

/* Knöpfe: schmale Kapseln, gesperrte Großbuchstaben */
.btn{display:inline-flex;align-items:center;justify-content:center;width:min(100%,320px);min-height:52px;padding:0 28px;border-radius:9999px;
  font:600 13px/20px var(--font);letter-spacing:.14em;text-transform:uppercase;text-decoration:none;text-align:center;text-wrap:balance;cursor:pointer;
  transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease,border-color .18s ease}
.btn:focus-visible,.textlink:focus-visible,.fuss a:focus-visible{outline:3px solid var(--text);outline-offset:3px}
.btn-primaer{background:var(--knopf);color:var(--knopf-text);border:0;box-shadow:var(--relief)}
.btn-primaer:hover{filter:brightness(1.07)}
.btn-primaer:active{box-shadow:var(--relief-druck);transform:translateY(1px)}
.btn-sekundaer{background:transparent;color:var(--akzent);border:1px solid color-mix(in srgb,var(--akzent) 55%,transparent);min-height:48px}
.btn-sekundaer:hover{background:color-mix(in srgb,var(--akzent) 12%,transparent)}
.btn-sekundaer:active{background:color-mix(in srgb,var(--akzent) 20%,transparent)}
.btn-bald{background:transparent;color:var(--muted);border:1px solid var(--line);cursor:default}
.btn-klein{width:auto;min-height:48px;padding:0 20px;letter-spacing:.12em}
button.btn{appearance:none;-webkit-appearance:none;font-family:var(--font)}
.btn[hidden]{display:none!important}
.textlink{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 16px;color:var(--muted);font-size:15px;text-decoration:underline;text-underline-offset:4px}
.textlink:hover{color:var(--text)}

/* Fuß */
.fuss{margin-top:auto;padding:32px 16px 16px;text-align:center;color:var(--muted);font-size:14px;line-height:24px;display:flex;flex-direction:column;align-items:center;gap:0}
.fuss p{margin:0;text-wrap:balance}
.fuss nav{display:flex;justify-content:center;gap:16px}
.fuss a{color:var(--muted);text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:48px;padding:0 4px}
.fuss a:hover{color:var(--text)}

/* Linkseite /ig/ */
.seite{max-width:480px;margin:0 auto;padding:56px 16px 16px;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;gap:32px}
.ig{align-items:center;text-align:center}
.kopf{display:flex;flex-direction:column;align-items:center;gap:8px}
.profil{width:96px;height:96px;border-radius:50%;border:2px solid var(--akzent);display:block;background:var(--surface);object-fit:cover}
.ig h1{margin-top:16px;font-size:clamp(44px,13vw,56px);line-height:1.05;letter-spacing:.01em}
.tagline{margin:0;font:italic 400 21px/28px var(--serif);color:var(--muted);text-wrap:balance}
.ig .knoepfe{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%}

/* Held */
.leiste{position:fixed;top:0;left:0;right:0;z-index:5;height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;
  background:rgba(18,15,13,.82);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--hairline);
  transition:opacity .2s ease,transform .2s ease,visibility .2s}
.leiste-name{font:italic 500 28px/1 var(--serif)}
.leiste-text{margin-left:auto;font-size:13px;color:var(--muted)}
html.js-oben .leiste{opacity:0;visibility:hidden;transform:translateY(-8px)}
.held{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:flex-end;overflow:hidden;background:var(--surface)}
.held-bild{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block}
.held::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(18,15,13,.95) 0%,rgba(18,15,13,.72) 34%,rgba(18,15,13,0) 66%)}
.held-text{position:relative;z-index:1;width:100%;max-width:560px;padding:96px 16px 40px;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.held h1{font-size:clamp(64px,20vw,96px);line-height:.95}
.held-untertitel{margin:8px 0 0;font:italic 500 clamp(28px,8vw,36px)/1.15 var(--serif)}
.held-zeile{margin:8px 0 0;font:italic 400 20px/28px var(--serif);color:var(--muted)}
.held-klein{margin:16px 0 24px;font-size:15px;line-height:24px;color:var(--muted);max-width:420px}
.hinweis{margin:12px 0 0;font-size:14px;line-height:24px;color:var(--muted)}

/* Über mich */
.ueber{max-width:1040px;margin:0 auto;padding:64px 16px 32px;display:grid;grid-template-columns:1fr;gap:32px;align-items:center}
.ueber-bild{width:100%;max-width:420px;aspect-ratio:4/5;height:auto;object-fit:cover;object-position:50% 20%;border-radius:var(--r-aussen);display:block;justify-self:center}
.ueber h2,.reihe-abschnitt h2{font-size:clamp(36px,10vw,48px);line-height:1.1;margin-bottom:16px}
.ueber-text p{margin:0 0 16px;font-size:17px;line-height:28px;color:var(--text)}
.ueber-text .btn{margin-top:8px}

/* Bildreihe: wischbar, Seite läuft nicht über */
.reihe-abschnitt{max-width:1040px;margin:0 auto;padding:32px 0 32px}
.reihe-abschnitt h2{padding:0 16px}
.reihe{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:0 16px 16px;scroll-padding:0 16px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.reihe img{flex:0 0 auto;width:min(64vw,260px);height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:var(--r-aussen);scroll-snap-align:start;display:block;background:var(--surface)}

@media (min-width:760px){
  .leiste{padding:0 32px}
  .held-text{padding:96px 48px 64px}
  .held-bild{object-position:50% 28%}
  .ueber{grid-template-columns:minmax(0,380px) 1fr;gap:64px;padding:96px 32px 32px}
  .ueber-bild{justify-self:start}
  .reihe-abschnitt h2{padding:0 32px}
  .reihe{padding:0 32px 16px;scroll-padding:0 32px}
}
@media (max-width:759px){.leiste-text{display:none}.leiste{justify-content:space-between}}

/* Altersabfrage */
.ueberlagerung{position:fixed;inset:0;z-index:10;display:none;align-items:center;justify-content:center;padding:16px;overflow:hidden;overscroll-behavior:contain;
  background:rgba(12,9,8,.6);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
.ueberlagerung[hidden]{display:none!important}
.gate-inhalt{width:100%;max-width:360px;display:flex;flex-direction:column;align-items:center;text-align:center}
.gate-bild{width:88px;height:88px;border-radius:50%;border:2px solid var(--akzent);object-fit:cover;display:block}
.gate-inhalt h2{margin-top:24px;font-size:40px;line-height:1.1}
.gate-inhalt p{margin:12px 0 32px;color:var(--muted);text-wrap:balance}
.gate-inhalt .textlink{margin-top:8px}
html.gate,html.gate body{overflow:hidden}
html.gate .ueberlagerung{display:flex;animation:gate-ein .22s ease-out both}
html.gate .gate-inhalt{animation:karte-ein .22s ease-out both}
html.gate.gate-aus .ueberlagerung{animation:gate-aus .14s ease-in both}
html.gate.gate-aus .gate-inhalt{animation:karte-aus .14s ease-in both}
@keyframes gate-ein{from{opacity:0}to{opacity:1}}
@keyframes gate-aus{from{opacity:1}to{opacity:0}}
@keyframes karte-ein{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes karte-aus{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.98)}}

/* Textseiten und Weiterleitungen */
.text h1{font-size:34px;line-height:40px;margin:0 0 16px}
.text p,.text li{text-wrap:pretty}
.text a{color:var(--akzent)}
.entwurf{background:#B3261E;color:#fff;font-weight:700;padding:16px;border-radius:var(--r-aussen);margin:0 0 8px;text-align:center}
.platzhalter{background:#FFE08A;color:#2E2B28;padding:0 4px;border-radius:4px;font-weight:600}
.zwischen{justify-content:center}
.zwischen .karte{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--r-aussen);padding:24px;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.zwischen .karte p{margin:0;text-wrap:pretty}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.leiste{transition:none}.btn-primaer:active{transform:none}
  html.gate .ueberlagerung,html.gate .gate-inhalt,html.gate.gate-aus .ueberlagerung,html.gate.gate-aus .gate-inhalt{animation:none}}
