/* ============================================================
   KIDDY · DESIGN-SYSTEM "Verlässlich freundlich"
   Ein Token-Set, geteilt von Theme-Chrome (Header/Footer) und
   allen Elementor-Widgets. Frontend + Editor identisch.
   ============================================================ */
:root {
  /* Brand */
  --orange:      #FF5900;
  --orange-dk:   #CC4700;
  --orange-50:   #FFE8DB;

  /* Sekundärer Akzent */
  --blue:        #3B6584;
  --blue-dk:     #2C4D66;
  --blue-50:     #E8EFF4;

  /* Neutrals – leicht warm */
  --bg:          #FAF7F2;
  --surface:     #FFFFFF;
  --surface-2:   #F2EEE7;
  --ink:         #2A2925;
  --ink-2:       #4A4843;
  --ink-3:       #76736C;
  --ink-4:       #A8A49C;
  --line:        #E4DFD5;
  --line-soft:   #EFEAE0;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radien */
  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-pill: 999px;

  /* Schatten */
  --sh-sm: 0 1px 2px rgba(42, 41, 37, 0.05);
  --sh-md: 0 4px 12px -4px rgba(42, 41, 37, 0.08), 0 2px 4px rgba(42, 41, 37, 0.04);
  --sh-lg: 0 18px 40px -16px rgba(42, 41, 37, 0.18);
  --sh-orange: 0 14px 32px -12px rgba(255, 89, 0, 0.40);

  /* Type */
  --serif: 'Bitter', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1180px;
}

/* ============================================================
   BASIS
   ============================================================ */
/* Offset für Anker-Sprünge (Scrollspy/Menü), damit der Abschnittsanfang
   nicht unter dem klebrigen Header verschwindet. Mobil mehr Abstand. */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

/* Box-Sizing-Reset für alle Theme-Elemente (Header/Footer/Mobile-Menü/Formulare).
   Verhindert u. a., dass Buttons mit width:100% + Padding über den Rand laufen. */
.kiddy *, .kiddy *::before, .kiddy *::after { box-sizing: border-box; }

.kiddy-body,
body.kiddy {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.kiddy.no-scroll { overflow: hidden; }
.kiddy img { display: block; max-width: 100%; }
.kiddy a { color: inherit; text-decoration: none; }

.kiddy-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

/* Elementor: den leeren Full-Width-Container neutralisieren, damit die
   Widgets bündig sitzen (Padding/Gap 0 stellt der Nutzer im Editor ein). */
.elementor-widget-kiddy-hero,
.elementor-widget-kiddy-about,
.elementor-widget-kiddy-stats,
.elementor-widget-kiddy-news,
.elementor-widget-kiddy-milestones,
.elementor-widget-kiddy-support,
.elementor-widget-kiddy-contact { width: 100%; }

/* ============================================================
   TYPOGRAFIE-BAUSTEINE
   ============================================================ */
.kiddy .section-head { margin-bottom: var(--s-7); }
.kiddy .section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.kiddy .section-intro { font-size: 17px; color: var(--ink-3); line-height: 1.6; }

/* ============================================================
   BUTTONS
   ============================================================ */
.kiddy .btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2); padding: 12px 22px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  border-radius: var(--r); border: 1px solid transparent;
  transition: all 0.2s var(--ease); white-space: nowrap; cursor: pointer;
}
.kiddy .btn.done { color: #2e7d32; border-color: #2e7d32; background: var(--surface); }
.kiddy .btn-primary { background: var(--orange); color: var(--surface); border-color: var(--orange); }
.kiddy .btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: var(--surface); }
.kiddy .btn-secondary { background: transparent; color: var(--orange-dk); border-color: var(--orange); }
.kiddy .btn-secondary:hover { background: var(--orange-50); border-color: var(--orange-dk); color: var(--orange-dk); }
.kiddy .btn-ghost { background: transparent; color: var(--surface); border-color: rgba(255,255,255,0.5); }
.kiddy .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--surface); }
.kiddy .btn-block { width: 100%; }
.kiddy .btn i { font-size: 18px; transition: transform 0.2s var(--ease); }
.kiddy .btn:hover i.bx-right-arrow-alt { transform: translateX(3px); }
.kiddy .btn:hover i.bx-left-arrow-alt { transform: translateX(-3px); }

