/* Miss-Scully — Anifit Shop: Welpenfibel-Guide + Probierset (lädt nach homepage.css) */

.wf-section {
  max-width: var(--maxw, 1200px);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) clamp(20px, 4vw, 56px) 0;
}
.wf-card {
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(34, 28, 54, 0.35));
  padding: clamp(22px, 3vw, 40px);
}
.wf-tabs { margin: 0 0 26px; }
.wf-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.wf-media {
  position: sticky;
  top: 90px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow, 0 10px 30px -18px rgba(34, 28, 54, 0.25));
  animation: wf-in 0.45s ease both;
}
.wf-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
@media (max-width: 800px) {
  .wf-layout { grid-template-columns: 1fr; }
  .wf-media { position: static; max-width: 340px; }
  .wf-media img { aspect-ratio: 4 / 3; }
}
.wf-body { animation: wf-in 0.35s ease both; }
@keyframes wf-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-body { animation: none; }
}
.wf-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(34, 28, 54, 0.08);
}

/* Checkliste */
.wf-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}
.wf-progress-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(34, 28, 54, 0.08);
  overflow: hidden;
}
.wf-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.wf-progress-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.wf-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}
.wf-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 15px;
}
.wf-check:hover { background: var(--accent-tint); }
.wf-check input { position: absolute; opacity: 0; pointer-events: none; }
.wf-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  border: 2px solid rgba(34, 28, 54, 0.25);
  background: #fff;
  position: relative;
  transition: all 0.18s ease;
}
.wf-check.done .wf-box {
  background: var(--accent);
  border-color: var(--accent);
}
.wf-check.done .wf-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.wf-check.done .wf-check-text {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(34, 28, 54, 0.35);
}
.wf-fine { font-size: 12.5px; color: var(--ink-soft); margin: 14px 0 0; }

/* Inhalte */
.wf-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 44px);
}
.wf-cols h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  margin: 0 0 12px;
}
.wf-cols h4 + .wf-list { margin-bottom: 22px; }
.wf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 15px;
  color: var(--ink-soft);
}
.wf-list li { display: flex; gap: 10px; align-items: flex-start; }
.wf-list .trust-dot { margin-top: 7px; flex-shrink: 0; }

/* Ernährung: Adult-Wechsel */
.wf-sizes { margin: 0 0 16px; justify-content: flex-start; }
.wf-size-result {
  background: var(--accent-tint);
  border-radius: 16px;
  padding: 20px 22px;
}
.wf-size-result strong { display: block; font-size: 16px; }
.wf-size-months {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--accent-deep);
  display: block;
  margin: 4px 0 8px;
}
.wf-size-result p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Entwicklung: Timeline */
.wf-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 6px 0 22px;
}
.wf-timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 10px;
  height: 2px;
  background: rgba(34, 28, 54, 0.12);
}
.wf-phase {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 6px;
  font-family: var(--font-body);
}
.wf-phase-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid rgba(34, 28, 54, 0.25);
  transition: all 0.2s ease;
}
.wf-phase.active .wf-phase-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}
.wf-phase-week { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.wf-phase.active .wf-phase-week { color: var(--ink); }
.wf-phase-card {
  background: var(--accent-tint);
  border-radius: 16px;
  padding: 20px 22px;
}
.wf-phase-card strong { font-size: 16.5px; }
.wf-phase-card p { font-size: 15px; color: var(--ink-soft); margin: 6px 0 0; }

/* Gefahren */
.wf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-chip {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(34, 28, 54, 0.06);
  border: 1px solid rgba(34, 28, 54, 0.12);
  border-radius: 999px;
  padding: 7px 14px;
}

/* Video-Hero */
.anifit-hero .video-hero-shade {
  background:
    linear-gradient(to top, rgba(34, 28, 54, 0.92) 0%, rgba(34, 28, 54, 0.45) 50%, rgba(34, 28, 54, 0.2) 100%);
}
.anifit-hero .pet-toggle {
  margin: 22px 0 4px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.anifit-hero .pet-toggle .seg-btn { color: rgba(243, 237, 227, 0.85); }
.anifit-hero .pet-toggle .seg-btn.active { background: var(--card); color: var(--ink); }
.anifit-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.anifit-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(243, 237, 227, 0.92);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ---------- Tweaks: Charakter & Bewegung ---------- */
body[data-tone="freundlich"] h1,
body[data-tone="freundlich"] h2,
body[data-tone="freundlich"] h3,
body[data-tone="freundlich"] .wf-cols h4 {
  font-weight: 600;
  letter-spacing: -0.015em;
}
body[data-tone="freundlich"] .wf-size-months {
  font-weight: 700;
}
body[data-tone="freundlich"] .btn,
body[data-tone="freundlich"] .feature-card,
body[data-tone="freundlich"] .sortiment-tile,
body[data-tone="freundlich"] .wf-card,
body[data-tone="freundlich"] .amoment-media {
  border-radius: 26px;
}

body[data-motion="ruhig"] .video-hero-bg { display: none; }
body[data-motion="ruhig"] .anifit-hero {
  background: var(--dark) url("assets/fibel/p02-2.png") center 30% / cover no-repeat;
}
body[data-motion="ruhig"] [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
body[data-motion="ruhig"] .tilt3d { transform: none !important; }
body[data-motion="ruhig"] .tilt-glare { display: none; }
body[data-motion="ruhig"] .vstory-media { display: none; }
body[data-motion="ruhig"] .pulse-dot { animation: none; }
body[data-motion="ruhig"] .wf-body,
body[data-motion="ruhig"] .wf-media,
body[data-motion="ruhig"] .agallery-card { animation: none; }

.anifit-video-toggle { margin-bottom: 26px; }

/* 3D-Tilt */
.tilt3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  border-radius: 18px;
  height: 100%;
}
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.28), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.tilt3d:hover .tilt-glare { opacity: 1; }
.tilt3d > a, .tilt3d > figure { height: 100%; }
.sortiment-grid .tilt3d:hover { z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .tilt3d { transition: none; }
  .tilt-glare { display: none; }
}

/* Foto-Momente */
.amoments-section {
  max-width: var(--maxw, 1200px);
  margin: 0 auto;
  padding: clamp(36px, 6vh, 70px) clamp(20px, 4vw, 56px) 0;
}
.amoments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  perspective: 1200px;
}
.amoment-card {
  margin: 0;
  display: grid;
  gap: 10px;
}
.amoment-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow, 0 10px 30px -18px rgba(34, 28, 54, 0.25));
}
.amoment-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.amoment-card figcaption { font-size: 13.5px; color: var(--ink-soft); text-align: center; }
@media (max-width: 1000px) {
  .amoments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .amoments-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}

/* Probierset-Spotlight */
.spotlight-band { margin-top: clamp(40px, 6vh, 80px); }

@media (max-width: 800px) {
  .wf-checklist { grid-template-columns: 1fr; }
  .wf-cols { grid-template-columns: 1fr; }
  .wf-timeline { flex-wrap: wrap; gap: 14px; }
  .wf-timeline::before { display: none; }
  .wf-phase { grid-auto-flow: column; align-items: center; }
}
