/* Schriften lokal eingebunden (SIL Open Font License), keine Verbindung zu Google */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-sans-3-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-sans-3-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;
}

/* ============================================================
   wetterwolke.com – Kaufberatung Wetterstationen, Apps, Zubehör
   ============================================================ */

:root {
  --header-bg: rgba(246, 249, 252, .88);
  --sun-tint: #fcefd2;
  --sun-glow: rgba(242, 182, 50, .22);
  --on-accent: #ffffff;
  --input-border: #7a8a9c;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --surface-2: #eef4fa;
  --text: #16212e;
  --text-muted: #556274;
  --border: #dbe4ee;
  --accent: #1f6fb2;
  --accent-strong: #15578e;
  --accent-soft: #e2effa;
  --sun: #f2b632;
  --good: #1e7a4c;
  --good-soft: #e3f4ea;
  --warn: #a5541a;
  --warn-soft: #fbeee3;
  --buy: #f2b632;
  --buy-text: #1d1a10;
  --shadow: 0 1px 2px rgba(22, 33, 46, .05), 0 4px 16px rgba(22, 33, 46, .06);
  --radius: 14px;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
  --font-head: "Bricolage Grotesque", -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --header-bg: rgba(15, 22, 32, .88);
    --sun-tint: #47422e;
    --sun-glow: rgba(242, 182, 50, .12);
    --on-accent: #0f1620;
    --input-border: #6b7d90;
    --bg: #0f1620;
    --surface: #17212d;
    --surface-2: #1d2937;
    --text: #e6edf5;
    --text-muted: #9fb0c3;
    --border: #2a3847;
    --accent: #6cb4f0;
    --accent-strong: #93c8f5;
    --accent-soft: #1b3047;
    --good: #6fd19c;
    --good-soft: #17332a;
    --warn: #f0a46b;
    --warn-soft: #3a2719;
    --buy: #f2b632;
    --buy-text: #1d1a10;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --header-bg: rgba(15, 22, 32, .88);
  --sun-tint: #47422e;
  --sun-glow: rgba(242, 182, 50, .12);
  --on-accent: #0f1620;
  --input-border: #6b7d90;
  --bg: #0f1620;
  --surface: #17212d;
  --surface-2: #1d2937;
  --text: #e6edf5;
  --text-muted: #9fb0c3;
  --border: #2a3847;
  --accent: #6cb4f0;
  --accent-strong: #93c8f5;
  --accent-soft: #1b3047;
  --good: #6fd19c;
  --good-soft: #17332a;
  --warn: #f0a46b;
  --warn-soft: #3a2719;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; margin-top: 0; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.muted { color: var(--text-muted); }
.small { font-size: .9rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.logo svg { width: 34px; height: 34px; flex: none; }
.logo:hover { color: var(--text); }

.main-nav { margin-left: auto; display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); }

@media (max-width: 640px) {
  .site-header .wrap { padding-top: 8px; gap: 4px; }
  .main-nav {
    margin-left: 0;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(900px 300px at 85% -10%, var(--sun-glow), transparent 70%),
    linear-gradient(180deg, var(--accent-soft), var(--bg));
}
.hero .eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero p.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 46em; }
.hero .stand { font-size: .9rem; color: var(--text-muted); }

/* ---------- Sections ---------- */

section { padding: 40px 0; }
section + section { border-top: 1px solid var(--border); }
.section-intro { color: var(--text-muted); max-width: 46em; margin-bottom: 24px; }

/* Kurzfazit */
.takeaways {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.takeaways li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.takeaways strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }

/* Cards */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 4px; }
.card .meta { font-size: .9rem; color: var(--text-muted); margin-bottom: 12px; }
.card .actions { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 10px;
  align-self: flex-start;
}

.pros, .cons { list-style: none; margin: 0 0 10px; padding: 0; font-size: .97rem; }
.pros li, .cons li { position: relative; padding-left: 26px; margin-bottom: 4px; }
.pros li::before, .cons li::before {
  position: absolute; left: 0; top: .15em;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: .75rem; font-weight: 700; line-height: 18px; text-align: center;
}
.pros li::before { content: "+"; background: var(--good-soft); color: var(--good); }
.cons li::before { content: "–"; background: var(--warn-soft); color: var(--warn); }

