/* ==========================================================
   akne-inversa-hilfe.de — Editorial Design v2
   Weiß, rund, editorial, viel Luft. Referenzen: Substack,
   Athletic Greens, Airbnb, Oatly, Warby Parker.
   ========================================================== */

:root {
  /* Bio-Tech / Modern Digital Dashboard (Bento-Grid) */
  --white:       #ffffff;
  --bg:          #ffffff;
  --bg-soft:     #F1F5F9;
  --bg-cream:    #F1F5F9;
  --bg-forest:   #0A192F;    /* Deep Dark Navy — Header/Hero/dunkle Sektionen */

  --ink:         #1E293B;    /* Dark Text */
  --ink-2:       #334155;
  --ink-3:       #64748b;
  --ink-4:       #94a3b8;
  --line:        #E2E8F0;
  --line-2:      #edf1f5;
  --light-text:  #F8FAFC;    /* Light Text im dunklen Header */

  --sage:        #004D40;    /* Deep Teal — Primär-Akzent/Text auf Hell */
  --sage-soft:   #d7e9e5;
  --clay:        #004D40;    /* Primary CTA (Text-Akzent) */
  --clay-dark:   #00332b;
  --clay-soft:   #eaf5f3;
  --gold:        #00F2FE;    /* Electric Mint — Glow/Active/Icons auf Dunkel */
  --sky:         #00C2CC;
  --glow:        rgba(0, 242, 254, 0.45);
  --glow-soft:   rgba(0, 242, 254, 0.15);

  --mint:        #00F2FE;
  --sage-tint:   #9DBBB0;    /* Soft Sage Green — sanfte Übergänge */
  --rose-tint:   #E1CFCB;    /* Muted Rose — sanfte Übergänge */

  /* Typografie — Serif Headlines (Premium), Sans Body/Funktional */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", "SF Pro Serif", Georgia, serif;
  --display: "Playfair Display", "SF Pro Serif", Georgia, serif;

  /* Maße */
  --wrap: 1240px;
  --wrap-narrow: 720px;
  --wrap-wide: 1440px;

  --r-sm: 14px;
  --r:    22px;
  --r-lg: 32px;
  --r-xl: 40px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10,25,47,0.04), 0 2px 8px rgba(10,25,47,0.04);
  --shadow:    0 2px 6px rgba(10,25,47,0.03), 0 12px 32px rgba(10,25,47,0.06);
  --shadow-lg: 0 4px 12px rgba(10,25,47,0.04), 0 30px 60px rgba(10,25,47,0.10);
  --shadow-book: 0 40px 60px -20px rgba(10,25,47,0.35), 0 20px 30px -15px rgba(10,25,47,0.20);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--clay); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: var(--wrap-narrow); }
.wrap.wide    { max-width: var(--wrap-wide); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 0.4em;
}
/* Headline-Font: Serif (Playfair) — premium, seriös */
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; }
/* Body/Funktions-Font: Sans (Inter) — Karten-Titel, Daten, UI */
h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; line-height: 1.25; }
h4 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--sage);
}

.chapter-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 24px;
}
.chapter-tag.alt { color: var(--clay); }

.accent { color: var(--clay); font-style: italic; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); font-weight: 400; }
.small-note { font-size: 0.85rem; color: var(--ink-3); margin-top: 12px; }