/* ============================================================
   BADGE / TAG
   ============================================================ */
.kiddy .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--orange-dk); background: var(--orange-50);
  padding: 5px 11px; border-radius: var(--r-pill); align-self: flex-start;
}
.kiddy .tag i { font-size: 14px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-header .kiddy-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); padding-top: var(--s-4); padding-bottom: var(--s-4);
}
.brand { display: flex; align-items: center; }
.brand .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.brand-logo, .brand-logo img,
.brand .custom-logo { height: 100px; width: auto; max-width: 320px; object-fit: contain; display: block; }

.nav-main {
  display: flex; align-items: center; gap: var(--s-1);
  list-style: none; margin: 0 var(--s-3) 0 auto; padding: 0;
}
.nav-main li { margin: 0; }
.nav-main a {
  display: block; padding: 10px 16px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); border-radius: var(--r); transition: all 0.2s var(--ease);
}
.nav-main a:hover,
.nav-main a.active,
.nav-main .current-menu-item > a { color: var(--orange-dk); background: var(--orange-50); }
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none; width: 46px; height: 46px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
  font-size: 24px; align-items: center; justify-content: center;
  border-radius: var(--r-sm); z-index: 210; cursor: pointer;
}

/* ============================================================
   MOBILE-MENÜ · Overlay
   ============================================================ */
.nav-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(42, 41, 37, 0.55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(360px, 86vw); background: var(--surface); z-index: 205;
  display: flex; flex-direction: column; padding: var(--s-6) var(--s-5);
  box-shadow: var(--sh-lg); transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.nav-overlay.open .mobile-nav { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--s-5); margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav-head .label { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink); }
.mobile-nav-close {
  width: 42px; height: 42px; background: var(--surface-2); border-radius: var(--r-sm);
  display: grid; place-items: center; font-size: 24px; color: var(--ink); cursor: pointer;
}
.mobile-nav ul { list-style: none; display: grid; gap: var(--s-1); margin: 0; padding: 0; }
.mobile-nav ul li { margin: 0; }
.mobile-nav ul a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-size: 17px; font-weight: 500; color: var(--ink);
  border-radius: var(--r); transition: background 0.2s var(--ease);
}
/* Dezenter Chevron, unabhängig vom Icon-Font (Bots-sicher). */
.mobile-nav ul a::after {
  content: ''; width: 8px; height: 8px; flex-shrink: 0;
  border-top: 2px solid var(--ink-4); border-right: 2px solid var(--ink-4);
  transform: rotate(45deg); transition: border-color 0.2s var(--ease);
}
.mobile-nav ul a:hover,
.mobile-nav ul a.active,
.mobile-nav .current-menu-item > a { background: var(--orange-50); color: var(--orange-dk); }
.mobile-nav ul a:hover::after,
.mobile-nav ul a.active::after { border-color: var(--orange-dk); }
.mobile-nav .btn { margin-top: var(--s-6); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  overflow: hidden; color: var(--surface); padding: var(--s-9) 0;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* Höhere Spezifität als Elementors ".elementor img { height:auto }" +
   absolute Positionierung, damit das Bild das komplette Widget ausfüllt. */
.hero .hero-bg img,
.elementor-widget-kiddy-hero .hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42,41,37,0.95) 0%, rgba(42,41,37,0.85) 40%, rgba(42,41,37,0.55) 70%, rgba(42,41,37,0) 100%);
}
.hero .kiddy-container { position: relative; z-index: 2; width: 100%; }
.hero-content h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 3.8vw, 46px); line-height: 1.2; letter-spacing: -0.015em;
  color: var(--surface); margin-bottom: var(--s-5); max-width: 820px;
}
.hero-content p.lead {
  font-size: clamp(17px, 1.4vw, 19px); color: rgba(255,255,255,0.9);
  line-height: 1.55; margin-bottom: var(--s-6); max-width: 600px;
}
.hero-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ============================================================
   SECTIONS (Widgets bringen ihren eigenen Abstand mit)
   ============================================================ */
