/* Layout: 2000px-Entwurf skaliert in cqw (1cqw = 20px im Entwurf). Verlaufsleiste links, Bild-Panel mittig mit Glow, gedrehte Beschriftungen an beiden Seiten. */
@font-face{font-family:"Adam";src:url("../fonts/Adam-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
:root{
  --bg:#ffffff;
  --ink:#0d0d0d;
  --white:#ffffff;
  --accent:#9a2fd1;
  --blue:#2e6dbc;
  --glow-a:#e59ad2;
  --glow-b:#d9a79a;
  --strip:linear-gradient(180deg,#f093dc 0%,#f6c4d6 14%,#fff2cf 30%,#c3e3d6 48%,#86c8ea 62%,#86d6c8 78%,#8ef0a9 100%);
  --u:calc(min(100vw,calc(100vh * 2000 / 1127)) / 100);
  --ag1:rgba(246,190,250,.95);--ag2:rgba(190,232,245,.95);
  --panel-bg:#2e6dbc;
  --g1:rgba(217,168,196,.85);--g2:rgba(214,163,151,.85);--g3:rgba(232,185,180,.4);--mglow:rgba(217,150,170,.55);
  --font:"Adam","Adam Medium",system-ui,sans-serif;
}
:root[data-mode="dark"]{
  --bg:#000000;--ink:#ffffff;--accent:#4a8be0;--panel-bg:#000000;
  --strip:linear-gradient(180deg,#0a1626 0%,#3a2418 22%,#5e341d 32%,#6a5a50 55%,#6f7770 72%,#3d6258 88%,#1b453d 100%);
  --g1:rgba(22,40,66,.9);--g2:rgba(62,74,96,.95);--g3:rgba(36,48,68,.55);--mglow:rgba(60,72,94,.7);
  color-scheme:dark}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-weight:500}
html,body{height:100%;overflow:hidden}
.page{position:relative;width:100%;height:100%;display:grid;place-items:center;overflow:hidden}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}

.stage{container-type:inline-size;position:relative;width:min(100%,calc(100vh * 2000 / 1127));aspect-ratio:2000/1127;background:var(--bg)}
.strip{position:absolute;left:0;top:0;bottom:0;width:calc(var(--u)*7);background:var(--strip);z-index:1}
.strip .no{position:absolute;left:calc(var(--u)*2);top:calc(var(--u)*2.2);font-size:calc(var(--u)*3.6);line-height:1;color:var(--white)}
.strip .no::after{content:"";position:absolute;left:calc(var(--u)*1.55);bottom:calc(var(--u)*-.2);width:calc(var(--u)*1.8);height:max(1px,calc(var(--u)*.08));background:var(--white)}

.brand{position:absolute;left:calc(var(--u)*10.6);top:calc((100% - var(--u)*56.35)/2 + var(--u)*2.3);font-size:calc(var(--u)*2.85);z-index:2;line-height:1.2;white-space:nowrap}
.nav{position:absolute;right:4.3cqw;top:2.9cqw;display:flex;gap:4cqw;font-size:1.7cqw;line-height:1.2}
.nav a[aria-current="page"]{color:var(--accent)}
.nav a:hover{color:var(--accent)}

.glow{position:absolute;left:22.15cqw;top:13.65cqw;width:56.7cqw;height:28.35cqw;border-radius:1.2cqw;pointer-events:none;
  box-shadow:-1.5cqw -1.5cqw 6cqw 3cqw var(--g1),1.5cqw 1.5cqw 6cqw 3cqw var(--g2),0 0 12cqw 7cqw var(--g3)}
.panel{position:absolute;left:22.15cqw;top:13.65cqw;width:56.7cqw;height:28.35cqw;border-radius:1.2cqw;background:var(--panel-bg);overflow:hidden;border:0;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;display:block}
.panel:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.panel img,.slot img{display:block;width:100%;height:100%;object-fit:cover}
.panel img,.block img{position:absolute;inset:0;transition:opacity .5s ease}
img.d{opacity:0}
:root[data-mode="dark"] img.l{opacity:0}
:root[data-mode="dark"] img.d{opacity:1}
body,.stage,.page{transition:background-color .5s ease,color .5s ease}

.side-left{position:absolute;left:18.9cqw;top:13.65cqw;height:28.35cqw;width:2.7cqw;padding:.9cqw 0 1cqw;display:flex;flex-direction:column;justify-content:space-between;align-items:center;font-size:2.5cqw;line-height:1}
.side-left span{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}

.side-right-title{position:absolute;left:79.35cqw;top:14.5cqw;writing-mode:vertical-rl;font-size:1.5cqw;line-height:1.2;letter-spacing:.02em;white-space:nowrap}
/* Block rechts: Bild liegt quer und ist um 90° gedreht */
.block{position:absolute;left:79.4cqw;top:35.15cqw;width:2.75cqw;height:6.25cqw;overflow:hidden;background:transparent}
.block .slot{position:absolute;left:50%;top:50%;width:6.25cqw;height:2.75cqw;transform:translate(-50%,-50%) rotate(90deg);background:transparent}

.block img{object-fit:fill}
.credit{position:absolute;right:22.2cqw;top:42.8cqw;font-size:1.3cqw;line-height:1.2;white-space:nowrap}
.foot{position:absolute;left:0;right:0;top:52.6cqw;text-align:center;font-size:1.7cqw;line-height:1.2}

@media (max-width:760px){
  html,body{height:auto;overflow:auto;overflow-x:hidden}
  .page{display:block;height:auto;overflow:visible}
  .stage{width:100%;aspect-ratio:auto;display:grid;grid-template-columns:1fr auto;gap:20px 16px;align-content:start;
    padding-block:0 32px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));container-type:normal}
  .stage>*{position:static}
  .strip{position:relative;width:100%;height:56px;background:linear-gradient(90deg,#f093dc,#fff2cf 35%,#86c8ea 65%,#8ef0a9)}
  .strip .no{left:16px;top:14px;font-size:28px}
  .strip .no::after{display:none}
  .stage{padding-top:12px}
  .brand{position:static;display:block;text-align:left;width:100%;margin:0;justify-self:start;left:auto;top:auto;font-size:36px;padding:20px max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px))}
  .nav{grid-column:1/-1;flex-wrap:wrap;gap:8px 22px;font-size:18px}
  .glow{display:none}
  .panel{grid-column:1/-1;width:100%;height:auto;aspect-ratio:16/10;border-radius:14px;box-shadow:0 12px 40px var(--mglow)}
  .side-left{grid-column:1/-1;flex-direction:row;width:auto;height:auto;padding:0;font-size:22px;justify-content:space-between}
  .side-left span{writing-mode:horizontal-tb;transform:none}
  .side-right-title{writing-mode:horizontal-tb;font-size:14px;letter-spacing:.12em;align-self:end}
  .block{width:44px;height:100px;justify-self:end}
  .block .slot{width:100px;height:44px}
  .credit{font-size:15px;text-align:right}
  .foot{grid-column:1/-1;font-size:18px;margin-top:12px}
}

