/* =========================================================
   Pi nebenbei — shared stylesheet
   Design language: light paper white, raspberry as the accent,
   teal for confirmation, amber as the only warning colour.

   Rebuild 07/2026 — guiding ideas:
   1. ONE text axis. Every section shares the same container so the
      left edge never jumps while scrolling.
   2. ONE line length (--measure) for all body copy.
   3. Density over length. Vertical spacing cut by about a third,
      callouts moved into the right-hand column.
   4. Two callout colours, not four: amber warns, neutral explains.
   ========================================================= */

:root{
  --paper:#F5F8F7;
  --surface:#FFFFFF;
  --surface-2:#EDF3F1;
  --ink:#0F241D;
  --ink-2:#41564F;   /* secondary body copy, 7:1 on --surface-2 */
  --ink-3:#667C74;   /* captions and meta only */
  --line:#DCE6E2;

  --berry:#D81E5B;
  --berry-soft:#FDEAF0;
  --teal:#0E9384;
  --teal-soft:#E4F5F2;
  --amber:#B45309;
  --amber-soft:#FDF3E3;

  --r:18px;
  --r-s:12px;
  --sh-1:0 1px 2px rgba(15,36,29,.05), 0 4px 14px rgba(15,36,29,.05);
  --sh-2:0 2px 4px rgba(15,36,29,.06), 0 14px 34px rgba(15,36,29,.09);

  --sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;

  /* One shell, one axis — everything else depends on this */
  --shell:1120px;
  --pad:1.3rem;
  /* 45.5rem = 728px = ~70 characters at the 17px base size.
     Deliberately rem, not ch: ch resolves against the element's own font
     size, which made headings wider than the text beneath them. */
  --measure:45.5rem;

  /* about a third tighter than the first version */
  --gap:clamp(2.3rem,4.6vw,4rem);
  --gap-s:clamp(1.3rem,2.4vw,2rem);
}

[data-theme="dark"]{
  color-scheme:dark;
  --paper:#0E1A17; --surface:#152522; --surface-2:#1B2E2A;
  --ink:#EAF3F0; --ink-2:#A9BEB7; --ink-3:#8AA099; --line:#263B36;
  --berry:#FF6E9C; --berry-soft:#2C1520;
  --teal:#4BD8C4; --teal-soft:#0F2B27;
  --amber:#F0B65C; --amber-soft:#2A2013;
  --sh-1:none; --sh-2:0 18px 40px rgba(0,0,0,.4);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:17px;line-height:1.62;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  -webkit-tap-highlight-color:color-mix(in srgb,var(--berry) 18%,transparent);
}

/* ---------- The single shell ----------
   .wrap and .wrap--narrow are deliberately the same width.
   Previously --narrow was both narrower AND centred on its own, which
   pushed the text edge 170px to the right while scrolling.
   Reading width is now governed by --measure, not by the container.  */
.wrap{width:min(var(--shell),calc(100% - var(--pad)*2));margin-inline:auto}
.wrap--narrow{width:min(var(--shell),calc(100% - var(--pad)*2))}

h1,h2,h3,h4{line-height:1.15;letter-spacing:-.022em;margin:0;text-wrap:balance}
h1{font-size:clamp(2.05rem,4.4vw,3.05rem);font-weight:800}
h2{font-size:clamp(1.55rem,3.2vw,2.2rem);font-weight:750}
h3{font-size:1.2rem;font-weight:700}
h4{font-size:1rem;font-weight:700}
p{margin:0 0 .95em;text-wrap:pretty}
a{color:var(--berry);text-underline-offset:3px}
img,svg{max-width:100%}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;z-index:99;background:var(--surface);padding:.75rem 1.1rem;border-radius:10px;box-shadow:var(--sh-2)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
section[id]{scroll-margin-top:80px}

