/* ═══════════════════════════════════════════════════════════════════════════
   das Hautjournal – site.css   (v1 – eigenes Markendesign)

   Frisches, editoriales „Haut/Derma"-Design: warmes Rosé/Beere + Terrakotta-
   Akzent auf Porzellan-Hintergrund, elegantes Serifen-Display (Cormorant
   Garamond) + klare Sans (Manrope). Redaktionell, warm, glaubwürdig – die
   saubere, indexierbare Magazin-Front (kein Tracking, keine Money-Page).

   Re-Styling läuft primär über die Design-Tokens in :root. Komponenten
   referenzieren nur Tokens. Änderungen additiv halten.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design-Tokens ───────────────────────────────────────────────────────── */
:root {
  /* Marke – warmes Rosé/Beere ("Haut/Derma") mit Terrakotta-Glow-Akzent */
  --brand:        #a83f5b;   /* tiefes Rosé/Beere (Signatur) */
  --brand-dark:   #822e44;
  --brand-tint:   #f8e9ee;
  --clay:         #d98a6a;   /* warmer Terrakotta-Akzent (Glow/Haut) */
  --clay-soft:    #f9ede4;
  --gold:         #c19a4b;   /* warmer Akzent, sparsam */

  --ink:          #2b1a22;   /* tiefes warmes Pflaumen-Braun (Headlines) */
  --body:         #4b3a41;
  --muted:        #6e5b62;
  --line:         #efe1e6;
  --bg:           #ffffff;
  --bg-soft:      #faf3f2;   /* warmes Porzellan */
  --porcelain:    #fdf8f5;   /* sehr sanftes warmes Weiß */

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw:         1140px;
  --radius:       18px;
  --radius-sm:    12px;
  --radius-pill:  999px;
  --shadow:       0 16px 44px rgba(84, 30, 48, .10);
  --shadow-sm:    0 4px 16px rgba(84, 30, 48, .07);
  --space:        clamp(1rem, 2.6vw, 1.6rem);
}

/* ─── Reset / Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.7rem, 6vw, 4.3rem); font-weight: 600; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space); }
.section { padding-block: clamp(2.8rem, 6.5vw, 5rem); }
.bg-soft { background: var(--bg-soft); }
.bg-porcelain { background: var(--porcelain); }
.eyebrow { display: inline-block; font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: .7rem; }
.lead { font-size: 1.2rem; color: var(--body); max-width: 62ch; }
.section-head { max-width: 62ch; margin-bottom: 1.9rem; }
.section-head p { color: var(--muted); }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-sans); font-weight: 600; cursor: pointer; padding: .82rem 1.55rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .05s, box-shadow .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { padding: 1rem 1.85rem; font-size: 1.05rem; }

/* ─── Header ──────────────────────────────────────────────────────────────── */
.dhj-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.dhj-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.dhj-logo { display: inline-flex; align-items: baseline; gap: .28rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.7rem; letter-spacing: -.01em; line-height: 1; }
.dhj-logo:hover { text-decoration: none; }
.dhj-logo .lg-the { color: var(--brand); font-style: italic; font-weight: 500; }
.dhj-logo img { height: 42px; width: auto; }
.dhj-nav { display: flex; align-items: center; gap: 1.6rem; }
.dhj-nav a { color: var(--body); font-weight: 500; font-size: .98rem; font-family: var(--font-sans); }
.dhj-nav a:hover { color: var(--brand-dark); text-decoration: none; }
.dhj-nav .btn { color: #fff; }
.dhj-nav .btn-ghost { color: var(--ink); }
.dhj-burger { display: none; background: none; border: 0; padding: .4rem; color: var(--ink); cursor: pointer; }
.dhj-burger svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .dhj-burger { display: inline-flex; }
  .dhj-nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--space) 1.1rem; box-shadow: var(--shadow); display: none; }
  .dhj-nav.open { display: flex; }
  .dhj-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .dhj-nav .btn { margin-top: .8rem; }
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.2rem, 8vw, 6rem); background: radial-gradient(120% 90% at 82% -12%, var(--clay-soft) 0%, transparent 56%), linear-gradient(180deg, var(--brand-tint), #fff 80%); }
.hero-grid { display: grid; gap: 2.6rem; grid-template-columns: 1.08fr .92fr; align-items: center; }
.hero h1 .hl { color: var(--brand); font-style: italic; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.badge { display: inline-flex; gap: .45rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .4rem .95rem; font-size: .82rem; font-weight: 600; color: var(--brand-dark); margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); font-family: var(--font-sans); }
.hero-visual { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(150deg, var(--brand) 0%, var(--clay) 100%); position: relative; box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 30% 25%, rgba(255,255,255,.28), transparent 60%); }
.hero-visual svg { width: 46%; height: 46%; color: rgba(255,255,255,.92); position: relative; z-index: 1; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.1rem 1.7rem; margin-top: 2.1rem; }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--body); font-family: var(--font-sans); }
.trust-item svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 440px; } }