/* ---- Seite About Me ---- */
:root[data-page="about"]{--strip:linear-gradient(180deg,#e56ed2 0%,#d79ad8 25%,#b9c0e6 55%,#bdeaf2 85%,#bff2f5 100%);--accent:#e12ee0;--ag1:rgba(246,190,250,.95);--ag2:rgba(190,232,245,.95)}
:root[data-page="about"][data-mode="dark"]{--strip:linear-gradient(180deg,#4a1048 0%,#3a1f5a 22%,#1f3868 55%,#245068 80%,#2b5c66 100%);--accent:#e45be8;--ag1:rgba(84,14,94,.95);--ag2:rgba(32,88,102,.95)}
.nav{z-index:2}
.a-title{position:absolute;left:10.6cqw;top:10.8cqw;margin:0;font:inherit;font-size:3cqw;line-height:1.2;white-space:nowrap}
.a-title .u{position:relative}
.a-title .u::after{content:"";position:absolute;left:0;right:0;bottom:-.1em;height:max(1px,.05cqw);background:currentColor}
.photo{position:absolute;left:9.95cqw;top:20.65cqw;width:24.8cqw;height:24.8cqw}
.photo::before,.photo::after{content:"";position:absolute;left:0;right:0;pointer-events:none}
.photo::before{top:0;height:50%;box-shadow:0 -1cqw 3.5cqw 1.3cqw var(--ag1)}
.photo::after{bottom:0;height:50%;box-shadow:0 1cqw 3.5cqw 1.3cqw var(--ag2)}
.photo img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:cover}
.a-text{position:absolute;left:38.25cqw;top:20.65cqw;width:54.6cqw;height:24.8cqw;display:flex;flex-direction:column;justify-content:center;gap:2.4cqw;font-size:2.1cqw;line-height:1.3}
.a-text p{margin:0;text-wrap:pretty}
@media (max-width:760px){
  .a-title,.a-text{position:static}
  .a-title{grid-column:1/-1;font-size:28px;white-space:normal;margin-top:8px}
  .photo{position:relative;left:auto;top:auto;grid-column:1/-1;width:min(100%,360px);height:auto;aspect-ratio:1;justify-self:center;margin-block:10px}
  .photo::before{box-shadow:0 -10px 30px 10px var(--ag1)}
  .photo::after{box-shadow:0 10px 30px 10px var(--ag2)}
  .a-text{grid-column:1/-1;height:auto;width:auto;font-size:18px;gap:14px}
}

/* ---- Seite Support ---- */
:root{--font-body:system-ui,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;--link:#7a1a82}
:root[data-mode="dark"]{--link:#86f0a8}
:root[data-page="support"]{--strip:linear-gradient(180deg,#f093dc 0%,#b9a8dc 24%,#86c8ea 42%,#88d6cc 68%,#8ef0a9 100%);--accent:#e12ee0}
:root[data-page="support"][data-mode="dark"]{--strip:linear-gradient(180deg,#5b8a68 0%,#3f6c5a 25%,#22483f 45%,#173039 70%,#0d1b2c 100%);--accent:#4a8be0}
.s-col{position:absolute;top:19.4cqw;display:flex;flex-direction:column;gap:3.8cqw}
.s-left{left:10.55cqw}
.s-right{left:55.9cqw}
.s-title{margin:0;font:inherit;font-size:3.3cqw;line-height:1.2;white-space:nowrap}
.s-text{margin:0 0 0 5.85cqw;width:26cqw;min-height:6.4cqw;font-family:var(--font-body);font-weight:400;font-size:1.6cqw;line-height:1.25}
.s-link{margin:-.5cqw 0 0 5.85cqw;align-self:flex-start;font-family:var(--font-body);font-weight:400;font-size:1.6cqw;line-height:1.25;color:var(--link)}
.s-link:hover{text-decoration:underline;text-underline-offset:.3em}
.s-link:focus-visible{outline:2px solid var(--link);outline-offset:4px}
.or{position:absolute;left:48.5cqw;top:17.6cqw;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:1.95cqw}
.or .ln{display:block;width:max(1px,.05cqw);height:8.2cqw;background:var(--ink)}
.or .t{font-size:2.1cqw;line-height:1}
@media (max-width:760px){
  .s-col{position:static;grid-column:1/-1;gap:12px}
  .s-title{font-size:30px;white-space:normal}
  .s-text{margin:0;width:auto;min-height:0;font-size:17px}
  .s-link{margin:0;font-size:17px}
  .or{position:static;transform:none;grid-column:1/-1;flex-direction:row;gap:14px;align-self:center}
  .or .ln{flex:1;width:auto;height:1px}
  .or .t{font-size:20px}
}

/* ---- Seite 404 ---- */
:root{--n1:rgba(224,170,214,.85);--n2:rgba(224,150,152,.9);--n3:rgba(228,205,196,.3);--n-box:#ffffff;--n-link:#8a2bd0}
:root[data-mode="dark"]{--n1:rgba(18,36,56,.9);--n2:rgba(44,76,82,.95);--n3:rgba(22,32,44,.55);--n-box:#000000;--n-link:#4a8be0}
:root[data-page="404"]{--strip:linear-gradient(180deg,#f091dc 0%,#f09cc0 25%,#f0a3a0 55%,#f1a778 80%,#f2a844 100%)}
:root[data-page="404"][data-mode="dark"]{--strip:linear-gradient(180deg,#5b8a68 0%,#3f6c5a 25%,#22483f 45%,#173039 70%,#0d1b2c 100%)}
:root[data-page="404"] .strip .no{writing-mode:vertical-rl;transform:rotate(180deg);left:2cqw;top:2.9cqw;font-size:3.6cqw}
:root[data-page="404"] .strip .no::after{display:none}
.n-brand{position:absolute;left:0;right:0;top:9.6cqw;text-align:center;font-size:2.85cqw;line-height:1.2}
.n-glow{left:39.5cqw;top:23.15cqw;width:20.95cqw;height:10.1cqw;border-radius:2cqw;box-shadow:-1cqw -1cqw 4cqw 1.4cqw var(--n1),1.2cqw 1.4cqw 4cqw 1.4cqw var(--n2),0 0 14cqw 7cqw var(--n3)}
.n-box{position:absolute;left:39.5cqw;top:23.15cqw;width:20.95cqw;height:10.1cqw;border-radius:2cqw;background:var(--n-box);display:grid;place-items:center;font-size:4.2cqw;line-height:1}
.n-text{position:absolute;left:31.85cqw;top:38.2cqw;width:37.1cqw;margin:0;font-size:2.2cqw;line-height:1.25;text-wrap:pretty}
.n-link{color:var(--n-link)}
.n-link:hover{text-decoration:underline;text-underline-offset:.25em}
.n-link:focus-visible,.n-brand:focus-visible{outline:2px solid var(--n-link);outline-offset:4px}
@media (max-width:760px){
  :root[data-page="404"] .strip .no{writing-mode:horizontal-tb;transform:none;left:16px;top:14px;font-size:28px}
  .n-brand{position:static;grid-column:1/-1;font-size:34px;padding-top:8px}
  .n-glow{display:none}
  .n-box{position:static;grid-column:1/-1;width:min(70%,260px);height:auto;aspect-ratio:2/1;justify-self:center;font-size:44px;border-radius:22px;box-shadow:-6px -6px 24px 6px var(--n1),8px 8px 24px 6px var(--n2);margin-block:18px}
  .n-text{position:static;grid-column:1/-1;width:auto;font-size:19px}
}
