/* Potayado – Webseite. Farben, Schriften und Bewegung kommen aus design/tokens.js (node design/build_css.js && node design/inject.js) */
/*TOKENS:START*/
/* Automatisch erzeugt aus tokens.js – nicht von Hand ändern */
:root{
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;
  --space-14:56px;
  --space-22:88px;
  --duration-press:120ms;
  --duration-ui:200ms;
  --duration-enter:320ms;
  --ease-out:cubic-bezier(.23,1,.32,1);
  --ease-in-out:cubic-bezier(.77,0,.175,1);
  --press-scale:.97;
  --type-timer-size:76px;--type-timer-line:0.95;
  --type-title-size:28px;--type-title-line:1.3;
  --type-heading-size:20px;--type-heading-line:1.4;
  --type-body-size:16px;--type-body-line:1.7;
  --type-label-size:14px;--type-label-line:1.4;
  --type-caption-size:12px;--type-caption-line:1.4;
}
:root,[data-mood="yoru"]{
  --color-bg-base:#16203a;
  --color-bg-deep:#0f1629;
  --color-surface-card:#ffffff12;
  --color-surface-sunken:#00000040;
  --color-text-primary:#f4efe4;
  --color-text-secondary:#9fb0cf;
  --color-text-muted:#7f8fae;
  --color-accent-primary:#f0b142;
  --color-accent-on-primary:#1b1f2c;
  --color-accent-highlight:#f0b142;
  --color-accent-soft:#ffd27a;
  --color-border-hairline:#ffffff17;
  --color-surface-solid:#263048;
  --color-surface-sunken-solid:#111a30;
  --color-border-solid:#303a54;
  --color-reward-cap:#f0b142;
  --color-tag-1:#f0b142;
  --color-tag-2:#7aa7e8;
  --color-tag-3:#e79cbc;
  --color-tag-4:#8fcf9f;
  --color-tag-5:#b8a2ec;
  --color-tag-6:#f0946a;
  --radius-panel:28px;
  --radius-button:999px;
  --radius-chip:999px;
  --font-display:'Zen Maru Gothic',system-ui,sans-serif;
  --font-display-weight:900;
  --font-body:'Zen Maru Gothic',system-ui,sans-serif;
  --font-body-weight:500;
  --motion-ease-enter:cubic-bezier(.23,1,.32,1);
  --motion-breathe:4s;
}
[data-mood="washi"]{
  --color-bg-base:#f2ece0;
  --color-bg-deep:#e7dfcf;
  --color-surface-card:#f8f4ec;
  --color-surface-sunken:#e7dfcf;
  --color-text-primary:#1d2433;
  --color-text-secondary:#6b665c;
  --color-text-muted:#8a8478;
  --color-accent-primary:#22345a;
  --color-accent-on-primary:#f2ece0;
  --color-accent-highlight:#c8402a;
  --color-accent-soft:#e7dfcf;
  --color-border-hairline:#1d24332e;
  --color-surface-solid:#f8f4ec;
  --color-surface-sunken-solid:#e7dfcf;
  --color-border-solid:#ddd4c3;
  --color-reward-cap:#f0b142;
  --color-tag-1:#c8402a;
  --color-tag-2:#3d5a8a;
  --color-tag-3:#5d7f4e;
  --color-tag-4:#b07d2a;
  --color-tag-5:#7a6aa6;
  --color-tag-6:#6b665c;
  --radius-panel:16px;
  --radius-button:14px;
  --radius-chip:6px;
  --font-display:'Shippori Mincho',system-ui,sans-serif;
  --font-display-weight:700;
  --font-body:'Zen Kaku Gothic New',system-ui,sans-serif;
  --font-body-weight:500;
  --motion-ease-enter:cubic-bezier(.25,.1,.25,1);
  --motion-breathe:5s;
}
[data-mood="amedama"]{
  --color-bg-base:#e6eefa;
  --color-bg-deep:#cfe3f6;
  --color-surface-card:#ffffff9e;
  --color-surface-sunken:#dbe6f6;
  --color-text-primary:#2a3350;
  --color-text-secondary:#6f7896;
  --color-text-muted:#8e96b0;
  --color-accent-primary:#4f84d6;
  --color-accent-on-primary:#ffffff;
  --color-accent-highlight:#e2799f;
  --color-accent-soft:#e79cbc;
  --color-border-hairline:#ffffffcc;
  --color-surface-solid:#f7f9fe;
  --color-surface-sunken-solid:#dbe6f6;
  --color-border-solid:#d3ddee;
  --color-reward-cap:#f0b142;
  --color-tag-1:#4f84d6;
  --color-tag-2:#e2799f;
  --color-tag-3:#6fbf8c;
  --color-tag-4:#f0b142;
  --color-tag-5:#9f86e0;
  --color-tag-6:#ec8358;
  --radius-panel:32px;
  --radius-button:999px;
  --radius-chip:999px;
  --font-display:'Zen Maru Gothic',system-ui,sans-serif;
  --font-display-weight:900;
  --font-body:'Kiwi Maru',system-ui,sans-serif;
  --font-body-weight:500;
  --motion-ease-enter:cubic-bezier(.34,1.56,.64,1);
  --motion-breathe:3.4s;
}
/*TOKENS:END*/

