/* ============================================================
   PF01 Familienalltag-Landingpage — Abelssoft Design System
   Light theme · light footer · tokens from abelssoft-design-system
   Manifest namespace: AbelssoftDesignSystem_036ca7
   ============================================================ */

:root {
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Brand */
  --abel-red: #CC1F1F;
  --abel-red-hover: #B51B1B;
  --abel-red-tint: #FCEDEC;
  --abel-red-tint-border: #F3C9C6;
  --abel-blue: #036FA3;
  --abel-blue-deep: #005E86;
  --abel-blue-tint: #EDF4F8;
  --abel-blue-tint-2: #F4F8FB;

  /* Neutrals */
  --ink-900: #1A1A1A;
  --ink-700: #1F2A33;
  --ink-600: #3F4A52;
  --ink-500: #5A6470;
  --ink-400: #6B6B6B;
  --ink-300: #9AA3AB;
  --line: #E8E6E2;
  --line-cool: #E8ECF1;
  --surface: #FFFFFF;
  --canvas: #F6F7F9;
  --canvas-2: #F9FBFF;
  --input-bg: #F6F7F9;

  /* Semantic */
  --success: #1FA86A;
  --success-tint: #E7F6EE;

  /* Spacing / radii / shadows */
  --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(20, 30, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 13, 18, 0.12);
  --shadow-lift: 0 10px 26px -12px rgba(20, 30, 40, 0.22);

  /* Type */
  --text-sm: 13px; --text-base: 15px; --text-md: 17px; --text-lg: 20px;
  --text-xl: 24px; --text-2xl: 30px; --text-3xl: 38px;
  --leading-tight: 1.15; --leading-snug: 1.35; --leading-normal: 1.55; --leading-relaxed: 1.7;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--ink-600);
  background: var(--canvas-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink-700); font-weight: 700; line-height: var(--leading-tight); }

a { color: var(--abel-blue-deep); }
a:hover { color: var(--abel-blue); }

:focus-visible {
  outline: 2px solid var(--abel-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 var(--space-6); }
.container.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-cool);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-3); padding-bottom: var(--space-3);
}
.brand img { display: block; height: 32px; width: auto; }

.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-700);
  background: var(--abel-blue-tint);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}
.chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--abel-red);
  flex: none;
}

/* ---------- Hero ---------- */
.hero { padding: var(--space-16) 0 var(--space-12); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12); align-items: center;
}
.eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--abel-blue-deep);
  margin-bottom: var(--space-3);
}
.hero h1 {
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.hero-lead { font-size: var(--text-md); line-height: var(--leading-relaxed); margin-bottom: var(--space-6); }
.hero-facts {
  list-style: none;
  margin-bottom: var(--space-6);
  display: grid; gap: var(--space-2);
}
.hero-facts li {
  position: relative;
  padding-left: 24px;
  font-size: var(--text-base);
}
.hero-facts li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--success-tint);
  border: 2px solid var(--success);
}
.hero-note { font-size: var(--text-sm); color: var(--ink-400); }

