/* Nurmedizinius – Gestaltung */

@font-face { font-family: "Marcellus"; src: url("/assets/fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #F3F6F7;
  --bg-2: #E8EEF0;
  --paper: #FFFFFF;
  --sidebar: #EBF2F2;
  --ink: #12303A;
  --ink-2: #4E6872;
  --ink-3: #7B929A;
  --line: #D8E2E5;
  --line-2: #BCCCD1;
  --petrol: #1D6A73;
  --petrol-ink: #FFFFFF;
  --petrol-soft: #DFEDEF;
  --green: #3A8A5D;
  --green-ink: #FFFFFF;
  --green-soft: #E4F1E8;
  --green-line: #BCDCC7;
  --coral: #BF523C;
  --coral-ink: #FFFFFF;
  --coral-soft: #F9E8E3;
  --coral-line: #ECC4B9;
  --ochre: #B5813C;
  --ochre-soft: #F6EEDF;
  --blood-soft: #F7E4E1;
  --flow: rgba(255, 255, 255, 0.9);
  --shadow: 0 1px 2px rgba(18, 48, 58, 0.06), 0 14px 34px -18px rgba(18, 48, 58, 0.25);
  --shadow-lg: 0 2px 6px rgba(18, 48, 58, 0.08), 0 30px 60px -24px rgba(18, 48, 58, 0.35);
  --grad-a: #1D6A73;
  --grad-b: #2F8A5E;
  --display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --topbar: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0C181D;
    --bg-2: #122229;
    --paper: #14252C;
    --sidebar: #0F1E24;
    --ink: #E2EDEF;
    --ink-2: #A0B6BD;
    --ink-3: #718990;
    --line: #22393F;
    --line-2: #34525B;
    --petrol: #6CBDC6;
    --petrol-ink: #0A191D;
    --petrol-soft: #163239;
    --green: #74C497;
    --green-ink: #0A1A11;
    --green-soft: #142F20;
    --green-line: #2A5A3D;
    --coral: #EE8C76;
    --coral-ink: #1E0D09;
    --coral-soft: #362220;
    --coral-line: #6A3A31;
    --ochre: #DAAA64;
    --ochre-soft: #33291A;
    --blood-soft: #36232A;
    --flow: rgba(10, 25, 29, 0.6);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 34px -18px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 60px -24px rgba(0, 0, 0, 0.8);
    --grad-a: #17575F;
    --grad-b: #24704C;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0C181D;
  --bg-2: #122229;
  --paper: #14252C;
  --sidebar: #0F1E24;
  --ink: #E2EDEF;
  --ink-2: #A0B6BD;
  --ink-3: #718990;
  --line: #22393F;
  --line-2: #34525B;
  --petrol: #6CBDC6;
  --petrol-ink: #0A191D;
  --petrol-soft: #163239;
  --green: #74C497;
  --green-ink: #0A1A11;
  --green-soft: #142F20;
  --green-line: #2A5A3D;
  --coral: #EE8C76;
  --coral-ink: #1E0D09;
  --coral-soft: #362220;
  --coral-line: #6A3A31;
  --ochre: #DAAA64;
  --ochre-soft: #33291A;
  --blood-soft: #36232A;
  --flow: rgba(10, 25, 29, 0.6);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 34px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 60px -24px rgba(0, 0, 0, 0.8);
  --grad-a: #17575F;
  --grad-b: #24704C;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--petrol); text-underline-offset: 3px; }
b, strong { font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.muted { color: var(--ink-2); }
.hint { font-size: 14px; color: var(--ink-3); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Marke */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 28%; display: grid; place-items: center;
  background: linear-gradient(135deg, #23808A, #2F8A5E);
  box-shadow: 0 6px 14px -8px rgba(29, 106, 115, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.bm-pulse { fill: none; stroke: #FFFFFF; stroke-width: 5.4; stroke-linecap: round; stroke-linejoin: round; }
.bm-heart { fill: #FF9A7E; }
.brand-name { font-size: 21px; font-weight: 400; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand-name b { font-weight: 700; color: var(--petrol); }

/* Knöpfe und Chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 1px solid transparent;
  background: var(--petrol); color: var(--petrol-ink); font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.99); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--petrol); color: var(--petrol); filter: none; }
.btn.soft { background: var(--petrol-soft); color: var(--petrol); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
.btn.danger { background: transparent; border-color: var(--coral-line); color: var(--coral); }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn-google { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.btn-google:hover { border-color: var(--petrol); filter: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.chip.petrol { background: var(--petrol-soft); color: var(--petrol); }
.chip.coral { background: var(--coral-soft); color: var(--coral); }
.chip.green { background: var(--green-soft); color: var(--green); }
.chip.ochre { background: var(--ochre-soft); color: var(--ochre); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Lade- und Anmeldebildschirme */
.splash { min-height: 100vh; display: grid; place-items: center; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--petrol); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; position: relative; overflow: hidden; }
.auth-shell::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--petrol) 22%, transparent) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.7), transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.7), transparent 70%);
}
.auth-top { position: relative; padding: 22px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1040px; width: 100%; margin: 0 auto; }
.auth-main { position: relative; display: grid; place-items: center; padding: 16px 20px 40px; }
.auth-card { width: 100%; max-width: 520px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 34px 30px; display: grid; gap: 22px; }
.auth-card h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 6vw, 42px); line-height: 1.08; margin: 0; text-wrap: balance; }
.auth-card .lead { color: var(--ink-2); font-size: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 700; font-size: 15px; }
.field input, .field select {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--petrol); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; font-weight: 600; font-size: 15px; }
.seg button[aria-pressed="true"] { background: var(--petrol-soft); border-color: var(--petrol); color: var(--petrol); }
.auth-actions { display: grid; gap: 10px; }
.auth-note { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.auth-foot { position: relative; text-align: center; padding: 18px 20px 26px; font-size: 14px; color: var(--ink-3); }
.auth-foot b { color: var(--ink-2); font-weight: 600; }
.steps-dots { display: flex; gap: 6px; }
.steps-dots span { width: 22px; height: 4px; border-radius: 4px; background: var(--line); }
.steps-dots span.on { background: var(--petrol); }
.construction { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--ochre-soft); color: var(--ochre); font-size: 13px; font-weight: 700; white-space: nowrap; }
.construction svg { width: 16px; height: 16px; }
.note-box { border-radius: 16px; background: var(--ochre-soft); color: var(--ink); padding: 14px 16px; font-size: 15px; display: grid; gap: 4px; }
.note-box b { color: var(--ochre); }