/* ─── Topic pills / grid ──────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.topic-card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .12s, box-shadow .12s, border-color .12s; }
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; text-decoration: none; }
.topic-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--clay-soft); display: grid; place-items: center; color: var(--brand); margin-bottom: .3rem; }
.topic-ico svg { width: 24px; height: 24px; }
.topic-card h3 { margin: 0; }
.topic-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ─── Magazine article teasers ────────────────────────────────────────────── */
.mag-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.article { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .12s, box-shadow .12s; }
.article:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.article-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--brand-tint), var(--clay-soft)); position: relative; }
.article-thumb .kicker { position: absolute; left: .9rem; top: .9rem; background: #fff; color: var(--brand-dark); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .7rem; border-radius: var(--radius-pill); font-family: var(--font-sans); }
.article-body { padding: 1.35rem 1.45rem 1.55rem; }
.article-body h3 { color: var(--ink); margin-bottom: .35rem; }
.article-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.article-meta { margin-top: 1rem; font-size: .82rem; color: var(--muted); font-family: var(--font-sans); }

/* ─── Values strip ────────────────────────────────────────────────────────── */
.values { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.3rem; }
.value h3 svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.value p { color: var(--muted); font-size: .95rem; }

/* ─── Newsletter band ─────────────────────────────────────────────────────── */
.nl-band { background: linear-gradient(135deg, var(--brand-dark), var(--brand) 62%, var(--clay)); border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem); color: #fff; box-shadow: var(--shadow); }
.nl-band h2 { color: #fff; }
.nl-band p { color: rgba(255,255,255,.92); }
.form-inline { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; max-width: 520px; }
.form-inline input { flex: 1 1 220px; }
.nl-band .btn-primary { background: #fff; color: var(--brand-dark); }
.nl-band .btn-primary:hover { background: var(--porcelain); }
.nl-done { background: rgba(255,255,255,.16); color: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 600; margin-top: 1.2rem; max-width: 520px; }

/* ─── Forms ───────────────────────────────────────────────────────────────── */
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .92rem; font-family: var(--font-sans); }
input, textarea { width: 100%; font: inherit; font-family: var(--font-sans); color: var(--ink); padding: .74rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.dhj-footer { border-top: 1px solid var(--line); background: var(--porcelain); padding-block: 2.9rem; margin-top: 3.5rem; color: var(--muted); font-size: .92rem; }
.dhj-footer-grid { display: flex; flex-wrap: wrap; gap: 1.6rem 2.5rem; justify-content: space-between; }
.dhj-footer strong { color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; }
.dhj-footer a { color: var(--body); }
.dhj-footer nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.dhj-footer .legal { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }

/* ─── Content pages (prose) ───────────────────────────────────────────────── */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.3rem; }
.prose ul { padding-left: 1.2rem; }
.note { background: var(--clay-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--body); font-size: .95rem; }

/* ─── Cookie-Consent ──────────────────────────────────────────────────────── */
.cc { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; display: flex; justify-content: center; }
.cc-card { max-width: 560px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.35rem; }
.cc-head strong { color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; }
.cc-text { font-size: .9rem; color: var(--muted); margin: .5rem 0 .8rem; }
.cc-settings { display: none; margin-bottom: .8rem; }
.cc-settings.open { display: block; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.cc-row p { margin: .15rem 0 0; font-size: .82rem; color: var(--muted); }
.cc-toggle { width: 42px; height: 24px; border-radius: var(--radius-pill); background: var(--line); border: 0; position: relative; cursor: pointer; flex: none; }
.cc-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.cc-toggle.on { background: var(--brand); }
.cc-toggle.on::after { left: 21px; }
.cc-toggle.locked { opacity: .6; cursor: not-allowed; }
.cc-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.cc-btn { font: inherit; font-family: var(--font-sans); font-weight: 600; font-size: .9rem; padding: .55rem 1rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; cursor: pointer; }
.cc-btn-link { background: none; color: var(--muted); margin-right: auto; padding-left: 0; }
.cc-btn-ghost { background: none; border-color: var(--line); color: var(--ink); }
.cc-btn-primary { background: var(--brand); color: #fff; }

/* ─── Skip-Link / a11y ────────────────────────────────────────────────────── */
.skip-link:focus { position: fixed; top: .6rem; left: .6rem; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; color: var(--brand-dark); padding: .6rem 1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); font-family: var(--font-sans); font-weight: 600; }
main:focus { outline: none; }

/* ─── Utilities ───────────────────────────────────────────────────────────── */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
