/* ==========================================================================
   Menophorie – Stylesheet (mobile-first)
   ========================================================================== */

:root {
  --brand:        #b8397e;   /* vibrantes Magenta-Pink */
  --brand-dark:   #7d2f63;
  --lavender:     #b07ba6;   /* Section „Beispiele“ */
  --text:         #3a3540;
  --muted:        #6b6472;
  --footer-bg:    #4a464d;
  --content-w:    640px;
  --radius:       12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, iframe { max-width: 100%; }
img { height: auto; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: var(--content-w); }

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px; top: 0;
  background: var(--brand-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Kopfleiste (nur Unterseiten – Startseite blendet sie aus)
   -------------------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid #eee;
  background: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Seitenkopf der Unterseiten (einheitlicher Marken-Look)
   -------------------------------------------------------------------------- */
.page-header {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.page-header h1 {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
}
.page-header .lead {
  color: rgba(255,255,255,0.9);
  margin: 0.6rem auto 0;
}

/* --------------------------------------------------------------------------
   Section-Grundlagen
   -------------------------------------------------------------------------- */
.section { padding: 3rem 0; }
.section h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.4rem;
  color: var(--brand-dark);
}
.section h2:first-child { margin-top: 0; }
.section p { margin: 0 0 1rem; }

.section--light   { background: #fff; }
.section--lavender {
  background: var(--lavender);
  color: #fff;
}
.section--lavender h2 { color: #4b2444; }
.section--lavender a  { color: #fff; }

/* --------------------------------------------------------------------------
   Section 1 – Hero / Definition
   -------------------------------------------------------------------------- */
.hero-def {
  background-image:
    linear-gradient(180deg, rgba(170,45,118,0.78), rgba(150,52,116,0.86)),
    url("../images/hero-menopause-800.webp");
  background-size: cover;
  background-position: 28% center;
}
.hero-def__overlay { padding: 3.5rem 0 4rem; }

.def-word {
  margin: 0;
  text-align: center;
  color: #fff;
  font-weight: 400;
  font-size: clamp(2rem, 8vw, 3.25rem);
  letter-spacing: 0.02em;
}
.def-ipa,
.def-pos {
  text-align: center;
  color: rgba(255,255,255,0.92);
  margin: 0.25rem 0 0;
}
.def-pos { margin-bottom: 1.75rem; }

.def-label {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}
.def-list {
  color: #fff;
  margin: 0;
  padding-left: 1.4rem;
}
.def-list li { margin-bottom: 0.9rem; }

/* --------------------------------------------------------------------------
   Section 3 – Beispiele
   -------------------------------------------------------------------------- */
.examples {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.examples li {
  margin-bottom: 0.75rem;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Section 4 – Anmerkung (Bildhintergrund)
   -------------------------------------------------------------------------- */
.section-note {
  background-image:
    linear-gradient(180deg, rgba(180,70,132,0.80), rgba(150,58,118,0.84)),
    url("../images/anmerkung-signpost-800.webp");
  background-size: cover;
  background-position: 32% center;
}
.section-note__overlay { padding: 3rem 0; color: #fff; }
.section-note h2 { color: #fff; }

/* --------------------------------------------------------------------------
   Section 5 – Ausblick & Anmeldung
   -------------------------------------------------------------------------- */
.section--outlook {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 35%, #f6d3e6 100%);
  padding: 3rem 0 4rem;
}
.outlook-spoiler {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.section--outlook a {
  color: var(--brand);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Autorin (Über-Seite)
   -------------------------------------------------------------------------- */
.author { display: grid; gap: 1.5rem; align-items: start; }
.author__photo {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.author__text h2 { margin-top: 0; }

/* --------------------------------------------------------------------------
   Kontakt / Riddle-Embed
   -------------------------------------------------------------------------- */
.riddle2-wrapper { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Legal / Impressum
   -------------------------------------------------------------------------- */
.legal { max-width: 44rem; }
.legal h1 { color: var(--brand-dark); }
.legal h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.25rem;
  color: var(--brand);
}
.legal p { margin-top: 0; }
.legal a { color: var(--brand-dark); }

/* Generischer Hero-Rest (Unterseiten) */
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--brand-dark); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}
.site-footer__nav a { font-weight: 600; }
.site-footer__meta {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Desktop-Verfeinerungen
   ========================================================================== */
@media (min-width: 800px) {
  .section { padding: 4.5rem 0; }
  .section h2 { font-size: 1.35rem; }

  .hero-def {
    background-image:
      linear-gradient(180deg, rgba(170,45,118,0.78), rgba(150,52,116,0.86)),
      url("../images/hero-menopause-1600.webp");
    background-position: center;
  }
  .hero-def__overlay { padding: 5.5rem 0 6rem; }

  .section-note {
    background-image:
      linear-gradient(180deg, rgba(180,70,132,0.80), rgba(150,58,118,0.84)),
      url("../images/anmerkung-signpost-1600.webp");
    background-position: center;
  }
  .section-note__overlay { padding: 5rem 0; }

  /* Autorin nebeneinander */
  .author { grid-template-columns: 260px 1fr; gap: 2.5rem; }
  .author__photo { max-width: 100%; }
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
