/* ==========================================================================
   Leuchtturmfrauen — Brand Stylesheet
   Konsolidiert aus DESIGN.md (Stella, 2026-04-27) + Homepage-Live-Tokens.
   Mobile-First. Keine !important wo nicht zwingend nötig.
   ========================================================================== */

/* ---- Tokens ---------------------------------------------------------- */
:root {
  /* Lavendel/Purple */
  --c-purple: #9b7fb8;
  --c-purple-dark: #7a5d9a;
  --c-lavender: #c5abe7;
  --c-lavender-soft: #e2d4ef;
  --c-lavender-light: #eedcf3;

  /* Gold/Amber für Artikel-Cards */
  --c-gold-light: #f7e4c3;
  --c-gold: #f0c75e;
  --c-gold-dark: #d4a017;
  --c-gold-badge-text: #b4780a;
  --c-gold-badge-bg: #fef3dc;
  --c-gold-line: #e8c86a;

  /* Neutrals */
  --c-bg: #ffffff;
  --c-bg-cream: #fffdfd;
  --c-text: #0e0c19;
  --c-text-dark: #2c1810;
  --c-text-on-dark: #ffffff;
  --c-text-muted: #645972;

  /* Schatten */
  --shadow-card: 0 12px 60px rgba(160, 100, 10, 0.22);
  --shadow-soft: 0 4px 20px rgba(155, 127, 184, 0.15);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-section: 'Playfair Display SC', 'Playfair Display', Georgia, serif;
  --font-body: 'Barlow', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-article: Georgia, 'Times New Roman', serif;

  /* Layout */
  --max-width: 1080px;
  --gutter: 24px;
  --section-py: 80px;
}

/* ---- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-purple); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-purple-dark); }

/* ---- Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-py) 0; }
.section--lavender { background: var(--c-lavender-light); }
.section--lavender-soft { background: var(--c-lavender-soft); }
.section--cream { background: var(--c-bg-cream); }
.section--purple { background: var(--c-purple); color: var(--c-text-on-dark); }
.section--gold {
  background: linear-gradient(160deg, var(--c-gold-light) 0%, var(--c-gold) 55%, var(--c-gold-dark) 100%);
}

/* ---- Typography ------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-section); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--c-text-dark); }
h1 { font-size: clamp(36px, 6vw, 64px); font-family: var(--font-heading); text-transform: capitalize; }
h2 { font-size: clamp(28px, 4.2vw, 42px); text-align: center; }
h3 { font-size: clamp(22px, 2.8vw, 28px); font-family: var(--font-heading); color: var(--c-purple); }
h4 { font-size: clamp(18px, 2.2vw, 22px); }

.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text-on-dark);
  margin: 0 0 12px;
}
.eyebrow--dark { color: var(--c-gold-badge-text); }

p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; max-width: 720px; margin: 0 auto 1.2em; }

/* ---- Header / Navigation --------------------------------------------- */
.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(155, 127, 184, 0.12);
  z-index: 100;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--max-width); margin: 0 auto;
}
.site-logo {
  font-family: var(--font-section);
  font-size: 22px;
  color: var(--c-purple);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-nav {
  display: flex; gap: 28px; align-items: center;
  font-size: 15px; font-weight: 500;
}
.site-nav a {
  color: var(--c-text-dark);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--c-purple); border-bottom-color: var(--c-purple); }
.site-nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }

/* ---- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--c-lavender-light) center/cover no-repeat;
  min-height: 78vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 80px;
  text-align: center;
  color: var(--c-text-on-dark);
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 8vw, 84px);
  text-shadow: 0 0 18px rgba(0,0,0,0.5);
  color: var(--c-text-on-dark);
  margin: 0 0 20px;
}
.hero__lead { font-size: clamp(15px, 1.7vw, 18px); max-width: 640px; margin: 0 auto; }

/* ---- Topic Boxes (Kategorien) ---------------------------------------- */
.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.topic {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--c-lavender-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.topic--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: 2 / 2; }
.topic img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.topic:hover img { transform: scale(1.04); }
.topic__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  color: var(--c-text-on-dark);
}
.topic__title {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---- Featured (Leuchtturmfrau des Monats) --------------------------- */
.featured {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter);
}
.featured img { border-radius: 6px; box-shadow: var(--shadow-soft); }
.featured__body h2 { text-align: left; }

