/* nocebo – Satire-Gesundheitsportal
   Farben & Typo siehe Styleguide */
:root {
  --nachtblau: #10304F;
  --blau: #1A4F8C;
  --blau-dunkel: #0F3360;
  --hellblau: #EEF4FA;
  --hellblau-2: #D6E3F0;
  --linie: #DCE5EF;
  --linie-2: #B9C9DA;
  --weiss: #FFFFFF;
  --text: #1B2733;
  --text-2: #33465A;
  --text-3: #4A5B6C;
  --amber: #B45309;
  --amber-hell: #F2B37A;
  --creme: #FFF4E8;
  --creme-text: #6B3A0A;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--weiss);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blau); }
a:hover { color: var(--blau-dunkel); }
h1, h2, h3 { margin: 0; color: var(--nachtblau); }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.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;
}
.serif { font-family: var(--serif); }

/* Satire-Leiste */
.satire-bar {
  background: var(--nachtblau); color: #DCE8F4;
  font-size: 13px; padding: 8px 24px; text-align: center; letter-spacing: .02em;
}

/* Header */
.site-header { border-bottom: 1px solid var(--linie); background: var(--weiss); }
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 24px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nachtblau); }
.brand-name { display: block; font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.1; }
.brand-claim { display: block; font-size: 12px; color: var(--text-3); }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--nachtblau); text-decoration: underline; text-underline-offset: 4px; }

/* Buttons & Formulare */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 26px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none;
  cursor: pointer; border: 1.5px solid var(--blau);
}
.btn-primary { background: var(--blau); color: var(--weiss); }
.btn-primary:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: var(--weiss); }
.btn-secondary { background: var(--weiss); color: var(--blau); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 22px; }
.input {
  height: 52px; border: 1px solid var(--linie-2); border-radius: 26px;
  padding: 0 20px; font: inherit; font-size: 16px; color: var(--text); background: var(--weiss);
  min-width: 0;
}
.input:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--amber-hell); outline-offset: 2px; }

/* Abschnitte */
.section { padding: 80px 0; }
.section-alt { background: var(--hellblau); }
.section-soft { background: #F6F9FC; border-top: 1px solid #E3EAF2; border-bottom: 1px solid #E3EAF2; }
.kicker {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 10px;
}
.section-title { font-family: var(--serif); font-size: clamp(30px, 3.5vw, 38px); line-height: 1.15; }
.section-head { margin-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-lead { font-size: 17px; color: var(--text-3); max-width: 640px; margin-top: 10px; }

/* Hero */
.hero { background: var(--hellblau); }
.hero .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-badge {
  align-self: flex-start; background: var(--weiss); border: 1px solid #C7D7E8; color: var(--blau);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
}
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.015em; }
.hero-lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 10px; font-size: 14px; color: var(--text-3); list-style: none; margin: 0; padding-left: 0; }
.trust li { display: flex; align-items: center; gap: 8px; }
.hero-visual { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.placeholder {
  background: var(--hellblau-2); border: 2px dashed #9DB5CE; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; color: var(--text-2); font-size: 15px;
}
.hero-visual .placeholder { aspect-ratio: 4 / 3; }
.diagnose {
  margin: 0; background: var(--weiss); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(16,48,79,.10); display: flex; gap: 14px; align-items: flex-start;
  font-size: 14px; color: var(--text-2);
}
.diagnose svg { flex: none; margin-top: 2px; }

/* Karten-Raster */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s;
}
a.card:hover { border-color: var(--blau); box-shadow: 0 8px 24px rgba(16,48,79,.08); color: inherit; }
.card h3 { font-size: 20px; }
.card p { font-size: 15px; color: var(--text-3); }
.card .more { font-weight: 600; color: var(--blau); font-size: 15px; margin-top: auto; }