/* ---------- Header ---------- */
.top{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--paper) 88%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.top__in{display:flex;align-items:center;gap:1rem;height:66px}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:750;letter-spacing:-.02em;text-decoration:none;color:var(--ink);margin-right:auto}
.brand svg{width:31px;height:31px;flex:none}
.nav{display:flex;gap:.15rem}
.nav a{padding:.45rem .75rem;border-radius:999px;text-decoration:none;color:var(--ink-2);font-size:.93rem;font-weight:600;transition:background .18s,color .18s}
.nav a:hover,.nav a[aria-current]{background:var(--surface-2);color:var(--ink)}
@media(max-width:900px){.nav{display:none}}
.tgl{border:1px solid var(--line);background:var(--surface);width:39px;height:39px;border-radius:999px;cursor:pointer;display:grid;place-items:center;color:var(--ink);flex:none;touch-action:manipulation;transition:border-color .18s,background .18s}
.tgl:hover{border-color:var(--ink-2);background:var(--surface-2)}
.tgl svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
[data-theme="dark"] .icon-sun,html:not([data-theme="dark"]) .icon-moon{display:none}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  padding:.9rem 1.55rem;border-radius:999px;font-weight:700;font-size:1rem;
  text-decoration:none;border:1px solid transparent;cursor:pointer;font-family:inherit;
  touch-action:manipulation;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.btn--p{background:var(--berry);color:#fff;box-shadow:0 6px 20px color-mix(in srgb,var(--berry) 30%,transparent)}
.btn--p:hover{transform:translateY(-2px);box-shadow:0 10px 26px color-mix(in srgb,var(--berry) 36%,transparent)}
.btn--g{background:var(--surface);color:var(--ink);border-color:var(--line)}
.btn--g:hover{border-color:var(--ink-2);transform:translateY(-1px);background:var(--surface-2)}

/* ---------- Sections ---------- */
.sec{padding:var(--gap) 0}
.sec--tint{background:var(--surface-2)}
.sec__hd{max-width:var(--measure);margin-bottom:var(--gap-s)}
/* The standfirst is deliberately larger AND lighter, so the grey reads
   as a decision rather than the accident it looked like before. */
.sec__hd p{color:var(--ink-2);margin:.75rem 0 0;font-size:1.18rem;line-height:1.5}
.eyebrow{display:block;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--berry);margin-bottom:.55rem}

/* ---------- Editorial grid ----------
   Body copy on --measure to the left, callouts to the right.
   Solves two problems at once: the dead right-hand half disappears,
   and the callouts stop stretching the page downwards.               */
.editorial{
  display:grid;
  grid-template-columns:minmax(0,var(--measure)) minmax(0,1fr);
  gap:clamp(1.6rem,3.4vw,3.2rem);
  align-items:start;
}
.editorial__main > :last-child{margin-bottom:0}
.editorial__side{display:grid;gap:.9rem;position:sticky;top:88px}
.editorial__side .box{margin:0}
@media(max-width:900px){
  .editorial{grid-template-columns:1fr;gap:1.2rem}
  .editorial__side{position:static}
}

/* Body copy gets the same measure and the same grey everywhere */
.prose{max-width:var(--measure)}
.prose p{font-size:1.04rem;color:var(--ink)}
.prose > :last-child{margin-bottom:0}

/* ---------- Cards ---------- */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.3rem,2.6vw,2rem);box-shadow:var(--sh-1)}

.chips{display:flex;gap:.4rem;flex-wrap:wrap}
.chip{font-size:.76rem;font-weight:700;padding:.3rem .7rem;border-radius:999px;background:var(--surface-2);color:var(--ink-2)}
.chip--ok{background:var(--teal-soft);color:var(--teal)}
.chip--open{background:var(--amber-soft);color:var(--amber)}