/* Week concept card */
.week-card {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
}
.week-label {
  font-size: var(--text-sm); font-weight: 600;
  color: var(--ink-400);
  margin-bottom: var(--space-4);
}
.week-grid { display: grid; gap: var(--space-2); }
.week-day {
  display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
  padding: var(--space-2) 0;
  border-bottom: 1px dashed var(--line);
}
.week-day:last-child { border-bottom: none; }
.week-day .day {
  flex: none; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--text-sm); color: var(--ink-700);
  background: var(--canvas); border-radius: var(--radius-md);
}
.entry {
  display: inline-block;
  font-size: var(--text-sm); font-weight: 500;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.entry-blue { background: var(--abel-blue-tint); color: var(--abel-blue-deep); }
.entry-red { background: var(--abel-red-tint); color: var(--abel-red); }
.entry-green { background: var(--success-tint); color: var(--success); }
.entry-muted { background: var(--canvas); color: var(--ink-500); }

/* ---------- Sections ---------- */
.section { padding: var(--space-16) 0; }
.section.alt { background: var(--canvas); border-top: 1px solid var(--line-cool); border-bottom: 1px solid var(--line-cool); }
.section h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.section p { max-width: 62ch; }
.section-head { margin-bottom: var(--space-8); }
.section-sub { color: var(--ink-500); }
.section-footnote {
  margin-top: var(--space-6);
  font-size: var(--text-sm); color: var(--ink-400);
}

/* Cards */
.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card h3 { font-size: var(--text-lg); margin: var(--space-3) 0 var(--space-2); }
.card p { font-size: var(--text-base); }
.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius-md);
  background: var(--abel-red-tint); color: var(--abel-red);
  font-weight: 700; font-size: var(--text-base);
}
.card-tag {
  display: inline-block; margin-top: var(--space-4);
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

/* Centered feature section */
#problem .container.narrow {
  max-width: 980px;
  text-align: left;
}
#problem .section-footnote {
  text-align: left;
}

#konzept .section-head {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
#konzept .card-grid {
  grid-template-columns: repeat(3, minmax(0, 260px));
  justify-content: center;
}
#konzept .card {
  text-align: center;
}

/* Weekly story */
.week-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.week-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--abel-red-tint);
}
.week-step {
  position: relative;
  padding: 0 var(--space-6) var(--space-2);
  text-align: center;
}
.week-step-day {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--abel-red);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
}
.week-step h3 { margin: var(--space-5) 0 var(--space-2); }
.week-step p { margin: 0; font-size: var(--text-base); }

/* Status list */
.status-list {
  list-style: none;
  display: grid; gap: var(--space-3);
  margin: var(--space-6) 0;
}
.status-list li {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-left: 3px solid var(--abel-blue);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
}

/* ---------- Waitlist form ---------- */
.form-wrap { max-width: 620px; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-8);
}
.form-card h2 { margin-bottom: var(--space-3); }
.form-card > p { margin-bottom: var(--space-6); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: 600; font-size: var(--text-sm); color: var(--ink-700); margin-bottom: var(--space-2); }
.field input[type="email"] {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink-700);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { margin-top: 3px; accent-color: var(--abel-red); width: 16px; height: 16px; flex: none; }
.field.check label { font-weight: 400; margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-base); font-weight: 600;
  border: none; border-radius: var(--radius-md);
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--abel-red); color: #fff; }
.btn-primary:hover { background: var(--abel-red-hover); }
.form-hint { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--ink-400); }

.wl-status {
  margin-top: var(--space-4);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
}
.wl-status.ok { background: var(--success-tint); color: var(--success); border: 1px solid var(--success); }
.wl-status.info { background: var(--abel-blue-tint); color: var(--abel-blue-deep); border: 1px solid var(--abel-blue); }
.wl-status.error { background: var(--abel-red-tint); color: var(--abel-red); border: 1px solid var(--abel-red-tint-border); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
}
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: var(--text-lg); }
.faq-item summary::after {
  content: "+";
  font-size: var(--text-xl); font-weight: 700; color: var(--abel-red);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: var(--space-3); }