/* Kategorie-Karten Startseite */
.cat-card { text-decoration: none; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.cat-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text); }
.cat-card .icon { width: 48px; height: 48px; margin-bottom: 12px; }
.cat-card .more { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--accent); }

/* Empfehlungen nach Nutzertyp */
.picks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 400px) { .picks { grid-template-columns: 1fr; } }
.pick {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pick .who { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.pick .what { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin: 4px 0 6px; }
.pick .alt { font-size: .93rem; color: var(--text-muted); }
.pick p { margin-bottom: 8px; }
.pick .actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}
.btn-buy { background: var(--buy); color: var(--buy-text); }
.btn-buy:hover { background: #e2a51f; color: var(--buy-text); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hinweisboxen */
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
}
.callout svg { width: 32px; height: 32px; flex: none; margin-top: 2px; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { background: var(--warn-soft); }

blockquote.pullquote {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Tabellen */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.rating {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.rating.high { background: var(--good-soft); color: var(--good); }
.rating.mid { background: var(--accent-soft); color: var(--accent-strong); }
.rating.low { background: var(--warn-soft); color: var(--warn); }

/* Rangliste Apps */
.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-head);
  font-weight: 700;
  margin-right: 10px;
  flex: none;
}
.rank.none { background: var(--surface-2); color: var(--text-muted); font-size: .75rem; }
.card-head { display: flex; align-items: center; margin-bottom: 8px; }
.card-head h3 { margin: 0; }

.bar { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 6px 0 12px; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* Cross-Links */
.crosslinks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.crosslink {
  display: block;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
.crosslink span { display: block; font-weight: 400; color: var(--text-muted); font-size: .93rem; margin-top: 2px; }
.crosslink:hover { border-color: var(--accent); color: var(--text); }

/* Quellenliste */
.sources { padding-left: 1.2em; margin: 0; }
.sources li { margin-bottom: 6px; }

/* Inhaltsverzeichnis */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.toc a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  font-size: .93rem;
  font-weight: 600;
}
.toc a:hover { border-color: var(--accent); }

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: .93rem;
  color: var(--text-muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.site-footer nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: var(--accent); }

.affiliate-note { font-size: .85rem; color: var(--text-muted); margin-top: 12px; }

/* Rechtstexte */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.5em; }
.placeholder { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* Produktbilder: Platzhalter-Grafik, bis images/<name>.jpg existiert */
.product-img {
  position: relative;
  margin: -22px -22px 16px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--surface-2) center / 34% no-repeat;
  border-bottom: 1px solid var(--border);
}
.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}
.product-img[data-cat="station"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237f93a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 22v38M24 60h16'/%3E%3Ccircle cx='32' cy='16' r='3'/%3E%3Cpath d='M32 16H14M32 16h18M32 16V4'/%3E%3Cpath d='M10 12a4 4 0 0 0 0 8M54 12a4 4 0 0 1 0 8M28 4a4 4 0 0 0 8 0'/%3E%3Crect x='24' y='34' width='16' height='12' rx='2'/%3E%3C/svg%3E");
}
.product-img[data-cat="co2"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237f93a8' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='8' y='14' width='48' height='36' rx='8'/%3E%3Ccircle cx='21' cy='32' r='4'/%3E%3Ccircle cx='32' cy='32' r='4'/%3E%3Ccircle cx='43' cy='32' r='4'/%3E%3C/svg%3E");
}
.product-img[data-cat="hygro"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237f93a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='34' r='22'/%3E%3Cpath d='M32 34l10-10M14 34h4M46 34h4M32 16v4'/%3E%3Cpath d='M32 46c-3 0-5-2-5-4.5S32 36 32 36s5 3 5 5.5S35 46 32 46z'/%3E%3C/svg%3E");
}

/* ---------- SEO-Inhalte: Breadcrumb, Fließtext, FAQ, Vergleich ---------- */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.breadcrumb { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span[aria-hidden] { margin: 0 4px; }

.answer {
  font-size: 1.12rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--sun);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 20px;
  max-width: 52em;
  box-shadow: var(--shadow);
}

.prose { max-width: 820px; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 16px 28px 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }

table.compare th[scope="row"] { background: transparent; white-space: normal; min-width: 150px; }
table.compare td { min-width: 130px; }

.author-box {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 32px; padding: 20px 22px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.author-box svg { width: 40px; height: 40px; flex: none; }
.author-box p { margin: 4px 0 0; color: var(--text-muted); font-size: .97rem; }


/* ---------- Rechner ---------- */
.calc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 820px;
}
.calc h3 { margin-bottom: 14px; }
.calc-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.calc fieldset { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px 16px; margin: 0; }
.calc legend { font-weight: 700; padding: 0 6px; font-size: .95rem; }
.calc label { display: block; font-size: .93rem; color: var(--text-muted); margin-top: 10px; }
.calc input {
  display: block; width: 100%; margin-top: 4px;
  font: inherit; font-size: 1.05rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px;
}
.calc input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.calc-result {
  margin-top: 18px; padding: 16px 18px; border-radius: 12px;
  background: var(--surface-2); border-left: 5px solid var(--accent);
}
.calc-result[data-tone="good"] { background: var(--good-soft); border-left-color: var(--good); }
.calc-result[data-tone="warn"] { background: var(--sun-tint); border-left-color: var(--sun); }
.calc-result[data-tone="bad"] { background: var(--warn-soft); border-left-color: var(--warn); }
.calc-verdict { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin: 0 0 6px; }
.calc-facts { margin: 0 0 6px; font-size: .97rem; }
.calc-result p:last-child { margin-bottom: 0; }

/* Hub-Karten für Ratgeber und Wissen */
.hub-card h3 a { color: var(--text); text-decoration: none; }
.hub-card h3 a::after { content: ""; position: absolute; inset: 0; }
.hub-card { position: relative; }
.hub-card:hover { border-color: var(--accent); }

@media (min-width: 641px) and (max-width: 980px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 9px; font-size: .9rem; }
}