/* ============================================================
   BUTTONS — Pill-Style
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--pill);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bg-forest); color: var(--white); box-shadow: 0 1px 2px rgba(10, 25, 47, 0.15); }
.btn-primary:hover { background: var(--bg-forest); color: var(--mint); box-shadow: 0 10px 30px var(--glow), 0 0 0 1px var(--mint); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--white); color: var(--clay); box-shadow: 0 8px 24px rgba(255,255,255,0.2); }
.btn-lg { padding: 18px 34px; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--light-text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.015em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--bg-forest);
  font-size: 1rem;
  line-height: 1;
  padding-bottom: 2px;
  box-shadow: 0 0 0 4px var(--glow-soft), 0 0 14px var(--glow);
}
.brand-tld { color: rgba(248,250,252,0.5); font-weight: 400; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a {
  color: rgba(248,250,252,0.78);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--pill);
  transition: background .2s ease, color .2s ease;
}
.site-nav a:hover { background: rgba(255,255,255,0.08); color: var(--light-text); }
.nav-cta {
  background: var(--mint) !important;
  color: var(--bg-forest) !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--white) !important; color: var(--bg-forest) !important; box-shadow: 0 0 20px var(--glow); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light-text);
  padding: 6px 10px;
}

/* ============================================================
   HERO — großzügig, editorial, viel Luft
   ============================================================ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: var(--bg-forest);
  color: var(--light-text);
  overflow: hidden;
}
.hero::before {
  /* Geometrisches Linien-Muster für Tiefe */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 900px 600px at 30% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 900px 600px at 30% 20%, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -320px; left: -220px;
  width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
}
.hero .eyebrow { color: var(--mint); }
.hero .eyebrow::before { background: var(--mint); }
.hero .accent { color: var(--mint); }
.hero .btn-ghost { color: var(--light-text); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.10); color: var(--light-text); }
.hero .btn-outline { color: var(--light-text); border-color: rgba(255,255,255,0.25); }
.hero .btn-outline:hover { border-color: var(--light-text); color: var(--light-text); }
.hero-text h1 { margin: 0 0 32px; color: var(--light-text); }
.hero-text .lede { margin: 0 0 40px; max-width: 540px; font-size: 1.25rem; color: rgba(248,250,252,0.72); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  list-style: none;
  padding: 32px 0 0;
  margin: 0;
  display: flex;
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--mint);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stats span {
  font-size: 0.82rem;
  color: rgba(248,250,252,0.55);
  line-height: 1.4;
}

.hero-portrait { position: relative; }
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #0f2947 0%, #0A192F 55%, #004D40 130%);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,242,254,0.14);
  position: relative;
  overflow: hidden;
}
.portrait-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,242,254,0.16), transparent 50%);
  pointer-events: none;
}
.portrait-hint {
  color: var(--light-text);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--pill);
  font-weight: 500;
  z-index: 1;
}
.hero-caption {
  font-size: 0.88rem;
  color: rgba(248,250,252,0.55);
  margin: 20px 8px 0;
  line-height: 1.55;
  font-style: italic;
}

/* Floating badge */
.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--white);
  padding: 16px 22px;
  border-radius: var(--pill);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}
.hero-badge-dot {
  width: 10px;
  height: 10px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--glow-soft), 0 0 12px var(--glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--glow-soft), 0 0 12px var(--glow); }
  50% { box-shadow: 0 0 0 8px var(--glow-soft), 0 0 20px var(--glow); }
}

/* ============================================================
   STORY-BLOCK — Editorial (wie New Yorker / Substack)
   ============================================================ */
.story-block {
  padding: 140px 0;
  background: var(--bg-cream);
}
.story-body {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 32px 0 48px;
}
.story-body p { margin: 0 0 1.2em; }
.story-body p:last-child { margin-bottom: 0; }
.dropcap::first-letter {
  font-family: var(--display);
  font-size: 5.2rem;
  line-height: 0.85;
  float: left;
  padding: 8px 14px 0 0;
  color: var(--clay);
  font-weight: 500;
  font-style: italic;
}
.story-body blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 32px;
  border-left: 3px solid var(--clay);
  font-style: italic;
  color: var(--ink-2);
  font-size: 1.5rem;
  line-height: 1.4;
  font-family: var(--display);
}
.story-cta { margin-top: 24px; }

/* ============================================================
   PILLARS — modernere Cards mit mehr Luft
   ============================================================ */
.pillars { padding: 160px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 20px; }
.section-lede { color: var(--ink-2); font-size: 1.15rem; line-height: 1.55; }