/* App-Rahmen */
.app { display: grid; grid-template-columns: 276px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--sidebar);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; padding: 20px 16px 16px;
}
.sb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 6px 6px; }
.sb-close { display: none; }
.sb-group { display: grid; gap: 2px; }
.sb-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px 6px; }
.sb-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2);
  text-decoration: none; font-weight: 600; font-size: 15.5px; transition: background 0.15s ease, color 0.15s ease;
}
.sb-item:hover { background: color-mix(in srgb, var(--petrol-soft) 70%, transparent); color: var(--ink); }
.sb-item[aria-current="page"] { background: var(--paper); color: var(--petrol); box-shadow: var(--shadow); }
.sb-item .price-badge { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 2px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.sb-item .soon { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ochre); background: var(--ochre-soft); padding: 2px 8px; border-radius: 999px; }
.sb-foot { margin-top: auto; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.user { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 4px 6px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--petrol-soft); color: var(--petrol); display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user .n { font-weight: 700; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user .e { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-logout { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; font-weight: 600; font-size: 14.5px; }
.sb-logout:hover { border-color: var(--coral-line); color: var(--coral); }

.main { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--topbar);
  background: var(--bg); background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { height: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 24px; display: flex; align-items: center; gap: 14px; }
.menu-btn, .icon-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.topbar .brand { display: none; }
.quick { flex: 1; max-width: 460px; position: relative; }
.quick input { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 10px 42px; min-height: 42px; }
.quick input:focus { outline: 2px solid var(--petrol); outline-offset: 1px; }
.quick svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 18px; height: 18px; }
.topbar .construction { margin-left: auto; }
.preview-bar { background: var(--green-soft); color: var(--ink); font-size: 14px; border-bottom: 1px solid var(--green-line); }
.preview-bar div { max-width: 1120px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.preview-bar b { color: var(--green); }
.preview-bar a { color: var(--petrol); font-weight: 700; text-decoration: none; }
.preview-bar a:hover { text-decoration: underline; }

.page { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 24px; padding-block: 36px 24px; flex: 1; animation: rise 0.35s ease both; }
@keyframes rise { from { opacity: 0.001; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 760px; }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.2vw, 52px); line-height: 1.05; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.page-head .lead { font-size: 19px; color: var(--ink-2); max-width: 60ch; }
.section-title { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0 0 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stack { display: grid; gap: 16px; }
.block + .block { margin-top: 40px; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.card.raised { box-shadow: var(--shadow); }
.card h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.card .big { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--petrol); }
a.card { color: inherit; text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--line-2); }

.dcard { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px; }
.dcard .ticon { width: 64px; height: 64px; border-radius: 18px; background: var(--petrol-soft); display: grid; place-items: center; }
.dcard .ticon svg { width: 42px; height: 42px; }
.dcard .t { font-family: var(--display); font-size: 26px; line-height: 1.15; }
.dcard .m { font-size: 15px; color: var(--ink-2); }
.go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--petrol); }
.go svg { width: 18px; height: 18px; }
.i-v { fill: none; stroke: var(--petrol); stroke-width: 3; stroke-linecap: round; }
.i-dead { fill: none; stroke: var(--line-2); stroke-width: 3; stroke-linecap: round; }
.i-clot { fill: var(--ochre); }
.i-cell { fill: var(--paper); stroke: var(--petrol); stroke-width: 2.5; }
.i-sugar { fill: var(--ochre); }

.soon-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.soon-list.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.soon-item { display: grid; align-content: start; justify-items: start; gap: 10px; padding: 16px 18px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--ink-2); text-decoration: none; }
a.soon-item { transition: border-color 0.2s ease, background 0.2s ease; }
a.soon-item:hover { border-color: var(--petrol); background: var(--paper); }
.soon-item > span:first-child { display: grid; gap: 2px; }
.soon-item b { color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.35; }
.soon-item span.s { font-size: 14px; line-height: 1.45; color: var(--ink-3); }

