/* Deal Hunter – Stylesheet
   Layout: ruhige Katalogseite. Waldgrün trägt Kopf und Fuß, Creme trägt den Inhalt,
   Gold nur für Akzente (Linien, Buttons, Hervorhebungen). */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  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+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4;
}

:root {
  /* Grün und Gold aus dem Logo (DH-Monogramm auf Smaragdgrün #0a4720) */
  --gruen: #0a4720;
  --gruen-tief: #063117;
  --gruen-hell: #1d6f38;
  --gold: #d9ad3c;
  --gold-dunkel: #a8801c;
  --creme: #f6efe1;
  --creme-tief: #ece3cf;
  --papier: #fffcf5;
  --tinte: #1f2a23;
  --tinte-weich: #5a6a5f;
  --linie: #ddd4bf;
  --warn: #8a4b1f;
  --warn-flaeche: #fbead6;

  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --radius-klein: 6px;
  /* Bewegung: feste Kurven (Skill "animate"), Bewegung nur als Antwort auf Klicks */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dauer-druck: 120ms;
  --dauer-farbe: 150ms;
  --dauer-wechsel: 160ms;
  --breite: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --schatten: 0 1px 2px rgba(31, 42, 35, 0.06), 0 8px 24px rgba(31, 42, 35, 0.06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gruen: #083a1b;
    --gruen-tief: #052611;
    --gruen-hell: #4a9a66;
    --gold: #d9b24a;
    --gold-dunkel: #e4c466;
    --creme: #121a15;
    --creme-tief: #1a251e;
    --papier: #182219;
    --tinte: #efe9da;
    --tinte-weich: #a9b3a9;
    --linie: #2d3a31;
    --warn: #f0c08a;
    --warn-flaeche: #30231a;
    --schatten: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --gruen: #083a1b;
  --gruen-tief: #052611;
  --gruen-hell: #4a9a66;
  --gold: #d9b24a;
  --gold-dunkel: #e4c466;
  --creme: #121a15;
  --creme-tief: #1a251e;
  --papier: #182219;
  --tinte: #efe9da;
  --tinte-weich: #a9b3a9;
  --linie: #2d3a31;
  --warn: #f0c08a;
  --warn-flaeche: #30231a;
  --schatten: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  /* Weniger Bewegung heißt: keine Verschiebung, kein Skalieren; Farb- und Opacity-Wechsel bleiben. */
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-property: color, background-color, border-color, opacity, fill, box-shadow !important; }
  .btn:hover, .lage:hover, .kat:hover, .karte:hover, .merken:hover, .linkliste a:hover,
  .btn:active, .lage:active, .kat:active, .merken:active, .linkliste a:active, .filter-chips button:active { transform: none !important; }
}
/* Druck-Rückmeldung: jeder Klick antwortet sofort, auch am Handy (kein Hover nötig) */
html { -webkit-tap-highlight-color: transparent; }
.btn, .filter-chips button, .merken, .nav-toggle, .lage, .kat, .linkliste a { touch-action: manipulation; }
.btn:active, .filter-chips button:active, .nav-toggle:active { transform: scale(0.97); }
.lage:active, .kat:active, .linkliste a:active { transform: scale(0.98); }
.merken:active { transform: scale(0.95); }
body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
@media (min-width: 1000px) { body { font-size: 18px; } }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--gruen-hell); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold-dunkel); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.4em;
  text-wrap: balance;
  color: var(--tinte);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.18rem; color: var(--tinte-weich); max-width: 60ch; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dunkel);
  margin-bottom: 0.6em;
}
.wrap { width: min(100% - 2 * var(--gutter), var(--breite)); margin-inline: auto; }
.section { padding-block: clamp(40px, 7vw, 80px); }
.section + .section { padding-top: 0; }
.section-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-kopf p { margin: 0; }
.section-kopf h2 { margin: 0; }
.skip {
  position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gruen-tief);
  padding: 8px 12px; border-radius: var(--radius-klein); z-index: 100; font-weight: 700;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-klein);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--dauer-farbe) ease, color var(--dauer-farbe) ease, border-color var(--dauer-farbe) ease, transform var(--dauer-druck) var(--ease-out);
  line-height: 1.2;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); } }