/* ---------- Code ---------- */
.code{border:1px solid var(--line);border-radius:var(--r-s);overflow:hidden;background:var(--surface-2);margin:1rem 0}
.code__bar{display:flex;align-items:center;gap:.7rem;padding:.5rem .85rem;border-bottom:1px solid var(--line);font-size:.79rem;color:var(--ink-2);font-family:var(--mono)}
.copy{margin-left:auto;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:.26rem .8rem;font:inherit;font-size:.76rem;font-weight:700;cursor:pointer;color:var(--ink);touch-action:manipulation;transition:background .18s,border-color .18s}
.copy:hover{background:var(--surface-2);border-color:var(--ink-2)}
.copy[data-done="1"]{background:var(--teal-soft);color:var(--teal);border-color:var(--teal)}
.code pre{margin:0;padding:.9rem .95rem;overflow-x:auto;font-family:var(--mono);font-size:.855rem;line-height:1.7}
.code code{white-space:pre}
.code .c{color:var(--ink-2)}
.code .p{color:var(--berry);font-weight:700}
code:not(pre code){font-family:var(--mono);font-size:.88em;background:var(--surface-2);padding:.12em .4em;border-radius:5px}

/* ---------- Callouts: exactly two ----------
   --warn  Amber. Genuine risk only: account bans, losing money,
           third-party traffic over your own line. Used sparingly.
   --note  Neutral. Everything explanatory.
   color-mix instead of a fixed colour so the box works on any
   background — including the white provider cards.                   */
.box{border-radius:var(--r-s);padding:.9rem 1.1rem;font-size:.95rem;margin:1rem 0;border-left:3px solid}
.box p{margin:0}
.box p+p{margin-top:.5rem}
.box b{display:block;margin-bottom:.25rem;color:var(--ink)}
.box--warn{background:var(--amber-soft);border-color:var(--amber)}
.box--note{background:color-mix(in srgb,var(--ink) 5%,transparent);border-color:var(--ink-3)}
.ph{font-family:var(--mono);font-size:.86em;background:var(--berry-soft);color:var(--berry);padding:.12em .42em;border-radius:5px;font-weight:700;overflow-wrap:anywhere}
[data-theme="dark"] .ph{background:#3A1524}

/* ---------- Tables ---------- */
.scroll{overflow-x:auto;border-radius:var(--r);-webkit-overflow-scrolling:touch}
.tbl{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;font-size:.94rem;min-width:560px}
.tbl th,.tbl td{padding:.8rem .9rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.tbl th{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2);background:var(--surface-2);font-weight:800}
.tbl tr:last-child td{border-bottom:0}
.tbl td{font-variant-numeric:tabular-nums}
.tbl td:first-child{font-weight:700;white-space:nowrap}

/* ---------- Disclosure / details ---------- */
.faq{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-s);margin-bottom:.6rem;overflow:hidden}
.faq summary{padding:.9rem 1.1rem;cursor:pointer;font-weight:650;list-style:none;display:flex;gap:1rem;align-items:center;touch-action:manipulation}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";margin-left:auto;color:var(--berry);font-size:1.35rem;line-height:1;font-weight:400}
.faq[open] summary::after{content:"\2013"}
.faq summary:hover{background:var(--surface-2)}
.faq .in{padding:0 1.1rem 1.1rem;color:var(--ink-2);font-size:.96rem}
.faq .in > :last-child{margin-bottom:0}
/* Two columns raise information density without cutting a single word */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1.2rem;align-items:start}
@media(max-width:820px){.faq-grid{grid-template-columns:1fr}}

/* ---------- Footer ---------- */
.foot{background:var(--surface);border-top:1px solid var(--line);padding:var(--gap) 0 2.4rem;font-size:.92rem;color:var(--ink-2)}
.foot__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:2rem}
@media(max-width:800px){.foot__grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.foot__grid{grid-template-columns:1fr}}
.foot h3{font-size:.78rem;text-transform:uppercase;letter-spacing:.11em;margin-bottom:.8rem;color:var(--ink)}
.foot a{display:block;color:var(--ink-2);text-decoration:none;padding:.2rem 0}
.foot a:hover{color:var(--berry)}
.foot__legal{margin-top:2rem;padding-top:1.4rem;border-top:1px solid var(--line);font-size:.85rem;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;align-items:center}
.linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--ink-2);text-decoration:underline;cursor:pointer;touch-action:manipulation}
.linkbtn:hover{color:var(--berry)}

