/*
Theme Name: ElternNummerMüde
Theme URI: https://elternnummermude.de
Author: ElternNummerMüde Team
Description: Ein beruhigendes, strukturiertes WordPress-Theme für erschöpfte Eltern und Pädagogen – mit interaktivem Lebensphasen-Zeitstrahl und klarem Quadranten-Layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elternnummermude
Tags: blog, education, family, parenting, clean, responsive, custom-menu
*/

/* ============================================================
   CSS CUSTOM PROPERTIES – DESIGN TOKENS
   ============================================================ */
:root {
  /* Phase Colors */
  --phase-schwangerschaft: #F9E4B7;
  --phase-schwangerschaft-dark: #E8C46A;
  --phase-schwangerschaft-text: #7A5C1E;

  --phase-baby: #FDE8D8;
  --phase-baby-dark: #F4A96A;
  --phase-baby-text: #8B3A1F;

  --phase-kindergarten: #D4EDD4;
  --phase-kindergarten-dark: #6DB86D;
  --phase-kindergarten-text: #1F5C1F;

  --phase-grundschule: #D0E8F4;
  --phase-grundschule-dark: #5BA3C9;
  --phase-grundschule-text: #1A4C6E;

  --phase-pubertaet: #E8D4F4;
  --phase-pubertaet-dark: #9B6DBE;
  --phase-pubertaet-text: #4A1F6E;

  --phase-auszug: #D4D4D4;
  --phase-auszug-dark: #888888;
  --phase-auszug-text: #333333;

  /* Global Colors */
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-text: #2D2D2D;
  --color-text-muted: #6B6B6B;
  --color-border: #E8E8E8;
  --color-accent: #6DB86D;
  --color-white: #FFFFFF;

  /* Typography */
  --font-display: 'Nunito', 'Quicksand', Georgia, serif;
  --font-body: 'Lato', 'Open Sans', system-ui, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 700;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.5px;
}

.site-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-text);
}

.nav-toggle svg { width: 24px; height: 24px; }

.main-navigation ul {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.main-navigation a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--color-accent);
  background: rgba(109,184,109,0.1);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  background: linear-gradient(160deg, #F0F8F0 0%, #FFF8F0 50%, #F0F4F8 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(109,184,109,0.12), transparent);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  background: rgba(109,184,109,0.12);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
}

/* ============================================================
   INTERACTIVE TIMELINE
   ============================================================ */
.phase-timeline {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--color-bg);
}

.timeline-label {
  text-align: center;
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2xl);
}

.timeline-label span { color: var(--color-accent); }

.timeline-track {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--space-lg);
  gap: 0;
}

.timeline-connector {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(to right,
    var(--phase-schwangerschaft-dark),
    var(--phase-baby-dark),
    var(--phase-kindergarten-dark),
    var(--phase-grundschule-dark),
    var(--phase-pubertaet-dark),
    var(--phase-auszug-dark)
  );
  transform: translateY(-50%);
  border-radius: var(--radius-full);
  z-index: 0;
}

.timeline-phases {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.phase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition);
  flex: 1;
}

.phase-item:hover { transform: translateY(-4px); }
.phase-item:hover .phase-bubble { box-shadow: var(--shadow-lg); }

.phase-bubble {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--color-surface);
  border: 3px solid currentColor;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
}

.phase-item.active .phase-bubble {
  transform: scale(1.15);
  box-shadow: var(--shadow-lg);
}

/* Per-phase colors */
.phase-schwangerschaft { --current-color: var(--phase-schwangerschaft-dark); color: var(--phase-schwangerschaft-dark); }
.phase-baby { --current-color: var(--phase-baby-dark); color: var(--phase-baby-dark); }
.phase-kindergarten { --current-color: var(--phase-kindergarten-dark); color: var(--phase-kindergarten-dark); }
.phase-grundschule { --current-color: var(--phase-grundschule-dark); color: var(--phase-grundschule-dark); }
.phase-pubertaet { --current-color: var(--phase-pubertaet-dark); color: var(--phase-pubertaet-dark); }
.phase-auszug { --current-color: var(--phase-auszug-dark); color: var(--phase-auszug-dark); }

