/* Schlaferfolg – Stil S2 (Familie leichtermitki.de / irismenzer.com), abendlich: Nachtblau und warmes Gold */
:root {
  --nacht-hell: #2A3F66;
  --nacht: #15223D;
  --nacht-tief: #090F1C;
  --gold: #F2C14E;
  --gold-warm: #E8A93A;
  --mond: #B9C7E4;
  --tuerkis: #1E9BC9;
  --tuerkis-dunkel: #13739A;
  --weiss: #F5F4F0;
  --papier: #F6F3EC;
  --karte: #FFFFFF;
  --text: #16202E;
  --text-leise: #4A5566;
  --linie: #E4DED2;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--papier); color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--tuerkis-dunkel); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nachthimmel (Kopf) ---------- */
.nacht {
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 14%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1px 1px at 63% 40%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 18%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 92% 62%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(ellipse 80% 110% at 72% 30%, var(--nacht-hell) 0%, #1A2A4A 40%, var(--nacht-tief) 100%);
  color: var(--weiss); overflow: hidden;
}
.kopfzeile { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 0; }
.logo { color: var(--weiss); text-decoration: none; font-weight: 700; font-size: 21px; display: inline-flex; align-items: center; gap: 10px; }
.logo b { font-weight: 700; }
.logo b span { color: var(--gold); }
.logo svg { width: 26px; height: 26px; flex: none; }
.menue { display: flex; gap: 26px; }
.menue a { color: #C9D2DF; text-decoration: none; font-size: 16px; font-weight: 600; }
.menue a:hover, .menue a[aria-current] { color: var(--gold); }
.hero-inhalt { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px; min-height: 540px; }
.hero-text { padding: 56px 0 72px; align-self: center; }
.name { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mond); margin: 0 0 18px; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 0; font-weight: 700; letter-spacing: -.01em; }
h1 span { color: var(--gold); }
.balken { width: 80px; height: 6px; border-radius: 3px; background: var(--gold); margin: 26px 0 22px; }
.nacht p.lead { font-size: 22px; font-weight: 700; color: var(--weiss); margin: 0 0 10px; }
.nacht p.unterzeile { font-size: 18px; color: #C9D2DF; margin: 0 0 32px; max-width: 30em; }
.hero-bild { align-self: end; justify-self: center; }
.hero-bild img { width: 100%; max-width: 520px; height: auto; }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-block; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 17px;
  text-decoration: none; transition: transform .15s ease, background .15s ease; line-height: 1.3;
}
.knopf:hover { transform: translateY(-1px); }
.knopf.gold { background: var(--gold); color: #1A1508; }
.knopf.gold:hover { background: #FFD266; }
.knopf.rand { border: 2px solid rgba(245,244,240,.55); color: var(--weiss); }
.knopf.rand:hover { border-color: var(--weiss); }
.knopf.dunkel { background: var(--nacht); color: var(--weiss); }
.knopf.dunkel:hover { background: var(--nacht-hell); }
.knopf.wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.knopf.wa svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- Abschnitte ---------- */
section { padding: 80px 0; }
section.hell { background: var(--karte); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tuerkis-dunkel); margin: 0 0 10px; }
h2 { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.18; margin: 0 0 14px; }
.intro { color: var(--text-leise); max-width: 42em; margin: 0 0 40px; }

/* Produkt-Karte (Kopf aus. Schlaf an.) */
.angebot {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center;
  background: linear-gradient(135deg, #1B2C4D 0%, #0E1729 100%); color: var(--weiss);
  border-radius: var(--radius); padding: 48px; box-shadow: 0 16px 40px rgba(9,15,28,.18);
}
.angebot .eyebrow { color: var(--gold); }
.angebot h2 { color: var(--weiss); }
.angebot p { color: #D5DCE6; margin: 0 0 14px; }
.angebot ul { list-style: none; padding: 0; margin: 0 0 26px; }
.angebot li { padding-left: 30px; position: relative; margin-bottom: 10px; color: #E3E8EF; }
.angebot li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,193,78,.2); }
.preis-kasten { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 30px; text-align: center; }
.preis-kasten .preis { font-size: 54px; font-weight: 700; color: var(--gold); line-height: 1; margin: 6px 0 8px; }
.preis-kasten p { font-size: 15px; color: #C3CDDA; }
.preis-kasten .knopf { width: 100%; margin: 8px 0 12px; }

/* Themen-Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kachel {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--karte);
  border: 1px solid var(--linie); border-radius: 16px; padding: 22px 22px 20px; transition: border-color .15s, transform .15s;
}
section.hell .kachel { background: var(--papier); }
.kachel:hover { border-color: var(--gold-warm); transform: translateY(-2px); }
.kachel .thema { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tuerkis-dunkel); margin-bottom: 6px; }
.kachel strong { font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
.kachel span.kurz { font-size: 15px; color: var(--text-leise); line-height: 1.5; margin-bottom: 12px; }
.kachel em { margin-top: auto; font-style: normal; font-size: 15px; font-weight: 700; color: var(--tuerkis-dunkel); }
.mehr-link { margin: 28px 0 0; }

/* Drei Grundsätze */
.grundsaetze { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grundsaetze li { border-left: 4px solid var(--gold); padding: 4px 0 4px 16px; color: var(--text-leise); font-size: 16px; }
.grundsaetze strong { display: block; color: var(--text); font-size: 18px; }

/* Über mich */
.ueber { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; }
.portraet {
  width: 280px; height: 280px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, var(--nacht-hell), var(--nacht-tief));
  border: 6px solid var(--karte); box-shadow: 0 12px 30px rgba(20,35,58,.15);
}
.portraet img { width: 100%; height: 100%; object-fit: cover; }
.ueber p { margin: 0 0 14px; }

/* Kontakt */
.kontakt-karte {
  background: var(--karte); border: 1px solid var(--linie); border-top: 6px solid var(--gold);
  border-radius: var(--radius); padding: 40px; box-shadow: 0 10px 30px rgba(20,35,58,.06);
}
.kontakt-karte .intro { margin-bottom: 22px; }
.kontakt-karte ul { margin: 0 0 26px; padding-left: 22px; color: var(--text-leise); }
.kontakt-karte .mail { margin: 22px 0 0; color: var(--text-leise); font-size: 16px; }

/* Fuß */
footer { background: var(--nacht-tief); color: #A9B4C4; padding: 36px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer a { color: #D8DEE8; text-decoration: none; }
footer a:hover { color: var(--gold); }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer .rechtlich { display: block; margin-top: 18px; font-size: 13px; line-height: 1.5; color: #8793A5; }

/* ---------- Unterseiten und Artikel ---------- */
.seitenkopf { padding-bottom: 48px; }
.seitenkopf h1 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 40px; max-width: 22em; }
.seitenkopf p { color: #C9D2DF; margin: 16px 0 0; max-width: 40em; font-size: 19px; }
.brotkrumen { font-size: 15px; margin: 34px 0 0; color: var(--mond); }
.brotkrumen a { color: var(--mond); }
.text { max-width: 760px; padding: 52px 24px 72px; margin: 0 auto; }
.text > p:first-child { font-size: 20px; color: var(--text); }
.text h2 { font-size: 27px; margin: 44px 0 12px; }
.text h3 { font-size: 20px; margin: 28px 0 8px; }
.text p, .text li { color: #2A3444; }
.text ul, .text ol { padding-left: 22px; }
.text li { margin-bottom: 8px; }
.text table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 16px; background: var(--karte); border-radius: 12px; overflow: hidden; }
.text th, .text td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.text th { background: var(--nacht); color: var(--weiss); font-weight: 700; }
.tabelle { overflow-x: auto; }
.kasten { background: var(--karte); border: 1px solid var(--linie); border-left: 5px solid var(--gold); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.kasten p:last-child, .kasten ul:last-child { margin-bottom: 0; }
.kasten p:first-child { margin-top: 0; }
.kasten.arzt { border-left-color: var(--tuerkis); }
.kasten.meinung { border-left-color: var(--nacht-hell); background: #EEF1F7; }

/* Produkt-Empfehlungen: günstig zum Testen / hochwertig */
.produkte { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 10px; }
.produkt { background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.produkt.test { border-top: 5px solid var(--tuerkis); }
.produkt.lang { border-top: 5px solid var(--gold); }
.produkt .stufe { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); margin: 0 0 6px; }
.produkt h3 { margin: 0 0 8px; font-size: 20px; }
.produkt p { font-size: 16px; margin: 0 0 16px; }
.produkt .knopf { margin-top: auto; align-self: flex-start; font-size: 16px; padding: 12px 22px; }
.werbehinweis { font-size: 14px; color: var(--text-leise); margin: 8px 0 24px; }
.stand { font-size: 15px; color: var(--text-leise); margin-top: 40px; }

/* Artikel-Ende: Produkt + Kontakt */
.artikel-ende { background: var(--karte); border-top: 1px solid var(--linie); }
.artikel-ende .wrap { max-width: 808px; }
.artikel-ende .angebot { grid-template-columns: 1fr; padding: 34px; gap: 18px; }
.artikel-ende .angebot .knopf { justify-self: start; }
.weiterlesen { margin-top: 44px; }
.weiterlesen .kacheln { grid-template-columns: repeat(2, 1fr); }

a:focus-visible, .knopf:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Handy ---------- */
@media (max-width: 960px) {
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .angebot { grid-template-columns: 1fr; padding: 34px 26px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .menue { display: none; }
  .hero-inhalt { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-text { padding: 36px 0 20px; }
  .nacht p.lead { font-size: 20px; }
  .hero-bild img { max-width: 360px; }
  section { padding: 56px 0; }
  .grundsaetze, .produkte { grid-template-columns: 1fr; }
  .ueber { grid-template-columns: 1fr; gap: 24px; }
  .portraet { width: 200px; height: 200px; }
  .kontakt-karte { padding: 28px 22px; }
  .text { padding: 36px 16px 56px; }
  .text > p:first-child { font-size: 19px; }
  .text h2 { font-size: 24px; }
  .artikel-ende .angebot { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .kacheln, .weiterlesen .kacheln { grid-template-columns: 1fr; }
  .knopf { width: 100%; text-align: center; }
  .produkt .knopf, .artikel-ende .angebot .knopf { width: 100%; }
  .preis-kasten .preis { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf, .kachel { transition: none; }
}