/* Bento-Grid: 3 Spalten, Highlight-Pillar spannt sich groß */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 16px;
}
.pillar-grid > .pillar:nth-child(3).highlight {
  grid-column: span 2;
  grid-row: span 2;
  padding: 56px 48px;
}
.pillar-grid > .pillar:nth-child(3).highlight h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.pillar-grid > .pillar:nth-child(3).highlight p {
  font-size: 1.05rem;
  max-width: 460px;
}
@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid > .pillar:nth-child(3).highlight { grid-column: span 2; grid-row: span 1; padding: 40px 36px; }
  .pillar-grid > .pillar:nth-child(3).highlight h3 { font-size: 1.5rem; }
}
@media (max-width: 640px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-grid > .pillar:nth-child(3).highlight { grid-column: span 1; }
}
.pillar {
  display: block;
  padding: 40px 36px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  color: var(--ink);
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), background .3s ease;
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.pillar.highlight {
  background: var(--bg-forest);
  color: var(--white);
  position: relative;
  box-shadow: 0 20px 60px -20px var(--glow);
}
.pillar.highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--mint), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pillar.highlight:hover {
  background: var(--bg-forest);
  color: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px -20px var(--glow), 0 0 0 1px var(--mint);
}
.pillar.highlight h3, .pillar.highlight p { color: var(--white); }
.pillar.highlight p { color: rgba(255, 255, 255, 0.75); }
.pillar.highlight .pillar-num { color: var(--mint); }
.pillar.highlight .pillar-link { color: var(--mint); }
.pillar.highlight .pillar-num-bg { background: var(--mint); color: var(--bg-forest); box-shadow: 0 0 0 4px var(--glow-soft), 0 0 16px var(--glow); }

.pillar-num {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pillar-num-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
}
.pillar h3 { margin: 8px 0 14px; font-size: 1.4rem; }
.pillar p {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 28px;
}
.pillar-link {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.pillar:hover .pillar-link { gap: 10px; }

/* ============================================================
   UKE-WARNUNG — dunkler Editorial-Block
   ============================================================ */
.uke-warning {
  padding: 140px 0;
  background: var(--bg-forest);
  color: rgba(255,255,255,0.9);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.uke-warning::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(77, 143, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.uke-warning .wrap { position: relative; }
.uke-warning h2 {
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 32px;
  font-style: italic;
  font-weight: 500;
}
.uke-warning .chapter-tag.alt { color: var(--mint); }
.warning-body {
  max-width: 600px;
  margin: 0 auto 20px;
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.7;
}
.uke-warning .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  margin-top: 24px;
}
.uke-warning .btn-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--bg-forest);
}

/* ============================================================
   EBOOK CTA — modernes, elegantes Buch
   ============================================================ */
.ebook-cta {
  padding: 160px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.ebook-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 60%;
  background: linear-gradient(180deg, transparent, var(--bg-cream) 40%, var(--bg-cream));
  z-index: 0;
  transform: translateY(-50%);
  border-radius: var(--r-xl);
  max-width: 1160px;
  margin: 0 auto;
  right: 0;
}
.ebook-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: center;
  padding: 60px 0;
}
.ebook-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.book {
  width: 300px;
  aspect-ratio: 2 / 3;
  filter: drop-shadow(0 30px 40px rgba(20,24,26,0.25));
  transform: rotate(-3deg);
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.book:hover { transform: rotate(0deg) scale(1.03); }
.book-front {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #1e3a6f 0%, #0a1930 60%, #050f24 100%);
  border-radius: 4px 12px 12px 4px;
  padding: 44px 34px 36px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  position: relative;
  border-left: 6px solid #050f24;
}
.book-front::before {
  content: '';
  position: absolute;
  left: 12px; right: 14px; top: 24px; bottom: 24px;
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 2px;
  pointer-events: none;
}
.book-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 600;
}
.book-title {
  font-family: var(--display);
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.book-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  margin-top: auto;
  margin-bottom: 12px;
  line-height: 1.4;
}
.book-author { font-size: 0.88rem; color: #ffffff; opacity: 0.85; letter-spacing: 0.02em; }

.ebook-text h2 { margin-bottom: 20px; }
.ebook-text .lede { margin: 0 0 32px; max-width: 480px; }
.ebook-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
.ebook-checklist li {
  padding-left: 32px;
  position: relative;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.4;
}
.ebook-checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage-soft);
}
.ebook-checklist li::after {
  content: '';
  position: absolute;
  left: 7px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}
