/* Layout-Welt A: "Editorial Ruhe" – wirkt wie ein hochwertiges Gesundheitsjournal.
   Durchgängig Quicksand (die echte Logo-/Markenschrift, lokal lizenziert) –
   Überschriften in Fettschrift, Fließtext in Regular als ruhiger Gegenpart. */

@font-face {
  font-family: "Quicksand";
  src: url("fonts/quicksand-variable.woff2") format("woff2-variations"),
       url("fonts/quicksand-variable.ttf") format("truetype-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f6f3ee;
  --taupe-hell: #efe9e2;
  --taupe-stein: #d8cec2;
  --schwarz: #111111;
  --gold: #c6a87a;
  --gold-text: #84602c;
  --weiss: #ffffff;

  --schrift-ueberschrift: "Quicksand", -apple-system, "Segoe UI", sans-serif;
  --schrift-text: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--weiss);
  color: var(--schwarz);
  font-family: var(--schrift-text);
  line-height: 1.75;
  font-size: 18px;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--schrift-ueberschrift);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em 0;
  overflow-wrap: break-word;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1.2em 0; max-width: 42rem; }

a { color: var(--schwarz); }

/* Masthead-artiger Kopfbereich, zentriert wie ein Magazin-Titel */
.kopfbereich {
  text-align: center;
  padding: 1.6rem 1.2rem 1.2rem 1.2rem;
  border-bottom: 1px solid var(--taupe-stein);
}

.logo-link { display: inline-block; text-decoration: none; }
.logo { height: 48px; margin: 0 auto 0.8rem auto; }

.hauptnavigation {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hauptnavigation a { text-decoration: none; }
.hauptnavigation a:hover { color: var(--gold-text); }

.kontaktzeile {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  opacity: 0.75;
}
.kontaktzeile a { color: inherit; text-decoration: none; }

/* Hero: großformatiges Bild/Video mit zentriertem Zitat-Stil */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-medium { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(17,17,17,0.42);
  z-index: 1;
}
.hero-inhalt {
  position: relative; z-index: 2;
  color: var(--weiss);
  text-align: center;
  padding: 2rem 1.2rem;
  max-width: 38rem;
}
.hero-inhalt h1 { font-size: 2.3rem; }
.hero-inhalt p { margin-left: auto; margin-right: auto; }

.knopf {
  display: inline-block;
  padding: 0.85em 1.8em;
  border: 1px solid currentColor;
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--schrift-text);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.knopf-gold { background: var(--gold); color: var(--schwarz); border-color: var(--gold); }
.knopf-hell { color: var(--weiss); }

.vertrauenshinweise {
  list-style: none; padding: 0; margin: 1.2rem 0 0 0;
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem;
}

/* Leseabschnitte, klassisches Journal-Layout mit Initial.
   Weißer Hintergrund durchgängig, dezente Linie statt Farbband trennt Abschnitte. */
.abschnitt { padding: 3.5rem 1.2rem; max-width: 42rem; margin: 0 auto; border-top: 1px solid var(--taupe-stein); }
.abschnitt-breit { padding: 3.5rem 1.2rem; max-width: 62rem; margin: 0 auto; border-top: 1px solid var(--taupe-stein); }
.abschnitt-band { max-width: none; background: var(--ivory); }
.abschnitt-band > * { max-width: 42rem; margin-left: auto; margin-right: auto; }

/* Wissensportal-Kacheln */
.kachel-raster {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin: 2rem 0; text-align: left;
}
.kachel { text-decoration: none; color: var(--schwarz); }
.kachel img { border-radius: 2px; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 0.5rem; }
.kachel span { font-size: 0.95rem; font-weight: 600; }

/* Über-uns-Teaser auf der Startseite */
.ueber-uns-teaser { display: grid; gap: 1.6rem; align-items: center; text-align: left; }
.teaser-bild { border-radius: 2px; max-width: 12rem; margin: 0 auto; }
.ueber-uns-teaser p { max-width: none; }

.initial::first-letter {
  font-family: var(--schrift-ueberschrift);
  font-weight: 700;
  font-size: 2.6rem;
  float: left;
  line-height: 0.75;
  padding-right: 0.12em;
  margin-top: 0.1em;
  color: var(--gold-text);
}

/* Vier Säulen als nummerierte, horizontale Liste statt Karten */
.saeulen-liste { list-style: none; padding: 0; margin: 1.8rem 0 0 0; border-top: 1px solid var(--taupe-stein); }
.saeulen-liste li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--taupe-stein);
}
.saeulen-liste .nummer { font-family: var(--schrift-ueberschrift); color: var(--gold-text); font-size: 1.1rem; }