/* Wetterlexikon */
.lexicon { margin: 24px 0 0; }
.lexicon .term { padding: 14px 0; border-bottom: 1px solid var(--border); }
.lexicon dt { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.lexicon dd { margin: 0; }
.lexicon .src { font-size: .85rem; color: var(--text-muted); margin-left: 4px; white-space: nowrap; }
.lexicon .term:target { background: var(--accent-soft); border-radius: 10px; padding-left: 12px; padding-right: 12px; }

/* Bauernregeln */
.rule .quote { font-family: var(--font-body); font-size: 1.05rem; font-style: italic; color: var(--text-muted); }
.verdict { align-self: flex-start; font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.verdict-ja { background: var(--good-soft); color: var(--good); }
.verdict-teils { background: var(--sun-tint); color: var(--text); }
.verdict-nein { background: var(--warn-soft); color: var(--warn); }
.prose ul.takeaways { padding-left: 0; }

/* ---------- Empfehlungs-Boxen (Preis-Tipp und Smart Home) ---------- */
.tip-box { padding: 8px 0 32px; }
.tips { display: grid; gap: 22px 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 400px) { .tips { grid-template-columns: 1fr; } }
.tip {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 2px solid var(--sun);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px;
}
.tip.tip-smart { border-color: var(--accent); }
.tip-badge {
  position: absolute; top: -13px; left: 18px;
  background: var(--sun); color: var(--buy-text);
  font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  padding: 3px 12px; border-radius: 999px;
}
.tip-smart .tip-badge { background: var(--accent); color: var(--on-accent); }
.tip-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.tip-img {
  position: relative; flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden;
  background: var(--surface-2) center / 62% no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237f93a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 22v38M24 60h16'/%3E%3Ccircle cx='32' cy='16' r='3'/%3E%3Cpath d='M32 16H14M32 16h18M32 16V4'/%3E%3Cpath d='M10 12a4 4 0 0 0 0 8M54 12a4 4 0 0 1 0 8M28 4a4 4 0 0 0 8 0'/%3E%3Crect x='24' y='34' width='16' height='12' rx='2'/%3E%3C/svg%3E");
}
.tip-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.tip-title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; margin: 0; }
.tip-kicker { font-size: .85rem; color: var(--text-muted); margin: 2px 0 0; }
.tip p.tip-text { margin: 0 0 6px; font-size: .97rem; }
.tip p.tip-hint { margin: 0; font-size: .88rem; color: var(--text-muted); }
.tip-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tip-note { margin: 10px 0 0; font-size: .82rem; color: var(--text-muted); }
.tips.single { grid-template-columns: 1fr; max-width: 720px; }
/* Kompakte Einzelbox */
.tips.single { max-width: 600px; }
.tips.single .tip { padding: 18px 16px 14px; border-width: 1.5px; }
.tips.single .tip-badge { font-size: .75rem; padding: 2px 10px; top: -11px; left: 14px; }
.tips.single .tip-head { gap: 12px; margin-bottom: 6px; }
.tips.single .tip-img { width: 52px; height: 52px; border-radius: 10px; }
.tips.single .tip-title { font-size: 1.05rem; }
.tips.single .tip-kicker { font-size: .8rem; }
.tips.single p.tip-text { font-size: .9rem; margin-bottom: 4px; }
.tips.single p.tip-hint { font-size: .8rem; }
.tips.single .tip-actions { padding-top: 10px; gap: 6px; }
.tips.single .tip-actions .btn { padding: 7px 12px; font-size: .86rem; border-radius: 8px; }
.tip-box .tip-note { font-size: .76rem; margin-top: 6px; }
.tip-box { padding: 4px 0 24px; }

/* Rechtstexte kompakter */
.legal { font-size: .9rem; line-height: 1.55; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.legal h2 { font-size: 1.08rem; margin-top: 1.6em; margin-bottom: .4em; }
.legal p, .legal li { margin-bottom: .6em; }
.legal ul { padding-left: 1.2em; }
.legal .callout { padding: 14px 16px; }
.wrap.legal { max-width: 1120px; }
.wrap.legal > * { max-width: 760px; }


/* ================= Audit-Korrekturen (Oktober 2026) ================= */

/* Zum Inhalt springen + sichtbarer Tastaturfokus */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); font-weight: 700; }
.skip-link:focus { left: 16px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
a:not([class]):focus-visible { border-radius: 4px; }
.cat-card:focus-visible { border-color: var(--accent); }

/* Navigation: aktiver Bereich, Fade-Hinweis auf dem Handy */
.main-nav a[aria-current] { background: var(--accent-soft); color: var(--accent-strong); }
@media (max-width: 640px) {
  .main-nav { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); padding-right: 24px; }
  html { scroll-padding-top: 112px; }
}

