/* Miss-Scully — Animalia Versicherung page styles (lädt nach homepage.css) */

/* ---------- Video-Hero ---------- */
.animalia-hero {
  background: var(--dark) url("assets/westie-vet.jpg") center / cover no-repeat;
}
.animalia-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%);
}
.animalia-hero .pet-toggle {
  margin: 22px 0 4px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.animalia-hero .pet-toggle .seg-btn { color: rgba(243, 237, 227, 0.85); }
.animalia-hero .pet-toggle .seg-btn.active { background: var(--card); color: var(--ink); }

/* ---------- Animated stats ---------- */
.astat-section {
  max-width: var(--maxw, 1200px);
  margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) clamp(20px, 4vw, 56px) 0;
}
.astat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.astat {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow, 0 10px 30px -18px rgba(34, 28, 54, 0.25));
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.astat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.astat-label { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Kosten-Szenarien ---------- */
.scenario-section {
  max-width: var(--maxw, 1200px);
  margin: 0 auto;
  padding: clamp(36px, 6vh, 70px) clamp(20px, 4vw, 56px) 0;
}
.scenario-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
}
.scenario-chip {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--card);
  border: 1.5px solid rgba(34, 28, 54, 0.12);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.scenario-chip:hover { border-color: var(--accent); color: var(--ink); }
.scenario-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.scenario-panel {
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(34, 28, 54, 0.35));
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.scenario-desc h3 { margin: 0 0 8px; }
.scenario-desc p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 18px; }
.scenario-total {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 42px);
  color: var(--ink);
}
.scenario-total small {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.cost-bars { display: grid; gap: 18px; }
.cost-bar-row { display: grid; gap: 7px; }
.cost-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14.5px;
}
.cost-bar-head strong { font-variant-numeric: tabular-nums; }
.cost-bar-track {
  height: 16px;
  border-radius: 999px;
  background: rgba(34, 28, 54, 0.08);
  overflow: hidden;
}
.cost-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cost-bar-fill.refund { background: var(--accent); }
.cost-bar-fill.own { background: var(--dark, #221c36); }
.scenario-fine { font-size: 12.5px; color: var(--ink-soft); margin: 14px 0 0; }

/* ---------- Prämienschätzer ---------- */
.estimator-section {
  max-width: var(--maxw, 1200px);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) clamp(20px, 4vw, 56px) 0;
}
.estimator {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(34, 28, 54, 0.35));
}
.est-controls {
  background: var(--card);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 26px;
  align-content: start;
}
.est-row { display: grid; gap: 12px; }
.est-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.est-age { font-size: 17px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.est-plans { margin: 0; justify-content: flex-start; }
.est-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(34, 28, 54, 0.12);
  outline: none;
  cursor: pointer;
}
.est-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #fff;
  box-shadow: 0 3px 10px rgba(34, 28, 54, 0.3);
  cursor: grab;
}
.est-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #fff;
  box-shadow: 0 3px 10px rgba(34, 28, 54, 0.3);
  cursor: grab;
}
.est-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.est-includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.est-includes li { display: flex; gap: 10px; align-items: flex-start; }
.est-includes .trust-dot { margin-top: 6px; flex-shrink: 0; }
.est-result {
  background: var(--dark, #221c36);
  color: var(--on-dark, #f3ede3);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.est-result-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.65);
}
.est-amount { display: flex; align-items: baseline; gap: 8px; }
.est-cur { font-size: 19px; opacity: 0.8; }
.est-big {
  font-family: var(--font-display);
  font-size: clamp(56px, 5.5vw, 84px);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.est-per { font-size: 17px; opacity: 0.8; }
.est-note { font-size: 14px; color: rgba(243, 237, 227, 0.75); margin: 0; }
.est-result .btn { align-self: flex-start; margin-top: 6px; }
.est-fine { font-size: 12px; color: rgba(243, 237, 227, 0.5); margin: 0; }

/* ---------- Video placeholder bits ---------- */
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.video-play-badge {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px rgba(34, 28, 54, 0.4);
}
.play-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--accent);
  margin-left: 5px;
}
.video-ph-note {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: rgba(243, 237, 227, 0.85);
  background: rgba(34, 28, 54, 0.65);
  border-radius: 10px;
  padding: 8px 14px;
  margin: 16px 0 0;
  max-width: 520px;
  text-align: center;
}

/* ---------- Galerie ---------- */
.agallery-section {
  max-width: var(--maxw, 1200px);
  margin: 0 auto;
  padding: clamp(36px, 6vh, 70px) clamp(20px, 4vw, 56px) 0;
}
.agallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.agallery-toggle { margin-bottom: 26px; }
.agallery-card {
  display: grid;
  gap: 10px;
  animation: agal-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes agal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .agallery-card { animation: none; }
}
.agallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow, 0 10px 30px -18px rgba(34, 28, 54, 0.25));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.agallery-card:hover .agallery-media {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(34, 28, 54, 0.4);
}
.agallery-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.agallery-cap { font-size: 14px; color: var(--ink-soft); text-align: center; }

/* ---------- Tweaks: Charakter & Bewegung ---------- */
body[data-tone="freundlich"] h1,
body[data-tone="freundlich"] h2,
body[data-tone="freundlich"] h3 {
  font-weight: 600;
  letter-spacing: -0.015em;
}
body[data-tone="freundlich"] .astat-num,
body[data-tone="freundlich"] .est-big,
body[data-tone="freundlich"] .scenario-total {
  font-weight: 700;
}
body[data-tone="freundlich"] .btn,
body[data-tone="freundlich"] .plan-card,
body[data-tone="freundlich"] .feature-card,
body[data-tone="freundlich"] .astat {
  border-radius: 26px;
}

body[data-motion="ruhig"] .video-hero-bg { display: none; }
body[data-motion="ruhig"] .animalia-hero {
  background: var(--dark) url("assets/westie-vet.jpg") center / cover no-repeat;
}
body[data-motion="ruhig"] [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
body[data-motion="ruhig"] .showcase-video { display: none; }
body[data-motion="ruhig"] .video-frame .video-placeholder { display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .astat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimator { grid-template-columns: 1fr; }
  .scenario-panel { grid-template-columns: 1fr; }
  .agallery-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .astat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .astat { padding: 18px 16px 16px; }
}
