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

:root {
  --orange: #f97316;
  --orange-light: #fff7ed;
  --orange-dark: #ea6a00;
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --blue-dark: #1d4ed8;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --green-dark: #15803d;
  --text: #1a1a2e;
  --muted: #6b7280;
  --radius: 16px;
}

body {
  font-family: "Nunito", sans-serif;
  background: #f9fafb;
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP TAB BAR */
.top-tab-bar {
  display: flex;
  align-items: flex-end;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 12px 16px 0;
  gap: 6px;
  transition: background 0.3s;
}

/* Hintergrund der Tab-Leiste */
.top-tab-bar.kinder-bg   { background: linear-gradient(180deg, #ffa726 0%, #ff9800 100%); }
.top-tab-bar.vorleser-bg { background: linear-gradient(180deg, #42a5f5 0%, #1e88e5 100%); }
.top-tab-bar.alle-bg     { background: linear-gradient(180deg, #66bb6a 0%, #43a047 100%); }

.top-tab {
  flex: 1;
  padding: 16px 12px;
  border: none;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  transition: all 0.2s;
  position: relative;
  bottom: 0;
}

/* AKTIVER TAB: Karteireiter — oben rund, unten offen, verbindet sich mit Header */
.top-tab.active {
  border-radius: 14px 14px 0 0;
  padding-bottom: 20px;
  margin-bottom: -1px;
}

.kinder-tab.active   { background: #fff8ee; color: var(--orange); }
.vorleser-tab.active { background: #dbeafe; color: var(--blue-dark); }
.alle-tab.active     { background: #dcfce7; color: var(--green-dark); }

/* INAKTIVE TABS: schwebend — vollständig abgerundet */
.top-tab:not(.active) {
  border-radius: 12px;
  color: #fff;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.kinder-tab:not(.active)   { background: #f97316; }
.vorleser-tab:not(.active) { background: #1d4ed8; }
.alle-tab:not(.active)     { background: #15803d; }

.top-tab:not(.active):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 69px;
  z-index: 100;
  box-shadow: 0 3px 16px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.kinder-header   { background: #fff8ee; }
.vorleser-header { background: #dbeafe; }
.alle-header     { background: #dcfce7; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 1px;
}

.header-icons {
  display: flex;
  gap: 14px;
  color: var(--muted);
}

.header-icons a { color: var(--muted); transition: color 0.2s; }
.header-icons a:hover { color: var(--orange); }

/* HERO */
.hero {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 72px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text { flex: 1; }

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span { color: var(--orange); }

.hero-text p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image { flex: 0 0 auto; }

.hero-illustration {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(249,115,22,0.25);
}

.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: "Nunito", sans-serif;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: #fff; color: var(--orange); border: 2px solid var(--orange); }
.btn-white { background: #fff; color: var(--orange); font-weight: 700; }

/* TABS SECTION */
.tabs-section {
  padding: 60px 0 80px;
  background: #fff;
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  border: none;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.25s;
  color: rgba(255,255,255,0.75);
}

.tab-btn .tab-icon { font-size: 28px; }

/* Kinder = Orange */
.tab-btn.kinder { background: linear-gradient(135deg, #fdba74, #f97316); }
.tab-btn.kinder.active, .tab-btn.kinder:hover {
  background: linear-gradient(135deg, #f97316, #ea6a00);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.4);
}

/* Vorleser = Blau */
.tab-btn.vorleser { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.tab-btn.vorleser.active, .tab-btn.vorleser:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

/* Alle = Grün */
.tab-btn.alle { background: linear-gradient(135deg, #86efac, #16a34a); }
.tab-btn.alle.active, .tab-btn.alle:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
}

.tab-btn.active { color: #fff; }

/* Tab Content */
.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.tab-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.kinder-content .tab-intro h2 { color: var(--orange); }
.vorleser-content .tab-intro h2 { color: var(--blue); }
.alle-content .tab-intro h2 { color: var(--green); }

.tab-intro p { color: var(--muted); font-size: 1.05rem; }

/* KATEGORIE GRID — Ebene 1 Kinder */
.kategorie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
}

.kategorie-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: #fff8ee;
  border-radius: 20px;
  padding: 28px 16px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kategorie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.2);
}

.kategorie-bild {
  position: relative;
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}

.kategorie-bild::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  border: 3px solid #f4a06a;
  opacity: 0.5;
  z-index: 0;
  animation: blobRotate 8s ease-in-out infinite alternate;
}

.kategorie-bild img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%;
  transition: border-radius 0.6s ease;
  animation: blobImg 8s ease-in-out infinite alternate;
}

.kategorie-card:hover .kategorie-bild img {
  border-radius: 45% 55% 55% 45% / 45% 45% 55% 55%;
}

@keyframes blobImg {
  0%   { border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%; }
  50%  { border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%; }
  100% { border-radius: 60% 40% 45% 55% / 40% 55% 45% 60%; }
}

.kategorie-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--orange);
  text-align: center;
}

@media (max-width: 768px) {
  .kategorie-grid { grid-template-columns: repeat(2, 1fr); }
  .kategorie-bild { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
  .kategorie-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* EBENE 2 */
.ebene2-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0 16px;
}

.zurueck-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.zurueck-btn:hover { background: var(--orange-dark); transform: translateX(-3px); }

.ebene2-titel {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 2px;
}

.geschichte-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 16px 0 40px;
}

.geschichte-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: #fdd9aa;
  border-radius: 20px;
  padding: 24px 16px 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.geschichte-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.25);
}

.geschichte-bild {
  position: relative;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.geschichte-bild::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  border: 3px solid #e8834a;
  opacity: 0.5;
  z-index: 0;
  animation: blobRotate 8s ease-in-out infinite alternate;
}

.geschichte-bild img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%;
  animation: blobImg 8s ease-in-out infinite alternate;
  transition: border-radius 0.6s ease;
}

.geschichte-card:hover .geschichte-bild img {
  border-radius: 45% 55% 55% 45% / 45% 45% 55% 55%;
}

.geschichte-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #b84f0a;
  text-align: center;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .geschichte-grid { grid-template-columns: repeat(2, 1fr); }
  .geschichte-bild { width: 110px; height: 110px; }
}

/* EBENE 3 — Geschichte lesen */
.ebene3-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0 20px;
  position: relative;
}

.share-btn {
  margin-left: auto;
  background: none;
  border: 2px solid var(--orange);
  color: var(--orange);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.share-btn:hover { background: var(--orange); color: #fff; }

.share-toast {
  position: absolute;
  right: 0;
  top: 100%;
  background: #333;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 100;
}
.share-toast.visible { opacity: 1; }

.ebene3-titel {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
}

.ebene3-inhalt {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding-bottom: 60px;
}

.ebene3-bild-wrap {
  flex: 0 0 280px;
  position: sticky;
  top: 140px;
}

.ebene3-bild-wrap img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%;
  box-shadow: 0 12px 40px rgba(249,115,22,0.2);
}

.ebene3-text {
  flex: 1;
  background: #fff8ee;
  border-radius: 20px;
  padding: 36px 40px;
  font-size: 1.2rem;
  line-height: 2;
  color: #3a2a1a;
}

.ebene3-text p {
  margin-bottom: 1.4em;
}

.ebene3-text p:last-child {
  margin-bottom: 0;
}

.audio-player {
  margin-top: 20px;
  background: #fff8ee;
  border-radius: 20px;
  padding: 20px 16px;
  text-align: center;
  border: 2px solid #fdba74;
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}

.play-btn:hover  { background: #ea6c10; }
.play-btn:active { transform: scale(0.97); }

.play-btn-icon {
  font-size: 2rem;
  line-height: 1;
}

.play-btn-label {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.audio-progress-wrap {
  margin-top: 12px;
  height: 8px;
  background: #fde8cc;
  border-radius: 8px;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 8px;
  transition: width 0.5s linear;
}

@media (max-width: 768px) {
  .ebene3-inhalt { flex-direction: column; gap: 24px; }
  .ebene3-bild-wrap { flex: none; width: 100%; text-align: center; position: static; }
  .ebene3-bild-wrap img { width: 200px; height: 200px; }
  .ebene3-text { font-size: 1.1rem; padding: 24px 20px; }
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.photo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  border-radius: 24px;
  transition: transform 0.25s;
}

.photo-card:hover { transform: translateY(-6px); }

.kinder-content .photo-card   { background: #fff7ed; }
.vorleser-content .photo-card { background: #eff6ff; }
.alle-content .photo-card     { background: #f0fdf4; }

/* Blob wrapper */
.photo-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

/* Outline blob — slightly offset, behind the image */
.photo-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  opacity: 0.35;
  z-index: 0;
  animation: blobRotate 8s ease-in-out infinite alternate;
}

.kinder-content .photo-wrap::before   { border: 3px solid var(--orange); }
.vorleser-content .photo-wrap::before { border: 3px solid var(--blue); }
.alle-content .photo-wrap::before     { border: 3px solid var(--green); }

/* Image blob */
.photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%;
  transition: border-radius 0.6s ease;
}

.photo-card:hover .photo-wrap img {
  border-radius: 45% 55% 55% 45% / 45% 45% 55% 55%;
}

@keyframes blobRotate {
  0%   { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
  50%  { border-radius: 40% 60% 60% 40% / 50% 55% 45% 50%; }
  100% { border-radius: 55% 45% 38% 62% / 45% 60% 40% 55%; }
}

.photo-info { width: 100%; }

.photo-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.kinder-content .photo-info h3   { color: var(--orange); }
.vorleser-content .photo-info h3 { color: var(--blue); }
.alle-content .photo-info h3     { color: var(--green); }

.photo-info p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.mehr-link {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mehr-link:hover { opacity: 0.7; }
.kinder-content .mehr-link   { color: var(--orange); }
.vorleser-content .mehr-link { color: var(--blue); }
.alle-content .mehr-link     { color: var(--green); }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.cta-inner h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; }
.cta-inner p { font-size: 1.1rem; margin-bottom: 32px; opacity: 0.9; }

/* FOOTER */
footer {
  background: #ff9800;
  color: #fff;
  padding: 56px 0 0;
}
footer.footer-kinder   { background: #ff9800; }
footer.footer-vorleser { background: #1e88e5; }
footer.footer-alle     { background: #43a047; }

/* ── NEU KATEGORIE ─────────────────────────────────────────────────── */
.kategorie-card.kategorie-card-neu {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 2px solid #fbbf24;
  position: relative;
  overflow: visible;
}
.kategorie-card.kategorie-card-neu::after {
  content: 'NEU';
  position: absolute;
  top: -10px;
  right: -10px;
  background: #f97316;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(249,115,22,0.4);
}
.kategorie-card.kategorie-card-neu:hover {
  box-shadow: 0 12px 32px rgba(251,191,36,0.35);
}
.kat-neu-badge { font-size: 1em; }

/* ── VORLESER KACHELN ──────────────────────────────────────────────── */
.vorleser-grid { grid-template-columns: repeat(3, 1fr); }
.kategorie-card.vorleser-card { background: #eff6ff !important; }
.kategorie-card.vorleser-card h3 { color: var(--blue-dark) !important; }
.kategorie-card.vorleser-card:hover { box-shadow: 0 8px 32px rgba(37,99,235,0.18) !important; }

/* ── VORLESER DETAIL-INHALTE ───────────────────────────────────────── */
.vl-tipps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.vl-tipp-card {
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  border-radius: 18px;
  padding: 22px 20px;
  cursor: pointer;
  transition: all 0.22s;
}
.vl-tipp-card.aktiv {
  background: #dbeafe;
  border-color: var(--blue);
}
.vl-tipp-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37,99,235,0.12); }
.vl-tipp-icon  { font-size: 2rem; margin-bottom: 12px; }
.vl-tipp-titel { font-weight: 800; font-size: 1rem; color: var(--blue-dark); margin-bottom: 8px; }
.vl-tipp-text  { font-size: 0.88rem; color: #475569; line-height: 1.6; }
.vl-tipp-mehr  { margin-top: 12px; font-size: 0.78rem; color: var(--blue); font-weight: 700; }

/* Gemeinsame Box für Buch & Generator */
.vl-box {
  background: #eff6ff;
  border-radius: 20px;
  padding: 28px 24px;
  margin-top: 24px;
  border: 2px solid #bfdbfe;
}
.vl-intro { color: #475569; font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }

.vl-apikey-wrap { margin-bottom: 18px; }
.vl-field       { margin-bottom: 16px; }

.vl-label {
  display: block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.vl-hint { font-weight: 400; text-transform: none; color: #64748b; font-size: 0.78rem; margin-left: 6px; }

.vl-input, .vl-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #bfdbfe;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: #1e3a5f;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.vl-input:focus, .vl-textarea:focus { border-color: var(--blue); }
.vl-textarea { resize: vertical; }

.vl-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  transition: opacity 0.2s;
  margin-top: 4px;
}
.vl-btn:hover    { opacity: 0.9; }
.vl-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.vl-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 16px;
  color: #b91c1c;
  font-size: 0.88rem;
  margin-top: 10px;
}

.vl-beispiele-label { font-size: 0.75rem; font-weight: 700; color: #64748b; letter-spacing: 1px; text-transform: uppercase; margin: 16px 0 8px; }
.vl-beispiele { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.vl-beispiel-btn {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  color: var(--blue-dark);
  cursor: pointer;
  transition: all 0.15s;
}
.vl-beispiel-btn:hover { border-color: var(--blue); background: #dbeafe; }

.vl-loading-emoji { font-size: 2rem; letter-spacing: 8px; margin-bottom: 14px; }
.vl-loading-text  { color: #475569; font-size: 0.95rem; font-style: italic; }

.vl-loading-box {
  background: #fff;
  border: 2px solid #bfdbfe;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  margin: 20px 0;
}

.vl-loading-books {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.vl-loading-books span {
  font-size: 2.2rem;
  display: inline-block;
  animation: buchHuepfen 1s ease-in-out infinite alternate;
}
.vl-loading-books span:nth-child(2) { animation-delay: 0.15s; }
.vl-loading-books span:nth-child(3) { animation-delay: 0.30s; }
.vl-loading-books span:nth-child(4) { animation-delay: 0.45s; }
.vl-loading-books span:nth-child(5) { animation-delay: 0.60s; }

@keyframes buchHuepfen {
  from { transform: translateY(0);    opacity: 0.6; }
  to   { transform: translateY(-14px); opacity: 1; }
}

.vl-loading-bar-wrap {
  background: #dbeafe;
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 18px;
}

.vl-loading-bar {
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  border-radius: 99px;
  animation: ladebalken 1.8s ease-in-out infinite;
}

@keyframes ladebalken {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(200%); }
  100% { transform: translateX(300%); }
}

.vl-loading-msg {
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 700;
  animation: msgPuls 2.5s ease-in-out infinite;
}

@keyframes msgPuls {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* Buch-Ergebnisse */
.vl-ergebnis-header { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 12px; }
.vl-ergebnis-count  { font-weight: 800; color: var(--blue-dark); font-size: 0.9rem; }
.vl-neu-btn { background: none; border: 1px solid #bfdbfe; border-radius: 10px; padding: 6px 14px; font-family: 'Nunito', sans-serif; font-size: 0.85rem; color: #475569; cursor: pointer; }

.vl-buch-card {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vl-buch-card.aktiv { border-color: var(--blue); box-shadow: 0 4px 20px rgba(37,99,235,0.1); }
.vl-buch-main { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; }
.vl-buch-nr { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: #dbeafe; color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; }
.vl-buch-card.aktiv .vl-buch-nr { background: var(--blue); color: #fff; }
.vl-buch-info { flex: 1; min-width: 0; }
.vl-buch-titel { font-weight: 800; font-size: 1.05rem; color: #1e3a5f; margin-bottom: 4px; }
.vl-buch-autor { font-weight: 400; font-size: 0.85rem; color: #64748b; }
.vl-buch-beschr { font-size: 0.88rem; color: #475569; line-height: 1.6; margin-bottom: 10px; }
.vl-buch-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vl-tag { background: #dbeafe; color: var(--blue-dark); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.vl-toggle-icon { flex-shrink: 0; color: #93c5fd; font-size: 0.85rem; margin-top: 4px; }
.vl-buch-details { display: none; border-top: 1px solid #dbeafe; padding: 16px 20px; background: #f0f8ff; }
.vl-buch-card.aktiv .vl-buch-details { display: block; }
.vl-warum-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.vl-warum-text  { font-size: 0.92rem; color: #334155; line-height: 1.75; margin-bottom: 14px; }
.vl-buch-links  { display: flex; gap: 10px; flex-wrap: wrap; }
.vl-shop-btn { padding: 8px 16px; border-radius: 10px; font-family: 'Nunito', sans-serif; font-size: 0.85rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; background: #dbeafe; color: var(--blue-dark); }
.vl-shop-btn.vl-shop-dark { background: var(--blue-dark); color: #fff; }

/* Pills (Generator) */
.vl-pills-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px; }
.vl-pills-group {}
.vl-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.vl-pill {
  padding: 9px 16px;
  border-radius: 50px;
  border: 2px solid #bfdbfe;
  background: #fff;
  color: var(--blue-dark);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.vl-pill.aktiv { background: var(--blue); border-color: var(--blue); color: #fff; }
.vl-pill:hover:not(.aktiv) { border-color: var(--blue); background: #dbeafe; }

/* Story-Karte */
.vl-story-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #bfdbfe; box-shadow: 0 4px 20px rgba(37,99,235,0.08); margin-top: 24px; }
.vl-story-header { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; padding: 22px 28px; }
.vl-story-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: rgba(255,255,255,0.2); border-radius: 20px; padding: 4px 12px; margin-right: 6px; display: inline-block; margin-bottom: 4px; }
.vl-story-titel { font-size: 1.5rem; font-weight: 800; margin-top: 12px; line-height: 1.3; }
.vl-story-body { padding: 24px 28px; }
.vl-story-para { font-size: 1.05rem; line-height: 1.85; color: #1e293b; margin-bottom: 1em; }
.vl-story-actions { padding: 14px 28px 22px; display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid #dbeafe; }
.vl-action-btn { padding: 10px 18px; border-radius: 10px; border: 2px solid #bfdbfe; background: #eff6ff; font-family: 'Nunito', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--blue-dark); cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.15s; }
.vl-action-btn:hover { border-color: var(--blue); }
.vl-action-btn.vl-action-primary { background: var(--blue); border-color: var(--blue); color: #fff; }

@media (max-width: 600px) {
  .vorleser-grid { grid-template-columns: 1fr; }
  .vl-pills-row  { grid-template-columns: 1fr; }
}

.footer-inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand .logo { color: #fff; font-size: 1.2rem; display: block; margin-bottom: 10px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }

.footer-links, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-social a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-social a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  flex-wrap: wrap;
}
.footer-instagram {
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.85;
}
.footer-instagram:hover { opacity: 1; color: #fff; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-illustration { width: 260px; height: 260px; }
  .hero-text h1 { font-size: 1.9rem; }
  .hero-buttons { justify-content: center; }

  .tab-btn { font-size: 0.85rem; padding: 14px 8px; }
  .tab-btn .tab-icon { font-size: 22px; }

  .photo-grid { grid-template-columns: 1fr; }
  .photo-wrap { height: 200px; }

  .tab-intro h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .tab-btn span:not(.tab-icon) { display: none; }
  .tab-btn { padding: 16px; }
  .tab-btn .tab-icon { font-size: 26px; }
}

/* ══════════════════════════════════════════════════════════
   FÜR ALLE — Seiteninhalt
══════════════════════════════════════════════════════════ */

.fa-section {
  padding: 40px 0 32px;
  border-bottom: 1px solid #bbf7d0;
}
.fa-section-last { border-bottom: none; padding-bottom: 48px; }

.fa-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.fa-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.fa-section-intro {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.buch-extern-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.buch-extern-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  padding: 14px 18px;
  text-decoration: none;
  color: #1e40af;
  transition: background 0.2s, border-color 0.2s;
}
.buch-extern-link:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}
.buch-extern-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.buch-extern-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.buch-extern-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}
.buch-extern-sub {
  font-size: 0.8rem;
  opacity: 0.65;
  font-style: italic;
}

.stiftung-link-wrap {
  margin: 0 0 40px;
}
.stiftung-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 16px;
  padding: 18px 24px;
  text-decoration: none;
  color: #166534;
  transition: background 0.2s, border-color 0.2s;
  max-width: 560px;
}
.stiftung-link:hover {
  background: #dcfce7;
  border-color: #4ade80;
}
.stiftung-link-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.stiftung-link-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stiftung-link-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.stiftung-link-sub {
  font-size: 0.85rem;
  opacity: 0.75;
  font-style: italic;
}

/* ── Über mich ── */
.fa-about {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.fa-about-foto-wrap {
  flex-shrink: 0;
}
.fa-about-foto {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green);
  box-shadow: 0 6px 24px rgba(22,163,74,0.2);
  display: block;
  background: #dcfce7;
}
.fa-about-text {
  flex: 1;
  min-width: 220px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
}
.fa-about-text strong { color: var(--green-dark); }

/* ── Fakten-Kacheln ── */
.fa-fakten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fa-fakt-card {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fa-fakt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.15);
}
.fa-fakt-icon { font-size: 2.2rem; margin-bottom: 10px; }
.fa-fakt-zahl {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 6px;
  line-height: 1.1;
}
.fa-fakt-text {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
}

/* ── Einreichen ── */
.fa-einreich-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.fa-einreich-card {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fa-einreich-bild-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #dcfce7;
}
.fa-einreich-bild-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fa-einreich-titel {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-dark);
  padding: 18px 20px 8px;
}
.fa-einreich-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  padding: 0 20px 12px;
  flex: 1;
}
.fa-einreich-hinweis {
  background: #dcfce7;
  font-size: 0.82rem;
  color: #374151;
  padding: 10px 20px;
  line-height: 1.6;
}
.fa-optional { color: #6b7280; }
.fa-einreich-btn {
  display: block;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  line-height: 1.5;
  transition: background 0.2s;
}
.fa-einreich-btn span { font-size: 0.78rem; opacity: 0.85; font-weight: 400; }
.fa-einreich-btn:hover { background: var(--green-dark); }

.fa-hinweisbox {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.6;
}

/* ── Community ── */
.fa-community {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}
.fa-community-bild-wrap {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: #dcfce7;
}
.fa-community-bild-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fa-community-text {
  flex: 1;
  min-width: 220px;
}
.fa-community-text p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 24px;
}
.fa-whatsapp-btn {
  display: inline-block;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 14px;
  display: block;
  text-align: center;
}
.fa-whatsapp-btn:hover { background: #1da851; transform: translateY(-2px); }
.fa-community-sub {
  font-size: 0.82rem;
  color: #6b7280;
  text-align: center;
}

.fa-stiftung-card {
  display: block;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 20px;
  padding: 28px 32px;
  text-decoration: none;
  color: #166534;
  max-width: 560px;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1.7;
}
.fa-stiftung-card:hover {
  background: #dcfce7;
  border-color: #4ade80;
}
.fa-stiftung-card p {
  margin: 0 0 10px;
  font-size: 1rem;
}
.fa-stiftung-card p:last-child { margin-bottom: 0; }
.fa-stiftung-empfehlung {
  font-weight: 800;
  font-size: 1.05rem !important;
  margin-bottom: 14px !important;
}
.fa-stiftung-cta {
  font-weight: 700;
  margin-top: 14px !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .fa-fakten-grid    { grid-template-columns: 1fr 1fr; }
  .fa-einreich-grid  { grid-template-columns: 1fr; }
  .fa-about          { flex-direction: column; text-align: center; }
  .fa-community      { flex-direction: column; }
  .fa-community-bild-wrap { width: 100%; height: 200px; }
}
@media (max-width: 480px) {
  .fa-fakten-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Impressum & Kontakt ── */
.fa-impressum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.fa-imp-block {}
.fa-imp-h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 22px 0 6px;
}
.fa-imp-h3:first-child { margin-top: 0; }
.fa-imp-block p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.75;
}

/* Kontaktformular */
.fa-kontakt-form { display: flex; flex-direction: column; gap: 14px; }
.fa-kf-field     { display: flex; flex-direction: column; gap: 6px; }
.fa-kf-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green-dark);
}
.fa-kf-input, .fa-kf-textarea {
  padding: 12px 16px;
  border: 2px solid #bbf7d0;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: #1a2e1a;
  background: #f0fdf4;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  width: 100%;
}
.fa-kf-input:focus, .fa-kf-textarea:focus { border-color: var(--green); }
.fa-kf-textarea { resize: vertical; }
.fa-kf-btn {
  padding: 15px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22,163,74,0.3);
  transition: opacity 0.2s;
}
.fa-kf-btn:hover { opacity: 0.9; }
.fa-kf-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
}
.fa-kf-ferror {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  color: #b91c1c;
  font-size: 0.9rem;
}

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

/* Drachen-Animation */
.drache-bühne {
  width: 100%;
  height: 130px;
  position: relative;
  overflow: hidden;
  margin: -12px 0 -28px;
}
.drache-laufer {
  position: absolute;
  bottom: 8px;
  left: 0;
  animation: dracheWandern 28s linear infinite;
}
.drache-img {
  height: 90px;
  width: auto;
  display: block;
  animation: dracheHüpfen 0.8s ease-in-out infinite alternate;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.10));
}
@keyframes dracheWandern {
  0%   { left: -120px; }
  48%  { left: calc(100% + 20px); }
  48.01% { left: calc(100% + 20px); }
  50%  { left: calc(100% + 20px); }
  98%  { left: -120px; }
  100% { left: -120px; }
}
@keyframes dracheHüpfen {
  0%   { transform: translateY(0px) rotate(-1deg); }
  100% { transform: translateY(-6px) rotate(1deg); }
}

/* SEO Intro Block */
.seo-intro {
  padding: 28px 0 8px;
  max-width: 700px;
}
.seo-intro h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 10px;
}
.seo-intro p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
