@font-face{font-family:'Outfit';font-style:normal;font-weight:300 700;font-display:swap;
  src:url(schrift/outfit-latin.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:'Outfit';font-style:normal;font-weight:300 700;font-display:swap;
  src:url(schrift/outfit-latin-ext.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}

:root{
  /* gemessen aus Adrians Wim-Hof-Screenshots (15.09.2026) */
  --petrol-900:#003846;
  --petrol-800:#1c4652;
  --petrol-600:#557c89;
  --teal:#4f98a2;
  --salbei:#a7c6ca;
  --salbei-text:#7fa7ad;
  --muted:#5f8a91;
  --tile:#f5fafa;
  --line:#e7eeee;
  --ring:#e7e8e7;
  --orange:#eeaa41;
  --orange-soft:#ffdfab;
  --orange-bg:#fff5e3;
  --fehler:#b4462f;
  --shadow:0 6px 18px rgba(0,56,70,.08);
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0}
/* Doppeltipp zoomt nicht: schnelles Tippen auf den Kaffee-Zaehler zog die Seite rein und raus.
   Gilt von der Wurzel aus fuer jede Stelle. Schieben und Zwei-Finger-Zoom bleiben erlaubt. */
html{touch-action:manipulation}
body{background:#e9f0f1;color:var(--petrol-800);font-family:'Outfit',system-ui,-apple-system,sans-serif;
  font-size:16px;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer;-webkit-user-select:none;user-select:none}
h1,h2,h3,p{margin:0}
.ic{width:24px;height:24px;flex:none}
#app{max-width:430px;margin:0 auto;background:#fff;min-height:100vh;min-height:100dvh;position:relative;
  box-shadow:0 0 40px rgba(0,56,70,.08)}
@media (max-width:430px){body{background:#fff}}
.page{padding:calc(env(safe-area-inset-top) + 22px) 20px calc(40px + env(safe-area-inset-bottom))}
body.detail .page{padding-top:0}

/* ---------- Kopf ---------- */
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
.date{font-size:13px;letter-spacing:.05em;text-transform:uppercase;color:var(--salbei-text);font-weight:500;margin-bottom:6px}
.top h1{font-size:30px;line-height:1.12;font-weight:600;color:var(--petrol-800)}
.ring{position:relative;width:62px;height:62px;border:0;background:none;padding:0;margin-top:4px}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring circle{fill:none;stroke-width:5}
.r-bg{stroke:var(--ring)}
.r-fg{stroke:var(--orange);stroke-linecap:round;transition:stroke-dashoffset .8s cubic-bezier(.4,0,.2,1)}
.r-num{position:absolute;inset:0;display:grid;place-items:center;font-size:22px;font-weight:600}

/* ---------- Hinweis "Gestern" ---------- */
.banner{background:var(--orange-bg);border:1px solid var(--orange-soft);border-radius:18px;padding:14px 16px;
  margin-bottom:14px;display:grid;grid-template-columns:28px 1fr;gap:4px 12px}
.banner .b-ic{color:#c98a1f;width:26px;height:26px;margin-top:1px}
.banner strong{display:block;font-weight:600;font-size:16px}
.banner .b-text span{font-size:14.5px;color:#5c6f73;line-height:1.35}
.b-actions{grid-column:2;display:flex;gap:14px;align-items:center;margin-top:8px}

/* ---------- Spruch ---------- */
.quote{display:block;width:100%;text-align:left;border:0;background:var(--tile);border-radius:18px;padding:16px 18px}
.quote .q-ic{color:var(--orange);width:22px;height:22px;margin-bottom:6px}
.quote .q-text{display:block;font-size:17.5px;line-height:1.35;font-weight:500;transition:opacity .25s}
.quote .q-label{display:block;margin-top:8px;font-size:12.5px;color:var(--salbei-text)}

/* ---------- Waben ---------- */
.comb{position:relative;margin-top:14px}
.comb-bg{position:absolute;left:50%;top:0;transform:translateX(-50%);fill:var(--tile)}
.hex{position:absolute;border:0;background:none;padding:0;filter:drop-shadow(0 8px 12px rgba(0,56,70,.16))}
.hex-svg{position:absolute;inset:0;width:100%;height:100%}
.h-off{fill:url(#gOff)}
.h-on{fill:url(#gOn);opacity:0;transition:opacity .35s ease}
.hex.on .h-on{opacity:1}
.hex-in{position:absolute;inset:0;padding-top:12px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:6px;color:var(--petrol-800)}
.hex-ic{width:42px;height:42px;stroke-width:1.5}
.hex-label{font-size:14.5px;font-weight:600;max-width:86%;text-align:center;line-height:1.15}
.hex-check{position:absolute;top:8%;left:50%;width:24px;height:24px;margin-left:-12px;border-radius:50%;
  background:#fff;color:var(--petrol-800);display:grid;place-items:center;transform:scale(0);
  transition:transform .35s cubic-bezier(.3,1.7,.5,1)}
.hex.on .hex-check{transform:scale(1)}
.hex-check .ic{width:15px;height:15px;stroke-width:3}
.hex.pop{animation:pop .45s ease}
.hex[disabled]{opacity:.6}
@keyframes pop{0%{transform:scale(1)}35%{transform:scale(.92)}70%{transform:scale(1.05)}100%{transform:scale(1)}}
.comb-hint{text-align:center;font-size:14px;color:var(--muted);margin:4px 0 18px;min-height:20px}

/* ---------- Kaffee und Karten ---------- */
.card{background:#fff;border-radius:18px;box-shadow:var(--shadow)}
.coffee{display:flex;align-items:center;justify-content:space-between;padding:12px 14px 12px 18px;margin-bottom:12px}
.c-left{display:flex;align-items:center;gap:14px}
.c-ic{width:32px;height:32px;stroke-width:1.6}
.c-title{font-size:17px;font-weight:600}
.c-sub{font-size:13px;color:var(--muted)}
.c-ctrl{display:flex;align-items:center;gap:6px}
.round{width:44px;height:44px;border-radius:50%;border:0;background:var(--tile);display:grid;place-items:center;color:var(--petrol-800)}
.round:active{background:#e3eeef}
.round .ic{stroke-width:2.2}
.c-num{min-width:40px;text-align:center;font-size:28px;font-weight:600;display:inline-block}
.c-num.pop{animation:pop .35s ease}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wcard{position:relative;border:0;background:#fff;border-radius:18px;box-shadow:var(--shadow);min-height:94px;
  padding:14px 14px 14px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:right}
.w-ic{width:34px;height:34px;stroke-width:1.6}
.w-title{display:block;font-size:17px;font-weight:600}
.w-sub{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.wcard.done .w-sub{color:var(--teal);font-weight:500}

/* ---------- Knoepfe, Fuss ---------- */
.pill{display:block;width:min(100%,300px);margin:26px auto 0;height:56px;border:0;border-radius:16px;
  background:var(--petrol-800);color:#fff;font-size:18px;font-weight:600}
.pill:active{background:var(--petrol-900)}
.pill[disabled]{opacity:.55}
.pill.small{display:inline-block;width:auto;height:44px;margin:0;padding:0 16px;border-radius:12px;font-size:15px}
.textbtn{border:0;background:none;min-height:44px;padding:0 12px;color:var(--muted);font-size:15px}
.fuss{margin:34px 0 0;text-align:center;font-size:14px;color:var(--muted)}
.fuss a{color:var(--muted)}

/* ---------- Schreiben ---------- */
.bar{position:sticky;top:0;z-index:5;background:var(--petrol-900);color:#fff;
  padding:calc(env(safe-area-inset-top) + 10px) 8px 12px;display:grid;grid-template-columns:48px 1fr 48px;
  align-items:center;margin:0 -20px}
.bar h1{text-align:center;font-size:19px;font-weight:600}
.back{border:0;background:none;color:#fff;width:48px;height:44px;display:grid;place-items:center}
.back .ic{width:30px;height:30px;stroke-width:1.8}
.intro{display:grid;grid-template-columns:60px 1fr;gap:16px;align-items:center;padding:22px 0 8px}
.hexicon{position:relative;width:56px;height:64px;display:grid;place-items:center;filter:drop-shadow(0 4px 8px rgba(0,56,70,.25))}
.hexicon>svg{position:absolute;inset:0;width:100%;height:100%;fill:var(--petrol-900)}
.hexicon .ic{position:relative;color:#fff;width:28px;height:28px;stroke-width:1.6}
.intro p{font-size:16px;line-height:1.45;color:#2f5560}
.fragen{background:var(--tile);border-radius:18px;padding:14px 18px;margin-top:12px}
.fragen li{font-size:16.5px;font-weight:600;line-height:1.3;list-style:none}
.fragen li+li{margin-top:10px}
.fragen em{display:block;font-style:normal;font-weight:400;font-size:15px;color:var(--muted);margin-top:2px}
.feld{background:var(--tile);border-radius:18px;padding:12px 18px 14px;margin-top:12px}
textarea{display:block;width:100%;border:0;background:transparent;resize:none;outline:none;
  font:400 17px/1.45 'Outfit',system-ui,sans-serif;color:var(--petrol-800);padding:8px 0 6px;min-height:220px}
textarea::placeholder{color:#9fbcc0}
.stand{margin:10px 2px 0;font-size:13.5px;color:var(--muted);min-height:1.2em}
.stand.fehler{color:var(--fehler)}
.stand .textbtn,.netz .textbtn{min-height:0;padding:0 2px;font-size:inherit;color:inherit;text-decoration:underline}
/* Die eine leise Zeile der Heute-Seite: kein Netz oder abgemeldet. Kein Alarm, nur Bescheid. */
.netz{margin:2px 2px 14px;padding:10px 14px;border-radius:14px;background:rgba(0,0,0,.045);color:var(--muted);font-size:13.5px;line-height:1.35}

/* ---------- Einblendungen ---------- */
#toast{position:fixed;left:50%;bottom:calc(30px + env(safe-area-inset-bottom));transform:translate(-50%,12px);
  background:var(--petrol-800);color:#fff;padding:12px 18px;border-radius:14px;font-size:15px;opacity:0;
  pointer-events:none;transition:opacity .25s,transform .25s;z-index:40;max-width:calc(100% - 40px);
  width:max-content;text-align:center}
#toast.show{opacity:1;transform:translate(-50%,0)}
.abzeichen{position:fixed;inset:0;background:rgba(0,40,50,.35);display:grid;place-items:center;z-index:50;
  animation:fade .2s ease}
.abzeichen-karte{background:#fff;border-radius:24px;padding:28px 26px;text-align:center;width:min(86%,320px);
  box-shadow:0 18px 40px rgba(0,56,70,.25)}
.abzeichen-karte .ic{width:46px;height:46px;color:var(--orange);stroke-width:1.6}
.abzeichen-karte b{display:block;font-size:22px;font-weight:600;margin:10px 0 4px}
.abzeichen-karte span{display:block;font-size:15px;color:var(--muted);line-height:1.4}
@keyframes fade{from{opacity:0}to{opacity:1}}
.laden{padding:60px 20px;text-align:center;color:var(--muted)}