/* ---------- Text pages (legal notice, privacy) ---------- */
.legal{padding:clamp(2rem,4.6vw,3.4rem) 0 var(--gap)}
.legal .wrap--narrow > *{max-width:var(--measure)}
.legal h1{margin-bottom:1.3rem}
.legal h2{font-size:1.35rem;margin:2.2rem 0 .8rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.legal h3{font-size:1.05rem;margin:1.5rem 0 .5rem}
.legal p,.legal li{color:var(--ink-2)}
.legal strong{color:var(--ink)}
.legal ul{padding-left:1.2rem}
.legal li{margin-bottom:.35rem}
.legal address{font-style:normal;color:var(--ink-2);line-height:1.8}
.toc{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.2rem 1.4rem;margin:1.6rem 0}
.toc ol{margin:0;padding-left:1.3rem;columns:2;column-gap:2rem}
@media(max-width:600px){.toc ol{columns:1}}
.toc li{margin-bottom:.3rem}
.toc a{color:var(--ink-2);text-decoration:none}
.toc a:hover{color:var(--berry);text-decoration:underline}

/* ---------- Reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .55s cubic-bezier(.16,1,.3,1),transform .55s cubic-bezier(.16,1,.3,1)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}

/* ---------- Consent-Banner ---------- */
.cc{position:fixed;inset:auto 1rem calc(1rem + env(safe-area-inset-bottom));z-index:9000;max-width:560px;margin-inline:auto;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:1.3rem;box-shadow:var(--sh-2);font-size:.94rem;overscroll-behavior:contain}
.cc[hidden]{display:none}
.cc h2{font-size:1.12rem;margin-bottom:.5rem}
.cc p{color:var(--ink-2);font-size:.92rem}
.cc__row{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}
.cc__row .btn{flex:1 1 auto;min-width:150px}
.cc__opts{margin:1rem 0 0;display:grid;gap:.65rem}
.cc__opt{display:flex;gap:.8rem;align-items:flex-start;background:var(--surface-2);border-radius:var(--r-s);padding:.8rem 1rem}
.cc__opt input{margin-top:.3rem;width:18px;height:18px;accent-color:var(--berry);flex:none}
.cc__opt label{font-weight:700;font-size:.93rem;cursor:pointer}
.cc__opt p{margin:.15rem 0 0;font-size:.86rem}
.cc__opt input:disabled+div label{cursor:default;opacity:.75}
.cc__link{background:none;border:0;padding:0;font:inherit;font-size:.86rem;color:var(--ink-2);text-decoration:underline;cursor:pointer;margin-top:.85rem}
.cc-backdrop{position:fixed;inset:0;background:rgba(15,36,29,.34);z-index:8999}
.cc-backdrop[hidden]{display:none}

/* ---------- Toast ---------- */
.toast{position:fixed;bottom:calc(1.4rem + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%) translateY(22px);opacity:0;pointer-events:none;
  background:var(--ink);color:var(--paper);padding:.65rem 1.2rem;border-radius:999px;font-size:.88rem;font-weight:650;
  transition:opacity .22s,transform .22s;z-index:9500}
.toast.on{opacity:1;transform:translateX(-50%)}

/* ---------- Print ---------- */
@media print{
  .top,.cc,.cc-backdrop,.toast,.foot__legal button{display:none!important}
  body{background:#fff;font-size:11pt}
  .card,.box,.svc{break-inside:avoid}
  .editorial{display:block}
}

/* ---- page-specific building blocks ---- */

/* ---------- Hero: two columns ----------
   The right-hand half used to sit empty and read like a loading error.
   It now carries the lead image — the strongest evidence that someone
   here is writing about an actual device.                             */
.hero{padding:clamp(2.2rem,4.6vw,3.8rem) 0 clamp(1.6rem,3vw,2.4rem)}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(1.8rem,4vw,3.4rem);align-items:center}
@media(max-width:920px){
  .hero__grid{grid-template-columns:1fr;gap:1.8rem}
  .hero__shot{order:-1}
}
.hero__eyebrow{font-size:.85rem;font-weight:700;color:var(--ink-2);margin-bottom:.9rem}
.hero h1 em{font-style:normal;color:var(--berry)}
.hero__lead{font-size:1.2rem;color:var(--ink-2);max-width:44ch;margin-top:1.1rem;line-height:1.5}
.trust{list-style:none;margin:1.5rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.55rem 1.6rem}
.trust li{display:flex;align-items:center;gap:.55rem;font-weight:650;font-size:.98rem}
.trust svg{width:19px;height:19px;flex:none;fill:none;stroke:var(--teal);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hero__cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem}

/* Image frame. Aspect ratio pinned so swapping in a real photo
   causes no layout shift.                                             */
.hero__shot{margin:0;position:relative}
.hero__frame{position:relative;aspect-ratio:4/3;border-radius:var(--r);overflow:hidden;
  background:linear-gradient(160deg,var(--surface-2),var(--surface));
  border:1px solid var(--line);box-shadow:var(--sh-2)}
.hero__frame img{width:100%;height:100%;object-fit:cover;display:block}
.hero__frame svg{width:100%;height:100%;display:block}
.hero__badge{position:absolute;left:.85rem;bottom:.85rem;display:flex;align-items:center;gap:.5rem;
  background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(8px);
  border:1px solid var(--line);border-radius:999px;padding:.4rem .85rem .4rem .65rem;
  font-size:.82rem;font-weight:700;box-shadow:var(--sh-1)}
.hero__dot{width:9px;height:9px;border-radius:50%;background:var(--teal);flex:none;
  box-shadow:0 0 0 0 color-mix(in srgb,var(--teal) 60%,transparent);animation:puls 2.4s ease-out infinite}
@keyframes puls{
  0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--teal) 55%,transparent)}
  70%{box-shadow:0 0 0 9px transparent}
  100%{box-shadow:0 0 0 0 transparent}
}
.hero__cap{margin:.6rem 0 0;font-size:.83rem;color:var(--ink-3);line-height:1.45}

