/*
 Theme Name:   Mensch Muddi Child
 Theme URI:    https://menschmuddi.de
 Description:  Child-Theme für Kadence – Mensch Muddi Design-System
 Author:       Inga Wiegert
 Author URI:   https://menschmuddi.de
 Template:     kadence
 Version:      1.0.0
 Text Domain:  menschmuddi
*/

/* ── DESIGN-SYSTEM: CSS-Variablen & Styles ── */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --cream: #FFFDF7;
  --amber: #F4A135;
  --amber-dark: #D98A1A;
  --petrol: #345e7d;
  --petrol-dark: #2a4d68;
  --green: #4CAF7D;
  --text: #1C1C1E;
  --muted: #666;
  --panel: #FFF4E0;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(244,161,53,0.18);
  --max: 900px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 660px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(244,161,53,0.32); background: var(--amber-dark); }
.btn:active { transform: translateY(0); }

.btn--full { width: 100%; display: block; }

.btn--ghost {
  background: transparent;
  color: var(--petrol);
  border: 2px solid var(--petrol);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--petrol); color: #fff; box-shadow: none; }

.btn--white {
  background: #fff;
  color: var(--amber);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.btn--white:hover { background: var(--panel); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }

/* ── EYEBROW ── */
.eyebrow {
  display: inline-block;
  background: var(--panel);
  color: var(--amber);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.eyebrow--solid {
  background: var(--amber);
  color: #fff;
}

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 24px;
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--petrol);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav__links a:hover { color: var(--text); background: var(--panel); }
.nav__links a.active { color: var(--amber); }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  gap: 4px;
}
.nav__mobile a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: color 0.15s;
}
.nav__mobile a:hover, .nav__mobile a.active { color: var(--amber); }
.nav__mobile.open { display: flex; }

@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ── FOOTER ── */
.footer {
  background: #1C1C1E;
  color: #888;
  text-align: center;
  padding: 36px 24px;
  font-size: 0.84rem;
  line-height: 2;
}
.footer a { color: #bbb; text-decoration: none; margin: 0 8px; }
.footer a:hover { color: var(--amber); }

/* ── SECTIONS ── */
.section { padding: 80px 24px; }
.section--panel { background: var(--panel); }
.section--forest { background: var(--petrol); color: #fff; }
.section--center { text-align: center; }

.section__title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.section--forest .section__sub { color: rgba(255,255,255,0.75); }

/* ── HERO ── */
.hero {
  padding: 0 0 64px;
}

.hero__comic {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 420px;
  margin: 0;
  padding: 0;
  object-fit: contain;
}

@media (max-width: 600px) {
  .hero__comic { max-height: 240px; margin-top: 16px; }
}

.hero__text {
  text-align: center;
  padding: 28px 24px 0;
  max-width: 680px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}

.hero__title span { color: var(--amber); }

.hero__tagline {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--petrol);
  margin-bottom: 24px;
}

.hero__fine {
  font-size: 0.82rem;
  color: #aaa;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .hero { padding-bottom: 48px; }
  .hero__text { padding-top: 40px; }
}

/* ── PAIN SCENES ── */
.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
}

.pain-list li {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 1rem;
  color: #444;
  line-height: 1.65;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-left: 4px solid var(--amber);
}

.pain-close {
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── WENDEPUNKT ── */
.wendepunkt p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 620px;
  line-height: 1.8;
}
.wendepunkt p:last-child { margin-bottom: 0; }
.wendepunkt p strong { color: var(--text); font-weight: 600; }

/* ── ÜBER INGA (kurz) ── */
.inga-mini {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 680px;
  margin: 0 auto;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #E8DDD0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  color: #999;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.avatar--sm { width: 120px; height: 120px; }
.avatar--lg { width: 180px; height: 180px; margin: 0 auto 28px; }

.inga-mini__text p { font-size: 1rem; color: var(--muted); margin-bottom: 16px; line-height: 1.7; }
.inga-mini__text a { color: var(--amber); font-weight: 600; text-decoration: none; }
.inga-mini__text a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .inga-mini { flex-direction: column; text-align: center; }
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--amber);
}
.card:nth-child(2) .card__accent { background: var(--green); }
.card:nth-child(3) .card__accent { background: var(--petrol); }

.card__badge {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.card:nth-child(2) .card__badge { color: var(--green); }
.card:nth-child(3) .card__badge { color: var(--petrol); }

.card h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.card p { font-size: 0.93rem; color: var(--muted); line-height: 1.6; flex: 1; }

/* ── PODCAST TEASER ── */
.podcast-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  max-width: 680px;
  margin: 0 auto;
}

.podcast-box__icon { font-size: 2.4rem; flex-shrink: 0; }
.podcast-box__text h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.podcast-box__text p { font-size: 0.92rem; color: var(--muted); margin-bottom: 10px; }
.podcast-box__text a { color: var(--amber); font-weight: 700; text-decoration: none; font-family: 'Nunito', sans-serif; }
.podcast-box__text a:hover { text-decoration: underline; }

@media (max-width: 500px) {
  .podcast-box { flex-direction: column; text-align: center; }
}

/* ── FORM ── */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-stack input,
.form-stack textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #E0D8CE;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  resize: none;
}
.form-stack textarea {
  border-radius: 16px;
  min-height: 140px;
}
.form-stack input::placeholder,
.form-stack textarea::placeholder { color: #bbb; }
.form-stack input:focus,
.form-stack textarea:focus { border-color: var(--amber); }

.fine-print { font-size: 0.8rem; color: #aaa; margin-top: 8px; }

/* ── THANK YOU ── */
.thank-you {
  display: none;
  text-align: center;
  padding: 8px 0;
}
.thank-you .ty-icon { font-size: 2.8rem; display: block; margin-bottom: 12px; }
.thank-you h3 { font-size: 1.3rem; font-weight: 800; color: var(--petrol); margin-bottom: 8px; }
.thank-you p { font-size: 0.95rem; color: var(--muted); }

/* ── FREEBIE BOX ── */
.freebie-box {
  background: var(--panel);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  max-width: 560px;
  margin: 0 auto;
}
.freebie-box h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 900; margin-bottom: 12px; line-height: 1.2; }
.freebie-box .sub { font-size: 1rem; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }

/* ── EPISODE CARD ── */
.episode-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.episode-card__num {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--panel);
  flex-shrink: 0;
  line-height: 1;
}
.episode-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.episode-card p { font-size: 0.88rem; color: var(--muted); }

/* ── PODCAST PLATFORMS ── */
.platform-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.platform-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 50px;
  padding: 10px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.15s, box-shadow 0.15s;
}
.platform-links a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

/* ── MODULE LIST ── */
.module-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.module-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 0.97rem;
}
.module-list li .num {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--amber);
  flex-shrink: 0;
  min-width: 28px;
}

/* ── CREDENTIALS ── */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.credentials span {
  background: var(--panel);
  color: var(--petrol);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── IMPRESSUM / DATENSCHUTZ Prose-Styles ── */
.section .container--narrow h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--text);
}
.section .container--narrow p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}
.section .container--narrow a { color: var(--amber); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .section { padding: 56px 24px; }
  .hero { padding: 64px 24px 56px; }
  .freebie-box { padding: 32px 22px; }
  .card-grid { grid-template-columns: 1fr; }
}