/* Lesbarkeit */
.prose, .section-intro, .hero p.lead { max-width: 68ch; }
.answer { max-width: 72ch; }
h1, h2, h3, .what, .tip-title { overflow-wrap: break-word; }
@media (max-width: 640px) { p, li, dd, td { hyphens: auto; } }
.affiliate-note, .tip-box .tip-note, .tips.single p.tip-hint { font-size: .875rem; }
.tips.single p.tip-hint { color: var(--text-muted); }
.tips.single .tip-badge { font-size: .8rem; white-space: nowrap; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; }
.hero .stand a { color: inherit; }

/* Footer mit drei Spalten */
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 20px; }
.footer-cols nav { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.footer-cols a { color: var(--text); text-decoration: none; font-weight: 600; }
.footer-cols a:hover { color: var(--accent); }
.footer-head { font-family: var(--font-head); font-weight: 700; color: var(--text); margin: 0 0 4px; }

/* Produkt-Picks: Quelle */
.pick-src { font-size: .85rem; color: var(--text-muted); margin: 0 0 4px; }

/* Schnelle Antworten auf der Startseite */
.quick { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.quick li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.quick strong { display: block; font-family: var(--font-head); }

/* Rechner */
.calc input { border-color: var(--input-border); }
.num-wrap { display: flex; gap: 6px; margin-top: 4px; }
.num-wrap input { margin-top: 0; }
.sign { flex: none; width: 44px; font: inherit; font-weight: 700; font-size: 1.1rem; border-radius: 10px; border: 1px solid var(--input-border); background: var(--surface-2); color: var(--text); cursor: pointer; }
.calc-more { margin: 12px 0 0; font-size: .95rem; }
.calc-next { margin: 8px 0 0; font-size: .95rem; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; background: var(--surface-2); border-radius: 8px; padding: 10px 14px; overflow-x: auto; }
table caption { text-align: left; font-weight: 700; padding: 10px 14px 0; }

/* DWD-Warnstufen-Punkte */
.warn-dot { display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin-right: 6px; vertical-align: -.05em; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }

/* Wolken und Lexikon */
.group-head { margin-top: 1.6em; }
.lexicon h2 { margin-top: 1.4em; }
.lexicon .term h3 { font-size: 1.12rem; margin: 0 0 4px; }
.lexicon .term p { margin: 0; }
.lexicon .term:target { background: var(--accent-soft); border-radius: 10px; padding-left: 12px; padding-right: 12px; }
.toc-terms { margin: 0 0 8px; }
.toc-terms a { font-size: .85rem; padding: 6px 12px; }

/* App-Karten: Store-Links */
.store-links { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: .92rem; font-weight: 600; }

/* Bildplätze ohne Bild kompakt halten */
.product-img:not(:has(img)) { aspect-ratio: auto; height: 96px; background-size: auto 56px; }
.product-img[data-cat="air"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237f93a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='16' y='8' width='32' height='48' rx='8'/%3E%3Ccircle cx='32' cy='28' r='9'/%3E%3Cpath d='M32 19v18M23 28h18M25.6 21.6l12.8 12.8M38.4 21.6 25.6 34.4'/%3E%3Cpath d='M24 46h16'/%3E%3C/svg%3E");
}

/* FAQ: Plus/Minus nicht vorlesen */
.faq summary::after { content: "+"; content: "+" / ""; }
.faq details[open] summary::after { content: "–"; content: "–" / ""; }

/* Wetter-Quiz */
.quiz { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-top: 12px; }
.quiz-intro { color: var(--text-muted); font-size: .95rem; }
.quiz-progress { font-size: .9rem; color: var(--text-muted); margin: 0 0 6px; }
.quiz-bar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.quiz-bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }
.quiz-q { font-size: 1.2rem; margin: 0 0 12px; }
.quiz-q:focus { outline: none; }
.quiz-options { display: grid; gap: 8px; }
.quiz-opt { text-align: left; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--input-border); border-radius: 10px; padding: 12px 14px; cursor: pointer; min-height: 48px; }
.quiz-opt:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.quiz-opt:disabled { cursor: default; opacity: .85; }
.quiz-opt.is-correct { border-color: var(--good); background: var(--good-soft); opacity: 1; font-weight: 600; }
.quiz-opt.is-wrong { border-color: var(--warn); background: var(--warn-soft); opacity: 1; }
.quiz-feedback { margin-top: 14px; }
.quiz-verdict { font-family: var(--font-head); font-weight: 700; margin: 0 0 4px; }
.quiz-verdict.ok { color: var(--good); }
.quiz-verdict.no { color: var(--warn); }
.quiz-why { margin: 0 0 12px; }

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .cat-card:hover { transform: none; }
}

