/*
Theme Name: WirMamas
Theme URI: https://wirmamas.de
Author: WirMamas
Description: Warmes, responsives WordPress-Theme für die WirMamas Community und Warteliste.
Version: 0.4.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: wirmamas
*/

:root {
  --plum: #4b2746;
  --plum-dark: #32142e;
  --coral: #e97867;
  --apricot: #f4b59a;
  --cream: #fff8f3;
  --paper: #fffdfb;
  --ink: #2d202a;
  --muted: #75656f;
  --line: rgba(75, 39, 70, .14);
  --white: #fff;
  --shadow: 0 24px 70px rgba(75, 39, 70, .12);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,248,243,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.32rem; color: var(--plum); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center;
  background: var(--plum); color: var(--cream); font-size: 1.6rem; font-weight: 900; letter-spacing: -.12em;
}
.brand-text span { color: var(--coral); }
.brand-image-link {
  width: clamp(190px, 20vw, 265px);
  height: auto;
}
.generated-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}
.custom-brand .custom-logo { max-height: 64px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 650; font-size: .94rem; }
.main-nav a:hover { color: var(--coral); }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--plum); color: var(--white) !important; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--plum); font-size: 1.5rem; cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: 100px 0 76px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 999px; filter: blur(1px); pointer-events: none;
}
.hero::before { width: 420px; height: 420px; background: rgba(244,181,154,.3); right: -100px; top: -100px; }
.hero::after { width: 220px; height: 220px; background: rgba(233,120,103,.13); left: -60px; bottom: 10px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px;
  color: var(--plum); background: rgba(244,181,154,.35); font-weight: 800; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero h1, .page-hero h1 {
  margin: 22px 0; color: var(--plum-dark); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.055em;
}
.hero h1 em { color: var(--coral); font-weight: inherit; }
.hero-lead { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--plum); color: var(--white); box-shadow: 0 12px 28px rgba(75,39,70,.18); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.62); color: var(--plum); }
.trust-line { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: .86rem; }
.trust-line span::before { content: "✓"; margin-right: 7px; color: var(--coral); font-weight: 900; }

.hero-card {
  position: relative; padding: 28px; border-radius: 38px; background: var(--paper);
  border: 1px solid rgba(75,39,70,.09); box-shadow: var(--shadow); transform: rotate(1deg);
}
.hero-card::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border-radius: inherit; background: var(--apricot); opacity: .38;
}
.scene {
  min-height: 420px; padding: 32px; border-radius: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 25%, rgba(50,20,46,.76) 100%),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.8) 0 7%, transparent 7.5%),
    linear-gradient(145deg, #f8c9b5, #e98674 48%, #6a355e);
  color: var(--white);
}
.scene-quote { max-width: 420px; margin: 0; font-family: Georgia, serif; font-size: 1.75rem; line-height: 1.2; }
.scene-meta { margin-top: 14px; opacity: .83; font-size: .88rem; }

.section { padding: 92px 0; }
.section-white { background: var(--paper); }
.section-plum { background: var(--plum-dark); color: var(--white); }
.section-heading { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 {
  margin: 14px 0; color: var(--plum-dark); font-family: Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -.04em;
}
.section-plum .section-heading h2 { color: var(--white); }
.section-heading p { margin: 0; color: var(--muted); }
.section-plum .section-heading p { color: rgba(255,255,255,.72); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; background: var(--apricot); color: var(--plum); font-size: 1.35rem; }
.card h3 { margin: 20px 0 8px; color: var(--plum); font-size: 1.25rem; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.quote-band { padding: 74px 0; background: var(--apricot); }
.quote-band blockquote {
  margin: 0 auto; max-width: 920px; color: var(--plum-dark); font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem); text-align: center; line-height: 1.12; letter-spacing: -.035em;
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 82px; }
.step::before {
  counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0;
  color: var(--coral); font-family: Georgia, serif; font-size: 3.6rem; line-height: 1;
}
.step h3 { margin: 0 0 8px; color: var(--plum); }
.step p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature-list { display: grid; gap: 15px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list li::before {
  content: "✓"; flex: 0 0 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--apricot); color: var(--plum); font-weight: 900;
}
.community-panel { padding: 34px; border-radius: 36px; background: var(--plum); color: var(--white); box-shadow: var(--shadow); }
.mini-post { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.1); }
.mini-post + .mini-post { margin-top: 14px; }
.mini-post small { color: var(--apricot); }
.mini-post p { margin: 7px 0 0; }
.expert-mini-post { border: 1px solid rgba(244,181,154,.48); background: rgba(244,181,154,.13); }