.flow{display:flex;align-items:stretch;gap:.4rem;margin-top:clamp(1.8rem,3.4vw,2.8rem);
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:clamp(1.2rem,2.4vw,1.8rem);box-shadow:var(--sh-1);overflow:hidden}
.flow__node{flex:1 1 0;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.5rem}
.flow__ic{display:grid;place-items:center;width:56px;height:56px;border-radius:17px}
.flow__ic svg{width:30px;height:30px}
.flow__ic--berry{background:var(--berry-soft);color:var(--berry)}
.flow__ic--teal{background:var(--teal-soft);color:var(--teal)}
.flow__ic--amber{background:var(--amber-soft);color:var(--amber)}
.flow__txt{display:contents}
.flow__node b{font-size:.95rem;line-height:1.3}
.flow__node span{font-size:.82rem;color:var(--ink-2);line-height:1.4}
.flow__link{flex:0 0 34px;display:flex;align-items:center;justify-content:center;gap:5px;padding-bottom:2.6rem}
.flow__link i{width:5px;height:5px;border-radius:50%;background:var(--line);animation:fluss 1.9s ease-in-out infinite}
.flow__link i:nth-child(2){animation-delay:.22s}
.flow__link i:nth-child(3){animation-delay:.44s}
@keyframes fluss{0%,100%{background:var(--line);transform:scale(1)}45%{background:var(--berry);transform:scale(1.45)}}
@media(max-width:860px){
  .flow{flex-direction:column;gap:0}
  .flow__node{flex-direction:row;text-align:left;gap:1rem;align-items:center}
  .flow__node b{flex:0 0 auto;min-width:8.5rem}
  .flow__ic{width:48px;height:48px;border-radius:14px;flex:none}
  .flow__ic svg{width:26px;height:26px}
  .flow__link{flex:none;flex-direction:column;height:26px;padding:0;margin-left:23px;align-items:flex-start;justify-content:center}
}
@media(max-width:420px){
  /* Label below the title, otherwise it gets too tight at 320px */
  .flow__node{align-items:flex-start;gap:.8rem}
  .flow__txt{display:flex;flex-direction:column;min-width:0;flex:1}
  .flow__node b{min-width:0}
}