/* Nachbesserungen nach der Gegenprüfung */
.hero .eyebrow { color: var(--accent-strong); }
@media (min-width: 641px) and (max-width: 980px) { html { scroll-padding-top: 100px; } }
.hub-card:focus-within { border-color: var(--accent); outline: 3px solid var(--accent); outline-offset: 2px; }
.hub-card h3 a:focus-visible { outline: none; }
@media (max-width: 640px) {
  .hero .toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); padding-right: 24px; }
  .hero .toc::-webkit-scrollbar { display: none; }
  .hero .toc a { white-space: nowrap; }
  .hero { padding: 40px 0 28px; }
}
.product-img[data-cat="thermo"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237f93a8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M28 38V12a4 4 0 0 1 8 0v26a9 9 0 1 1-8 0z'/%3E%3Cpath d='M32 22v20'/%3E%3Ccircle cx='32' cy='46' r='3'/%3E%3C/svg%3E"); }
.product-img[data-cat="regen"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237f93a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 16h28l-6 12H24z'/%3E%3Cpath d='M26 28v24h12V28'/%3E%3Cpath d='M30 36h4M30 42h4'/%3E%3Cpath d='M24 6v4M32 4v4M40 6v4'/%3E%3C/svg%3E"); }
.product-img[data-cat="blitz"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237f93a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 30h26a8 8 0 0 0 0-16 12 12 0 0 0-23 3 7 7 0 0 0-3 13z'/%3E%3Cpath d='M34 34l-6 12h8l-4 12'/%3E%3C/svg%3E"); }