/* ===== Grundlage ===== */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--color-bg-base)}
body{margin:0;font-family:var(--font-body);color:var(--color-text-primary);background:var(--color-bg-base);font-size:16px;line-height:1.7;transition:background-color var(--duration-enter) var(--ease-out),color var(--duration-enter) var(--ease-out)}
html:lang(ja) body{line-break:strict}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--font-display);font-weight:var(--font-display-weight);margin:0;line-height:1.3;text-wrap:balance}
html:lang(ja) :is(h1,h2,h3,.eyebrow){word-break:keep-all;overflow-wrap:anywhere}
html:lang(de) :is(h1,h2){hyphens:auto;-webkit-hyphens:auto}
h1{font-size:clamp(36px,5.4vw,60px);line-height:1.2}
h2{font-size:clamp(28px,3.4vw,40px)}
.h-sm{font-size:clamp(24px,2.6vw,32px)}
h3{font-size:20px}
p{margin:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
.narrow{max-width:820px}
.section{padding:96px 0;position:relative}
#fans{padding-bottom:24px}
.tint{background:var(--color-bg-deep)}
.center{text-align:center}
.head{display:flex;flex-direction:column;gap:12px;max-width:740px;margin-bottom:40px}
.center .head{margin-inline:auto;align-items:center}
.eyebrow{font-family:'Klee One',var(--font-body);font-size:17px;color:var(--color-accent-highlight)}
.lead{font-size:17px;color:var(--color-text-secondary);max-width:62ch}
.center .lead{margin-inline:auto}
.small{font-size:13.5px;color:var(--color-text-muted)}

/* Hintergründe je Stimmung */
[data-mood="yoru"] .hero{background:radial-gradient(90% 70% at 70% 30%,#26365f 0%,rgba(38,54,95,0) 70%)}
[data-mood="washi"] body{background-image:radial-gradient(rgba(60,45,20,.05) 1px,transparent 1.2px);background-size:5px 5px}
[data-mood="amedama"] .hero{background:linear-gradient(170deg,#cfe3f6 0%,rgba(230,238,250,0) 60%),radial-gradient(60% 50% at 90% 80%,#f8e6ee,rgba(248,230,238,0))}

/* ===== Knöpfe ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:14px 26px;border-radius:var(--radius-button);font:inherit;font-family:var(--font-display);font-weight:var(--font-display-weight);font-size:17px;text-decoration:none;cursor:pointer;border:0;white-space:nowrap;transition:transform var(--duration-press) var(--ease-out),box-shadow var(--duration-ui) var(--ease-out),background-color var(--duration-ui) var(--ease-out)}
.btn:active{transform:scale(var(--press-scale))}
.btn:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--color-accent-highlight);outline-offset:3px}
.btn-primary{background:var(--color-accent-primary);color:var(--color-accent-on-primary);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 12px 26px -12px var(--color-accent-primary)}
[data-mood="yoru"] .btn-primary{background:linear-gradient(180deg,var(--color-accent-soft),var(--color-accent-primary))}
.btn-ghost{background:transparent;color:var(--color-text-primary);box-shadow:inset 0 0 0 1.5px var(--color-border-hairline)}
@media (hover:hover){.btn-primary:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 16px 30px -12px var(--color-accent-primary)}.btn-ghost:hover{background:var(--color-surface-card)}}
.btn-sm{min-height:40px;padding:9px 16px;font-size:14.5px}
.btn[aria-disabled="true"]{background:var(--color-surface-card);color:var(--color-text-secondary);box-shadow:inset 0 0 0 1px var(--color-border-hairline);cursor:default}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.actions.center{justify-content:center}

/* ===== Kopfzeile ===== */
.top{position:sticky;top:0;z-index:30;transition:background-color var(--duration-ui) var(--ease-out),box-shadow var(--duration-ui) var(--ease-out)}
.top.scrolled{background:color-mix(in srgb,var(--color-bg-base) 82%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);box-shadow:0 1px 0 var(--color-border-hairline)}
.nav{display:flex;align-items:center;gap:20px;height:72px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:var(--font-display);font-weight:var(--font-display-weight);font-size:19px;white-space:nowrap}
.brand img{border-radius:11px}.brand img.logo{border-radius:0;height:44px;width:auto;display:block;flex-shrink:0;filter:drop-shadow(0 2px 6px rgba(0,0,0,.18))}.foot .brand img.logo{height:56px}.lang a{white-space:nowrap}@media (max-width:560px){.brand img.logo{height:38px}}@media (max-width:370px){.brand img.logo{height:32px}}.legal-page .brand img.logo{height:40px}
.nav-links{display:flex;gap:22px;margin-left:auto;font-weight:700;font-size:15px}
.nav-links a{text-decoration:none;color:var(--color-text-secondary);transition:color var(--duration-ui) var(--ease-out)}
.nav-links a:hover{color:var(--color-text-primary)}
.lang{display:flex;gap:2px;font-size:13.5px;font-weight:700}
.lang a{text-decoration:none;padding:8px 7px;color:var(--color-text-muted);border-radius:8px}
.lang a[aria-current]{color:var(--color-text-primary)}
@media (max-width:900px){.nav-links{display:none}.nav .btn{margin-left:auto}}
@media (max-width:560px){.nav{gap:8px;height:62px}.brand span{display:none}html:lang(ja) .brand span{display:inline;font-size:16px}.lang a[aria-current]{display:none}.wrap{padding:0 18px}}
@media (max-width:370px){html:lang(ja) .brand span{display:none}}

/* ===== Hero ===== */
.hero{padding:40px 0 96px;overflow:hidden;margin-top:-72px;padding-top:112px}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;position:relative}
.hero-copy{display:flex;flex-direction:column;gap:20px}
.hero-sub{font-size:14px;color:var(--color-text-muted)}
.meta{font-size:13.5px;color:var(--color-text-muted)}
.hero-art{position:relative;display:flex;flex-direction:column;align-items:center;gap:20px}
.halo{position:absolute;width:86%;aspect-ratio:1;top:2%;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--color-accent-soft) 32%,transparent),transparent 65%);animation:glow 6s ease-in-out infinite;pointer-events:none}
[data-mood="washi"] .halo{background:radial-gradient(circle,rgba(200,64,42,.08),transparent 62%)}
.scene{position:relative;width:min(100%,520px);aspect-ratio:733/735;filter:drop-shadow(0 26px 30px rgba(0,0,0,.28))}
.scene img{position:absolute;display:block}
.scene .pota{transform-origin:50% 100%;animation:breathe var(--motion-breathe) ease-in-out infinite}
@keyframes breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1.2%) scale(1.012)}}
@keyframes glow{0%,100%{opacity:.6}50%{opacity:1}}
.moods{display:flex;gap:8px;padding:6px;border-radius:999px;background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:relative}
.moods button{display:flex;align-items:center;gap:8px;border:0;background:none;color:var(--color-text-secondary);font:inherit;font-size:14px;padding:6px 14px 6px 6px;border-radius:999px;cursor:pointer;transition:background-color var(--duration-ui) var(--ease-out),color var(--duration-ui) var(--ease-out),transform var(--duration-press) var(--ease-out)}
.moods button:active{transform:scale(var(--press-scale))}
.moods button[aria-pressed="true"]{background:var(--color-text-primary);color:var(--color-bg-base)}
.moods b{font-weight:700}
.moods small{display:none}
.sw{width:24px;height:24px;border-radius:50%;flex:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.sw-yoru{background:radial-gradient(circle at 35% 35%,#2f3f66,#16203a)}
.sw-washi{background:radial-gradient(circle at 35% 35%,#fbf8f1,#e7dfcf);box-shadow:inset 0 0 0 1px rgba(0,0,0,.12),inset -6px -6px 0 -4px #c8402a}
.sw-amedama{background:linear-gradient(135deg,#b9d3f0,#f4c3d4)}
@media (max-width:900px){.hero-grid{grid-template-columns:1fr;gap:32px}.hero{padding-bottom:72px}}
@media (max-width:560px){.hero{margin-top:-62px;padding-top:82px}.moods button{padding:6px 10px 6px 6px;font-size:13px}}

/* Regen: einzelne Tropfen, nur transform */
.rain{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.rain i{position:absolute;top:-60px;width:1px;height:52px;background:linear-gradient(to bottom,transparent,var(--rain-color,rgba(190,210,245,.42)));animation:fall linear infinite;will-change:transform}
[data-mood="washi"] .rain{--rain-color:rgba(110,100,80,.22)}
[data-mood="amedama"] .rain{--rain-color:rgba(255,255,255,.75)}
@keyframes fall{to{transform:translateY(calc(100vh + 120px))}}

/* ===== Funktionen ===== */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.feature{padding:24px;border-radius:var(--radius-panel);background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline);display:flex;flex-direction:column;gap:8px}
.feature svg{width:32px;height:32px;fill:none;stroke:var(--color-accent-highlight);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-bottom:6px}
.feature p{font-size:15px;color:var(--color-text-secondary);line-height:1.75}
@media (max-width:900px){.features{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.features{grid-template-columns:1fr}.feature{padding:20px}}

/* ===== Demo ===== */
#demoFrame{width:100%;height:900px;border:0;background:transparent;display:block}

/* ===== Zimmer ===== */
.rooms{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.rooms figure{margin:0;display:flex;flex-direction:column;gap:12px}
.rooms img{border-radius:var(--radius-panel);aspect-ratio:4/3.4;object-fit:cover;width:100%;box-shadow:0 18px 36px -24px rgba(0,0,0,.6)}
.rooms figcaption{font-size:14.5px;color:var(--color-text-secondary)}
.rooms figcaption b{font-family:var(--font-display);font-size:19px;color:var(--color-text-primary);margin-right:6px}
@media (max-width:820px){.rooms{grid-template-columns:1fr}}

/* ===== Karten ===== */
.split{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.split>div:first-child{display:flex;flex-direction:column;gap:16px}
@media (max-width:900px){.split{grid-template-columns:1fr;gap:36px}}
.fan{display:flex;justify-content:center;align-items:flex-end;height:min(420px,90vw);position:relative}
.fan img{position:absolute;bottom:0;width:34%;border-radius:16px;box-shadow:0 18px 36px -14px rgba(0,0,0,.55);transition:transform 420ms var(--ease-out)}
.fan img:nth-child(1){transform:translateX(-62%) rotate(-9deg)}
.fan img:nth-child(3){transform:translateX(62%) rotate(9deg)}
.fan img.gold{width:40%;z-index:1;box-shadow:0 0 0 3px #f2c14e,0 22px 46px -12px rgba(200,140,30,.7)}
@media (hover:hover){.fan:hover img:nth-child(1){transform:translateX(-80%) rotate(-13deg)}.fan:hover img:nth-child(3){transform:translateX(80%) rotate(13deg)}.fan:hover img.gold{transform:translateY(-12px)}}
.album{margin-top:80px}
.acards{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}
.acard{font:inherit;border:0;padding:0;background:none;cursor:pointer;display:flex;flex-direction:column;gap:6px;align-items:center;color:var(--color-text-muted);font-weight:700;font-size:12.5px}
.acard img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:12px;box-shadow:0 10px 20px -12px rgba(0,0,0,.6);background:var(--color-surface-card);transition:transform var(--duration-ui) var(--ease-out)}
@media (hover:hover){.acard:hover img{transform:translateY(-4px) rotate(-1deg)}}
.acard:active img{transform:scale(.96)}
#albumMore{margin-top:16px}

/* Dialog Kartenalbum */
dialog{border:0;border-radius:var(--radius-panel);padding:18px;max-width:440px;width:calc(100vw - 32px);background:var(--color-surface-solid);color:var(--color-text-primary);box-shadow:0 30px 60px -20px rgba(0,0,0,.6)}
dialog[open]{animation:dlgIn 220ms var(--ease-out)}
dialog::backdrop{background:rgba(10,14,26,.66);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
@keyframes dlgIn{from{opacity:0;transform:translateY(8px) scale(.97)}}
.dlg-top{display:flex;justify-content:flex-end}
#albumName{margin:4px 0 2px;font-size:22px}#albumMeta{color:var(--color-text-secondary);font-size:14px}
.astage{display:flex;align-items:center;justify-content:center;gap:8px;perspective:900px;margin:6px 0 12px}
.abig{position:relative;width:min(64vw,300px);aspect-ratio:2/3;border-radius:18px;overflow:hidden;transition:transform 120ms var(--ease-out);box-shadow:0 18px 36px -10px rgba(0,0,0,.5);touch-action:pan-y}
.abig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.abig .shine{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at var(--mx,50%) var(--my,30%),rgba(255,255,255,.5),rgba(255,255,255,0) 45%);mix-blend-mode:soft-light}
.anav,.aclose{font:inherit;font-weight:900;border:0;box-shadow:inset 0 0 0 1px var(--color-border-hairline);background:var(--color-surface-card);color:var(--color-text-primary);border-radius:999px;width:44px;height:44px;cursor:pointer;flex:none;font-size:20px;transition:transform var(--duration-press) var(--ease-out)}
.anav:active,.aclose:active{transform:scale(.92)}

/* ===== Outfits ===== */
.outfits{width:100%;max-width:980px;margin:0 auto}

/* ===== Pota-Timer ===== */
.timer-card{max-width:520px;margin:0 auto;padding:32px 28px;border-radius:var(--radius-panel);background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline);display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
#ptPota{width:140px;height:auto}
.pt-mode{font-weight:700;color:var(--color-accent-highlight);font-size:14px}
.pt-time{font-family:var(--font-display);font-weight:var(--font-display-weight);font-size:clamp(64px,10vw,88px);line-height:1;font-variant-numeric:tabular-nums}
.pt-bar{width:100%;max-width:400px;height:6px;border-radius:99px;background:var(--color-surface-sunken);overflow:hidden}
.pt-bar>div{height:100%;width:0;background:var(--color-accent-highlight);border-radius:99px;transition:width 1s linear}
.pt-msg{min-height:1.6em;font-weight:700;font-size:15px}

/* ===== Live ===== */
.live{background:radial-gradient(80% 80% at 80% 40%,#26365f,var(--color-bg-base) 70%);color:var(--color-text-primary);overflow:hidden}
.badge-live{display:inline-flex;align-items:center;gap:10px;font-weight:900;color:#ff9b9b;font-size:14px}
.badge-live i{width:10px;height:10px;border-radius:50%;background:#ff6b6b;box-shadow:0 0 0 0 rgba(255,107,107,.6);animation:pulse 2s ease-out infinite}
@keyframes pulse{70%{box-shadow:0 0 0 10px rgba(255,107,107,0)}100%{box-shadow:0 0 0 0 rgba(255,107,107,0)}}
.live-img{border-radius:var(--radius-panel);box-shadow:0 0 0 1px var(--color-border-hairline),0 30px 60px -30px rgba(0,0,0,.8);position:relative}

/* ===== Hintergrundbilder ===== */
.wps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.wps figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.wps img{width:100%;max-width:210px;border-radius:22px;box-shadow:0 14px 28px -16px rgba(0,0,0,.6)}
.wps figcaption{font-weight:700;font-size:14px}
@media (max-width:820px){.wps{grid-template-columns:repeat(2,1fr)}}

/* ===== Gemeinschaft, Early Access, Anmeldung ===== */
.goal-card{margin:0 auto 32px;max-width:600px;padding:16px 20px;border-radius:20px;background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline);text-align:left}
.goal-card .pt-bar{max-width:none;margin-top:10px}
#cgStat{font-size:15px}
.fans-wrap{display:flex;flex-direction:column;gap:14px;align-items:center}
#fans .reveal{display:flex;flex-direction:column;gap:14px;align-items:center}
.ea{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:26px 28px;border-radius:var(--radius-panel);background:var(--color-bg-base);color:var(--color-text-primary);box-shadow:0 20px 40px -24px rgba(0,0,0,.6),inset 0 0 0 1px var(--color-border-hairline);margin-bottom:24px}
.ea>div{display:flex;flex-direction:column;gap:2px}
.ea b{font-family:var(--font-display);font-weight:var(--font-display-weight);font-size:24px}
.ea span{color:var(--color-text-secondary)}
@media (max-width:520px){.ea .btn{width:100%;white-space:normal;text-align:center}}
.signup{padding:40px 32px;border-radius:var(--radius-panel);background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline);display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.signup .hop{animation:breathe 3.4s ease-in-out infinite;transform-origin:50% 100%}
#signupForm{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:100%}
#mail{flex:1 1 260px;max-width:400px;font:inherit;font-size:16px;padding:13px 18px;border-radius:999px;border:0;box-shadow:inset 0 0 0 1.5px var(--color-border-hairline);background:var(--color-surface-sunken);color:var(--color-text-primary)}
#mail::placeholder{color:var(--color-text-muted)}
#mail:focus{outline:2px solid var(--color-accent-highlight);outline-offset:2px}
.signup-msg{min-height:1.5em;font-weight:700}
.signup-msg.ok{color:#4cc38a}.signup-msg.bad{color:#e5675b}
.goals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%;margin-top:6px}
.goals div{padding:14px 10px;border-radius:16px;background:var(--color-surface-sunken);display:flex;flex-direction:column;gap:2px}
.goals b{font-family:var(--font-display);font-weight:var(--font-display-weight);font-size:20px}
.goals span{font-size:13.5px;color:var(--color-text-secondary)}
@media (max-width:520px){.signup{padding:32px 18px}.goals{grid-template-columns:1fr}}

/* ===== Fusszeile ===== */
.foot{background:var(--color-bg-base);color:var(--color-text-secondary);padding:44px 0;border-top:1px solid var(--color-border-hairline)}
.foot-grid{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:center}
.foot .brand span{display:flex;flex-direction:column;line-height:1.3}
.foot .brand b{color:var(--color-text-primary);font-size:17px}
.foot .brand small{font-family:var(--font-body);font-weight:500;font-size:12.5px}
.foot-links,.foot-legal{display:flex;flex-wrap:wrap;gap:18px;font-size:14px;font-weight:700}
.foot a{text-decoration:none}.foot a:hover{color:var(--color-text-primary)}
.foot-legal{font-weight:500;font-size:13.5px}

/* ===== Einblenden beim Scrollen (einmalig, kurz) ===== */
.js .reveal{opacity:0;transform:translateY(14px);transition:opacity 520ms var(--ease-out),transform 520ms var(--ease-out)}
.js .reveal.in{opacity:1;transform:none}

/* Stimmungswechsel: weiche Überblendung */
::view-transition-old(root),::view-transition-new(root){animation-duration:420ms;animation-timing-function:var(--ease-out)}

@media (prefers-reduced-motion:reduce){
 *,*::before,*::after{animation:none!important;transition:none!important}
 .rain{display:none}
 .js .reveal{opacity:1;transform:none}
 html{scroll-behavior:auto}
}

/* ===== Rechtsseiten ===== */
.legal-page .nav{justify-content:space-between}
.legal-page .brand span{display:inline}
.legal{max-width:760px;margin:0 auto;padding:40px 24px 96px;color:var(--color-text-secondary);font-size:15.5px;line-height:1.85}
.legal h1{font-size:clamp(28px,4vw,36px);color:var(--color-text-primary);margin:8px 0 24px}
.legal h2{font-size:20px;color:var(--color-text-primary);margin:36px 0 10px;padding-top:20px;border-top:1px solid var(--color-border-hairline)}
.legal p,.legal ul,.legal ol{margin:0 0 12px}
.legal b,.legal strong{color:var(--color-text-primary)}
.legal a{color:var(--color-accent-highlight)}
.legal table{border-collapse:collapse;width:100%;margin:8px 0 16px;font-size:14.5px}
.legal th,.legal td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--color-border-hairline)}
.legal th{color:var(--color-text-primary);white-space:nowrap;width:1%}
@media (max-width:560px){.legal tr{display:block;padding:10px 0;border-bottom:1px solid var(--color-border-hairline)}.legal th,.legal td{display:block;border:0;padding:2px 0;width:auto;white-space:normal}.legal-page .brand span{display:none}html:lang(ja) .legal-page .brand span{display:inline;font-size:16px}}

/* ===== Hero: Tiefe (Ebenen verschieben sich mit Maus oder Scrollen) ===== */
.hero-art{perspective:1400px}
.hero-art .scene{transform-style:preserve-3d;will-change:transform}
.hero-art .scene img[data-d]{will-change:translate}

/* ===== „Dein Zimmer wächst“: bleibt stehen, Fortschritt folgt dem Scrollen ===== */
.grow{position:relative;height:320vh}
.grow-sticky{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:center;overflow:hidden}
.grow-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center;width:100%}
.grow-copy{display:flex;flex-direction:column;gap:14px}
.steps{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-direction:column;gap:14px}
.steps li{display:flex;gap:14px;align-items:flex-start;font-size:17px;color:var(--color-text-secondary);opacity:.38;transition:opacity 300ms var(--ease-out),transform 300ms var(--ease-out)}
.steps li.on{opacity:1;color:var(--color-text-primary);transform:translateX(4px)}
.steps b{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:14px;background:var(--color-surface-sunken);color:var(--color-text-secondary);transition:background-color 300ms var(--ease-out),color 300ms var(--ease-out)}
.steps li.on b{background:var(--color-accent-highlight);color:var(--color-bg-base)}
.grow-art{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px}
.grow-timer{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 22px 14px;border-radius:22px;background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline)}
#growTime{font-family:var(--font-display);font-weight:var(--font-display-weight);font-size:44px;line-height:1;font-variant-numeric:tabular-nums}
.grow-timer i{display:block;width:180px;height:5px;border-radius:9px;background:var(--color-surface-sunken);overflow:hidden}
#growBar{display:block;height:100%;background:var(--color-accent-highlight);transform-origin:0 50%;transform:scaleX(0)}
.grow-scene{width:min(100%,500px)}
.grow .gi{opacity:0;transform:translateY(-38px) scale(.7);transform-origin:50% 100%;transition:opacity 220ms var(--ease-out),transform 560ms cubic-bezier(.34,1.56,.64,1)}
.grow .gi.in{opacity:1;transform:none}
.grow .gp{opacity:0;transition:opacity 260ms var(--ease-out);transform-origin:50% 100%}
.grow .gp.in{opacity:1;animation:breathe var(--motion-breathe) ease-in-out infinite}
.grow-card{position:absolute;width:28%;right:-2%;top:18%;border-radius:14px;box-shadow:0 0 0 3px #f2c14e,0 22px 44px -10px rgba(200,140,30,.75);opacity:0;transform:perspective(900px) rotateY(160deg) scale(.6) translateY(40px);backface-visibility:hidden;transition:opacity 300ms var(--ease-out),transform 760ms cubic-bezier(.34,1.56,.64,1)}
.grow-card.in{opacity:1;transform:perspective(900px) rotateY(-10deg) rotate(7deg) scale(1)}
@media (max-width:900px){
 .grow{height:300vh}
 .grow-grid{grid-template-columns:1fr;gap:10px;align-content:center}
 .grow-copy{gap:8px;text-align:center;align-items:center}
 .grow-copy h2{font-size:24px}
 .grow-copy .eyebrow{font-size:14px}
 .steps{margin:4px 0 0;min-height:3.4em}
 .steps li{display:none;font-size:15px;text-align:left}
 .steps li.on{display:flex;transform:none}
 .grow-scene{width:min(84vw,400px)}
 #growTime{font-size:34px}
 .grow-timer{padding:8px 18px 12px}
 .grow-card{width:30%;right:2%;top:30%}
}
@media (prefers-reduced-motion:reduce){
 .grow{height:auto}.grow-sticky{position:static;height:auto;padding:80px 0}
 .grow .gi{opacity:1;transform:none}.grow .gp{display:none}.grow .gp[data-from="0.34"]{display:block;opacity:1}
 .grow-card{opacity:1;transform:rotate(7deg)}.steps li{opacity:1}
}

/* ===== Live-Wetter und Pota antippen ===== */
.weather{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--color-text-secondary)}
.weather i{width:8px;height:8px;border-radius:50%;background:#4cc38a;box-shadow:0 0 0 4px color-mix(in srgb,#4cc38a 22%,transparent)}
[data-weather="rain"] .weather i,[data-weather="storm"] .weather i{background:#7fb3e6;box-shadow:0 0 0 4px rgba(127,179,230,.25)}
[data-weather="clear"] .hero .rain,[data-weather="cloudy"] .hero .rain{opacity:.55}
.hero-art .pota.jump{animation:potaHop 620ms cubic-bezier(.34,1.56,.64,1)}
@keyframes potaHop{0%{transform:translateY(0) scale(1,1)}20%{transform:translateY(0) scale(1.06,.92)}55%{transform:translateY(-16%) scale(.96,1.05)}100%{transform:translateY(0) scale(1,1)}}

/* Download: Knopf + QR-Code */
.dl-link{display:inline-flex;gap:6px;margin-top:14px;font-weight:700;color:var(--color-accent-highlight);text-decoration:none;font-size:15px}
.dl-link span{transition:transform 200ms var(--ease-out)}.dl-link:hover span{transform:translateX(3px)}
.dl{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;margin:0 0 28px;padding:28px 32px;border-radius:var(--radius-panel);background:var(--color-surface-card);border:1px solid var(--color-border-hairline);color:var(--color-text-primary)}
.dl h2{margin:0 0 8px;font-family:var(--font-display);font-weight:var(--font-display-weight);font-size:clamp(22px,3vw,28px);word-break:keep-all}
.dl p{margin:0 0 18px;color:var(--color-text-secondary);line-height:1.7}
.dl-qr{margin:0;text-align:center}.dl-qr img{display:block;width:180px;height:180px;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.dl-qr figcaption{margin-top:10px;font-size:13px;color:var(--color-text-secondary);font-weight:700}
@media (max-width:640px){.dl{grid-template-columns:1fr;padding:22px 20px;text-align:center}.dl-qr{display:none}}
html:lang(ja) .dl p,html:lang(ja) .dl h2{word-break:keep-all;overflow-wrap:anywhere}

/* Seite für Lehrpersonen */
.school-art{position:relative}
.school-shot{display:block;width:100%;height:auto;border-radius:22px;box-shadow:0 30px 80px -20px rgba(0,0,0,.55),inset 0 0 0 1px var(--color-border-hairline)}
.school-sensei{position:absolute;right:-10px;bottom:-34px;width:clamp(96px,14vw,170px);height:auto;filter:drop-shadow(0 14px 18px rgba(0,0,0,.35))}
.school-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:s}
.school-steps li{padding:24px;border-radius:var(--radius-panel);background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline)}
.school-steps b{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--color-accent-primary);color:var(--color-accent-on-primary);font-family:var(--font-display);font-size:20px;margin-bottom:10px}
.school-steps h3{margin:0 0 6px}.school-steps p{margin:0;color:var(--color-text-secondary)}
.school-ic{font-size:30px;line-height:1}
.school-win{margin:40px 0 0}.school-win img{display:block;width:100%;height:auto;border-radius:22px;box-shadow:0 24px 60px -24px rgba(0,0,0,.5)}.school-win figcaption{margin-top:10px;color:var(--color-text-secondary);text-align:center}
.school-privacy{padding:32px;border-radius:var(--radius-panel);background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline)}
.school-privacy h2{margin:0 0 14px;word-break:keep-all;overflow-wrap:anywhere}.school-privacy ul{margin:0;padding-left:1.2em;display:grid;gap:8px;color:var(--color-text-secondary)}
.school-faq{display:grid;gap:10px}.school-faq details{padding:16px 20px;border-radius:16px;background:var(--color-surface-card);box-shadow:inset 0 0 0 1px var(--color-border-hairline)}
.school-faq summary{cursor:pointer;font-weight:700}.school-faq p{margin:10px 0 0;color:var(--color-text-secondary)}
.school-contact{margin-top:24px;text-align:center;color:var(--color-text-secondary)}
html:lang(ja) .school-page h1,html:lang(ja) .school-page h2,html:lang(ja) .school-page h3{word-break:keep-all;overflow-wrap:anywhere}
@media (max-width:900px){.school-steps{grid-template-columns:1fr}.school-sensei{right:4px;bottom:-24px}}
