/* ============================================================================
   wuensche-zum-geburtstag.de — Design v3 (Oktober 2026)
   Idee: "Geburtstagsabend". Dunkle, festliche Kopfbereiche mit Konfetti,
   darunter helle Kartenflaechen. Jeder Spruch ist eine farbige Karte mit
   drei Handgriffen: kopieren, per WhatsApp senden, merken.
   Ziel: Sprueche sofort sichtbar, Weiterstoebern ueberall einen Klick weit weg.
   Keine Webfonts (CSP, Ladezeit) — Systemschriften mit klarer Gewichtung.
   ========================================================================== */

:root {
  --bg:        #F4F2FB;
  --card:      #FFFFFF;
  --raise:     #ECE8F8;
  --ink:       #1B1740;
  --muted:     #5A5680;
  --line:      #DDD8F0;
  --night:     #1B1740;
  --night-2:   #2B2466;
  --accent:    #D4235C;
  --accent-2:  #B01A4B;
  --accent-soft: #FCE6EE;
  --gold:      #FFC93C;
  --mint:      #17A68A;
  --wa:        #128C4A;
  --header-bg: rgba(244, 242, 251, .9);
  --shadow:    0 1px 2px rgba(27,23,64,.06), 0 6px 18px rgba(27,23,64,.06);
  --shadow-up: 0 2px 4px rgba(27,23,64,.08), 0 14px 30px rgba(27,23,64,.12);

  --t1: #FF5C7A; --t2: #FFB020; --t3: #17A68A; --t4: #3BA7F2; --t5: #8F5BF0;

  --head: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Nunito", "Segoe UI", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Charter", "Palatino Linotype", Georgia, serif;
  --radius: 16px;
  --breite: 1200px;
  --hh: 58px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#121027; --card:#1C1938; --raise:#26224A; --ink:#F2EFFF; --muted:#ABA6D0; --line:#332F5E;
    --night:#0C0A1F; --night-2:#1B1740; --accent:#FF6F94; --accent-2:#FF93AF; --accent-soft:#3A2040;
    --wa:#3DD68C; --header-bg: rgba(18,16,39,.9);
    --shadow:0 1px 2px rgba(0,0,0,.4),0 6px 18px rgba(0,0,0,.3); --shadow-up:0 2px 4px rgba(0,0,0,.5),0 14px 30px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"] {
  --bg:#121027; --card:#1C1938; --raise:#26224A; --ink:#F2EFFF; --muted:#ABA6D0; --line:#332F5E;
  --night:#0C0A1F; --night-2:#1B1740; --accent:#FF6F94; --accent-2:#FF93AF; --accent-soft:#3A2040;
  --wa:#3DD68C; --header-bg: rgba(18,16,39,.9);
  --shadow:0 1px 2px rgba(0,0,0,.4),0 6px 18px rgba(0,0,0,.3); --shadow-up:0 2px 4px rgba(0,0,0,.5),0 14px 30px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; }

