/* fonts hosted with the site itself – no request to Google (privacy) */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Pacifico';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pacifico-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Pacifico';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pacifico-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Caveat';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/caveat-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Caveat';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/caveat-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Caveat';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/caveat-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Caveat';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/caveat-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/quicksand-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/quicksand-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/quicksand-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/quicksand-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/quicksand-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/quicksand-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/geist-latin-300-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/geist-latin-ext-300-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/geist-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/geist-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/geist-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/geist-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/geist-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/geist-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/geist-mono-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/geist-mono-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/geist-mono-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/geist-mono-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}


/* Layout: sticky tactile header → hero with Hans on a plinth → dark "scanner desk" app demo → paper feature cards → decoder flip cards → calculator workbench → ink footer.
   Single brand look (light paper world with ink bands), colors set explicitly. */
:root{
  color-scheme: light;
  --ink:#0E1A28; --ink-2:#18263A; --ink-3:#22324A;
  --slate:#374254; --slate-2:#5A6678;
  --mist:#A5CDF1; --mist-soft:#E2EEFA; --blue:#81B3E6; --blue-deep:#5C93CC;
  --cream:#FEFFEF; --paper:#F5F0E7; --paper-2:#ECE4D6; --beige:#D4C7B4; --beige-deep:#BBAA92;
  --peach:#F8A97E; --peach-soft:#FDE3D2; --peach-edge:#E48A5C;
  --white:#FFFFFF; --ok:#3F9B6E;
  --line:rgba(14,26,40,.12);
  --f-logo:"Pacifico", "Brush Script MT", cursive;
  --f-display:"Quicksand", "Nunito", "Varela Round", system-ui, sans-serif;
  --f-body:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s:12px; --r-m:20px; --r-l:30px;
  --sh-card: 0 1px 0 rgba(255,255,255,.9) inset, 0 3px 0 var(--beige), 0 22px 40px -24px rgba(14,26,40,.35);
  --sh-float: 0 30px 60px -30px rgba(14,26,40,.45);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:90px}
body{background:var(--paper); color:var(--ink); font-family:var(--f-body); font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden}
body::before{content:""; position:fixed; inset:0 0 auto; height:env(safe-area-inset-top,0px); z-index:60; background:var(--white)}
h1,h2,h3,h4{font-family:var(--f-display); font-weight:700; line-height:1.08; margin:0; text-wrap:balance; letter-spacing:-.01em}
p{margin:0}
a{color:inherit}
button{font:inherit; color:inherit; cursor:pointer}
:focus-visible{outline:3px solid var(--blue-deep); outline-offset:3px; border-radius:8px}
.wrap{max-width:1220px; margin:0 auto; padding-left:max(20px, env(safe-area-inset-left,0px)); padding-right:max(20px, env(safe-area-inset-right,0px))}
.eyebrow{display:inline-flex; align-items:center; gap:8px; font:600 12px/1 var(--f-body); letter-spacing:.12em; text-transform:uppercase; color:var(--slate)}
.eyebrow::before{content:""; width:8px; height:8px; border-radius:50%; background:var(--peach); box-shadow:0 0 0 3px var(--peach-soft)}
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}

/* ---------- tactile buttons ---------- */
.btn{--face:var(--ink); --edge:#000; --txt:var(--white);
  display:inline-flex; align-items:center; justify-content:center; gap:10px; border:0; border-radius:16px;
  padding:14px 22px; font:700 16px/1.1 var(--f-display); color:var(--txt); background:var(--face);
  box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 5px 0 var(--edge), 0 14px 24px -12px rgba(14,26,40,.55);
  transform:translateY(0); transition:transform .12s ease, box-shadow .12s ease, filter .2s; text-decoration:none; white-space:nowrap}