.timeline{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;counter-reset:t}
@media(max-width:900px){.timeline{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.timeline{grid-template-columns:1fr}}
.timeline li{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.25rem 1.2rem;position:relative;counter-increment:t}
.timeline li::before{content:counter(t,decimal-leading-zero);position:absolute;top:1.1rem;right:1.2rem;
  font-family:var(--mono);font-size:.78rem;font-weight:700;color:var(--line)}
.timeline__ic{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--berry-soft);color:var(--berry);margin-bottom:.8rem}
.timeline__ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.timeline b{display:block;font-size:1.05rem;margin-bottom:.3rem}
.timeline span{display:block;font-size:.92rem;color:var(--ink-2)}
.timeline em{display:block;margin-top:.75rem;font-style:normal;font-family:var(--mono);font-size:.76rem;color:var(--teal);font-weight:700}

.calc{max-width:none}
.calc__intro{font-size:.93rem;color:var(--ink-2)}
.calc__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:1.3rem 0}
@media(max-width:800px){.calc__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.calc__grid{grid-template-columns:1fr}}
.field label{display:block;font-size:.86rem;font-weight:700;margin-bottom:.4rem}
.field label span{display:block;font-weight:500;color:var(--ink-2);font-size:.8rem}
.field input{width:100%;border:1px solid var(--line);background:var(--paper);border-radius:var(--r-s);
  padding:.7rem .85rem;font:inherit;font-size:1.05rem;color:var(--ink);font-variant-numeric:tabular-nums}
.field input:focus{border-color:var(--teal)}
.calc__out{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;background:var(--surface-2);
  border-radius:var(--r-s);padding:1.3rem 1.4rem}
@media(max-width:800px){.calc__out{grid-template-columns:repeat(2,1fr)}}
.calc__out span{display:block;font-size:.76rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-2);margin-bottom:.25rem}
.calc__out b{font-size:1.45rem;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.2}
.calc__out .neg{color:var(--amber)}
.calc__note{font-size:.92rem;color:var(--ink-2);margin:1rem 0 0;min-height:1.5em}

.svc{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:clamp(1.3rem,2.6vw,2rem);box-shadow:var(--sh-1)}
.svc__hd{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.1rem;
  padding-bottom:1.1rem;border-bottom:1px solid var(--line)}
/* All four provider marks sit in the same tile as the flow chain so the
   visual language stays consistent across the whole page. */
.svc__logo{width:52px;height:52px;flex:none;border-radius:16px;
  background:var(--surface-2);padding:6px;box-shadow:inset 0 0 0 1px var(--line)}
.svc__hd h3{margin:0;font-size:1.35rem}
.svc__hd p{margin:.1rem 0 0;font-size:.9rem;color:var(--ink-2)}
.svc__hd .chips{margin-left:auto}
.svc h4{margin:1.4rem 0 .5rem}
.svc--kompakt{padding:1.3rem}
.svc--kompakt .svc__logo{width:44px;height:44px;border-radius:14px;padding:5px}
.svc--kompakt .svc__hd h3{font-size:1.15rem}

.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;margin:0 0 1.2rem;
  background:var(--surface-2);border-radius:var(--r-s);padding:1rem 1.1rem}