.abschnitt-zentriert { text-align: center; }
.abschnitt-zentriert p { margin-left: auto; margin-right: auto; }

/* Porträt-Bereich für Über-uns-Seite */
.portraet-bereich {
  display: grid; gap: 2rem; padding: 3rem 1.2rem; max-width: 52rem; margin: 0 auto;
}
.portraet-bild { border-radius: 2px; }
.portraet-zitat {
  font-family: var(--schrift-ueberschrift);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.4;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 0 0 1.5rem 0;
}

/* Produkt-Hero: Bild und Text nebeneinander */
.produkt-hero {
  display: grid; gap: 2rem; align-items: center;
  padding: 3rem 1.2rem; max-width: 60rem; margin: 0 auto;
}
.produkt-bild { border-radius: 2px; background: var(--ivory); }

/* Besonderheiten als schlichte Liste mit Gold-Marker */
.merkmal-raster {
  list-style: none; padding: 0; margin: 1.5rem auto 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.merkmal-raster li {
  background: var(--taupe-hell); border-radius: 4px;
  padding: 1.4rem 1.2rem; text-align: center;
}
.merkmal-raster li::before {
  content: ""; display: block; margin: 0 auto 0.7rem auto;
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
}
@media (min-width: 560px) {
  .merkmal-raster { grid-template-columns: 1fr 1fr; }
}

/* Inhaltsstoff-Tabelle, ruhig mit feinen Linien */
.tabelle-umhuellung { overflow-x: auto; margin: 1.5rem 0; }
.inhalts-tabelle { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.inhalts-tabelle th, .inhalts-tabelle td {
  text-align: left; padding: 0.8rem 0.8rem 0.8rem 0;
  border-bottom: 1px solid var(--taupe-stein); vertical-align: top;
}
.inhalts-tabelle th {
  font-family: var(--schrift-text); font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-text);
}
.inhalts-tabelle .menge { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabelle-fussnote { font-size: 0.8rem; opacity: 0.7; margin-top: 0.8rem; }
.luecke { color: var(--gold-text); font-style: italic; }

/* FAQ als Frage-Antwort-Blöcke */
.faq-liste { margin: 1.5rem 0 0 0; }
.faq-block { padding: 1.1rem 0; border-bottom: 1px solid var(--taupe-stein); }
.faq-frage { font-family: var(--schrift-ueberschrift); font-size: 1.15rem; margin: 0 0 0.3rem 0; }
.faq-antwort { margin: 0; }

/* --- Wissensportal --- */

/* Lese-Fortschrittsbalken oben, schmal und dezent */
.lesebalken {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gold); z-index: 50;
  transition: width 0.1s linear;
}

/* Übersichtskarten: 1 Spalte mobil, 2 Tablet, 3 Desktop */
.wissen-raster {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: 2rem;
}
.wissen-karte {
  display: block; text-decoration: none; color: var(--schwarz);
  border: 1px solid var(--taupe-stein); border-radius: 3px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wissen-karte img { aspect-ratio: 3 / 2; object-fit: cover; }
.wissen-karte-text { padding: 1.2rem 1.3rem 1.5rem 1.3rem; }
.wissen-karte h3 { margin-bottom: 0.4rem; }
.wissen-karte p { font-size: 0.95rem; margin: 0; }
.wissen-karte:hover, .wissen-karte:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(17,17,17,0.08);
}

/* Breadcrumb und Meta-Zeile im Artikel */
.breadcrumb { font-size: 0.8rem; opacity: 0.7; margin-bottom: 1.5rem; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-text); }
.artikel-meta {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--gold-text); margin-bottom: 2rem;
}