/* Dr. Google */
.drgoogle {
  background: var(--nachtblau); color: var(--weiss); border-radius: 24px;
  padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 40px;
}
.drgoogle-intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.drgoogle h2 { color: var(--weiss); font-family: var(--serif); font-size: 38px; line-height: 1.1; }
.drgoogle .kicker { color: var(--amber-hell); margin: 0; }
.drgoogle-intro p { font-size: 17px; color: #C9D8E8; }
.search-row { display: flex; margin-top: 8px; }
.search-row .input { flex: 1; border: none; border-radius: 26px 0 0 26px; }
.search-row .btn { border-radius: 0 26px 26px 0; background: var(--amber-hell); border-color: var(--amber-hell); color: var(--nachtblau); font-weight: 700; }
.search-row .btn:hover { background: #F5C495; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #9FB5CB; }
.chip {
  font: inherit; font-size: 13px; color: #DCE8F4; background: transparent;
  border: 1px solid #3A5D80; border-radius: 999px; padding: 6px 12px; cursor: pointer; min-height: 32px;
}
.chip:hover { border-color: var(--amber-hell); color: var(--weiss); }
.results {
  flex: 1 1 460px; min-width: 0; background: var(--weiss); color: var(--text);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 18px;
}
.results-meta { font-size: 13px; color: var(--text-3); }
.result { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid #E3EAF2; }
.result-url { font-size: 12px; color: #2D6A3E; }
.result-title { font-size: 19px; color: var(--blau); font-weight: 600; line-height: 1.3; }
.result-text { font-size: 14px; color: var(--text-3); }
.notice {
  display: flex; gap: 12px; align-items: flex-start; background: var(--creme);
  border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--creme-text);
}
.notice svg { flex: none; margin-top: 2px; }
.notice-small { font-size: 12px; }

/* Horoskop */
.horoskop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.zeichen { background: var(--weiss); border: 1px solid #E3EAF2; border-radius: 14px; padding: 20px; }
.zeichen h3 { font-size: 17px; margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; }
.zeichen h3 span { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--text-3); }
.zeichen p { font-size: 15px; color: var(--text-2); }
.datum { font-size: 14px; color: var(--text-3); }

/* Shop */
.product { border: 1px solid var(--linie); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: var(--weiss); }
.product .placeholder { height: 180px; border-radius: 0; border: none; background: #E8F0F9; font-size: 14px; color: var(--text-3); }
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product h3 { font-size: 20px; }
.product p { font-size: 15px; color: var(--text-3); }
.tag {
  align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--creme);
  color: #8A4407; padding: 4px 10px; border-radius: 999px;
}
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; }
.price { font-size: 20px; font-weight: 700; color: var(--nachtblau); }

/* Ratgeber */
.ratgeber { display: flex; flex-wrap: wrap; gap: 24px; }
.article-main { flex: 2 1 520px; min-width: 0; background: var(--weiss); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.article-main .placeholder { height: 260px; border-radius: 0; border: none; }
.article-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.article-meta { font-size: 13px; color: var(--amber); font-weight: 600; }
.article-main h3 { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.article-main p { font-size: 16px; color: var(--text-3); }
.article-list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.article-small { background: var(--weiss); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.article-small h3 { font-size: 18px; line-height: 1.35; }
.article-small a, .article-body a { font-weight: 600; font-size: 15px; }

/* Newsletter */
.newsletter {
  border: 1.5px solid #C7D7E8; border-radius: 24px; padding: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.newsletter-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.newsletter h2 { font-family: var(--serif); font-size: 32px; }
.newsletter-text p { font-size: 16px; color: var(--text-3); }
.newsletter form { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter .input { flex: 1 1 220px; }
.form-feedback { flex-basis: 100%; font-size: 14px; color: var(--text-2); min-height: 1.5em; }

/* Footer */
.site-footer { background: var(--nachtblau); color: #C9D8E8; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; font-size: 14px; line-height: 1.8; }
.footer-grid strong { color: var(--weiss); display: block; }
.footer-grid a { color: #C9D8E8; display: block; text-decoration: none; }
.footer-grid a:hover { color: var(--weiss); text-decoration: underline; }
.footer-brand { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--weiss); display: block; }
.disclaimer { padding-top: 24px; border-top: 1px solid #2B4D6F; font-size: 13px; line-height: 1.6; color: #9FB5CB; }

/* Generator */
.generator { background: var(--hellblau); padding: 56px 0 80px; }
.generator .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.gen-controls { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gen-controls h1 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 46px); line-height: 1.05; }
.gen-controls > p { font-size: 17px; color: var(--text-2); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--nachtblau); }
.field .input { border-radius: 14px; border-width: 1.5px; font-size: 17px; height: 54px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset {
  min-height: 44px; padding: 0 16px; border-radius: 22px; font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; background: var(--weiss); color: var(--blau); border: 1.5px solid var(--linie-2);
}
.preset[aria-pressed="true"] { background: var(--nachtblau); color: var(--weiss); border-color: var(--nachtblau); }
.gen-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.small-print { font-size: 13px; color: var(--text-3); }

.leaflet {
  flex: 1.4 1 520px; min-width: 0; background: var(--weiss); border-radius: 6px;
  box-shadow: 0 12px 40px rgba(16,48,79,.14); padding: clamp(24px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 22px; font-size: 15px;
}
.leaflet header { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 2px solid var(--nachtblau); }
.leaflet-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.leaflet h2 { font-family: var(--serif); font-size: 34px; overflow-wrap: anywhere; }
.leaflet-meta { font-size: 14px; color: var(--text-2); }
.leaflet section { display: flex; flex-direction: column; gap: 6px; }
.leaflet h3 { font-size: 16px; }
.leaflet ul { margin: 0; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; }
.leaflet section p { color: var(--text-2); }
.leaflet footer { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--linie); font-size: 12px; color: var(--text-3); }

/* Druck: nur den Beipackzettel */
@media print {
  .satire-bar, .site-header, .site-footer, .gen-controls { display: none !important; }
  .generator { background: none; padding: 0; }
  .leaflet { box-shadow: none; padding: 0; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .search-row { flex-direction: column; gap: 10px; }
  .search-row .input, .search-row .btn { border-radius: 26px; }
  .product-foot { flex-wrap: wrap; }
}

/* Bilder */
.hero-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; background: var(--hellblau-2); height: auto; }
.product-img { width: 100%; height: 200px; object-fit: cover; background: #E8F0F9; }
.article-img { width: 100%; height: 280px; object-fit: cover; object-position: 60% 50%; background: var(--hellblau-2); }
/* Bettenbörse */
.bettenboerse { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.bb-visual { width: 100%; max-width: 300px; margin: 0 auto; position: relative; }
.bb-img { display: block; width: 100%; height: auto; border-radius: 20px; background: var(--hellblau-2); }
.bb-visual figcaption { margin-top: 12px; }
.bb-stempel {
  position: absolute; top: 22px; right: -10px; transform: rotate(8deg);
  background: var(--amber); color: var(--weiss); font-family: var(--serif); font-weight: 700;
  font-size: 26px; padding: 8px 20px; border-radius: 10px; box-shadow: 0 8px 20px rgba(16,48,79,.2);
}
.bb-visual figcaption { font-size: 14px; color: var(--text-3); font-style: italic; }
.bb-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.bb-text .section-lead { margin-top: 0; }
.ticker { background: var(--weiss); border: 1px solid var(--linie); border-radius: 16px; overflow: hidden; }
.ticker-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; background: var(--nachtblau); color: #DCE8F4; font-size: 13px; font-weight: 600;
}
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-hell); margin-right: 8px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.ticker-list { list-style: none; margin: 0; padding: 0; }
.ticker-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: baseline;
  padding: 14px 18px; border-top: 1px solid #E3EAF2;
}
.ticker-list li:first-child { border-top: none; }
.bett { font-weight: 700; color: var(--nachtblau); }
.status { justify-self: start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.status-frei { background: #E3F1E6; color: #2D6A3E; }
.status-bald { background: var(--creme); color: #8A4407; }
.status-reserviert { background: var(--hellblau-2); color: var(--blau-dunkel); }
.ticker-list p { grid-column: 1 / -1; font-size: 15px; color: var(--text-2); }
.bb-zaehler { align-self: center; font-size: 14px; color: var(--text-3); }
@media (max-width: 860px) {
  .bettenboerse { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .bb-visual { max-width: 260px; }
  .bb-visual figcaption { text-align: center; }
}
@media (max-width: 600px) { .bb-stempel { right: -6px; font-size: 20px; padding: 6px 14px; } }

[hidden] { display: none !important; }
.price, .product-foot .btn { white-space: nowrap; }
.product-foot { flex-wrap: wrap; }
