/* ==========================================================================
   Mommyluck – zentrales Stylesheet
   Design-System: editorial, ruhig, hochwertig
   ========================================================================== */

:root {
  --waldgruen: #2C3B2E;
  --waldgruen-hell: #3F5442;
  --elfenbein: #F7F3EC;
  --elfenbein-dunkel: #EFE8DB;
  --altrosa: #C99A8E;
  --gold: #B08D57;
  --anthrazit: #26241F;
  --anthrazit-soft: #55534A;
  --weiss: #FFFFFF;

  --font-serif: 'Fraunces', serif;
  --font-sans: 'Inter', sans-serif;

  --max-width: 1200px;
  --radius: 2px;
}

/* --------------------------------------------------------------------
   Reset & Grundlagen
   -------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--elfenbein);
  color: var(--anthrazit);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--waldgruen);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 1.2em;
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--waldgruen);
  color: var(--elfenbein);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--waldgruen);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--waldgruen-hell);
  border-color: var(--waldgruen-hell);
}

.btn-outline {
  background: transparent;
  color: var(--waldgruen);
}

.btn-outline:hover {
  background: var(--waldgruen);
  color: var(--elfenbein);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6em;
}

/* --------------------------------------------------------------------
   Header
   -------------------------------------------------------------------- */
.site-header {
  background: var(--elfenbein);
  border-bottom: 1px solid var(--elfenbein-dunkel);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--waldgruen);
  letter-spacing: 0.01em;
}

.logo span {
  color: var(--altrosa);
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--anthrazit);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--waldgruen);
  margin: 5px 0;
}

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.hero {
  background: var(--elfenbein);
  padding: 64px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--anthrazit-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-art {
  background: linear-gradient(155deg, var(--altrosa) 0%, var(--elfenbein-dunkel) 65%);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(38, 36, 31, 0.08);
}

/* --------------------------------------------------------------------
   Section head, pills, grid, cards
   -------------------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin-bottom: 0.2em;
}

.pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.pill {
  display: inline-block;
  padding: 7px 16px;
  background: var(--elfenbein-dunkel);
  color: var(--waldgruen);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
}

.pill.is-active {
  background: var(--waldgruen);
  color: var(--elfenbein);
}

section {
  padding: 72px 0;
}

section.alt {
  background: var(--elfenbein-dunkel);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--weiss);
  border: 1px solid var(--elfenbein-dunkel);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(38, 36, 31, 0.08);
}

.card-img {
  aspect-ratio: 4 / 3;
  background: var(--elfenbein-dunkel);
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-bottom: 0.4em;
}

.card-body p {
  color: var(--anthrazit-soft);
  font-size: 0.95rem;
  flex: 1;
}

.card-meta {
  font-size: 0.78rem;
  color: var(--anthrazit-soft);
  letter-spacing: 0.02em;
  margin-top: 12px;
}

/* --------------------------------------------------------------------
   CTA-Band (Newsletter)
   -------------------------------------------------------------------- */
.cta-band {
  background: var(--waldgruen);
  color: var(--elfenbein);
  text-align: center;
}

.cta-band h2 {
  color: var(--elfenbein);
}

.cta-band p {
  color: rgba(247, 243, 236, 0.8);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 28px auto 0;
  flex-wrap: wrap;
}

.cta-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid rgba(247, 243, 236, 0.4);
  background: rgba(247, 243, 236, 0.08);
  color: var(--elfenbein);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.cta-form input[type="email"]::placeholder {
  color: rgba(247, 243, 236, 0.55);
}

.cta-form .btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--waldgruen);
}

.cta-form .btn:hover {
  background: var(--elfenbein);
  border-color: var(--elfenbein);
}

.cta-note {
  font-size: 0.78rem;
  color: rgba(247, 243, 236, 0.6);
  margin-top: 14px;
}

/* --------------------------------------------------------------------
   Artikel
   -------------------------------------------------------------------- */
.article-hero {
  padding: 48px 0 0;
}

.article-hero .eyebrow {
  color: var(--gold);
}

.article-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--anthrazit-soft);
  font-size: 0.88rem;
  margin: 18px 0 32px;
}

.article-meta span::before {
  content: "·";
  margin-right: 18px;
  color: var(--altrosa);
}

.article-meta span:first-child::before {
  content: none;
  margin-right: 0;
}

.article-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(155deg, var(--altrosa) 0%, var(--elfenbein-dunkel) 70%);
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 64px;
  font-size: 1.08rem;
  color: var(--anthrazit);
}

.article-body h2 {
  margin-top: 1.8em;
}

.article-body h3 {
  margin-top: 1.5em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--waldgruen);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 26px;
  margin: 2.4em 0;
  line-height: 1.5;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--anthrazit-soft);
  margin-top: 10px;
}

.disclosure {
  background: var(--elfenbein-dunkel);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--anthrazit-soft);
  margin: 0 0 2em;
  border-radius: var(--radius);
}

.disclosure strong {
  color: var(--waldgruen);
}

.affiliate-box {
  background: var(--weiss);
  border: 1px solid var(--elfenbein-dunkel);
  border-radius: var(--radius);
  padding: 24px;
  margin: 2em 0;
}

.affiliate-box h3 {
  margin-bottom: 1em;
}

.product-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--elfenbein-dunkel);
}

.product-row:first-of-type {
  border-top: none;
}

.product-img {
  width: 96px;
  height: 96px;
  background: var(--elfenbein-dunkel);
  border-radius: var(--radius);
}

.product-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-info h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.product-info p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--anthrazit-soft);
}

.product-price {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--waldgruen);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.product-cta {
  display: inline-block;
  padding: 9px 18px;
  background: var(--waldgruen);
  color: var(--elfenbein);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
}

.product-cta:hover {
  background: var(--waldgruen-hell);
}

.product-cta-wrap {
  text-align: right;
}

.affiliate-note {
  display: block;
  font-size: 0.72rem;
  color: var(--anthrazit-soft);
  margin-top: 6px;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.92rem;
}

table.compare th,
table.compare td {
  padding: 12px 16px;
  border: 1px solid var(--elfenbein-dunkel);
  text-align: left;
}

table.compare thead th {
  background: var(--waldgruen);
  color: var(--elfenbein);
  font-family: var(--font-sans);
  font-weight: 600;
}

table.compare tbody tr:nth-child(even) {
  background: var(--elfenbein-dunkel);
}

.share-pin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--altrosa);
  color: var(--waldgruen);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  margin: 2.5em 0 1em;
}

.share-pin:hover {
  background: var(--gold);
  color: var(--elfenbein);
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
footer {
  background: var(--waldgruen);
  color: rgba(247, 243, 236, 0.75);
  padding: 64px 0 32px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-grid h4 {
  color: var(--elfenbein);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1em;
}

.footer-grid .logo {
  color: var(--elfenbein);
  margin-bottom: 12px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: var(--elfenbein);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 236, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.55);
}

/* --------------------------------------------------------------------
   Statische Seiten (Über uns, Impressum, Datenschutz)
   -------------------------------------------------------------------- */
.page-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--elfenbein-dunkel);
}

.page-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.page-body h2 {
  margin-top: 1.6em;
}

.page-body p,
.page-body li {
  color: var(--anthrazit-soft);
}

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 48px 0;
  }

  .product-row {
    grid-template-columns: 72px 1fr;
  }

  .product-cta-wrap {
    grid-column: 1 / -1;
    text-align: left;
  }

  .cta-form {
    flex-direction: column;
  }

  table.compare {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