.kiddy-section { padding: var(--s-9) 0; position: relative; }
.section-white { background: var(--surface); }
.section-soft { background: var(--surface-2); }

/* ============================================================
   ÜBER UNS
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.kiddy .about-img,
.elementor-widget-kiddy-about .about-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--r-lg); overflow: hidden;
}
.about-content p { font-size: 16px; margin-bottom: var(--s-4); color: var(--ink-2); line-height: 1.7; }
.about-content p:last-child { margin-bottom: 0; }

/* ============================================================
   ZAHLEN-BANNER
   ============================================================ */
.stats { background: var(--orange); color: var(--surface); padding: var(--s-7) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.stat { text-align: center; padding: 0 var(--s-4); border-right: 1px solid rgba(255,255,255,0.25); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1;
  color: var(--surface); margin-bottom: var(--s-2); letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.85); letter-spacing: 0.02em; }

/* ============================================================
   KARTEN · News & Meilensteine
   ============================================================ */
.news-grid, .projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
}
.news-card, .project {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s var(--ease);
}
.news-card:hover, .project:hover { transform: translateY(-4px); box-shadow: var(--sh-orange); }
.news-card-img, .project-img { aspect-ratio: 16/10; overflow: hidden; }
.news-card-img img, .project-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease);
}
.news-card:hover .news-card-img img, .project:hover .project-img img { transform: scale(1.04); }
.news-card-body, .project-body {
  padding: var(--s-5); display: flex; flex-direction: column; flex-grow: 1;
}
.news-date {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 13px; color: var(--ink-3); margin-bottom: var(--s-3);
}
.news-date i { font-size: 16px; color: var(--orange); }
.news-card h3, .project h3 {
  font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.3; margin-bottom: var(--s-2);
}
.project h3 { font-size: 20px; }
.news-card p, .project p { font-size: 14px; color: var(--ink-3); line-height: 1.55; flex-grow: 1; }
.project .tag { margin-bottom: var(--s-3); }
.news-link {
  margin-top: var(--s-4); display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--orange-dk);
}
.news-link i { transition: transform 0.2s var(--ease); }
.news-card:hover .news-link i { transform: translateX(3px); }
.news-btn { margin-top: var(--s-4); }
.news-more { text-align: center; margin-top: var(--s-7); }

/* Leerzustand (keine Beiträge) */
.kiddy-empty { text-align: left; color: var(--ink-3); font-size: 16px; }