.phase-schwangerschaft .phase-bubble { background: var(--phase-schwangerschaft); border-color: var(--phase-schwangerschaft-dark); }
.phase-baby .phase-bubble { background: var(--phase-baby); border-color: var(--phase-baby-dark); }
.phase-kindergarten .phase-bubble { background: var(--phase-kindergarten); border-color: var(--phase-kindergarten-dark); }
.phase-grundschule .phase-bubble { background: var(--phase-grundschule); border-color: var(--phase-grundschule-dark); }
.phase-pubertaet .phase-bubble { background: var(--phase-pubertaet); border-color: var(--phase-pubertaet-dark); }
.phase-auszug .phase-bubble { background: var(--phase-auszug); border-color: var(--phase-auszug-dark); }

.phase-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  max-width: 80px;
}

.phase-ages {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================================
   PHASE PREVIEW PANEL (appears on click)
   ============================================================ */
.phase-preview {
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
  padding: 0 var(--space-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  pointer-events: none;
}

.phase-preview.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.phase-preview-inner {
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.phase-preview-content h2 {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.phase-preview-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 420px;
}

.phase-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--color-text);
  color: var(--color-white);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.phase-preview-btn:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

/* ============================================================
   QUADRANT LAYOUT (Age-specific pages)
   ============================================================ */
.quadrant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.quadrant {
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.quadrant:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.quadrant::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 0 var(--radius-lg) 0 120px;
  opacity: 0.15;
}

.quadrant-a { background: #FFF8E8; }
.quadrant-a::before { background: #F4C842; }
.quadrant-b { background: #E8F4E8; }
.quadrant-b::before { background: #4CAF50; }
.quadrant-c { background: #FFF0F0; }
.quadrant-c::before { background: #E8537A; }
.quadrant-d { background: #EEF2FF; }
.quadrant-d::before { background: #6C63FF; }

.quadrant-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.quadrant-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.quadrant-a .quadrant-tag { background: #F4C842; color: #5C3D00; }
.quadrant-b .quadrant-tag { background: #6DB86D; color: #fff; }
.quadrant-c .quadrant-tag { background: #E8537A; color: #fff; }
.quadrant-d .quadrant-tag { background: #6C63FF; color: #fff; }

.quadrant h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.quadrant p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.quadrant-list {
  margin-top: var(--space-md);
}

.quadrant-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.88rem;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--color-text);
}

.quadrant-list li:last-child { border-bottom: none; }

.quadrant-list li::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.quadrant-a .quadrant-list li::before { color: #D4A017; }
.quadrant-b .quadrant-list li::before { color: #4CAF50; }
.quadrant-c .quadrant-list li::before { color: #E8537A; }
.quadrant-d .quadrant-list li::before { color: #6C63FF; }

.quadrant-read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.quadrant-read-more:hover { color: var(--color-text); }

/* ============================================================
   PAGE PHASE HEADER
   ============================================================ */
.phase-page-header {
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.phase-page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--space-sm);
}

.phase-page-header .phase-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb-phase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.breadcrumb-phase a { text-decoration: underline; }
.breadcrumb-phase span { opacity: 0.5; }

/* ============================================================
   QUICK-FIX BADGE
   ============================================================ */
.quick-fix-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: #FF6B6B;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.quick-fix-box {
  background: linear-gradient(135deg, #FFF5F5, #FFEDED);
  border: 2px solid #FFB3B3;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-md);
}

.quick-fix-box h4 {
  font-size: 0.95rem;
  color: #C0392B;
  margin-bottom: var(--space-sm);
}

.quick-fix-steps {
  counter-reset: step;
}

.quick-fix-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.85rem;
  padding: var(--space-xs) 0;
  color: var(--color-text);
}

.quick-fix-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #FF6B6B;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   CHECKLIST SECTION
   ============================================================ */
.checklist-section {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.checklist-title {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  user-select: none;
}

.checklist-item:last-child { border-bottom: none; }

.checklist-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.checklist-item.checked .checklist-checkbox {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.checklist-item.checked .checklist-checkbox::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
}

.checklist-item.checked .checklist-text {
  text-decoration: line-through;
  opacity: 0.5;
}

.checklist-text {
  font-size: 0.88rem;
  transition: opacity var(--transition);
}

/* ============================================================
   WIDGET / SIDEBAR
   ============================================================ */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.sidebar-widget {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.sidebar-widget-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1A1A1A;
  color: #B0B0B0;
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid #333;
}

.footer-brand .site-title { font-size: 1.2rem; color: var(--color-white); }
.footer-brand p { font-size: 0.85rem; margin-top: var(--space-sm); line-height: 1.6; }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-links li { margin-bottom: var(--space-xs); }
.footer-links a {
  font-size: 0.88rem;
  color: #B0B0B0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-white); }

.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-xl) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  gap: var(--space-md);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fade-up { animation: fadeUp 0.5s ease both; }

.phase-item:nth-child(1) { animation: fadeUp 0.4s 0.1s ease both; }
.phase-item:nth-child(2) { animation: fadeUp 0.4s 0.2s ease both; }
.phase-item:nth-child(3) { animation: fadeUp 0.4s 0.3s ease both; }
.phase-item:nth-child(4) { animation: fadeUp 0.4s 0.4s ease both; }
.phase-item:nth-child(5) { animation: fadeUp 0.4s 0.5s ease both; }
.phase-item:nth-child(6) { animation: fadeUp 0.4s 0.6s ease both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .quadrant-grid { grid-template-columns: 1fr; }

  .timeline-track { padding: 0 var(--space-md); }
  .phase-bubble { width: 56px; height: 56px; font-size: 1.5rem; }
  .phase-label { font-size: 0.68rem; max-width: 60px; }
  .phase-ages { display: none; }
  .timeline-connector { left: 6%; right: 6%; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
  }
  .main-navigation.open { display: block; }
  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .phase-preview-inner { flex-direction: column; }

  .page-with-sidebar { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .timeline-phases { gap: 0; }
  .phase-bubble { width: 48px; height: 48px; font-size: 1.3rem; border-width: 2px; }
  .phase-label { font-size: 0.62rem; }
  .hero h1 { font-size: 1.7rem; }

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

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */
.wp-block-image img { border-radius: var(--radius-md); }
.alignleft { float: left; margin-right: var(--space-lg); }
.alignright { float: right; margin-left: var(--space-lg); }
.aligncenter { text-align: center; }
.wp-caption { font-size: 0.8rem; color: var(--color-text-muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }

.entry-content { line-height: 1.8; font-size: 1rem; }
.entry-content > * + * { margin-top: var(--space-lg); }
.entry-content h2 { font-size: 1.5rem; margin-top: var(--space-2xl); }
.entry-content h3 { font-size: 1.2rem; margin-top: var(--space-xl); }
.entry-content a { color: var(--color-accent); text-decoration: underline; }
.entry-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-lg);
  font-style: italic;
  color: var(--color-text-muted);
}

/* Comments */
.comments-area { max-width: 700px; margin: var(--space-3xl) auto; padding: 0 var(--space-lg); }
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* Phase-colored pages */
body.phase-schwangerschaft { --active-phase-bg: var(--phase-schwangerschaft); --active-phase-dark: var(--phase-schwangerschaft-dark); --active-phase-text: var(--phase-schwangerschaft-text); }
body.phase-baby { --active-phase-bg: var(--phase-baby); --active-phase-dark: var(--phase-baby-dark); --active-phase-text: var(--phase-baby-text); }
body.phase-kindergarten { --active-phase-bg: var(--phase-kindergarten); --active-phase-dark: var(--phase-kindergarten-dark); --active-phase-text: var(--phase-kindergarten-text); }
body.phase-grundschule { --active-phase-bg: var(--phase-grundschule); --active-phase-dark: var(--phase-grundschule-dark); --active-phase-text: var(--phase-grundschule-text); }
body.phase-pubertaet { --active-phase-bg: var(--phase-pubertaet); --active-phase-dark: var(--phase-pubertaet-dark); --active-phase-text: var(--phase-pubertaet-text); }
body.phase-auszug { --active-phase-bg: var(--phase-auszug); --active-phase-dark: var(--phase-auszug-dark); --active-phase-text: var(--phase-auszug-text); }

body[class*="phase-"] .phase-page-header {
  background: var(--active-phase-bg);
}

body[class*="phase-"] .phase-page-header h1 {
  color: var(--active-phase-text);
}
/* Erzwingt Aufzählungspunkte in den Tipp-Boxen */
.tipp-text-container ul {
    list-style-type: disc !important; /* Macht die Punkte sichtbar */
    margin-left: 1.5rem !important;  /* Schiebt die Liste nach rechts, damit die Punkte nicht im Rand kleben */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: block !important;
}

.tipp-text-container li {
    margin-bottom: 0.25rem;
    display: list-item !important; /* Stellt sicher, dass es als Listenpunkt behandelt wird */
}

/* Sorgt für Abstände zwischen den Absätzen */
.tipp-text-container p {
    margin-bottom: 1rem;
}