.facts--eng{grid-template-columns:repeat(3,1fr)}
@media(max-width:640px){.facts,.facts--eng{grid-template-columns:repeat(2,1fr)}}
.facts dt{font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.facts dd{margin:.2rem 0 0;font-weight:700;font-size:.98rem}

.steps{margin:0 0 1rem;padding-left:1.3rem}
.steps li{margin-bottom:.35rem}
.tight{margin:0;padding-left:1.2rem;font-size:.95rem;color:var(--ink-2)}
.tight li{margin-bottom:.3rem}
.mini{font-size:.85rem;color:var(--ink-3)}

.svc__cta{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.2rem;margin-top:1.4rem;
  padding-top:1.2rem;border-top:1px solid var(--line)}
.svc__note{font-size:.85rem;color:var(--ink-3)}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;margin-bottom:1.2rem}
@media(max-width:860px){.grid2{grid-template-columns:1fr}}
/* Grid children must be allowed to shrink or wide code blocks break the layout */
.grid2>*,.kit>*,.timeline>li,.facts>div,.calc__grid>*,.calc__out>*{min-width:0}
.code,.scroll{min-width:0}

.magnet{display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(1.6rem,4vw,3.4rem);align-items:center;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:clamp(1.6rem,4vw,3rem);box-shadow:var(--sh-1)}
@media(max-width:820px){.magnet{grid-template-columns:1fr}.magnet__vis{order:-1}}
.magnet h2{margin-bottom:.8rem}
.magnet__list{list-style:none;margin:1.4rem 0 1.9rem;padding:0}
.magnet__list li{position:relative;padding-left:1.7rem;margin-bottom:.5rem;font-size:.96rem;color:var(--ink-2)}
.magnet__list li::before{content:"";position:absolute;left:0;top:.55em;width:9px;height:9px;
  border-radius:3px;background:var(--berry)}
.sheet{aspect-ratio:1/1.414;background:var(--paper);border:1px solid var(--line);border-radius:8px;
  padding:1.4rem 1.2rem;box-shadow:var(--sh-2);display:flex;flex-direction:column;gap:.75rem;
  transform:rotate(-2.2deg);transition:transform .3s ease}
.magnet:hover .sheet{transform:rotate(0deg) scale(1.02)}
.sheet__hd{display:flex;gap:.5rem;align-items:center}
.sheet__hd span:first-child{width:11px;height:11px;border-radius:3px;background:var(--berry);flex:none}
.sheet__hd span:last-child{height:7px;border-radius:4px;background:var(--ink-2);opacity:.32;flex:1}
.sheet__code{background:var(--surface-2);border-radius:6px;padding:.6rem;display:flex;flex-direction:column;gap:.4rem}
.sheet__code i{height:5px;border-radius:3px;background:var(--teal);opacity:.55}