/* ---- Article-Card (Gold/Amber für Posts) ----------------------------- */
.article {
  background: linear-gradient(160deg, var(--c-gold-light) 0%, var(--c-gold) 55%, var(--c-gold-dark) 100%);
  min-height: 100vh;
  padding: 80px var(--gutter) 60px;
}
.article__card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,0.94);
  border-radius: 16px;
  padding: 64px 56px;
  box-shadow: var(--shadow-card);
}
.article__category {
  display: inline-block;
  background: var(--c-gold-badge-bg);
  color: var(--c-gold-badge-text);
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.article__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--c-text-dark);
  line-height: 1.18;
  margin: 0 0 16px;
  text-align: left;
}
.article__meta {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 32px;
  border-bottom: 2px solid var(--c-gold-line);
  padding-bottom: 20px;
}
.article__body {
  font-family: var(--font-article);
  font-size: 18px; line-height: 1.85;
  color: var(--c-text-dark);
}
.article__body p { margin-bottom: 1.2em; }
.article__body h2, .article__body h3 {
  text-align: left;
  font-family: var(--font-heading);
  margin-top: 1.6em;
}

/* ---- Article-List (Kolumne, Blog, Kategorie-Listings) --------------- */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter);
}
.article-card {
  display: block;
  background: var(--c-bg);
  border: 1px solid rgba(155, 127, 184, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.article-card__image { aspect-ratio: 16 / 10; background: var(--c-lavender-soft); }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: 24px; }
.article-card__category {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-gold-badge-text);
  margin-bottom: 8px;
}
.article-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
  color: var(--c-text-dark);
  margin: 0 0 12px;
}
.article-card__excerpt { font-size: 15px; color: var(--c-text-muted); }

/* ---- Article-List Empty State -------------------------------------- */
.empty-state {
  text-align: center;
  padding: 80px var(--gutter);
  color: var(--c-text-muted);
  max-width: 540px; margin: 0 auto;
}
.empty-state__title { font-family: var(--font-heading); font-size: 24px; color: var(--c-purple); margin-bottom: 12px; }

/* ---- Social row ------------------------------------------------------ */
.social {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  max-width: var(--max-width); margin: 32px auto 0; padding: 0 var(--gutter);
}
.social a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--c-purple); padding: 16px;
  border-radius: 8px;
  min-width: 140px;
  text-align: center;
  transition: background .2s ease;
}
.social a:hover { background: var(--c-lavender-soft); }
.social svg { width: 32px; height: 32px; fill: currentColor; }
.social span { font-size: 14px; font-weight: 500; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--c-purple); color: var(--c-text-on-dark);
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
  border: 0; cursor: pointer;
}
.btn:hover { background: var(--c-purple-dark); transform: translateY(-1px); color: var(--c-text-on-dark); }
.btn--ghost {
  background: transparent;
  color: var(--c-purple);
  border: 2px solid var(--c-purple);
}
.btn--ghost:hover { background: var(--c-purple); color: var(--c-text-on-dark); }
.btn--gold { background: var(--c-gold-dark); }
.btn--gold:hover { background: var(--c-gold-badge-text); }

/* ---- Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--c-purple);
  color: var(--c-text-on-dark);
  padding: 48px var(--gutter) 32px;
  margin-top: 64px;
}
.site-footer__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4 { color: var(--c-text-on-dark); font-family: var(--font-heading); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--c-lavender); }
.site-footer a:hover { color: var(--c-text-on-dark); }
.site-footer__bottom {
  max-width: var(--max-width); margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--c-lavender);
}

/* ---- Contact form ---------------------------------------------------- */
.contact-form { max-width: 540px; margin: 0 auto; }
.contact-form label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px;
  color: var(--c-text-dark);
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid rgba(155,127,184,0.3);
  border-radius: 8px;
  font: inherit; color: var(--c-text);
  background: var(--c-bg);
  margin-bottom: 18px;
  transition: border-color .18s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--c-purple);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form__honeypot { position: absolute; left: -10000px; }

/* ---- Mobile (hier wurde Stella 14 Tage lang gequält — einmal sauber) -- */
@media (max-width: 767px) {
  :root { --section-py: 56px; --gutter: 18px; }

  body { font-size: 16px; }

  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid rgba(155,127,184,0.15);
    padding: 8px 0;
  }
  .site-nav.is-open a { padding: 14px var(--gutter); border-bottom: 0; }
  .site-nav__toggle { display: block; }

  .hero { min-height: 60vh; padding: 96px var(--gutter) 56px; }
  .hero h1 { font-size: clamp(32px, 9vw, 48px); line-height: 1.1; }

  /* Topic-Boxes — Stellas Hauptproblem: hier 2 columns mit kleinerem text */
  .topics { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .topic--wide { grid-column: span 2; grid-row: auto; aspect-ratio: 2 / 1; }
  .topic__title { font-size: 13px; font-weight: 500; }
  .topic__overlay { padding: 12px; }

  .featured { grid-template-columns: 1fr; gap: 24px; }
  .featured__body h2 { text-align: center; }

  .article { padding: 56px 14px 40px; }
  .article__card { padding: 40px 24px; border-radius: 12px; }
  .article__title { font-size: 28px; }
  .article__body { font-size: 17px; }

  .article-list { grid-template-columns: 1fr; gap: 20px; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- Tablet ---------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .topics { grid-template-columns: repeat(3, 1fr); }
}