.btn:hover{filter:brightness(1.06); transform:translateY(-1px); box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 6px 0 var(--edge), 0 18px 28px -12px rgba(14,26,40,.55)}
.btn:active{transform:translateY(4px); box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 1px 0 var(--edge), 0 6px 10px -6px rgba(14,26,40,.5)}
.btn.mist{--face:var(--mist); --edge:var(--blue); --txt:var(--ink)}
.btn.cream{--face:var(--cream); --edge:var(--beige); --txt:var(--ink)}
.btn.peach{--face:var(--peach); --edge:var(--peach-edge); --txt:var(--ink)}
.btn.ghost-dark{--face:var(--ink-2); --edge:#060d16; --txt:var(--white); box-shadow:0 0 0 1px rgba(255,255,255,.14) inset, 0 5px 0 #060d16}
.btn.sm{padding:10px 16px; font-size:14px; border-radius:12px}
.btn svg{width:18px; height:18px; flex:none}

/* ---------- header ---------- */
.hdr{position:sticky; top:env(safe-area-inset-top,0px); z-index:50; background:rgba(255,255,255,.92); backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid var(--line)}
.hdr-in{display:flex; align-items:center; gap:24px; height:76px}
.logo{font-family:var(--f-logo); font-size:30px; line-height:1; text-decoration:none; color:var(--ink); white-space:nowrap; padding-bottom:6px}
.logo .hl{background:linear-gradient(transparent 58%, var(--mist) 58%, var(--mist) 92%, transparent 92%); padding:0 2px}
.nav{display:flex; align-items:center; gap:4px; margin-left:auto}
.nav-item{position:relative}
.nav-btn{display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; padding:10px 14px; border-radius:12px; font:500 15px/1 var(--f-body); color:var(--ink); text-decoration:none;
  transition:background .2s, box-shadow .2s, transform .15s}
.nav-btn svg{width:14px; height:14px; transition:transform .25s var(--ease-spring)}
.nav-item:hover .nav-btn, .nav-item.open .nav-btn, .nav-btn:focus-visible{background:var(--mist-soft); box-shadow:0 3px 0 var(--mist); transform:translateY(-1px)}
.nav-item.open .nav-btn svg, .nav-item:hover .nav-btn svg{transform:rotate(180deg)}
.nav-btn .dot{width:7px; height:7px; border-radius:50%; background:var(--peach)}

.mega{position:fixed; left:0; right:0; top:calc(76px + env(safe-area-inset-top,0px)); opacity:0; visibility:hidden; transform:translateY(-8px); transition:opacity .22s, transform .28s var(--ease-spring), visibility 0s .22s; pointer-events:none}
.nav-item:hover .mega, .nav-item.open .mega, .nav-item:focus-within .mega{opacity:1; visibility:visible; transform:none; transition:opacity .2s, transform .3s var(--ease-spring); pointer-events:auto}
.mega::before{content:""; position:absolute; left:0; right:0; top:-14px; height:14px}
.mega-card{max-width:1180px; margin:10px auto 0; width:calc(100% - 40px); border-radius:26px; display:grid; grid-template-columns:260px 1fr; overflow:hidden;
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset, 0 4px 0 var(--edge, var(--beige)), 0 40px 60px -30px rgba(14,26,40,.45)}
.mega.white .mega-card{background:var(--white); --edge:var(--beige)}
.mega.mist .mega-card{background:var(--mist); --edge:var(--blue)}
.mega-topic{padding:28px; background:var(--ink); color:var(--white); display:flex; flex-direction:column; gap:12px}
.mega-topic .tag{align-self:flex-start; font:600 11px/1 var(--f-body); letter-spacing:.14em; text-transform:uppercase; color:var(--mist); background:rgba(165,205,241,.14); padding:7px 10px; border-radius:999px}
.mega-topic h3{font-size:26px}
.mega-topic p{font-size:14px; color:#C9D3E0}
.mega-topic .ico{width:54px; height:54px; border-radius:16px; background:var(--mist); display:grid; place-items:center; box-shadow:0 4px 0 var(--blue); margin-bottom:6px}
.mega-topic .ico svg{width:28px; height:28px; color:var(--ink)}
.mega-cols{display:grid; grid-template-columns:repeat(var(--cols,3), minmax(0,1fr)); gap:28px; padding:30px 34px 34px}
.mega-col h4{font-size:19px; display:inline-block; padding-bottom:10px; border-bottom:2px solid var(--ink); margin-bottom:16px; min-width:140px}
.mega-col ul{list-style:none; margin:0; padding:0; display:grid; gap:4px}
.mega-col a{display:flex; align-items:center; justify-content:space-between; gap:8px; text-decoration:none; font-size:15px; padding:8px 10px; margin-left:-10px; border-radius:10px; transition:background .18s, transform .18s}
.mega-col a::after{content:"→"; opacity:0; transform:translateX(-6px); transition:.2s}
.mega.white .mega-col a:hover{background:var(--mist-soft); transform:translateX(4px)}
.mega.mist .mega-col a:hover{background:rgba(255,255,255,.55); transform:translateX(4px)}
.mega-col a:hover::after{opacity:1; transform:none}

.lang{position:relative; margin-left:10px}
.lang-btn{display:inline-flex; align-items:center; gap:8px; border:1px solid var(--beige); background:var(--cream); border-radius:14px; padding:9px 14px; font:600 14px/1 var(--f-display); box-shadow:0 3px 0 var(--beige); transition:transform .12s, box-shadow .12s}
.lang-btn:active{transform:translateY(3px); box-shadow:0 0 0 var(--beige)}
.lang-btn svg{width:16px; height:16px}
.lang-btn .chev{width:12px; height:12px; transition:transform .25s}
.lang.open .lang-btn .chev{transform:rotate(180deg)}
.lang-menu{position:absolute; right:0; top:calc(100% + 12px); background:var(--white); border-radius:18px; padding:8px; min-width:190px; box-shadow:0 0 0 1px var(--line), 0 4px 0 var(--beige), 0 30px 50px -24px rgba(14,26,40,.45);
  opacity:0; visibility:hidden; transform:translateY(-6px) scale(.97); transform-origin:top right; transition:.22s var(--ease-spring)}
.lang.open .lang-menu{opacity:1; visibility:visible; transform:none}
.lang-opt{display:flex; align-items:center; gap:12px; width:100%; border:0; background:transparent; padding:10px 12px; border-radius:12px; font:600 15px/1 var(--f-body); text-align:left}
.lang-opt:hover{background:var(--mist-soft)}
.lang-opt[aria-checked="true"]{background:var(--ink); color:var(--white)}
.lang-opt .flag{width:26px; height:18px; border-radius:4px; overflow:hidden; flex:none; box-shadow:0 0 0 1px rgba(0,0,0,.1)}
.lang-opt .chk{margin-left:auto; opacity:0}
.lang-opt[aria-checked="true"] .chk{opacity:1}
.burger{display:none; margin-left:auto; width:46px; height:46px; border-radius:14px; border:1px solid var(--beige); background:var(--cream); box-shadow:0 3px 0 var(--beige)}
.burger span{display:block; width:20px; height:2px; background:var(--ink); margin:4px auto; border-radius:2px; transition:.25s}
.drawer{display:none}

/* ---------- hero ---------- */
.hero{position:relative; overflow:hidden; padding-block:64px 40px}
.hero::before{content:""; position:absolute; inset:0; background:
  radial-gradient(600px 420px at 78% 40%, rgba(165,205,241,.55), transparent 70%),
  radial-gradient(500px 300px at 10% 100%, rgba(248,169,126,.18), transparent 70%); pointer-events:none}
.hero-grid{position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center}
.hero h1{font-size:clamp(42px, 6.2vw, 80px); letter-spacing:-.025em; margin-top:18px}
.hero h1 .l2{display:block; color:var(--slate)}
.hero h1 .u{position:relative; white-space:nowrap}
.hero h1 .u svg{position:absolute; left:-2%; bottom:-.12em; width:104%; height:.32em; color:var(--peach)}
.hero-lead{font-size:19px; color:var(--slate); max-width:34em; margin-top:22px}
.hero-cta{display:flex; flex-wrap:wrap; gap:14px; margin-top:32px}
.hero-meta{display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:28px; font-size:14px; color:var(--slate)}
.hero-meta span{display:inline-flex; align-items:center; gap:7px}
.hero-meta svg{width:16px; height:16px; color:var(--blue-deep)}

.stage{position:relative; height:520px; display:grid; place-items:end center; user-select:none; -webkit-user-select:none}
.plinth{position:absolute; bottom:22px; left:50%; width:340px; height:74px; transform:translateX(-50%); border-radius:50%;
  background:radial-gradient(closest-side, #fff 0%, var(--cream) 55%, var(--paper-2) 100%); box-shadow:0 10px 0 var(--beige), 0 30px 40px -18px rgba(14,26,40,.4)}
.hans-btn{position:relative; z-index:2; border:0; background:transparent; padding:0; margin-bottom:36px; width:300px; height:400px; border-radius:40px; -webkit-tap-highlight-color:transparent}
.hans-btn:focus-visible{outline-offset:-6px}
.hans-svg{width:100%; height:100%; overflow:visible; transform-origin:50% 92%}
.hans-svg .wave-arm{transform-origin:198px 192px; animation:wave 4.8s ease-in-out infinite}
.hans-btn:hover .wave-arm{animation-duration:1.6s}
@keyframes wave{0%,52%,100%{transform:rotate(0)} 60%{transform:rotate(-16deg)} 68%{transform:rotate(10deg)} 76%{transform:rotate(-14deg)} 84%{transform:rotate(8deg)} 92%{transform:rotate(-4deg)}}
.hans-svg .eyes{transform-origin:150px 113px; animation:blink 5s infinite}
@keyframes blink{0%,46%,50%,100%{transform:scaleY(1)} 48%{transform:scaleY(.1)}}
.hans-svg .body-bob{animation:bob 3.2s ease-in-out infinite; transform-origin:150px 360px}
@keyframes bob{50%{transform:translateY(-4px)}}
.hans-svg .mouth-o{opacity:0}
.stage.surprised .mouth{opacity:0} .stage.surprised .mouth-o{opacity:1}
.stage.surprised .brows{transform:translateY(-6px)}
.hans-svg .brows{transition:transform .2s}
.hans-svg .pose-both{display:none}
.stage.both .pose-idle{display:none}
.stage.both .pose-both{display:inline}
.stage.both .stack-neat{animation:neatIn .5s var(--ease-spring)}
@keyframes neatIn{from{transform:translateY(10px) scale(.9)} to{transform:none}}
.stage.nostack .stack-messy{opacity:0}
.stage.jump .hans-svg{animation:jump .45s var(--ease-spring)}
@keyframes jump{30%{transform:translateY(-16px) scaleY(1.04)} 60%{transform:translateY(0) scaleY(.96)} 100%{transform:none}}
.stage.vanish .hans-svg{animation:vanish .55s cubic-bezier(.6,-0.4,.7,.4) forwards}
@keyframes vanish{0%{transform:none; opacity:1} 30%{transform:scale(1.06,.94)} 100%{transform:translateY(40px) scale(.05); opacity:0}}
.stage.appear .hans-svg{animation:appear .7s var(--ease-spring) both}
@keyframes appear{0%{transform:translateY(40px) scale(.05); opacity:0} 60%{opacity:1} 100%{transform:none; opacity:1}}
.puff{position:absolute; width:22px; height:22px; border-radius:50%; background:var(--white); box-shadow:0 3px 0 var(--beige); pointer-events:none; z-index:3}
.fly-paper{position:absolute; width:62px; height:48px; border-radius:4px; background:var(--cream); box-shadow:0 0 0 1px var(--beige), 0 6px 10px -4px rgba(14,26,40,.25); pointer-events:none; z-index:3;
  background-image:linear-gradient(var(--beige),var(--beige)), linear-gradient(var(--beige),var(--beige)), linear-gradient(var(--beige),var(--beige)), linear-gradient(var(--mist),var(--mist));
  background-size:70% 3px, 55% 3px, 64% 3px, 26% 6px; background-position:9px 18px, 9px 26px, 9px 34px, 9px 8px; background-repeat:no-repeat}
.fly-paper.blue{background-color:#EEF5FD}
.bubble{position:absolute; z-index:4; left:50%; top:6px; transform:translateX(-8%); background:var(--white); border-radius:22px 22px 22px 6px; padding:14px 18px; max-width:260px;
  font:700 18px/1.25 var(--f-display); box-shadow:0 1px 0 #fff inset, 0 4px 0 var(--beige), 0 20px 30px -18px rgba(14,26,40,.4); transition:transform .35s var(--ease-spring), opacity .25s}
.bubble small{display:block; font:500 13px/1.35 var(--f-body); color:var(--slate); margin-top:4px}
.bubble.pop{animation:pop .45s var(--ease-spring)}
@keyframes pop{0%{transform:translateX(-8%) scale(.6); opacity:0} 100%{transform:translateX(-8%) scale(1); opacity:1}}
.chip-float{position:absolute; z-index:1; display:flex; align-items:center; gap:10px; background:var(--white); border-radius:16px; padding:10px 14px; font:700 14px/1.15 var(--f-display); box-shadow:0 1px 0 #fff inset, 0 4px 0 var(--beige), 0 18px 26px -18px rgba(14,26,40,.4); animation:float 6s ease-in-out infinite}
.chip-float small{display:block; font:500 11px/1 var(--f-body); color:var(--slate); letter-spacing:.06em; text-transform:uppercase; margin-bottom:4px}
.chip-float .swatch{width:30px; height:30px; border-radius:10px; display:grid; place-items:center; flex:none}
.chip-float.a{left:0; top:150px}
.chip-float.b{right:0; top:280px; animation-delay:-3s}
@keyframes float{50%{transform:translateY(-8px) rotate(-1deg)}}
.click-hint{position:absolute; z-index:4; left:4%; bottom:120px; font:600 15px/1.2 var(--f-display); color:var(--slate); display:flex; align-items:flex-end; gap:4px; transform:rotate(-6deg)}
.click-hint svg{width:58px; height:40px; color:var(--slate)}

/* ---------- section scaffolding ---------- */
section{position:relative}
.sec{padding-block:110px}
.sec-head{display:grid; grid-template-columns:1.1fr .9fr; gap:30px; align-items:end; margin-bottom:46px}
.sec-head h2{font-size:clamp(34px, 4.6vw, 58px); letter-spacing:-.02em; margin-top:14px}
.sec-head h2 .soft{color:var(--slate)}
.sec-head p{font-size:17px; color:var(--slate); max-width:30em; justify-self:end}

/* ---------- app demo (dark) ---------- */
.dark{background:var(--ink); color:var(--white)}
.dark::before{content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size:44px 44px; pointer-events:none;
  mask-image:linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image:linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent)}
.dark .eyebrow{color:var(--mist)}
.dark .eyebrow::before{box-shadow:0 0 0 3px rgba(248,169,126,.25)}
.dark .sec-head p{color:#C4CFDD}
.dark .sec-head h2 .soft{color:var(--mist)}
.app-badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}
.app-badge{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:12px; background:var(--ink-2); box-shadow:0 0 0 1px rgba(255,255,255,.1) inset; font:600 13px/1 var(--f-body); color:#DCE4EE}
.app-badge svg{width:16px; height:16px}
.letter-tabs{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:30px}
.ltab{border:0; text-align:left; padding:13px 18px; border-radius:16px; background:var(--ink-2); color:var(--white); box-shadow:0 0 0 1px rgba(255,255,255,.14) inset, 0 4px 0 #060d16; transition:transform .15s, box-shadow .15s, background .2s}
.ltab b{display:block; font:700 16px/1.2 var(--f-display)}
.ltab span{display:block; font:500 13px/1.3 var(--f-body); color:#AFC0D3; margin-top:3px}
.ltab:hover{transform:translateY(-2px)}
.ltab[aria-selected="true"]{background:var(--cream); color:var(--ink); box-shadow:0 4px 0 var(--mist)}
.ltab[aria-selected="true"] span{color:var(--slate)}
.ltab:active{transform:translateY(3px); box-shadow:0 1px 0 #060d16}
.demo{display:grid; grid-template-columns:1.05fr 1fr; gap:36px; align-items:start}
.scanner{position:relative; background:var(--ink-2); border-radius:34px; padding:42px 34px; box-shadow:0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -40px #000; min-height:620px; overflow:hidden}
.corner{position:absolute; width:44px; height:44px; border:3.5px solid var(--mist); transition:transform .4s var(--ease-spring), border-color .3s}
.corner.tl{left:30px; top:30px; border-right:0; border-bottom:0; border-top-left-radius:14px}
.corner.tr{right:30px; top:30px; border-left:0; border-bottom:0; border-top-right-radius:14px}
.corner.bl{left:30px; bottom:30px; border-right:0; border-top:0; border-bottom-left-radius:14px}
.corner.br{right:30px; bottom:30px; border-left:0; border-top:0; border-bottom-right-radius:14px}
.scanner.scanning .corner.tl{transform:translate(8px,8px)} .scanner.scanning .corner.tr{transform:translate(-8px,8px)}
.scanner.scanning .corner.bl{transform:translate(8px,-8px)} .scanner.scanning .corner.br{transform:translate(-8px,-8px)}
.scanner.done .corner{border-color:var(--peach)}
.paper{position:relative; z-index:1; margin:22px auto; max-width:520px; background:var(--white); color:#1b2430; border-radius:4px; padding:40px 42px 36px; font:400 13.5px/1.6 "Helvetica Neue", Arial, sans-serif;
  box-shadow:0 2px 0 #E7E1D6, 0 30px 40px -20px rgba(0,0,0,.6); transition:transform .5s var(--ease-spring), opacity .4s}
.paper.swap{animation:paperIn .55s var(--ease-spring)}
@keyframes paperIn{from{transform:translateY(30px) rotate(2deg); opacity:0}}
.paper .ph{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.paper .sender{font-weight:700; font-size:16.5px}
.paper .sender-sub{font-size:11.5px; color:#555; margin-top:2px}
.paper .stamp{font:700 10.5px/1 var(--f-body); letter-spacing:.12em; color:var(--peach-edge); border:1.5px solid var(--peach); border-radius:6px; padding:6px 8px; white-space:nowrap}
.paper .addr{display:flex; justify-content:space-between; margin-top:26px; gap:10px}
.paper .subj{font-weight:700; margin-top:26px}
.paper .greet{margin-top:14px}
.paper .pp{margin-top:8px; padding:6px 10px; margin-left:-10px; margin-right:-10px; border-radius:4px; border-left:3px solid transparent; transition:background .5s, border-color .5s}
.paper .pp .num{display:inline-grid; place-items:center; width:19px; height:19px; border-radius:50%; font:700 11px/1 var(--f-body); margin-right:6px; vertical-align:1px; transform:scale(0); transition:transform .35s var(--ease-spring); background:var(--blue); color:var(--ink)}
.paper .pp.lit{background:#D9E8F7; border-left-color:var(--blue)}
.paper .pp.lit.warn{background:var(--peach-soft); border-left-color:var(--peach)}
.paper .pp.lit.warn .num{background:var(--peach)}
.paper .pp.lit .num{transform:scale(1)}
.paper .close{margin-top:18px}
.scanline{position:absolute; z-index:2; left:22px; right:22px; height:90px; top:0; opacity:0; pointer-events:none;
  background:linear-gradient(180deg, transparent, rgba(165,205,241,.32) 70%, rgba(165,205,241,.9) 96%, #fff 100%); border-bottom:2px solid var(--mist); filter:drop-shadow(0 0 12px rgba(165,205,241,.9))}
.scanner.scanning .scanline{animation:scan 1.4s ease-in-out 2 alternate; opacity:1}
@keyframes scan{from{top:-60px} to{top:calc(100% - 40px)}}
.paper.fly{transition:transform .8s cubic-bezier(.6,-0.2,.4,1), opacity .8s}
.scan-status{position:absolute; z-index:3; left:50%; bottom:18px; transform:translateX(-50%); display:flex; align-items:center; gap:8px; background:rgba(14,26,40,.85); color:var(--mist); font:600 13px/1 var(--f-body); padding:9px 14px; border-radius:999px; box-shadow:0 0 0 1px rgba(165,205,241,.3) inset; white-space:nowrap}
.scan-status i{width:8px; height:8px; border-radius:50%; background:var(--peach); animation:pulse 1s infinite}
@keyframes pulse{50%{opacity:.3}}

.panel{display:flex; flex-direction:column; gap:16px; min-width:0}
.hans-card{background:var(--white); color:var(--ink); border-radius:28px; padding:24px 28px 28px; box-shadow:0 4px 0 var(--beige), var(--sh-float)}
.hans-card .who{display:flex; align-items:center; gap:12px; font:700 12px/1 var(--f-body); letter-spacing:.14em; text-transform:uppercase; color:var(--slate); margin-bottom:14px}
.avatar{width:46px; height:46px; border-radius:50%; background:var(--mist-soft); overflow:hidden; flex:none; box-shadow:0 0 0 2px var(--white), 0 0 0 3px var(--mist)}
.avatar svg{width:100%; height:100%}
.hans-card .say{font:600 21px/1.45 var(--f-display); min-height:3em}
.hans-card .say .caret{display:inline-block; width:2px; height:1em; background:var(--ink); vertical-align:-2px; margin-left:2px; animation:pulse .8s infinite}
.ready-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:20px}
.ready-steps div{background:var(--paper); border-radius:14px; padding:12px; font:600 13px/1.3 var(--f-body); color:var(--slate)}
.ready-steps b{display:block; font:700 16px/1.2 var(--f-display); color:var(--ink); margin-top:4px}
.big-scan{margin-top:22px; width:100%; padding:20px; font-size:19px; border-radius:20px}
.big-scan svg{width:22px; height:22px}
.progress{margin-top:16px; display:grid; gap:10px}
.prog-row{display:flex; align-items:center; gap:10px; font:500 15px/1.3 var(--f-body); color:var(--slate); opacity:.35; transition:opacity .3s}
.prog-row.on{opacity:1; color:var(--ink)}
.prog-row .tick{width:22px; height:22px; border-radius:50%; border:2px solid var(--beige); display:grid; place-items:center; flex:none; transition:.3s var(--ease-spring)}
.prog-row.on .tick{background:var(--mist); border-color:var(--blue); transform:scale(1.1)}
.prog-row .tick svg{width:12px; height:12px; opacity:0}
.prog-row.on .tick svg{opacity:1}
.bar{height:10px; border-radius:99px; background:var(--paper-2); overflow:hidden; margin-top:6px; box-shadow:inset 0 1px 2px rgba(0,0,0,.12)}
.bar i{display:block; height:100%; width:0; background:linear-gradient(90deg, var(--mist), var(--blue)); border-radius:99px; transition:width .4s}
.facts{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.fact{background:var(--mist-soft); color:var(--ink); border-radius:20px; padding:16px 18px 18px; box-shadow:0 3px 0 var(--mist); opacity:0; transform:translateY(14px) scale(.96)}
.fact.in{animation:factIn .5s var(--ease-spring) forwards}
@keyframes factIn{to{opacity:1; transform:none}}
.fact.warn{background:var(--peach-soft); box-shadow:0 3px 0 var(--peach)}
.fact .k{display:flex; align-items:center; gap:8px; font:600 13px/1 var(--f-body); color:var(--slate)}
.fact .k i{font-style:normal; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--blue); font:700 11px/1 var(--f-body); color:var(--ink)}
.fact.warn .k i{background:var(--peach)}
.fact .v{font:700 20px/1.2 var(--f-display); margin-top:10px}
.steps-card, .folder-card{background:var(--ink-2); border-radius:24px; padding:22px 24px; box-shadow:0 0 0 1px rgba(255,255,255,.1) inset; opacity:0; transform:translateY(14px)}
.steps-card.in, .folder-card.in{animation:factIn .5s var(--ease-spring) forwards}
.steps-card h4, .folder-card h4{font-size:19px; margin-bottom:12px; display:flex; align-items:center; gap:10px}
.check{display:flex; gap:14px; align-items:flex-start; padding:8px 0; cursor:pointer; font-size:15px; color:#DCE4EE}
.check input{position:absolute; opacity:0; pointer-events:none}
.check .box{width:24px; height:24px; border-radius:8px; border:2px solid var(--mist); flex:none; display:grid; place-items:center; margin-top:1px; transition:.25s var(--ease-spring)}
.check .box svg{width:14px; height:14px; stroke-dasharray:20; stroke-dashoffset:20; transition:stroke-dashoffset .3s .05s}
.check input:checked + .box{background:var(--mist); transform:scale(1.08)}
.check input:checked + .box svg{stroke-dashoffset:0}
.check input:checked ~ span{text-decoration:line-through; text-decoration-color:var(--mist); color:#8B9AAD}
.check input:focus-visible + .box{outline:3px solid var(--peach); outline-offset:2px}
.shelf{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; align-items:end; padding:14px 6px 0; border-bottom:6px solid #2D3E57; border-radius:0 0 6px 6px; margin-top:6px}
.binder{position:relative; border:0; height:150px; border-radius:12px 12px 4px 4px; display:flex; align-items:center; justify-content:center; transition:transform .3s var(--ease-spring), box-shadow .3s; box-shadow:inset -8px 0 0 rgba(0,0,0,.08), 0 -1px 0 rgba(255,255,255,.3) inset}
.binder .lbl{writing-mode:vertical-rl; transform:rotate(180deg); font:700 16px/1 var(--f-display); letter-spacing:.02em}
.binder .ring{position:absolute; left:50%; bottom:16px; width:22px; height:22px; margin-left:-11px; border-radius:50%; background:rgba(255,255,255,.4); box-shadow:inset 0 2px 3px rgba(0,0,0,.25)}
.binder .cnt{position:absolute; top:-10px; right:-6px; min-width:28px; height:28px; padding:0 8px; border-radius:99px; background:var(--white); color:var(--ink); font:700 13px/28px var(--f-body); box-shadow:0 3px 0 var(--beige)}
.binder.b-bescheide{background:var(--mist); color:var(--ink)}
.binder.b-termine{background:#0A1420; color:var(--white); box-shadow:inset -8px 0 0 rgba(255,255,255,.04), 0 0 0 1px rgba(255,255,255,.14) inset}
.binder.b-antraege{background:var(--peach); color:var(--ink)}
.binder:hover{transform:translateY(-14px)}
.binder.suggest::after{content:attr(data-sug); position:absolute; top:-40px; left:50%; transform:translateX(-50%); white-space:nowrap; font:700 11px/1 var(--f-body); letter-spacing:.06em; text-transform:uppercase; background:var(--peach); color:var(--ink); padding:6px 8px; border-radius:8px; animation:float 2.4s ease-in-out infinite}
.binder.got{animation:gulp .6s var(--ease-spring)}
@keyframes gulp{30%{transform:translateY(-22px) scaleY(1.05)} 60%{transform:translateY(4px) scaleY(.95)}}
.binder.got .cnt{animation:pop .45s var(--ease-spring)}
.filed-msg{display:flex; align-items:center; gap:12px; margin-top:16px; padding:12px 14px; border-radius:14px; background:rgba(165,205,241,.12); color:var(--mist); font:600 15px/1.35 var(--f-body)}
.filed-msg svg{width:22px; height:22px; flex:none}
.demo-actions{display:flex; gap:12px; flex-wrap:wrap}
.fine{font-size:13px; color:#93A3B8; margin-top:6px}

/* ---------- features ---------- */
.features{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px}
.feat{background:#F3EEE6; border:1px solid var(--beige); border-radius:28px; padding:22px 22px 26px; box-shadow:0 3px 0 var(--beige); transition:transform .35s var(--ease-spring), box-shadow .35s}
.feat:hover{transform:translateY(-6px) rotate(-.4deg); box-shadow:0 6px 0 var(--beige), 0 30px 40px -26px rgba(14,26,40,.45)}
.feat .vis{height:150px; display:grid; place-items:center; margin-bottom:22px; position:relative}
.feat h3{font-size:22px; line-height:1.2}
.feat p{font-size:15px; color:var(--slate); margin-top:10px}
.v-klartext{background:var(--ink); color:var(--white); border-radius:18px; padding:16px 18px; width:100%; box-shadow:0 4px 0 #000; transition:transform .4s var(--ease-spring)}
.v-klartext small{color:var(--mist); font:600 12px/1 var(--f-body)}
.v-klartext b{display:block; font:700 18px/1.3 var(--f-display); margin-top:6px}
.v-klartext .amt{position:relative; display:inline-block}
.v-klartext .amt s{color:#7D8CA0; text-decoration-thickness:2px}
.feat:hover .v-klartext{transform:rotate(-2deg) scale(1.03)}
.v-ring{display:flex; align-items:center; gap:12px; width:100%}
.v-ring .ring{position:relative; width:110px; height:110px; flex:none}
.v-ring svg{width:110px; height:110px; transform:rotate(-90deg)}
.v-ring .ring b{position:absolute; inset:0; display:grid; place-content:center; text-align:center; font:700 30px/1 var(--f-body)}
.v-ring .ring b small{font:500 11px/1 var(--f-body); color:var(--slate); margin-top:4px}
.v-ring .arc{transition:stroke-dashoffset 1.1s var(--ease-spring)}
.v-ring .pills{display:grid; gap:8px; min-width:0; flex:1}
.v-ring .pills span{background:var(--white); border:1px solid var(--beige); border-radius:10px; padding:8px 10px; font:600 12px/1.2 var(--f-body)}
.v-binders{display:flex; align-items:flex-end; gap:10px; position:relative}
.v-binders i{display:flex; align-items:center; justify-content:center; width:52px; border-radius:6px; transition:transform .35s var(--ease-spring)}
.v-binders i span{writing-mode:vertical-rl; transform:rotate(180deg); font:700 11px/1 var(--f-display)}
.v-binders i:nth-child(1){height:96px; background:var(--mist); border:1px solid var(--blue)}
.v-binders i:nth-child(2){height:112px; background:var(--ink); color:var(--white)}
.v-binders i:nth-child(3){height:88px; background:var(--peach); border:1px solid var(--peach-edge)}
.v-binders .note{position:absolute; top:-18px; left:48px; width:40px; height:34px; background:var(--white); box-shadow:0 3px 6px rgba(0,0,0,.12); transform:rotate(4deg); transition:transform .5s var(--ease-spring)}
.feat:hover .v-binders i:nth-child(1){transform:translateY(-8px)}
.feat:hover .v-binders i:nth-child(2){transform:translateY(-14px)}
.feat:hover .v-binders i:nth-child(3){transform:translateY(-5px)}
.feat:hover .v-binders .note{transform:translateY(-34px) rotate(-10deg)}
.v-list{background:var(--white); border-radius:18px; border:1px solid var(--beige); padding:16px; width:100%; display:grid; gap:12px}
.v-list div{display:flex; align-items:center; gap:12px}
.v-list i{width:24px; height:24px; border-radius:7px; background:var(--blue); display:grid; place-items:center; flex:none; transform:scale(.85); transition:transform .3s var(--ease-spring)}
.v-list i svg{width:13px; height:13px}
.v-list span{height:7px; border-radius:6px; background:var(--paper-2); flex:1}
.feat:hover .v-list i{transform:scale(1.05)}
.feat:hover .v-list div:nth-child(2) i{transition-delay:.08s} .feat:hover .v-list div:nth-child(3) i{transition-delay:.16s}

/* ---------- decoder ---------- */
.decoder-sec{background:var(--paper)}
.cards{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px}
.flip{perspective:1200px; border:0; background:transparent; padding:0; text-align:left; height:270px}
.flip .inner{position:relative; width:100%; height:100%; transform-style:preserve-3d; transition:transform .75s var(--ease-spring)}
.flip.on .inner{transform:rotateY(180deg)}
.flip:hover:not(.on) .inner{transform:rotateY(-8deg) translateY(-4px)}
.face{position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden; border-radius:26px; padding:24px 26px; display:flex; flex-direction:column}
.face.front{background:linear-gradient(180deg, #FFFDF8, #F6EEE2); border:1px solid #E6DCCB; box-shadow:0 5px 0 #E2D6C3, 0 26px 36px -26px rgba(14,26,40,.45)}
.face.back{transform:rotateY(180deg); background:var(--ink); color:var(--white); box-shadow:0 5px 0 #000, 0 26px 36px -26px rgba(14,26,40,.6)}
.face .lab{font:600 11px/1 var(--f-body); letter-spacing:.14em; text-transform:uppercase; color:#7A6A55}
.face.back .lab{color:var(--mist)}
.face .term{font:700 31px/1.08 var(--f-display); margin-top:auto; hyphens:auto; -webkit-hyphens:auto}
.face .q{font:500 15px/1.4 var(--f-body); color:var(--slate); margin-top:10px}
.face .tap{display:flex; align-items:center; gap:8px; margin-top:auto; padding-top:16px; font:500 13px/1 var(--f-body); color:var(--slate-2)}
.face .tap svg{width:15px; height:15px}
.face.back .ans{font:600 17px/1.45 var(--f-display); margin-top:14px}
.face.back .ans b{color:var(--peach); font-weight:700}
.face.back .src{margin-top:auto; padding-top:12px; font:500 12px/1.3 var(--f-body); color:#8FA0B5}
.flip:focus-visible{outline:none}
.flip:focus-visible .inner{outline:3px solid var(--blue-deep); outline-offset:4px; border-radius:26px}

/* ---------- calculator ---------- */
.calc-sec{background:linear-gradient(180deg, var(--paper) 0, #EEE6D8 100%)}
.calc{display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:26px; align-items:start}
.steps-rail{grid-column:1 / -1; display:flex; gap:8px; overflow-x:auto; padding:4px 2px 12px; scrollbar-width:thin}
.srail{flex:none; border:0; display:flex; align-items:center; gap:10px; padding:10px 14px 10px 10px; border-radius:14px; background:var(--cream); box-shadow:0 0 0 1px var(--beige) inset, 0 3px 0 var(--beige); font:600 14px/1 var(--f-display); color:var(--slate); transition:transform .15s, background .2s}
.srail:active{transform:translateY(3px); box-shadow:0 0 0 1px var(--beige) inset}
.srail .n{width:28px; height:28px; border-radius:9px; display:grid; place-items:center; background:var(--paper-2); color:var(--ink); font:700 13px/1 var(--f-body); position:relative; overflow:hidden}
.srail .n i{position:absolute; left:0; bottom:0; width:100%; background:var(--mist); transition:height .4s}
.srail .n span{position:relative}
.srail[aria-current="step"]{background:var(--ink); color:var(--white); box-shadow:0 3px 0 #000}
.srail[aria-current="step"] .n{background:var(--ink-3); color:var(--white)}
.calc-card{background:var(--white); border-radius:30px; box-shadow:var(--sh-card); padding:32px 34px; min-width:0}
.mod-head{display:flex; gap:18px; align-items:flex-start; padding-bottom:22px; border-bottom:1px dashed var(--beige); margin-bottom:8px}
.mod-num{width:58px; height:58px; border-radius:18px; flex:none; background:var(--mist); box-shadow:0 4px 0 var(--blue); display:grid; place-items:center; font:700 24px/1 var(--f-display)}
.mod-head h3{font-size:27px}
.mod-head .w{display:inline-block; margin-top:8px; font:600 12px/1 var(--f-body); letter-spacing:.08em; text-transform:uppercase; color:var(--slate); background:var(--paper); padding:6px 9px; border-radius:8px}
.mod-head p{font-size:15px; color:var(--slate); margin-top:10px; max-width:58ch}
.qs{display:grid}
.q{display:grid; grid-template-columns:minmax(0,1fr); gap:10px; padding:18px 0; border-bottom:1px solid var(--line)}
.q:last-child{border-bottom:0}
.q-t{display:flex; gap:12px; font:600 16px/1.35 var(--f-body)}
.q-t .id{font:600 13px/1.6 var(--f-body); color:var(--slate-2); min-width:34px; font-variant-numeric:tabular-nums}
.seg{display:grid; grid-template-columns:repeat(var(--n,4), minmax(0,1fr)); gap:8px; padding-left:46px}
.seg button{border:0; border-radius:12px; padding:11px 8px; background:var(--paper); color:var(--slate); font:600 13.5px/1.2 var(--f-body); box-shadow:0 0 0 1px var(--paper-2) inset, 0 3px 0 var(--paper-2); transition:transform .12s, box-shadow .12s, background .2s, color .2s; min-height:46px}
.seg button:hover{background:#EFE7DA; color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--mist); color:var(--ink); box-shadow:0 0 0 1px var(--blue) inset, 0 3px 0 var(--blue); transform:translateY(0)}
.seg button[aria-pressed="true"].lvl-2{background:#86B6E7}
.seg button[aria-pressed="true"].lvl-3{background:var(--ink); color:var(--white); box-shadow:0 3px 0 #000}
.seg button:active{transform:translateY(3px); box-shadow:0 0 0 1px var(--blue) inset}
.freq{display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding-left:46px}
.stepper{display:inline-flex; align-items:center; background:var(--paper); border-radius:14px; box-shadow:0 0 0 1px var(--paper-2) inset, 0 3px 0 var(--paper-2)}
.stepper button{border:0; background:transparent; width:42px; height:42px; font:700 20px/1 var(--f-display); border-radius:12px}
.stepper button:hover{background:#EFE7DA}
.stepper output{min-width:34px; text-align:center; font:700 17px/1 var(--f-body); font-variant-numeric:tabular-nums}
.unit{display:inline-flex; background:var(--paper); border-radius:12px; padding:4px; gap:4px; box-shadow:0 0 0 1px var(--paper-2) inset}
.unit button{border:0; background:transparent; padding:8px 12px; border-radius:9px; font:600 13px/1 var(--f-body); color:var(--slate)}
.unit button[aria-pressed="true"]{background:var(--white); color:var(--ink); box-shadow:0 2px 0 var(--beige)}
.toggle-row{display:flex; gap:14px; align-items:flex-start; padding:16px; background:var(--paper); border-radius:16px; margin-top:16px; cursor:pointer}
.toggle-row input{position:absolute; opacity:0}
.sw{width:50px; height:30px; border-radius:99px; background:var(--paper-2); flex:none; position:relative; transition:background .25s; box-shadow:inset 0 2px 3px rgba(0,0,0,.12)}
.sw::after{content:""; position:absolute; left:3px; top:3px; width:24px; height:24px; border-radius:50%; background:var(--white); box-shadow:0 2px 0 var(--beige); transition:transform .3s var(--ease-spring)}
.toggle-row input:checked + .sw{background:var(--blue)}
.toggle-row input:checked + .sw::after{transform:translateX(20px)}
.toggle-row input:focus-visible + .sw{outline:3px solid var(--blue-deep); outline-offset:2px}
.who-pick{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; margin-top:16px}
.who-pick div{padding:18px; border-radius:18px; background:var(--mist-soft); box-shadow:0 3px 0 var(--mist)}
.who-pick div.off{background:var(--paper); box-shadow:0 3px 0 var(--paper-2); color:var(--slate)}
.who-pick b{display:block; font:700 18px/1.2 var(--f-display)}
.who-pick small{display:block; margin-top:6px; font-size:13px; color:var(--slate)}
.tip{display:flex; gap:14px; align-items:flex-start; margin-top:18px; padding:16px 18px; border-radius:18px; background:var(--peach-soft); font-size:15px}
.tip .avatar{width:40px; height:40px}
.calc-foot{display:flex; justify-content:space-between; gap:12px; margin-top:24px; flex-wrap:wrap}
.meter{position:sticky; top:100px; background:var(--ink); color:var(--white); border-radius:30px; padding:24px; box-shadow:0 5px 0 #000, var(--sh-float)}
.meter h4{font-size:14px; font-family:var(--f-body); font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--mist)}
.gauge{position:relative; margin-top:6px}
.gauge svg{width:100%; display:block}
.gauge .needle{transform-origin:150px 150px; transition:transform .9s var(--ease-spring)}
.gauge-read{position:absolute; left:0; right:0; bottom:2px; text-align:center}
.gauge-read b{display:block; font:700 46px/1 var(--f-body); font-variant-numeric:tabular-nums; letter-spacing:-.02em}
.gauge-read span{font:500 13px/1 var(--f-body); color:#A9B7C9}
.pg-pill{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; padding:14px 16px; border-radius:18px; background:var(--cream); color:var(--ink); box-shadow:0 4px 0 var(--beige)}
.pg-pill b{font:700 22px/1.1 var(--f-display)}
.pg-pill small{display:block; font:500 12px/1.2 var(--f-body); color:var(--slate)}
.pg-pill .big{font:700 40px/1 var(--f-display); width:58px; height:58px; display:grid; place-items:center; border-radius:16px; background:var(--mist); box-shadow:0 4px 0 var(--blue); transition:transform .4s var(--ease-spring)}
.pg-pill .big.bump{animation:gulp .5s var(--ease-spring)}
.mbars{display:grid; gap:10px; margin-top:20px}
.mbar{display:grid; grid-template-columns:22px 1fr 54px; gap:10px; align-items:center; font:500 12.5px/1 var(--f-body); color:#C2CDDA}
.mbar .t{height:8px; border-radius:99px; background:var(--ink-3); overflow:hidden}
.mbar .t i{display:block; height:100%; width:0; background:var(--mist); border-radius:99px; transition:width .6s var(--ease-spring)}
.mbar.ignored .t i{background:#4C5D74}
.mbar .v{text-align:right; font-variant-numeric:tabular-nums}
.meter-actions{display:flex; gap:10px; margin-top:20px; flex-wrap:wrap}
.meter .note{font-size:12px; color:#8FA0B5; margin-top:14px}
.result{display:grid; gap:18px}
.res-hero{display:flex; gap:22px; align-items:center; padding:24px; border-radius:24px; background:var(--mist-soft); box-shadow:0 4px 0 var(--mist)}
.res-hero .big{font:700 66px/1 var(--f-display); width:110px; height:110px; flex:none; border-radius:28px; display:grid; place-items:center; background:var(--ink); color:var(--white); box-shadow:0 6px 0 #000}
.res-hero h3{font-size:28px}
.res-hero p{color:var(--slate); margin-top:8px}
.benefits{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px}
.ben{padding:16px 18px; border-radius:18px; background:var(--paper); box-shadow:0 3px 0 var(--paper-2)}
.ben small{display:block; font:600 12.5px/1.3 var(--f-body); color:var(--slate)}
.ben b{display:block; font:700 24px/1.1 var(--f-body); margin-top:6px; font-variant-numeric:tabular-nums}
.ben b span{font:500 13px/1 var(--f-body); color:var(--slate)}
.tbl-wrap{overflow-x:auto; margin-top:40px; border-radius:24px; background:var(--white); box-shadow:var(--sh-card)}
.tbl{width:100%; border-collapse:collapse; min-width:640px; font-size:15px}
.tbl caption{text-align:left; padding:22px 24px 6px; font:700 22px/1.2 var(--f-display)}
.tbl th, .tbl td{padding:14px 18px; text-align:right; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums}
.tbl th:first-child, .tbl td:first-child{text-align:left}
.tbl thead th{font:700 14px/1 var(--f-display); color:var(--slate)}
.tbl tbody tr:hover{background:var(--mist-soft)}
.tbl tr.hi td{background:var(--mist-soft)}
.tbl tfoot td{font-size:12.5px; color:var(--slate); text-align:left; border:0; padding:12px 24px 20px}

/* ---------- footer ---------- */
.foot{background:var(--ink); color:#C9D3E0; padding-block:70px 40px}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px}
.foot .logo{color:var(--white); font-size:34px}
.foot .logo .hl{background:linear-gradient(transparent 58%, rgba(165,205,241,.35) 58%, rgba(165,205,241,.35) 92%, transparent 92%)}
.foot h5{margin:0 0 14px; font:700 15px/1 var(--f-display); color:var(--white)}
.foot ul{list-style:none; margin:0; padding:0; display:grid; gap:9px; font-size:14.5px}
.foot a{text-decoration:none} .foot a:hover{color:var(--mist)}
.foot .legal{margin-top:50px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13px; color:#8FA0B5}

.toast{position:fixed; z-index:80; left:50%; bottom:calc(24px + env(safe-area-inset-bottom,0px)); transform:translate(-50%, 140%); background:var(--ink); color:var(--white); padding:14px 18px; border-radius:16px; font:600 15px/1.3 var(--f-body); box-shadow:0 4px 0 #000, 0 20px 40px -10px rgba(0,0,0,.4); display:flex; align-items:center; gap:10px; transition:transform .45s var(--ease-spring); max-width:calc(100% - 32px)}
.toast.show{transform:translate(-50%, 0)}
.toast i{width:10px; height:10px; border-radius:50%; background:var(--peach); flex:none}

/* ---------- responsive ---------- */
@media (max-width: 1080px){
  .nav, .lang{display:none}
  .burger{display:block}
  .drawer{display:block; position:fixed; z-index:49; inset:calc(76px + env(safe-area-inset-top,0px)) 0 0 0; background:var(--paper); overflow-y:auto; transform:translateX(100%); transition:transform .4s var(--ease-spring); padding:20px max(20px, env(safe-area-inset-right,0px)) 40px max(20px, env(safe-area-inset-left,0px))}
  .drawer.open{transform:none}
  .burger.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .burger.open span:nth-child(2){opacity:0}
  .burger.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .calc{grid-template-columns:minmax(0,1fr)}
  .meter{position:relative; top:0; order:-1}
  .features{grid-template-columns:repeat(2, minmax(0,1fr))}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:minmax(0,1fr)}
  .stage{height:500px}
  .demo{grid-template-columns:minmax(0,1fr)}
  .sec-head{grid-template-columns:minmax(0,1fr)}
  .sec-head p{justify-self:start}
  .cards{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width: 600px){
  .sec{padding-block:72px}
  .hero{padding-block:36px 10px}
  .hero-lead{font-size:17px}
  .stage{height:470px; transform:scale(.92); transform-origin:50% 100%}
  .chip-float.a{left:-4px; top:110px} .chip-float.b{right:-4px; top:250px}
  .click-hint{left:0; bottom:96px}
  .bubble{max-width:200px; font-size:16px; transform:translateX(-30%)}
  @keyframes pop{0%{transform:translateX(-30%) scale(.6); opacity:0} 100%{transform:translateX(-30%) scale(1); opacity:1}}
  .scanner{padding:30px 14px; min-height:0; border-radius:26px}
  .corner{width:30px; height:30px} .corner.tl, .corner.bl{left:14px} .corner.tr, .corner.br{right:14px} .corner.tl, .corner.tr{top:14px} .corner.bl, .corner.br{bottom:14px}
  .paper{padding:26px 20px 24px; font-size:12.5px}
  .facts{grid-template-columns:1fr 1fr; gap:10px}
  .fact .v{font-size:17px}
  .hans-card{padding:20px}
  .hans-card .say{font-size:18px}
  .features{grid-template-columns:minmax(0,1fr)}
  .cards{grid-template-columns:minmax(0,1fr)}
  .flip{height:250px}
  .calc-card{padding:22px 18px; border-radius:24px}
  .seg, .freq{padding-left:0}
  .seg{grid-template-columns:repeat(2, minmax(0,1fr))}
  .seg.n3{grid-template-columns:repeat(3, minmax(0,1fr))}
  .who-pick, .benefits{grid-template-columns:minmax(0,1fr)}
  .res-hero{flex-direction:column; align-items:flex-start}
  .foot-grid{grid-template-columns:minmax(0,1fr)}
  .ready-steps{grid-template-columns:1fr 1fr 1fr; gap:6px}
  .ready-steps div{padding:10px 8px; font-size:11.5px}
  .ready-steps b{font-size:14px}
  .binder{height:120px}
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important}
}


.stage{height:580px}
.hans-btn{width:290px; height:468px; margin-bottom:40px}
.hans-svg{width:100%; height:100%}
.hans-img{width:100%; height:100%; display:block; transform-origin:50% 100%; animation:hansIdle 5.5s ease-in-out infinite; -webkit-user-drag:none; pointer-events:none}
.hans-btn:hover .hans-img{animation-duration:2.2s}
@keyframes hansIdle{0%,100%{transform:translateY(0) rotate(0)} 20%{transform:translateY(-4px) rotate(0)} 40%{transform:translateY(0) rotate(0)} 52%{transform:rotate(-2.5deg)} 60%{transform:rotate(2deg)} 68%{transform:rotate(-1.5deg)} 76%{transform:rotate(0)}}
.plinth{width:360px}
.bubble{left:calc(50% + 92px); top:60px; width:clamp(150px, calc(50% - 96px), 230px); max-width:none; transform:none; border-radius:22px 22px 22px 6px}
@keyframes pop{0%{transform:scale(.6); opacity:0} 100%{transform:none; opacity:1}}
.bubble{transform-origin:0 100%}
.chip-float.a{top:120px; left:0} .chip-float.b{top:470px; right:0}
.click-hint{bottom:110px; left:0}
@media (max-width:920px){ .bubble{left:calc(50% + 100px)} }
@media (max-width:600px){
  .chip-float{display:none}
  .stage{height:640px}
  .bubble{left:50%; top:0; width:min(290px, 92%); transform:translateX(-50%); border-radius:22px; transform-origin:50% 100%}
  @keyframes pop{0%{transform:translateX(-50%) scale(.6); opacity:0} 100%{transform:translateX(-50%); opacity:1}}
  .click-hint{bottom:130px}
}
.logo .hl, .foot .logo .hl{background:none; padding:0}
.avatar img{width:100%; height:100%; object-fit:cover; display:block}
.hans-svg .wave-arm{transform-origin:202px 208px}
.hans-svg .eyes{transform-origin:150px 121px}
.hans-svg .mouth-smile{opacity:0}
.stage.both .mouth{opacity:0} .stage.both .mouth-smile{opacity:1}
.stage.surprised .mouth-smile{opacity:0}
.stage.surprised .lids{opacity:0}
.stage.surprised .eyes circle{transform:translateY(-2px)}
.cup{position:absolute; z-index:2; bottom:62px; left:calc(50% + 104px); width:52px; height:60px; overflow:visible}
.cup .steam path{animation:steam 2.6s ease-in-out infinite; opacity:.0}
.cup .steam path:nth-child(2){animation-delay:1.3s}
@keyframes steam{0%{opacity:0; transform:translateY(6px)} 40%{opacity:.8} 100%{opacity:0; transform:translateY(-10px)}}
[hidden]{display:none !important}
.toast:not(.show){visibility:hidden; transition:transform .45s var(--ease-spring), visibility 0s .45s}
.v-binders i:nth-of-type(1){height:96px; background:var(--mist); border:1px solid var(--blue); color:var(--ink)}
.v-binders i:nth-of-type(2){height:112px; background:var(--ink); color:var(--white); border:0}
.v-binders i:nth-of-type(3){height:88px; background:var(--peach); border:1px solid var(--peach-edge); color:var(--ink)}
.feat:hover .v-binders i:nth-of-type(1){transform:translateY(-8px)}
.feat:hover .v-binders i:nth-of-type(2){transform:translateY(-14px)}
.feat:hover .v-binders i:nth-of-type(3){transform:translateY(-5px)}
.hero h1{font-size:clamp(40px, 5.4vw, 72px)}
.gauge-read{margin-top:4px}

.nav-item.suppress .mega{opacity:0 !important; visibility:hidden !important; pointer-events:none !important}
.gauge-read{position:static; margin-top:-4px}
.filed-ph{position:absolute; inset:0; z-index:2; display:grid; place-content:center; justify-items:center; gap:8px; text-align:center; color:var(--white); animation:factIn .5s var(--ease-spring) both; padding:20px}
.filed-ph b{font:700 24px/1.2 var(--f-display)}
.filed-ph span{color:#AFC0D3}
.filed-icon{width:72px; height:72px; border-radius:22px; background:var(--mist); box-shadow:0 5px 0 var(--blue); display:grid; place-items:center; margin-bottom:8px}
.d-link{display:block; padding:16px 4px; font:700 20px/1 var(--f-display); text-decoration:none; border-bottom:1px solid var(--line)}
.d-acc{border-bottom:1px solid var(--line)}
.d-acc summary{list-style:none; display:flex; justify-content:space-between; align-items:center; padding:16px 4px; font:700 20px/1 var(--f-display); cursor:pointer}
.d-acc summary::-webkit-details-marker{display:none}
.d-acc summary svg{width:18px; height:18px; transition:transform .25s}
.d-acc[open] summary svg{transform:rotate(180deg)}
.d-acc[open] summary{color:var(--blue-deep)}
.d-col{background:var(--white); border-radius:18px; padding:14px 16px; margin-bottom:10px; box-shadow:0 3px 0 var(--beige)}
.d-col h4{font-size:13px; font-family:var(--f-body); letter-spacing:.1em; text-transform:uppercase; color:var(--slate); margin-bottom:6px}
.d-col a{display:block; padding:9px 0; text-decoration:none; font-size:16px}
.d-lang{display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:22px; padding:14px; border-radius:18px; background:var(--cream); box-shadow:0 3px 0 var(--beige)}
.d-lang > span{width:100%; font:700 14px/1 var(--f-display); color:var(--slate)}
.d-lang .lang-opt{flex:1; justify-content:center; background:var(--paper)}
.d-lang .lang-opt[aria-checked="true"]{background:var(--ink); color:var(--white)}


/* ===== Refined layer: calm, editorial SaaS. Hairlines instead of chunky edges, Inter display headlines, smooth (non-bouncy) motion. ===== */
:root{
  --paper:#F7F5F0; --paper-2:#EDE8DF; --cream:#FEFFEF;
  --line:rgba(14,26,40,.09); --line-2:rgba(14,26,40,.14);
  --ease-spring:cubic-bezier(.22,1,.36,1);
  --sh-1:0 1px 2px rgba(14,26,40,.06);
  --sh-2:0 1px 2px rgba(14,26,40,.05), 0 12px 32px -14px rgba(14,26,40,.22);
  --sh-3:0 2px 4px rgba(14,26,40,.05), 0 30px 60px -28px rgba(14,26,40,.35);
  --sh-card:var(--sh-2);
  --f-display:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body{background:var(--paper); font-feature-settings:"cv11","ss01","ss03"}
h1,h2,h3,h4{font-family:var(--f-display); font-weight:600; letter-spacing:-.025em}
.eyebrow{font:600 12px/1 var(--f-body); letter-spacing:.14em; color:var(--slate-2); gap:12px}
.eyebrow::before{width:22px; height:1px; border-radius:0; background:currentColor; box-shadow:none; opacity:.6}
.dark .eyebrow::before{box-shadow:none}

/* buttons */
.btn{font:600 15px/1 var(--f-body); letter-spacing:-.005em; border-radius:12px; padding:14px 20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(14,26,40,.2), 0 8px 20px -10px rgba(14,26,40,.55); transition:transform .2s var(--ease-spring), box-shadow .2s, background .2s}
.btn:hover{filter:none; transform:translateY(-1px); box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(14,26,40,.2), 0 14px 28px -12px rgba(14,26,40,.55)}
.btn:active{transform:translateY(0) scale(.985); box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(14,26,40,.2)}
.btn.cream{--face:var(--white); box-shadow:inset 0 0 0 1px var(--line-2), var(--sh-1)}
.btn.cream:hover{box-shadow:inset 0 0 0 1px var(--line-2), 0 10px 22px -14px rgba(14,26,40,.35)}
.btn.cream:active{box-shadow:inset 0 0 0 1px var(--line-2)}
.btn.mist{--face:var(--mist); box-shadow:inset 0 1px 0 rgba(255,255,255,.45), 0 1px 2px rgba(14,26,40,.15), 0 8px 20px -12px rgba(92,147,204,.8)}
.btn.ghost-dark{box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.btn.sm{padding:10px 14px; font-size:13.5px; border-radius:10px}

/* header */
.hdr{background:rgba(247,245,240,.82); border-bottom-color:var(--line)}
body::before{background:var(--paper)}
.hdr-in{height:72px}
.logo{font-size:28px}
.nav-btn{font-size:14.5px; color:var(--slate); padding:9px 13px; border-radius:10px}
.nav-item:hover .nav-btn, .nav-item.open .nav-btn, .nav-btn:focus-visible{background:rgba(14,26,40,.05); box-shadow:none; transform:none; color:var(--ink)}
.nav-btn .dot{width:6px; height:6px; background:var(--blue-deep)}
.mega{top:calc(72px + env(safe-area-inset-top,0px))}
.mega-card{border-radius:20px; grid-template-columns:240px 1fr; box-shadow:0 0 0 1px var(--line), var(--sh-3)}
.mega.white .mega-card, .mega.mist .mega-card{background:var(--white)}
.mega-topic{padding:26px; gap:10px}
.mega-topic .ico{width:44px; height:44px; border-radius:12px; box-shadow:none; background:rgba(165,205,241,.16)}
.mega-topic .ico svg{color:var(--mist); width:22px; height:22px}
.mega-topic h3{font-size:22px}
.mega-col h4{font:600 12px/1 var(--f-body); letter-spacing:.12em; text-transform:uppercase; color:var(--slate-2); border-bottom:0; padding-bottom:0; margin-bottom:14px; min-width:0}
.mega-col a{font-size:15px; color:var(--ink)}
.mega.white .mega-col a:hover, .mega.mist .mega-col a:hover{background:var(--paper); transform:none}
.lang-btn{background:transparent; border:1px solid var(--line-2); box-shadow:none; font:500 14px/1 var(--f-body); border-radius:10px; padding:9px 12px}
.lang-btn:hover{background:rgba(14,26,40,.04)}
.lang-btn:active{transform:none}
.lang-menu{border-radius:14px; box-shadow:0 0 0 1px var(--line), var(--sh-3); padding:6px}
.lang-opt{border-radius:9px; font-weight:500}
.burger{background:transparent; border:1px solid var(--line-2); box-shadow:none; border-radius:12px}

/* hero */
.hero{padding-block:72px 56px}
.hero::before{background:radial-gradient(700px 480px at 85% 30%, rgba(165,205,241,.28), transparent 70%)}
.hero h1{font-size:clamp(38px, 4.5vw, 62px); line-height:1.02; letter-spacing:-.04em; margin-top:22px}
.hero h1 .l2{color:var(--slate-2)}
.hero-lead{font-size:18px; line-height:1.6; color:var(--slate); max-width:31em}
.hero-cta{gap:12px; margin-top:34px}
.hero-meta{margin-top:30px; gap:10px 22px; font-size:13.5px}
.hero-meta svg{color:var(--slate-2)}
.stage{height:600px; border-radius:28px; background:linear-gradient(180deg, #EAF2FB 0%, #F4F7FB 55%, #FBFAF7 100%); box-shadow:inset 0 0 0 1px var(--line); overflow:visible}
.stage::before{content:""; position:absolute; inset:0; border-radius:28px; background-image:radial-gradient(rgba(14,26,40,.07) 1px, transparent 1px); background-size:22px 22px; mask-image:linear-gradient(180deg,#000,transparent 75%); -webkit-mask-image:linear-gradient(180deg,#000,transparent 75%); pointer-events:none}
.plinth{width:300px; height:40px; bottom:40px; background:radial-gradient(closest-side, rgba(14,26,40,.22), rgba(14,26,40,0)); box-shadow:none}
.hans-btn{margin-bottom:56px}
.bubble{font:600 16px/1.35 var(--f-body); letter-spacing:-.01em; border-radius:16px 16px 16px 4px; padding:14px 16px; box-shadow:0 0 0 1px var(--line), var(--sh-2); top:40px; left:calc(50% + 112px); width:clamp(150px, calc(50% - 124px), 220px)}
.bubble small{font-size:13px; margin-top:5px}
@keyframes pop{0%{transform:translateY(6px); opacity:0} 100%{transform:none; opacity:1}}
.chip-float{border-radius:14px; padding:12px 14px; box-shadow:0 0 0 1px var(--line), var(--sh-2); animation:float 7s ease-in-out infinite; display:block; min-width:200px; font:inherit}
@keyframes float{50%{transform:translateY(-6px)}}
.cf-row{display:flex; align-items:center; gap:12px}
.cf-row small{display:block; font:500 11.5px/1.2 var(--f-body); color:var(--slate-2); letter-spacing:0; text-transform:none; margin:0 0 3px}
.cf-row b{display:block; font:600 14px/1.2 var(--f-body); color:var(--ink)}
.cf-ico{width:32px; height:32px; border-radius:9px; display:grid; place-items:center; flex:none}
.cf-ico.warn{background:var(--peach-soft); color:#C2643A}
.cf-ico.ok{background:var(--mist-soft); color:var(--blue-deep)}
.cf-bar{height:5px; border-radius:9px; background:var(--paper-2); margin-top:12px; overflow:hidden}
.cf-bar i{display:block; height:100%; width:60%; background:var(--peach); border-radius:9px}
.chip-float{z-index:3}
.chip-float.a{left:-28px; top:150px}
.chip-float.b{right:-28px; top:470px}
.click-hint{transform:none; left:50%; bottom:18px; translate:-50% 0; font:500 13px/1 var(--f-body); color:var(--slate); background:rgba(255,255,255,.8); backdrop-filter:blur(6px); padding:8px 12px; border-radius:99px; box-shadow:0 0 0 1px var(--line); gap:8px; align-items:center; white-space:nowrap; transition:opacity .3s}
.pdot{width:7px; height:7px; border-radius:50%; background:var(--blue-deep); box-shadow:0 0 0 0 rgba(92,147,204,.5); animation:ring 2s infinite}
@keyframes ring{70%{box-shadow:0 0 0 8px rgba(92,147,204,0)} 100%{box-shadow:0 0 0 0 rgba(92,147,204,0)}}
.puff{background:rgba(255,255,255,.9); box-shadow:0 0 0 1px var(--line)}
.fly-paper{border-radius:3px; box-shadow:0 0 0 1px var(--line-2), 0 6px 12px -6px rgba(14,26,40,.3)}

/* sections */
.sec{padding-block:120px}
.sec-head{margin-bottom:52px}
.sec-head h2{font-size:clamp(32px, 4.2vw, 54px); letter-spacing:-.035em; line-height:1.04; margin-top:18px}
.sec-head h2 .soft{color:var(--slate-2)}
.sec-head p{font-size:16.5px; line-height:1.6}

/* dark demo */
.dark::before{background-image:linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px)}
.dark .sec-head h2 .soft{color:var(--mist)}
.dark .eyebrow{color:#9FB2C8}
.app-badge{border-radius:99px; background:transparent; box-shadow:inset 0 0 0 1px rgba(255,255,255,.14); font-weight:500; color:#C4CFDD}
.letter-tabs{display:inline-flex; gap:4px; padding:4px; border-radius:14px; background:rgba(255,255,255,.05); box-shadow:inset 0 0 0 1px rgba(255,255,255,.09); flex-wrap:wrap}
.ltab{background:transparent; box-shadow:none; border-radius:10px; padding:10px 16px}
.ltab b{font:600 14.5px/1.2 var(--f-body)}
.ltab span{font-size:12.5px; color:#8FA0B5}
.ltab:hover{transform:none; background:rgba(255,255,255,.05)}
.ltab:active{transform:none; box-shadow:none}
.ltab[aria-selected="true"]{background:var(--white); box-shadow:0 1px 2px rgba(0,0,0,.2)}
.scanner{border-radius:24px; background:#142133; box-shadow:inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 80px -40px #000}
.corner{border-width:2px; width:34px; height:34px; border-color:rgba(165,205,241,.8)}
.corner.tl{border-top-left-radius:10px} .corner.tr{border-top-right-radius:10px} .corner.bl{border-bottom-left-radius:10px} .corner.br{border-bottom-right-radius:10px}
.paper{box-shadow:0 30px 50px -24px rgba(0,0,0,.7); border-radius:3px}
.paper .stamp{border-radius:4px; border-width:1px; font-weight:600}
.paper .pp .num{transition:transform .35s var(--ease-spring)}
.scan-status{font-weight:500; box-shadow:inset 0 0 0 1px rgba(165,205,241,.22)}
.hans-card{border-radius:20px; padding:22px 24px 24px; box-shadow:var(--sh-3)}
.hans-card .who{font:600 11.5px/1 var(--f-body); letter-spacing:.12em; gap:10px}
.avatar{width:36px; height:36px; box-shadow:0 0 0 1px var(--line-2)}
.hans-card .say{font:500 19px/1.5 var(--f-body); letter-spacing:-.01em}
.ready-steps div{border-radius:12px; background:var(--paper); font-weight:500; font-size:12px}
.ready-steps b{font:600 15px/1.2 var(--f-body)}
.big-scan{border-radius:14px; padding:17px; font-size:16px}
.prog-row .tick{border-width:1.5px}
.facts{gap:10px}
.fact{border-radius:16px; box-shadow:inset 0 0 0 1px rgba(92,147,204,.25); background:#EDF4FC}
.fact.warn{box-shadow:inset 0 0 0 1px rgba(248,169,126,.45); background:#FEF1E8}
.fact .k{font-weight:500}
.fact .v{font:600 18px/1.25 var(--f-body); letter-spacing:-.01em}
.steps-card, .folder-card{border-radius:20px; background:rgba(255,255,255,.04); box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}
.steps-card h4, .folder-card h4{font:600 16px/1.3 var(--f-body)}
.check{font-size:14.5px}
.check .box{border-radius:6px; border-width:1.5px}
.shelf{border-bottom:2px solid rgba(255,255,255,.12); gap:12px}
.binder{border-radius:8px 8px 3px 3px; height:136px; box-shadow:inset -6px 0 0 rgba(0,0,0,.06); transition:transform .35s var(--ease-spring)}
.binder .lbl{font:600 14px/1 var(--f-body)}
.binder .ring{width:16px; height:16px; margin-left:-8px}
.binder .cnt{box-shadow:0 1px 2px rgba(0,0,0,.25); font-weight:600}
.binder.b-termine{background:#22344E; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.binder:hover{transform:translateY(-8px)}
.binder.suggest::after{border-radius:6px; font-weight:600; letter-spacing:.04em; animation:none; top:-34px}
@keyframes gulp{40%{transform:translateY(-10px)} 100%{transform:none}}
.filed-msg{border-radius:12px; font-weight:500}
.filed-icon{border-radius:16px; box-shadow:none; width:60px; height:60px}
.filed-ph b{font:600 20px/1.2 var(--f-body)}

/* features */
.feat{background:var(--white); border:0; border-radius:20px; box-shadow:0 0 0 1px var(--line), var(--sh-1); padding:20px 20px 24px; transition:transform .35s var(--ease-spring), box-shadow .35s}
.feat:hover{transform:translateY(-4px); box-shadow:0 0 0 1px var(--line), var(--sh-3)}
.feat .vis{background:var(--paper); border-radius:14px; height:168px; padding:16px; margin-bottom:22px}
.feat h3{font-size:18.5px; letter-spacing:-.02em}
.feat p{font-size:14.5px; line-height:1.55}
.v-klartext{border-radius:12px; box-shadow:var(--sh-2)}
.v-klartext b{font:600 16px/1.35 var(--f-body)}
.feat:hover .v-klartext{transform:translateY(-3px)}
.v-ring .ring b{font-weight:600}
.v-ring .pills span{border-radius:8px; font-weight:500; border-color:var(--line-2)}
.v-binders i{border-radius:4px}
.v-binders i span{font:600 10.5px/1 var(--f-body)}
.v-list{border-radius:12px; border-color:var(--line)}
.v-list i{border-radius:5px; background:var(--mist)}

/* decoder */
.flip{height:260px}
.face{border-radius:20px; padding:24px}
.face.front{background:var(--white); border:0; box-shadow:0 0 0 1px var(--line), var(--sh-1)}
.flip:hover:not(.on) .inner{transform:translateY(-3px)}
.flip:hover:not(.on) .face.front{box-shadow:0 0 0 1px var(--line), var(--sh-3)}
.face.back{box-shadow:var(--sh-3)}
.face .lab{color:var(--slate-2); font-weight:600}
.face .term{font:600 28px/1.1 var(--f-body); letter-spacing:-.03em}
.face .q{font-size:15px}
.face.back .ans{font:500 15.5px/1.55 var(--f-body)}
.face.back .ans b{color:var(--mist); font-weight:600}
.flip:focus-visible .inner{border-radius:20px}

/* calculator */
.calc-sec{background:var(--white)}
.srail{border-radius:10px; background:var(--white); box-shadow:inset 0 0 0 1px var(--line-2); font:500 13.5px/1 var(--f-body); padding:8px 12px 8px 8px}
.srail:active{transform:none; box-shadow:inset 0 0 0 1px var(--line-2)}
.srail .n{border-radius:7px; width:24px; height:24px; font-size:12px; font-weight:600; background:var(--paper)}
.srail[aria-current="step"]{box-shadow:none}
.calc-card{border-radius:24px; box-shadow:0 0 0 1px var(--line), var(--sh-2); padding:32px}
.mod-num{width:48px; height:48px; border-radius:12px; box-shadow:none; background:var(--mist-soft); color:var(--blue-deep); font:600 20px/1 var(--f-body)}
.mod-head h3{font-size:24px}
.mod-head .w{border-radius:6px; font-weight:600; letter-spacing:.06em}
.q-t{font-weight:500; font-size:15.5px}
.seg{gap:6px}
.seg button{border-radius:10px; background:var(--white); box-shadow:inset 0 0 0 1px var(--line-2); font:500 13px/1.25 var(--f-body); color:var(--slate); min-height:44px; transition:background .15s, color .15s, box-shadow .15s}
.seg button:hover{background:var(--paper); color:var(--ink)}
.seg button[aria-pressed="true"], .seg button[aria-pressed="true"].lvl-2, .seg button[aria-pressed="true"].lvl-3{background:var(--ink); color:var(--white); box-shadow:none}
.seg button[aria-pressed="true"].lvl-0{background:var(--mist-soft); color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--blue)}
.seg button:active{transform:none}
.stepper{border-radius:10px; background:var(--white); box-shadow:inset 0 0 0 1px var(--line-2)}
.stepper button{width:40px; height:40px; border-radius:9px; font:500 18px/1 var(--f-body)}
.stepper button:hover{background:var(--paper)}
.unit{border-radius:10px; box-shadow:inset 0 0 0 1px var(--line)}
.unit button{border-radius:7px; font-weight:500}
.unit button[aria-pressed="true"]{box-shadow:0 1px 2px rgba(14,26,40,.15)}
.toggle-row, .who-pick div{border-radius:14px}
.who-pick div{box-shadow:inset 0 0 0 1.5px var(--blue); background:var(--mist-soft)}
.who-pick div.off{box-shadow:inset 0 0 0 1px var(--line)}
.who-pick b{font:600 16px/1.2 var(--f-body)}
.tip{border-radius:14px; background:#FEF4EC; font-size:14.5px}
.meter{border-radius:24px; box-shadow:var(--sh-3)}
.meter h4{font-size:11.5px; letter-spacing:.14em}
.gauge-read b{font-weight:600; font-size:42px}
.pg-pill{border-radius:14px; box-shadow:none; background:rgba(255,255,255,.06); color:var(--white); box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.pg-pill b{font:600 18px/1.2 var(--f-body)}
.pg-pill small{color:#A9B7C9}
.pg-pill .big{width:48px; height:48px; border-radius:12px; box-shadow:none; font:600 26px/1 var(--f-body); color:var(--ink)}
.res-hero{border-radius:18px; box-shadow:inset 0 0 0 1px rgba(92,147,204,.25)}
.res-hero .big{border-radius:20px; box-shadow:none; font:600 56px/1 var(--f-body); width:96px; height:96px}
.res-hero h3{font-size:24px}
.ben{border-radius:14px; background:var(--paper); box-shadow:none}
.ben b{font-weight:600; font-size:22px}
.tbl-wrap{border-radius:20px; box-shadow:0 0 0 1px var(--line), var(--sh-1)}
.tbl caption{font:600 20px/1.2 var(--f-body); letter-spacing:-.02em}
.tbl thead th{font:600 12px/1 var(--f-body); letter-spacing:.08em; text-transform:uppercase; color:var(--slate-2)}

/* footer + toast */
.foot h5{font:600 13px/1 var(--f-body); letter-spacing:.06em; text-transform:uppercase; color:#8FA0B5}
.toast{border-radius:12px; box-shadow:0 20px 40px -12px rgba(0,0,0,.4); font-weight:500; font-size:14px}
.d-link, .d-acc summary{font:600 19px/1 var(--f-body); letter-spacing:-.015em}
.d-col{box-shadow:0 0 0 1px var(--line); border-radius:14px}
.d-lang{box-shadow:0 0 0 1px var(--line); background:var(--white); border-radius:14px}

@media (max-width:920px){ .chip-float.a{left:12px} .chip-float.b{right:12px} }
@media (max-width:600px){
  .stage{height:660px; transform:none; border-radius:22px}
  .hans-btn{margin-bottom:60px}
  .bubble{top:16px; border-radius:16px; left:0; right:0; margin:0 auto; width:min(290px, 90%); transform:none}
  .hero h1{font-size:40px}
  .chip-float{display:none}
}


/* nav: underline only, no fill; dropdown without side panel */
.nav-btn{position:relative; background:transparent !important; box-shadow:none !important; transform:none !important}
.nav-btn::after{content:""; position:absolute; left:13px; right:13px; bottom:3px; height:2px; border-radius:2px; background:var(--ink); transform:scaleX(0); transform-origin:center; transition:transform .25s var(--ease-spring)}
.nav-item:hover .nav-btn::after, .nav-item.open .nav-btn::after, .nav-btn:focus-visible::after{transform:scaleX(1)}
.nav-item:hover .nav-btn, .nav-item.open .nav-btn{color:var(--ink)}
.nav-btn .dot{display:none}
.mega-topic{display:none}
.mega-card{grid-template-columns:1fr}
.mega-cols{padding:28px 32px 30px}


.mega-col h4{display:inline-block; padding-bottom:10px; border-bottom:2px solid var(--ink); margin-bottom:16px; color:var(--ink)}


/* ===== Glass layer: frosted translucent surfaces over soft brand-colour light ===== */
:root{
  --glass-bg:linear-gradient(140deg, rgba(255,255,255,.74) 0%, rgba(255,255,255,.42) 100%);
  --glass-brd:rgba(255,255,255,.78);
  --glass-sh:inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(14,26,40,.05), 0 24px 50px -28px rgba(14,26,40,.32);
  --glass-blur:blur(22px) saturate(1.6);
  --glass-dark:linear-gradient(140deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 100%);
}
/* ambient light behind everything */
body{background:#F3F1EC}
body::after{content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(40vw 40vw at 8% 18%, rgba(165,205,241,.55), transparent 65%),
    radial-gradient(34vw 34vw at 96% 8%, rgba(129,179,230,.38), transparent 65%),
    radial-gradient(36vw 36vw at 88% 82%, rgba(248,169,126,.22), transparent 65%),
    radial-gradient(42vw 42vw at 18% 96%, rgba(212,199,180,.55), transparent 65%),
    radial-gradient(30vw 30vw at 52% 50%, rgba(254,255,239,.7), transparent 70%)}
.decoder-sec, .calc-sec, .hero::before{background:transparent !important}
.hero{overflow:hidden}
.blob{position:absolute; border-radius:50%; filter:blur(50px); pointer-events:none; z-index:0}
.hero .b1{width:420px; height:420px; right:4%; top:6%; background:radial-gradient(circle at 35% 35%, #A5CDF1, #81B3E6 70%); opacity:.7; animation:drift 16s ease-in-out infinite}
.hero .b2{width:300px; height:300px; right:30%; bottom:-6%; background:#F8A97E; opacity:.32; animation:drift 20s ease-in-out infinite reverse}
.hero .b3{width:360px; height:360px; left:-8%; top:20%; background:#D4C7B4; opacity:.5}
@keyframes drift{50%{transform:translate(-30px, 24px) scale(1.06)}}
.hero-grid{z-index:1}

.glass, .hdr, .mega-card, .lang-menu, .stage, .chip-float, .bubble, .feat, .face.front, .calc-card, .tbl-wrap, .srail, .btn.cream, .toast, .d-col, .d-lang{
  background:var(--glass-bg) !important; -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-brd); box-shadow:var(--glass-sh)}
.hdr{background:linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.4)) !important; border:0; border-bottom:1px solid rgba(255,255,255,.7); box-shadow:0 10px 30px -24px rgba(14,26,40,.35)}
body::before{background:rgba(255,255,255,.6)}
.mega-card{background:linear-gradient(140deg, rgba(255,255,255,.86), rgba(255,255,255,.66)) !important; box-shadow:inset 0 1px 0 #fff, 0 0 0 1px rgba(14,26,40,.05), 0 40px 70px -30px rgba(14,26,40,.35)}
.lang-menu{background:rgba(255,255,255,.82) !important}
.lang-btn, .burger{background:rgba(255,255,255,.4); border-color:rgba(255,255,255,.8); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px)}
.mega-col a:hover{background:rgba(255,255,255,.7) !important}

/* hero stage = big glass pane + tilted glass tile */
.stage{border-radius:32px; overflow:visible}
.stage::before{opacity:.6}
.g-tile{position:absolute; z-index:0; right:-34px; top:-30px; width:150px; height:150px; border-radius:30px; transform:rotate(12deg); display:grid; place-items:center;
  background:linear-gradient(145deg, rgba(165,205,241,.95), rgba(92,147,204,.75)); border:1px solid rgba(255,255,255,.7);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), inset 0 -20px 40px rgba(14,26,40,.12), 0 30px 50px -20px rgba(92,147,204,.6); animation:tile 9s ease-in-out infinite}
.g-tile::after{content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(160deg, rgba(255,255,255,.55), transparent 45%)}
@keyframes tile{50%{transform:rotate(9deg) translateY(-8px)}}
.chip-float{border-radius:16px}
.cf-ico{box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 4px 10px -4px rgba(14,26,40,.2)}
.cf-ico.warn{background:linear-gradient(145deg, #FFE3D1, #F8C4A5)}
.cf-ico.ok{background:linear-gradient(145deg, #E6F1FC, #BFDAF5)}
.cf-bar{background:rgba(14,26,40,.08)}
.click-hint{background:rgba(255,255,255,.55); border:1px solid rgba(255,255,255,.8)}

/* buttons */
.btn{background:linear-gradient(180deg, #1F2E44 0%, #0E1A28 100%); box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(14,26,40,.25), 0 12px 26px -12px rgba(14,26,40,.6)}
.btn.mist{background:linear-gradient(180deg, #BDDBF6 0%, #93BFEA 100%); color:var(--ink); box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(14,26,40,.15), 0 12px 26px -12px rgba(92,147,204,.9)}
.btn.cream{color:var(--ink)}
.btn.ghost-dark{background:rgba(255,255,255,.07); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); box-shadow:inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.12)}

/* section text sits above ambient */
.sec > .wrap, .foot > .wrap{position:relative; z-index:1}

/* features: glass cards with glass icon wells */
.feat{border-radius:24px}
.feat .vis{background:linear-gradient(150deg, rgba(255,255,255,.65), rgba(226,238,250,.45)); border:1px solid rgba(255,255,255,.8); box-shadow:inset 0 1px 0 #fff; border-radius:18px}
.v-list{background:rgba(255,255,255,.7); border-color:rgba(255,255,255,.9)}
.v-ring .pills span{background:rgba(255,255,255,.75); border-color:rgba(255,255,255,.9)}

/* decoder */
.face.front{-webkit-backdrop-filter:none; backdrop-filter:none; background:linear-gradient(150deg, rgba(255,255,255,.82), rgba(255,255,255,.5)) !important; border-radius:22px}
.face.back{background:linear-gradient(150deg, #1D2D44, #0E1A28); border:1px solid rgba(165,205,241,.18); border-radius:22px}

/* calculator */
.calc-card{border-radius:28px}
.seg button, .stepper, .unit{background:rgba(255,255,255,.55); box-shadow:inset 0 0 0 1px rgba(14,26,40,.08), inset 0 1px 0 #fff}
.seg button:hover{background:rgba(255,255,255,.9)}
.seg button[aria-pressed="true"], .seg button[aria-pressed="true"].lvl-2, .seg button[aria-pressed="true"].lvl-3{background:linear-gradient(180deg, #1F2E44, #0E1A28)}
.seg button[aria-pressed="true"].lvl-0{background:linear-gradient(180deg, #EAF3FD, #D3E6F8)}
.unit button[aria-pressed="true"]{background:#fff}
.who-pick div{background:linear-gradient(150deg, rgba(226,238,250,.9), rgba(226,238,250,.5))}
.who-pick div.off, .toggle-row, .ben{background:rgba(255,255,255,.5); box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
.tip{background:linear-gradient(150deg, rgba(253,227,210,.75), rgba(253,227,210,.4)); border:1px solid rgba(255,255,255,.7)}
.res-hero{background:linear-gradient(150deg, rgba(226,238,250,.95), rgba(226,238,250,.5))}
.mod-num{background:linear-gradient(145deg, #EAF3FD, #CFE3F7); box-shadow:inset 0 1px 0 #fff}
.srail[aria-current="step"]{background:linear-gradient(180deg, #1F2E44, #0E1A28) !important; border-color:transparent}
.srail .n{background:rgba(255,255,255,.7)}
.meter{background:linear-gradient(150deg, rgba(31,46,68,.9), rgba(14,26,40,.92)); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); border:1px solid rgba(165,205,241,.18)}
.tbl tbody tr:hover{background:rgba(255,255,255,.5)}

/* dark demo: glowing blue light under dark glass */
.dark{overflow:hidden; isolation:isolate}
.dark .blob{filter:blur(80px)}
.dark .d1{width:560px; height:560px; left:-10%; top:30%; background:#5C93CC; opacity:.35}
.dark .d2{width:520px; height:520px; right:-8%; top:5%; background:#A5CDF1; opacity:.22}
.ltab[aria-selected="true"]{background:rgba(255,255,255,.92)}
.letter-tabs, .app-badge{-webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px)}
.scanner{background:var(--glass-dark); -webkit-backdrop-filter:blur(24px); backdrop-filter:blur(24px); border:1px solid rgba(255,255,255,.1); box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 40px 80px -40px #000}
.steps-card, .folder-card{background:var(--glass-dark); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); border:1px solid rgba(255,255,255,.1); box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.hans-card{background:linear-gradient(150deg, #FFFFFF, rgba(255,255,255,.96)); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px)}
.fact{background:linear-gradient(150deg, #EEF5FD, #DCEAF8); box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.fact.warn{background:linear-gradient(150deg, #FFF3EC, #FDE2D0)}
.toast{background:rgba(14,26,40,.82) !important; color:#fff; border-color:rgba(255,255,255,.12); box-shadow:0 20px 40px -14px rgba(0,0,0,.45)}

/* footer */
.foot{position:relative; background:linear-gradient(180deg, #13223A, #0E1A28)}

@media (max-width:600px){ .g-tile{display:none} .hero .b1{width:280px; height:280px} }
@media (prefers-reduced-motion: reduce){ .blob, .g-tile{animation:none} }


/* header: no bar at all — logo and links sit directly on the page and scroll away with it */
.hdr{position:relative; top:auto; margin-top:0; z-index:50; background:transparent !important; border:0 !important; box-shadow:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important}
.hdr-in{position:relative; height:84px; background:none !important; border:0 !important; box-shadow:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important}
body::before{background:transparent}
.nav-item{position:static}
.mega{position:absolute; top:calc(100% - 8px); left:0; right:0}
.mega-card{width:100%; max-width:none; margin-top:6px; background:linear-gradient(140deg, rgba(255,255,255,.97), rgba(255,255,255,.93)) !important}
.lang-menu{background:rgba(255,255,255,.97) !important}
@media (max-width:1080px){ .drawer{position:absolute; inset:84px 0 auto 0; min-height:calc(100vh - 84px); transform:translateY(-8px); opacity:0; visibility:hidden; transition:opacity .25s, transform .3s var(--ease-spring), visibility 0s .3s} .drawer.open{transform:none; opacity:1; visibility:visible; transition:opacity .25s, transform .3s var(--ease-spring)} }


/* smiley answer scale */
.seg.faces{grid-template-columns:repeat(4, 56px); gap:10px}
.seg .face-btn{min-height:0; height:56px; padding:0; border-radius:16px; display:grid; place-items:center}
.seg .face-btn .smiley{width:36px; height:36px; opacity:.45; filter:saturate(.4); transition:transform .25s var(--ease-spring), opacity .2s, filter .2s}
.seg .face-btn:hover .smiley{opacity:.9; filter:none; transform:scale(1.06)}
.seg .face-btn[aria-pressed="true"], .seg .face-btn[aria-pressed="true"].lvl-0, .seg .face-btn[aria-pressed="true"].lvl-2, .seg .face-btn[aria-pressed="true"].lvl-3{background:var(--white) !important; color:var(--ink); box-shadow:inset 0 0 0 2px var(--ink), 0 8px 18px -10px rgba(14,26,40,.4)}
.seg .face-btn[aria-pressed="true"] .smiley{opacity:1; filter:none; transform:scale(1.14)}
.face-legend{display:flex; flex-wrap:wrap; gap:8px 18px; margin:16px 0 4px; padding:12px 14px; border-radius:14px; background:rgba(255,255,255,.55); box-shadow:inset 0 0 0 1px rgba(14,26,40,.06)}
.face-legend span{display:inline-flex; align-items:center; gap:8px; font:500 13px/1.2 var(--f-body); color:var(--slate)}
.face-legend .smiley{width:24px; height:24px; flex:none}
.face-legend em{font-style:normal}
@media (max-width:600px){ .seg.faces{grid-template-columns:repeat(4, minmax(0,1fr))} .face-legend{display:grid; grid-template-columns:1fr 1fr} }


.na-wrap{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:2px 0 4px}
.na-chip{display:inline-flex; align-items:center; gap:9px; border:0; padding:8px 13px 8px 10px; border-radius:11px;
  background:rgba(255,255,255,.55); box-shadow:inset 0 0 0 1px rgba(14,26,40,.1); font:500 13.5px/1.2 var(--f-body); color:var(--slate); transition:background .18s, box-shadow .18s, color .18s}
.na-chip:hover{background:rgba(255,255,255,.9); color:var(--ink)}
.na-box{width:19px; height:19px; border-radius:6px; flex:none; display:grid; place-items:center; background:rgba(255,255,255,.8); box-shadow:inset 0 0 0 1.5px rgba(14,26,40,.2); color:var(--ink)}
.na-chip[aria-pressed="true"]{background:linear-gradient(150deg, #EAF3FD, #D3E6F8); color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--blue)}
.na-chip[aria-pressed="true"] .na-box{background:var(--blue); box-shadow:none}
.na-note{font:500 12.5px/1.3 var(--f-body); color:var(--slate-2)}
.seg.muted{opacity:.4; filter:grayscale(.5)}
.seg.muted .face-btn[aria-pressed="true"]{box-shadow:inset 0 0 0 1px rgba(14,26,40,.08), inset 0 1px 0 #fff}
.q.has-na .seg{margin-top:2px}


/* ===== Feature cards: entrance + ambient loops ===== */
#features-grid.in .feat{animation:featIn .8s var(--ease-spring) both; animation-delay:calc(var(--d) * 120ms)}
@keyframes featIn{from{transform:translateY(28px); opacity:0}}
.feat .vis{position:relative; overflow:hidden}

/* 1 · Amtsdeutsch → Klartext */
.v-klar{width:100%; display:grid; gap:8px}
.kl-amt{position:relative; padding:9px 11px; border-radius:10px; background:rgba(255,255,255,.75); box-shadow:inset 0 0 0 1px rgba(14,26,40,.07)}
.kl-amt small{display:block; font:600 9.5px/1 var(--f-body); letter-spacing:.1em; text-transform:uppercase; color:var(--slate-2); margin-bottom:4px}
.kl-amt span{display:block; font:500 11px/1.35 var(--f-body); color:var(--slate)}
.kl-mark{position:absolute; left:8px; top:24px; height:30px; width:0; border-radius:3px; background:rgba(248,169,126,.35); mix-blend-mode:multiply}
.v-klar .v-klartext{padding:11px 13px}
.v-klar .v-klartext b{font-size:14px}
#features-grid.in .kl-mark{animation:klMark 6s ease-in-out infinite}
#features-grid.in .kl-amt span{animation:klAmt 6s ease-in-out infinite}
#features-grid.in .v-klar .v-klartext{animation:klPlain 6s var(--ease-spring) infinite}
@keyframes klMark{0%,8%{width:0} 30%,62%{width:calc(100% - 16px)} 72%,100%{width:calc(100% - 16px); opacity:0}}
@keyframes klAmt{0%,32%{opacity:1} 42%,88%{opacity:.35; text-decoration:line-through; text-decoration-color:rgba(14,26,40,.4)} 100%{opacity:1}}
@keyframes klPlain{0%,34%{transform:translateY(14px) scale(.96); opacity:0} 46%,90%{transform:none; opacity:1} 100%{transform:translateY(-6px); opacity:0}}

/* 2 · deadline pills */
.v-ring .pl{display:flex; align-items:center; gap:7px}
.v-ring .pl i{width:14px; height:14px; border-radius:50%; flex:none; box-shadow:inset 0 0 0 1.5px rgba(14,26,40,.25); position:relative}
.v-ring .pl em{font-style:normal}
#features-grid.in .pl i{animation:plTick 7s ease infinite}
#features-grid.in .pl2 i{animation-delay:.6s}
#features-grid.in .pl1{animation:plGlow 7s ease infinite}
@keyframes plTick{0%,22%{background:transparent; box-shadow:inset 0 0 0 1.5px rgba(14,26,40,.25)} 30%,92%{background:var(--peach); box-shadow:inset 0 0 0 1.5px var(--peach), 0 0 0 4px rgba(248,169,126,.25)} 100%{background:transparent}}
@keyframes plGlow{0%,22%{transform:none} 28%{transform:translateX(3px)} 34%,100%{transform:none}}

/* 3 · a letter drops into a binder */
.v-binders .note{left:50%; top:-4px; margin-left:-20px; transform:none; width:40px; height:30px; border-radius:2px; z-index:2;
  background:linear-gradient(#fff,#fff) padding-box; box-shadow:0 0 0 1px rgba(14,26,40,.1), 0 6px 12px -4px rgba(14,26,40,.25)}
.v-binders .note::before{content:""; position:absolute; left:6px; right:10px; top:8px; height:3px; border-radius:2px; background:var(--mist); box-shadow:0 7px 0 #E7DED0, 0 14px 0 #E7DED0}
#features-grid.in .v-binders .note{animation:noteDrop 4.8s cubic-bezier(.5,0,.6,1) infinite}
#features-grid.in .v-binders i:nth-of-type(1){animation:binderBump 4.8s ease infinite; animation-delay:0s}
#features-grid.in .v-binders i:nth-of-type(2){animation:binderBump 4.8s ease infinite; animation-delay:1.6s}
#features-grid.in .v-binders i:nth-of-type(3){animation:binderBump 4.8s ease infinite; animation-delay:3.2s}
@keyframes noteDrop{
  0%{transform:translate(-62px,-40px) rotate(-12deg); opacity:0} 6%{opacity:1} 20%{transform:translate(-62px,30px) rotate(0); opacity:1} 26%{transform:translate(-62px,46px) scale(.6); opacity:0}
  33.3%{transform:translate(0,-40px) rotate(10deg); opacity:0} 39%{opacity:1} 53%{transform:translate(0,22px) rotate(0); opacity:1} 59%{transform:translate(0,38px) scale(.6); opacity:0}
  66.6%{transform:translate(62px,-40px) rotate(-8deg); opacity:0} 72%{opacity:1} 86%{transform:translate(62px,34px) rotate(0); opacity:1} 92%,100%{transform:translate(62px,50px) scale(.6); opacity:0}}
@keyframes binderBump{0%,20%{transform:none} 25%{transform:translateY(5px) scaleY(.96)} 32%{transform:translateY(-6px)} 38%,100%{transform:none}}

/* 4 · checklist ticks in sequence */
.v-list span{width:var(--w); max-width:none; flex:none; position:relative; overflow:hidden}
.v-list span::after{content:""; position:absolute; inset:0; border-radius:inherit; background:var(--mist); transform:scaleX(0); transform-origin:left}
#features-grid.in .v-list i{animation:tick 5.4s var(--ease-spring) infinite; animation-delay:calc(var(--k) * .55s)}
#features-grid.in .v-list span::after{animation:lineFill 5.4s ease infinite; animation-delay:calc(var(--k) * .55s)}
@keyframes tick{0%,8%{transform:scale(.4); opacity:.25} 16%,86%{transform:scale(1); opacity:1} 96%,100%{transform:scale(.4); opacity:.25}}
@keyframes lineFill{0%,10%{transform:scaleX(0)} 22%,86%{transform:scaleX(1)} 96%,100%{transform:scaleX(0)}}

/* ===== Glassier buttons ===== */
.btn{position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(180deg, rgba(38,56,82,.82) 0%, rgba(14,26,40,.86) 100%) !important;
  -webkit-backdrop-filter:blur(16px) saturate(1.6); backdrop-filter:blur(16px) saturate(1.6);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.25), 0 1px 2px rgba(14,26,40,.2), 0 14px 30px -14px rgba(14,26,40,.6) !important}
.btn::before{content:""; position:absolute; inset:0 0 50% 0; z-index:-1; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0))}
.btn::after{content:""; position:absolute; top:0; bottom:0; left:-60%; width:45%; z-index:-1; pointer-events:none;
  background:linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent); transform:skewX(-18deg); transition:left .7s var(--ease-spring)}
.btn:hover::after{left:120%}
.btn.cream{background:linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.32)) !important; color:var(--ink);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:inset 0 1px 0 #fff, inset 0 -1px 0 rgba(14,26,40,.06), 0 0 0 1px rgba(14,26,40,.05), 0 12px 26px -14px rgba(14,26,40,.35) !important}
.btn.cream::before{background:linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0))}
.btn.cream::after{background:linear-gradient(105deg, transparent, rgba(255,255,255,.9), transparent)}
.btn.mist{background:linear-gradient(180deg, rgba(197,224,248,.75), rgba(129,179,230,.6)) !important; color:var(--ink); border:1px solid rgba(255,255,255,.75);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85), 0 12px 26px -14px rgba(92,147,204,.9) !important}
.btn.ghost-dark{background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)) !important; border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 12px 26px -16px rgba(0,0,0,.6) !important}
.btn > *{position:relative}


.feat .vis{height:190px}
.kl-amt{padding:8px 10px}
.kl-amt span{font-size:10.5px}
.kl-mark{top:22px; height:28px}
.v-klar .v-klartext{padding:10px 12px}
.v-klar .v-klartext b{font-size:13px; margin-top:4px}
.v-ring{gap:10px}
.v-ring .ring, .v-ring svg{width:92px; height:92px}
.v-ring .ring b{font-size:26px}
.v-ring .pills{gap:6px}
.v-ring .pills span{padding:7px 8px; font-size:11px; line-height:1.25}
.v-ring .pl i{width:12px; height:12px}
.btn.mist{background:linear-gradient(180deg, rgba(214,233,251,.95), rgba(150,195,240,.85)) !important}


/* even glassier buttons */
.btn{
  background:linear-gradient(180deg, rgba(46,66,96,.52) 0%, rgba(14,26,40,.60) 100%) !important;
  -webkit-backdrop-filter:blur(26px) saturate(1.9); backdrop-filter:blur(26px) saturate(1.9);
  border:1px solid rgba(255,255,255,.3) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 6px rgba(0,0,0,.2), 0 1px 2px rgba(14,26,40,.18), 0 16px 34px -16px rgba(14,26,40,.5) !important}
.btn::before{inset:0 0 42% 0; background:linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0))}
.btn.cream{background:linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.2)) !important;
  border:1px solid rgba(255,255,255,.95) !important;
  box-shadow:inset 0 1px 0 #fff, inset 0 -2px 6px rgba(14,26,40,.05), 0 0 0 1px rgba(14,26,40,.04), 0 14px 30px -16px rgba(14,26,40,.3) !important}
.btn.mist{background:linear-gradient(180deg, rgba(205,228,250,.62), rgba(129,179,230,.5)) !important;
  border:1px solid rgba(255,255,255,.85) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 6px rgba(92,147,204,.25), 0 14px 30px -16px rgba(92,147,204,.7) !important}
.btn.ghost-dark{background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05)) !important}


/* ===== Future layer: cool, quiet, precise. Thin glass, hairlines, mono labels, one accent colour. ===== */
:root{
  --paper:#F4F6F9; --paper-2:#E9EDF3;
  --line:rgba(16,28,46,.08); --line-2:rgba(16,28,46,.13);
  --accent:#4F86C6; --accent-2:#8FB9E8; --glow:rgba(120,170,230,.45);
  --peach:#E9A27C; --peach-soft:#F6ECE6;
  --f-display:"Geist", "Inter", system-ui, sans-serif;
  --f-body:"Geist", "Inter", system-ui, sans-serif;
  --f-mono:"Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --glass-bg:linear-gradient(165deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.46) 100%);
  --glass-brd:rgba(255,255,255,.85);
  --glass-sh:inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(16,28,46,.055), 0 1px 2px rgba(16,28,46,.04), 0 28px 60px -40px rgba(30,60,100,.35);
  --glass-blur:blur(24px) saturate(1.35);
  --ease-spring:cubic-bezier(.2,.8,.2,1);
}
html{background:var(--paper)}
body{background:var(--paper); font-family:var(--f-body); letter-spacing:-.006em; font-feature-settings:"ss01","cv11"}
/* ambient: cool aurora + engineering grid */
body::after{background:
  radial-gradient(60vw 55vw at 0% 0%, rgba(165,205,241,.75), transparent 62%),
  radial-gradient(50vw 50vw at 100% 8%, rgba(129,179,230,.55), transparent 62%),
  radial-gradient(55vw 50vw at 100% 100%, rgba(248,169,126,.38), transparent 62%),
  radial-gradient(60vw 55vw at 0% 100%, rgba(212,199,180,.7), transparent 62%),
  radial-gradient(45vw 40vw at 50% 50%, rgba(254,255,239,.9), transparent 70%),
  linear-gradient(160deg, #E6F0FA 0%, #F6F4EC 45%, #F6EADF 75%, #E9F1FA 100%) !important}
html, body{background:transparent !important}
html{background-color:#F1EFE9 !important}
.hero .b1{background:radial-gradient(circle at 35% 35%, #A5CDF1, #81B3E6 70%); opacity:.6}
.hero .b2{background:#F8A97E; opacity:.28}
.hero .b3{background:#D4C7B4; opacity:.5}

/* type */
h1,h2,h3,h4{font-family:var(--f-display); font-weight:500; letter-spacing:-.04em}
.hero h1, .p-hero h1{font-weight:450; letter-spacing:-.05em; line-height:1}
.hero h1 .l2, .p-hero h1 .l2, .sec-head h2 .soft{background:linear-gradient(100deg, #5A6B82 10%, var(--accent) 90%); -webkit-background-clip:text; background-clip:text; color:transparent}
.dark .sec-head h2 .soft{background:linear-gradient(100deg, #CFE2F7, #8FB9E8); -webkit-background-clip:text; background-clip:text; color:transparent}
.sec-head h2{font-weight:500; letter-spacing:-.045em}
.eyebrow{font:500 11px/1 var(--f-mono); letter-spacing:.14em; color:#5E6E84; gap:10px}
.eyebrow::before{width:6px; height:6px; border-radius:50%; opacity:1; background:var(--accent); box-shadow:0 0 0 3px rgba(79,134,198,.15), 0 0 12px var(--glow)}
.dark .eyebrow{color:#9FB4CC} .dark .eyebrow::before{background:var(--accent-2)}
.hero-lead, .p-hero .lead, .sec-head p{color:#4A5A70; font-weight:400}


/* nav */
.nav-btn{font:450 14px/1 var(--f-body); color:#4A5A70}
.nav-btn::after{height:1.5px; background:var(--accent)}
.lang-btn, .burger{border-radius:999px; border:1px solid var(--line-2); background:rgba(255,255,255,.5)}
.mega-card{border-radius:18px}
.mega-col h4{font:500 11px/1 var(--f-mono); letter-spacing:.12em; border-bottom:1px solid var(--line-2); color:#5E6E84}

/* glass surfaces: thinner, cooler, consistent radius */
.glass, .stage-x, .chip-float, .bubble, .feat, .face.front, .calc-card, .tbl-wrap, .srail, .toast, .d-col, .d-lang, .hans-card{border-radius:18px}
.calc-card, .tbl-wrap{border-radius:20px}

/* buttons: pill, flat, precise */
.btn, .btn.cream, .btn.mist, .btn.ghost-dark{border-radius:999px !important; font:500 14.5px/1 var(--f-body) !important; letter-spacing:-.01em; padding:14px 22px; color:var(--ink) !important;
  -webkit-backdrop-filter:blur(18px) saturate(1.5) !important; backdrop-filter:blur(18px) saturate(1.5) !important; transition:box-shadow .25s, transform .25s var(--ease-spring), background .25s}
.btn::before, .btn::after{display:none !important}
/* milk glass */
.btn{background:linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.34)) !important; border:1px solid rgba(255,255,255,.9) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(16,28,46,.07), 0 10px 28px -14px rgba(30,60,100,.45) !important; font-weight:600 !important}
.btn:hover{transform:translateY(-1px); background:linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.48)) !important;
  box-shadow:inset 0 1px 0 #fff, 0 0 0 1px rgba(16,28,46,.08), 0 0 0 5px rgba(165,205,241,.3), 0 14px 32px -14px rgba(30,60,100,.5) !important}
.btn svg{color:var(--ink)}
.btn.cream{background:rgba(255,255,255,.28) !important; font-weight:500 !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.85), 0 0 0 1px rgba(16,28,46,.06) !important}
.btn.mist{background:linear-gradient(180deg, rgba(214,233,251,.7), rgba(165,205,241,.42)) !important; border:1px solid rgba(255,255,255,.85) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(92,147,204,.18), 0 10px 26px -14px rgba(92,147,204,.7) !important}
.btn.ghost-dark, .dark .demo-actions .btn, .meter .btn{background:linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)) !important; color:#EEF3F9 !important; border:1px solid rgba(255,255,255,.2) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22) !important}
.dark .demo-actions .btn svg, .meter .btn svg{color:#EEF3F9}
.btn.sm{padding:9px 14px; font-size:13px !important}
.big-scan{border-radius:999px !important}

/* hero paper pile: monochrome */
.sheet.v-mist{background:linear-gradient(160deg, #FAFCFF, #E7F0FA)}
.sheet.v-blue{background:linear-gradient(160deg, #F2F7FD, #D5E5F7)}
.sheet.v-peach, .sheet.v-cream, .sheet.v-beige{background:linear-gradient(160deg, #FFFFFF, #EEF2F7)}
.sheet.v-ink{background:linear-gradient(160deg, #233247, #121C2B)}
.sheet.v-peach .sh-big{color:var(--ink)}
.sheet{box-shadow:0 0 0 1px rgba(16,28,46,.06), 0 2px 3px rgba(16,28,46,.06), 0 10px 22px -12px rgba(16,28,46,.3)}
.sh-tag, .sh-tag.peach{font-family:var(--f-mono); font-weight:500; background:#EAF2FB; color:#3F6E9F}
.sh-tag.ink{background:#0B1320; color:#fff}
.sh-title, .sh-big{font-family:var(--f-display); font-weight:600}
.replay{font:500 12px/1 var(--f-mono); letter-spacing:.04em}

/* chips & small labels in mono */
.mod-head .w, .srail .n, .q-t .id, .tbl thead th, .face .lab, .mbar, .gauge-read span, .meter h4, .app-badge, .tl-n, .p-fact small, .bnote small, .pgroup h4, .crumbs, .cite, .srcs .k, .ben small{font-family:var(--f-mono) !important; letter-spacing:.02em}
.meter h4, .tbl thead th, .face .lab, .bnote small, .pgroup h4{letter-spacing:.12em}
.gauge-read b, .pg-pill .big, .res-hero .big, .ben b, .tbl td, .p-fact b, .mod-top .wt{font-family:var(--f-display); font-variant-numeric:tabular-nums; letter-spacing:-.03em}

/* features: no colourful props */
.feat .vis{background:linear-gradient(160deg, rgba(234,242,251,.7), rgba(244,246,249,.4)); border:1px solid var(--line)}
.v-binders i:nth-of-type(1){background:#DCEAF9; border:1px solid rgba(79,134,198,.3)}
.v-binders i:nth-of-type(2){background:#121C2B}
.v-binders i:nth-of-type(3){background:#FFFFFF; border:1px solid var(--line-2)}
.binder.b-antraege{background:#E7EEF7; color:var(--ink)}
.binder.b-bescheide{background:#BFD8F2}
.v-list i{background:var(--accent-2)}
.fact.warn{background:#F3F6FA; box-shadow:inset 0 0 0 1px rgba(16,28,46,.12)}
.fact.warn .k i{background:var(--ink); color:#fff}
.paper .stamp{color:#3F6E9F; border-color:#8FB9E8; font-family:var(--f-mono)}
.paper .pp.lit.warn{background:#EEF2F7; border-left-color:var(--ink)}

/* calculator */
.srail{border-radius:999px; padding:7px 13px 7px 7px}
.srail .n{border-radius:999px}
.srail[aria-current="step"]{background:#0B1320 !important; border-color:#0B1320}
.mod-num{border-radius:12px; background:linear-gradient(145deg, #F1F7FE, #DCEAF9); color:#3F6E9F; font:500 18px/1 var(--f-mono); box-shadow:inset 0 0 0 1px rgba(79,134,198,.25)}
.seg button{border-radius:999px}
.seg .face-btn{border-radius:14px}
.who-pick div{box-shadow:inset 0 0 0 1px rgba(79,134,198,.45); background:rgba(234,242,251,.7)}
.tip{background:rgba(234,242,251,.55); border:1px solid rgba(79,134,198,.18); border-radius:14px}
.meter{background:linear-gradient(170deg, #17243A 0%, #0B1320 100%); border:1px solid rgba(255,255,255,.06); border-radius:20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -30px rgba(11,19,32,.6), 0 0 80px -40px var(--glow)}
.mbar .t i{background:linear-gradient(90deg, #6E9FD4, #CFE4F9)}
.pg-pill .big{background:linear-gradient(145deg, #E7F1FC, #9CC4EE); border-radius:12px}
.res-hero{background:linear-gradient(160deg, rgba(234,242,251,.9), rgba(255,255,255,.6)); box-shadow:inset 0 0 0 1px rgba(79,134,198,.2)}
.res-hero .big{background:linear-gradient(170deg, #1A2738, #0B1320); border-radius:18px}
.ben{background:rgba(255,255,255,.6); border:1px solid var(--line)}
.tbl tr.hi td, .tbl tbody tr:hover{background:rgba(234,242,251,.6)}
.toggle-row{background:rgba(255,255,255,.5); border:1px solid var(--line)}
.toggle-row input:checked + .sw{background:var(--accent)}

/* dark band */
.dark{background:radial-gradient(80% 60% at 70% 0%, #17283F 0%, #0B1320 60%)}
.scanner{background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07)}
.corner{border-color:rgba(143,185,232,.9)}
.scanner.done .corner{border-color:#CFE4F9}

/* footer */
.foot{background:#0B1320}
.toast{border-radius:999px}
.toast i{background:var(--accent-2); box-shadow:0 0 10px var(--glow)}
.v-ring .ring b{font-family:var(--f-display); font-weight:500}
.pl i{border-color:var(--accent) !important}


/* ===== Rechner subpage ===== */
.glass{background:var(--glass-bg); -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur); border:1px solid var(--glass-brd); box-shadow:var(--glass-sh)}
.nav-btn.cur::after{transform:scaleX(1)}
.nav-btn.cur{color:var(--ink)}
.crumbs{display:flex; flex-wrap:wrap; gap:8px; align-items:center; font:500 13.5px/1 var(--f-body); color:var(--slate-2)}
.crumbs a{text-decoration:none; color:var(--slate)} .crumbs a:hover{text-decoration:underline}
.crumbs span[aria-hidden]{opacity:.5}
.p-hero{padding-block:40px 30px; position:relative}
.p-hero h1{font-size:clamp(36px, 4.6vw, 60px); line-height:1.04; letter-spacing:-.04em; margin-top:22px; max-width:15em}
.p-hero h1 .l2{color:var(--slate-2)}
.p-hero .lead{font-size:18px; line-height:1.6; color:var(--slate); max-width:40em; margin-top:20px}
.p-hero .hero-cta{margin-top:28px}
.p-facts{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; margin-top:40px}
.p-fact{border-radius:18px; padding:16px 18px}
.p-fact small{display:block; font:500 12.5px/1.3 var(--f-body); color:var(--slate-2)}
.p-fact b{display:block; font:600 22px/1.15 var(--f-body); letter-spacing:-.02em; margin-top:6px}
.p-fact b span{font:500 13px/1 var(--f-body); color:var(--slate)}

.toc{position:sticky; top:12px; z-index:40; margin:10px auto 0; width:max-content; max-width:calc(100% - 32px); display:flex; gap:2px; padding:5px; border-radius:99px; overflow-x:auto; scrollbar-width:none}
.toc::-webkit-scrollbar{display:none}
.toc a{flex:none; text-decoration:none; font:500 13.5px/1 var(--f-body); color:var(--slate); padding:9px 14px; border-radius:99px; transition:background .2s, color .2s}
.toc a:hover{color:var(--ink); background:rgba(14,26,40,.05)}
.toc a.on{background:var(--ink); color:var(--white)}

.sec.tight{padding-block:96px}
.cite{display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px; margin-left:3px; border-radius:6px; background:var(--mist-soft); color:var(--blue-deep); font:600 11px/1 var(--f-body); text-decoration:none; vertical-align:2px}
.cite:hover{background:var(--mist); color:var(--ink)}

/* modules */
.mods{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px}
.mod{border-radius:22px; padding:22px 22px 24px; display:flex; flex-direction:column; gap:12px}
.mod-top{display:flex; justify-content:space-between; align-items:center; gap:10px}
.mod-top .n{width:40px; height:40px; border-radius:11px; display:grid; place-items:center; background:var(--mist-soft); color:var(--blue-deep); font:600 17px/1 var(--f-body)}
.mod-top .wt{font:600 22px/1 var(--f-body); letter-spacing:-.02em}
.mod-top .wt small{font:500 12px/1 var(--f-body); color:var(--slate-2); margin-left:4px}
.mod h3{font-size:18.5px; line-height:1.25}
.mod p{font-size:14.5px; color:var(--slate); line-height:1.55}
.mod .wbar{height:6px; border-radius:9px; background:rgba(14,26,40,.07); overflow:hidden}
.mod .wbar i{display:block; height:100%; background:linear-gradient(90deg, var(--mist), var(--blue)); border-radius:9px}
.mod .ex{margin-top:auto; padding-top:12px; border-top:1px dashed var(--line-2); font-size:13.5px; color:var(--slate)}
.mod .ex b{color:var(--ink); font-weight:600}
.mod.shared{position:relative}
.mod.shared .tag{font:600 10.5px/1 var(--f-body); letter-spacing:.08em; text-transform:uppercase; padding:5px 8px; border-radius:6px; background:var(--peach-soft); color:#9C4C24}

.scale{margin-top:36px; border-radius:22px; padding:24px 24px 20px}
.scale h3{font-size:18px}
.scale > p{font-size:14.5px; color:var(--slate); margin-top:6px}
.sbar{display:flex; margin-top:22px; border-radius:12px; overflow:hidden; height:46px}
.sbar div{display:grid; place-items:center; font:600 13px/1 var(--f-body); color:var(--ink); border-right:2px solid rgba(255,255,255,.8)}
.sbar div:last-child{border-right:0}
.sticks{position:relative; height:22px; margin-top:6px; font:500 12px/1 var(--f-body); color:var(--slate-2); font-variant-numeric:tabular-nums}
.sticks span{position:absolute; top:4px; translate:-50% 0}

/* benefits extras */
.ben-notes{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; margin-top:16px}
.bnote{border-radius:18px; padding:18px 20px}
.bnote small{display:block; font:600 11.5px/1 var(--f-body); letter-spacing:.1em; text-transform:uppercase; color:var(--slate-2)}
.bnote b{display:block; font:600 19px/1.25 var(--f-body); letter-spacing:-.015em; margin-top:10px}
.bnote p{font-size:14px; color:var(--slate); margin-top:8px; line-height:1.5}
.steps15{display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin-top:12px}
.steps15 span{border-radius:8px; padding:8px 4px; text-align:center; font:600 14px/1 var(--f-body); background:var(--mist-soft)}
.steps15 span em{display:block; font:500 10.5px/1.2 var(--f-body); font-style:normal; color:var(--slate-2); margin-top:4px}
.tbl small.par{color:var(--slate-2); font-size:11.5px}

/* timeline */
.tl{padding:0; margin:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; counter-reset:tl}
.tl li{list-style:none; border-radius:20px; padding:20px 22px 22px; position:relative}
.tl ol{margin:0; padding:0}
.tl-n{display:flex; align-items:center; gap:10px; font:600 12px/1 var(--f-body); letter-spacing:.1em; text-transform:uppercase; color:var(--slate-2)}
.tl-n i{width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font:600 13px/1 var(--f-body); font-style:normal; color:var(--ink); background:var(--mist)}
.tl li.warn .tl-n i{background:var(--peach)}
.tl h3{font-size:18px; margin-top:14px; line-height:1.25}
.tl p{font-size:14.5px; color:var(--slate); margin-top:8px; line-height:1.55}
.tl .quote{display:block; margin-top:10px; padding:10px 12px; border-radius:10px; background:rgba(14,26,40,.04); font:500 14px/1.45 var(--f-body); color:var(--ink)}

/* preparation */
.prep{display:grid; grid-template-columns:1.1fr .9fr; gap:18px; align-items:start}
.plist{border-radius:22px; padding:24px}
.plist h3, .dd h3{font-size:18px; display:flex; justify-content:space-between; align-items:center; gap:10px}
.plist h3 small{font:500 13px/1 var(--f-body); color:var(--slate-2)}
.pgroup{margin-top:18px}
.pgroup h4{font:600 11.5px/1 var(--f-body); letter-spacing:.12em; text-transform:uppercase; color:var(--slate-2); margin-bottom:6px}
.pchk{display:flex; gap:12px; align-items:flex-start; padding:9px 0; cursor:pointer; font-size:15px; line-height:1.45; border-bottom:1px solid var(--line)}
.pchk:last-child{border-bottom:0}
.pchk input{position:absolute; opacity:0; pointer-events:none}
.pchk .box{width:22px; height:22px; border-radius:7px; flex:none; margin-top:1px; box-shadow:inset 0 0 0 1.5px var(--line-2); background:var(--white); display:grid; place-items:center; transition:background .2s, box-shadow .2s}
.pchk .box svg{width:13px; height:13px; color:var(--ink); opacity:0; transform:scale(.6); transition:.25s var(--ease-spring)}
.pchk input:checked + .box{background:var(--mist); box-shadow:inset 0 0 0 1.5px var(--blue)}
.pchk input:checked + .box svg{opacity:1; transform:none}
.pchk input:checked ~ span{color:var(--slate-2); text-decoration:line-through; text-decoration-color:var(--blue)}
.pchk input:focus-visible + .box{outline:3px solid var(--blue-deep); outline-offset:2px}
.pprog{height:6px; border-radius:9px; background:rgba(14,26,40,.07); margin-top:14px; overflow:hidden}
.pprog i{display:block; height:100%; width:0; background:linear-gradient(90deg, var(--mist), var(--blue)); transition:width .4s var(--ease-spring)}
.dd{display:grid; gap:14px}
.dd > div{border-radius:22px; padding:22px 24px}
.dd ul{margin:12px 0 0; padding:0; list-style:none; display:grid; gap:10px}
.dd li{display:flex; gap:10px; font-size:14.5px; line-height:1.5; color:var(--slate)}
.dd li::before{content:""; flex:none; width:8px; height:8px; border-radius:50%; margin-top:7px; background:var(--blue)}
.dd .no li::before{background:var(--peach)}
.dd .tests li::before{background:var(--ink)}
.dd li b{color:var(--ink); font-weight:600}

/* faq */
.faq{display:grid; gap:10px; max-width:860px}
.faq details{border-radius:18px; padding:0 22px}
.faq summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:16px; align-items:center; padding:20px 0; font:600 16.5px/1.35 var(--f-body); letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary svg{width:18px; height:18px; flex:none; transition:transform .25s var(--ease-spring)}
.faq details[open] summary svg{transform:rotate(180deg)}
.faq .a{padding:0 0 22px; font-size:15px; line-height:1.6; color:var(--slate); max-width:68ch}
.faq .a b{color:var(--ink); font-weight:600}

/* sources */
.srcs{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; counter-reset:src}
.srcs a{display:flex; gap:14px; align-items:flex-start; padding:16px 18px; border-radius:16px; text-decoration:none; transition:transform .2s var(--ease-spring)}
.srcs a:hover{transform:translateY(-2px)}
.srcs a:target, .srcs a.flash{outline:2px solid var(--blue); outline-offset:2px}
.srcs .k{flex:none; width:26px; height:26px; border-radius:8px; display:grid; place-items:center; background:var(--ink); color:var(--white); font:600 12px/1 var(--f-body)}
.srcs b{display:block; font:600 15px/1.3 var(--f-body)}
.srcs span{display:block; font-size:13px; color:var(--slate-2); margin-top:4px; word-break:break-word}
.src-note{margin-top:18px; font-size:13.5px; color:var(--slate-2); max-width:70ch}
.more-link{display:flex; justify-content:center; margin-top:28px}

@media (max-width:1080px){
  .mods, .tl{grid-template-columns:repeat(2, minmax(0,1fr))}
  .p-facts{grid-template-columns:repeat(2, minmax(0,1fr))}
  .prep{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  .mods, .tl, .ben-notes, .srcs{grid-template-columns:minmax(0,1fr)}
  .p-hero h1{font-size:36px}
  .sbar div{font-size:11px}
  .toc{top:8px}
  .sec.tight{padding-block:72px}
}
@media (max-width:600px){ .sticks span:last-child{display:none} }
@media (max-width:920px){ .ben-notes{grid-template-columns:minmax(0,1fr)} }


.sbar div:nth-child(5), .sbar div:nth-child(6){color:#fff}
.tl li.warn .tl-n i{background:var(--ink); color:#fff}
.dd li::before{background:var(--accent)} .dd .no li::before{background:#9AA6B6} .dd .tests li::before{background:var(--ink)}
.mod.shared .tag{background:#EAF2FB; color:#3F6E9F; font-family:var(--f-mono)}
.mod-top .n, .tl-n i{font-family:var(--f-mono); background:linear-gradient(145deg,#F1F7FE,#DCEAF9); color:#3F6E9F}
.toc{border-radius:999px}
.toc a.on{background:#0B1320}
.pchk input:checked + .box{background:var(--accent); box-shadow:none} .pchk input:checked + .box svg{color:#fff}
.steps15 span{background:rgba(234,242,251,.8); font-family:var(--f-display)}


.src-box{border-radius:20px; padding:0 22px}
.src-box summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:22px 0}
.src-box summary::-webkit-details-marker{display:none}
.src-box summary b{display:block; margin-top:10px; font:500 17px/1.35 var(--f-display); letter-spacing:-.015em}
.src-tog{flex:none; display:inline-flex; align-items:center; gap:8px; padding:9px 14px; border-radius:999px; font:500 13px/1 var(--f-body);
  background:rgba(255,255,255,.45); border:1px solid rgba(255,255,255,.9); box-shadow:inset 0 1px 0 #fff, 0 0 0 1px rgba(16,28,46,.06)}
.src-tog svg{width:14px; height:14px; transition:transform .25s var(--ease-spring)}
.src-box[open] .src-tog svg{transform:rotate(180deg)}
.srcs-wrap{padding:4px 0 22px; display:grid; gap:20px}
.src-group h4{font:500 11px/1.4 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:#5E6E84; margin-bottom:10px}
.srcs-list{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px}
.srcs-list a{display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border-radius:14px; text-decoration:none; transition:transform .2s var(--ease-spring)}
.srcs-list a:hover{transform:translateY(-1px)}
.srcs-list a.flash{outline:2px solid var(--accent); outline-offset:2px}
.srcs-list .k{flex:none; width:24px; height:24px; border-radius:8px; display:grid; place-items:center; background:#0B1320; color:#fff; font:500 11.5px/1 var(--f-mono)}
.srcs-list b{display:block; font:500 14.5px/1.35 var(--f-body)}
.srcs-list span span{display:block; font:400 12px/1.35 var(--f-mono); color:#5A6A80; margin-top:4px; word-break:break-all}
@media (max-width:600px){ .srcs-list{grid-template-columns:minmax(0,1fr)} .src-tog > span{display:none} }

.src-tog .t-hide{display:none} .src-box[open] .src-tog .t-hide{display:inline} .src-box[open] .src-tog .t-show{display:none}
@media (max-width:600px){ .src-tog .t-show, .src-box[open] .src-tog .t-hide{display:none} }

/* ===== benefits carousel ===== */
.pgc{margin-top:4px}
.pgc-head{display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:10px}
.pgc-head b{font:600 17px/1.2 var(--f-display); letter-spacing:-.02em}
.pgc-head span{font:500 11px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:#5A6A80}
.pgc-track{display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:14px 12% 18px; margin:0 -12px; cursor:grab; outline:none}
.pgc-track::-webkit-scrollbar{display:none}
.pgc-track.drag{cursor:grabbing; scroll-snap-type:none; user-select:none}
.pgc-card{flex:0 0 76%; scroll-snap-align:center; border-radius:22px; padding:20px 20px 16px; position:relative;
  background:var(--st-bg) !important; border:1px solid var(--st-brd); box-shadow:var(--st-sh); -webkit-backdrop-filter:var(--st-blur); backdrop-filter:var(--st-blur);
  transform:scale(.93); opacity:.62; transition:transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s, box-shadow .45s}
.pgc-card.on{transform:none; opacity:1}
.pgc-card.is-res{border-color:rgba(129,179,230,.95); box-shadow:var(--st-sh), 0 0 0 3px rgba(165,205,241,.45), 0 30px 60px -30px rgba(79,134,198,.6)}
.pgc-top{display:flex; align-items:center; gap:14px}
.pgc-num{width:54px; height:54px; flex:none; border-radius:16px; display:grid; place-items:center; font:600 28px/1 var(--f-display); color:#fff; background:linear-gradient(170deg, #1A2738, #0B1320)}
.pgc-card.is-res .pgc-num{background:linear-gradient(150deg, #81B3E6, #4F86C6)}
.pgc-top b{display:block; font:600 19px/1.2 var(--f-display); letter-spacing:-.02em}
.pgc-top small{display:block; margin-top:4px; font:500 12px/1 var(--f-mono); color:#5A6A80}
.pgc-badge{margin-left:auto; align-self:flex-start; font:500 10.5px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; padding:7px 10px; border-radius:999px; background:#0B1320; color:#fff}
.pgc-sub{margin-top:10px; font-size:14px; color:#4A5A70}
.pgc-card ul{list-style:none; margin:14px 0 0; padding:0; display:grid}
.pgc-card li{display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:10px 0; border-top:1px solid rgba(255,255,255,.7)}
.pgc-card li span{font:500 14.5px/1.3 var(--f-body); color:var(--ink)}
.pgc-card li em{display:block; font-style:normal; font:400 12px/1.2 var(--f-body); color:#5A6A80; margin-top:2px}
.pgc-card li b{font:600 18px/1 var(--f-display); letter-spacing:-.02em; white-space:nowrap; font-variant-numeric:tabular-nums}
.pgc-card li:only-child, .pgc-card ul:empty{border:0}
.pgc-nav{display:flex; align-items:center; justify-content:center; gap:12px; margin-top:4px}
.pgc-arrow{width:38px; height:38px; border-radius:50%; display:grid; place-items:center; border:1px solid rgba(255,255,255,.9); background:rgba(255,255,255,.45); box-shadow:inset 0 1px 0 #fff, 0 0 0 1px rgba(16,28,46,.06); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px)}
.pgc-arrow svg{width:16px; height:16px}
.pgc-dots{display:flex; gap:6px}
.pgc-dots button{width:30px; height:30px; border-radius:50%; border:1px solid rgba(255,255,255,.9); background:rgba(255,255,255,.35); font:500 12px/1 var(--f-mono); color:#4A5A70; transition:background .25s, color .25s}
.pgc-dots button[aria-current="true"]{background:#0B1320; color:#fff; border-color:#0B1320}
@media (max-width:600px){ .pgc-card{flex-basis:86%} .pgc-track{padding:12px 7% 16px} }
@media (prefers-reduced-motion:reduce){ .pgc-card{transition:none} }


.result{min-width:0} .result > *{min-width:0}
.pgc{max-width:100%; overflow:hidden; min-width:0}
.pgc-track{margin:0; width:100%}

@media (max-width:600px){ .pgc-card{flex-basis:90%; padding:16px 14px 12px} .pgc-track{padding:12px 5% 16px} .pgc-num{width:44px;height:44px;font-size:22px;border-radius:13px} .pgc-badge{font-size:9px; padding:6px 8px; white-space:nowrap} .pgc-head{flex-direction:column; gap:4px} }
.pgc-track{align-items:flex-start}
/* benefits per care level: all cards the same height, the selected card light blue */
html body #leistungen .pgc-track{align-items:stretch !important}
html body #leistungen .pgc-card{transition:transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s, box-shadow .45s, background-color .3s !important}
@media (min-width:701px){ html body:not(.th-dark):not(.x) #leistungen#leistungen .pgc-card.on{background:#E2EEFA !important; background-image:none !important} }
@media (min-width:701px) and (max-width:999px){
  html body:not(.x) #leistungen .pgc{container-type:inline-size}
  html body:not(.x) #leistungen .pgc .pgc-track{padding-inline:22cqw !important; scroll-padding-inline:0 !important}
  html body:not(.x) #leistungen .pgc .pgc-track > .pgc-card{flex:0 0 56cqw !important; width:56cqw !important; scroll-snap-align:center !important}
  html body:not(.x) #leistungen .pgc .pgc-track::after{display:none !important}
}
@media (min-width:1000px){ html body:not(.x) #leistungen .pgc .pgc-track{padding-inline:calc(100cqw / 3 + 14px / 3) !important} }
@media (min-width:701px){ html body:not(.th-dark) #leistungen .pgc-card.on li{border-top-color:rgba(255,255,255,.9)} }
#leistungen.tbl-wrap{overflow:visible; padding:20px 18px 16px; border-radius:22px}

/* ===== info deck ===== */
.deck{padding-top:6px}
.deck-row{display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; padding:6px 2px 14px}
.deck-row::-webkit-scrollbar{display:none}
.deck-card{flex:0 0 auto; min-width:200px; scroll-snap-align:start; display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:18px; text-align:left; color:var(--ink); cursor:pointer;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s}
.deck-card:hover{transform:translateY(-2px)}
.dc-ic{width:38px; height:38px; flex:none; border-radius:12px; display:grid; place-items:center; font:600 16px/1 var(--f-mono); color:#3F6E9F; background:rgba(255,255,255,.55); box-shadow:inset 0 1px 0 #fff, 0 0 0 1px rgba(92,147,204,.25)}
.dc-t b{display:block; font:600 15px/1.2 var(--f-display); letter-spacing:-.015em}
.dc-t small{display:block; margin-top:3px; font:400 12.5px/1.2 var(--f-body); color:#5A6A80}
.dc-chev{width:14px; height:14px; margin-left:auto; flex:none; color:#5A6A80; transition:transform .3s}
.deck-card.on{background:linear-gradient(135deg, rgba(225,238,251,.6), rgba(165,205,241,.2)) !important; border-color:rgba(129,179,230,.95) !important}
.deck-card.on .dc-ic{background:#0B1320; color:#fff}
.deck-card.on .dc-chev{transform:rotate(180deg)}
.deck-panel{display:none}
.deck-panel.open{display:block; border-radius:24px; margin-top:4px; padding:4px 0 8px}
.deck-panel.anim{animation:deckIn .45s cubic-bezier(.2,.8,.2,1)}
@keyframes deckIn{from{opacity:0; transform:translateY(-8px) scale(.985)}}
.deck-panel > section{padding:22px 0 10px !important}
.deck-panel > section > .wrap{padding-left:0; padding-right:0; max-width:none}
.deck-panel #quellen{padding-top:22px !important}
@media (prefers-reduced-motion:reduce){ .deck-panel.anim{animation:none} }
@media (max-width:600px){ .deck-card{min-width:170px; padding:12px 14px} }

@media (min-width:1081px){ .deck-card{flex:1 1 0; min-width:0} .dc-t small{white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .dc-t{min-width:0} }

/* short info only: hide fine print */
.fine, .na-note, .who-pick small, .meter .note, .tc-cat, .tc-s, .mod .ex{display:none !important}
.plist h3 > span, .dd h3 > span{display:inline-flex; align-items:center; gap:6px}
.mod p{font-size:15px; color:#33445A}
.tl p{font-size:15px; color:#33445A}
.faq .a{font-size:15.5px; color:#33445A}
.bnote p, .dd li{font-size:15px}
.src-note{font-size:13px}


/* ===== See-through frosted glass for every light text box ===== */
:root{
  --st-bg:linear-gradient(135deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.08) 100%);
  --st-brd:rgba(255,255,255,.62);
  --st-sh:inset 0 1px 0 rgba(255,255,255,.85), inset 1px 0 0 rgba(255,255,255,.3), 0 0 0 1px rgba(16,28,46,.04), 0 24px 50px -32px rgba(30,60,100,.4);
  --st-blur:blur(18px) saturate(1.7);
}
.glass, .feat, .face.front, .calc-card, .tbl-wrap, .tipc, .hd-bubble, .hans-desk, .tip, .who-pick div, .toggle-row, .res-hero, .ben,
.p-fact, .bnote, .faq details, .src-box, .srcs-list a, .tl li, .mod, .scale, .plist, .dd > div, .srail, .chip-float, .bubble, .feat .vis, .steps15 span, .na-chip{
  background:var(--st-bg) !important; border:1px solid var(--st-brd) !important; box-shadow:var(--st-sh) !important;
  -webkit-backdrop-filter:var(--st-blur) !important; backdrop-filter:var(--st-blur) !important}
.tipc.on, .who-pick div:not(.off){background:linear-gradient(135deg, rgba(225,238,251,.5), rgba(165,205,241,.14)) !important; border-color:rgba(165,205,241,.9) !important}
.srail[aria-current="step"]{background:rgba(11,19,32,.82) !important; border-color:rgba(255,255,255,.25) !important}
/* light sheen on the larger boxes */
.mod, .scale, .bnote, .tl li, .plist, .dd > div, .calc-card, .tbl-wrap, .feat, .p-fact, .src-box, .tipc{position:relative}
.mod::after, .scale::after, .bnote::after, .tl li::after, .plist::after, .dd > div::after, .calc-card::after, .tbl-wrap::after, .p-fact::after, .src-box::after, .tipc::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:0;
  background:linear-gradient(160deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 36%)}
.mod > *, .scale > *, .bnote > *, .tl li > *, .plist > *, .dd > div > *, .calc-card > *, .tbl-wrap > *, .p-fact > *, .src-box > *, .tipc > *{position:relative; z-index:1}
.tc-hans{position:absolute !important; z-index:2 !important}
.hd-bubble::after{background:rgba(255,255,255,.3); -webkit-backdrop-filter:var(--st-blur); backdrop-filter:var(--st-blur); box-shadow:1px 1px 0 rgba(255,255,255,.6)}
.hans-desk::before{opacity:.6}
.tbl tbody tr:hover, .tbl tr.hi td{background:rgba(255,255,255,.28) !important}
.tbl th, .tbl td{border-bottom-color:rgba(255,255,255,.55)}
/* keep readability in menus */
.mega-card, .lang-menu{background:rgba(255,255,255,.72) !important; -webkit-backdrop-filter:blur(24px) saturate(1.6); backdrop-filter:blur(24px) saturate(1.6)}
.toc{background:rgba(255,255,255,.38) !important; border:1px solid rgba(255,255,255,.7) !important; -webkit-backdrop-filter:blur(18px) saturate(1.7); backdrop-filter:blur(18px) saturate(1.7)}


/* colour orbs that scroll with the page, behind the glass */
body::after{z-index:-2 !important}
body{position:relative}
.bg-orbs{position:absolute; left:0; top:0; width:100%; z-index:-1; overflow:hidden; pointer-events:none}
.bg-orbs i{position:absolute; border-radius:50%; animation:orbDrift 18s ease-in-out infinite}
.bg-orbs i.ribbon, .bg-orbs i.wave{border-radius:999px; animation-name:ribDrift}
.bg-orbs i:nth-child(even){animation-duration:23s; animation-direction:reverse}
@keyframes ribDrift{50%{transform:rotate(var(--rot)) translateX(40px)}}
@keyframes orbDrift{50%{transform:translate(30px,-24px) scale(1.06)}}
@media (prefers-reduced-motion:reduce){ .bg-orbs i{animation:none} }
/* glass edges a touch clearer so the panes read on colour */
:root{--st-brd:rgba(255,255,255,.75)}


/* ===== line backgrounds (no orange) ===== */
.bg-orbs{display:block}
body::after{background:linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
.hero .b2{background:#A5CDF1 !important} .hero .b3{background:#DCE8F5 !important}
body[data-bg="1"]::after{background:repeating-linear-gradient(135deg, rgba(92,147,204,.20) 0 1px, transparent 1px 26px), linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="2"]::after{background:repeating-linear-gradient(45deg, rgba(92,147,204,.14) 0 1px, transparent 1px 30px), repeating-linear-gradient(135deg, rgba(92,147,204,.14) 0 1px, transparent 1px 30px), linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="3"]::after{background:linear-gradient(rgba(92,147,204,.16) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(92,147,204,.16) 1px, transparent 1px) 0 0 / 48px 48px, radial-gradient(60vw 50vw at 15% 10%, rgba(165,205,241,.55), transparent 65%), linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="4"]::after{background:linear-gradient(rgba(92,147,204,.22) 1px, transparent 1px) 0 0 / 96px 96px, linear-gradient(90deg, rgba(92,147,204,.22) 1px, transparent 1px) 0 0 / 96px 96px, linear-gradient(rgba(92,147,204,.08) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, rgba(92,147,204,.08) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(160deg, #DFEBF8 0%, #EEF4FB 60%, #E2ECF8 100%) !important}
body[data-bg="5"]::after{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%2736%27%20viewBox%3D%270%200%20160%2036%27%3E%3Cpath%20d%3D%27M0%2018%20C40%202%2040%2034%2080%2018%20S120%202%20160%2018%27%20fill%3D%27none%27%20stroke%3D%27%2381B3E6%27%20stroke-opacity%3D%27.45%27%20stroke-width%3D%271.2%27/%3E%3C/svg%3E") 0 0 / 160px 36px, linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="6"]::after{background:linear-gradient(170deg, #E2ECF8 0%, #F5F8FB 55%, #E7EFF9 100%) !important}
body[data-bg="7"]::after{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27420%27%20height%3D%27420%27%20viewBox%3D%270%200%20420%20420%27%20fill%3D%27none%27%20stroke%3D%27%235C93CC%27%20stroke-opacity%3D%27.28%27%20stroke-width%3D%271%27%3E%3Cellipse%20cx%3D%27210%27%20cy%3D%27210%27%20rx%3D%2730%27%20ry%3D%2720%27%20transform%3D%27rotate%28-18%20210%20210%29%27/%3E%3Cellipse%20cx%3D%27210%27%20cy%3D%27210%27%20rx%3D%2756%27%20ry%3D%2739%27%20transform%3D%27rotate%28-18%20210%20210%29%27/%3E%3Cellipse%20cx%3D%27210%27%20cy%3D%27210%27%20rx%3D%2782%27%20ry%3D%2758%27%20transform%3D%27rotate%28-18%20210%20210%29%27/%3E%3Cellipse%20cx%3D%27210%27%20cy%3D%27210%27%20rx%3D%27108%27%20ry%3D%2777%27%20transform%3D%27rotate%28-18%20210%20210%29%27/%3E%3Cellipse%20cx%3D%27210%27%20cy%3D%27210%27%20rx%3D%27134%27%20ry%3D%2796%27%20transform%3D%27rotate%28-18%20210%20210%29%27/%3E%3Cellipse%20cx%3D%27210%27%20cy%3D%27210%27%20rx%3D%27160%27%20ry%3D%27115%27%20transform%3D%27rotate%28-18%20210%20210%29%27/%3E%3Cellipse%20cx%3D%27210%27%20cy%3D%27210%27%20rx%3D%27186%27%20ry%3D%27134%27%20transform%3D%27rotate%28-18%20210%20210%29%27/%3E%3Cellipse%20cx%3D%27210%27%20cy%3D%27210%27%20rx%3D%27212%27%20ry%3D%27153%27%20transform%3D%27rotate%28-18%20210%20210%29%27/%3E%3C/svg%3E") 0 0 / 420px 420px, linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="8"]::after{background:repeating-linear-gradient(180deg, rgba(165,205,241,.32) 0 2px, transparent 2px 22px), linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="9"]::after{background:repeating-linear-gradient(90deg, rgba(92,147,204,.16) 0 1px, transparent 1px 14px), linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="10"]::after{background:linear-gradient(90deg, rgba(129,179,230,.42) 50%, transparent 50%) 0 0 / 34px 34px, linear-gradient(rgba(129,179,230,.42) 50%, transparent 50%) 0 0 / 34px 34px, #DCEBFA !important}
body[data-bg="11"]::after{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2756%27%20height%3D%2797%27%20viewBox%3D%270%200%2056%2097%27%20fill%3D%27none%27%20stroke%3D%27%235C93CC%27%20stroke-opacity%3D%27.22%27%20stroke-width%3D%271%27%3E%3Cpath%20d%3D%27M0%200%20L56%2097%20M56%200%20L0%2097%20M0%2048.5%20H56%27/%3E%3C/svg%3E") 0 0 / 56px 97px, linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="12"]::after{background:repeating-conic-gradient(from 0deg at 50% -10%, rgba(92,147,204,.16) 0 .35deg, transparent .35deg 4deg), linear-gradient(160deg, #E4EEF9 0%, #F4F7FB 50%, #E6EEF8 100%) !important}
body[data-bg="10"] .hero .blob{opacity:.25}
.bg-orbs svg{position:absolute; left:0; width:100%; overflow:visible}
/* ===== shiny, see-through real glass ===== */
:root{
  --st-bg:
    linear-gradient(118deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.2) 13%, rgba(255,255,255,0) 13.6%, rgba(255,255,255,0) 63%, rgba(255,255,255,.26) 63.6%, rgba(255,255,255,.08) 69%, rgba(255,255,255,0) 69.6%),
    linear-gradient(135deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.02) 55%, rgba(255,255,255,.09) 100%);
  --st-brd:rgba(255,255,255,.9);
  --st-sh:inset 0 1px 0 #fff, inset 1px 0 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(255,255,255,.35), inset -1px 0 0 rgba(255,255,255,.25),
    inset 0 0 14px rgba(255,255,255,.14), 0 1px 2px rgba(16,28,46,.07), 0 24px 46px -26px rgba(30,60,100,.45);
  --st-blur:blur(1.5px) saturate(1.4);
}
.mod::after, .scale::after, .bnote::after, .tl li::after, .plist::after, .dd > div::after, .calc-card::after, .tbl-wrap::after, .p-fact::after, .src-box::after, .tipc::after{background:none !important}
.glass, .feat, .face.front, .calc-card, .tbl-wrap, .tipc, .hd-bubble, .hans-desk, .tip, .who-pick div, .toggle-row, .res-hero, .ben,
.p-fact, .bnote, .faq details, .src-box, .srcs-list a, .tl li, .mod, .scale, .plist, .dd > div, .srail, .feat .vis, .na-chip{
  background-size:150% 100%, 100% 100% !important; background-position:0 0, 0 0 !important; transition:background-position .9s cubic-bezier(.2,.8,.2,1), transform .3s cubic-bezier(.2,.8,.2,1)}
.glass:hover, .feat:hover, .face.front:hover, .tipc:hover, .mod:hover, .tl li:hover, .bnote:hover, .faq details:hover, .srcs-list a:hover, .p-fact:hover{background-position:100% 0, 0 0 !important}


/* ===== v2: white site, photo hero, mechanical key buttons ===== */
:root{--key-ease:cubic-bezier(.2,.7,.3,1); --key-t:120ms}
html, body{background:var(--pg, #F3F6FA) !important}
body{margin:0 !important}
body::after, body::before, body[data-bg]::after{display:none !important; background:none !important}
.bg-orbs, .hero .blob, .p-hero .blob{display:none !important}

/* ---------- photo hero ---------- */
.hero.hero-photo{position:relative; overflow:hidden; display:flex; align-items:center; min-height:min(86vh, 820px); padding-block:96px 80px;
  background:#2A2622 url("/hero.jpg") 62% 50% / cover no-repeat}
.hero.hero-photo::before{content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:linear-gradient(90deg, rgba(10,18,30,.86) 0%, rgba(10,18,30,.74) 36%, rgba(10,18,30,.32) 62%, rgba(10,18,30,.06) 82%) !important}
.hero.hero-photo .wrap{position:relative; z-index:1; width:100%}
.hero.hero-photo .hero-grid{display:block}
.hero.hero-photo .hero-grid > div{max-width:620px}
.hero.hero-photo .eyebrow{color:#DCE9F7 !important}
.hero.hero-photo .eyebrow::before{background:#A5CDF1 !important; box-shadow:0 0 0 4px rgba(165,205,241,.25) !important}
.hero.hero-photo h1{color:#FFFFFF !important; text-shadow:0 2px 24px rgba(0,0,0,.25)}
.hero.hero-photo h1 .l2{color:#A5CDF1 !important; -webkit-text-fill-color:#A5CDF1 !important; background:none !important}
.hero.hero-photo .hero-lead{color:rgba(255,255,255,.88) !important}
.hero.hero-photo .hero-meta, .hero.hero-photo .hero-meta span{color:rgba(255,255,255,.82) !important}
.hero.hero-photo .hero-meta svg{color:#A5CDF1 !important}

/* ---------- scale on white ---------- */
.scale-sec{padding:72px 0 110px; background:#FFFFFF}
.scale-sec .scale-stage{margin-top:0}

/* ---------- text colours for a white page ---------- */
body{color:#0E1A28}
.sec-head p, .lead, .muted{color:#4A5A70}

/* ================= KEY BUTTONS: rest → hover → press → release ================= */
.btn.btn, .sc-btn.sc-btn{
  --face:#0E1A28; --face-h:#28374C; --ledge:#02060B; --txt:#FFFFFF; --hl:rgba(255,255,255,.22);
  position:relative; border:0 !important; color:var(--txt) !important; background:var(--face) !important; background-color:var(--face) !important; background-image:none !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; filter:none !important;
  transform:translateY(0) !important;
  box-shadow:inset 0 1px 0 var(--hl), inset 0 -3px 4px -2px rgba(0,0,0,.22), 0 4px 0 0 var(--ledge), 0 7px 14px -4px rgba(14,26,40,.38) !important;
  transition:transform var(--key-t) var(--key-ease), box-shadow var(--key-t) var(--key-ease), background-color var(--key-t) var(--key-ease) !important;
  animation:none; margin-bottom:4px}
.btn::before, .btn::after, .sc-btn::before, .sc-btn::after{display:none !important}
.btn.btn:hover, .sc-btn.sc-btn:hover{background:var(--face-h) !important; background-color:var(--face-h) !important; transform:translateY(0) !important}
.btn.btn:active, .sc-btn.sc-btn:active{transform:translateY(4px) !important;
  box-shadow:inset 0 2px 3px rgba(0,0,0,.28), inset 0 1px 0 rgba(0,0,0,.08), 0 0 0 0 var(--ledge), 0 0 0 0 rgba(14,26,40,0) !important}
.btn:focus-visible, .sc-btn:focus-visible{outline:3px solid #81B3E6; outline-offset:6px}
/* light keys */
.btn.btn.cream, .btn.btn.mist, .sc-btn.sc-btn, .sc-btn.sc-btn.ghost{--face:#FFFFFF; --face-h:#E6F0FB; --ledge:#C5D0DD; --txt:#0E1A28; --hl:#FFFFFF}
.btn.btn.cream, .sc-btn.sc-btn{box-shadow:inset 0 1px 0 var(--hl), inset 0 0 0 1px #DCE3EC, inset 0 -3px 4px -2px rgba(14,26,40,.10), 0 4px 0 0 var(--ledge), 0 7px 14px -4px rgba(14,26,40,.22) !important}
.btn.btn.mist{--face:#A5CDF1; --face-h:#B9DAF6; --ledge:#6F9DCB; --hl:rgba(255,255,255,.7)}
.btn.btn.cream:active, .btn.btn.mist:active, .sc-btn.sc-btn:active{box-shadow:inset 0 2px 3px rgba(14,26,40,.20), inset 0 0 0 1px #DCE3EC, 0 0 0 0 var(--ledge) !important}
/* dark keys inside dark sections */
.btn.btn.ghost-dark{--face:#1D2C42; --face-h:#2B3D57; --ledge:#060D16; --txt:#FFFFFF; --hl:rgba(255,255,255,.16)}

/* camera shutter: deeper 5px press */
.btn.big-scan{margin-bottom:5px; box-shadow:inset 0 1px 0 var(--hl), inset 0 -3px 4px -2px rgba(14,26,40,.14), 0 5px 0 0 var(--ledge), 0 9px 16px -5px rgba(14,26,40,.4) !important}
.btn.big-scan:active{transform:translateY(5px) !important}

/* step keys (letter tabs): selected stays pressed 5px, pale blue, navy badge */
.letter-tabs{gap:10px !important; padding:0 !important; background:none !important; box-shadow:none !important}
.ltab{--ledge:#060D16; background:#1D2C42 !important; color:#fff !important; border-radius:12px !important; transform:translateY(0) !important; margin-bottom:5px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16), inset 0 -3px 4px -2px rgba(0,0,0,.3), 0 5px 0 0 var(--ledge), 0 8px 14px -4px rgba(0,0,0,.45) !important;
  transition:transform var(--key-t) var(--key-ease), box-shadow var(--key-t) var(--key-ease), background-color var(--key-t) var(--key-ease) !important}
.ltab:hover{background:#2B3D57 !important}
.ltab:active, .ltab[aria-selected="true"]{transform:translateY(5px) !important; box-shadow:inset 0 2px 3px rgba(0,0,0,.28), 0 0 0 0 var(--ledge) !important}
.ltab[aria-selected="true"]{background:#DCEBFA !important; color:#0E1A28 !important}
.ltab[aria-selected="true"] span{color:#4A5A70 !important}
.ltab[aria-selected="true"] b{display:inline-block; background:#0E1A28; color:#fff; padding:3px 8px; border-radius:6px; margin-bottom:2px}

/* checklist rows: lighter 3px press */
.pchk{border:0 !important; background:#FFFFFF; border-radius:12px; padding:11px 14px !important; margin-bottom:9px; transform:translateY(0);
  box-shadow:inset 0 1px 0 #fff, inset 0 0 0 1px #DCE3EC, 0 3px 0 0 #C5D0DD, 0 5px 10px -4px rgba(14,26,40,.16);
  transition:transform var(--key-t) var(--key-ease), box-shadow var(--key-t) var(--key-ease), background-color var(--key-t) var(--key-ease)}
.pchk:hover{background:#F2F7FD}
.pchk:active{transform:translateY(3px); box-shadow:inset 0 2px 3px rgba(14,26,40,.14), inset 0 0 0 1px #DCE3EC, 0 0 0 0 #C5D0DD}

/* decoder flip cards: white front, light blue back */
#decoder .face.front{background:#FFFFFF !important; background-image:none !important; border:1px solid #DCE3EC !important; color:#0E1A28 !important;
  box-shadow:0 4px 0 #C5D0DD, 0 18px 30px -22px rgba(14,26,40,.3) !important}
#decoder .face.front .lab, #decoder .face.front .q{color:#2A5F99 !important}
#decoder .face.front .tap, #decoder .face.front .tap svg{color:#0E1A28 !important}
#decoder .face.back{background:#DCEBFA !important; background-image:none !important; color:#0E1A28 !important; border:1px solid #C3D9F1 !important;
  box-shadow:0 4px 0 #A9C7E8, 0 18px 30px -22px rgba(14,26,40,.35) !important}
#decoder .face.back .lab{color:#2F6FB0 !important}
#decoder .face.back .ans{color:#0E1A28 !important}
#decoder .face.back .ans b{color:#1F5A96 !important}
#decoder .face.back .src{color:#4A5A70 !important}

/* landing: header sits on top of the photo */
body:has(.hero-photo) .hdr{position:absolute !important; left:0; right:0; top:0; z-index:60; background:transparent !important; border:0 !important; box-shadow:none !important}
body:has(.hero-photo) .hdr .logo{color:#FFFFFF !important; text-shadow:0 2px 14px rgba(0,0,0,.25)}
body:has(.hero-photo) .hdr .nav-btn{color:rgba(255,255,255,.9) !important}
body:has(.hero-photo) .hdr .nav-item:hover .nav-btn, body:has(.hero-photo) .hdr .nav-item.open .nav-btn{color:#FFFFFF !important}
body:has(.hero-photo) .hdr .nav-btn::after{background:#FFFFFF !important}
body:has(.hero-photo) .hdr .lang-btn, body:has(.hero-photo) .hdr .burger{color:#FFFFFF !important; background:rgba(255,255,255,.12) !important; border:1px solid rgba(255,255,255,.35) !important; box-shadow:none !important}
body:has(.hero-photo) .hdr .burger span, body:has(.hero-photo) .hdr .burger i{background:#FFFFFF !important}
.hero.hero-photo{padding-top:150px; padding-bottom:140px; min-height:min(96vh, 940px)}

/* rechner: benefits carousel without the outer box, light blue accents */
#leistungen.tbl-wrap{background:none !important; background-image:none !important; border:0 !important; box-shadow:none !important; padding:0 !important; overflow:visible !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important}
#leistungen.tbl-wrap::before, #leistungen.tbl-wrap::after{display:none !important}
#leistungen .pgc-head{padding-inline:0 !important}
#leistungen .pgc-head span{color:#2A5F99 !important}
#leistungen .pgc-card li em{color:#2A5F99 !important}
#leistungen .pgc-card .pgc-sub{color:#2A5F99 !important}
#leistungen .pgc-top small{color:#2A5F99 !important}
.pgc-card:not(.on){cursor:pointer}
.pgc-card li .pgc-none{color:#A9B6C6 !important; font-weight:500 !important}

/* rechner: simple start + current-module bar */
.calc-start{display:flex; flex-direction:column; align-items:center; gap:10px; padding:26px 0 30px; text-align:center}
.btn.btn.start-key{font-size:18px; padding:18px 44px; border-radius:16px}
.start-meta{font:500 12px/1 var(--f-mono); letter-spacing:.12em; text-transform:uppercase; color:#2A5F99}
.calc-card .toggle-row{margin-top:6px}
.steps-rail[hidden]{display:none !important}
.steps-rail{display:block !important; overflow:visible !important; padding:0 0 12px !important}
.rail-now{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.rail-pos{font:500 12px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:#2A5F99}
.rail-now b{font:600 17px/1.2 var(--f-display); color:#0E1A28}
.rail-all{margin-left:auto; border:0; background:none; padding:6px 2px; font:500 14px/1 var(--f-body); color:#0E1A28; text-decoration:underline; text-decoration-color:#A5CDF1; text-underline-offset:4px; cursor:pointer}
.rail-all:hover{color:#2F6FB0}
.rail-list{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.rail-list[hidden]{display:none}

/* calculator: selected answers in light blue */
.seg button[aria-pressed="true"], .seg button[aria-pressed="true"].lvl-0, .seg button[aria-pressed="true"].lvl-1, .seg button[aria-pressed="true"].lvl-2, .seg button[aria-pressed="true"].lvl-3,
.unit button[aria-pressed="true"]{background:#DCEBFA !important; background-image:none !important; color:#0E1A28 !important; box-shadow:inset 0 0 0 1.5px #81B3E6 !important}

.res-more{display:inline-block; margin:6px 0 14px; font:500 15px/1.3 var(--f-body); color:#2F6FB0; text-decoration:underline; text-decoration-color:#A5CDF1; text-underline-offset:4px}

/* menu stays visible on small screens (no burger) */
@media (max-width:1080px){
  .hdr .nav, .hdr .lang{display:flex !important}
  .hdr .burger, .drawer{display:none !important}
  .hdr-in{height:auto !important; min-height:72px; flex-wrap:wrap; row-gap:4px; padding-block:10px}
  .nav-btn{padding:8px 10px !important; font-size:14px !important}
}
@media (max-width:760px){
  .hdr-in{gap:10px !important}
  .hdr .lang{margin-left:auto}
  .hdr .nav{order:3; width:100%; margin-left:0 !important; overflow-x:auto; scrollbar-width:none; gap:0 !important; justify-content:space-between}
  .hdr .nav::-webkit-scrollbar{display:none}
  .nav-btn{padding:8px 6px !important; font-size:13.5px !important; white-space:nowrap}
  .lang-btn span:not(.chev):not(.lang-code){display:none}
  .mega-card{grid-template-columns:1fr !important; max-height:70vh; overflow-y:auto}
}

/* ===== blue highlights (warmer, less empty) ===== */
.mega-col h4{color:#2A5F99 !important; border-bottom-color:#A5CDF1 !important}
.mega-col a:hover{color:#2F6FB0 !important}
.mega-topic .tag{color:#2A5F99 !important}
.hero:not(.hero-photo) h1 .l2, .p-hero h1 .l2, .sec-head h2 .soft{background:none !important; -webkit-text-fill-color:#4F8BC9 !important; color:#2A5F99 !important}
.eyebrow{color:#2A5F99 !important}
.eyebrow::before{background:#81B3E6 !important}
.crumbs a{color:#2A5F99 !important}
.art-sec h2::before{content:""; display:block; width:34px; height:3px; border-radius:2px; background:#A5CDF1; margin-bottom:12px}
.art-sec b, .art-sec strong{color:#2F6FB0}
.art-toc > b{color:#2A5F99 !important}
.art-toc a.on{color:#2F6FB0 !important; border-left-color:#81B3E6 !important}
.mod-head h3, .res-hero h3{color:#0E1A28}
.mod-head .w, .q-t .id{color:#2A5F99 !important}
.sec-head > p, .p-hero p{color:#4A5A70}

/* footer: collapsible columns + legal links */
.foot .fcol{align-self:start}
.foot .fcol summary{list-style:none; display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; padding:6px 0; user-select:none}
.foot .fcol summary::-webkit-details-marker{display:none}
.foot .fcol summary h5{margin:0 !important}
.foot .fchev{width:16px; height:16px; color:#A5CDF1; transition:transform .25s}
.foot .fcol[open] .fchev{transform:rotate(180deg)}
.foot .fcol ul{margin-top:10px}
.foot .legal-links{display:flex; gap:18px}
.foot .legal-links button{border:0; background:none; padding:0; cursor:pointer; font:inherit; color:#A5CDF1}
.foot .legal-links button:hover, .foot .legal-links button[aria-expanded="true"]{color:#fff; text-decoration:underline}
.foot .legal-panel{margin-top:24px; padding:18px 20px; border-radius:14px; background:rgba(255,255,255,.06); border:1px solid rgba(165,205,241,.25); color:#DCE6F2}
.foot .legal-panel b{display:block; color:#fff; font:600 16px/1.3 var(--f-display); margin-bottom:6px}
.foot .legal-panel p{font-size:14.5px; line-height:1.6; color:#C4CFDD}
.legal-box p{font-size:17px}

/* everything a touch smaller */
body{zoom:.9}
@media (max-width:700px){ body{zoom:.95} }

/* rechner: live result only while answering, and much smaller */
.calc.no-meter{grid-template-columns:minmax(0,1fr) !important}
.calc.no-meter .meter{display:none !important}
.calc{grid-template-columns:minmax(0,1fr) 250px !important}
.meter{padding:16px 16px 14px !important; border-radius:18px !important}
.meter h4{font-size:10.5px !important}
.meter .gauge{max-width:190px; margin:2px auto 0}
.meter .gauge-read b{font-size:30px !important}
.meter .gauge-read span{font-size:11px !important}
.meter .pg-pill{padding:10px 12px !important; margin-top:10px !important}
.meter .pg-pill b{font-size:15px !important}
.meter .pg-pill .big{width:36px !important; height:36px !important; font-size:18px !important}
.meter .meter-actions{margin-top:10px !important; gap:6px !important; flex-wrap:wrap}
.meter .meter-actions .btn{font-size:12.5px !important; padding:8px 10px !important}
@media (max-width:1080px){
  .calc{grid-template-columns:minmax(0,1fr) !important}
  .meter .gauge{display:none}
  .meter{display:grid; grid-template-columns:auto 1fr; align-items:center; gap:4px 14px}
  .meter h4{grid-column:1 / -1}
  .meter .pg-pill{margin-top:0 !important}
  .meter .meter-actions{grid-column:1 / -1}
}

/* ===== ALL buttons: one look (white, fine border, grey ledge, soft shadow), oval ===== */
.btn.btn, .btn.btn.cream, .btn.btn.mist, .btn.btn.ghost-dark, .sc-btn.sc-btn, .btn.btn.start-key{
  --face:#FFFFFF; --face-h:#F4F8FD; --ledge:#C5D0DD; --txt:#0E1A28; --hl:#FFFFFF;
  border-radius:999px !important; background:#FFFFFF !important; background-color:#FFFFFF !important; background-image:none !important; color:#0E1A28 !important;
  box-shadow:inset 0 0 0 1px #DCE3EC, 0 4px 0 0 #C5D0DD, 0 18px 30px -22px rgba(14,26,40,.45) !important}
.btn.btn:hover, .sc-btn.sc-btn:hover{background:#F4F8FD !important; background-color:#F4F8FD !important}
.btn.btn:active, .sc-btn.sc-btn:active{box-shadow:inset 0 0 0 1px #DCE3EC, inset 0 2px 3px rgba(14,26,40,.16), 0 0 0 0 #C5D0DD !important}
.btn.btn svg{color:#2A5F99}
.btn.btn.big-scan{box-shadow:inset 0 0 0 1px #DCE3EC, 0 5px 0 0 #C5D0DD, 0 18px 30px -22px rgba(14,26,40,.45) !important}

/* buttons: subtler, less "comic" – thin soft ledge, light shadow */
.btn.btn, .btn.btn.cream, .btn.btn.mist, .btn.btn.ghost-dark, .sc-btn.sc-btn, .btn.btn.start-key, .btn.btn.big-scan,
#app #scanBtn.btn.btn, #app .demo-actions .btn.btn{
  box-shadow:inset 0 0 0 1px #DCE3EC, 0 3px 0 0 #E3E9F0, 0 10px 20px -14px rgba(14,26,40,.28) !important; margin-bottom:3px}
.btn.btn:active, .sc-btn.sc-btn:active, .btn.btn.big-scan:active, #app #scanBtn.btn.btn:active, #app .demo-actions .btn.btn:active{
  transform:translateY(3px) !important; box-shadow:inset 0 0 0 1px #DCE3EC, inset 0 1px 2px rgba(14,26,40,.10), 0 0 0 0 #E3E9F0 !important}

/* light buttons on the beige page: slightly see-through */
.btn.btn, .btn.btn.cream, .btn.btn.mist, .btn.btn.ghost-dark, .sc-btn.sc-btn, .btn.btn.start-key, .btn.btn.big-scan, #app .demo-actions .btn.btn{
  background:rgba(255,255,255,.62) !important; background-color:rgba(255,255,255,.62) !important;
  -webkit-backdrop-filter:blur(8px) saturate(1.2); backdrop-filter:blur(8px) saturate(1.2);
  box-shadow:inset 0 0 0 1px rgba(14,26,40,.10), inset 0 1px 0 rgba(255,255,255,.9), 0 3px 0 0 rgba(14,26,40,.06), 0 10px 20px -14px rgba(14,26,40,.25) !important}
.btn.btn:hover, .sc-btn.sc-btn:hover, #app .demo-actions .btn.btn:hover{background:rgba(255,255,255,.85) !important; background-color:rgba(255,255,255,.85) !important}
.btn.btn:active, .sc-btn.sc-btn:active, #app .demo-actions .btn.btn:active{box-shadow:inset 0 0 0 1px rgba(14,26,40,.10), inset 0 1px 2px rgba(14,26,40,.10), 0 0 0 0 transparent !important}

/* buttons on dark backgrounds: see-through frosted glass, white text (movement unchanged) */
.hero.hero-photo .btn.btn, #app #scanBtn.btn.btn, .meter .btn.btn{
  background:rgba(255,255,255,.12) !important; background-color:rgba(255,255,255,.12) !important; color:#FFFFFF !important;
  -webkit-backdrop-filter:blur(10px) saturate(1.3) !important; backdrop-filter:blur(10px) saturate(1.3) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.38), inset 0 1px 0 rgba(255,255,255,.35), 0 3px 0 0 rgba(255,255,255,.14), 0 10px 22px -14px rgba(0,0,0,.5) !important}
.hero.hero-photo .btn.btn:hover, #app #scanBtn.btn.btn:hover, .meter .btn.btn:hover{background:rgba(255,255,255,.2) !important; background-color:rgba(255,255,255,.2) !important}
.hero.hero-photo .btn.btn:active, #app #scanBtn.btn.btn:active, .meter .btn.btn:active{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.38), inset 0 1px 3px rgba(0,0,0,.25), 0 0 0 0 rgba(255,255,255,0) !important}
.hero.hero-photo .btn.btn svg, #app #scanBtn.btn.btn svg, .meter .btn.btn svg{color:#A5CDF1 !important}

#srcBox > summary{display:flex !important; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; list-style:none}
#srcBox > summary::-webkit-details-marker{display:none}
#srcBox .src-h{font:600 17px/1.2 var(--f-display)}
#srcBox .src-chev{width:18px; height:18px; color:#2A5F99; transition:transform .25s}
#srcBox[open] .src-chev{transform:rotate(180deg)}

/* no decorative dots before small labels */
.eyebrow::before, .eyebrow::after{display:none !important}
.eyebrow{gap:0 !important}
.hd-who i{display:none !important}

@media (max-width:700px){
  .hero.hero-photo{min-height:auto; padding-block:150px 56px; background-position:70% 50%}
  .hero.hero-photo::before{background-image:linear-gradient(180deg, rgba(10,18,30,.6), rgba(10,18,30,.8)) !important}
  .scale-sec{padding:40px 0 90px}
}
@media (prefers-reduced-motion: reduce){ .btn, .sc-btn, .ltab, .pchk{transition:none !important} }


/* ================= DARK NAVY THEME (whole site) ================= */
body.th-dark{--dk-bg:#0E1A28; --dk-bg2:#12223A; --dk-surf:rgba(255,255,255,.055); --dk-surf2:rgba(255,255,255,.09); --dk-line:rgba(255,255,255,.12);
  --dk-tx:#EAF1F8; --dk-mu:#A9B8CA; --dk-acc:#8FB9E8; --line:rgba(255,255,255,.12)}
html:has(body.th-dark){background:#0E1A28 !important}
body.th-dark{color:var(--dk-tx) !important; background:radial-gradient(1200px 700px at 80% -10%, #16304F 0%, rgba(22,48,79,0) 60%), var(--dk-bg) !important}

/* ---------- text ---------- */
html body.th-dark :is(main, #topic, .hdr, .foot) :is(h1,h2,h3,h4,h5,h6,p,li,b,strong,small,em,label,td,th,dt,dd,span,div,a:not(.btn),summary,caption,output,figcaption):not(#paper *):not(.face.back *):not(.paper *){color:var(--dk-tx)}
html body.th-dark :is(main, #topic) :is(p, li, small, .lead, .hero-lead, td, .q-t span, .tc-s, .sub, .pgc-sub, .art-sec p, .sec-head > p):not(#paper *):not(.face.back *){color:#C9D5E3 !important}
html body.th-dark .sec-head h2 .soft, html body.th-dark .hero h1 .l2, html body.th-dark .p-hero h1 .l2{-webkit-text-fill-color:var(--dk-acc) !important; color:var(--dk-acc) !important}
html body.th-dark .eyebrow, html body.th-dark .crumbs a, html body.th-dark .start-meta, html body.th-dark .rail-pos, html body.th-dark .mod-head .w, html body.th-dark .q-t .id,
html body.th-dark .hm-bubble .hd-who, html body.th-dark .hd-src, html body.th-dark .soon-txt span, html body.th-dark .mega-col h4, html body.th-dark .mega-topic .tag,
html body.th-dark #decoder .face.front .lab, html body.th-dark #decoder .face.front .q, html body.th-dark .pgc-card li em, html body.th-dark .pgc-card .pgc-sub, html body.th-dark .pgc-top small,
html body.th-dark #leistungen .pgc-head span, html body.th-dark .art-toc > b, html body.th-dark .art-toc a.on, html body.th-dark .res-more, html body.th-dark .vs-row b{color:var(--dk-acc) !important}
html body.th-dark .crumbs span, html body.th-dark .art-toc a{color:var(--dk-mu) !important}
html body.th-dark .art-sec b, html body.th-dark .art-sec strong{color:#BFD8F3 !important}
html body.th-dark .eyebrow::before{background:var(--dk-acc) !important}

/* ---------- surfaces: every card, box, panel, field ---------- */
html body.th-dark :is(.glass, .feat, .art-sec, .art-toc, .pgc-card, .deck-card, .src-box, .bnote, .bnote-b, .calc-card, .face-legend, .fact, .tp-pgc, .tp-tip,
  .hans-card, .hm, .hm-bubble, .plist, .soon-box, .steps-card, .tbl-wrap, .vs-row, .pchk, .who-pick > div, .toggle-row, .tip, .res-hero, .srcs-list a, .deck-panel > *, .legal-box){
  background:var(--dk-surf) !important; background-image:none !important; border-color:var(--dk-line) !important; color:var(--dk-tx) !important;
  box-shadow:inset 0 0 0 1px var(--dk-line), 0 24px 44px -32px rgba(0,0,0,.8) !important;
  -webkit-backdrop-filter:blur(12px) saturate(1.2) !important; backdrop-filter:blur(12px) saturate(1.2) !important}
html body.th-dark .feat .vis, html body.th-dark .v-list, html body.th-dark .kl-amt{background:rgba(255,255,255,.06) !important; background-image:none !important; box-shadow:inset 0 0 0 1px var(--dk-line) !important}
html body.th-dark .hm{background:rgba(143,185,232,.07) !important}
html body.th-dark .hm-bubble::after{background:#1A2A40 !important; border-color:var(--dk-line) !important}
html body.th-dark .hm-frame{box-shadow:0 0 0 8px rgba(255,255,255,.1), 0 24px 44px -30px rgba(0,0,0,.8) !important}
html body.th-dark .pgc-card.on, html body.th-dark .pgc-card.is-res{background:rgba(143,185,232,.12) !important}
html body.th-dark .pgc-num{background:var(--dk-acc) !important; color:#0E1A28 !important}
html body.th-dark .tbl th, html body.th-dark .tbl td{border-color:var(--dk-line) !important}
html body.th-dark .tbl thead th{color:var(--dk-acc) !important}
html body.th-dark .art-sec h2::before{background:var(--dk-acc) !important}
html body.th-dark .pprog{background:rgba(255,255,255,.1) !important}
html body.th-dark .pchk .box, html body.th-dark .check .box{background:rgba(255,255,255,.08) !important; box-shadow:inset 0 0 0 1.5px rgba(143,185,232,.6) !important}
html body.th-dark .pchk:hover{background:rgba(255,255,255,.09) !important}
html body.th-dark .pchk input:checked + .box, html body.th-dark .check input:checked + .box{background:var(--dk-acc) !important}
html body.th-dark .cite{background:rgba(143,185,232,.18) !important; color:#CFE3F7 !important}
html body.th-dark .tl-n i, html body.th-dark .mod-num{background:rgba(143,185,232,.18) !important; color:#EAF1F8 !important; box-shadow:inset 0 0 0 1px rgba(143,185,232,.35) !important}

/* calculator answer fields */
html body.th-dark .seg button, html body.th-dark .unit button, html body.th-dark .stepper, html body.th-dark .stepper button, html body.th-dark .na-chip{background:rgba(255,255,255,.06) !important; color:var(--dk-tx) !important; box-shadow:inset 0 0 0 1px var(--dk-line) !important; border-color:var(--dk-line) !important}
html body.th-dark .seg button[aria-pressed="true"], html body.th-dark .unit button[aria-pressed="true"]{background:rgba(143,185,232,.28) !important; box-shadow:inset 0 0 0 1.5px var(--dk-acc) !important; color:#fff !important}
html body.th-dark .smiley circle:first-child{fill:rgba(255,255,255,.1) !important; stroke:#EAF1F8 !important}
html body.th-dark .smiley circle:not(:first-child){fill:#EAF1F8 !important}
html body.th-dark .smiley path{stroke:#EAF1F8 !important}
html body.th-dark .seg button[aria-pressed="true"] .smiley circle:first-child{fill:rgba(143,185,232,.35) !important}
html body.th-dark .q{border-color:var(--dk-line) !important}
html body.th-dark .sw{background:rgba(255,255,255,.18) !important}

/* decoder: dark glass front, pale-blue acrylic back (movement unchanged) */
html body.th-dark #decoder .flip .face.front{background:rgba(255,255,255,.06) !important; border:1px solid var(--dk-line) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 4px 0 rgba(255,255,255,.07), 0 24px 40px -28px rgba(0,0,0,.8) !important; -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px)}
html body.th-dark #decoder .face.front .term{color:#F2F6FB !important}
html body.th-dark #decoder .face.front .tap, html body.th-dark #decoder .face.front .tap svg{color:var(--dk-mu) !important}
html body.th-dark #decoder .face.front .q{border-color:var(--dk-line) !important}

/* ---------- ALL buttons: frosted glass on navy ---------- */
html body.th-dark .btn.btn, html body.th-dark .sc-btn.sc-btn, html body.th-dark #app #scanBtn.btn.btn, html body.th-dark #app .demo-actions .btn.btn, html body.th-dark .lang-btn, html body.th-dark .hm-num{
  background:rgba(255,255,255,.1) !important; background-color:rgba(255,255,255,.1) !important; color:#FFFFFF !important;
  -webkit-backdrop-filter:blur(10px) saturate(1.3) !important; backdrop-filter:blur(10px) saturate(1.3) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 0 rgba(255,255,255,.25), 0 3px 0 0 rgba(255,255,255,.1), 0 10px 22px -14px rgba(0,0,0,.6) !important}
html body.th-dark .btn.btn:hover, html body.th-dark .sc-btn.sc-btn:hover, html body.th-dark #app #scanBtn.btn.btn:hover, html body.th-dark #app .demo-actions .btn.btn:hover, html body.th-dark .lang-btn:hover, html body.th-dark .hm-num:hover{
  background:rgba(255,255,255,.18) !important; background-color:rgba(255,255,255,.18) !important}
html body.th-dark .btn.btn:active, html body.th-dark .sc-btn.sc-btn:active, html body.th-dark #app #scanBtn.btn.btn:active, html body.th-dark #app .demo-actions .btn.btn:active{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 3px rgba(0,0,0,.3), 0 0 0 0 transparent !important}
html body.th-dark .hm-num.on{background:rgba(143,185,232,.35) !important}
html body.th-dark .hm-num:active, html body.th-dark .hm-num.on{box-shadow:inset 0 0 0 1px rgba(143,185,232,.7), inset 0 1px 3px rgba(0,0,0,.3) !important}
html body.th-dark .btn.btn svg{color:var(--dk-acc) !important}

/* catch-all for remaining light controls */
html body.th-dark .btn.btn.btn, html body.th-dark .btn.btn.cream, html body.th-dark .btn.btn.mist, html body.th-dark .btn.btn.ghost-dark, html body.th-dark .btn.btn.start-key, html body.th-dark .btn.btn.big-scan,
html body.th-dark .src-tog, html body.th-dark .pgc-arrow, html body.th-dark .pgc-dots button, html body.th-dark .ct-go, html body.th-dark .dc-ic{
  background:rgba(255,255,255,.1) !important; background-color:rgba(255,255,255,.1) !important; color:#FFFFFF !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 0 rgba(255,255,255,.2), 0 10px 22px -14px rgba(0,0,0,.6) !important}
html body.th-dark .btn.btn.btn{box-shadow:inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 0 rgba(255,255,255,.25), 0 3px 0 0 rgba(255,255,255,.1), 0 10px 22px -14px rgba(0,0,0,.6) !important}
html body.th-dark .btn.btn.btn:hover, html body.th-dark .btn.btn.cream:hover, html body.th-dark .src-tog:hover, html body.th-dark .pgc-arrow:hover{background:rgba(255,255,255,.18) !important; background-color:rgba(255,255,255,.18) !important}
html body.th-dark .btn.btn.btn:active, html body.th-dark .btn.btn.cream:active{box-shadow:inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 3px rgba(0,0,0,.3), 0 0 0 0 transparent !important}
html body.th-dark .pgc-dots button[aria-current="true"]{background:rgba(143,185,232,.4) !important}
html body.th-dark .ct-go svg, html body.th-dark .dc-ic{color:#fff !important}
html body.th-dark .seg button[aria-pressed="true"].lvl-0, html body.th-dark .seg button[aria-pressed="true"].lvl-1, html body.th-dark .seg button[aria-pressed="true"].lvl-2, html body.th-dark .seg button[aria-pressed="true"].lvl-3, html body.th-dark .seg button.face-btn[aria-pressed="true"]{
  background:rgba(143,185,232,.28) !important; box-shadow:inset 0 0 0 1.5px #8FB9E8 !important}
html body.th-dark .seg button.face-btn:not([aria-pressed="true"]){background:rgba(255,255,255,.06) !important}

html body.th-dark .seg .face-btn[aria-pressed="true"], html body.th-dark .seg .face-btn[aria-pressed="true"].lvl-0, html body.th-dark .seg .face-btn[aria-pressed="true"].lvl-1, html body.th-dark .seg .face-btn[aria-pressed="true"].lvl-2, html body.th-dark .seg .face-btn[aria-pressed="true"].lvl-3{
  background:rgba(143,185,232,.28) !important; background-image:none !important; box-shadow:inset 0 0 0 1.5px #8FB9E8 !important}
html body.th-dark .seg.faces button[aria-pressed="true"] .smiley circle:first-child{fill:rgba(143,185,232,.35) !important}
html body.th-dark .mod-head .w{background:rgba(143,185,232,.16) !important}
html body.th-dark .rail-all{color:#EAF1F8 !important; text-decoration-color:#8FB9E8 !important}
html body.th-dark .pg-pill{background:rgba(255,255,255,.06) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.12) !important}
html body.th-dark .pg-pill .big{background:rgba(143,185,232,.3) !important; color:#fff !important; box-shadow:inset 0 0 0 1px rgba(143,185,232,.6) !important}
html body.th-dark #app .steps-card{background:rgba(255,255,255,.055) !important; border-color:rgba(255,255,255,.12) !important; color:#EAF1F8 !important}
html body.th-dark #app .steps-card h4, html body.th-dark #app .steps-card .check, html body.th-dark #app .steps-card .check span{color:#EAF1F8 !important}
html body.th-dark #app .steps-card .check .box{background:rgba(255,255,255,.08) !important; box-shadow:inset 0 0 0 1.5px rgba(143,185,232,.6) !important}
html body.th-dark .lang-opt{background:transparent !important; color:#DCE6F2 !important}
html body.th-dark .lang-opt:hover, html body.th-dark .lang-opt[aria-checked="true"]{background:rgba(255,255,255,.08) !important}
html body.th-dark .burger{background:rgba(255,255,255,.1) !important; border-color:rgba(255,255,255,.3) !important}
html body.th-dark .burger span{background:#fff !important}

/* ---------- header, menus, misc ---------- */
html body.th-dark .hdr .logo, html body.th-dark .hdr .nav-btn{color:#EAF1F8 !important}
html body.th-dark .nav-btn::after{background:#EAF1F8 !important}
html body.th-dark .mega-card, html body.th-dark .lang-menu{background:rgba(20,34,54,.96) !important; box-shadow:inset 0 0 0 1px var(--dk-line), 0 30px 60px -30px rgba(0,0,0,.8) !important; -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px)}
html body.th-dark .mega-col a, html body.th-dark .lang-opt{color:#DCE6F2 !important}
html body.th-dark .mega-col a:hover{color:#fff !important}
html body.th-dark #app[data-abg="7"]{background:linear-gradient(180deg, #0E1A28 0%, #0E1A28 100%) !important}
html body.th-dark .foot{background:#0A1320 !important; border-top:1px solid var(--dk-line)}
html body.th-dark .calc-teaser{background:rgba(255,255,255,.06) !important; box-shadow:inset 0 0 0 1px var(--dk-line) !important}
html body.th-dark .soon-form input[type=email]{background:rgba(255,255,255,.08) !important; color:#fff !important; border-color:var(--dk-line) !important}
html body.th-dark .soon-tag{background:rgba(143,185,232,.3) !important}
html body.th-dark .hero.hero-photo::after{background:linear-gradient(180deg, rgba(14,26,40,0) 0%, rgba(14,26,40,.12) 20%, rgba(14,26,40,.35) 42%, rgba(14,26,40,.65) 64%, rgba(14,26,40,.9) 84%, #0E1A28 100%) !important}
html body.th-dark .toast{background:#1A2A40 !important; box-shadow:inset 0 0 0 1px var(--dk-line) !important}


/* ================= switchable design options (light themes share one consistent card style) ================= */
body.th-mist{--pg:#EEF3F9}
body.th-paper{--pg:#F8F6F1}
body.th-split{--pg:#FFFFFF}
html:has(body.th-mist){background:#EEF3F9 !important} html:has(body.th-paper){background:#F8F6F1 !important} html:has(body.th-split){background:#FFFFFF !important}
/* one card language on light pages: solid white, fine border, soft shadow – no glass */
body:not(.th-dark) :is(.feat, .art-sec, .art-toc, .pgc-card, .deck-card, .src-box, .bnote, .bnote-b, .calc-card, .tp-pgc, .tp-tip, .plist, .steps-card, .tbl-wrap, .soon-box, .hm-bubble, .srcs-list a, .legal-box, #decoder .flip .face.front){
  background:#FFFFFF !important; background-image:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  box-shadow:0 0 0 1px rgba(14,26,40,.08), 0 14px 30px -22px rgba(14,26,40,.35) !important; border-color:transparent !important}
body:not(.th-dark) .feat .vis{background:#F3F7FB !important; background-image:none !important; box-shadow:inset 0 0 0 1px rgba(14,26,40,.05) !important}
body:not(.th-dark) .hm{background:#E4EDF7 !important; border-color:transparent !important}
body.th-paper .hm{background:#EFEAE0 !important}
body:not(.th-dark) .calc-teaser{background:#0E1A28 !important}
/* split: navy sections alternate with white */
body.th-split #features, body.th-split #tipps{background:#F2F6FA}
body.th-split #features :is(.feat), body.th-split #tipps .hm-bubble{background:#FFFFFF !important}
body.th-split #decoder{background:#FFFFFF}

/* Hans helper in the corner */
.hf{position:fixed; z-index:95; right:20px; bottom:20px; display:flex; flex-direction:column; align-items:flex-end; gap:12px}
.hf-btn{position:relative; width:60px; height:60px; border-radius:50%; border:0; padding:0; cursor:pointer; background:#FFFFFF;
  box-shadow:0 0 0 3px #FFFFFF, 0 0 0 4px rgba(14,26,40,.1), 0 14px 28px -10px rgba(14,26,40,.45); transition:transform 120ms cubic-bezier(.2,.7,.3,1)}
.hf-btn:hover{transform:translateY(-2px)} .hf-btn:active{transform:translateY(2px)}
.hf-btn .avatar{display:block; width:100%; height:100%; border-radius:50%; overflow:hidden}
.hf-btn .avatar img{width:100%; height:100%; object-fit:cover; display:block}
.hf-btn i{position:absolute; right:-2px; top:-2px; width:18px; height:18px; border-radius:50%; background:#4F8BC9; box-shadow:0 0 0 2px #fff}
.hf-btn i::after{content:"?"; position:absolute; inset:0; display:grid; place-items:center; color:#fff; font:700 11px/1 var(--f-body); font-style:normal}
.hf.open .hf-btn i{display:none}
.hf-btn:focus-visible{outline:3px solid #82B2E6; outline-offset:4px}
.hf-bubble{position:relative; width:min(340px, calc(100vw - 40px)); background:#FFFFFF; color:#0E1A28; border-radius:18px; padding:16px 18px 14px;
  box-shadow:0 0 0 1px rgba(14,26,40,.08), 0 24px 48px -20px rgba(14,26,40,.45); animation:hfIn .25s cubic-bezier(.2,.8,.2,1)}
.hf-bubble[hidden]{display:none}
.hf-bubble::after{content:""; position:absolute; right:22px; bottom:-8px; width:16px; height:16px; background:#fff; transform:rotate(45deg); box-shadow:2px 2px 0 0 rgba(14,26,40,.06)}
@keyframes hfIn{from{opacity:0; transform:translateY(8px) scale(.97)}}
.hf-x{position:absolute; right:10px; top:8px; border:0; background:none; font-size:20px; line-height:1; color:#5A6A80; cursor:pointer; padding:4px}
.hf-who{display:block; font:500 10.5px/1 var(--f-mono); letter-spacing:.12em; text-transform:uppercase; color:#2A5F99}
.hf-t{display:block; margin-top:8px; padding-right:16px; font:600 16.5px/1.3 var(--f-display); color:#0E1A28}
.hf-say{margin-top:6px; font:400 14.5px/1.55 var(--f-body); color:#33445A !important; min-height:2.2em}
.hf-foot{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 10px; margin-top:12px; padding-top:10px; border-top:1px solid #EEF2F6}
.hf-src{flex:1 1 160px; min-width:0; font:500 12px/1.35 var(--f-body); color:#2A5F99 !important; overflow-wrap:anywhere}
.hf-foot .btn{margin-left:auto}
.th-pick{bottom:16px}
@media (max-width:600px){ .hf{right:14px; bottom:14px} .hf-btn{width:52px; height:52px} }

/* compact language button */
.hdr .lang-btn{height:34px !important; padding:0 10px !important; gap:5px !important; font:600 12.5px/1 var(--f-body) !important; letter-spacing:.04em; border-radius:999px !important}
.hdr .lang-btn svg{width:15px !important; height:15px !important}
.hdr .lang-btn .chev{width:12px !important; height:12px !important}

/* deck cards: no icons */
.deck-card .dc-ic{display:none !important}

/* menu: only the active (.open) panel shows, no flicker between items */
@media (hover:hover){ .nav-item:hover:not(.open) .mega{opacity:0 !important; visibility:hidden !important} }

/* mega menu: light-blue frosted glass */
html body .mega-card{background:rgba(235,243,252,.55) !important; background-image:none !important; -webkit-backdrop-filter:blur(22px) saturate(1.4) !important; backdrop-filter:blur(22px) saturate(1.4) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6), inset 0 1px 0 rgba(255,255,255,.8), 0 24px 50px -30px rgba(14,26,40,.35) !important; border:0 !important}
html body .mega-card .mega-col h4{color:#2F6FB0 !important; border-bottom-color:rgba(47,111,176,.3) !important}
html body .mega-card .mega-col a{color:#0E1A28 !important}
html body .mega-card .mega-col a:hover{color:#2F6FB0 !important; background:rgba(165,205,241,.38) !important}
html body .mega-card .mega-topic, html body .mega-card .mega-topic *{color:#0E1A28 !important}
html body .mega-card .mega-topic{background:rgba(255,255,255,.2) !important}
html body .lang-menu{background:rgba(235,243,252,.6) !important; -webkit-backdrop-filter:blur(18px) !important; backdrop-filter:blur(18px) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.7), 0 20px 40px -20px rgba(14,26,40,.4) !important}
html body .lang-menu .lang-opt{color:#0E1A28 !important; background:transparent !important}
html body .lang-menu .lang-opt:hover{color:#2F6FB0 !important; background:rgba(165,205,241,.38) !important}

/* no breadcrumb */
nav.crumbs, .crumbs{display:none !important}

/* theme picker */
.th-pick{position:fixed; z-index:90; left:16px; bottom:16px; display:flex; align-items:center; gap:6px; padding:6px; border-radius:999px;
  background:rgba(14,26,40,.92); color:#fff; font:500 13px/1 var(--f-body); box-shadow:0 12px 30px -12px rgba(0,0,0,.5); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px)}
.th-pick button{border:0; width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; cursor:pointer; font-size:15px}
.th-pick button:hover{background:rgba(255,255,255,.22)}
.th-pick span{padding:0 6px; white-space:nowrap}


/* headings: one colour (blue) instead of two-tone */
html body :is(h1,h2,h3):has(> .l2, > .soft){color:#2F6FB0 !important}
html body :is(h1,h2,h3) :is(.l2.l2.l2.l2,.soft.soft.soft.soft){color:inherit !important; background:none !important; -webkit-text-fill-color:currentColor !important}
html body .hero :is(h1,h2):has(> .l2, > .soft), html body :is(.dark,.calc-teaser,footer) :is(h1,h2,h3):has(> .l2, > .soft){color:#A5CDF1 !important}


/* calculator smileys: colourful */
html body .seg .face-btn .smiley{opacity:.7 !important; filter:none !important}
html body .seg .face-btn:hover .smiley{opacity:1 !important}
html body .seg .face-btn[aria-pressed="true"] .smiley{opacity:1 !important}


/* logo: whole link light blue on hover */
.hdr .logo, .hdr .logo .hl{transition:color .2s ease}
.hdr .logo:hover, .hdr .logo:hover .hl{color:#2A5F99 !important}
body:has(.hero-photo) .hdr .logo:hover, body:has(.hero-photo) .hdr .logo:hover .hl{color:#FFFFFF !important}
/* waitlist note without checkbox */
.soon-ok{margin:0 !important; cursor:default !important}
/* decoder card blink when reached from the footer */
@keyframes decFlash{0%,100%{outline-color:rgba(165,205,241,0)} 25%,65%{outline-color:#A5CDF1}}
@keyframes decFlashBg{0%,100%{opacity:0} 25%,65%{opacity:.35}}
#cards .flip .face.front{outline:4px solid rgba(165,205,241,0); outline-offset:3px}
#cards .flip .face.front::after{content:""; position:absolute; inset:0; border-radius:inherit; background:#A5CDF1; opacity:0; pointer-events:none}
#cards .flip.dec-flash .face.front{animation:decFlash 1.8s ease-in-out}
#cards .flip.dec-flash .face.front::after{animation:decFlashBg 1.8s ease-in-out}


/* rechner: benefits carousel without the extra white box behind it */
html body:not(.x) #leistungen#leistungen.tbl-wrap.tbl-wrap{background:transparent !important; box-shadow:none !important; border:0 !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important}


/* menu: calm fade in/out, instant swap between topics (no see-through flicker) */


#topic .tp-tip{display:none !important}
.hf-nudge{position:relative; display:inline-flex; align-items:center; gap:10px; border:0; cursor:pointer; padding:10px 12px 10px 16px; border-radius:16px;
  background:#FFFFFF; color:#0E1A28; font:600 14px/1.2 var(--f-body); box-shadow:0 0 0 1px rgba(14,26,40,.08), 0 16px 32px -16px rgba(14,26,40,.45); animation:hfIn .3s cubic-bezier(.2,.8,.2,1)}
.hf-nudge[hidden]{display:none}
.hf-nudge::after{content:""; position:absolute; right:22px; bottom:-6px; width:12px; height:12px; background:#fff; transform:rotate(45deg)}
.hf-nudge i{font-style:normal; font-size:16px; color:#5A6A80; padding:0 2px}
.hf-nudge:hover span{color:#2F6FB0}
.hf-foot .btn + .btn{margin-left:0}


/* sources: quiet footnote area instead of a white box */
html body:not(.x) details#srcBox#srcBox.src-box{background:transparent !important; box-shadow:none !important; border:0 !important; border-top:1px solid rgba(14,26,40,.12) !important; border-radius:0 !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; padding:18px 0 0 !important}
html body #srcBox summary{padding:0 !important; justify-content:flex-start !important; gap:8px}
html body #srcBox .src-h{font:600 13px/1 var(--f-mono) !important; letter-spacing:.12em; text-transform:uppercase; color:#2A5F99 !important}
html body #srcBox .src-chev{width:14px !important; height:14px !important; color:#2A5F99 !important; margin-left:0 !important}
html body:not(.x) #srcBox#srcBox .srcs-list a, html body:not(.x) :is(#topic, #top, main) .srcs-list a{background:transparent !important; box-shadow:none !important; border:0 !important; border-radius:8px !important; padding:6px 8px !important; font-size:13.5px !important; color:#33445A !important}
html body:not(.x) #srcBox#srcBox .srcs-list a:hover, html body:not(.x) :is(#topic, #top, main) .srcs-list a:hover{background:rgba(165,205,241,.25) !important; color:#2F6FB0 !important}
html body .srcs-list{gap:2px 18px !important}
html body .srcs-list a .k{background:#E3EFFB !important; color:#2F6FB0 !important}
html body #srcBox .src-group h4{margin-top:14px !important}


.ic-en{font:500 12px/1.3 var(--f-body); color:#5A6A80; margin-left:2px; white-space:nowrap}
.face .term .term-en{display:block; margin-top:4px; font:500 13px/1.3 var(--f-body); color:#5A6A80; letter-spacing:0}


/* only the active topic panel may show (no second panel through keyboard focus) */


/* rechner: big, eye-catching start button */
html body .calc-start{padding:34px 0 30px !important; gap:14px !important}
html body .btn.btn.btn.start-key{font:600 22px/1 var(--f-display) !important; padding:22px 64px !important; min-height:0 !important; border-radius:999px !important;
  background:#2F6FB0 !important; color:#FFFFFF !important; border:0 !important; box-shadow:0 0 0 0 rgba(79,139,201,.45), 0 14px 30px -14px rgba(47,111,176,.7) !important; animation:startPulse 2.4s ease-out infinite}
html body .btn.btn.btn.start-key svg{width:22px !important; height:22px !important; color:#FFFFFF !important}
html body .btn.btn.btn.start-key:hover{background:#285F98 !important}
html body .calc-start .start-meta{font:500 14px/1.3 var(--f-body); color:#4A5A70}
@keyframes startPulse{0%{box-shadow:0 0 0 0 rgba(79,139,201,.45), 0 14px 30px -14px rgba(47,111,176,.7)} 70%{box-shadow:0 0 0 16px rgba(79,139,201,0), 0 14px 30px -14px rgba(47,111,176,.7)} 100%{box-shadow:0 0 0 0 rgba(79,139,201,0), 0 14px 30px -14px rgba(47,111,176,.7)}}
@media (prefers-reduced-motion:reduce){ html body .btn.btn.btn.start-key{animation:none} }
@media (max-width:600px){ html body .btn.btn.btn.start-key{font-size:19px !important; padding:18px 48px !important} }

html body section.calc-sec#rechner{padding-top:4px !important}

/* menu panel: never fade its opacity (a fading glass panel shows the page text through it for a moment).
   It appears fully covered at once; only a small slide gives the motion. */




/* ================= MENU: shared panel + two looks (pane / glass) ================= */
.mp-intro{display:none}
.ms-tg-wrap{display:none}
@media (hover:hover){
  .ms-tg-wrap{display:flex; align-items:center; margin-right:2px}
  .ms-tg{width:30px; height:30px; border-radius:9px; border:0; cursor:pointer; display:grid; place-items:center; background:transparent; color:inherit; opacity:.75; transition:opacity .15s, background .15s}
  .ms-tg:hover{opacity:1; background:rgba(165,205,241,.22)}
  .ms-tg svg{width:18px; height:18px}
  .ms-tg .ms-tg-fog{fill:currentColor; opacity:0; transition:opacity .2s}
  body.menu-glass .ms-tg .ms-tg-fog{opacity:.35}
  .hdr .ms-tg{color:#0E1A28} body:has(.hero-photo) .hdr .ms-tg{color:#FFFFFF}

  /* content layer: transparent, crossfades */
  html body:not(.x) .hdr .nav-item .mega{opacity:0 !important; visibility:hidden !important; transform:none !important; pointer-events:none !important;
    transition:opacity .09s ease, visibility 0s linear .09s !important}
  html body:not(.x) .hdr .nav-item.open .mega{opacity:1 !important; visibility:visible !important; pointer-events:auto !important; transition:opacity .18s ease .04s, visibility 0s !important}
  html body:not(.x) .hdr .nav-item .mega .mega-card{background:transparent !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; box-shadow:none !important; border:0 !important}
  html body:not(.x) .hdr.mswitch .nav-item.open .mega .mega-card{animation:mcIn .22s cubic-bezier(.2,.7,.2,1)}
  @keyframes mcIn{from{transform:translateX(calc(var(--dir, 1) * 14px))}}

  /* shared panel */
  .mega-shell{position:absolute; z-index:0; pointer-events:none; border-radius:20px; --cx:50%;
    transition:height .24s cubic-bezier(.2,.7,.2,1), width .24s cubic-bezier(.2,.7,.2,1), top .24s, left .24s}
  .ms-caret{position:absolute; top:-7px; left:var(--cx); width:14px; height:14px; margin-left:-7px; transform:rotate(45deg); border-radius:3px 0 0 0;
    transition:left .26s cubic-bezier(.2,.7,.2,1)}

  /* --- look 1: GLASS (frosted, as before) – never fades, reveals with a clip --- */
  body.menu-glass .mega-shell{background:rgba(235,243,252,.72); -webkit-backdrop-filter:blur(22px) saturate(1.4); backdrop-filter:blur(22px) saturate(1.4);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.6), inset 0 1px 0 rgba(255,255,255,.8), 0 24px 50px -30px rgba(14,26,40,.35);
    clip-path:inset(0 0 100% 0 round 20px); transform:translateZ(0);
    transition:clip-path .15s ease-in, height .24s cubic-bezier(.2,.7,.2,1), width .24s cubic-bezier(.2,.7,.2,1), top .24s, left .24s}
  body.menu-glass .hdr.mopen .mega-shell{clip-path:inset(0 0 0 0 round 20px); transition:clip-path .2s cubic-bezier(.2,.7,.2,1), height .24s cubic-bezier(.2,.7,.2,1), width .24s cubic-bezier(.2,.7,.2,1), top .24s, left .24s}
  body.menu-glass .ms-caret{display:none}

  /* --- look 2: PANE (solid, layered, with intro column + pointer) --- */
  body.menu-pane .mega-shell{background:linear-gradient(180deg, #FFFFFF 0%, #FBFDFF 100%);
    box-shadow:0 0 0 1px rgba(14,26,40,.07), 0 1px 0 rgba(255,255,255,.9) inset, 0 12px 24px -14px rgba(14,26,40,.28), 0 36px 70px -34px rgba(14,26,40,.45);
    opacity:0; visibility:hidden; transform:translateY(-6px);
    transition:opacity .15s ease, transform .15s ease, visibility 0s linear .15s, height .24s cubic-bezier(.2,.7,.2,1), width .24s cubic-bezier(.2,.7,.2,1), top .24s, left .24s}
  body.menu-pane .hdr.mopen .mega-shell{opacity:1; visibility:visible; transform:none;
    transition:opacity .18s ease, transform .18s cubic-bezier(.2,.7,.2,1), visibility 0s, height .24s cubic-bezier(.2,.7,.2,1), width .24s cubic-bezier(.2,.7,.2,1), top .24s, left .24s}
  body.menu-pane .mega-shell::before{content:""; position:absolute; left:20px; right:20px; top:0; height:3px; border-radius:0 0 3px 3px; background:linear-gradient(90deg, #2F6FB0, #82B2E6 55%, rgba(165,205,241,0))}
  body.menu-pane .ms-caret{background:#FFFFFF; box-shadow:-1px -1px 0 rgba(14,26,40,.07)}
  body.menu-pane .hdr .mega .mega-card{display:grid !important; grid-template-columns:250px minmax(0,1fr); gap:6px; padding:12px !important}
  body.menu-pane .mp-intro{display:flex; flex-direction:column; gap:8px; padding:22px 20px; border-radius:14px;
    background:radial-gradient(120% 90% at 0% 0%, #DCEAF8 0%, #EEF4FB 55%, #F6F9FD 100%)}
  body.menu-pane .mp-ico{width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:#2F6FB0; color:#FFFFFF; box-shadow:0 8px 16px -8px rgba(47,111,176,.7); margin-bottom:4px}
  body.menu-pane .mp-ico svg{width:22px; height:22px}
  body.menu-pane .mp-intro b{font:600 21px/1.15 var(--f-display); color:#2F6FB0}
  body.menu-pane .mp-intro p{margin:0; font:400 13.5px/1.5 var(--f-body); color:#4A5A70}
  body.menu-pane .hdr .mega .mega-cols{padding:14px 18px 16px !important}
  html body.menu-pane .hdr .mega-card .mega-col h4{color:#5A6A80 !important; border-bottom-color:#E6EDF5 !important}
  html body.menu-pane .hdr .mega-card .mega-col a{color:#0E1A28 !important; border-radius:10px}
  html body.menu-pane .hdr .mega-card .mega-col a:hover{color:#2F6FB0 !important; background:#EEF4FB !important}
  @media (prefers-reduced-motion:reduce){ .mega-shell, .ms-caret, html body:not(.x) .hdr .nav-item .mega{transition:none !important} html body:not(.x) .hdr.mswitch .nav-item.open .mega .mega-card{animation:none} }
}


/* rechner: no white box around the calculator */
html body:not(.x) #calcCard#calcCard.calc-card{background:transparent !important; box-shadow:none !important; border:0 !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important}


/* Pflegegrad 1–5: benefits carousel without its own box */
html body:not(.x) #topic .tp-pgc.tp-pgc.glass{background:transparent !important; box-shadow:none !important; border:0 !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; padding-left:0 !important; padding-right:0 !important}
/* menu pane: stand out from the light page – firmer edge, deeper shadow, soft page dim */
@media (hover:hover){
  html body.menu-pane .mega-shell{box-shadow:0 0 0 1px rgba(14,26,40,.12), 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 34px -16px rgba(14,26,40,.35), 0 46px 90px -30px rgba(14,26,40,.45) !important}
  .menu-dim{position:fixed; inset:0; z-index:40; pointer-events:none; background:rgba(14,26,40,.16); opacity:0; transition:opacity .18s ease}
  body:has(.hdr.mopen) .menu-dim{opacity:1}
  body:has(.hero-photo):has(.hdr.mopen) .menu-dim{opacity:.6}
  /* frosted glass on light pages: a touch more blue and a firmer edge so it doesn't melt into the background */
  body.menu-glass:not(:has(.hero-photo)) .mega-shell{background:rgba(222,235,249,.8) !important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.7), inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(14,26,40,.10), 0 18px 34px -16px rgba(14,26,40,.3), 0 40px 80px -30px rgba(14,26,40,.4) !important}
}


/* decoder: term and question sit at the top of the card, hint at the bottom */
html body #cards .face.front{justify-content:flex-start !important}
html body #cards .face.front .term{margin-top:4px !important}
html body #cards .face.front .q{margin-top:10px !important}
html body #cards .face.front .tap{margin-top:auto !important}


/* decoder cards: more breathing room inside and between the cards */
html body #decoder .cards{gap:28px !important}
html body #decoder .flip.flip{height:300px !important}
html body #cards .face.face{padding:34px 32px 30px !important}
html body #cards .face.front .term{margin-top:0 !important}
html body #cards .face.front .q{margin-top:16px !important; padding-top:20px !important}
html body #cards .face.front .tap{padding-top:18px !important}
html body #cards .face.back .ans{margin-top:16px !important; line-height:1.65 !important}
html body #cards .face.back .src{margin-top:auto !important; padding-top:18px !important}
@media (max-width:600px){ html body #decoder .flip.flip{height:280px !important} html body #cards .face.face{padding:28px 24px 24px !important} html body #decoder .cards{gap:18px !important} }


/* decoder front: term at the top, blue question in the middle, hint at the bottom */
html body #cards .face.face{padding:40px 36px 32px !important}
html body #cards .face.front .q{margin-top:auto !important; margin-bottom:auto !important; padding-top:0 !important; border:0 !important; font-size:17px !important; line-height:1.45 !important}
html body #cards .face.front .q::before, html body #cards .face.front .q::after{display:none !important}
html body #cards .face.front .tap{margin-top:0 !important; padding-top:16px !important; border-top:1px solid #E6EDF5 !important}
@media (max-width:600px){ html body #cards .face.face{padding:30px 26px 24px !important} }


/* ================= phones (≤ 600 px): tighter, more app-like layout ================= */
@media (max-width:600px){
  html body .sec{padding-top:44px !important; padding-bottom:44px !important}
  html body .sec-head{gap:10px !important; margin-bottom:22px !important}
  html body .sec-head h2, html body .pay-head h2, html body .pc-intro h2{font-size:30px !important; line-height:1.1 !important}
  html body .sec-head p{font-size:15px !important}
  /* hero */
  html body .hero.hero-photo{min-height:auto !important; padding-block:132px 54px !important}
  html body .sec.app-sec{padding-top:0 !important}
  html body .hero.hero-photo h1{font-size:38px !important; line-height:1.05 !important}
  html body .hero-lead{font-size:16px !important}
  /* app block: phone mockup fills the width */
  html body .app-dark{padding-bottom:36px !important}
  html body .app-stage{gap:26px !important; padding-top:0 !important}
  html body .app-copy h2{font-size:30px !important}
  html body .app-lead{font-size:15px !important}
  html body .app-copy .app-badges{margin:16px 0 0 !important}
  html body .phone{width:100% !important; max-width:360px !important}
  html body .phone-frame{padding:9px !important; border-radius:44px !important}
  html body .phone-island{top:17px !important; width:84px !important; height:24px !important; margin-left:-42px !important}
  html body .phone-screen{height:600px !important; border-radius:36px !important; clip-path:inset(0 round 36px) !important}
  html body .ph-clip{left:9px !important; right:9px !important; top:9px !important; bottom:9px !important; border-radius:36px !important; clip-path:inset(0 round 36px) !important}
  html body .ps-bar{height:78px !important}
  html body:not(.x) #app #paper{zoom:.66 !important}
  html body:not(.x) #app .panel{zoom:.86 !important}
  html body:not(.x) #app .phone-screen.cam #paper{zoom:.56 !important}
  html body:not(.x) #app#app .phone-screen.cam .panel{position:relative !important; z-index:4; margin-top:14px !important}
  html body:not(.x) #app#app .phone-screen.cam .demo{padding-bottom:18px !important}
  /* feature cards: compact 2 × 2 */
  html body .app-after{margin-top:6px !important}
  html body #features-grid.features{display:grid !important; grid-template-columns:1fr 1fr !important; gap:10px !important}
  html body #features-grid .feat{padding:12px !important; border-radius:16px !important}
  html body #features-grid .feat .vis{height:96px !important; min-height:0 !important; overflow:hidden; margin-bottom:10px !important; border-radius:12px !important}
  html body #features-grid .feat .vis > *{zoom:.62}
  html body #features-grid .feat h3{font-size:14.5px !important; line-height:1.25 !important; margin:0 0 4px !important}
  html body #features-grid .feat p{font-size:12.5px !important; line-height:1.4 !important}
  html body .app-after .feat::before{top:8px !important; right:8px !important; width:22px !important; height:22px !important; font-size:11.5px !important}
  /* postcard */
  html body .pc-intro{margin-top:46px !important}
  html body .pc-msg{padding:28px 20px 10px !important}
  html body .pc-addr{padding:92px 20px 20px !important}
  html body .pc-stamp{width:60px !important; height:72px !important; top:16px !important; right:16px !important}
  html body .pc-postmark{width:60px !important; height:60px !important; top:24px !important; right:64px !important}
  /* decoder: shorter cards */
  html body #decoder .cards{gap:12px !important}
  html body #decoder .flip.flip{height:196px !important}
  html body #cards .face.face{padding:22px 22px 18px !important}
  html body #cards .face .term{font-size:22px !important}
  html body #cards .face.front .q{font-size:15.5px !important}
  html body #cards .face.back .ans{font-size:14.5px !important; line-height:1.5 !important; margin-top:8px !important}
  /* benefits */
  html body .pay-sec{padding:20px 0 40px !important}
  html body .pay-sw{display:flex !important; width:100%; overflow-x:auto; flex-wrap:nowrap !important; scrollbar-width:none}
  html body .pay-sw button{flex:none; padding:9px 14px !important; font-size:13px !important}
  html body .pay-chart{height:330px !important}
  html body .pay-foot{flex-direction:column; align-items:flex-start !important}
  /* topic + calculator pages */
  html body .p-hero{padding-top:70px !important; padding-bottom:20px !important}
  html body .p-hero h1{font-size:34px !important; line-height:1.08 !important}
  html body .p-hero .lead{font-size:15.5px !important}
  html body .art-sec{padding:22px 18px !important; border-radius:20px !important}
  html body .art-sec h2{font-size:21px !important}
  html body .art-sec p{font-size:15px !important}
  html body .deck-row{gap:8px !important}
  html body .calc-card{padding-left:0 !important; padding-right:0 !important}
  html body .btn.btn.btn.start-key{font-size:19px !important; padding:17px 46px !important}
  /* Hans: a bit smaller so he covers less content */
  html body .hf{right:12px !important; bottom:12px !important}
  html body .hf-btn{width:50px !important; height:50px !important}
  html body .hf-nudge{font-size:13px !important; padding:8px 10px 8px 12px !important}
}


@media (max-width:600px){
  /* calmer text sizes on phones */
  html body{font-size:15px}
  html body p, html body li{font-size:15px}
  html body .sec-head h2, html body .pay-head h2, html body .pc-intro h2, html body .app-copy h2{font-size:26px !important}
  html body .hero.hero-photo h1{font-size:33px !important}
  html body .hero-lead, html body .app-lead{font-size:15px !important}
  /* topic pages: title much smaller, close to the menu */
  html body .p-hero{padding-top:34px !important; padding-bottom:8px !important}
  html body .p-hero h1{font-size:26px !important; line-height:1.15 !important; letter-spacing:-.01em}
  html body .p-hero .lead{font-size:15px !important; margin-top:8px !important}
  html body .art-sec h2{font-size:19px !important}
  /* open menu: one clean column that fits the phone */
  html body .hdr .mega .mega-cols{display:block !important; padding:18px 20px 20px !important; max-height:70vh; overflow-y:auto}
  html body .hdr .mega .mega-col{margin-bottom:14px}
  html body .hdr .mega .mega-col h4{margin-bottom:6px !important}
  html body .hdr .mega .mega-col a{padding:8px 10px !important; font-size:15px !important}
  html body .hdr .mega .mega-col ul{display:grid; grid-template-columns:1fr 1fr; gap:0 8px}
  /* flow steps: arrows centred under each card */
  html body .flow li:not(:last-child)::after{left:50% !important; margin-left:-4px; bottom:-9px !important}
  /* benefits carousel: one full card, no cut-off neighbours */
  html body .pgc-track{padding:10px 0 14px !important; margin:0 !important; gap:12px !important}
  html body .pgc-card{flex-basis:100% !important}
  /* feature cards: one swipe row instead of a squeezed 2 × 2 */
  html body #features-grid.features{display:flex !important; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px !important; margin:0 -20px; padding:4px 20px 14px; scrollbar-width:none}
  html body #features-grid.features::-webkit-scrollbar{display:none}
  html body #features-grid .feat{flex:0 0 74%; scroll-snap-align:center}
  html body #features-grid .feat .vis{height:120px !important}
  html body #features-grid .feat .vis > *{zoom:.75}
  html body #features-grid .feat h3{font-size:16px !important}
  html body #features-grid .feat p{font-size:13.5px !important}
  /* decoder: all six cards visible at once, 2 per row */
  html body #decoder .cards{grid-template-columns:1fr 1fr !important; gap:10px !important}
  html body #decoder .flip.flip{height:150px !important}
  html body #cards .face.face{padding:16px 14px 12px !important; border-radius:16px !important}
  html body #cards .face .term{font-size:16px !important; line-height:1.15 !important; overflow-wrap:anywhere; hyphens:auto}
  html body #cards .face.front .q{font-size:12.5px !important; line-height:1.35 !important}
  html body #cards .face.front .tap{font-size:10.5px !important; padding-top:8px !important}
  html body #cards .face.front .tap svg{width:11px !important; height:11px !important}
  html body #cards .face.back .lab{font-size:9.5px !important}
  html body #cards .face.back .ans{font-size:11.5px !important; line-height:1.4 !important; margin-top:4px !important}
  html body #cards .face.back .src{font-size:9.5px !important; padding-top:4px !important}
  html body .face .term .term-en{font-size:11px !important}
  /* benefits switch: all three tabs readable in one row */
  html body .pay-sw{overflow:visible !important; padding:4px !important; width:100%; justify-content:space-between}
  html body .pay-sw button{flex:1 1 auto; padding:8px 6px !important; font-size:11.5px !important; text-align:center}
  /* postcard: a normal postcard, scaled to the phone (see app_bg.js) */
  html body:not(.x) .postcard.pc-fit{display:grid !important; grid-template-columns:1.1fr 1fr !important; width:680px !important; transform:rotate(-1.2deg)}
  html body .postcard.pc-fit::before{display:block !important}
  html body .postcard.pc-fit .pc-msg{padding:36px 30px 26px 32px !important; border-bottom:0 !important}
  html body .postcard.pc-fit .pc-addr{padding:128px 28px 24px 30px !important}
  html body .postcard.pc-fit .pc-stamp{width:74px !important; height:88px !important; top:20px !important; right:22px !important}
  html body .postcard.pc-fit .pc-postmark{width:74px !important; height:74px !important; top:34px !important; right:78px !important}
  html body .postcard.pc-fit .pc-hand{font-size:calc(25px * var(--hs)) !important}
  html body .postcard-wrap.pc-end{justify-content:flex-start !important}
}

@media (max-width:600px){
  /* demo phone: never traps the scroll – the page keeps scrolling past it */
  html body .phone-screen{overscroll-behavior:auto !important; height:540px !important}
  /* topic pages: headline right under the menu */
  html body .p-hero{padding-top:10px !important}
  html body .p-hero h1{margin-top:0 !important}
  /* open menu: calm, solid sheet – one link per row, clear group headings */
  html body .hdr .mega, html body .hdr .mega-shell{left:0 !important; right:0 !important; width:auto !important}
  html body .hdr .mega .mega-card{background:#FFFFFF !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
    border-radius:0 0 22px 22px !important; box-shadow:0 24px 40px -18px rgba(14,26,40,.35) !important; padding:0 !important}
  html body .mega-shell{background:#FFFFFF !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important}
  html body .hdr .mega .mp-intro{display:none !important}
  html body .hdr .mega .mega-cols{padding:8px 20px 14px !important; max-height:calc(100vh - 110px); overflow-y:auto; overscroll-behavior:contain}
  html body .hdr .mega .mega-col{margin:0 !important; padding:12px 0 4px !important}
  html body .hdr .mega .mega-col + .mega-col{border-top:1px solid rgba(14,26,40,.08)}
  html body .hdr .mega .mega-col h4{font-size:11px !important; letter-spacing:.12em !important; margin:0 0 4px !important; border:0 !important; padding:0 !important}
  html body .hdr .mega .mega-col h4::after{display:none !important}
  html body .hdr .mega .mega-col ul{display:block !important}
  html body .hdr .mega .mega-col li{margin:0 !important}
  html body .hdr .mega .mega-col a{display:flex !important; align-items:center; justify-content:space-between; padding:11px 2px !important; font-size:16px !important; line-height:1.25 !important; border-radius:0 !important; background:none !important}
  html body .hdr .mega .mega-col a::after{content:"›"; font-size:20px; line-height:1; color:#9AA8BA; margin-left:12px}
  /* feature cards: stacked, nothing hidden to the side */
  html body #features-grid.features{display:grid !important; grid-template-columns:1fr !important; overflow:visible !important; margin:0 !important; padding:4px 0 10px !important; gap:12px !important}
  html body #features-grid .feat{flex:none !important}
  html body #features-grid .feat .vis{height:110px !important}
  /* Pflegegrad 1–5 cards: one per row, so grade 5 is never alone */
  html body .pgg{grid-template-columns:1fr !important; gap:10px !important}
}

@media (max-width:600px){
  /* menu sheet: solid white, fully scrollable, nothing cut off */
  html body:not(.x):not(.y) .mega-shell.mega-shell{background:#FFFFFF !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
    border-radius:0 0 22px 22px !important; box-shadow:0 26px 40px -16px rgba(14,26,40,.35), 0 1px 0 rgba(14,26,40,.06) !important}
  html body:not(.x) .hdr .nav-item .mega .mega-card.mega-card{max-height:calc(100vh - 96px) !important; overflow-y:auto !important; overflow-x:hidden !important; overscroll-behavior:contain}
  html body:not(.x) .hdr .mega .mega-cols.mega-cols{max-height:none !important; overflow:visible !important; padding:6px 22px 16px !important}
  html body .hdr .mega .mega-col h4{color:#2F6FB0 !important}
  html body .hdr .mega .mega-col a{color:#0E1A28 !important}
  /* topic pages: first card closer to the intro */
  html body .p-hero{padding-bottom:0 !important}
  html body .p-hero + * , html body main > .wrap:first-of-type{margin-top:0 !important}
}

@media (max-width:600px){
  html body .p-hero + .sec.tp-main{padding-top:20px !important}
  /* grade cards: compact rows – number, name and points on one line */
  html body .pgg{gap:8px !important}
  html body .pgg .pgg-c{display:grid !important; grid-template-columns:auto 1fr auto; align-items:center; gap:0 12px; padding:10px 14px !important; min-height:0 !important}
  html body .pgg .pgg-c .pgg-n{margin:0 !important}
  html body .pgg .pgg-c small{margin:0 !important}
  html body .pgg .pgg-c > div{text-align:right; margin:0 !important}
  html body .pgg .pgg-c > div em{display:block; font-size:11px !important}
  html body .pgg .pgg-c > div b{font-size:16px !important}
}

@media (max-width:600px){
  /* whole site a size smaller on phones: more fits on screen, like a native app */
  html{zoom:1}
}

@media (max-width:600px){
  /* phone menu: one round button with three lines, categories open in a sheet */
  html body:not(.x) .hdr .nav{display:none !important}
  html body:not(.x) .hdr-in{flex-wrap:nowrap !important; min-height:64px !important; padding-block:8px !important; gap:10px}
  html body:not(.x) .hdr .lang{margin-left:auto !important}
  html body:not(.x) .hdr .burger.burger{display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:4px; flex:none;
    width:42px !important; height:42px !important; padding:0 !important; margin:0 !important; border-radius:50% !important;
    background:#FFFFFF !important; border:1px solid rgba(14,26,40,.12) !important; box-shadow:0 2px 0 rgba(14,26,40,.08) !important; cursor:pointer}
  html body:not(.x) .hdr .burger.burger span{width:18px !important; height:2px !important; margin:0 !important; border-radius:2px; background:#0E1A28 !important; transition:transform .25s, opacity .2s}
  html body:not(.x) .hdr .burger.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  html body:not(.x) .hdr .burger.open span:nth-child(2){opacity:0}
  html body:not(.x) .hdr .burger.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  html body:has(.hero-photo):not(.x) .hdr .burger.burger{background:rgba(255,255,255,.14) !important; border-color:rgba(255,255,255,.4) !important; box-shadow:none !important}
  html body:has(.hero-photo):not(.x) .hdr .burger.burger span{background:#FFFFFF !important}
  html body:not(.x) .drawer.drawer{display:block !important; position:absolute !important; z-index:60 !important; top:66px !important; left:12px !important; right:12px !important; bottom:auto !important;
    min-height:0 !important; max-height:calc(100vh - 90px); overflow-y:auto; overscroll-behavior:contain; padding:6px 18px 16px !important;
    background:#FFFFFF !important; border-radius:22px !important; box-shadow:0 30px 50px -20px rgba(14,26,40,.4), 0 0 0 1px rgba(14,26,40,.06) !important;
    opacity:0; visibility:hidden; transform:translateY(-8px) scale(.98) !important; transform-origin:top right; transition:opacity .2s ease-out, transform .25s cubic-bezier(.2,.7,.2,1), visibility 0s .25s !important}
  html body:not(.x) .drawer.drawer.open{opacity:1; visibility:visible; transform:none !important; transition:opacity .2s ease-out, transform .25s cubic-bezier(.2,.7,.2,1) !important}
  html body .drawer .d-link, html body .drawer .d-acc summary{display:flex; justify-content:space-between; align-items:center; padding:15px 2px !important; font:600 17px/1.2 Inter, system-ui, sans-serif !important; color:#0E1A28 !important; text-decoration:none; border-bottom:1px solid rgba(14,26,40,.08)}
  html body .drawer .d-acc{border:0 !important}
  html body .drawer .d-acc[open] summary{color:#2F6FB0 !important; border-bottom-color:transparent}
  html body .drawer .d-col.d-col{background:#F4F8FD !important; box-shadow:none !important; border:0 !important; border-radius:14px !important; padding:10px 14px 6px !important; margin:0 0 8px !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important}
  html body .drawer .d-col h4{font:500 10.5px/1.2 ui-monospace, Menlo, monospace !important; letter-spacing:.12em !important; color:#2F6FB0 !important; margin:4px 0 2px !important}
  html body .drawer .d-col a{display:block; padding:9px 0 !important; font-size:15.5px !important; color:#0E1A28 !important; text-decoration:none; border-top:1px solid rgba(14,26,40,.06)}
  html body .drawer .d-col h4 + a{border-top:0}
  html body .drawer .d-lang{display:none !important}
}
@media (max-width:600px){ html body .drawer .d-acc:last-of-type:not([open]) summary{border-bottom:0 !important} }

@media (max-width:600px){
  /* demo phone: smaller and centred, page scrolls freely past it */
  html body #app .phone{zoom:.74; margin-left:auto !important; margin-right:auto !important}
  html body #app .phone-screen{height:760px !important}
}

@media (max-width:600px){
  /* feature cards: two side by side, like the decoder cards */
  html body #features-grid.features{grid-template-columns:1fr 1fr !important; gap:10px !important}
  html body #features-grid .feat{padding:10px 10px 12px !important; border-radius:16px !important; min-width:0}
  html body #features-grid .feat .vis{height:84px !important; margin-bottom:8px !important; overflow:hidden}
  html body #features-grid .feat .vis > *{zoom:.5 !important}
  html body #features-grid .feat h3{font-size:14px !important; line-height:1.2 !important; margin:0 0 4px !important}
  html body #features-grid .feat p{font-size:12px !important; line-height:1.4 !important}
}

@media (max-width:600px){
  /* 2 × 2 feature cards: larger, easier to read */
  html body #features-grid .feat{padding:12px 12px 14px !important}
  html body #features-grid .feat .vis{height:96px !important}
  html body #features-grid .feat .vis > *{zoom:.58 !important}
  html body #features-grid .feat h3{font-size:16.5px !important; line-height:1.2 !important; margin:0 0 6px !important}
  html body #features-grid .feat p{font-size:14.5px !important; line-height:1.4 !important}
  /* decoder cards: larger text as well */
  html body #decoder .flip.flip{height:184px !important}
  html body #cards .face .term{font-size:18px !important}
  html body #cards .face.front .q{font-size:14px !important}
  html body #cards .face.front .tap{font-size:11.5px !important}
  html body #cards .face.back .ans{font-size:12px !important; line-height:1.38 !important}
}

@media (max-width:600px){
  /* hero with the photo: fills the first screen, big eye-catching headline */
  html body .hero.hero-photo h1{font-size:54px !important; line-height:1.04 !important; letter-spacing:-.025em !important; margin:10px 0 16px !important}
  html body .hero.hero-photo .eyebrow, html body .hero.hero-photo .kicker{font-size:12px !important}
  html body .hero.hero-photo .hero-lead{font-size:18.5px !important; line-height:1.5 !important; max-width:none !important}
  html body .hero.hero-photo .btn.btn{font-size:16.5px !important; padding:15px 22px !important}
  html body .hero.hero-photo .hero-meta, html body .hero.hero-photo .hero-meta *{font-size:15px !important}
}

@media (max-width:600px){
  /* start page: section headlines clearly bigger and bolder than the text */
  html body:has(.hero-photo):not(.x) section h2:not(.x), html body:has(.hero-photo):not(.x) #app h2:not(.x){font-size:34px !important; line-height:1.1 !important; font-weight:700 !important; letter-spacing:-.025em !important; margin-bottom:12px !important}
  html body:has(.hero-photo):not(.x) .hero.hero-photo h1:not(.x){font-weight:700 !important}
  html body:has(.hero-photo) .eyebrow, html body:has(.hero-photo) .kicker, html body:has(.hero-photo) .sec-tag, html body:has(.hero-photo) .tag{font-size:12.5px !important; font-weight:600 !important}
}

@media (max-width:600px){
  html body:has(.hero-photo):not(.x) section h2:not(.x), html body:has(.hero-photo):not(.x) #app h2:not(.x){color:#2F6FB0 !important}
  html body:has(.hero-photo):not(.x) #app .app-dark h2:not(.x){color:#A5CDF1 !important}
}


/* ===== Readability layer (audience 50–60): real sizes, stronger contrast, big tap targets. Loaded last. ===== */
html body{zoom:1 !important; font-size:17px; line-height:1.6}
html body:not(.x) p, html body:not(.x) li{color:#24344A}
html body:not(.x) .foot p, html body:not(.x) .foot li, html body:not(.x) .app-dark p, html body:not(.x) .hero-photo p{color:inherit}

/* text */
html body:not(.x) .art-sec p, html body:not(.x) article.glass > p, html body:not(.x) .art-sec li{font-size:18px !important; line-height:1.65 !important; color:#24344A !important}
html body:not(.x) .p-hero .lead{font-size:19.5px !important; line-height:1.55 !important; color:#24344A !important}
html body:not(.x) .sec-head p, html body:not(.x) .pc-intro p, html body:not(.x) .app-lead, html body:not(.x) .hero-lead{font-size:18.5px !important; line-height:1.55 !important}
html body:not(.x) .sec-head p, html body:not(.x) .pc-intro p{color:#24344A !important}
html body:not(.x) .src-note{font-size:15px !important; color:#3C4C62 !important}

/* small labels: readable, calmer spacing */
html body:not(.x) .eyebrow, html body:not(.x) .sec-tag{font-size:13.5px !important; letter-spacing:.09em !important; font-weight:600 !important}
html body:not(.x) a.cite, html body:not(.x) .cite{font-size:13px !important; min-width:22px; height:22px; line-height:22px !important}

/* header + buttons: 48px tap targets */
html body:not(.x) .hdr .nav-btn{font-size:16.5px !important; padding:12px 14px !important; color:#24344A !important}
html body:has(.hero-photo):not(.x) .hdr .nav-btn{color:#FFFFFF !important}
html body:not(.x) .hdr .lang-btn{font-size:15px !important; min-height:42px}
html body:not(.x) .lang-code{font-size:15px !important}
html body:not(.x) .btn.btn, html body:not(.x) .sc-btn.sc-btn{font-size:16.5px !important; min-height:48px; padding:13px 22px !important}
html body:not(.x) .mega .mega-col a{font-size:16.5px !important; padding-block:9px !important}
html body:not(.x) .mega .mega-col h4{font-size:13px !important}
html body:not(.x) .mega .mp-intro p{font-size:15px !important}

/* footer */
html body:not(.x) .foot li > a, html body:not(.x) .foot ul > li{font-size:16px !important; line-height:1.5 !important}
html body:not(.x) .foot summary h5, html body:not(.x) .foot h5{font-size:14px !important}
html body:not(.x) .foot .legal, html body:not(.x) .foot .legal *{font-size:14.5px !important}

/* start page */
html body:not(.x) #features-grid .feat h3{font-size:19px !important}
html body:not(.x) #features-grid .feat p{font-size:16.5px !important; line-height:1.5 !important; color:#24344A !important}
html body:not(.x) #cards .face .term{font-size:21px !important}
html body:not(.x) #cards .face.front .q{font-size:17px !important; line-height:1.4 !important}
html body:not(.x) #cards .face.front .tap{font-size:14px !important}
html body:not(.x) #cards .face.back .lab{font-size:13px !important}
html body:not(.x) #cards .face.back .ans{font-size:16px !important; line-height:1.45 !important}
html body:not(.x) #cards .face.back .src{font-size:13px !important}
html body:not(.x) #decoder .flip.flip{height:250px !important}
html body:not(.x) .pay-sw button{font-size:16px !important; min-height:44px}
html body:not(.x) .pay-lvl, html body:not(.x) .pay-lvl span{font-size:14.5px !important}
html body:not(.x) .pay-amt b{font-size:18px !important}
html body:not(.x) .pay-amt small{font-size:13.5px !important}
html body:not(.x) .pay-foot, html body:not(.x) .pay-foot span, html body:not(.x) .pay-link span{font-size:15.5px !important}
html body:not(.x) .app-badge, html body:not(.x) .app-badge span{font-size:14.5px !important}
html body:not(.x) .hero-meta, html body:not(.x) .hero-meta *{font-size:15.5px !important}

/* calculator */
html body:not(.x) .pgc-sub{font-size:16px !important}
html body:not(.x) .pgc-head span{font-size:13.5px !important}
html body:not(.x) .pgc-dots button{font-size:15px !important; min-width:40px; min-height:40px}
html body:not(.x) .src-group h4{font-size:13.5px !important}
html body:not(.x) .src-h{font-size:15.5px !important}
html body:not(.x) .dc-t b{font-size:17px !important}
html body:not(.x) .dc-t small{font-size:14.5px !important}
html body:not(.x) .start-meta{font-size:15.5px !important}

/* topic pages */
html body:not(.x) .lr-v span{font-size:15.5px !important}
html body:not(.x) .lr-v span em{font-size:13px !important}
html body:not(.x) .lr-n{font-size:17px !important}
html body:not(.x) .note-x span{font-size:16.5px !important; line-height:1.5 !important}
html body:not(.x) .pgg-c small{font-size:13px !important}
html body:not(.x) .pgg-c .pgg-n{font-size:16px !important}
html body:not(.x) .pgg-c em{font-size:13.5px !important}
html body:not(.x) .flow li b{font-size:17.5px !important}
html body:not(.x) .flow li small{font-size:15.5px !important; line-height:1.45 !important; color:#3C4C62 !important}
html body:not(.x) .flow-n{font-size:15px !important}
html body:not(.x) .cmp-h small{font-size:14.5px !important}
html body:not(.x) .cmp-vs{font-size:13.5px !important}
html body:not(.x) .pchk span{font-size:17.5px !important; line-height:1.45 !important}
html body:not(.x) .pgroup h4{font-size:14px !important}
html body:not(.x) .qtip{font-size:14px !important; width:26px !important; height:26px !important}
html body:not(.x) .icard b{font-size:18px !important}
html body:not(.x) .icard em{font-size:13.5px !important}
html body:not(.x) .icard span{font-size:16px !important}
html body:not(.x) .pt-cap{font-size:16px !important}

/* second pass */
html body:not(.x) .pgc-card ul li > span, html body:not(.x) .pgc-card li span{font-size:16.5px !important}
html body:not(.x) .pgc-card li span > em, html body:not(.x) .pgc-card li em{font-size:13.5px !important}
html body:not(.x) .pgc-card li b{font-size:18px !important}
html body:not(.x) .pgc-top small{font-size:14px !important}
html body:not(.x) .srcs-list a.glass span.k{font-size:13.5px !important}
html body:not(.x) .srcs-list a.glass span > b, html body:not(.x) .srcs-list a.glass span{font-size:16px !important}
html body:not(.x) .srcs-list a.glass span.k{font-size:13.5px !important}
html body:not(.x) details.src-box summary > b.src-h{font-size:16px !important}
html body:not(.x) .pgg .pgg-c > div em{font-size:13.5px !important}
html body:not(.x) .hero.hero-photo .eyebrow{font-size:13.5px !important}
html body:not(.x) .ct-txt small{font-size:14.5px !important}
html body:not(.x) .ct-txt b{font-size:18px !important}
html body:not(.x) .wv3-bar b{font-size:13px !important}
html body:not(.x) #cards .face.back .ans b{font-size:inherit !important}
html body:not(.x) .foot summary h5, html body:not(.x) .foot h5{font-size:15px !important}
html body:not(.x) .foot .legal, html body:not(.x) .foot .legal *{font-size:15px !important}
html body:not(.x) .plist h3 small{font-size:14.5px !important}
html body:not(.x) .toggle-row small{font-size:15px !important}

/* calculator, while answering */
html body:not(.x) .meter h4{font-size:13px !important}
html body:not(.x) .gauge-read span, html body:not(.x) .gauge-read small{font-size:13.5px !important}
html body:not(.x) .rail-pos{font-size:13.5px !important}
html body:not(.x) .rail-all{font-size:15.5px !important}
html body:not(.x) .meter small{font-size:13.5px !important}

html body:not(.x) .face-legend em{font-size:15px !important; line-height:1.25 !important; color:#24344A !important}
html body:not(.x) .q .q-t span:not(.id){font-size:17.5px !important; line-height:1.35 !important}
html body:not(.x) .q .q-t .id{font-size:14px !important}
html body:not(.x) .seg.faces .face-btn{min-width:56px; min-height:56px}

@media (max-width:600px){
  html{zoom:1 !important}
  html body{font-size:17px}
  html body:not(.x) .art-sec p, html body:not(.x) article.glass > p, html body:not(.x) .art-sec li{font-size:17px !important; line-height:1.6 !important}
  html body:not(.x) .p-hero .lead, html body:not(.x) .sec-head p, html body:not(.x) .pc-intro p, html body:not(.x) .app-lead{font-size:17px !important}
  html body:not(.x) .p-hero h1{font-size:29px !important}
  html body:not(.x) .art-sec h2{font-size:22px !important}
  /* start page */
  html body:not(.x) .hero.hero-photo h1:not(.x){font-size:42px !important}
  html body:not(.x) .hero.hero-photo .hero-lead{font-size:18px !important}
  html body:not(.x) .hero.hero-photo .hero-cta{display:grid !important; grid-template-columns:1fr; gap:10px !important}
  html body:not(.x) .hero.hero-photo .hero-cta .btn{justify-content:center; width:100%}
  html body:has(.hero-photo):not(.x) section h2:not(.x), html body:has(.hero-photo):not(.x) #app h2:not(.x){font-size:29px !important}
  html body:not(.x) #app .phone{zoom:.66 !important}
  /* feature cards: one per row – picture left, big text right */
  html body:not(.x) #features-grid.features{grid-template-columns:1fr !important; gap:12px !important}
  html body:not(.x) #features-grid .feat{display:grid !important; grid-template-columns:104px 1fr; column-gap:14px; align-items:center; padding:14px !important}
  html body:not(.x) #features-grid .feat .vis{grid-row:1 / span 2; height:104px !important; margin:0 !important}
  html body:not(.x) #features-grid .feat .vis > *{zoom:.42 !important}
  html body:not(.x) #features-grid .feat h3{font-size:18px !important; margin:0 0 4px !important; align-self:end}
  html body:not(.x) #features-grid .feat p{font-size:16px !important; line-height:1.45 !important; align-self:start}
  /* decoder: two per row, readable on both sides */
  html body:not(.x) #cards .face.face{padding:14px 12px 12px !important}
  html body:not(.x) #cards .face .term{font-size:18px !important}
  html body:not(.x) #cards .face.front .q{font-size:15.5px !important}
  html body:not(.x) #cards .face.front .tap{font-size:13px !important}
  html body:not(.x) #cards .face.back .ans{font-size:14.5px !important; line-height:1.38 !important}
  html body:not(.x) #decoder .flip.flip{height:292px !important}
  html body:not(.x) .pay-sw button{font-size:14px !important; padding:10px 6px !important}
  /* menu sheet */
  html body .drawer .d-link, html body .drawer .d-acc summary{font-size:19px !important; padding:17px 2px !important}
  html body .drawer .d-col a{font-size:17.5px !important; padding:12px 0 !important}
  html body .drawer .d-col h4{font-size:12.5px !important}
  html body:not(.x) .hdr .burger.burger{width:48px !important; height:48px !important}
  html body:not(.x) .hdr .lang-btn{min-height:44px}
  /* grade rows */
  html body:not(.x) .pgg .pgg-c > div b{font-size:18px !important}
  html body:not(.x) .foot li > a{padding-block:6px !important; display:inline-block}
}

@media (max-width:600px){
  /* benefits switch: three full-width choices, easy to hit */
  html body:not(.x) .pay-sw{display:grid !important; grid-template-columns:1fr; gap:6px; padding:6px !important; border-radius:22px !important; width:100%}
  html body:not(.x) .pay-sw button{font-size:16.5px !important; padding:12px 10px !important; min-height:46px; border-radius:16px !important; white-space:normal}
  html body:not(.x) .pay-lvl{font-size:0 !important}
  html body:not(.x) .pay-lvl span{font-size:15px !important}
  html body:not(.x) .pay-amt b{font-size:17px !important}
}
html body:not(.x) #cards .face .ans, html body:not(.x) #cards .face .term, html body:not(.x) #cards .face .q{overflow-wrap:anywhere; hyphens:auto}

@media (max-width:600px){
  /* grade cards: number + name on top, each value as its own clear row */
  html body:not(.x) .pgg .pgg-c{grid-template-columns:auto 1fr !important; gap:0 10px !important; padding:12px 14px !important}
  html body:not(.x) .pgg .pgg-c small{font-size:14px !important; letter-spacing:.06em !important; text-align:left}
  html body:not(.x) .pgg .pgg-c > div{grid-column:1 / -1; display:flex !important; justify-content:space-between; align-items:baseline; gap:12px; text-align:right !important; margin-top:8px !important; padding-top:8px; border-top:1px solid rgba(14,26,40,.08)}
  html body:not(.x) .pgg .pgg-c > div em{display:inline !important; font-size:14.5px !important; text-align:left; flex:none}
  html body:not(.x) .pgg .pgg-c > div b{font-size:17px !important}
  /* amounts per grade: never break the € onto its own line */
  html body:not(.x) .lr-v{gap:3px !important}
  html body:not(.x) .lr-v span{font-size:13.5px !important; letter-spacing:-.02em; white-space:nowrap; padding-inline:0 !important}
  html body:not(.x) .lr-v span em{font-size:13px !important}
}


@media (max-width:600px){
  /* decoder: wide, flat cards – one per row */
  html body:not(.x) #decoder .cards{grid-template-columns:1fr !important; gap:10px !important}
  html body:not(.x) #decoder .flip.flip{height:176px !important}
  html body:not(.x) #cards .face.face{padding:16px 18px 14px !important}
  html body:not(.x) #cards .face .term{font-size:20px !important}
  html body:not(.x) #cards .face.front .q{font-size:16.5px !important}
  html body:not(.x) #cards .face.back .ans{font-size:15.5px !important; line-height:1.4 !important}
}
@media (max-width:600px){ html body:not(.x) #cards .face .ans, html body:not(.x) #cards .face .term, html body:not(.x) #cards .face .q{overflow-wrap:break-word !important; hyphens:manual !important} html body:not(.x) #decoder .cards{gap:14px !important} }

@media (max-width:600px){
  /* phone menu sheet: same frosted light-blue glass as the desktop menu */
  html body:not(.x) .drawer.drawer{background:rgba(222,235,249,.78) !important; -webkit-backdrop-filter:blur(22px) saturate(1.4) !important; backdrop-filter:blur(22px) saturate(1.4) !important;
    box-shadow:0 30px 50px -20px rgba(14,26,40,.35), inset 0 0 0 1px rgba(255,255,255,.6) !important}
  html body .drawer .d-link, html body .drawer .d-acc summary{border-bottom-color:rgba(14,26,40,.1) !important}
  html body .drawer .d-col.d-col{background:rgba(255,255,255,.55) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.7) !important}
  html body .drawer .d-col a{border-top-color:rgba(14,26,40,.07) !important}
}

.pc-signup, .dec-more-btn{display:none}
@media (max-width:600px){
  /* scan demo without the phone: a plain scanner card, the page scrolls normally */
  html body:not(.x) #app .phone{zoom:1 !important; width:100% !important; max-width:none !important; margin:22px 0 0 !important}
  html body:not(.x) #app .phone-frame{padding:0 !important; background:none !important; box-shadow:none !important; border-radius:0 !important}
  html body:not(.x) #app .phone-frame::before, html body:not(.x) #app .phone-frame::after, html body:not(.x) #app .phone-island, html body:not(.x) #app .ps-bar{display:none !important}
  html body:not(.x) #app .phone-screen{height:auto !important; overflow:visible !important; clip-path:none !important; border-radius:22px !important; padding-bottom:6px}
  html body:not(.x) #app .phone-screen.cam{padding-top:12px}
  /* letters to flip through */
  html body:not(.x) #app #ltabs.letter-tabs{display:flex !important; flex-wrap:nowrap !important; overflow-x:auto; scrollbar-width:none; gap:6px !important; margin:0 0 14px !important; padding:5px !important; width:100%;
    background:rgba(255,255,255,.08) !important; border-radius:16px !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.14) !important}
  html body:not(.x) #app #ltabs::-webkit-scrollbar{display:none}
  html body:not(.x) #app #ltabs .ltab{flex:1 0 auto; padding:10px 14px !important; border-radius:12px !important; text-align:center}
  html body:not(.x) #app #ltabs .ltab b{font:600 16px/1.2 Inter, system-ui, sans-serif !important; color:#FFFFFF}
  html body:not(.x) #app #ltabs .ltab span{font-size:13px !important; color:#C9D6E6}
  html body:not(.x) #app #ltabs .ltab[aria-selected="true"]{background:#FFFFFF !important}
  html body:not(.x) #app #ltabs .ltab[aria-selected="true"] b{color:#0E1A28}
  html body:not(.x) #app #ltabs .ltab[aria-selected="true"] span{color:#4A5A70}

  /* decoder: a bit smaller, 3 cards first, the rest on demand */
  html body:not(.x) #cards:not(.dec-all) > .flip:nth-child(n+4){display:none !important}
  html body:not(.x) #decoder .flip.flip{height:168px !important}
  html body:not(.x) #cards .face.face{padding:14px 16px 12px !important}
  html body:not(.x) #cards .face .term{font-size:19px !important}
  html body:not(.x) #cards .face.front .q{font-size:16px !important}
  html body:not(.x) #cards .face.back .ans{font-size:15px !important; line-height:1.38 !important}
  html body:not(.x) .dec-more-btn{display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:12px; min-height:52px; border:0; border-radius:999px; cursor:pointer;
    background:#FFFFFF; color:#2F6FB0; font:600 17px/1 Inter, system-ui, sans-serif; box-shadow:inset 0 0 0 1px rgba(47,111,176,.25), 0 3px 0 rgba(14,26,40,.08)}
  html body:not(.x) .dec-more-btn svg{width:18px; height:18px; transition:transform .2s}
  html body:not(.x) .dec-more-btn.up svg{transform:rotate(180deg)}

  /* postcard: just the card – the e-mail is typed in the box below it */
  html body:not(.x) .postcard .pc-send, html body:not(.x) .postcard .pc-fine, html body:not(.x) .postcard .pc-arrow{display:none !important}
  html body:not(.x) .postcard #soonMail{pointer-events:none}
  html body:not(.x) .pc-signup{display:block; margin:22px 0 0; padding:20px 18px 18px; border-radius:22px; background:#FFFFFF; box-shadow:0 0 0 1px rgba(14,26,40,.07), 0 14px 30px -18px rgba(14,26,40,.3)}
  html body:not(.x) .pc-signup .pcs-l{display:block; font:700 19px/1.3 Inter, system-ui, sans-serif; color:#2F6FB0; margin-bottom:12px}
  html body:not(.x) .pc-signup input{display:block; width:100%; box-sizing:border-box; min-height:56px; padding:14px 16px; border-radius:16px; border:1.5px solid #A5CDF1; background:#F4F8FD; font:500 18px/1.2 Inter, system-ui, sans-serif; color:#0E1A28}
  html body:not(.x) .pc-signup input:focus{outline:none; border-color:#2F6FB0; background:#FFFFFF; box-shadow:0 0 0 4px rgba(47,111,176,.15)}
  html body:not(.x) .pc-signup .pcs-send.btn{width:100%; justify-content:center; margin-top:12px; min-height:54px; background:#2F6FB0 !important; background-color:#2F6FB0 !important; color:#FFFFFF !important; font-size:17px !important}
  html body:not(.x) .pc-signup .pcs-send svg{width:18px; height:18px}
  html body:not(.x) .pc-signup .pcs-fine{margin:10px 0 0; font-size:15px; color:#3C4C62}
  html body:not(.x) .pc-signup .pcs-err{margin:8px 0 0; font-size:15.5px; color:#B23B3B}
  html body:not(.x) .pc-signup .pcs-err:empty{display:none}
  html body:not(.x) .postcard-wrap.sent + .pc-signup{display:none}

  /* calculator: smaller smileys, bigger words */
  html body:not(.x) .seg.faces .face-btn{min-width:0 !important; min-height:0 !important; height:48px !important; padding:4px !important}
  html body:not(.x) .seg.faces .face-btn svg.smiley{width:30px !important; height:30px !important}
  html body:not(.x) .q .q-t span:not(.id){font-size:19px !important}
  html body:not(.x) .q .q-t .id{font-size:15px !important}
  html body:not(.x) .calc-card > p{font-size:18px !important; line-height:1.45 !important}
  html body:not(.x) .face-legend em{font-size:16.5px !important}
  html body:not(.x) .face-legend svg.smiley{width:24px !important; height:24px !important}
}

@media (max-width:600px){
  html body:not(.x) #app .app-stage{display:block !important}
  html body:not(.x) #app .phone, html body:not(.x) #app .phone-screen, html body:not(.x) #app .demo, html body:not(.x) #app #scanner{min-width:0 !important; max-width:100% !important; box-sizing:border-box}
  html body:not(.x) #app #ltabs.letter-tabs{flex-direction:column !important; overflow:visible !important}
  html body:not(.x) #app #ltabs .ltab{display:flex !important; align-items:baseline; justify-content:space-between; gap:10px; text-align:left !important; flex:none !important; padding:11px 14px !important}
}

@media (max-width:600px){
  html body:not(.x):not(.y) #app #ltabs .ltab.ltab{background:transparent !important; background-color:transparent !important; box-shadow:none !important; border:0 !important}
  html body:not(.x):not(.y) #app #ltabs .ltab.ltab b{color:#FFFFFF !important}
  html body:not(.x):not(.y) #app #ltabs .ltab.ltab span{color:#B9C9DC !important; text-align:right}
  html body:not(.x):not(.y) #app #ltabs .ltab.ltab[aria-selected="true"]{background:#FFFFFF !important; background-color:#FFFFFF !important; box-shadow:0 2px 0 rgba(0,0,0,.25) !important}
  html body:not(.x):not(.y) #app #ltabs .ltab.ltab[aria-selected="true"] b{color:#0E1A28 !important}
  html body:not(.x):not(.y) #app #ltabs .ltab.ltab[aria-selected="true"] span{color:#2F6FB0 !important}
}

.bf{display:none}
@media (max-width:600px){
  html body:not(.x) #app .phone{display:none !important}
  html body:not(.x) .bf{display:block; margin-top:24px}
  html body:not(.x) .bf-card{background:#FFFFFF; border-radius:24px; overflow:hidden; box-shadow:0 24px 50px -24px rgba(0,0,0,.6); color:#0E1A28; transition:opacity .16s ease-out, transform .16s ease-out}
  html body:not(.x) .bf-card.out{opacity:0; transform:translateX(-12px)}
  html body:not(.x) .bf-top{display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:16px 18px 12px; border-bottom:1px solid rgba(14,26,40,.08)}
  html body:not(.x) .bf-top b{font:700 18px/1.25 Inter, system-ui, sans-serif}
  html body:not(.x) .bf-top span{font-size:14px; color:#2F6FB0; text-align:right}
  html body:not(.x) .bf-l{display:flex; align-items:center; gap:8px; font:600 13px/1 Inter, system-ui, sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#4A5A70; margin-bottom:8px}
  html body:not(.x) .bf-amt{padding:14px 18px 16px; background:#F6F3EC}
  html body:not(.x) .bf-amt p{margin:0; font:400 16.5px/1.5 Georgia, 'Times New Roman', serif !important; color:#3C4250 !important}
  html body:not(.x) .bf-hans{padding:16px 18px 18px}
  html body:not(.x) .bf-hans .bf-l{color:#2F6FB0}
  html body:not(.x) .bf-hans .avatar{width:30px; height:30px; border-radius:50%; overflow:hidden; display:inline-block; flex:none}
  html body:not(.x) .bf-hans .avatar img{width:100%; height:100%; object-fit:cover}
  html body:not(.x) .bf-hans > p{margin:0 0 14px; font-size:17.5px !important; line-height:1.5 !important; color:#0E1A28 !important}
  html body:not(.x) .bf-facts{list-style:none; margin:0; padding:0; display:grid; gap:8px}
  html body:not(.x) .bf-facts li{display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:11px 14px; border-radius:14px; background:#EEF4FB}
  html body:not(.x) .bf-facts li span{font-size:15px !important; color:#4A5A70 !important}
  html body:not(.x) .bf-facts li b{font-size:16.5px; text-align:right; color:#0E1A28}
  html body:not(.x) .bf-facts li.warn{background:#FDF0E6}
  html body:not(.x) .bf-facts li.warn b{color:#B4532A}
  html body:not(.x) .bf-nav{display:flex; align-items:center; justify-content:space-between; margin-top:14px}
  html body:not(.x) .bf-pos{font-size:16px; color:#DCE6F2}
  html body:not(.x) .bf-btn{width:52px; height:52px; border-radius:50%; border:1px solid rgba(255,255,255,.35); background:rgba(255,255,255,.12); color:#FFFFFF; display:grid; place-items:center; cursor:pointer}
  html body:not(.x) .bf-btn svg{width:22px; height:22px}
  html body:not(.x) .bf-btn:active{transform:translateY(2px)}
}

@media (max-width:600px){
  html body:not(.x) .bf-nav{background:#FFFFFF; border-radius:999px; padding:6px; box-shadow:0 14px 30px -16px rgba(0,0,0,.45)}
  html body:not(.x) .bf-pos{color:#24344A; font-weight:600}
  html body:not(.x) .bf-btn{width:48px; height:48px; border:0; background:#EEF4FB; color:#2F6FB0}
}

@media (max-width:600px){
  /* letter card: flips between the letter and Hans' explanation */
  html body:not(.x) .bf-card{background:none !important; box-shadow:none !important; border-radius:0 !important; overflow:visible !important; perspective:1400px}
  html body:not(.x) .bf-flip{display:grid; transform-style:preserve-3d; transition:transform .6s cubic-bezier(.2,.7,.2,1)}
  html body:not(.x) .bf-flip.flipped{transform:rotateY(180deg)}
  html body:not(.x) .bf-face{grid-area:1 / 1; -webkit-backface-visibility:hidden; backface-visibility:hidden; border-radius:24px; overflow:hidden; box-shadow:0 24px 50px -24px rgba(0,0,0,.6)}
  html body:not(.x) .bf-back{transform:rotateY(180deg); background:#FFFFFF}
  html body:not(.x) .bf-front{background:#FBFAF6; display:flex; flex-direction:column}
  html body:not(.x) .bf-paper{position:relative; padding:18px 18px 8px; color:#2A2F3A; overflow:hidden}
  html body:not(.x) .bf-ph{display:flex; justify-content:space-between; gap:10px; align-items:flex-start}
  html body:not(.x) .bf-ph b{display:block; font:700 16px/1.25 Inter, system-ui, sans-serif; color:#0E1A28}
  html body:not(.x) .bf-ph small{display:block; font-size:13px; color:#5A6678; margin-top:2px}
  html body:not(.x) .bf-stamp{flex:none; font:600 11px/1 ui-monospace, Menlo, monospace; letter-spacing:.1em; text-transform:uppercase; color:#2F6FB0; border:1.5px solid #A5CDF1; border-radius:6px; padding:5px 6px}
  html body:not(.x) .bf-date{text-align:right; font-size:14px; color:#5A6678; margin:12px 0 6px}
  html body:not(.x) .bf-subj{font:700 15.5px/1.4 Inter, system-ui, sans-serif; color:#0E1A28; margin-bottom:10px}
  html body:not(.x) .bf-pp{position:relative; margin:0 0 8px !important; padding:6px 8px 6px 34px; border-radius:10px; font:400 16px/1.5 Georgia, 'Times New Roman', serif !important; color:#2A2F3A !important; transition:background-color .3s}
  html body:not(.x) .bf-n{position:absolute; left:8px; top:8px; width:20px; height:20px; border-radius:50%; display:grid; place-items:center; font:700 11.5px/1 Inter, system-ui, sans-serif; color:#FFFFFF; background:#2F6FB0; opacity:0; transform:scale(.6); transition:opacity .25s, transform .25s}
  html body:not(.x) .bf-pp.lit{background:#E3EEFA}
  html body:not(.x) .bf-pp.lit .bf-n{opacity:1; transform:none}
  html body:not(.x) .bf-pp.warn.lit{background:#FDF0E6}
  html body:not(.x) .bf-pp.warn .bf-n{background:#D9773F}
  html body:not(.x) .bf-pp.flash{animation:bfFlash 1.6s ease-out}
  @keyframes bfFlash{0%,40%{box-shadow:0 0 0 3px #2F6FB0} 100%{box-shadow:0 0 0 0 rgba(47,111,176,0)}}
  html body:not(.x) .bf-scanline{position:absolute; left:0; right:0; top:0; height:3px; background:#2F6FB0; box-shadow:0 0 18px 6px rgba(47,111,176,.45); opacity:0; pointer-events:none}
  html body:not(.x) .bf-paper.scanning .bf-scanline{opacity:1; animation:bfScan 1.6s linear infinite}
  @keyframes bfScan{from{top:0} to{top:100%}}
  html body:not(.x) .bf-go{display:flex; align-items:center; justify-content:center; gap:10px; margin:6px 16px 16px; min-height:54px; border:0; border-radius:999px; cursor:pointer;
    background:#2F6FB0; color:#FFFFFF; font:600 17px/1 Inter, system-ui, sans-serif; box-shadow:0 3px 0 #1F4F82}
  html body:not(.x) .bf-go:active{transform:translateY(3px); box-shadow:none}
  html body:not(.x) .bf-go:disabled{background:#E3EEFA; color:#2F6FB0; box-shadow:none}
  html body:not(.x) .bf-go svg{width:22px; height:22px}
  html body:not(.x) .bf-go .avatar{width:30px; height:30px; border-radius:50%; overflow:hidden; display:inline-block}
  html body:not(.x) .bf-go .avatar img{width:100%; height:100%; object-fit:cover}
  html body:not(.x) .bf-facts li{display:block !important; padding:0 !important; background:none !important}
  html body:not(.x) .bf-facts button{display:flex; width:100%; justify-content:space-between; align-items:baseline; gap:12px; padding:12px 14px; border:0; border-radius:14px; background:#EEF4FB; cursor:pointer; text-align:left; font:inherit; color:#0E1A28}
  html body:not(.x) .bf-facts button::after{content:"›"; font-size:20px; line-height:1; color:#7FA6CF; margin-left:2px}
  html body:not(.x) .bf-facts button span{font-size:15px; color:#4A5A70; flex:none}
  html body:not(.x) .bf-facts button b{font-size:16.5px; text-align:right; margin-left:auto}
  html body:not(.x) .bf-facts button.warn{background:#FDF0E6}
  html body:not(.x) .bf-facts button.warn b{color:#B4532A}
  html body:not(.x) .bf-facts button:active{transform:translateY(2px)}
  html body:not(.x) .bf-hint{margin:12px 0 0 !important; font-size:14.5px !important; color:#4A5A70 !important}
  /* decoder: cards a little narrower */
  html body:not(.x) #decoder #cards{width:88%; margin-inline:auto}
  html body:not(.x) .dec-more-btn{width:88%; margin-inline:auto}
}
@media (max-width:600px) and (prefers-reduced-motion:reduce){ html body:not(.x) .bf-flip{transition:none} }

/* phones: next-step screens as a full-screen sheet */
html body .ph-clip.ph-sheet{position:fixed !important; inset:0 !important; left:0 !important; right:0 !important; top:0 !important; bottom:0 !important; z-index:500 !important; border-radius:0 !important; clip-path:none !important}
html body .ph-clip.ph-sheet .ph-top{height:64px !important; padding:0 16px 12px !important}
html body .ph-clip.ph-sheet .ph-back{font-size:17px !important; min-height:44px}
html body .ph-clip.ph-sheet .ph-top b{font-size:18px !important}
html body .ph-clip.ph-sheet .ph-body{padding:18px 18px 32px !important; font-size:17px}
html body .ph-clip.ph-sheet .ph-body p, html body .ph-clip.ph-sheet .dr-paper p{font-size:16.5px !important; line-height:1.55 !important}
html body .ph-clip.ph-sheet .ph-main{min-height:54px; font-size:17px !important}
@media (max-width:600px){
  html body:not(.x) .bf-next{padding:4px 18px 20px; border-top:1px solid rgba(14,26,40,.08)}
  html body:not(.x) .bf-next .steps-card{margin:14px 0 0 !important; padding:0 !important; background:none !important; box-shadow:none !important; opacity:1 !important; transform:none !important}
  html body:not(.x) .bf-next .steps-card h4{font:700 13px/1.2 Inter, system-ui, sans-serif !important; letter-spacing:.08em; text-transform:uppercase; color:#2F6FB0 !important; margin:0 0 10px !important}
  html body:not(.x) .bf-next .nx-btn{display:flex !important; width:100%; align-items:center; gap:12px; margin:0 0 8px !important; padding:12px 14px !important; min-height:58px; border:0; border-radius:16px !important;
    background:#FFFFFF !important; box-shadow:inset 0 0 0 1.5px #CFE0F2, 0 3px 0 rgba(14,26,40,.06) !important; text-align:left; cursor:pointer; color:#0E1A28}
  html body:not(.x) .bf-next .nx-ico{flex:none; width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:#E3EEFA; color:#2F6FB0}
  html body:not(.x) .bf-next .nx-ico svg{width:22px; height:22px}
  html body:not(.x) .bf-next .nx-t{flex:1; min-width:0}
  html body:not(.x) .bf-next .nx-t b{display:block; font:600 16.5px/1.3 Inter, system-ui, sans-serif !important}
  html body:not(.x) .bf-next .nx-t small{display:block; font-size:14px !important; color:#4A5A70 !important; margin-top:2px}
  html body:not(.x) .bf-next .nx-go{flex:none; width:18px; height:18px; color:#2F6FB0}
  html body:not(.x) .bf-next .nx-btn:active{transform:translateY(2px)}
}

/* ===== contrast colour: cherry red, used in the app (scan button, deadlines) ===== */
:root{--cherry:#F7B58C; --cherry-d:#F28744; --cherry-bg:#FDEDE2; --cherry-ink:#B54D0D}
html body:not(.x) #app #scanBtn.btn.btn{background:var(--cherry) !important; background-color:var(--cherry) !important; color:#0E1A28 !important; border:0 !important; box-shadow:0 3px 0 var(--cherry-d) !important}
html body:not(.x) #app #scanBtn.btn.btn:hover{background:#F9CAAD !important; background-color:#F9CAAD !important}
html body:not(.x) #app #scanBtn.btn.btn svg{color:#FFFFFF !important}
html body:not(.x) #app .fact.warn{background:var(--cherry-bg) !important; box-shadow:inset 0 0 0 1px rgba(247,181,140,.22) !important}
html body:not(.x) #app .fact.warn .v, html body:not(.x) #app .fact.warn b{color:var(--cherry-ink) !important}
html body:not(.x) #app .fact.warn .k i{background:var(--cherry) !important; color:#0E1A28 !important}
html body:not(.x) #app #paper .pp.warn.lit{background:var(--cherry-bg) !important; box-shadow:inset 3px 0 0 var(--cherry) !important}
html body:not(.x) #app #paper .pp.warn .num{background:var(--cherry) !important}

/* ===== header: smaller language button + search ===== */
html body:not(.x) .hdr .lang-btn.lang-btn{min-height:38px !important; height:38px; padding:0 12px !important; font-size:14px !important; gap:6px}
html body:not(.x) .hdr .lang-btn .chev{width:12px !important; height:12px !important}
.hdr-search{flex:none; width:40px; height:40px; margin-right:8px; border-radius:50%; display:grid; place-items:center; cursor:pointer; color:#0E1A28;
  background:rgba(255,255,255,.6); border:1px solid rgba(14,26,40,.14); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px)}
.hdr-search svg{width:20px; height:20px}
.hdr-search:active{transform:translateY(2px)}
body:has(.hero-photo) .hdr .hdr-search{color:#FFFFFF; background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.35)}
.srch{position:fixed; inset:0; z-index:600; background:rgba(14,26,40,.38); opacity:0; transition:opacity .18s ease-out}
.srch.on{opacity:1}
.srch[hidden]{display:none}
.srch-box{width:min(560px, calc(100% - 24px)); margin:14px auto 0; padding:10px; border-radius:22px; background:rgba(235,243,252,.94);
  -webkit-backdrop-filter:blur(22px) saturate(1.4); backdrop-filter:blur(22px) saturate(1.4); box-shadow:0 30px 60px -24px rgba(14,26,40,.5), inset 0 0 0 1px rgba(255,255,255,.7);
  transform:translateY(-10px); transition:transform .22s cubic-bezier(.2,.7,.2,1)}
.srch.on .srch-box{transform:none}
.srch-row{display:flex; align-items:center; gap:8px; padding:0 4px 0 14px; border-radius:16px; background:#FFFFFF; box-shadow:inset 0 0 0 1.5px #A5CDF1}
.srch-row svg{flex:none; width:20px; height:20px; color:#2F6FB0}
.srch-row input{flex:1; min-width:0; border:0; outline:none; background:none; padding:14px 0; font:500 17px/1.2 Inter, system-ui, sans-serif; color:#0E1A28}
.srch-row input::-webkit-search-cancel-button{display:none}
.srch-x{flex:none; width:44px; height:44px; border:0; background:none; cursor:pointer; font:400 28px/1 Inter, system-ui, sans-serif; color:#4A5A70}
.srch-res{list-style:none; margin:8px 0 0; padding:0; max-height:62vh; overflow-y:auto}
.srch-res a{display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:13px 12px; border-radius:12px; text-decoration:none; color:#0E1A28}
.srch-res a:hover, .srch-res a:focus-visible{background:rgba(255,255,255,.75); outline:none}
.srch-res b{font:600 16.5px/1.3 Inter, system-ui, sans-serif}
.srch-res small{flex:none; font-size:13px; color:#2F6FB0}
.srch-none{padding:14px 12px; font-size:15.5px; color:#4A5A70}

/* ===== clearer hierarchy: big bold headlines, quiet labels, softer lead text ===== */
html body:not(.x) .hero.hero-photo h1:not(.x){color:#FFFFFF !important; font-weight:800 !important}
html body:not(.x) .eyebrow{font-size:12px !important; font-weight:600 !important; letter-spacing:.14em !important; opacity:.85}
html body:not(.x) .hero.hero-photo .hero-lead{color:rgba(255,255,255,.82) !important}
html body:not(.x) .hero.hero-photo .hero-meta, html body:not(.x) .hero.hero-photo .hero-meta *{font-size:14px !important; color:rgba(255,255,255,.72) !important}
html body:not(.x) .app-lead{color:rgba(255,255,255,.78) !important}
html body:not(.x) .sec-head p, html body:not(.x) .pc-intro p{color:#4A5A70 !important}
html body:not(.x) .app-badge, html body:not(.x) .app-badge span{font:500 13px/1.2 Inter, system-ui, sans-serif !important; letter-spacing:0 !important; color:rgba(255,255,255,.75) !important}
html body:has(.hero-photo):not(.x) section h2:not(.x), html body:has(.hero-photo):not(.x) #app h2:not(.x){font-weight:800 !important; letter-spacing:-.03em !important}

/* ===== one button style on light backgrounds (like the start buttons) ===== */
html body:not(.x) .pay-link, html body:not(.x) .dec-more-btn{background:#FFFFFF !important; color:#0E1A28 !important; border:0 !important;
  box-shadow:inset 0 0 0 1px rgba(14,26,40,.12), 0 3px 0 rgba(14,26,40,.10) !important; border-radius:999px !important; font-weight:600 !important}
html body:not(.x) .pay-link svg, html body:not(.x) .dec-more-btn svg{color:#2F6FB0}
html body:not(.x) .pay-link:active, html body:not(.x) .dec-more-btn:active{transform:translateY(3px); box-shadow:inset 0 0 0 1px rgba(14,26,40,.12) !important}

@media (max-width:600px){
  html body:not(.x) .hdr-search{margin-left:auto}
  html body:not(.x) .hdr .lang{margin-left:0 !important}
  html body:not(.x) .hdr .lang-btn .chev{display:none}
  html body:not(.x) .hdr .lang-btn.lang-btn{padding:0 10px !important; font-size:13.5px !important}
  html body:not(.x) .hdr-in{gap:8px !important}

  /* hierarchy on phones */
  html body:not(.x) .hero.hero-photo h1:not(.x){font-size:44px !important; line-height:1.02 !important; margin:8px 0 14px !important}
  html body:not(.x) .hero.hero-photo .hero-lead{font-size:17px !important; line-height:1.5 !important}
  html body:has(.hero-photo):not(.x) section h2:not(.x), html body:has(.hero-photo):not(.x) #app h2:not(.x){font-size:32px !important; line-height:1.08 !important}
  html body:not(.x) .sec-head p, html body:not(.x) .pc-intro p, html body:not(.x) .app-lead{font-size:16.5px !important; line-height:1.5 !important}
  html body:not(.x) .p-hero h1{font-size:31px !important; font-weight:800 !important}
  html body:not(.x) .p-hero .lead{color:#4A5A70 !important; font-size:16.5px !important}
  html body:not(.x) .app-badges{gap:6px !important}
  html body:not(.x) .app-badge{padding:6px 10px !important}

  /* letter card: only as tall as the side you see */
  html body:not(.x) .bf-flip:not(.flipped) .bf-back{max-height:var(--fh, none); overflow:hidden}
  html body:not(.x) .bf-go{background:var(--cherry) !important; box-shadow:0 3px 0 var(--cherry-d) !important}
  html body:not(.x) .bf-go:disabled{background:var(--cherry-bg) !important; color:var(--cherry-ink) !important; box-shadow:none !important}
  html body:not(.x) .bf-pp.warn.lit{background:var(--cherry-bg)}
  html body:not(.x) .bf-pp.warn .bf-n{background:var(--cherry)}
  html body:not(.x) .bf-facts button.warn{background:var(--cherry-bg)}
  html body:not(.x) .bf-facts button.warn b{color:var(--cherry-ink)}
  html body:not(.x) .bf-stamp{color:var(--cherry-ink); border-color:rgba(247,181,140,.4)}

  /* benefits switch: free oval buttons like the rest of the page */
  html body:not(.x) .pay-sw{display:flex !important; flex-wrap:wrap !important; width:100% !important; max-width:100% !important; box-sizing:border-box; justify-content:center !important; gap:8px !important; padding:0 !important; background:none !important; box-shadow:none !important; border:0 !important; border-radius:0 !important}
  html body:not(.x) .pay-sw button{flex:0 1 auto !important; min-height:46px; padding:11px 18px !important; border-radius:999px !important; font-size:15.5px !important; font-weight:600 !important;
    background:#FFFFFF !important; color:#0E1A28 !important; box-shadow:inset 0 0 0 1px rgba(14,26,40,.12), 0 3px 0 rgba(14,26,40,.10) !important}
  html body:not(.x) .pay-sw button[aria-selected="true"], html body:not(.x) .pay-sw button.on{background:#0E1A28 !important; color:#FFFFFF !important; box-shadow:0 3px 0 rgba(14,26,40,.35) !important}

  /* sign-up box: a bit smaller */
  html body:not(.x) .pc-signup{padding:16px 16px 14px !important; border-radius:20px !important; margin-top:18px !important}
  html body:not(.x) .pc-signup .pcs-l{font-size:17px !important; margin-bottom:10px !important}
  html body:not(.x) .pc-signup input{min-height:50px !important; padding:12px 14px !important; font-size:17px !important; border-radius:14px !important}
  html body:not(.x) .pc-signup .pcs-send.btn{min-height:50px !important; margin-top:10px !important; font-size:16.5px !important;
    background:#FFFFFF !important; background-color:#FFFFFF !important; color:#0E1A28 !important; box-shadow:inset 0 0 0 1px rgba(14,26,40,.12), 0 3px 0 rgba(14,26,40,.10) !important}
  html body:not(.x) .pc-signup .pcs-send svg{color:#2F6FB0}
  html body:not(.x) .pc-signup .pcs-fine{font-size:14px !important; margin-top:8px !important}
}
html body:not(.x) .hero.hero-photo .eyebrow.eyebrow{font-size:12px !important; font-weight:500 !important; color:rgba(255,255,255,.72) !important}
@media (max-width:600px){ html body:not(.x) .bf-front{align-self:start} html body:not(.x) .bf-flip:not(.flipped) .bf-back{align-self:start} }

.pay-sw .pl-s{display:none}
@media (max-width:600px){
  /* language button: small */
  html body:not(.x) .hdr .lang-btn.lang-btn{height:34px !important; min-height:34px !important; padding:0 9px !important; font-size:13px !important; gap:4px !important}
  html body:not(.x) .hdr .lang-btn svg:not(.chev){width:14px !important; height:14px !important}
  html body:not(.x) .hdr-search{width:36px !important; height:36px !important}
  html body:not(.x) .hdr-search svg{width:18px; height:18px}

  /* headlines clearly bigger than the text around them */
  html body:has(.hero-photo):not(.x) section h2:not(.x), html body:has(.hero-photo):not(.x) #app h2:not(.x){font-size:37px !important; line-height:1.04 !important; margin-bottom:14px !important}
  html body:not(.x) .hero.hero-photo h1:not(.x){font-size:44px !important; letter-spacing:-.03em !important}
  html body:not(.x) .sec-head p, html body:not(.x) .pc-intro p, html body:not(.x) .app-lead{font-size:16px !important}
  html body:not(.x) .p-hero h1{font-size:35px !important; line-height:1.08 !important}
  html body:not(.x) .art-sec h2{font-size:25px !important; font-weight:800 !important; letter-spacing:-.02em}
  html body:not(.x) #features-grid .feat h3, html body:not(.x) .bf-top b{font-weight:700 !important}

  /* benefits switch: one calm segmented bar with short labels */
  html body:not(.x) .pay-sw .pl-l{display:none}
  html body:not(.x) .pay-sw .pl-s{display:inline}
  html body:not(.x) .pay-sw{display:grid !important; grid-template-columns:repeat(3, 1fr) !important; gap:4px !important; padding:4px !important; border-radius:999px !important;
    background:#DFE8F3 !important; box-shadow:inset 0 1px 2px rgba(14,26,40,.08) !important}
  html body:not(.x) .pay-sw button{min-height:44px !important; padding:8px 4px !important; font-size:15px !important; font-weight:600 !important; border-radius:999px !important;
    background:transparent !important; color:#24344A !important; box-shadow:none !important; white-space:nowrap}
  html body:not(.x) .pay-sw button[aria-selected="true"]{background:#FFFFFF !important; color:#0E1A28 !important; box-shadow:0 2px 6px rgba(14,26,40,.14), 0 1px 0 rgba(14,26,40,.06) !important}

  /* postcard: bigger */
  html body:not(.x) .postcard-wrap{margin-inline:-8px !important}
  html body:not(.x) .postcard.pc-fit{width:560px !important; grid-template-columns:1.12fr 1fr !important}
  html body:not(.x) .postcard.pc-fit .pc-msg{padding:28px 20px 20px 24px !important}
  html body:not(.x) .postcard.pc-fit .pc-addr{padding:104px 20px 20px 20px !important}
  html body:not(.x) .postcard.pc-fit .pc-hand{font-size:calc(24px * var(--hs)) !important}
  html body:not(.x) .postcard.pc-fit .pc-stamp{width:66px !important; height:78px !important; top:16px !important; right:16px !important}
  html body:not(.x) .postcard.pc-fit .pc-postmark{width:66px !important; height:66px !important; top:28px !important; right:66px !important}
  /* send button in cherry red */
  html body:not(.x) .pc-signup .pcs-send.btn{background:var(--cherry) !important; background-color:var(--cherry) !important; color:#0E1A28 !important; box-shadow:0 3px 0 var(--cherry-d) !important}
  html body:not(.x) .pc-signup .pcs-send svg{color:#FFFFFF !important}
}
@media (max-width:600px){ html body:not(.x) .p-hero h1, html body:not(.x) .art-sec h2, html body:not(.x) section h2{overflow-wrap:break-word; -webkit-hyphens:auto; hyphens:auto} html body:not(.x) .p-hero h1{font-size:33px !important} }
/* hero: second line in the light site blue */
html body:not(.x) .hero.hero-photo h1 .l2{color:#A5CDF1 !important}
html body:not(.x) .hero.hero-photo h1:not(.x), html body:not(.x) .hero.hero-photo h1:not(.x) span{color:#A5CDF1 !important}

/* ===== type scale: headlines clearly bigger, everything else calmer (all pages) ===== */
html body:not(.x) .p-hero h1{font-weight:800 !important; letter-spacing:-.03em !important}
html body:not(.x) .art-sec h2, html body:not(.x) article.glass > h2{font-size:32px !important; font-weight:800 !important; letter-spacing:-.025em !important; line-height:1.12 !important}
html body:not(.x) .art-sec p, html body:not(.x) article.glass > p, html body:not(.x) .art-sec li{font-size:17px !important}
html body:not(.x) .p-hero .lead{font-size:18px !important}
html body:not(.x) #features-grid .feat h3{font-size:22px !important; font-weight:800 !important; letter-spacing:-.015em}
html body:not(.x) #features-grid .feat p{font-size:15.5px !important; color:#4A5A70 !important}
html body:not(.x) #cards .face .term{font-size:23px !important; font-weight:800 !important; letter-spacing:-.015em}
html body:not(.x) #cards .face.front .q{font-size:15.5px !important}
html body:not(.x) .hero.hero-photo .hero-lead, html body:not(.x) .app-lead, html body:not(.x) .sec-head p, html body:not(.x) .pc-intro p{font-size:17px !important}
@media (max-width:600px){
  html body:not(.x) .p-hero h1{font-size:36px !important; line-height:1.05 !important}
  html body:not(.x) .p-hero .lead{font-size:15.5px !important}
  html body:not(.x) .art-sec h2, html body:not(.x) article.glass > h2{font-size:27px !important}
  html body:not(.x) .art-sec p, html body:not(.x) article.glass > p, html body:not(.x) .art-sec li{font-size:16px !important; line-height:1.6 !important}
  html body:not(.x) .hero.hero-photo .hero-lead, html body:not(.x) .app-lead, html body:not(.x) .sec-head p, html body:not(.x) .pc-intro p{font-size:15.5px !important}
  html body:not(.x) #features-grid .feat h3{font-size:20px !important}
  html body:not(.x) #features-grid .feat p{font-size:14.5px !important}
  html body:not(.x) #cards .face .term{font-size:22px !important}
  html body:not(.x) #cards .face.front .q{font-size:15px !important}
  html body:not(.x) .bf-top b{font-size:19px !important; font-weight:800 !important}
  html body:not(.x) .bf-pp{font-size:15px !important}
  html body:not(.x) .bf-hans > p{font-size:16px !important}
  html body:not(.x) .bf-hint{font-size:14px !important}
  html body:not(.x) .bf-subj{font-size:16px !important; font-weight:800 !important}
  html body:not(.x) .pc-signup .pcs-l{font-size:19px !important; font-weight:800 !important}
  html body:not(.x) .pc-signup .pcs-fine{font-size:13.5px !important}
}

@media (max-width:600px){
  /* feature cards: bigger, uncut illustrations on the left */
  html body:not(.x) #features-grid .feat{grid-template-columns:132px 1fr !important; column-gap:14px !important}
  html body:not(.x) #features-grid .feat .vis{width:132px !important; height:128px !important; display:grid !important; place-items:center !important; overflow:hidden !important; padding:0 !important}
  html body:not(.x) #features-grid .feat .vis > *{zoom:.5 !important; width:244px !important; max-width:none !important; margin:0 !important; flex:none !important}
  html body:not(.x) #features-grid .feat h3{font-size:19px !important}
}
/* decoder: source line on the back much smaller and quieter */
html body:not(.x) #cards .face.back .src.src{font-size:13px !important; line-height:1.3 !important; letter-spacing:.02em; color:#5A6A80 !important; opacity:1; padding-top:4px !important}
@media (max-width:600px){ html body:not(.x) #decoder .flip.flip{height:180px !important} }

/* legal pages */
html body:not(.x) .legal-box h2{font:800 22px/1.25 var(--f-display, inherit); color:#2F6FB0; letter-spacing:-.02em; margin:26px 0 8px}
html body:not(.x) .legal-box h2:first-child{margin-top:0}
html body:not(.x) .legal-box p{margin:0 0 12px; line-height:1.6}
html body:not(.x) .legal-box .lg-lead{font-weight:600; padding:14px 16px; border-radius:14px; background:#EAF3FC}
html body:not(.x) .legal-box .lg-stand{color:#6B7A8F; font-size:15px; margin-top:22px}
html body:not(.x) .legal-box a{color:#2F6FB0; text-decoration:underline}
html body:not(.x) mark.fill{background:#FFF1A8; color:#0E1A28; padding:1px 5px; border-radius:5px}
/* sign-up consent */
html body:not(.x) .pcs-consent{display:flex; gap:10px; align-items:flex-start; font-size:14.5px; line-height:1.45; color:#24344A; margin:10px 0 4px; text-align:left; cursor:pointer}
html body:not(.x) .pcs-consent input{flex:none; width:20px; height:20px; margin:2px 0 0; accent-color:#2F6FB0}
html body:not(.x) .pcs-consent a{color:#2F6FB0; text-decoration:underline}
html body:not(.x) .pc-consent{display:flex; gap:8px; align-items:flex-start; font-size:12.5px; line-height:1.4; color:#24344A; margin:8px 0 6px; cursor:pointer}
html body:not(.x) .pc-consent input{flex:none; width:16px; height:16px; margin:1px 0 0; accent-color:#2F6FB0}
html body:not(.x) .pc-consent a{color:#2F6FB0; text-decoration:underline}
@media (max-width:600px){ html body:not(.x) .pc-consent{display:none} }
html body:not(.x) .pc-signup .pcs-consent input{display:inline-block; width:22px !important; height:22px !important; min-height:0 !important; padding:0 !important; margin:3px 0 0 !important; border:0; box-shadow:none}
/* feature cards are plain info cards: no click, no hover lift */
html body:not(.x) #features-grid .feat, html body:not(.x) #features-grid .feat:hover{cursor:default; transform:none !important}
html body:not(.x) #features-grid .feat:hover{box-shadow:0 0 0 1px var(--line), var(--sh-1)}


/* same names at every width – only the font gets smaller */
html body:not(.x) .pay-sw .pl-l{display:inline !important} html body:not(.x) .pay-sw .pl-s{display:none !important}
@media (max-width:600px){
  html body:not(.x) .pay-sw{grid-template-columns:auto auto auto !important}
  /* same look as on the wide page: white bar, blue pill for the chosen one */
  html body:not(.x) .pay-sw{width:calc(100% + 16px) !important; max-width:none !important; margin-left:-8px !important; margin-right:-8px !important}
  html body:not(.x) .pay-sw button{padding:8px 5px !important}
  html body:not(.x) .pay-sw{background:#FFFFFF !important; box-shadow:0 0 0 1px rgba(14,26,40,.08), 0 10px 22px -18px rgba(14,26,40,.35) !important; padding:5px !important; border-radius:999px !important}
  html body:not(.x) .pay-sw button{color:#4A5A70 !important; background:transparent !important; box-shadow:none !important; border-radius:999px !important}
  html body:not(.x) .pay-sw button[aria-selected="true"]{background:#2F6FB0 !important; color:#FFFFFF !important; box-shadow:none !important}
  html body:not(.x) .pay-sw button{white-space:nowrap !important; font-size:clamp(10.5px, 3.5vw, 15px) !important; padding:8px 5px !important}
}
/* no numbers on the feature boxes */
html body .feat::before, html body .app-after .feat::before{content:none !important; display:none !important}


/* all info buttons always visible – no hidden sideways scrolling */
html body:not(.x) .deck-row{display:grid !important; grid-template-columns:repeat(4, minmax(0,1fr)) !important; overflow:visible !important; gap:12px !important}
html body:not(.x) .deck-card{min-width:0 !important; max-width:none !important; flex:none !important}
@media (max-width:1080px){ html body:not(.x) .deck-row{grid-template-columns:repeat(2, minmax(0,1fr)) !important} }
@media (max-width:600px){ html body:not(.x) .deck-row{gap:8px !important} html body:not(.x) .deck-card{padding:12px !important; gap:10px !important} html body:not(.x) .deck-card .dc-chev{display:none} html body:not(.x) .dc-t b{font-size:15px} html body:not(.x) .dc-t small{font-size:12.5px} }
html body:not(.x) .pgc-head:has(> span:only-child){justify-content:flex-end}


/* scan demo: the frame starts empty – the letter slides in when you press "Brief scannen" */
html body #scanner #paper{transition:opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1)}



/* benefit bars: grow with the same soft bounce as the blue pill */
html body .pay-chart .pay-col:not(.none) .pay-bar i{transition:transform .9s cubic-bezier(.3,1.45,.45,1) var(--d) !important}
@media (prefers-reduced-motion: reduce){ html body .pay-chart .pay-col:not(.none) .pay-bar i{transition:none !important} }


.feat-cta{display:flex; justify-content:center; margin-top:28px}
html body .feat-signup{display:inline-flex; align-items:center; gap:12px; min-height:60px; padding:14px 26px; border-radius:999px; background:#F7B58C; color:#0E1A28 !important; text-decoration:none; font:700 17px/1.25 var(--f-display); box-shadow:0 4px 0 #F28744, 0 14px 28px -14px rgba(247,181,140,.8); transition:transform .15s, background .2s; text-align:center}
html body .feat-signup:hover{background:#F9CAAD; transform:translateY(-2px)} html body .feat-signup:active{transform:translateY(3px); box-shadow:0 1px 0 #F28744}
html body .feat-signup svg{width:22px; height:22px; flex:none}
html body .feat-signup .fs-arr{width:20px; height:20px; animation:fsBob 1.8s ease-in-out infinite}
@keyframes fsBob{50%{transform:translateY(3px)}}
@media (prefers-reduced-motion: reduce){ html body .feat-signup .fs-arr{animation:none} }
@media (max-width:600px){ html body .feat-signup{width:100%; justify-content:center; font-size:16px; padding:14px 18px} }


/* ===== design-system pass (DESIGN.md): readable small text, 44px targets ===== */
html body a.cite, html body .cite{font-variant-numeric:tabular-nums}
html body .qtip{position:relative} html body .qtip::after{content:""; position:absolute; inset:-9px}
html body .pgc-arrow{width:44px !important; height:44px !important}
html body .hdr .logo{display:inline-flex; align-items:center; min-height:44px}
@media (max-width:760px){
  html body .foot a{display:inline-flex; align-items:center; min-height:44px}
  html body .foot summary, html body details > summary{min-height:44px; display:flex; align-items:center}
}
html body .pay-amt b, html body .pgc-card b, html body .tbl td, html body #gTotal, html body .gauge-read b{font-variant-numeric:tabular-nums}
html body h1, html body h2{text-wrap:balance}
html body p{text-wrap:pretty}
html body :focus-visible{outline:3px solid #2F6FB0 !important; outline-offset:3px}


/* ===== design-system pass 2: remaining contrast, sizes, targets ===== */
html body:not(.x) a.cite.cite, html body:not(.x) .cite.cite{font-size:13px !important; min-width:22px; height:22px; line-height:22px !important}
html body:not(.x) .h-cites .cite.cite{color:#2A5F99 !important; font-size:13px !important}
html body:not(.x) .wv3-bar > span:nth-child(2){background:#2F6FB0 !important}
html body:not(.x) .flip .back.face .lab{color:#2A5F99 !important}
html body:not(.x) .pgc-card:not(.on){opacity:1 !important}
html body:not(.x) .pgc-none{color:#5A6A80 !important}
html body:not(.x) .src, html body:not(.x) .face .src{font-size:13px !important}
html body:not(.x) .face .lab, html body:not(.x) .eyebrow, html body:not(.x) .sec-head .eyebrow{font-size:13px !important}
html body:not(.x) .pgg-c small, html body:not(.x) .pgg-c em, html body:not(.x) .icard em, html body:not(.x) small{font-size:max(13px, 1em) }
html body:not(.x) .pgg-c em, html body:not(.x) .wbar em, html body:not(.x) .pgc-dots + *, html body:not(.x) em{min-font-size:13px}
@media (max-width:760px){
  html body:not(.x) .foot .foot-bottom a, html body:not(.x) .foot a{display:inline-flex !important; align-items:center; min-height:44px}
  html body:not(.x) .foot details > summary, html body:not(.x) .foot .fcol > summary{min-height:44px !important; display:flex !important; align-items:center}
  html body:not(.x) a.glass, html body:not(.x) .srcs a, html body:not(.x) .pay-link, html body:not(.x) .lang-btn.lang-btn{min-height:44px !important}
}

html body:not(.x) .lr-v em{font-size:13px !important} html body:not(.x) .wb-n small{font-size:13px !important}
@media (max-width:760px){ html body:not(.x) .foot .legal-links a[href]{display:inline-flex !important; align-items:center !important; min-height:44px !important; height:auto !important} }

html body:not(.x) .sec-head .eyebrow{opacity:1 !important}
html body .cite{position:relative} html body a.cite::after{content:""; position:absolute; inset:-11px -8px}


html body:not(.x) #cards .face.back .lab, html body:not(.x) #decoder .face.back .lab{color:#2A5F99 !important}
@media (max-width:760px){ html body:not(.x) .bf-stamp{font-size:13px !important} html body:not(.x) .nx-card h4, html body:not(.x) .steps-card h4{font-size:14px !important} }


html body:not(.x) .p-hero h1 .l2, html body:not(.x) h1 > .l2{display:block}
@media (min-width:761px){ html body:not(.x) .pgc-track{-webkit-mask-image:linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent 100%); mask-image:linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent 100%)} }

html body:not(.x) .bf-go, html body:not(.x) .bf-pp.warn .bf-n, html body:not(.x) #app #paper .pp.warn .num, html body:not(.x) #app .fact.warn .k i{color:#0E1A28 !important}
html body #srchIn:focus, html body #srchIn:focus-visible{outline:none !important; box-shadow:none !important} html body .srch-row:focus-within{box-shadow:inset 0 0 0 2px #2F6FB0 !important}

/* phone menu: links get a soft blue background on hover / tap again */
@media (max-width:1080px){
  html body:not(.x) #drawer .d-col a{border-radius:10px; margin:0 -10px !important; padding:10px 10px !important; transition:background-color .18s ease, color .18s ease}
  html body:not(.x) #drawer .d-col a:hover, html body:not(.x) #drawer .d-col a:active, html body:not(.x) #drawer .d-col a:focus-visible{background:#E2EEFA !important; color:#2F6FB0 !important; border-top-color:transparent !important}
  html body:not(.x) #drawer .d-col a:hover + a, html body:not(.x) #drawer .d-col a:active + a{border-top-color:transparent !important}
  html body:not(.x) #drawer .d-link, html body:not(.x) #drawer .d-acc summary{border-radius:10px; transition:background-color .18s ease}
  html body:not(.x) #drawer .d-link:hover, html body:not(.x) #drawer .d-acc summary:hover{background:#E2EEFA !important}
}


/* one font family everywhere: Geist for text, Geist Mono only for small eyebrows */
html body:not(.x) #drawer .d-link, html body:not(.x) #drawer .d-acc summary, html body:not(.x) #drawer .d-search, html body:not(.x) #drawer .d-search span, html body:not(.x) #drawer .lang-opt, html body:not(.x) #drawer .d-col a{font-family:"Geist", "Inter", system-ui, sans-serif !important}
html body:not(.x) #drawer .d-col h4{font-family:"Geist Mono", ui-monospace, monospace !important}
html body:not(.x) #srcBox .src-h, html body:not(.x) details.src-box summary > b.src-h, html body:not(.x) .src-h{font:600 16px/1.2 "Geist", "Inter", system-ui, sans-serif !important; letter-spacing:0 !important; text-transform:none !important; color:#2F6FB0 !important}


/* search panel: same surface as the menu, blue on hover */
html body:not(.x) .srch-box{background:rgba(240,245,251,.97) !important; -webkit-backdrop-filter:blur(22px) saturate(1.4) !important; backdrop-filter:blur(22px) saturate(1.4) !important; box-shadow:0 30px 50px -20px rgba(14,26,40,.35), inset 0 0 0 1px rgba(255,255,255,.6) !important; border-radius:22px !important}
html body:not(.x) .srch-res a{transition:background-color .18s ease, color .18s ease}
html body:not(.x) .srch-res a:hover, html body:not(.x) .srch-res a:focus-visible, html body:not(.x) .srch-res a:active{background:#E2EEFA !important; color:#2F6FB0 !important}
html body:not(.x) .srch-res a:hover b, html body:not(.x) .srch-res a:focus-visible b{color:#2F6FB0 !important}


/* source numbers: the number always sits centred inside its little box */
html body:not(.x) a.cite.cite, html body:not(.x) .cite.cite{display:inline-grid !important; place-items:center !important; box-sizing:border-box !important; min-width:22px !important; height:22px !important; padding:0 6px !important; margin:0 0 0 3px !important; line-height:1 !important; font-size:13px !important; vertical-align:2px; white-space:nowrap}
html body:not(.x) .h-cites .cite.cite{min-width:20px !important; height:20px !important; padding:0 5px !important; font-size:12px !important; vertical-align:middle}


/* info "?" : small and quiet, big invisible tap area; bubble floats above everything */
html body:not(.x) .qtip.qtip{width:17px !important; height:17px !important; font:700 11px/1 "Geist", system-ui, sans-serif !important; vertical-align:1px}
html body:not(.x) .qtip-wrap{margin-left:5px}
html body:not(.x) .qtip-pop{z-index:1000 !important; left:auto; top:auto; cursor:pointer}
html body:not(.x) .qtip-pop::before{left:var(--arrow, 14px) !important; right:auto !important}
html body:not(.x) .qtip-pop.up::before{top:auto !important; bottom:-6px}

html body:not(.x) .pgroup h4, html body:not(.x) #plist h4{color:#3778BB !important}

/* source numbers: one small size everywhere (text, headings, checklists, tables) */
html body:not(.x) a.cite.cite, html body:not(.x) .cite.cite, html body:not(.x) .h-cites .cite.cite, html body:not(.x) h1 .h-cites .cite.cite, html body:not(.x) #plist .cite.cite{min-width:15px !important; width:auto !important; height:15px !important; padding:0 4px !important; font:600 10px/1 "Geist", system-ui, sans-serif !important; border-radius:4px !important; vertical-align:3px !important; letter-spacing:0 !important}
html body:not(.x) .h-cites{display:inline !important; font-size:0}
html body:not(.x) .h-cites .cite + .cite{margin-left:2px !important}


/* step boxes: connecting arrows sit in the middle */
@media (min-width:901px){ html body:not(.x) .flow li:not(:last-child)::after{top:50% !important; margin-top:-5px; right:-10px !important; left:auto !important; bottom:auto !important; transform:rotate(45deg) !important} }
@media (max-width:900px){ html body:not(.x) .flow li:not(:last-child)::after{left:50% !important; margin-left:-5px; right:auto !important; top:auto !important; bottom:-9px !important; transform:rotate(135deg) !important} }


/* all flow steps look the same (no highlighted last step) */
html body:not(.x) .flow li:last-child{background:#F4F7FB !important; box-shadow:inset 0 0 0 1px rgba(14,26,40,.07) !important}
html body:not(.x) .flow li:last-child .flow-n{background:#fff !important; color:#2A5F99 !important; box-shadow:inset 0 0 0 1.5px #A5CDF1 !important}


/* benefit cards: blue accents on every page (same as calculator) */
html body:not(.x):not(.th-dark) .pgc-head span, html body:not(.x):not(.th-dark) .pgc-card li em, html body:not(.x):not(.th-dark) .pgc-card .pgc-sub, html body:not(.x):not(.th-dark) .pgc-top small{color:#2A5F99 !important}


/* no small blue line above section headings */
html body .art-sec h2::before, html body.th-dark .art-sec h2::before{content:none !important; display:none !important}


/* active page dot in light blue instead of navy */
html body:not(.x):not(.th-dark) .pgc-dots button[aria-current="true"]{background:#3778BB !important; border-color:#3778BB !important; color:#fff !important}


/* level boxes: "PFLEGEGRAD" first, then the number */
html body:not(.x) .pgg .pgg-c{display:flex !important; flex-wrap:wrap !important; align-items:center !important; gap:0 8px !important}
html body:not(.x) .pgg .pgg-c > small{order:1 !important; margin:0 !important}
html body:not(.x) .pgg .pgg-c > .pgg-n{order:2 !important; margin:0 !important}
html body:not(.x) .pgg .pgg-c > div{order:3 !important; flex:0 0 100% !important; grid-column:auto !important}


/* no flash of the dark footer while the page content is still being built: show the page once it is ready */
@keyframes phReveal{to{opacity:1}}
html:not(.ph-ready) body{opacity:0; animation:phReveal .2s ease 1.2s forwards}
html.ph-ready body{opacity:1; animation:none; transition:opacity .18s ease}
@media (prefers-reduced-motion: reduce){ html.ph-ready body{transition:none} }


/* ===== checklist design (chosen: 'Ruhige Liste') ===== */
html body:not(.x):not(.th-dark) #plist .pchk{background:transparent !important; box-shadow:none !important; border-radius:0 !important; margin:0 !important; padding:14px 4px !important; border-bottom:1px solid #E3EAF2 !important; transform:none !important}
html body:not(.x):not(.th-dark) #plist .pgroup .pchk:last-child{border-bottom:0 !important}
html body:not(.x):not(.th-dark) #plist .pchk:hover{background:#F4F7FB !important}
html body:not(.x):not(.th-dark) #plist .pchk .box{width:26px !important; height:26px !important; border-radius:50% !important; background:#fff !important; box-shadow:inset 0 0 0 2px #A5CDF1 !important}
html body:not(.x):not(.th-dark) #plist .pchk input:checked + .box{background:#2F6FB0 !important; box-shadow:none !important}
html body:not(.x):not(.th-dark) #plist .pchk input:checked + .box svg{color:#fff !important}
html body:not(.x):not(.th-dark) #plist .pchk input:checked + .box + span{color:#5A6A80 !important; text-decoration:line-through !important; text-decoration-color:#A5CDF1 !important}
html body:not(.x):not(.th-dark) #plist .pprog{height:8px !important; background:#E3EFFB !important}
html body:not(.x):not(.th-dark) #plist .pprog i{background:#2F6FB0 !important}
html body:not(.x):not(.th-dark) #plist .pchk input:checked ~ .box + span{transition:color .2s}


/* level boxes: one heading "Pflegegrad" above, boxes show only the number + points */
html body:not(.x) .pgg::before{content:"Pflegegrad"; grid-column:1 / -1; display:block; font:700 13px/1.2 "Geist Mono", ui-monospace, monospace; letter-spacing:.08em; text-transform:uppercase; color:#3778BB; margin:2px 0 2px}
html[lang="en"] body:not(.x) .pgg::before{content:"Care level"}
html body:not(.x) .pgg .pgg-c > small{display:none !important}
/* points are already in the level boxes: hide them in the swipe cards on the same page */
html body:not(.x) main:has(.pgg) .pgc-top small, html body:not(.x) #topic:has(.pgg) .pgc-top small{display:none !important}


@media (max-width: 700px){
  html body:not(.x) .pgg .pgg-c{flex-wrap:nowrap !important; gap:0 14px !important; padding:12px 16px !important}
  html body:not(.x) .pgg .pgg-c > div{flex:1 1 auto !important; margin:0 !important; padding:0 !important; border:0 !important}
}


/* number box on the swipe cards in light blue */
html body:not(.x):not(.th-dark) .pgc-card .pgc-num{background:#3778BB !important; background-image:none !important; color:#fff !important; box-shadow:0 6px 14px -8px rgba(55,120,187,.8) !important}


/* wide screens: the level pill bar sits above the cards */
@media (min-width: 701px){
  html body:not(.x) .pgc{display:flex !important; flex-direction:column !important}
  html body:not(.x) .pgc > .pgc-head{order:0}
  html body:not(.x) .pgc > .pgc-nav{order:1; margin:4px 0 10px !important}
  html body:not(.x) .pgc > .pgc-track{order:2}
}


/* no glass on content boxes: same white card as the rest of the site */
html body:not(.x):not(.th-dark) .mod.glass, html body:not(.x):not(.th-dark) .scale.glass, html body:not(.x):not(.th-dark) li.glass, html body:not(.x):not(.th-dark) .glass.yes, html body:not(.x):not(.th-dark) .glass.no, html body:not(.x):not(.th-dark) details.glass, html body:not(.x):not(.th-dark) label.toggle-row{
  background:#FFFFFF !important; background-image:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  border:1px solid transparent !important; box-shadow:0 0 0 1px rgba(14,26,40,.08), 0 14px 30px -22px rgba(14,26,40,.35) !important}
html body:not(.x):not(.th-dark) .mod.glass::before, html body:not(.x):not(.th-dark) .mod.glass::after, html body:not(.x):not(.th-dark) .scale.glass::before, html body:not(.x):not(.th-dark) .scale.glass::after, html body:not(.x):not(.th-dark) li.glass::before, html body:not(.x):not(.th-dark) li.glass::after, html body:not(.x):not(.th-dark) details.glass::before, html body:not(.x):not(.th-dark) details.glass::after{background-image:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; box-shadow:none !important}
html body:not(.x):not(.th-dark) li.glass.warn{background:#FDEDE2 !important; box-shadow:0 0 0 1px rgba(242,135,68,.25), 0 14px 30px -22px rgba(14,26,40,.35) !important}


/* decoder back: no "Klartext" label, text starts higher */
html body:not(.x) #cards .face.back .lab{display:none !important}
html body:not(.x) #cards .face.back{padding-top:26px !important}
html body:not(.x) #cards .face.back .ans{margin-top:0 !important}


/* flat number chips (no glossy glass gradient) */
html body:not(.x):not(.th-dark) .mod-top .n, html body:not(.x):not(.th-dark) .tl-n i{background:#E6F0FB !important; background-image:none !important; box-shadow:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; color:#2A5F99 !important}
html body:not(.x):not(.th-dark) .mod-top .n::before, html body:not(.x):not(.th-dark) .mod-top .n::after, html body:not(.x):not(.th-dark) .tl-n i::before, html body:not(.x):not(.th-dark) .tl-n i::after{background:none !important; box-shadow:none !important}


/* no live result box: the calculator uses the full width (the result page shows everything) */
html body:not(.x) #meter{display:none !important}
html body:not(.x) .calc{grid-template-columns:minmax(0,1fr) !important; gap:0 !important}
html body:not(.x) .calc > *:not(#meter){grid-column:1 / -1 !important; max-width:none !important}


/* calculator on wide screens: questions in two columns, so the full width is used */
@media (min-width: 1000px){
  html body:not(.x) #calcCard .qs{grid-template-columns:repeat(2, minmax(0, 1fr)) !important; column-gap:40px !important; align-items:start}
  html body:not(.x) #calcCard .qs > .q{min-width:0}
}


/* calculator page: benefit cards without the description line */
html body:not(.x) #pgcL .pgc-sub{display:none !important}


/* menu group titles as big as (or bigger than) the page names */
html body:not(.x) #drawer .d-col h4, html body:not(.x) .mega-col h4{font:700 18px/1.3 "Geist", system-ui, sans-serif !important; text-transform:none !important; letter-spacing:0 !important; color:#2F6FB0 !important; margin:14px 0 6px !important}
html body:not(.x) .hdr .mega .mega-col h4, html body:not(.x) .hdr .mega-card .mega-col h4{font:700 17px/1.3 "Geist", system-ui, sans-serif !important; text-transform:none !important; letter-spacing:0 !important; margin-top:0 !important}

html body:not(.x) .icard .ic-strong{font-weight:700 !important; color:#0E1A28 !important}

/* postcard send button: highlight colour with the same raised look as the other main buttons */
html body:not(.x) #soonForm .pc-send{background:#F7B58C !important; background-image:none !important; color:#0E1A28 !important; min-height:52px !important; padding:14px 24px !important; border:0 !important; border-radius:999px !important;
  font:700 16.5px/1.2 "Geist", Inter, system-ui, sans-serif !important; box-shadow:0 4px 0 #F28744, 0 14px 28px -14px rgba(247,181,140,.8) !important; transform:translateY(0); transition:transform .15s ease, box-shadow .15s ease, background-color .2s !important}
html body:not(.x) #soonForm .pc-send *{color:inherit !important}
html body:not(.x) #soonForm .pc-send:hover{background:#F9CAAD !important; transform:translateY(-2px)}
html body:not(.x) #soonForm .pc-send:active{transform:translateY(3px); box-shadow:0 1px 0 #F28744 !important}
html body:not(.x) #soonForm .pc-send:disabled{opacity:.7}

html body:not(.x) a.cite.cite.cite, html body:not(.x) #plist a.cite.cite.cite{min-width:18px !important; height:18px !important; padding:0 5px !important; margin-left:3px !important; font:600 12px/1 "Geist", system-ui, sans-serif !important; color:#1F4E82 !important}
html body:not(.x) a.cite.cite + a.cite.cite.cite, html body:not(.x) #plist a.cite.cite + a.cite.cite.cite{margin-left:6px !important}
html body a.cite.cite::after{inset:-11px -8px}
html body a.cite.cite:has(+ .cite)::after{right:-3px}
html body a.cite.cite + a.cite.cite::after{left:-3px}
html body .cite-end{white-space:nowrap}
html body:not(.x) #plist .plist-src{margin:14px 0 0; font-size:14px; color:#4A5568}

@media (max-width:700px){ html body:not(.x) .legal-links.legal-links{flex-wrap:wrap !important; white-space:normal !important; max-width:100%} }
/* phone menu: language buttons with flags */
@media (max-width:600px){
  html body:not(.x) #drawer.drawer .d-lang.d-lang{margin:20px auto 14px !important}
  html body:not(.x) #drawer.drawer .d-lang .lang-opt.lang-opt{height:46px !important; min-height:46px !important; padding:0 20px !important; gap:10px !important; font-size:16px !important}
  html body:not(.x) #drawer.drawer .d-lang .lang-opt .flag.flag{width:24px !important; height:16px !important; border-radius:3px !important}
}

html body .res-hero:focus{outline:none}