.ebook-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   COMMUNITY-TOOLS — moderne, luftige Cards
   ============================================================ */
.community { padding: 160px 0; background: var(--white); }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.tool {
  padding: 40px 32px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), background .3s ease, box-shadow .3s ease;
}
.tool:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.tool-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all .3s ease;
}
.tool:hover .tool-icon {
  background: var(--bg-forest);
  color: var(--mint);
  border-color: var(--bg-forest);
  box-shadow: 0 4px 16px var(--glow-soft), 0 0 12px var(--glow);
}
.tool h3 { font-size: 1.25rem; margin-bottom: 12px; }
.tool p { color: var(--ink-2); font-size: 0.96rem; line-height: 1.55; margin: 0; }

/* ============================================================
   TRUST / DISCLAIMER
   ============================================================ */
.trust {
  padding: 120px 0;
  background: var(--bg-soft);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.trust h2 { font-size: 1.9rem; margin-bottom: 24px; }
.trust p { color: var(--ink-2); margin: 0 0 1.2em; font-size: 1.05rem; line-height: 1.7; }
.trust p:last-child { margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-forest);
  color: rgba(255,255,255,0.7);
  padding-top: 100px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
}
.footer-brand { color: var(--white); }
.footer-brand .brand-mark {
  background: var(--white);
  color: var(--ink);
  width: 40px; height: 40px;
  font-size: 1.2rem;
}
.footer-brand > span {
  display: inline-block;
  font-weight: 600;
  margin-left: 12px;
  font-size: 1.1rem;
  vertical-align: middle;
}
.footer-tag { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-top: 20px; max-width: 300px; line-height: 1.6; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-nav h4 { color: var(--white); margin-bottom: 20px; letter-spacing: 0.1em; }
.footer-nav a {
  display: block;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  font-size: 0.94rem;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero { padding: 60px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-portrait { max-width: 420px; margin: 0 auto; }
  .hero-badge { left: 20px; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .hero-stats strong { font-size: 2.2rem; }

  .story-block, .pillars, .ebook-cta, .community, .uke-warning, .trust {
    padding-top: 100px; padding-bottom: 100px;
  }
  .ebook-grid { grid-template-columns: 1fr; gap: 60px; }
  .ebook-cover .book { width: 240px; }
  .ebook-checklist { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 24px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px; right: 12px;
    background: var(--bg-forest);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 16px; }
  .menu-toggle { display: block; }

  .hero-cta .btn { width: 100%; justify-content: center; text-align: center; }
  .story-body { font-size: 1.15rem; }
  .story-body blockquote { font-size: 1.2rem; padding-left: 20px; }
  .pillar { padding: 32px 28px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   MOTION — Huly-inspiriert, medizinisch dezent
   ============================================================ */

/* Aurora-Mesh im Hero */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
  animation: aurora-drift 22s ease-in-out infinite;
}
.aurora-blob.a { top: -10%; left: 8%; width: 520px; height: 520px; background: #00F2FE; }
.aurora-blob.b { top: 15%; right: -8%; width: 640px; height: 640px; background: #004D40; opacity: 0.35; animation-delay: -8s; }
.aurora-blob.c { bottom: -18%; left: 32%; width: 460px; height: 460px; background: #00C2CC; opacity: 0.40; animation-delay: -14s; }
/* Auf hellem Reader-Hero deutlich dezenter — Mint würde sonst grell wirken */
.reader-hero .aurora-blob { opacity: 0.16; }
.reader-hero .aurora-blob.b { opacity: 0.12; }
.reader-hero .aurora-blob.c { opacity: 0.14; }
@keyframes aurora-drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(50px,-40px) scale(1.06); }
  66%      { transform: translate(-30px,50px) scale(0.96); }
}

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(0.22, 1, 0.36, 1),
              transform .9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

/* Cursor-Spotlight für Pillars & Tools */
.pillar, .tool { --mx: 50%; --my: 50%; position: relative; overflow: hidden; }
.pillar::after, .tool::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(0, 77, 64, 0.10), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.pillar:hover::after, .tool:hover::after { opacity: 1; }
.pillar > *, .tool > * { position: relative; z-index: 1; }
.pillar.highlight::after {
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(0, 242, 254, 0.22), transparent 55%);
}

/* Marquee (endloser Schlagwort-Streifen unter Hero) */
.marquee {
  position: relative;
  padding: 36px 0;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
  color: var(--ink-3);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  align-items: center;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.marquee-track b {
  font-weight: 600;
  color: var(--ink);
}
.marquee-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.12);
  display: inline-block;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Shine-Sweep für Primary-Button */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(147, 197, 253, 0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .75s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover::before { left: 120%; }

/* Sticky Header — shrink beim Scrollen */
.site-header { transition: padding .3s ease, background .3s ease, box-shadow .3s ease; }
.site-header.scrolled {
  background: rgba(10, 25, 47, 0.98);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 12px 24px -12px rgba(0,0,0,0.35);
}
.site-header.scrolled .header-inner { padding-top: 12px; padding-bottom: 12px; }

/* Buch — sanftes Floaten */
.book { animation: book-float 6.5s ease-in-out infinite; }
@keyframes book-float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-12px); }
}
.book:hover { animation-play-state: paused; }

/* Hero-Badge: dezenter Mint-Glow */
.hero-badge-dot {
  background: var(--mint);
  box-shadow: 0 0 0 4px var(--glow-soft), 0 0 12px var(--glow);
}

/* UKE-Warnung: sanfter Mint-Aurora-Glow */
.uke-warning::before {
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.14) 0%, transparent 55%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .aurora-blob, .book, .marquee-track { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary::before { display: none; }
}

/* =========================================================
   /mein-weg — Longform Ebook-Reader
   ========================================================= */

/* Reading progress bar (fixed top) */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  background: rgba(0, 77, 64, 0.08);
  pointer-events: none;
}
.reading-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #004D40, #00F2FE);
  box-shadow: 0 0 10px var(--glow);
  transition: width .12s linear;
}