.founder-story { background: var(--apricot-light); }
.story-grid {
  display: grid; grid-template-columns: minmax(280px, .82fr) 1.18fr;
  gap: clamp(42px, 7vw, 90px); align-items: center;
}
.story-portrait { margin: 0; }
.story-portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%;
  border-radius: 42% 42% 30px 30px; box-shadow: var(--shadow);
}
.story-portrait figcaption {
  max-width: 90%; margin: 14px auto 0; color: var(--muted);
  font-size: .82rem; line-height: 1.45; text-align: center;
}
.story-copy h2 {
  margin: 8px 0 22px; color: var(--plum); font-family: Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.02;
}
.story-copy p { color: var(--muted); }
.story-copy p:first-of-type { color: var(--ink); font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 8px; color: var(--plum); font-weight: 800; }
.text-link:hover { color: var(--coral); }
.founder-story { background: var(--apricot-light); }
.story-grid { display: grid; grid-template-columns: minmax(280px, .82fr) 1.18fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.story-portrait { margin: 0; }
.story-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border-radius: 42% 42% 30px 30px; box-shadow: var(--shadow); }
.story-portrait figcaption { max-width: 90%; margin: 14px auto 0; color: var(--muted); font-size: .82rem; line-height: 1.45; text-align: center; }
.story-copy h2 { margin: 8px 0 22px; color: var(--plum); font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.02; }
.story-copy p { color: var(--muted); }
.story-copy p:first-of-type { color: var(--ink); font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 8px; color: var(--plum); font-weight: 800; }
.text-link:hover { color: var(--coral); }
.scarcity-badge { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 4px; padding: 9px 13px; border-radius: 999px; background: rgba(233,120,103,.16); color: var(--white); font-size: .82rem; font-weight: 800; }
.scarcity-badge span { color: var(--coral); font-size: .7rem; }
.signup-wrap {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  padding: 50px; border-radius: 38px; background: var(--plum-dark); color: var(--white);
}
.signup-wrap h2 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04; }
.signup-wrap p { color: rgba(255,255,255,.72); }
.signup-benefits { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.signup-benefits li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.9); }
.signup-benefits li::before { content: "✓"; color: var(--apricot); font-weight: 900; }
.founder-price { display: grid; gap: 3px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.08); }
.founder-price strong { color: var(--white); }
.founder-price span { color: rgba(255,255,255,.62); font-size: .8rem; }`r`n.signup-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.signup-form input {
  width: 100%; min-height: 56px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; background: rgba(255,255,255,.11); color: var(--white);
}
.signup-form input::placeholder { color: rgba(255,255,255,.62); }
.signup-form .button { background: var(--coral); color: var(--plum-dark); border: 0; }
.form-note { grid-column: 1 / -1; margin: 0; color: rgba(255,255,255,.58) !important; font-size: .76rem; }
.notice { padding: 13px 16px; margin-bottom: 16px; border-radius: 14px; background: rgba(244,181,154,.18); }

.faq { max-width: 850px; margin: auto; }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--plum); font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--coral); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); }

.page-hero { padding: 90px 0 56px; text-align: center; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.content-area { padding: 20px 0 90px; }
.entry-content h2, .entry-content h3 { color: var(--plum); line-height: 1.2; }
.entry-content a { color: var(--coral); text-decoration: underline; }

.site-footer { padding: 64px 0 24px; background: var(--plum-dark); color: rgba(255,255,255,.74); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; }
.site-footer .brand { color: var(--white); }
.site-footer h3 { color: var(--white); font-size: .95rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: var(--apricot); }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: fixed; inset: 82px 0 auto; padding: 28px 20px 36px;
    flex-direction: column; align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; }
  .nav-cta { text-align: center; }
  .hero { padding-top: 70px; }
  .hero-grid, .split, .story-grid, .signup-wrap { grid-template-columns: 1fr; }
  
  .hero-grid { gap: 48px; }
  .story-portrait { width: min(100%, 520px); margin-inline: auto; }
  .cards, .steps { grid-template-columns: 1fr; }
  .scene { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 72px; }
  .main-nav { inset: 72px 0 auto; }
  .hero { padding: 54px 0; }
  .hero h1 { font-size: 3.25rem; }
  .hero-card { padding: 14px; border-radius: 28px; }
  .scene { min-height: 300px; padding: 24px; }
  .scene-quote { font-size: 1.45rem; }
  .section { padding: 66px 0; }
  .founder-story { background: var(--apricot-light); }
.story-grid {
  display: grid; grid-template-columns: minmax(280px, .82fr) 1.18fr;
  gap: clamp(42px, 7vw, 90px); align-items: center;
}
.story-portrait { margin: 0; }
.story-portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%;
  border-radius: 42% 42% 30px 30px; box-shadow: var(--shadow);
}
.story-portrait figcaption {
  max-width: 90%; margin: 14px auto 0; color: var(--muted);
  font-size: .82rem; line-height: 1.45; text-align: center;
}
.story-copy h2 {
  margin: 8px 0 22px; color: var(--plum); font-family: Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.02;
}
.story-copy p { color: var(--muted); }
.story-copy p:first-of-type { color: var(--ink); font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 8px; color: var(--plum); font-weight: 800; }
.text-link:hover { color: var(--coral); }
.signup-wrap { padding: 30px 22px; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