/* ============================================================
   MITMACHEN · Support-Karten
   ============================================================ */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.support-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); display: flex; flex-direction: column; transition: all 0.25s var(--ease);
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--sh-orange); }
.support-icon {
  width: 52px; height: 52px; background: var(--orange-50); color: var(--orange-dk);
  border-radius: var(--r); display: grid; place-items: center; font-size: 26px; margin-bottom: var(--s-4);
}
.support-card h3 {
  font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: var(--s-3);
}
.support-card p { font-size: 15px; color: var(--ink-3); line-height: 1.6; margin-bottom: var(--s-5); flex-grow: 1; }
.support-actions { display: grid; gap: var(--s-2); margin-top: auto; }
.support-actions.two-col { grid-template-columns: 1fr 1fr; }
.support-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: var(--s-6); }
.support-wide .support-icon { margin-bottom: 0; flex-shrink: 0; }
.support-wide-content { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.support-wide-text h3 { margin-bottom: var(--s-3); }
.support-wide-text p { margin-bottom: 0; }
.support-wide .support-bank { margin-top: 0; }
.support-bank { margin-top: auto; display: grid; gap: var(--s-4); }
.bank-card { display: grid; }
.bank-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--line-soft);
}
.bank-row:first-child { padding-top: 0; }
.bank-row:last-child { border-bottom: none; padding-bottom: 0; }
.bank-row .k {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); flex-shrink: 0;
}
.bank-row .v { font-size: 15px; font-weight: 500; color: var(--ink); text-align: right; word-break: break-all; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s-7); }
.contact-info { display: grid; gap: var(--s-3); align-content: start; }
.contact-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5); display: flex; align-items: center; gap: var(--s-4);
}
.contact-icon {
  width: 44px; height: 44px; background: var(--orange-50); color: var(--orange-dk);
  border-radius: var(--r-sm); display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
}
.contact-item .label { font-size: 12px; color: var(--ink-3); margin-bottom: 2px; letter-spacing: 0.02em; }
.contact-item .value {
  font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); letter-spacing: -0.005em;
}
.contact-item .value a { transition: color 0.2s; }
.contact-item .value a:hover { color: var(--orange-dk); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); }
.app-form.hidden { display: none; }
.form-switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-1);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-1); margin-bottom: var(--s-5);
}
.form-switch-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 11px 14px; font-size: 14px; font-weight: 600; color: var(--ink-3);
  border-radius: var(--r-sm); transition: all 0.2s var(--ease); cursor: pointer; border: none; background: none;
}
.form-switch-btn i { font-size: 18px; }
.form-switch-btn:hover { color: var(--ink); }
.form-switch-btn.active { background: var(--surface); color: var(--orange-dk); box-shadow: var(--sh-sm); }
.form-note {
  font-size: 14px; color: var(--ink-3); background: var(--orange-50);
  border-radius: var(--r); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-5);
}
.form-note strong { color: var(--orange-dk); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { margin-bottom: var(--s-4); }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.req { color: var(--orange); margin-left: 2px; }
.form-hint { font-size: 13px; color: var(--ink-3); margin-bottom: var(--s-4); }
.field input, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); background: var(--surface);
  font-family: inherit; font-size: 15px; color: var(--ink); border-radius: var(--r-sm); transition: all 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-50);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-consent { display: flex; align-items: flex-start; gap: var(--s-3); margin-bottom: var(--s-5); }
.field-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex-shrink: 0; cursor: pointer; }
.field-consent label { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.field-consent label a { color: var(--orange-dk); font-weight: 600; text-decoration: underline; }

/* ============================================================
   SEITENKOPF (Archiv/Legal)
   ============================================================ */
.page-head { padding: var(--s-8) 0 0; }
.page-head-inner { padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); margin-bottom: var(--s-3);
}
.page-head p { font-size: 17px; color: var(--ink-3); max-width: 640px; }
.news-section { padding-top: var(--s-6); padding-bottom: var(--s-9); }

/* ============================================================
   ARTIKEL (Single Aktuelles)
   ============================================================ */
.article { padding: var(--s-8) 0 var(--s-9); }
.back-link {
  display: inline-flex; align-items: center; gap: var(--s-2); font-size: 14px; font-weight: 600;
  color: var(--ink-3); margin-bottom: var(--s-6); transition: color 0.2s var(--ease);
}
.back-link i { font-size: 18px; transition: transform 0.2s var(--ease); }
.back-link:hover { color: var(--orange-dk); }
.back-link:hover i { transform: translateX(-3px); }
.article-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); margin-bottom: var(--s-4);
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4);
  font-size: 14px; color: var(--ink-3); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line);
}
.article-meta span { display: inline-flex; align-items: center; gap: var(--s-2); }
.article-meta i { font-size: 17px; color: var(--orange); }
.article-figure { margin: var(--s-6) 0; }
.article-figure img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16/9; object-fit: cover; }
.article-figure figcaption { font-size: 13px; color: var(--ink-4); margin-top: var(--s-2); text-align: center; }
.article-body { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.article-body > * + * { margin-top: var(--s-5); }
.article-body .lead { font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.article-body h2 {
  font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -0.01em;
  color: var(--ink); margin-top: var(--s-7); line-height: 1.3;
}
.article-body h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: var(--s-6); }
.article-body a { color: var(--orange-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body ul, .article-body ol { padding-left: var(--s-5); display: grid; gap: var(--s-2); }
.article-body li { line-height: 1.65; }
.article-body blockquote {
  border-left: 3px solid var(--orange); background: var(--surface-2);
  padding: var(--s-4) var(--s-5); border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--serif); font-size: 19px; color: var(--ink); font-style: italic;
}
.article-body img { border-radius: var(--r-lg); }
.article-foot {
  margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4);
}
.article-share { display: flex; align-items: center; gap: var(--s-2); }
.article-share .lbl { font-size: 14px; color: var(--ink-3); margin-right: var(--s-1); }
.article-share a {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm);
  display: grid; place-items: center; font-size: 19px; color: var(--ink-2); transition: all 0.2s var(--ease);
}
.article-share a:hover { color: var(--orange-dk); border-color: var(--orange); background: var(--orange-50); }