/* Reader Hero — schlanker als Landing-Hero */
.reader-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vh, 140px) 0 clamp(40px, 6vh, 72px);
  background:
    radial-gradient(1000px 500px at 50% 0%, rgba(0, 77, 64, 0.08), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line-2);
}
.reader-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.reader-hero h1 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink, #0a192f);
  margin: 12px 0 20px;
}
.reader-hero .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-2, #34435a);
  max-width: 640px;
  margin: 0 auto;
}
.reader-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--ink-3, #6b7a90);
}
.reader-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.reader-meta-item + .reader-meta-item::before {
  content: "·";
  margin-right: 20px;
  color: var(--sage);
  font-weight: 700;
}

/* Shell: Sidebar (sticky TOC) + Article */
.mw-shell { padding: clamp(40px, 6vh, 80px) 0 clamp(60px, 9vh, 120px); }
.mw-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) {
  .mw-grid { grid-template-columns: 1fr; }
}

/* Sidebar TOC */
.mw-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.mw-toc-inner {
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 20px 40px -30px rgba(10, 25, 47, 0.15);
}
.mw-toc-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin: 0 0 14px;
}
.mw-toc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  counter-reset: none;
}
.mw-toc-list li { margin: 0; padding: 0; }
.mw-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink-2, #34435a);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.mw-toc-list a:hover {
  background: rgba(0, 77, 64, 0.06);
  color: var(--ink, #1E293B);
}
.mw-toc-list a.active {
  background: rgba(0, 77, 64, 0.10);
  color: var(--sage);
  font-weight: 600;
}
.mw-toc-num {
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage);
  min-width: 22px;
  letter-spacing: 0.04em;
}
.mw-toc-list a.active .mw-toc-num { color: var(--clay-dark, #00332b); }
.mw-toc-cta { width: 100%; justify-content: center; text-align: center; display: block; }
.mw-toc-locked {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  margin: 2px -10px 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink-2, #6b7690);
  font-style: italic;
}
.mw-toc-locked .mw-toc-num { color: var(--ink-2, #6b7690); }

@media (max-width: 900px) {
  .mw-toc {
    position: static;
    max-height: none;
    margin-bottom: 24px;
  }
  .mw-toc-inner { padding: 16px; }
}

/* Article: Kapitel */
.mw-chapters {
  max-width: 720px;
  width: 100%;
  margin: 0;
}
.mw-chapter {
  padding: clamp(28px, 4vh, 48px) 0 clamp(40px, 6vh, 72px);
  border-bottom: 1px solid var(--line-2);
  scroll-margin-top: 100px;
}
.mw-chapter:last-of-type { border-bottom: 0; }
.mw-chapter h2 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink, #0a192f);
  margin: 10px 0 24px;
}
.mw-chapter .chapter-tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin: 0 0 12px;
}
.mw-chapter .chapter-tag.alt { color: #dc2626; }

/* Longform body */
.mw-body {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--ink-2, #2a3648);
}
.mw-body p { margin: 0 0 20px; }
.mw-body p.dropcap::first-letter {
  float: left;
  font-family: var(--serif, Georgia, serif);
  font-size: 3.6rem;
  line-height: 0.9;
  padding: 6px 12px 0 0;
  color: var(--sage);
  font-weight: 700;
}
.mw-body em { font-style: italic; color: var(--ink, #0a192f); }
.mw-body strong, .mw-body b { color: var(--ink, #0a192f); font-weight: 600; }

.mw-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--sage);
  background: linear-gradient(90deg, rgba(0, 77, 64, 0.06), transparent);
  font-family: var(--serif, Georgia, serif);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink, #0a192f);
  font-style: italic;
  border-radius: 0 10px 10px 0;
}

.mw-body ul.mw-list,
.mw-body ol.mw-list {
  margin: 8px 0 24px;
  padding: 0 0 0 22px;
}
.mw-body .mw-list li { margin: 0 0 10px; }
.mw-body .mw-list li b { color: var(--sage); }

.mw-note {
  margin: 28px 0;
  padding: 18px 22px;
  background: linear-gradient(135deg, #eaf5f3 0%, #f0faf8 100%);
  border: 1px solid rgba(0, 77, 64, 0.18);
  border-radius: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2, #34435a);
}
.mw-note b { color: var(--sage); }

/* Locked-Content Teaser: Baustein-Protokolle sind kostenpflichtig */
.locked-teaser { border-bottom: 0 !important; }
.locked-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0 28px;
  border-radius: var(--r-lg, 20px);
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.locked-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: #f6f9f8;
}
.locked-item + .locked-item { border-top: 1px solid var(--line-2); }
.locked-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 77, 64, 0.08);
  color: var(--sage);
}
.locked-item h4.locked-item h4,
.locked-item h4 {
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 600;
  color: var(--ink, #0a192f);
  margin: 0 0 4px;
}
.locked-item p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2, #4a5670);
  margin: 0;
}
.paywall-box {
  padding: 28px 26px;
  border-radius: var(--r-lg, 20px);
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(0, 242, 254, 0.10), transparent 60%),
    linear-gradient(180deg, #0a192f 0%, #050b1f 100%);
  color: #eaf2ff;
  text-align: center;
}
.paywall-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cad6ec;
  margin: 0 0 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.paywall-box .btn-primary {
  background: var(--mint);
  color: var(--bg-forest);
}
.paywall-box .btn-primary:hover {
  background: #eaf2ff;
  color: var(--bg-forest);
}

/* Outro / CTA am Ende von Kapitel 14 */
.mw-outro {
  margin-top: 40px;
  padding: 32px 28px;
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(0, 242, 254, 0.14), transparent 60%),
    linear-gradient(180deg, #0a192f 0%, #050b1f 100%);
  border-radius: 20px;
  color: #eaf2ff;
  box-shadow: 0 30px 60px -40px rgba(10, 25, 47, 0.35);
}
.mw-outro-lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cad6ec;
  margin: 0 0 24px;
}
.mw-outro-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.mw-outro-cta .btn-ghost {
  color: #eaf2ff;
  border-color: rgba(255,255,255,0.25);
}
.mw-outro-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* Back-to-top */
.mw-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.94);
  color: var(--sage);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
  box-shadow: 0 12px 30px -12px rgba(10, 25, 47, 0.25);
  z-index: 50;
}
.mw-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mw-top:hover {
  background: var(--sage);
  color: #fff;
}

