/* Gesundheitsforschung site stylesheet, shared by homepage + editorial/legal pages.
   The 6 advertorial articles remain self-contained (CSS inlined per page) by design.
   Fonts are local-only (see @font-face below). No Google Fonts, no external requests:
   loading fonts.googleapis.com would send the visitor's IP to Google without consent. */

@font-face{font-family:'Lora';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/assets/fonts/lora-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Lora';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/assets/fonts/lora-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

:root {
  /* Farben */
  --color-primary:        #423C8C;
  --color-primary-dark:   #2E2A66;
  --color-accent:         #4FA3C4;
  --color-bg:             #FFFFFF;
  --color-bg-alt:         #F5F4FA;
  --color-text:           #232032;
  --color-text-light:     #635E76;
  --color-border:         #E2E0EC;
  --color-success:        #198754;
  --color-danger:         #DC3545;

  /* Typografie */
  --font-heading:         'Lora', Georgia, serif;
  --font-body:            'Inter', system-ui, sans-serif;

  /* Abstände und Form */
  --radius-sm:            6px;
  --radius-md:            12px;
  --radius-lg:            20px;

  /* Schatten */
  --shadow-card:          0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-badge:         0 4px 16px rgba(66, 60, 140, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text);
}

p { margin-bottom: 1rem; }

/* ---------- Top-Bar ---------- */
.topbar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--color-text);
}
.brand-name .accent { color: var(--color-primary); }
.brand-tagline {
  font-size: 12px;
  color: var(--color-text-light);
  font-style: italic;
}
.topnav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.topnav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
}
.topnav a:hover { color: var(--color-primary); }

/* ---------- Verbindungshinweis (Betreiber-Offenlegung) ---------- */
.connection-note {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 9px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-light);
}

/* ---------- Homepage-Hero ---------- */
.home-hero {
  padding: 48px 0 8px;
  text-align: center;
}
.home-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.home-hero h1 {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.18;
  margin: 0 auto 18px;
  max-width: 20ch;
}
.home-hero .subline {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- Section general ---------- */
.section { padding: 36px 0; }
.section h2 {
  font-weight: 700;
  font-size: 27px;
  margin-bottom: 20px;
  scroll-margin-top: 20px;
}
.section.alt { background: var(--color-bg-alt); }

/* ---------- Karten-Grid (Beiträge) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}
.test-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.test-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}
.test-card .card-kicker {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #ECEBF7;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.test-card .card-kicker.ad {
  color: #6A4E0C;
  background: #FBF0D2;
}
.test-card h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}
.test-card .card-dek {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 18px;
  flex: 1 1 auto;
}
.test-card .card-link {
  align-self: flex-start;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary);
  text-decoration: none;
}
.test-card .card-link::after {
  content: ' →';
  transition: margin-left 0.15s ease;
}
.test-card:hover .card-link::after { margin-left: 4px; }

/* ---------- Editorial-Versprechen-Band ---------- */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.promise-item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 4px 0;
}
.promise-item .promise-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.promise-item h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.promise-item p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ---------- Rechtsseiten / Dokument-Prosa ---------- */
.doc { padding: 36px 0 20px; }
.doc h1 {
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 8px;
}
.doc .doc-lead {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}
.doc h2 {
  font-weight: 700;
  font-size: 21px;
  margin: 30px 0 10px;
}
.doc h3 {
  font-weight: 700;
  font-size: 17px;
  margin: 18px 0 6px;
}
.doc p { font-size: 16px; margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.doc ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px;
}
.doc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
}
.doc address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.doc a { color: var(--color-primary); word-break: break-word; }

/* Hinweis-/Platzhalter-Box (neutrales Amber, kein Markenfarbton) */
.note {
  background: #FBF7EF;
  border-left: 4px solid #B8892F;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
}
.note strong { color: #8A5A20; }
.note p { font-size: 15px; margin-bottom: 0; }
.platzhalter{background:#FBF0D2;box-shadow:inset 0 0 0 1px #D9B85C;color:#6A4E0C;padding:1px 7px;
  border-radius:3px;font-size:0.85em;font-weight:600;font-style:normal;white-space:nowrap;}

/* Kontaktkanal-Karten */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 8px 0 24px;
}
.contact-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
}
.contact-card h3 {
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 6px;
}
.contact-card p { font-size: 15px; color: var(--color-text-light); margin-bottom: 8px; }
.contact-card a { font-weight: 700; font-size: 16px; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-text);
  color: #D6D3E0;
  padding: 40px 0 28px;
  margin-top: 40px;
  font-size: 13px;
  line-height: 1.7;
}
.footer h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 22px;
}
.footer h3:first-child { margin-top: 0; }
.footer p { font-size: 13px; margin-bottom: 12px; }
.footer a { color: #fff; }
.footer-links { margin: 16px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { font-size: 13px; display: inline-block; padding: 4px 0; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-top: 20px;
  font-size: 12px;
  color: #ADA9BF;
}

/* ---------- Responsive: Grids ab Tablet zweispaltig ---------- */
@media (min-width: 700px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .promise-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .home-hero { padding: 64px 0 12px; }
  .home-hero h1 { font-size: 46px; }
  .home-hero .subline { font-size: 20px; }
  .doc h1 { font-size: 36px; }
  .doc h2 { font-size: 24px; }
  .section h2 { font-size: 33px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 30px 0; }
  .section h2 { font-size: 22px; }
  .home-hero h1 { font-size: 26px; }
  .home-hero .subline { font-size: 16px; }
}

/* Brotkrumen */
.breadcrumb { font-size: 13px; color: var(--color-text-light); margin: 0 0 14px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li+li::before { content: "\203A"; margin: 0 6px 0 2px; }
.breadcrumb a { color: var(--color-primary); }