/* ============================================================
   LEGAL / TEXTSEITEN
   ============================================================ */
.legal { padding: var(--s-8) 0 var(--s-9); }
.legal h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18; letter-spacing: -0.015em; color: var(--ink);
  margin-bottom: var(--s-6);
}
.legal-body { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.legal-body > * + * { margin-top: var(--s-4); }
.legal-body h2 { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); margin-top: var(--s-7); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body a { color: var(--orange-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-body ul { padding-left: var(--s-5); display: grid; gap: var(--s-2); }
.legal-body strong { color: var(--ink); }
.placeholder { background: var(--orange-50); border-radius: var(--r); padding: var(--s-4); font-size: 14px; color: var(--orange-dk); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: var(--s-5) 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: var(--s-3);
}
.footer-legal { display: flex; align-items: center; gap: var(--s-3); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-legal li { margin: 0; display: inline-flex; align-items: center; gap: var(--s-3); }
.footer-legal a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-legal a:hover, .footer-legal a.active { color: var(--orange); }
.footer-legal li::after { content: '|'; color: rgba(255,255,255,0.25); }
.footer-legal li:last-child::after { content: ''; }

/* ============================================================
   LOGO-FALLBACK
   ============================================================ */
.logo-fallback { display: flex; align-items: baseline; line-height: 1; }
.logo-fallback span { font-family: var(--serif); font-weight: 700; font-size: 40px; color: var(--ink); letter-spacing: -0.02em; }
.logo-fallback span em { color: var(--orange); font-style: italic; }

/* ============================================================
   ANIMATIONEN (Scroll-Reveal)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

/* Im Elementor-Editor Reveal-Effekte deaktivieren (sonst „unsichtbar“). */
.elementor-editor-active .reveal,
.elementor-editor-active .reveal-stagger > * { opacity: 1 !important; transform: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .about-img { max-width: 500px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .stat { border-right: none; }
  .support-grid { grid-template-columns: 1fr; }
  .support-wide { flex-direction: column; align-items: stretch; gap: var(--s-5); }
  .support-wide-content { grid-template-columns: 1fr; gap: var(--s-5); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .nav-main, .nav-cta { display: none !important; }
  .nav-toggle { display: flex; }
  .hero { min-height: 500px; }
  /* Mobil: vertikaler Verlauf statt horizontalem – Bild bleibt über die
     volle Breite sichtbar, Text bleibt lesbar. */
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(42,41,37,0.35) 0%, rgba(42,41,37,0.62) 55%, rgba(42,41,37,0.85) 100%);
  }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .brand-logo, .brand-logo img,
  .brand .custom-logo { height: 64px; }
  .hero { padding: var(--s-7) 0; }
  .kiddy-section { padding: var(--s-8) 0; }
  .article { padding: var(--s-6) 0 var(--s-8); }
  html { scroll-padding-top: 70px; }
  /* Footer nur mobil zentriert */
  .footer-bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* Reduced motion respektieren */
@media (prefers-reduced-motion: reduce) {
  .kiddy *, .reveal, .reveal-stagger > * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