.btn-gold { background: var(--gold); color: #16301f; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dunkel); border-color: var(--gold-dunkel); color: #16301f; }
.btn-umriss { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.btn-umriss:hover { border-color: var(--gold-dunkel); color: var(--gold-dunkel); }
.btn-umriss-hell { background: transparent; color: #f6efe1; border-color: rgba(246, 239, 225, 0.6); }
.btn-umriss-hell:hover { border-color: var(--gold); color: var(--gold); }
.btn-klein { padding: 9px 14px; font-size: 0.92rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- WhatsApp-Button ---------- */
.btn-whatsapp { background: #25d366; color: #073b1a; border-color: #25d366; }
.btn-whatsapp:hover { background: #1fbf5a; border-color: #1fbf5a; color: #073b1a; }
.btn-telegram { background: #229ed9; color: #fff; border-color: #229ed9; }
.btn-telegram:hover { background: #1b8bc0; border-color: #1b8bc0; color: #fff; }

/* ---------- Live-Leiste aus dem Telegram-Kanal (08.10.2026) ----------
   Breite Bildschirme: feste Leiste am rechten Rand neben dem Inhalt. Sonst: Kasten unter dem Deal des Tages
   (Startseite), auf der Fundstücke-Seite dann ausgeblendet (.nur-breit). */
.live-leiste {
  background: var(--papier); border: 1px solid var(--linie); border-top: 3px solid #229ed9; border-radius: var(--radius);
  padding: 16px; box-shadow: var(--schatten);
}
.live-leiste[hidden] { display: none; }
.live-kopf { display: flex; align-items: center; gap: 8px; }
.live-kopf h2 { font-size: 1.2rem; margin: 0; }
.live-punkt { width: 10px; height: 10px; border-radius: 50%; background: #d62828; flex: none; animation: live-puls 1.8s ease-in-out infinite; }
@keyframes live-puls { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.live-unter { margin: 4px 0 10px; font-size: 0.8rem; color: var(--tinte-weich); }
.live-liste { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.live-liste a {
  display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: var(--tinte);
  padding: 8px; border-radius: var(--radius-klein); border: 1px solid var(--linie); background: var(--papier);
  transition: border-color var(--dauer-farbe) ease;
}
.live-liste a:hover { border-color: var(--gold); }
.live-liste img, .live-bild-leer { width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: 6px; background: #fff; }
.live-bild-leer { display: grid; place-items: center; color: var(--gruen-hell); background: var(--creme-tief); }
.live-bild-leer svg { width: 24px; height: 24px; }
.live-text { display: grid; gap: 2px; min-width: 0; font-size: 0.86rem; line-height: 1.3; }
.live-zeit { font-size: 0.74rem; font-weight: 700; color: #1b8bc0; }
.live-titel { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-preis strong { font-size: 1rem; }
.live-preis s { color: var(--tinte-weich); font-size: 0.78rem; }
.live-prozent { font-weight: 700; color: var(--gold-dunkel); font-size: 0.8rem; }
.live-liste li.neu { animation: live-neu 600ms var(--ease-out) both; }
@keyframes live-neu { from { opacity: 0; } to { opacity: 1; } }
.live-leiste .btn-telegram { width: 100%; justify-content: center; }
.live-bereich { padding-block: 0 8px; }
.live-bereich .live-liste { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (max-width: 640px) { .live-bereich .live-liste li:nth-child(n+6) { display: none; } }
.live-leiste.nur-breit { display: none; }
@media (min-width: 1720px) {
  .live-leiste, .live-leiste.nur-breit {
    display: block; position: fixed; right: 20px; top: 128px; width: 270px; max-height: calc(100vh - 148px);
    overflow-y: auto; z-index: 40;
  }
  .live-leiste[hidden], .live-leiste.nur-breit[hidden] { display: none; }
  .live-bereich { padding: 0; }
  .live-bereich .live-liste { grid-template-columns: 1fr; }
}

/* ---------- Deal des Tages und Aktion ---------- */
.tagesdeal-bereich { padding-top: 40px; position: relative; z-index: 2; }
.tagesdeal-raster { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: stretch; }
.tagesdeal .karte { height: 100%; box-shadow: var(--schatten); border-color: var(--gold); }
.karte-tagesdeal .karte-bild { min-height: 180px; }
.karte-tagesdeal h3 { font-size: 1.3rem; }
.aktion { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--schatten); }
.aktion h2 { font-size: 1.5rem; margin: 0; }
.aktion p { margin: 0; color: var(--tinte-weich); font-size: 0.98rem; flex: 1; }
.aktion .eyebrow { margin: 0; }
.aktion .btn { align-self: flex-start; }
@media (max-width: 860px) { .tagesdeal-raster { grid-template-columns: 1fr; } .tagesdeal-bereich { margin-top: 0; padding-top: 24px; } }

/* ---------- Zahlen ---------- */
.zahlen { background: var(--papier); border-block: 1px solid var(--linie); margin-block: 36px 8px; }
.zahlen-innen { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.zahlen-innen > div { padding: 22px 12px; display: grid; gap: 2px; }
.zahlen-innen > div + div { border-left: 1px solid var(--linie); }
.zahlen b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--tinte); line-height: 1; font-variant-numeric: tabular-nums; }
.zahlen span { font-size: 0.9rem; color: var(--tinte-weich); }
@media (max-width: 700px) { .zahlen-innen { grid-template-columns: 1fr; } .zahlen-innen > div + div { border-left: 0; border-top: 1px solid var(--linie); } }

/* ---------- Lebenslagen (Anhänger-Karten, Motiv aus dem Logo) ---------- */
.lagen { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.lage {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 22px 20px 18px;
  background: var(--papier); border: 1.5px solid var(--gold); border-radius: var(--radius) var(--radius) var(--radius) 28px;
  text-decoration: none; color: var(--tinte);
  transition: transform var(--dauer-druck) var(--ease-out), box-shadow var(--dauer-farbe) ease, background-color var(--dauer-farbe) ease, color var(--dauer-farbe) ease;
}
.lage::before { content: ""; position: absolute; top: 12px; right: 14px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--gold); }
.lage:hover { box-shadow: var(--schatten); background: var(--gruen); color: #f6efe1; }
@media (hover: hover) and (pointer: fine) { .lage:hover { transform: translateY(-3px); } }
.lage-wer { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dunkel); font-weight: 700; }
.lage:hover .lage-wer { color: var(--gold); }
.lage-was { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.05; }
.lage-sub { font-size: 0.9rem; color: var(--tinte-weich); margin-top: 6px; }
.lage:hover .lage-sub { color: #d9d2c2; }

/* ---------- Schritte ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schritt { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; }
.schritt-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gruen); color: var(--gold); margin-bottom: 12px; }
.schritt-icon svg { width: 22px; height: 22px; }
.schritt h3 { font-size: 1.3rem; margin-bottom: 6px; }
.schritt p { margin: 0; color: var(--tinte-weich); font-size: 0.95rem; }
@media (max-width: 760px) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Werbe-Leiste und Kopf ---------- */
.werbung-leiste {
  background: var(--gruen-tief); color: #d9d2c2; font-size: 0.86rem;
  text-align: center; padding: 7px var(--gutter);
}
.werbung-leiste strong { color: var(--gold); font-weight: 700; }
.kopf { background: var(--gruen); color: #f6efe1; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(212, 169, 55, 0.35); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marke { display: flex; align-items: center; gap: 12px; color: #f6efe1; text-decoration: none; }
.marke img { width: 48px; height: 48px; border-radius: 8px; }
.marke-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.04em; line-height: 1; }
.marke-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #f6efe1; text-decoration: none; padding: 10px 12px; border-radius: var(--radius-klein); font-weight: 600; font-size: 0.98rem; white-space: nowrap; }
/* Seit 09.10.2026 sechs Menüpunkte (Ratgeber neu): zwischen 1001 und 1180 px etwas enger, darunter Menü-Knopf */
@media (max-width: 1180px) and (min-width: 1001px) { .nav a { padding: 10px 8px; font-size: 0.94rem; } .nav .btn { margin-left: 4px; } }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 2px solid rgba(246, 239, 225, 0.5); color: #f6efe1;
  border-radius: var(--radius-klein); padding: 8px 10px; cursor: pointer; font: inherit; font-weight: 700;
}
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--gruen); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; border-bottom: 2px solid var(--gold);
    opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dauer-wechsel) var(--ease-out), transform var(--dauer-wechsel) var(--ease-out), display var(--dauer-wechsel) allow-discrete;
  }
  .nav.offen { display: flex; opacity: 1; transform: none; }
  @starting-style { .nav.offen { opacity: 0; transform: translateY(-8px); } }
  .nav a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid rgba(246, 239, 225, 0.12); }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--gruen); color: #f6efe1; position: relative; overflow: hidden; }
.hero-innen { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 7vw, 80px); position: relative; z-index: 1; }
.hero-logo img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(217, 173, 60, 0.35); }
.hero-tafel { grid-column: 1 / -1; }
.hero-tafel ul { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.hero h1 { color: #fffcf5; margin-bottom: 0.3em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: #d9d2c2; font-size: 1.2rem; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-merk { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(212, 169, 55, 0.35); font-size: 0.92rem; color: #d9d2c2; }
.hero-merk span { display: inline-flex; align-items: center; gap: 7px; }
.hero-merk svg { width: 16px; height: 16px; color: var(--gold); }
.hero-tafel { background: rgba(255, 252, 245, 0.06); border: 1px solid rgba(212, 169, 55, 0.45); border-radius: var(--radius); padding: 22px; }
.hero-tafel h2 { font-size: 1.35rem; color: var(--gold); margin-bottom: 14px; }
.hero-tafel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hero-tafel li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: #f6efe1; text-decoration: none; padding: 10px 12px; border-radius: var(--radius-klein);
  background: rgba(255, 252, 245, 0.05); border: 1px solid rgba(255, 252, 245, 0.08);
}
.hero-tafel li a:hover { border-color: var(--gold); color: var(--gold); }
.hero-tafel li a span:last-child { font-size: 0.82rem; color: #b9b2a2; white-space: nowrap; }
@media (max-width: 860px) {
  .hero-innen { grid-template-columns: 1fr; }
  .hero-logo { max-width: 200px; margin-inline: auto; }
}

/* ---------- Kategorien ---------- */
.kategorien { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.kat {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--tinte);
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); font-weight: 600;
  transition: border-color var(--dauer-farbe) ease, transform var(--dauer-druck) var(--ease-out);
}
.kat:hover { border-color: var(--gold); color: var(--tinte); }
@media (hover: hover) and (pointer: fine) { .kat:hover { transform: translateY(-2px); } }
.kat .icon { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--creme-tief); color: var(--gruen-hell); display: grid; place-items: center; }
.kat .icon svg { width: 20px; height: 20px; }
.kat small { display: block; font-weight: 400; color: var(--tinte-weich); font-size: 0.84rem; }

/* ---------- Karten ---------- */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.karte {
  display: flex; flex-direction: column; background: var(--papier); border: 1px solid var(--linie);
  border-radius: var(--radius); overflow: hidden; min-width: 0;
  transition: box-shadow var(--dauer-farbe) ease, transform var(--dauer-farbe) ease, opacity var(--dauer-wechsel) var(--ease-out);
}
.karte:hover { box-shadow: var(--schatten); }
@media (hover: hover) and (pointer: fine) { .karte:hover { transform: translateY(-2px); } }
/* Nach Themen-Klick oder Sortierung blenden neu sichtbare Karten kurz ein (nur Opacity, kein Versatz). Regler und Suche bleiben sofort. */
.wechselt .karte:not([hidden]) { @starting-style { opacity: 0; } }
.karte-bild { display: grid; place-items: center; background: var(--creme-tief); min-height: 150px; overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; max-height: 220px; object-fit: contain; background: #fff; padding: 12px; }
.karte-bild-beispiel { position: relative; }
/* Visier (Christians Wunsch 08.10.2026): beim Überfahren ziehen sich vier rote Ecken um das Produkt zusammen,
   in der Mitte erscheint ein kleines Fadenkreuz. Nur Transform und Opacity, nur bei Maus. */
.karte-bild { position: relative; }
.karte-bild::before, .karte-bild::after { content: ""; position: absolute; pointer-events: none; opacity: 0; z-index: 1; }
.karte-bild::after {
  --v: #d62828; --l: 26px; --d: 3px;
  inset: 12px;
  background:
    linear-gradient(var(--v), var(--v)) left top / var(--l) var(--d),
    linear-gradient(var(--v), var(--v)) left top / var(--d) var(--l),
    linear-gradient(var(--v), var(--v)) right top / var(--l) var(--d),
    linear-gradient(var(--v), var(--v)) right top / var(--d) var(--l),
    linear-gradient(var(--v), var(--v)) left bottom / var(--l) var(--d),
    linear-gradient(var(--v), var(--v)) left bottom / var(--d) var(--l),
    linear-gradient(var(--v), var(--v)) right bottom / var(--l) var(--d),
    linear-gradient(var(--v), var(--v)) right bottom / var(--d) var(--l);
  background-repeat: no-repeat;
  transform: scale(1.14);
  transition: transform 240ms var(--ease-out), opacity 160ms ease;
}
.karte-bild::before {
  left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 2px solid rgba(214, 40, 40, 0.85);
  background:
    linear-gradient(rgba(214, 40, 40, 0.85), rgba(214, 40, 40, 0.85)) center / 2px 10px no-repeat,
    linear-gradient(rgba(214, 40, 40, 0.85), rgba(214, 40, 40, 0.85)) center / 10px 2px no-repeat;
  transform: scale(1.7) rotate(-45deg);
  transition: transform 260ms var(--ease-out) 60ms, opacity 160ms ease 60ms;
}
@media (hover: hover) and (pointer: fine) {
  .karte:hover .karte-bild::after { opacity: 1; transform: scale(1); }
  .karte:hover .karte-bild::before { opacity: 0.9; transform: scale(1) rotate(0deg); }
}
.karte-bild-beispiel img { padding: 0; background: var(--creme-tief); object-fit: cover; max-height: 200px; }
.bild-label { position: absolute; left: 10px; bottom: 10px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; background: rgba(255, 252, 245, 0.9); color: var(--tinte-weich); border-radius: 4px; padding: 3px 8px; }
.karte-bild-leer .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--papier); color: var(--gruen-hell); display: grid; place-items: center; border: 1px solid var(--linie); }
.karte-bild-leer .icon svg { width: 30px; height: 30px; }
.karte-bild-flach { min-height: 96px; }
.karte-bild-flach .icon { width: 48px; height: 48px; }
.karte-bild-flach .icon svg { width: 22px; height: 22px; }
.karte-zeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dunkel); }
.badge { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; background: var(--gold); color: #16301f; border-radius: 999px; padding: 3px 10px; }
.badge-still { background: var(--creme-tief); color: var(--tinte-weich); }
.stand { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--tinte-weich); }
.stand svg { width: 14px; height: 14px; }
.aktualisierung { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 12px; line-height: 1.4; }
.aktualisierung[hidden] { display: none; }
.aktualisierung svg { flex: none; margin-top: 2px; }
.hero .aktualisierung { display: inline-flex; color: #f6efe1; font-size: 1.02rem; margin: 18px 0 4px; padding: 10px 16px; border: 1px solid var(--gold); border-radius: 12px; background: rgba(212, 169, 55, 0.14); max-width: 60ch; }
.hero .aktualisierung svg { color: var(--gold); width: 20px; height: 20px; margin-top: 1px; }
.hero .aktualisierung strong { font-size: 1.12rem; }
.aktualisierung strong { font-weight: 700; color: var(--tinte); }
.hero .aktualisierung strong { color: var(--gold); }
.karte-body { padding: 14px 16px 10px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.karte h3 { font-size: 1.3rem; margin: 0; }
.karte h3 a { color: inherit; text-decoration: none; }
.karte h3 a:hover { color: var(--gold-dunkel); }
.karte .meta { color: var(--tinte-weich); font-size: 0.9rem; margin: 0; }
.karte .grund { margin: 0; font-size: 0.95rem; color: var(--tinte-weich); }
.karte .hinweis { font-size: 0.88rem; color: var(--warn); background: var(--warn-flaeche); border-radius: var(--radius-klein); padding: 6px 10px; margin: 4px 0 0; }
.sterne { margin: 0; font-size: 0.9rem; color: var(--tinte-weich); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sterne .stern { color: var(--linie); font-size: 1rem; }
.sterne .stern.voll { color: var(--gold); }
.sterne b { color: var(--tinte); }
.preis { margin-top: 6px; display: grid; gap: 3px; }
.preis-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gruen-hell); }
.preis-zeile { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; }
.preis strong { font-size: 1.65rem; font-variant-numeric: tabular-nums; line-height: 1; color: var(--tinte); }
.preis s { color: var(--tinte-weich); font-size: 0.92rem; }
.rabatt { background: var(--gruen); color: var(--gold); font-weight: 700; font-size: 0.82rem; border-radius: 4px; padding: 3px 7px; font-variant-numeric: tabular-nums; }
.ersparnis { font-size: 0.9rem; font-weight: 700; color: var(--gruen-hell); }
.vergleich-label { font-size: 0.72rem; color: var(--tinte-weich); }
.prime-tag { font-size: 0.74rem; font-weight: 700; border: 1px solid var(--gruen-hell); color: var(--gruen-hell); border-radius: 4px; padding: 2px 6px; }
.preis small { display: block; color: var(--tinte-weich); font-size: 0.76rem; line-height: 1.35; }
.karte-tagesdeal .preis strong { font-size: 2.1rem; }
.karte-fuss { padding: 0 16px 14px; margin-top: auto; }
.karte-fuss .btn { width: 100%; }
.anzeige { margin: 8px 0 0; font-size: 0.74rem; color: var(--tinte-weich); line-height: 1.3; }
.karte-deal h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.35; }

/* ---------- Beliebtheit und Rabatt auf einen Blick (Creators-API-Daten) ---------- */
/* Prozent-Schild: Anhänger-Form aus dem Logo, oben links auf dem Bild */
.schild {
  position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; gap: 0; justify-items: center;
  padding: 8px 12px 7px; background: var(--gold); color: #16301f;
  border-radius: 8px 8px 8px 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), inset 0 0 0 1.5px rgba(255, 252, 245, 0.45);
  pointer-events: none; line-height: 1;
}
.schild b { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.schild small { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; margin-top: 2px; }
.rang-stand { font-weight: 400; color: var(--tinte-weich); }
.karte-tagesdeal .schild b { font-size: 1.9rem; }
/* Verkaufsrang laut Amazon */
.rang { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.86rem; font-weight: 700; color: var(--gold-dunkel); line-height: 1.3; }
.rang svg { width: 16px; height: 16px; flex: none; }
/* Ersparnis in Euro: zweitgrößtes Element auf der Karte */
.karte-deal .ersparnis {
  display: inline-block; justify-self: start; font-size: 0.98rem; font-weight: 700; color: var(--gold);
  background: var(--gruen); border-radius: 6px; padding: 5px 10px; margin-top: 2px;
}
.karte-deal .preis strong { font-size: 1.85rem; }
.karte-deal .rabatt { display: none; } /* Prozent steht groß auf dem Schild */

/* Pfeil-Effekt: Pfeil aus dem Logo, trifft die Karte beim Klick. Transform und Opacity, nichts anderes. */
.karte-deal .pfeil-fx {
  position: absolute; left: 50%; top: 82px; z-index: 3; width: 44px; height: 44px; color: var(--gold-dunkel);
  opacity: 0; pointer-events: none; transform: translate(-230%, -50%);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
  transition: transform var(--dauer-wechsel) var(--ease-out), opacity var(--dauer-wechsel) ease;
}
.karte-deal .pfeil-fx svg { width: 100%; height: 100%; stroke-width: 2.2; }
/* Einladung: am Desktop legt sich der Pfeil beim Überfahren an (kaum sichtbar, unter 200 ms) */
@media (hover: hover) and (pointer: fine) {
  .karte-deal:hover .pfeil-fx { opacity: 0.9; transform: translate(-190%, -50%); }
}
/* Treffer: Pfeil schießt in die Bildmitte, Karte bekommt einen kurzen goldenen Ring. Der Link öffnet gleichzeitig. */
.karte-deal.getroffen .pfeil-fx { animation: pfeil-treffer 260ms var(--ease-out) both; }
.karte-deal.getroffen { animation: treffer-ring 260ms var(--ease-out) both; }
@keyframes pfeil-treffer {
  0% { opacity: 1; transform: translate(-230%, -50%); }
  70% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-46%, -50%) scale(0.96); }
}
@keyframes treffer-ring {
  0% { box-shadow: 0 0 0 0 rgba(217, 173, 60, 0.9); }
  100% { box-shadow: 0 0 0 14px rgba(217, 173, 60, 0); }
}
/* Treffer des Tages: der Pfeil fliegt einmal ein, wenn die Karte ins Bild kommt, und bleibt stecken */
.karte-tagesdeal .pfeil-fx { top: 50%; left: auto; right: 16px; transform: translate(-60px, -50%); color: var(--gold); }
.karte-tagesdeal.einflug .pfeil-fx { animation: pfeil-einflug 420ms var(--ease-out) 150ms both; }
@keyframes pfeil-einflug {
  0% { opacity: 0; transform: translate(-220px, -50%); }
  100% { opacity: 1; transform: translate(0, -50%); }
}
@media (prefers-reduced-motion: reduce) {
  .karte-deal .pfeil-fx { display: none; }
  .karte-deal.getroffen { box-shadow: 0 0 0 3px var(--gold); }
}

/* Top 12 des Tages: eigener Rahmen in Grün mit Goldlinie */
.top-bereich { background: var(--papier); border-block: 1px solid var(--linie); padding-block: clamp(40px, 7vw, 72px); }
.top-bereich .section-kopf { margin-bottom: 22px; }
.top-bereich .ergebnis-zeile { max-width: 60ch; }
.top-raster .karte { border-color: var(--gold); }
/* Gruppen-Tabs nutzen die Chip-Optik der Filter */
.gruppen-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.gruppen-kopf .filter-chips button { font-size: 1rem; padding: 9px 18px; }

/* ---------- Filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips button {
  font: inherit; font-size: 0.92rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: var(--papier); color: var(--tinte); border: 1px solid var(--linie);
  transition: background-color var(--dauer-farbe) ease, border-color var(--dauer-farbe) ease, color var(--dauer-farbe) ease, transform var(--dauer-druck) var(--ease-out);
}
.filter-chips button:hover { border-color: var(--gold); }
.filter-chips button[aria-pressed="true"] { background: var(--gruen); color: #f6efe1; border-color: var(--gruen); }
.suche { position: relative; flex: 1 1 240px; max-width: 360px; }
.suche input {
  width: 100%; font: inherit; padding: 10px 14px 10px 40px; border-radius: 999px; border: 1px solid var(--linie);
  background: var(--papier); color: var(--tinte);
}
.suche svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--tinte-weich); pointer-events: none; }
.ergebnis-zeile { color: var(--tinte-weich); font-size: 0.92rem; margin: 0 0 14px; }
.leer { padding: 32px; text-align: center; color: var(--tinte-weich); border: 1px dashed var(--linie); border-radius: var(--radius); }

/* ---------- Merkliste ---------- */
.karte { position: relative; }
.merken {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: var(--papier); border: 1px solid var(--linie); color: var(--gruen-hell);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform var(--dauer-druck) var(--ease-out), color var(--dauer-farbe) ease, background-color var(--dauer-farbe) ease, border-color var(--dauer-farbe) ease;
}
.merken svg { width: 20px; height: 20px; fill: none; transition: fill var(--dauer-farbe) ease; }
.merken:hover { color: var(--gold-dunkel); border-color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .merken:hover { transform: scale(1.08); } }
.merken[aria-pressed="true"] { color: var(--gold-dunkel); border-color: var(--gold); background: var(--creme-tief); }
.merken[aria-pressed="true"] svg { fill: currentColor; }
.filter-chips .chip-merk { border-color: var(--gold); }
.filter-chips .chip-merk[aria-pressed="true"] { background: var(--gold); color: #16301f; border-color: var(--gold); }

/* ---------- Regler-Teaser auf der Startseite ---------- */
.regler-teaser-bereich { padding-top: 0; }
.regler-teaser {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center;
  background: var(--gruen); color: #f6efe1; border-radius: var(--radius); padding: 24px 28px;
  box-shadow: inset 0 0 0 1.5px rgba(217, 173, 60, 0.45);
}
.regler-teaser .eyebrow { color: var(--gold); }
.regler-teaser h2 { color: #f6efe1; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 6px; }
.regler-teaser p { color: rgba(246, 239, 225, 0.82); margin: 0; }
.regler-teaser-knoepfe { display: flex; flex-direction: column; gap: 10px; }
.regler-teaser .btn-umriss { color: #f6efe1; border-color: rgba(246, 239, 225, 0.5); }
.regler-teaser .btn-umriss:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 640px) {
  .regler-teaser { grid-template-columns: 1fr; padding: 18px 16px; }
  .regler-teaser-knoepfe .btn { width: 100%; }
}

/* ---------- Rabatt-Regler und Reihenfolge ---------- */
.regler-kasten {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: end;
  background: var(--gruen); color: #f6efe1; border-radius: var(--radius); padding: 22px 24px 18px; margin-bottom: 22px;
  box-shadow: inset 0 0 0 1.5px rgba(217, 173, 60, 0.45);
}
.regler label { display: block; font-family: var(--font-head); font-size: 1.45rem; margin-bottom: 10px; }
.regler output { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 2ch; display: inline-block; }
.regler input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; margin: 8px 0 6px;
  background: linear-gradient(90deg, var(--gold) 0 var(--anteil, 0%), rgba(246, 239, 225, 0.25) var(--anteil, 0%) 100%); outline: none; cursor: pointer;
}
.regler input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); border: 3px solid var(--gruen-tief);
  box-shadow: 0 0 0 2px var(--gold); cursor: grab;
}
.regler input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid var(--gruen-tief); box-shadow: 0 0 0 2px var(--gold); cursor: grab;
}
.regler input[type="range"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.regler-skala { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(246, 239, 225, 0.75); font-variant-numeric: tabular-nums; }
.sortierung label { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.sortierung select {
  font: inherit; font-size: 0.95rem; padding: 10px 40px 10px 14px; border-radius: 999px; border: 1px solid rgba(217, 173, 60, 0.6);
  background: var(--gruen-tief) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ad3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  color: #f6efe1; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.regler-hinweis { grid-column: 1 / -1; margin: 0; font-size: 0.8rem; color: rgba(246, 239, 225, 0.72); line-height: 1.4; }
.regler-hinweis-auto { color: var(--gold-dunkel); font-weight: 600; }
@media (max-width: 640px) {
  .regler-kasten { grid-template-columns: 1fr; padding: 18px 16px 14px; }
  .regler label { font-size: 1.25rem; }
  .sortierung select { width: 100%; }
}

/* ---------- Kanäle ---------- */
.kanaele { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.kanal { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.kanal .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gruen); color: var(--gold); display: grid; place-items: center; }
.kanal .icon svg { width: 20px; height: 20px; }
.kanal h3 { margin: 6px 0 0; font-size: 1.35rem; }
.kanal p { margin: 0; color: var(--tinte-weich); font-size: 0.95rem; flex: 1; }
.kanal .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Hinweiskasten ---------- */
.hinweiskasten { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 10px; }
.hinweiskasten h2 { font-size: 1.5rem; margin: 0; }
.hinweiskasten p { margin: 0; max-width: 80ch; color: var(--tinte-weich); font-size: 0.98rem; }
.hinweiskasten p strong { color: var(--tinte); }

.hinweiskasten h2 .hinweis-link { display: block; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; margin-top: 4px; }

/* ---------- Ratgeber (Preise verstehen) ---------- */
.ratgeber { display: grid; gap: 10px; max-width: 86ch; }
.ratgeber details { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 0 20px; transition: border-color 200ms ease; }
.ratgeber details[open] { border-color: var(--gold); }
/* Aufklappen gleitet statt zu springen (nur in Browsern mit interpolate-size; sonst wie bisher) */
.ratgeber { interpolate-size: allow-keywords; }
.ratgeber details::details-content { block-size: 0; overflow: clip; transition: block-size 200ms var(--ease-out), content-visibility 200ms allow-discrete; }
.ratgeber details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .ratgeber details::details-content { transition: none; } }
.ratgeber summary {
  cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; position: relative;
}
.ratgeber summary::-webkit-details-marker { display: none; }
.ratgeber summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold-dunkel); border-bottom: 2px solid var(--gold-dunkel);
  transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease-out);
}
.ratgeber details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.ratgeber summary:hover { color: var(--gold-dunkel); }
.ratgeber p { margin: 0 0 18px; color: var(--tinte-weich); }