.kit{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.kit__item{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.3rem;
  display:flex;flex-direction:column;transition:transform .22s ease,box-shadow .22s ease}
.kit__item:hover{transform:translateY(-3px);box-shadow:var(--sh-2)}
/* Hardware card header: the same tile used everywhere else */
.kit__hd{display:flex;align-items:center;gap:.8rem;margin-bottom:.8rem}
.kit__ic{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;flex:none;
  background:var(--surface-2);color:var(--ink-2)}
.kit__ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.kit__item--must .kit__ic{background:var(--berry-soft);color:var(--berry)}
.kit__tag{font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  padding:.25rem .6rem;border-radius:999px;background:var(--surface-2);color:var(--ink-2);margin-left:auto}
.kit__tag--must{background:var(--berry-soft);color:var(--berry)}
.kit__item h3{font-size:1.05rem;margin-bottom:.4rem}
.kit__item p{font-size:.92rem;color:var(--ink-2);flex:1;margin-bottom:.8rem}
.kit__item a{font-size:.9rem;font-weight:700;text-decoration:none}
.kit__item a:hover{text-decoration:underline}

/* ---------- Author card ----------
   Fills the right-hand column of “Why this page exists” with something
   that genuinely belongs there instead of leaving it empty. */
.author{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:1.3rem;box-shadow:var(--sh-1)}
.author__hd{display:flex;align-items:center;gap:.85rem;margin-bottom:1rem;
  padding-bottom:1rem;border-bottom:1px solid var(--line)}
.author__ava{width:48px;height:48px;border-radius:50%;flex:none;object-fit:cover;
  background:var(--berry-soft);color:var(--berry);display:grid;place-items:center;
  font-weight:800;font-size:1.05rem;letter-spacing:-.02em}
.author__hd b{display:block;font-size:1rem;line-height:1.3}
.author__hd span{display:block;font-size:.85rem;color:var(--ink-3);margin-top:.1rem}
.author__list{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.author__list li{display:flex;gap:.65rem;align-items:flex-start;font-size:.9rem;color:var(--ink-2);line-height:1.45}
.author__list svg{width:17px;height:17px;flex:none;margin-top:.15rem;fill:none;stroke:var(--teal);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Sub-pages (hub and spoke) ----------
   Breadcrumbs, short answer and sibling links. Deliberately the same
   tiles and edges as the home page – one visual language.             */
.brotkrumen{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;
  font-size:.86rem;color:var(--ink-3);margin-bottom:1.1rem}
.brotkrumen a{color:var(--ink-2);text-decoration:none;font-weight:600}
.brotkrumen a:hover{color:var(--berry);text-decoration:underline}
.brotkrumen [aria-current]{color:var(--ink-3);overflow-wrap:anywhere}

/* The short answer sits top right on purpose: anyone who only wants
   the one command should find it without reading the prose.           */
.kurzantwort{border-left-width:3px;border-left-color:var(--berry);
  background:var(--berry-soft)}
.kurzantwort b{color:var(--berry)}

.spoke-cta{background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);padding:1.2rem;box-shadow:var(--sh-1);
  display:flex;flex-direction:column;align-items:flex-start;gap:.8rem}
.spoke-cta .svc__logo{width:44px;height:44px}
.spoke-cta .btn{width:100%}

.weiter__gitter{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
@media(max-width:700px){.weiter__gitter{grid-template-columns:1fr}}
.weiter__karte{display:block;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-s);padding:1rem 1.1rem;text-decoration:none;color:var(--ink);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.weiter__karte:hover{transform:translateY(-2px);box-shadow:var(--sh-2);border-color:var(--ink-2)}
.weiter__karte b{display:block;font-size:.98rem;line-height:1.35;margin-bottom:.3rem}
.weiter__karte span{display:block;font-size:.86rem;color:var(--ink-2);line-height:1.45}

/* Deep link from the home page to the matching sub-page */
.vertiefung{margin:-.4rem 0 1.4rem;font-size:.95rem}
.vertiefung a{display:inline-flex;align-items:center;gap:.45rem;font-weight:700;
  text-decoration:none;padding:.45rem .9rem;border-radius:999px;
  background:var(--berry-soft);color:var(--berry);
  transition:transform .18s ease,box-shadow .18s ease}
.vertiefung a:hover{transform:translateX(2px);box-shadow:var(--sh-1)}
.vertiefung svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- Error page (404) ---------- */
.fehler{padding:clamp(3.5rem,10vw,7rem) 0;text-align:center}
.fehler__mark{width:76px;height:76px;margin:0 auto 1.8rem;display:block}
.fehler h1{font-size:clamp(1.9rem,5vw,3rem);margin-bottom:1rem}
.fehler p{color:var(--ink-2);max-width:44ch;margin-inline:auto;font-size:1.08rem}
.fehler__cta{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;margin-top:2.4rem}
.fehler__wege{margin-top:3.5rem;padding-top:2.4rem;border-top:1px solid var(--line);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem;text-align:left}
.fehler__weg{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.3rem;
  text-decoration:none;color:inherit;transition:transform .2s ease,box-shadow .2s ease}
.fehler__weg:hover{transform:translateY(-3px);box-shadow:var(--sh-2)}
.fehler__weg b{display:block;margin-bottom:.3rem}
.fehler__weg span{font-size:.92rem;color:var(--ink-2)}