/* Currently reading — Body-Klasse dämpft Landing-Elemente falls je gemischt */
.page-reader .hero,
.page-reader .marquee { display: none; }

/* Auth-Seiten (Registrieren / Login) */
.auth-shell {
  padding: clamp(40px, 6vh, 80px) 0 clamp(80px, 10vh, 140px);
}
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg, 20px);
  box-shadow: 0 30px 80px -40px rgba(10, 25, 47, 0.18);
}
.auth-field {
  display: block;
  margin: 0 0 18px;
}
.auth-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink, #0a192f);
  margin: 0 0 8px;
}
.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink, #0a192f);
  background: #f9fafb;
  transition: border-color .15s ease, background .15s ease;
}
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: #fff;
}
.auth-field textarea { resize: vertical; }

.diary-meal-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.diary-meal-row input[type="text"],
.diary-meal-row select {
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  background: #f9fafb;
}
.diary-meal-remove {
  background: transparent;
  border: none;
  color: var(--ink-2, #4a5670);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 6px;
}
.diary-meal-remove:hover { color: #b23b3b; }

.diary-wound-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 10px 12px;
}
.diary-wound-item label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink, #0a192f);
}
.diary-wound-item select {
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 0.88rem;
  background: #f9fafb;
}

.diary-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.diary-card-date {
  font-weight: 700;
  color: var(--ink, #0a192f);
  margin-bottom: 6px;
}
.diary-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.85rem;
  color: var(--ink-2, #4a5670);
  margin-bottom: 6px;
}
.diary-card-tag {
  display: inline-block;
  background: var(--bg-soft, #f4f6f5);
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 0.78rem;
  color: var(--ink-2, #4a5670);
}
.diary-card-tag.trigger {
  background: #fbe9e9;
  color: #a83b3b;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg, 20px);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pricing-card.featured {
  border-color: var(--sage, #3d5940);
  box-shadow: 0 24px 60px -30px rgba(10, 25, 47, 0.25);
  transform: translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--sage, #3d5940);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 4px 12px;
  border-radius: 99px;
}
.pricing-name {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink, #0a192f);
  margin: 6px 0 2px;
}
.pricing-price {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink, #0a192f);
  margin: 0;
}
.pricing-sub {
  font-size: 0.82rem;
  color: var(--ink-2, #4a5670);
  margin: 0 0 18px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--ink-2, #4a5670);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage, #3d5940);
  font-weight: 700;
}
.pricing-btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Dashboard (Bereich) ──────────────────────────────────── */
.dashboard-shell {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.dashboard-sidebar {
  flex: 0 0 220px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2, #4a5670);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .15s ease, color .15s ease;
}
.dashboard-nav-item:hover { background: var(--bg-soft, #f1f5f9); color: var(--ink, #1e293b); }
.dashboard-nav-item.active { background: var(--sage, #004d40); color: #fff; }
.dashboard-nav-item .dash-icon { flex: 0 0 18px; display: flex; }
.dashboard-nav-item .dash-icon svg { width: 18px; height: 18px; }

.dashboard-content { flex: 1 1 auto; min-width: 0; }
.dashboard-panel {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg, 20px);
  padding: clamp(24px, 3.5vw, 36px);
}
.dashboard-panel + .dashboard-panel { margin-top: 20px; }
.dashboard-panel-title {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink, #1e293b);
  margin: 0 0 6px;
}
.dashboard-panel-sub {
  color: var(--ink-2, #4a5670);
  font-size: 0.92rem;
  margin: 0 0 22px;
  line-height: 1.55;
}
.dashboard-section { display: none; }
.dashboard-section.active { display: block; }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.overview-card {
  background: var(--bg-soft, #f1f5f9);
  border-radius: 16px;
  padding: 20px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}
.overview-card:hover { border-color: var(--line-2); background: #fff; }
.overview-card-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3, #64748b);
  margin: 0 0 8px;
}
.overview-card-value {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink, #1e293b);
  margin: 0;
}

.abo-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 8px;
}
.abo-history-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-3, #64748b);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-2);
}
.abo-history-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2, #4a5670);
}
.abo-status-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 600;
}
.abo-status-pill.paid { background: #e8f3ea; color: #2f5233; }
.abo-status-pill.pending { background: #fdf3e0; color: #92640d; }
.abo-status-pill.failed { background: #fbe9e9; color: #a83b3b; }

.recipe-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.recipe-filter-btn {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2, #4a5670);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.recipe-filter-btn:hover { border-color: var(--sage, #004d40); }
.recipe-filter-btn.active { background: var(--sage, #004d40); border-color: var(--sage, #004d40); color: #fff; }

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.recipe-card {
  background: var(--bg-soft, #f1f5f9);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.recipe-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.recipe-card-title {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink, #1e293b);
  margin: 0;
  line-height: 1.3;
}
.recipe-fav-btn {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px;
  color: var(--ink-4, #94a3b8);
}
.recipe-fav-btn.active { color: #d4a017; }
.recipe-card-desc { color: var(--ink-2, #4a5670); font-size: 0.86rem; line-height: 1.5; margin: 6px 0 10px; }
.recipe-card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.recipe-phase-tag {
  display: inline-block;
  background: #fff;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--sage, #004d40);
}
.recipe-time-tag { font-size: 0.78rem; color: var(--ink-3, #64748b); align-self: center; }
.recipe-toggle-btn {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--sage, #004d40);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.recipe-detail { display: none; margin-top: 10px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.recipe-detail.open { display: block; }
.recipe-detail h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3, #64748b); margin: 10px 0 6px; }
.recipe-detail h5:first-child { margin-top: 0; }
.recipe-detail ul, .recipe-detail ol { margin: 0; padding-left: 20px; color: var(--ink-2, #4a5670); font-size: 0.86rem; line-height: 1.6; }

@media (max-width: 860px) {
  .dashboard-shell { flex-direction: column; }
  .dashboard-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    gap: 8px;
    padding-bottom: 4px;
  }
  .dashboard-nav-item { flex: 0 0 auto; white-space: nowrap; }
}
.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--ink-2, #6b7690);
  font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.auth-google {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink, #0a192f);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-google:hover { border-color: var(--sage); box-shadow: 0 8px 20px -12px rgba(10,25,47,0.2); }
.auth-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--ink-2, #4a5670);
}
.auth-switch a { color: var(--sage); font-weight: 600; }
.auth-success {
  text-align: center;
  padding: 8px 0;
}
.auth-success .locked-icon {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
}
.auth-success h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink, #0a192f);
  margin: 0 0 10px;
}
.auth-success p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2, #4a5670);
  margin: 0;
}
.auth-error {
  display: none;
  background: #fdecec;
  border: 1px solid #f3c2c2;
  color: #9a2c2c;
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 12px;
  margin: 0 0 18px;
}
.auth-error.show { display: block; }
.auth-submit[disabled] { opacity: 0.6; cursor: not-allowed; }
.auth-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-2, #6b7690);
  margin: 18px auto 0;
  max-width: 400px;
}