/* ---------- Ideenlisten-Karten: Farbton je Thema ---------- */
.karte-liste .karte-bild-leer { background: var(--kat-ton, var(--creme-tief)); }
/* Collage: 4 echte Produkte der Liste auf dem Farbton der Kategorie, Symbol klein in der Ecke (09.10.2026) */
.karte-collage { background: var(--kat-ton, var(--creme-tief)); padding: 12px; position: relative; display: block; }
.collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.collage-3 img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.karte-collage .collage img {
  width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: none; object-fit: contain;
  background: #fff; border-radius: 8px; padding: 8px;
}
.collage-icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--papier); color: var(--kat-icon, var(--gruen-hell));
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); z-index: 2;
}
.collage-icon svg { width: 18px; height: 18px; }
.karte-collage::before { z-index: 3; }
.karte-liste .karte-bild-leer .icon { background: rgba(255, 255, 255, 0.85); border-color: transparent; color: var(--kat-icon, var(--gruen-hell)); }
.karte-liste[data-kat="haushalt"] { --kat-ton: #e6ecd9; --kat-icon: #3d6b2a; }
.karte-liste[data-kat="kueche"] { --kat-ton: #f3e4cf; --kat-icon: #9a6a1a; }
.karte-liste[data-kat="ordnung"] { --kat-ton: #e2e9ec; --kat-icon: #2f5d6b; }
.karte-liste[data-kat="technik"] { --kat-ton: #e1e4ea; --kat-icon: #3a4a66; }
.karte-liste[data-kat="baby"] { --kat-ton: #f4e3e0; --kat-icon: #9a4a3f; }
.karte-liste[data-kat="spielzeug"] { --kat-ton: #f7e8c8; --kat-icon: #a3741c; }
.karte-liste[data-kat="geschenke"] { --kat-ton: #ecdfe6; --kat-icon: #7a3f5c; }
.karte-liste[data-kat="mode"] { --kat-ton: #e8e3dc; --kat-icon: #5c4a3a; }
.karte-liste[data-kat="saison"] { --kat-ton: #f2e0cf; --kat-icon: #a85a1e; }
.karte-liste[data-kat="sport"] { --kat-ton: #dfeae4; --kat-icon: #2a6b4f; }
.karte-liste[data-kat="buero"] { --kat-ton: #e5e5e0; --kat-icon: #4f5a44; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .karte-liste .karte-bild-leer { background: color-mix(in srgb, var(--kat-ton, #333) 35%, var(--papier)); }
}
:root[data-theme="dark"] .karte-liste .karte-bild-leer { background: color-mix(in srgb, var(--kat-ton, #333) 35%, var(--papier)); }

/* ---------- Linkseite ---------- */
.linkseite { max-width: 560px; margin-inline: auto; text-align: center; padding-block: clamp(32px, 6vw, 64px); }
.linkseite img { width: 140px; height: 140px; margin: 0 auto 16px; border-radius: 22px; box-shadow: var(--schatten); }
.linkseite h1 { font-size: 2.2rem; }
.linkseite .lead { margin-inline: auto; }
.linkliste { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.linkliste a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: var(--tinte);
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); font-weight: 600; text-align: left;
  transition: border-color var(--dauer-farbe) ease, transform var(--dauer-druck) var(--ease-out);
}
.linkliste a:hover { border-color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .linkliste a:hover { transform: translateY(-2px); } }
.linkliste a.primaer { background: var(--gruen); color: #f6efe1; border-color: var(--gruen); }
.linkliste a.primaer:hover { border-color: var(--gold); }
.linkliste a.primaer .icon { background: var(--gold); color: #16301f; }
.linkliste .icon { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--creme-tief); color: var(--gruen-hell); display: grid; place-items: center; }
.linkliste .icon svg { width: 20px; height: 20px; }
.linkliste small { display: block; font-weight: 400; font-size: 0.86rem; opacity: 0.8; }
.linkseite .klein { font-size: 0.86rem; color: var(--tinte-weich); }

/* ---------- Textseiten ---------- */
.textseite { max-width: 72ch; padding-block: clamp(32px, 6vw, 64px); }
.textseite h2 { font-size: 1.6rem; margin-top: 1.6em; }
.textseite h3 { font-size: 1.2rem; margin-top: 1.2em; }
.textseite address { font-style: normal; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px 20px; display: inline-block; line-height: 1.6; }
.textseite ul { padding-left: 1.2em; }
.textseite li { margin-bottom: 0.4em; }
.textseite .stand { color: var(--tinte-weich); font-size: 0.9rem; }

/* ---------- Fuß ---------- */
.fuss { background: var(--gruen); color: #d9d2c2; margin-top: clamp(40px, 7vw, 80px); padding-block: 40px 28px; font-size: 0.92rem; }
.fuss-innen { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.fuss h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 10px; }
.fuss p { margin: 0 0 10px; max-width: 60ch; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss a { color: #f6efe1; }
.fuss a:hover { color: var(--gold); }
.fuss-unten { border-top: 1px solid rgba(212, 169, 55, 0.3); margin-top: 28px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 0.84rem; color: #b9b2a2; }
@media (max-width: 760px) {
  .fuss-innen { grid-template-columns: 1fr; }
}

/* ---------- Ratgeber-Seiten (09.10.2026) ---------- */
.rg-kopf { padding-bottom: 8px; }
.rg-kopf h1 { max-width: 22ch; }
.rg-text { max-width: 72ch; }
.rg-text h2 { font-size: 1.6rem; margin-top: 1.4em; }
.rg-text h3 { font-size: 1.2rem; margin-top: 1.1em; }
.rg-text ul { padding-left: 1.2em; }
.rg-text li { margin-bottom: 0.4em; }
.rg-text p, .rg-text li { color: var(--tinte-weich); }
.rg-text strong { color: var(--tinte); }
.rg-sprung { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.rg-sprung a {
  display: inline-block; font-size: 0.92rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; text-decoration: none;
  background: var(--papier); color: var(--tinte); border: 1px solid var(--linie);
  transition: border-color var(--dauer-farbe) ease, color var(--dauer-farbe) ease;
}
.rg-sprung a:hover { border-color: var(--gold); color: var(--tinte); }
.rg-abschnitt .section-kopf p.rg-intro { max-width: 60ch; color: var(--tinte-weich); }
.rg-abschnitt { scroll-margin-top: 90px; }
.karte-statisch .karte-body { padding-top: 18px; }
.rg-tabelle { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 0.96rem; }
.rg-tabelle th, .rg-tabelle td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--linie); }
.rg-tabelle th { color: var(--tinte); font-weight: 700; background: var(--creme-tief); }
.rg-tabelle td { color: var(--tinte-weich); }
@media (max-width: 640px) {
  .rg-tabelle, .rg-tabelle tbody, .rg-tabelle tr, .rg-tabelle td { display: block; width: 100%; }
  .rg-tabelle thead { display: none; }
  .rg-tabelle tr { border-bottom: 1px solid var(--linie); padding: 8px 0; }
  .rg-tabelle td { border: 0; padding: 4px 0; }
  .rg-tabelle td:first-child { color: var(--tinte); font-weight: 700; }
}