/* Info-Box (Schon gewusst?, Forschung verständlich erklärt) */
.info-box {
  background: var(--taupe-hell); border-radius: 4px;
  padding: 1.6rem 1.5rem; margin: 2.5rem 0;
}
.info-box h3 { margin-top: 0; }
.info-box p:last-child, .info-box dd:last-child { margin-bottom: 0; }
.info-box dt { font-weight: 600; margin-top: 1rem; }
.info-box dd { margin: 0 0 0.5rem 0; }

/* "Das Wichtigste auf einen Blick" und "Nimm diesen Gedanken mit" */
.merk-box { border-top: 1px solid var(--taupe-stein); border-bottom: 1px solid var(--taupe-stein); padding: 1.5rem 0; margin: 2.5rem 0; }
.merk-liste { margin: 0; padding-left: 1.2rem; }
.merk-liste li { margin-bottom: 0.5rem; }

/* Artikel-Navigation: vorheriger / nächster Artikel */
.artikel-nav {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  border-top: 1px solid var(--taupe-stein); padding-top: 2rem; margin-top: 3rem;
}
.artikel-nav a {
  display: block; text-decoration: none; color: var(--schwarz);
  border: 1px solid var(--taupe-stein); border-radius: 3px; padding: 1rem 1.2rem;
}
.artikel-nav a:hover { border-color: var(--gold); }
.artikel-nav .richtung { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-text); display: block; margin-bottom: 0.3rem; }
.artikel-nav .titel { font-family: var(--schrift-ueberschrift); font-size: 1.1rem; }
.artikel-nav .weiter { text-align: right; }

/* --- Experten finden --- */

.experten-suche {
  display: block;
  width: 100%;
  max-width: 26rem;
  margin: 2rem auto 0 auto;
  padding: 0.9em 1.2em;
  font-family: var(--schrift-text);
  font-size: 1rem;
  border: 1px solid var(--taupe-stein);
  border-radius: 3px;
  background: var(--weiss);
  color: var(--schwarz);
}
.experten-suche:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

.experten-anzahl { text-align: center; font-size: 0.85rem; opacity: 0.7; margin: 0.8rem 0 0 0; }

.experten-raster {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: 2rem;
}

.experten-karte {
  border: 1px solid var(--taupe-stein); border-radius: 3px;
  padding: 1.6rem;
}

.experten-kopf { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }

.experten-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--taupe-hell); color: var(--gold-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--schrift-ueberschrift); font-size: 1.3rem;
}

.experten-avatar-foto {
  object-fit: cover;
}

.experten-name { margin: 0; font-size: 1.15rem; }
.experten-beruf { margin: 0; font-size: 0.85rem; opacity: 0.75; }
.experten-ort { margin: 0; font-size: 0.85rem; color: var(--gold-text); }

.experten-bio { font-size: 0.95rem; margin-bottom: 1.1rem; }

.experten-kontaktzeile {
  list-style: none; padding: 0; margin: 0 0 1.2rem 0;
  font-size: 0.9rem; display: flex; flex-direction: column; gap: 0.3rem;
}
.experten-kontaktzeile a { color: inherit; }

.experten-karte-versteckt { display: none; }

.experten-keine-treffer { text-align: center; margin-top: 2rem; display: none; }
.experten-keine-treffer.sichtbar { display: block; }