.topic-teaser { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.datebox { width: 64px; border-radius: 16px; background: var(--petrol); color: var(--petrol-ink); text-align: center; padding: 8px 0 10px; line-height: 1.1; }
.datebox .d { font-size: 28px; font-weight: 700; display: block; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.datebox .w { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.meta { font-size: 14.5px; color: var(--ink-2); }

/* Krankheitsseite */
.article-wrap { display: grid; grid-template-columns: minmax(0, 760px) 220px; gap: 48px; align-items: start; }
.article { min-width: 0; }
.toc { position: sticky; top: calc(var(--topbar) + 24px); display: grid; gap: 2px; font-size: 14.5px; }
.toc p { margin-bottom: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; padding: 5px 10px; border-radius: 8px; border-left: 2px solid var(--line); }
.toc a:hover, .toc a.on { color: var(--petrol); border-left-color: var(--petrol); background: var(--petrol-soft); }
.chipnav { display: none; position: sticky; top: var(--topbar); z-index: 10; margin: 0 -24px 8px; padding: 10px 24px; background: var(--bg); background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.chipnav::-webkit-scrollbar { display: none; }
.chipnav a { display: inline-block; margin-right: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.chipnav a.on { background: var(--petrol-soft); border-color: var(--petrol); color: var(--petrol); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.back:hover { color: var(--petrol); }
.back svg { width: 18px; height: 18px; }
.d-title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 64px); line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.d-terms { font-style: italic; color: var(--ink-2); font-size: 17px; }
.d-lead { font-size: 20px; line-height: 1.55; }
.d-head { display: grid; gap: 12px; }
.summary { margin-top: 28px; border-radius: 22px; background: var(--petrol-soft); padding: 22px; display: grid; gap: 10px; }
.summary ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.summary li::marker { color: var(--petrol); }

.plate {
  margin: 28px 0 0; padding: 26px 22px 20px; border-radius: 24px; border: 1px solid var(--line);
  background:
    linear-gradient(var(--petrol), var(--petrol)) top 14px left 14px / 14px 1.5px no-repeat,
    linear-gradient(var(--petrol), var(--petrol)) top 14px left 14px / 1.5px 14px no-repeat,
    linear-gradient(var(--petrol), var(--petrol)) top 14px right 14px / 14px 1.5px no-repeat,
    linear-gradient(var(--petrol), var(--petrol)) top 14px right 14px / 1.5px 14px no-repeat,
    linear-gradient(var(--petrol), var(--petrol)) bottom 14px left 14px / 14px 1.5px no-repeat,
    linear-gradient(var(--petrol), var(--petrol)) bottom 14px left 14px / 1.5px 14px no-repeat,
    linear-gradient(var(--petrol), var(--petrol)) bottom 14px right 14px / 14px 1.5px no-repeat,
    linear-gradient(var(--petrol), var(--petrol)) bottom 14px right 14px / 1.5px 14px no-repeat,
    var(--paper);
}
.plate svg { display: block; width: 100%; height: auto; max-width: 460px; margin: 0 auto; }
.plate figcaption { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cap-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 700; }
.cap-tag { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 16px; line-height: 1.45; }
.legend .key { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.legend .key.sq { border-radius: 6px; }
.legend i { color: var(--petrol); }
.p-v { fill: none; stroke: var(--petrol); stroke-linecap: round; }
.p-flow { fill: none; stroke: var(--flow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.1 11; animation: flow 1.15s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22.2; } }
.p-dead { fill: none; stroke: var(--line-2); stroke-linecap: round; }
.p-area { fill: var(--coral-soft); stroke: var(--coral-line); stroke-width: 1.5; stroke-dasharray: 4 5; }
.p-clot { fill: var(--ochre); }
.p-lead { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.p-key { fill: var(--ink); }
.p-key-t { fill: var(--paper); font: 700 11px var(--body); text-anchor: middle; }
.d-band { fill: var(--blood-soft); stroke: var(--coral-line); stroke-width: 1.2; }
.d-sugar { fill: var(--ochre); }
.d-cell { fill: var(--petrol-soft); stroke: var(--petrol); stroke-width: 2; }
.d-mem { fill: none; stroke: var(--petrol); stroke-width: 2; stroke-linecap: round; }
.d-ins { fill: var(--green); }
.d-miss { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 3 2.5; }
.d-arrow { fill: none; stroke: var(--ochre); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-block { fill: none; stroke: var(--coral); stroke-width: 2.6; stroke-linecap: round; }
.d-t { fill: var(--ink); font: 700 13px var(--body); text-anchor: middle; }
.d-s { fill: var(--ink-2); font: italic 400 12px var(--body); text-anchor: middle; }
.d-sl { fill: var(--ink-2); font: italic 400 11px var(--body); }
.d-leg { fill: var(--ink-2); font: 400 12px var(--body); }
.d-divider { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }

.mode-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 44px 0 4px; }
.mode-tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--petrol); color: var(--petrol-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.mode-tag.green { background: var(--green); color: var(--green-ink); justify-self: start; }
.mode-hint { font-size: 15px; color: var(--ink-2); }
.sec { padding-block: 30px; display: grid; gap: 14px; scroll-margin-top: calc(var(--topbar) + 60px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec > h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 0; }
.sec h3, .alarm h3, .quiz h3 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 700; }
.sec h4 { margin: 10px 0 0; font-size: 18px; line-height: 1.35; font-weight: 700; }
.plain { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.plain li::marker { color: var(--ink-3); }
.ratio { display: grid; gap: 10px; }
.ratio-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--bg-2); }
.ratio-bar .a { background: var(--petrol); }
.ratio-bar .r { background: repeating-linear-gradient(135deg, var(--petrol) 0 3px, var(--petrol-soft) 3px 6px); }
.ratio-bar .b-coral { background: var(--coral); }
.ratio-bar .b-ochre { background: var(--ochre); }
.ratio-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: 16px; }
.ratio-legend > div { display: grid; }
.ratio-legend .right { text-align: right; }
.ratio-legend b { font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.ratio-legend i { color: var(--ink-2); font-size: 15px; }
.ratio-note { font-size: 13px; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 15.5px; }
.terms { list-style: none; margin: 0; padding: 0; }
.terms li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.terms li:first-child { border-top: 1px solid var(--line); }
.terms li > span { flex: 1 1 320px; }
.terms i { color: var(--petrol); font-size: 16.5px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.val { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.val .k { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.val .v { font-size: 25px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; }
.val .u { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.val.warn { background: var(--coral-soft); border-color: var(--coral-line); }
.val.warn .v { color: var(--coral); }
.alarm { border-radius: 22px; background: var(--coral-soft); border: 1px solid var(--coral-line); padding: 22px 20px; display: grid; gap: 14px; }
.alarm h3 { display: flex; align-items: center; gap: 10px; color: var(--coral); flex-wrap: wrap; }
.alarm h3 svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 24px; }
.alarm h3 .sub { font-style: italic; font-weight: 400; font-size: 16px; color: var(--ink-2); }
.fast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fast > div { background: var(--paper); border-radius: 16px; padding: 14px; display: grid; gap: 6px; align-content: start; }
.fast .L { font-family: var(--display); font-size: 38px; line-height: 1; color: var(--coral); }
.fast .w { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.fast p { font-size: 15px; line-height: 1.45; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.split > div { background: var(--paper); border-radius: 16px; padding: 16px; display: grid; gap: 6px; align-content: start; }
.split .w { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
.split p { font-size: 16px; }
.care { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.care > div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.care h4 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.care h4 svg { width: 22px; height: 22px; fill: none; stroke: var(--petrol); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 22px; }
.care ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 16px; line-height: 1.5; }
.care li::marker { color: var(--ink-3); }
.chain { display: grid; }
.step { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-block: 10px; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 46px; bottom: -8px; width: 2px; background: var(--line-2); }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--petrol); color: var(--petrol-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.step .lab { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--petrol); padding-top: 1px; }
.step p { font-size: 17px; }
.callout { border-radius: 18px; padding: 16px 18px; display: grid; gap: 6px; background: var(--petrol-soft); }
.callout-t { font-weight: 700; color: var(--petrol); font-size: 15px; letter-spacing: 0.02em; }
.callout.praxis { background: var(--green-soft); }
.callout.praxis .callout-t { color: var(--green); }
.callout.achtung { background: var(--ochre-soft); }
.callout.achtung .callout-t { color: var(--ochre); }
.plan { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 20px; display: grid; gap: 12px; }
.plan-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol); }
.plan dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; }
.plan dt { font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.plan dd { margin: 0; font-size: 16px; }
.plan dd ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

.simple-btn {
  margin-top: 36px; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; text-align: left;
  padding: 16px 20px 16px 16px; border: 0; border-radius: 22px; background: var(--green); color: var(--green-ink); cursor: pointer;
  box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--green) 85%, transparent); transition: transform 0.15s ease, filter 0.15s ease;
}
.simple-btn:hover { filter: brightness(1.05); }
.simple-btn .ico { width: 48px; height: 48px; border-radius: 15px; background: color-mix(in srgb, var(--green-ink) 14%, transparent); display: grid; place-items: center; }
.simple-btn .ico svg, .simple-btn .chev { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.simple-btn .t1 { display: block; font-size: 20px; font-weight: 700; line-height: 1.25; }
.simple-btn .t2 { display: block; font-size: 15px; opacity: 0.88; }
.simple-btn .chev { transition: transform 0.3s ease; }
.simple-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease; }
.drawer.open { grid-template-rows: 1fr; }
.drawer > div { overflow: hidden; min-height: 0; }
.simple { margin-top: 12px; border-radius: 24px; background: var(--green-soft); border: 1px solid var(--green-line); padding: 26px 22px; display: grid; gap: 20px; }
.simple .block2 { display: grid; gap: 6px; }
.simple h4 { margin: 0; font-size: 19px; color: var(--green); line-height: 1.3; }
.simple p { font-size: 18px; }
.merk { display: grid; gap: 10px; }
.merk .eyebrow { color: var(--green); }
.merk-item { display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 16px; padding: 13px 16px; font-family: var(--display); font-size: 21px; line-height: 1.3; }
.merk-item svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.quiz { margin-top: 44px; display: grid; gap: 14px; scroll-margin-top: calc(var(--topbar) + 60px); }
.quiz-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.quiz-head span { font-size: 15px; color: var(--ink-2); }
.quiz-body { display: grid; gap: 12px; }
.q { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 12px; }
.qn { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.qt { font-size: 18.5px; font-weight: 700; line-height: 1.4; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.45; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.opt:hover:not([disabled]) { border-color: var(--petrol); }
.opt .k { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.opt.ok { border-color: var(--green); background: var(--green-soft); }
.opt.ok .k { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.opt.no { border-color: var(--coral); background: var(--coral-soft); }
.opt.no .k { background: var(--coral); border-color: var(--coral); color: var(--coral-ink); }
.opt[disabled] { cursor: default; }
.fb { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); font-size: 16px; }
.fb strong { color: var(--green); }
.fb.bad strong { color: var(--coral); }
.score { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 18px; border-radius: 18px; background: var(--petrol-soft); }
.score b { font-size: 19px; }
.src { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

/* Suche */
.search-big { position: relative; }
.search-big input { width: 100%; font: inherit; font-size: 20px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px 16px 56px; box-shadow: var(--shadow); }
.search-big input:focus { outline: 2px solid var(--petrol); outline-offset: 2px; }
.search-big svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--ink-3); }
.results { display: grid; gap: 10px; margin-top: 22px; }
.result { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.result:hover { border-color: var(--petrol); }
.result .rt { font-weight: 700; font-size: 17px; }
.result .rs { grid-column: 1; font-size: 14.5px; color: var(--ink-2); }
.result .chip { grid-row: 1 / span 2; grid-column: 2; }
.result mark { background: var(--ochre-soft); color: inherit; border-radius: 4px; padding: 0 2px; }
.empty { text-align: center; padding: 40px 20px; color: var(--ink-2); display: grid; gap: 14px; justify-items: center; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.suggest button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; font-weight: 600; font-size: 15px; }
.suggest button:hover { border-color: var(--petrol); color: var(--petrol); }

/* Themen */
.topic-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.topic-top { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; align-items: start; }
.topic-top h2 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 4px 0 6px; }
.topic-body { border-top: 1px solid var(--line); padding: 4px 22px 22px; }
.topic-body .article { max-width: 760px; }
.topic-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 22px 22px; }
.own { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.own .datebox { width: 56px; background: var(--petrol-soft); color: var(--petrol); }
.own .datebox .d { font-size: 24px; }
.own .t { font-weight: 700; }
.own .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.own .del { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; }
.own .del:hover { color: var(--coral); border-color: var(--coral-line); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .wide { grid-column: 1 / -1; }

/* Kompetenzbereiche */
.kb-card { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; align-items: start; }
.kb-num { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--petrol); text-align: center; padding-top: 2px; }
.kb-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.4; font-weight: 600; }

/* Profil */
.profile-head { display: flex; align-items: center; gap: 16px; }
.profile-head .avatar { width: 64px; height: 64px; font-size: 24px; }

/* Angebot und Vollversion */
.offer-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.offer-tag.light { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.offer-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 14px; border-radius: 16px; background: var(--green-soft); border: 1px solid var(--green-line); font-size: 14.5px; line-height: 1.45; }
.offer-card {
  position: relative; overflow: hidden; margin-top: 16px; border-radius: 24px; padding: 26px 26px 24px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #FFFFFF;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 24px; box-shadow: var(--shadow);
}
.offer-card::after {
  content: ""; position: absolute; right: -40px; top: -30px; width: 340px; height: 260px; pointer-events: none; opacity: 0.13;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8.5 41H16.5L21.5 16.5L38.5 46.5L43.5 22' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.offer-body { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: start; max-width: 62ch; }
.offer-card h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 32px); line-height: 1.15; text-wrap: balance; }
.offer-card p { color: rgba(255, 255, 255, 0.9); font-size: 16.5px; }
.offer-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: 15px; }
.offer-points li { display: inline-flex; align-items: center; gap: 6px; }
.offer-points svg { width: 18px; height: 18px; color: #BFF0D2; stroke-width: 2.4; }
.btn.light { position: relative; z-index: 1; background: #FFFFFF; color: #1D6A73; }
.btn.light:hover { filter: none; background: #F1FAF7; }
.pro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.price-card { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px 24px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); }
.price { display: flex; align-items: flex-start; gap: 4px; margin: 0; }
.price .amount { font-size: 76px; font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .cur { font-size: 30px; font-weight: 700; color: var(--petrol); margin-top: 6px; }
.price-sub { color: var(--ink-2); font-weight: 600; }
.check-list, .free-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.check-list svg { width: 22px; height: 22px; color: var(--green); stroke-width: 2.2; margin-top: 1px; }
.free-card { gap: 14px; }
.free-list li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--green-line); }
.free-list span { font-size: 14.5px; color: var(--ink-2); }

/* Fußzeile */
.foot { border-top: 1px solid var(--line); margin-top: 48px; }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 26px 24px 34px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-3); }
.foot-name { font-family: var(--display); font-size: 20px; color: var(--ink); letter-spacing: 0.03em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.foot-c { font-family: var(--body); font-size: 14px; letter-spacing: 0; color: var(--ink-3); }
.foot p { max-width: 90ch; }

/* Hinweisfenster */
dialog.notice { border: 0; padding: 0; border-radius: 26px; max-width: 480px; width: calc(100% - 32px); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.notice::backdrop { background: rgba(8, 20, 24, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.notice-in { padding: 30px 28px 26px; display: grid; gap: 16px; }
.notice-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--ochre-soft); color: var(--ochre); display: grid; place-items: center; }
.notice-ico svg { width: 30px; height: 30px; }
.notice-in h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 0; }
.notice-in p { color: var(--ink-2); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg); z-index: 60; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; }
.scrim { display: none; }

/* Mittlere und kleine Bildschirme */
@media (max-width: 1180px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .chipnav { display: block; }
}
@media (max-width: 1000px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); z-index: 50; transform: translateX(-102%); transition: transform 0.28s ease; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .sb-close { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(8, 20, 24, 0.45); z-index: 40; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
  .scrim.show { opacity: 1; pointer-events: auto; }
  .menu-btn, .icon-btn { display: inline-flex; }
  .topbar .brand { display: inline-flex; }
  .topbar .brand-name { font-size: 19px; }
  .topbar .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .quick { display: none; }
  .topbar .construction { display: none; }
  .soon-list.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-btn { margin-left: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .topbar-inner, .page, .foot-inner, .preview-bar div { padding-inline: 16px; }
  .chipnav { margin-inline: -16px; padding-inline: 16px; }
  .page { padding-block: 26px 16px; }
  .grid-2, .grid-3, .soon-list, .soon-list.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .soon-item { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .fast { grid-template-columns: 1fr 1fr; }
  .split, .care, .form-grid, .pro-grid { grid-template-columns: minmax(0, 1fr); }
  .offer-card { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .offer-card::after { width: 200px; height: 160px; right: -70px; top: -44px; opacity: 0.1; }
  .offer-card .btn { justify-self: start; }
  .plan dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .plan dd { margin-bottom: 10px; }
  .auth-card { padding: 28px 20px; border-radius: 22px; }
  .kb-card { grid-template-columns: 48px 1fr; gap: 12px; padding: 18px; }
  .kb-num { font-size: 34px; }
  .dcard { grid-template-columns: auto 1fr; }
  .dcard .go { display: none; }
  .topic-top { grid-template-columns: minmax(0, 1fr); }
  .own { grid-template-columns: auto 1fr; }
  .own .del { grid-column: 2; justify-self: end; }
}
@media (max-width: 380px) {
  .topbar .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