/* ------------------------------------------------------------ Kopfzeile */
.site-header { position: relative; z-index: 60; background: var(--header-bg); backdrop-filter: saturate(1.5) blur(10px); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .site-header { position: sticky; top: 0; } }
.header-inner { max-width: var(--breite); margin: 0 auto; padding: .55rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 1.08rem; white-space: nowrap; letter-spacing: -.01em; }
.logo:hover { color: var(--ink); }
.logo-badge { width: 34px; height: 34px; border-radius: 11px; background: var(--night); display: grid; place-items: center; }
.logo-badge svg { width: 22px; height: 22px; }
.logo-main em { font-style: normal; font-weight: 600; color: var(--muted); }
.main-nav { flex: 1 0 100%; order: 3; min-width: 0; }
.theme-toggle { margin-left: auto; }
@media (min-width: 640px) { .header-inner { flex-wrap: nowrap; } .main-nav { flex: 1 1 0%; order: 0; } }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a { display: block; padding: .35rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; white-space: nowrap; }
.main-nav a:hover { background: var(--raise); color: var(--ink); }
.theme-toggle { flex-shrink: 0; width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer; font-size: .95rem; }
.theme-toggle:hover { border-color: var(--accent); }
.theme-icon-moon { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-icon-moon { display: inline; }
}
.merkzettel-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .75rem; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-size: .87rem; font-weight: 700; white-space: nowrap; }
.merkzettel-link:hover { background: var(--accent-2); color: #fff; }
.merk-herkunft { font-size: .82rem; color: var(--muted); text-decoration: none; }
.merk-herkunft:hover { color: var(--accent); }

/* ------------------------------------------------------------ Kopfbereich (Hero) */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: var(--night);
  background-image:
    radial-gradient(60rem 28rem at 85% -20%, rgba(143,91,240,.55), transparent 60%),
    radial-gradient(40rem 22rem at -10% 110%, rgba(255,92,122,.35), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg opacity='.55'%3E%3Crect x='20' y='30' width='9' height='4' rx='2' fill='%23FFC93C' transform='rotate(35 24 32)'/%3E%3Ccircle cx='96' cy='18' r='3' fill='%23FF5C7A'/%3E%3Crect x='170' y='44' width='9' height='4' rx='2' fill='%2317A68A' transform='rotate(-30 174 46)'/%3E%3Ccircle cx='226' cy='96' r='3.5' fill='%233BA7F2'/%3E%3Crect x='60' y='110' width='10' height='4' rx='2' fill='%238F5BF0' transform='rotate(70 65 112)'/%3E%3Ccircle cx='140' cy='140' r='3' fill='%23FFC93C'/%3E%3Crect x='214' y='188' width='9' height='4' rx='2' fill='%23FF5C7A' transform='rotate(-50 218 190)'/%3E%3Ccircle cx='30' cy='200' r='3.5' fill='%2317A68A'/%3E%3Crect x='110' y='224' width='10' height='4' rx='2' fill='%233BA7F2' transform='rotate(20 115 226)'/%3E%3C/g%3E%3C/svg%3E");
  padding: 2.2rem 0 2.6rem;
}
.hero-grid { max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.5rem; } }
.hero-text { min-width: 0; }
.hero h1 { font-family: var(--head); font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .7rem; text-wrap: balance; }
.hero-lead { margin: 0 0 1.3rem; font-size: 1.08rem; color: #D9D4F7; max-width: 36rem; line-height: 1.55; }
.hero-art { display: none; }
@media (min-width: 900px) { .hero-art { display: block; width: 100%; max-width: 440px; justify-self: end; border-radius: 28px; box-shadow: 0 18px 40px rgba(0,0,0,.4); } }
.hero-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 1.05rem 1.2rem 1rem; backdrop-filter: blur(6px); max-width: 38rem; }
.hero-box p { margin: 0 0 .85rem; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; min-height: 3.6em; }
.hero-box-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; border: 2px solid transparent; font: 700 .93rem/1.2 var(--sans); cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #2A1E00; }
.btn-gold:hover { background: #FFD766; color: #2A1E00; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.hero-cta { display: inline-flex; background: var(--gold); color: #2A1E00; padding: .7rem 1.3rem; border-radius: 999px; font-weight: 800; text-decoration: none; }
.hero-cta:hover { background: #FFD766; color: #2A1E00; }

/* ------------------------------------------------------------ Leiste mit Sprungmarken */
.chipbar { position: sticky; top: 0; z-index: 40; margin: 0 -1.25rem 1.2rem; padding: .55rem 1.25rem; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .chipbar { top: var(--hh); } }
.chipbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; }
.chipbar ul::-webkit-scrollbar { display: none; }
.chipbar a { display: block; padding: .32rem .85rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; max-width: 16rem; overflow: hidden; text-overflow: ellipsis; }
.chipbar a:hover { border-color: var(--accent); color: var(--accent); }
.chipbar a.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------ Seitenraster */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.2rem; padding: 1.6rem 0 3.5rem; }
@media (min-width: 1040px) { .page-grid.with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.6rem; } }
.page-grid:not(.with-sidebar) > .article { max-width: 62rem; margin-inline: auto; width: 100%; }
.article { min-width: 0; }
.article h2 { font-family: var(--head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; letter-spacing: -.02em; margin: 2.8rem 0 .9rem; text-wrap: balance; }
.article h3 { font-family: var(--head); font-size: 1.12rem; margin: 1.8rem 0 .7rem; }
.article p { margin: 0 0 1.05rem; max-width: 44rem; }
.article section { scroll-margin-top: 130px; }
.article > h1 { font-family: var(--head); font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: .6rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .84rem; color: var(--muted); margin-bottom: 1rem; }
.intro p { font-size: 1.1rem; line-height: 1.65; }
.intro p:first-child { font-size: 1.2rem; font-weight: 500; }

/* ------------------------------------------------------------ Spruch-Karten */
.spruch-grid { display: grid; gap: 1rem; margin: 1.2rem 0 2rem; }
@media (min-width: 700px) { .spruch-grid { grid-template-columns: 1fr 1fr; } }
.spruch {
  --t: var(--t1);
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: .9rem;
  background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--t);
  border-radius: var(--radius); padding: 1.25rem 1.3rem 1.05rem; box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.spruch:nth-child(5n+2) { --t: var(--t2); }
.spruch:nth-child(5n+3) { --t: var(--t3); }
.spruch:nth-child(5n+4) { --t: var(--t4); }
.spruch:nth-child(5n+5) { --t: var(--t5); }
.spruch::before { content: "\201C"; position: absolute; top: .1rem; right: .9rem; font: 700 4.6rem/1 Georgia, "Times New Roman", serif; color: var(--t); opacity: .35; pointer-events: none; }
.spruch:hover, .spruch:focus-within { box-shadow: var(--shadow-up); transform: translateY(-2px); }
.spruch p { margin: 0; max-width: none; padding-right: 1.6rem; font-family: var(--serif); font-size: 1.14rem; line-height: 1.58; }
.spruch-actions { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.copy-btn, .wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; padding: .5rem .95rem; font: 700 .86rem/1 var(--sans); cursor: pointer; border: 2px solid transparent; transition: background .15s ease, color .15s ease, transform .15s ease; }
.copy-btn { background: var(--ink); color: var(--bg); }
.copy-btn:hover { background: var(--accent); color: #fff; }
.copy-btn.copied { background: var(--mint); color: #fff; }
.wa-btn { background: transparent; color: var(--wa); border-color: var(--wa); }
.wa-btn:hover { background: var(--wa); color: #fff; }
:root[data-theme="dark"] .wa-btn:hover { color: #08331c; }
.fav-btn, .merk-weg { margin-left: auto; width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 1.05rem; line-height: 1; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.fav-btn:hover { color: var(--accent); border-color: var(--accent); }
.fav-btn .ico { fill: none; stroke: currentColor; stroke-width: 2; }
.fav-btn.is-fav { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.fav-btn.is-fav .ico { fill: currentColor; }
.merk-weg { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.merk-weg:hover { background: var(--accent); color: #fff; }

/* ------------------------------------------------------------ Weiterstoebern */
.card-grid { display: grid; gap: 1rem; margin: 1.2rem 0 2rem; }
@media (min-width: 560px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover { color: var(--ink); border-color: var(--accent); box-shadow: var(--shadow-up); transform: translateY(-2px); }
.card-title { font-family: var(--head); font-weight: 800; margin-bottom: .25rem; }
.card h3 { margin: 0 0 .25rem; font-size: 1rem; }
.card p { margin: 0; font-size: .9rem; color: var(--muted); max-width: none; }
.rel-grid { display: grid; gap: .9rem; margin: 1rem 0 2rem; }
@media (min-width: 640px) { .rel-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }
.rel { display: grid; grid-template-columns: 92px 1fr; gap: .9rem; align-items: center; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .9rem .6rem .6rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rel:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-up); border-color: var(--accent); }
.rel img { width: 92px; height: 69px; object-fit: cover; border-radius: 10px; display: block; background: var(--night); }
.rel strong { display: block; font-family: var(--head); font-size: .98rem; line-height: 1.25; }
.rel span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; margin-top: .15rem; }
.strip { margin: 2.2rem 0; padding: 1.2rem 1.3rem 1.3rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--night), var(--night-2)); color: #fff; }
.strip h2 { margin: 0 0 .8rem !important; font-size: 1.2rem !important; color: #fff; }
.strip .rel-grid { margin: 0; }
.strip .rel { border-color: transparent; }

/* ------------------------------------------------------------ Seitenspalte */
.sidebar { display: flex; flex-direction: column; gap: 1.1rem; }
@media (min-width: 1040px) { .sidebar { position: sticky; top: calc(var(--hh) + 16px); align-self: start; max-height: calc(100vh - var(--hh) - 32px); overflow-y: auto; scrollbar-width: thin; } }
.sidebar-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.sidebar-box h3 { font-family: var(--head); margin: 0 0 .6rem; font-size: 1rem; }
.sidebar-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .05rem; }
.sidebar-box a { display: block; padding: .38rem .55rem; margin: 0 -.55rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.sidebar-box a:hover, .sidebar-box a.is-on { background: var(--accent-soft); color: var(--accent); }
.sidebar-cta { background: linear-gradient(140deg, var(--night), var(--night-2)); color: #fff; border: 0; }
.sidebar-cta h3 { color: #fff; }
.sidebar-cta p { margin: 0 0 .9rem; font-size: .92rem; color: #D9D4F7; }
.sidebar-cta .btn { width: 100%; }

/* ------------------------------------------------------------ FAQ, Autor */
.faq { margin: 2.6rem 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .95rem 1.2rem; margin-bottom: .6rem; }
.faq details[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: .75rem 0 0; color: var(--muted); }
.author-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.3rem; margin: 2.4rem 0; }
.author-avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--gold); font: 800 .95rem var(--head); }
.author-box strong { display: block; margin-bottom: .2rem; }
.author-box p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------ Startseite */
.tiles { display: grid; gap: 1rem; margin: 1.2rem 0 2.4rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-up); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--night); }
.tile div { padding: .9rem 1.1rem 1.1rem; }
.tile strong { display: block; font-family: var(--head); font-size: 1.1rem; margin-bottom: .2rem; }
.tile span { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }
.finder { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 1.6rem 0; box-shadow: var(--shadow); }
.finder h2 { margin-top: 0 !important; }
.finder-controls { display: grid; gap: .8rem; margin: 1rem 0; }
@media (min-width: 720px) { .finder-controls { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; } }
.finder-controls label { display: flex; flex-direction: column; gap: .3rem; font-size: .84rem; font-weight: 700; color: var(--muted); }
.finder-status { margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }
.finder-controls select:disabled, .finder-controls button:disabled { opacity: .5; cursor: not-allowed; }
.finder-controls select, .finder-controls button { width: 100%; padding: .65rem .85rem; font: inherit; font-size: .95rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.finder-controls button { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; cursor: pointer; }
.finder-controls button:hover { background: var(--accent-2); }
.finder-results { display: grid; gap: 1rem; }
@media (min-width: 700px) { .finder-results { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ Fusszeile */
.site-footer { background: var(--night); color: #CFCAF2; margin-top: 3rem; padding: 3rem 1.25rem 1.6rem; }
.footer-inner { max-width: var(--breite); margin: 0 auto; display: grid; gap: 1.6rem; }
@media (min-width: 620px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .footer-inner { grid-template-columns: repeat(4, 1fr); } }
.footer-title { font-family: var(--head); font-weight: 800; color: #fff; margin: 0 0 .7rem; font-size: 1rem; }
.footer-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .22rem; }
.footer-inner a { color: #CFCAF2; text-decoration: none; font-size: .88rem; }
.footer-inner a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom { max-width: var(--breite); margin: 2rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; font-size: .85rem; color: #A9A3D6; }
.footer-bottom a { color: #CFCAF2; }

/* ------------------------------------------------------------ Cookie-Hinweis */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 100; max-width: 30rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-up); padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: .8rem; }
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--muted); }
.cookie-banner-actions { display: flex; gap: .6rem; }
.cookie-banner-actions button { flex: 1; padding: .55rem .8rem; font: 700 .87rem var(--sans); border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.cookie-banner-actions #cookie-accept { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-banner-actions #cookie-accept:hover { background: var(--accent-2); }
.cookie-banner-actions #cookie-deny:hover { border-color: var(--accent); color: var(--accent); }

.legal p { max-width: 46rem; }
.legal h2 { margin-top: 2rem; }
.ad-slot { margin: 1.8rem 0; text-align: center; }
.ad-slot:empty { display: none; }
.article-figure { margin: 1.6rem 0; }
.article-figure img { width: 100%; border-radius: var(--radius); display: block; }
.article-figure figcaption { margin-top: .5rem; font-size: .84rem; color: var(--muted); text-align: center; }

.spruch p { white-space: pre-line; }