/* Fußbereich, mehrspaltig wie ein Impressum-Block */
.fussbereich {
  border-top: 1px solid var(--taupe-stein);
  padding: 2.5rem 1.2rem;
  text-align: center;
  font-size: 0.85rem;
}
.footer-navigation { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-navigation a, .footer-kontakt a { color: inherit; text-decoration: none; }
.footer-marke { opacity: 0.6; margin: 0 0 0.6rem 0; }
.footer-shop { margin: 0 0 0.6rem 0; }
.footer-shop a { color: inherit; opacity: 0.7; text-decoration: underline; transition: opacity 150ms ease; }
.footer-shop a:hover, .footer-shop a:focus-visible { opacity: 1; }
.footer-rechtliches { opacity: 0.6; margin-top: 0.6rem; }
.footer-social { display: flex; justify-content: center; margin-bottom: 0.8rem; }
.footer-social a { color: inherit; opacity: 0.7; transition: opacity 150ms ease; }
.footer-social a:hover, .footer-social a:focus-visible { opacity: 1; }
.footer-social svg { width: 20px; height: 20px; display: block; }

@media (min-width: 640px) {
  body { font-size: 19px; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  .hero-inhalt h1 { font-size: 3.2rem; }
  .portraet-bereich { grid-template-columns: 1fr 1.3fr; align-items: center; }
  .kachel-raster { grid-template-columns: repeat(3, 1fr); }
  .ueber-uns-teaser { grid-template-columns: 14rem 1fr; }
  .teaser-bild { max-width: none; }
  .produkt-hero { grid-template-columns: 1fr 1fr; }
  .wissen-raster { grid-template-columns: repeat(3, 1fr); }
  .artikel-nav { grid-template-columns: 1fr 1fr; }
  .experten-raster { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 480px) and (max-width: 639px) {
  .wissen-raster { grid-template-columns: 1fr 1fr; }
}

/* --- Vitalitäts-Check --- */

.check-bereich { max-width: 38rem; margin: 0 auto; padding: 2.5rem 1.2rem 4rem 1.2rem; }

.check-datenschutz {
  background: var(--taupe-hell);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.check-fortschritt-leiste {
  height: 4px; background: var(--taupe-stein); border-radius: 2px; overflow: hidden;
  margin-bottom: 0.5rem;
}
.check-fortschritt-fuellung { height: 100%; width: 0%; background: var(--gold); transition: width 0.3s ease; }
.check-fortschritt-text { font-size: 0.8rem; opacity: 0.7; margin: 0 0 2rem 0; }

.check-bereichslabel { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-text); margin-bottom: 0.5rem; }
.check-frage-text { font-size: 1.4rem; margin-bottom: 1.6rem; }

.check-optionen { list-style: none; padding: 0; margin: 0 0 1.5rem 0; display: flex; flex-direction: column; gap: 0.8rem; }
.check-option {
  display: block; width: 100%; text-align: left;
  padding: 0.9em 1.2em; font-family: var(--schrift-text); font-size: 1rem;
  background: var(--weiss); color: var(--schwarz);
  border: 1px solid var(--taupe-stein); border-radius: 3px; cursor: pointer;
}
.check-option:hover { border-color: var(--gold); }
.check-option.gewaehlt { border-color: var(--gold); background: var(--taupe-hell); }

.check-zurueck { background: none; border: none; color: var(--schwarz); opacity: 0.6; font-size: 0.85rem; cursor: pointer; padding: 0; text-decoration: underline; }

/* Ergebnis */
.check-ergebnis-intro { text-align: center; margin-bottom: 2rem; }
.check-ergebnis-intro h2 { font-size: 2.1rem; }

.check-balken-liste { list-style: none; padding: 0; margin: 0 0 2.5rem 0; }
.check-balken-eintrag { margin-bottom: 1.5rem; }
.check-balken-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.check-balken-bereich { font-weight: 600; }
.check-balken-einordnung { font-size: 0.85rem; color: var(--gold-text); }
.check-balken-spur { height: 10px; background: var(--taupe-hell); border-radius: 5px; overflow: hidden; }
.check-balken-fuellung { height: 100%; background: var(--gold); border-radius: 5px; }

.check-buttonreihe { display: flex; flex-direction: column; gap: 0.9rem; align-items: center; margin-top: 2rem; }

/* Tipps-per-E-Mail-Bereich auf der Ergebnisseite */
.check-tipps-bereich {
  border-top: 1px solid var(--taupe-stein);
  margin-top: 3rem; padding-top: 2.5rem;
}
.check-tipps-bereich h2 { font-size: 1.3rem; }
#check-tipps-themen { flex-direction: column; }
@media (min-width: 480px) {
  #check-tipps-themen { flex-direction: row; flex-wrap: wrap; }
  #check-tipps-themen li { flex: 1 1 auto; }
  #check-tipps-themen .check-option { text-align: center; }
}

.check-tipps-formular { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; }
.check-tipps-formular label { font-size: 0.9rem; font-weight: 600; }
.check-tipps-formular input[type="email"] {
  width: 100%; max-width: 26rem; padding: 0.8em 1em;
  border: 1px solid var(--taupe-stein); border-radius: 3px;
  font-family: var(--schrift-text); font-size: 1rem;
}
.check-tipps-hinweis { font-size: 0.8rem; opacity: 0.75; margin: 0.3rem 0 0 0; }
.check-tipps-erfolg { margin-top: 1.5rem; color: var(--gold-text); font-weight: 600; }

/* Newsletter-Anmeldung – wiederverwendbarer Block (Startseite, Wissensartikel, Vitalitäts-Check) */
.newsletter-block {
  background: var(--taupe-hell);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  max-width: 34rem;
  margin: 2.5rem auto 0 auto;
  text-align: center;
}
.newsletter-block h2 { font-size: 1.3rem; margin-top: 0; }
.newsletter-block > p { margin: 0 auto 1.2rem auto; max-width: 30rem; }
.newsletter-formular {
  display: flex; flex-direction: column; gap: 0.8rem;
  max-width: 24rem; margin: 0 auto;
}
.newsletter-formular input[type="email"] {
  width: 100%; padding: 0.8em 1em; box-sizing: border-box;
  border: 1px solid var(--taupe-stein); border-radius: 3px;
  font-family: var(--schrift-text); font-size: 1rem;
}
.newsletter-formular .knopf { cursor: pointer; }
.newsletter-hinweis { font-size: 0.8rem; opacity: 0.75; margin: 0.9rem auto 0 auto; max-width: 30rem; }
.newsletter-erfolg { margin: 1rem auto 0 auto; color: var(--gold-text); font-weight: 600; max-width: 30rem; }

@media print {
  .kopfbereich, .fussbereich, .check-buttonreihe, .check-zurueck, .check-tipps-bereich { display: none !important; }
  body { font-size: 12pt; }
}

/* --- FAQ-Accordion (Produktseite) --- */

.faq-bereich {
  background: var(--ivory);
  max-width: none;
  padding: 3rem 1.2rem;
}
.faq-bereich > h2 { max-width: 42rem; margin-left: auto; margin-right: auto; }

.faq-accordion { max-width: 42rem; margin: 2rem auto 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--taupe-stein);
}
.faq-item:first-child { border-top: 1px solid var(--taupe-stein); }

.faq-frage-knopf {
  display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--schrift-ueberschrift); font-weight: 600; color: var(--schwarz);
  font-size: 1.05rem; line-height: 1.4;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
  min-height: 48px; /* große Touch-Fläche fürs Handy */
}
.faq-frage-knopf::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--schrift-text); font-size: 1.4rem; color: var(--gold-text);
  transition: transform 250ms ease;
}
.faq-item.offen .faq-frage-knopf::after {
  content: "+";
  transform: translateY(-50%) rotate(45deg);
}

/* Sanftes Auf-/Zuklappen ohne JS-Höhenberechnung */
.faq-antwort-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms ease;
}
.faq-item.offen .faq-antwort-wrapper {
  grid-template-rows: 1fr;
}
.faq-antwort-inner { overflow: hidden; }
.faq-antwort-inner p { margin: 0 0 1.2rem 0; font-size: 0.98rem; max-width: none; }