/* ---------- Footer (light variant) ---------- */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  padding: var(--space-10) 0 var(--space-6);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); flex-wrap: wrap;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}
.footer-brand img { display: block; height: 32px; width: auto; margin-bottom: var(--space-2); }
.footer-note { font-size: var(--text-sm); color: var(--ink-400); }
.footer-legal { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.footer-legal a { font-size: var(--text-base); font-weight: 500; }
.footer-meta p { font-size: var(--text-sm); color: var(--ink-400); padding-top: var(--space-4); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .container { padding: 0 var(--space-4); }
  .hero { padding: var(--space-10) 0 var(--space-8); }
  .section { padding: var(--space-12) 0; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: var(--text-base); }
  .card-grid { grid-template-columns: 1fr; }
  .card { padding: var(--space-4); }
  .form-card { padding: var(--space-6) var(--space-4); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .week-day .day { width: 28px; height: 28px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .faq-item summary::after { transition: none; }
  .card:hover { transform: none; }
  .btn:active { transform: none; }
}

/* ============================================================
   Newsletter waitlist (v20260903-nl1): header badge, locale
   switcher, dialog form — Briefklar pattern, pf01 tokens
   ============================================================ */
.header-actions {
  display: flex; align-items: center; gap: var(--space-3);
  flex-wrap: wrap; justify-content: flex-end;
}

.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-700);
  background: var(--abel-red-tint);
  border: 1px solid var(--abel-red-tint-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  text-decoration: none;
  white-space: nowrap;
}
.status-badge:hover { background: #f9dfdc; color: var(--ink-700); }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--abel-red);
  flex: none;
  animation: status-pulse 2.4s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.locale-switcher {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--text-sm); font-weight: 600;
}
.locale-switcher a {
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-md);
}
.locale-switcher a[aria-current="page"] {
  background: var(--abel-blue-tint);
  color: var(--abel-blue-deep);
}
.locale-switcher .locale-sep { color: var(--ink-300); }

.btn-secondary {
  background: var(--surface);
  color: var(--abel-red);
  border: 1px solid var(--abel-red);
}
.btn-secondary:hover { background: var(--abel-red-tint); }

.hero-cta {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin-bottom: var(--space-4);
}

/* ---------- Newsletter dialog ---------- */
.newsletter-dialog {
  width: min(92vw, 520px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink-600);
  box-shadow: var(--shadow-md);
}
.newsletter-dialog::backdrop { background: rgba(26, 26, 26, 0.55); }
.newsletter-dialog-inner {
  position: relative;
  padding: var(--space-8);
}
.newsletter-dialog h2 {
  margin: 0 var(--space-10) var(--space-3) 0;
  font-size: var(--text-xl);
}
.newsletter-dialog-inner .eyebrow { margin-bottom: var(--space-2); }
.newsletter-dialog-inner > .newsletter-description {
  margin: 0 0 var(--space-4);
  color: var(--ink-500);
}
.newsletter-dialog-close {
  position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-700);
  font: inherit; font-size: 26px; line-height: 1;
  cursor: pointer;
}
.newsletter-form {
  display: flex; flex-direction: column; gap: var(--space-3);
  margin-top: var(--space-2);
}
.newsletter-input {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-700);
}
.newsletter-submit { border: none; cursor: pointer; }
.newsletter-submit:disabled { opacity: 0.6; cursor: default; }
.newsletter-status {
  margin: 0;
  font-weight: 600;
  font-size: var(--text-base);
}
.newsletter-status.is-error { color: var(--abel-red); }
.newsletter-note {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--ink-400);
}
.newsletter-dialog-actions {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin-top: var(--space-6);
}
.newsletter-dialog :focus-visible {
  outline: 2px solid var(--abel-blue);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .newsletter-dialog-inner { padding: var(--space-6) var(--space-4); }
  .newsletter-dialog-actions { flex-direction: column; align-items: stretch; }
}
.quote-card, .benefit-list {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--surface-soft, #f5f8fb);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 18px);
}
.quote-card p, .benefit-list p { margin: var(--space-2) 0 0; }
.benefit-list { display: grid; gap: var(--space-4); }
.benefit-list p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}
@media (max-width: 560px) {
  #konzept .card-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  #konzept .card { width: 100%; text-align: center; }
  .week-steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .week-steps::before { top: 0; bottom: 0; left: 24px; right: auto; width: 2px; height: auto; }
  .week-step { display: block; width: 100%; padding: 0 0 var(--space-2); text-align: left; }
  .week-step-day { display: inline-flex; min-height: 40px; padding: 0 12px; }
  .week-step h3 { margin: var(--space-3) 0 var(--space-2); }
  .week-step p { width: 100%; margin: 0; overflow-wrap: normal; }
}
