/* Miss-Scully homepage — brand: night navy #221C36 + copper #B77253 */

:root {
  --bg: #F8F4EC;
  --bg-soft: #F1EAE0;
  --card: #FFFDF9;
  --ink: #221C36;
  --ink-soft: rgba(34, 28, 54, 0.72);
  --accent: #B77253;
  --accent-deep: #9A5B3F;
  --accent-tint: rgba(183, 114, 83, 0.14);
  --dark: #221C36;
  --dark-2: #2C2547;
  --on-dark: #F3EDE3;
  --on-dark-soft: rgba(243, 237, 227, 0.72);
  --paw: rgba(183, 114, 83, 0.35);
  --paw-on-dark: #B77253;
  --font-display: "DM Serif Display", serif;
  --font-body: "Instrument Sans", sans-serif;
  --shadow-lg: 0 24px 60px -18px rgba(34, 28, 54, 0.28);
  --shadow-md: 0 14px 34px -12px rgba(34, 28, 54, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.4em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(22px, 2vw, 27px); }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker-light { color: var(--accent); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(183, 114, 83, 0.7);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(34, 28, 54, 0.25);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--on-dark); color: var(--dark); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(243, 237, 227, 0.4); color: var(--on-dark); }
.btn-ghost-light:hover { border-color: var(--on-dark); transform: translateY(-2px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(20px, 4vw, 56px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(248, 244, 236, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(34, 28, 54, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 96px; width: auto; display: block; border-radius: 16px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--accent-deep); }
.main-nav a.active { color: var(--accent-deep); position: relative; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.main-nav .nav-cta { color: #fff; padding: 9px 18px; }
.main-nav .nav-cta:hover { color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 5vh, 64px) clamp(20px, 4vw, 56px) clamp(40px, 7vh, 90px);
  max-width: 1360px;
  margin: 0 auto;
}
.hero-copy .lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-note { font-size: 14px; color: var(--ink-soft); }

.hero-stage {
  perspective: 1300px;
  min-height: clamp(380px, 46vw, 560px);
  position: relative;
}
.hero-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-scene > * { position: absolute; }

.blob {
  inset: 6% 2% 6% 6%;
  background: radial-gradient(circle at 35% 30%, var(--accent-tint), rgba(183, 114, 83, 0.05) 70%);
  border-radius: 46% 54% 55% 45% / 48% 44% 56% 52%;
}

.paw-trail {
  left: 2%;
  bottom: 8%;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  transform-style: preserve-3d;
}
.paw-trail svg:nth-child(2) { transform: rotate(18deg) translateY(-16px); }
.paw-trail svg:nth-child(3) { transform: rotate(32deg) translateY(-34px); }

.hero-photo {
  top: 6%;
  left: 12%;
  width: clamp(240px, 26vw, 360px);
  filter: drop-shadow(0 30px 40px rgba(34, 28, 54, 0.3));
}
.hero-photo image-slot {
  width: 100%;
  height: clamp(220px, 24vw, 330px);
  display: block;
  border: 6px solid var(--card);
  border-radius: 32px;
  background: var(--bg-soft);
}
.photo-tag {
  position: absolute;
  left: 18px;
  top: -16px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.product-card {
  right: 4%;
  bottom: 14%;
  width: clamp(180px, 17vw, 230px);
  padding: 12px;
}
.product-card image-slot {
  width: 100%;
  height: clamp(110px, 11vw, 150px);
  display: block;
  background: var(--bg-soft);
}
.product-meta { display: grid; gap: 2px; padding: 10px 4px 4px; }
.product-meta strong { font-size: 14.5px; }
.product-meta span { font-size: 12.5px; color: var(--ink-soft); }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.gps-chip { top: 4%; right: 12%; }
.ship-chip { top: 58%; left: 0; color: var(--accent-deep); }

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3FA46A;
  position: relative;
}
@media (prefers-reduced-motion: no-preference) {
  .pulse-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(63, 164, 106, 0.5);
    animation: pulse 1.8s ease-out infinite;
  }
  @keyframes pulse {
    from { transform: scale(0.5); opacity: 1; }
    to { transform: scale(1.5); opacity: 0; }
  }
  .float-a { animation: floaty 7s ease-in-out infinite; }
  .float-b { animation: floaty 8.5s ease-in-out 0.8s infinite; }
  .float-c { animation: floaty 6s ease-in-out 0.4s infinite; }
  .float-d { animation: floaty 7.5s ease-in-out 1.4s infinite; }
  @keyframes floaty {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -12px; }
  }
}

/* ---------- trust bar ---------- */

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  padding: 22px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(34, 28, 54, 0.1);
  border-bottom: 1px solid rgba(34, 28, 54, 0.1);
  max-width: 1360px;
  margin: 0 auto;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- sections shared ---------- */

section { scroll-margin-top: 90px; }
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 20px;
}

/* ---------- pillars ---------- */

.pillars { padding: clamp(64px, 9vh, 110px) clamp(20px, 4vw, 56px); max-width: 1360px; margin: 0 auto; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.pillar-cell.span-7 { grid-column: span 7; }
.pillar-cell.span-5 { grid-column: span 5; }
.tilt-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  height: 100%;
  min-height: 230px;
  padding: 26px 28px 28px;
  border-radius: 28px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}
.tilt-card:hover { box-shadow: var(--shadow-lg); }
.tone-green { background: linear-gradient(140deg, #E9EFE2 0%, #DEE8D8 100%); }
.tone-terra { background: linear-gradient(140deg, #F6E6D7 0%, #F0DCC8 100%); }
.tone-sand { background: linear-gradient(140deg, #F2EBD9 0%, #ECE2C8 100%); }
.tone-ink {
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark);
}
.pillar-ghost {
  position: absolute;
  top: -34px;
  right: -6px;
  font-family: var(--font-display);
  font-size: clamp(110px, 12vw, 170px);
  line-height: 1;
  color: rgba(34, 28, 54, 0.07);
  pointer-events: none;
  user-select: none;
}
.tone-ink .pillar-ghost { color: rgba(183, 114, 83, 0.22); }
.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.pillar-tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(255, 255, 253, 0.65);
  border: 1px solid rgba(183, 114, 83, 0.3);
  padding: 6px 13px;
  border-radius: 999px;
}
.tone-ink .pillar-tag {
  color: var(--accent);
  background: rgba(183, 114, 83, 0.12);
  border-color: rgba(183, 114, 83, 0.4);
}
.pillar-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 28, 54, 0.3);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tone-ink .pillar-arrow { border-color: rgba(243, 237, 227, 0.4); }
.tilt-card:hover .pillar-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(4px);
}
.pillar-body { position: relative; z-index: 1; }
.pillar-body h3 {
  font-size: clamp(24px, 2.2vw, 31px);
  margin-bottom: 8px;
}
.tilt-card p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 44ch;
}
.tone-ink p { color: var(--on-dark-soft); }
.pillar-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
}
.tilt-card:hover .pillar-link { text-decoration: underline; }

/* ---------- story (dark) ---------- */

.story {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark);
  padding: clamp(70px, 10vh, 120px) clamp(20px, 4vw, 56px);
}
.story-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.story h2 { color: var(--on-dark); }
.story-lede { color: var(--on-dark-soft); font-size: 18px; margin-bottom: 28px; }
.story-media { position: relative; }
.story-media image-slot {
  width: 100%;
  height: clamp(240px, 26vw, 360px);
  display: block;
  border-radius: 24px;
  outline: 1px solid rgba(183, 114, 83, 0.45);
  outline-offset: 8px;
}
.story-media-tag {
  display: block;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--on-dark-soft);
  text-align: center;
}
.story-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: pts;
}
.story-points li {
  counter-increment: pts;
  background: rgba(243, 237, 227, 0.06);
  border: 1px solid rgba(243, 237, 227, 0.12);
  border-radius: 18px;
  padding: 20px 22px 14px;
  position: relative;
}
.story-points li::before {
  content: counter(pts, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 20px;
  display: block;
  margin-bottom: 6px;
}
.story-points strong { font-size: 17px; }
.story-points p { color: var(--on-dark-soft); font-size: 15px; margin: 4px 0 0; }

/* ---------- Animalia calculator ---------- */

.animalia {
  padding: clamp(64px, 9vh, 110px) clamp(20px, 4vw, 56px) clamp(48px, 7vh, 80px);
  max-width: 1160px;
  margin: 0 auto;
}
.section-sub {
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 12px auto 0;
}
.calc-frame {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  overflow: hidden;
}
.calc-frame iframe {
  display: block;
  width: 100%;
  height: clamp(620px, 80vh, 860px);
  border: none;
  border-radius: 16px;
  background: #fff;
}
.calc-fallback {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 16px;
}
.calc-fallback a { color: var(--accent-deep); font-weight: 600; }

/* ---------- the duo ---------- */

.duo { padding: clamp(64px, 9vh, 110px) clamp(20px, 4vw, 56px); max-width: 1160px; margin: 0 auto; }
.duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.duo-card {
  background: var(--card);
  border-radius: 26px;
  padding: 18px 18px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.duo-card image-slot {
  width: 100%;
  height: clamp(260px, 28vw, 380px);
  display: block;
  background: var(--bg-soft);
}
.duo-role {
  margin: 20px 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.duo-quote { color: var(--ink-soft); font-size: 15.5px; max-width: 40ch; margin: 0 auto; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark);
  text-align: center;
  padding: clamp(70px, 10vh, 110px) 24px;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-soft); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 18px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--on-dark-soft);
  padding: 56px clamp(20px, 4vw, 56px) 28px;
}
.footer-grid {
  max-width: 1360px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-logo { width: 200px; max-width: 100%; display: block; border-radius: 10px; }
.footer-brand p { font-size: 14.5px; margin-top: 14px; }
.site-footer h4 {
  color: var(--on-dark);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 4px 0 14px;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  font-size: 15px;
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--accent); }
.footer-legal {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  border-top: 1px solid rgba(243, 237, 227, 0.14);
  padding-top: 22px;
  font-size: 13px;
}
.footer-legal-links { display: flex; gap: 18px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- reveal animations ---------- */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  }
  [data-reveal].pre {
    opacity: 0;
    transform: translateY(26px);
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) and (min-width: 881px) {
  /* narrow stage band: avoid chip/card collisions */
  .ship-chip { display: none; }
  .product-card { bottom: 8%; right: 0; }
  .gps-chip { top: 0; right: 0; }
}

@media (max-width: 1080px) {
  .pillar-cell.span-7, .pillar-cell.span-5 { grid-column: span 6; }
  .story-inner { grid-template-columns: 1fr 1fr; }
  .story-media { display: none; }
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 12px; }
  .hero-stage { min-height: 440px; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-photo { left: 6%; width: clamp(240px, 52vw, 320px); }
  .hero-photo image-slot { height: clamp(220px, 48vw, 300px); }
  .product-card { right: 0; bottom: 10%; }
  .gps-chip { right: 2%; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 320px);
    background: var(--bg);
    box-shadow: -20px 0 60px rgba(34, 28, 54, 0.25);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 32px;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 19px; padding: 10px 0; }
  .main-nav .nav-cta { margin-top: 16px; padding: 13px 26px; }
  .burger { display: flex; z-index: 60; }
  .brand-logo { height: 72px; border-radius: 12px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .story-inner { grid-template-columns: 1fr; }
  .pillar-cell.span-7, .pillar-cell.span-5 { grid-column: span 12; }
  .tilt-card { min-height: 0; gap: 26px; }
  .duo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stage { min-height: 400px; }
  .ship-chip { display: none; }
  .trust-bar { gap: 10px 22px; padding-left: 16px; padding-right: 16px; }
}


/* ============ subpages ============ */

.page-hero {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 7vh, 80px) 24px clamp(28px, 4vh, 48px);
}
.page-hero .lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 auto;
}
.page-hero-actions { justify-content: center; }

.feature-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(16px, 3vh, 40px) clamp(20px, 4vw, 56px) clamp(40px, 6vh, 70px);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border-radius: 20px;
  padding: 26px 24px 18px;
  box-shadow: var(--shadow-md);
}
.feature-card strong { font-size: 17px; display: block; margin-bottom: 6px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

.split-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 90px) clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split-media { position: relative; }
.split-media image-slot {
  width: 100%;
  height: clamp(280px, 32vw, 420px);
  display: block;
  background: var(--bg-soft);
  border: 6px solid var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.static-chip {
  position: absolute;
  top: -14px;
  right: -10px;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: steps;
}
.step-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.step-list li::before {
  content: counter(steps);
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent-deep);
  background: var(--accent-tint);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.step-list strong { font-size: 17px; }
.step-list p { color: var(--ink-soft); font-size: 15px; margin: 2px 0 0; }

.feature-list { display: grid; gap: 18px; }
.feature-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}
.feature-row .trust-dot { margin-top: 9px; }
.feature-row strong { font-size: 16.5px; }
.feature-row p { color: var(--ink-soft); font-size: 15px; margin: 2px 0 0; }

.product-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(16px, 3vh, 40px) clamp(20px, 4vw, 56px) clamp(48px, 7vh, 80px);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.product-card-tile {
  background: var(--card);
  border-radius: 20px;
  padding: 12px 12px 16px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-tile image-slot {
  width: 100%;
  height: clamp(180px, 20vw, 240px);
  display: block;
  background: var(--bg-soft);
}
.product-card-tile strong { font-size: 16px; text-align: center; }

.contact-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(56px, 8vh, 90px);
}
.contact-card {
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.contact-card h3 { margin-bottom: 10px; }
.contact-card p { color: var(--ink-soft); }
.contact-card a { color: inherit; }
.contact-card .btn { margin-top: 6px; }

@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-media { max-width: 480px; margin: 0 auto; width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
}


/* ============ Tractive interactive page ============ */

.stat-bar { border-top: none; }

.demo-section {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 80px) clamp(20px, 4vw, 56px) clamp(24px, 4vh, 48px);
}
.demo-map-wrap {
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
}
.demo-map {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #EDE7DA 0%, #E7E2D2 100%);
}
.demo-map.alarm { outline: 3px solid rgba(196, 74, 56, 0.55); outline-offset: -3px; }
.map-park {
  position: absolute;
  right: -6%;
  top: -10%;
  width: 44%;
  height: 56%;
  background: rgba(122, 156, 116, 0.4);
  border-radius: 38% 62% 55% 45% / 50% 45% 55% 50%;
}
.map-pond {
  position: absolute;
  right: 12%;
  top: 12%;
  width: 11%;
  aspect-ratio: 1;
  background: rgba(126, 158, 184, 0.55);
  border-radius: 50%;
}
.map-street {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
}
.street-h { left: 0; right: 0; top: 46%; height: 5.5%; }
.street-v { top: 0; bottom: 0; left: 22%; width: 4%; }

.map-fence {
  position: absolute;
  transform: translate(-50%, -50%);
  height: 0;
  border-radius: 50%;
  border: 2.5px dashed rgba(47, 107, 79, 0.75);
  background: rgba(47, 107, 79, 0.08);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.map-fence.breached {
  border-color: rgba(196, 74, 56, 0.85);
  background: rgba(196, 74, 56, 0.08);
}
.map-home {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 4px;
}
.home-square {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--dark);
}
.map-label {
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 255, 253, 0.92);
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(34, 28, 54, 0.18);
  white-space: nowrap;
}
.map-trail .trail-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.map-dog {
  position: absolute;
  left: 30%;
  top: 62%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 5px;
  z-index: 3;
}
.dog-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(183, 114, 83, 0.6);
  position: relative;
}
@media (prefers-reduced-motion: no-preference) {
  .dog-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(183, 114, 83, 0.55);
    animation: pulse 2s ease-out infinite;
  }
  .map-dog.pinging .dog-dot {
    animation: ping-blink 0.5s steps(2, start) 5;
  }
  @keyframes ping-blink {
    to { filter: brightness(1.8); }
  }
}
.map-alert {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFF8F4;
  border: 1.5px solid rgba(196, 74, 56, 0.55);
  color: #8C3A2C;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 14px;
  padding: 10px 14px;
  z-index: 4;
  box-shadow: var(--shadow-md);
}
.alert-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C44A38;
  flex-shrink: 0;
}
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 14px 6px 4px;
}
.demo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}
.toggle-knob {
  width: 40px;
  height: 23px;
  border-radius: 999px;
  background: rgba(34, 28, 54, 0.22);
  position: relative;
  transition: background 0.2s ease;
}
.toggle-knob::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.demo-toggle.on .toggle-knob { background: var(--accent); }
.demo-toggle.on .toggle-knob::after { transform: translateX(16px); }
.demo-btn { padding: 9px 18px; font-size: 14px; }

.feature-tabs-section, .model-section, .faq-section {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 70px) clamp(20px, 4vw, 56px);
}
.seg-control {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 5px;
  width: fit-content;
  margin: 0 auto 30px;
}
.seg-btn {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: none;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg-btn.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(34, 28, 54, 0.14);
}
.feature-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin: 0 auto; }

.model-card {
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3.5vw, 40px);
  max-width: 880px;
  margin: 0 auto;
}
.model-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.model-head h3 { margin: 0; }
.model-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin-bottom: 24px;
}
.spec { display: grid; gap: 3px; }
.spec-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.spec strong { font-size: 16.5px; }
.spec-note { font-size: 13px; color: var(--ink-soft); }
.model-always {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-top: 1px solid rgba(34, 28, 54, 0.1);
  padding-top: 18px;
}
.model-footnote {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 16px 0 0;
}

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  cursor: pointer;
}
.faq-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(225deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 220px; }
.faq-a p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

@media (max-width: 640px) {
  .feature-grid-4 { grid-template-columns: 1fr; }
  .model-specs { grid-template-columns: 1fr; }
  .seg-btn { padding: 9px 14px; font-size: 13.5px; }
  .map-label { font-size: 10.5px; }
}


/* ============ legal pages ============ */

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(56px, 8vh, 90px);
}
.legal-section {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 26px 28px 16px;
  margin-bottom: 16px;
}
.legal-section h3 { font-size: 20px; margin-bottom: 10px; }
.legal-section p { color: var(--ink-soft); font-size: 15.5px; }
.legal-meta {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 28px;
}
.legal-meta a { color: var(--accent-deep); }


/* product tile as link */
.product-card-tile { text-decoration: none; color: inherit; }
.tile-link { text-align: center; }


/* Tractive cat band */
.cat-band {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(40px, 6vh, 70px);
}
.cat-band-card {
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.cat-band-card h2 { margin-bottom: 8px; }
.cat-band-text { max-width: 52ch; margin: 0; }


/* ============ partner shop grid ============ */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.shop-card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 14px 14px 18px;
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shop-img {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.shop-card strong { font-size: 15.5px; }
.shop-price { font-size: 13.5px; color: var(--accent-deep); font-weight: 600; }
.shop-note { text-align: center; margin-top: 22px; }

@media (max-width: 1000px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .shop-grid { grid-template-columns: 1fr; } }


/* ============ Animalia interactive page ============ */

.pet-toggle { margin: 0 0 6px; }

.plan-section, .benefit-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 60px) clamp(20px, 4vw, 56px);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-card.popular {
  outline: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-card h3 { margin-bottom: 12px; }
.plan-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.plan-list .trust-dot { margin-top: 7px; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.benefit-card strong { font-size: 16px; }
.benefit-card p { font-size: 14px; }

@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
}


/* ============ nature hero background ============ */

.hero { position: relative; }
.hero-copy, .hero-stage { position: relative; z-index: 1; }
.hero-nature {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}
.nature-glow {
  display: none;
}
.pine {
  position: absolute;
  bottom: -8px;
  width: clamp(90px, 11vw, 150px);
  height: auto;
  fill: #2A523E;
  opacity: 0.1;
}
.pine-left { left: -8px; }
.pine-right { right: -8px; transform: scaleX(-1); }
.pollen {
  position: absolute;
  border-radius: 50%;
  background: #D9A441;
  opacity: 0.4;
}
.pollen.p1 { width: 7px; height: 7px; left: 9%; top: 22%; }
.pollen.p2 { width: 6px; height: 6px; left: 30%; top: 66%; }
.pollen.p3 { width: 9px; height: 9px; left: 53%; top: 13%; }
.pollen.p4 { width: 6px; height: 6px; left: 71%; top: 72%; }
.pollen.p5 { width: 8px; height: 8px; right: 7%; top: 36%; }
@media (prefers-reduced-motion: no-preference) {
  .pollen { animation: pollen-drift 9s ease-in-out infinite alternate; }
  .pollen.p2 { animation-duration: 11s; animation-delay: 1.2s; }
  .pollen.p3 { animation-duration: 8s; animation-delay: 0.6s; }
  .pollen.p4 { animation-duration: 12s; animation-delay: 2s; }
  .pollen.p5 { animation-duration: 10s; animation-delay: 0.3s; }
  @keyframes pollen-drift {
    from { transform: translate(0, 0); }
    to { transform: translate(14px, -18px); }
  }
}

/* ============ 3D showcase ============ */

.showcase3d {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(48px, 7vh, 90px) clamp(20px, 4vw, 56px) 0;
}
.showcase-frame {
  position: relative;
  aspect-ratio: 21 / 9;
  background: var(--dark);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(34, 28, 54, 0.5);
}
.showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.showcase-media image-slot {
  display: block;
  width: 100%;
  height: 100%;
}
.showcase-divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
  background: rgba(243, 237, 227, 0.35);
  z-index: 2;
}
.showcase-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 28, 54, 0.78);
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.showcase-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(56px, 8vw, 90px) clamp(22px, 3.5vw, 44px) clamp(22px, 3vw, 36px);
  background: linear-gradient(to top, rgba(34, 28, 54, 0.94) 0%, rgba(34, 28, 54, 0.55) 55%, transparent 100%);
  color: var(--on-dark);
}
.showcase-overlay h3 {
  color: var(--on-dark);
  font-size: clamp(24px, 2.6vw, 36px);
  margin: 10px 0 6px;
}
.showcase-overlay p {
  color: var(--on-dark-soft);
  font-size: 15.5px;
  margin: 0;
  max-width: 56ch;
}
.naturnah-pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 999px;
}
@media (max-width: 1024px) {
  .showcase-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  .showcase-frame { aspect-ratio: 1 / 1; }
  .showcase-media { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .showcase-divider { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1.5px; transform: translateY(-50%); }
}


/* ============ Anifit shop page ============ */

.catalog-img {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.catalog-img img {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 400px);
  object-fit: cover;
}
.sortiment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sortiment-tile {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 22px 22px 18px;
  display: grid;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sortiment-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sortiment-tile strong { font-size: 17px; }
.sortiment-tile > span:not(.pillar-link) { color: var(--ink-soft); font-size: 14.5px; }
.sortiment-tile .pillar-link { margin-top: 8px; }

.garantie-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 60px) clamp(20px, 4vw, 56px);
}
.garantie-card {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark);
  border-radius: 26px;
  padding: clamp(28px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.garantie-card h2 { color: var(--on-dark); }
.garantie-text { color: var(--on-dark-soft); margin-bottom: 24px; }
.garantie-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.garantie-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--on-dark-soft);
}
.garantie-list .trust-dot { margin-top: 7px; }
.service-card .pillar-link { display: inline-block; margin-top: 4px; }

@media (max-width: 880px) {
  .garantie-card { grid-template-columns: 1fr; }
  .sortiment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sortiment-grid { grid-template-columns: 1fr; }
}


/* Anifit sortiment image slot sizing */
.split-media image-slot { background: var(--bg-soft); }


/* ============ tracker photo gallery ============ */

.gallery-section {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(16px, 3vh, 36px) clamp(20px, 4vw, 56px) clamp(24px, 4vh, 48px);
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.gallery-item {
  margin: 0;
  display: grid;
  gap: 10px;
}
.gallery-item.g2 { transform: translateY(18px); }
.gallery-item image-slot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  border: 5px solid var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.gallery-item figcaption {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .gallery-item.g2 { transform: none; }
  .gallery-item.g3 { grid-column: 1 / -1; }
  .gallery-item.g3 image-slot { aspect-ratio: 16 / 9; }
}


/* ============ paw-print backdrop (all pages) ============ */

body {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='460' height='460'><g fill='%23B77253' fill-opacity='0.07'><g transform='translate(50,52) rotate(24) scale(1.7)'><circle cx='9' cy='10' r='3.4'/><circle cx='16' cy='7.5' r='3.4'/><circle cx='23' cy='10' r='3.4'/><ellipse cx='16' cy='20.5' rx='7.2' ry='6'/></g><g transform='translate(140,165) rotate(38) scale(1.35)'><circle cx='9' cy='10' r='3.4'/><circle cx='16' cy='7.5' r='3.4'/><circle cx='23' cy='10' r='3.4'/><ellipse cx='16' cy='20.5' rx='7.2' ry='6'/></g><g transform='translate(305,60) rotate(-14) scale(1.05)'><circle cx='10' cy='10' r='2.6'/><circle cx='16' cy='8' r='2.6'/><circle cx='22' cy='10' r='2.6'/><ellipse cx='16' cy='18' rx='5.4' ry='4.6'/></g><g transform='translate(360,140) rotate(-26) scale(0.9)'><circle cx='10' cy='10' r='2.6'/><circle cx='16' cy='8' r='2.6'/><circle cx='22' cy='10' r='2.6'/><ellipse cx='16' cy='18' rx='5.4' ry='4.6'/></g><g transform='translate(70,330) rotate(-32) scale(1.0)'><circle cx='10' cy='10' r='2.6'/><circle cx='16' cy='8' r='2.6'/><circle cx='22' cy='10' r='2.6'/><ellipse cx='16' cy='18' rx='5.4' ry='4.6'/></g><g transform='translate(290,300) rotate(18) scale(1.5)'><circle cx='9' cy='10' r='3.4'/><circle cx='16' cy='7.5' r='3.4'/><circle cx='23' cy='10' r='3.4'/><ellipse cx='16' cy='20.5' rx='7.2' ry='6'/></g><g transform='translate(380,395) rotate(30) scale(1.2)'><circle cx='9' cy='10' r='3.4'/><circle cx='16' cy='7.5' r='3.4'/><circle cx='23' cy='10' r='3.4'/><ellipse cx='16' cy='20.5' rx='7.2' ry='6'/></g></g></svg>");
  background-size: 460px 460px;
  background-repeat: repeat;
}


/* ============ homepage video section ============ */

.video-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 70px) clamp(20px, 4vw, 56px) 0;
}
.video-frame { background: var(--dark); }
.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  color: var(--on-dark);
  background:
    repeating-linear-gradient(45deg, rgba(243, 237, 227, 0.04) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
}
.video-placeholder strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
}
.mono-note {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--on-dark-soft);
  max-width: 52ch;
}


.legal-ul {
  margin: 0 0 1em;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  display: grid;
  gap: 6px;
}


/* ============ live map v2 ============ */

.street-h2 { top: 78%; height: 4%; }
.street-v2 { left: 72%; width: 3%; }
.street-label {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 28, 54, 0.4);
  z-index: 1;
}
.map-building {
  position: absolute;
  background: rgba(34, 28, 54, 0.08);
  border-radius: 4px;
}
.map-tree {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(95, 130, 100, 0.55);
  transform: translate(-50%, -50%);
}
.map-fence.draggable { cursor: grab; pointer-events: auto; touch-action: none; }
.map-fence.draggable:active { cursor: grabbing; }
.acc-ring {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(183, 114, 83, 0.14);
  border: 1px solid rgba(183, 114, 83, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  pointer-events: none;
}
.acc-ring.wide { width: 70px; height: 70px; }
.map-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 6px 0;
}
.stat-chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
.stat-chip strong { color: var(--ink); }
.fence-size {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.fence-size input[type="range"] {
  width: 110px;
  accent-color: var(--accent);
}
.demo-hint {
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 8px 6px 2px;
  margin: 0;
}


/* ============ blog ============ */

.blog-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(48px, 7vh, 80px);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.blog-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px 18px;
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-img {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  margin: -4px -8px 4px;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-meta { font-size: 12.5px; color: var(--ink-soft); }
.blog-card strong { font-size: 17px; line-height: 1.3; }
.blog-card .pillar-link { margin-top: 4px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }


/* ============ FAQ page ============ */

.faq-page-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(32px, 5vh, 56px);
  display: grid;
  gap: 36px;
}
.faq-group-title {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--accent-deep);
}
.faq-contact { align-items: start; }
.contact-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.contact-form .btn { justify-self: start; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }


/* ============ hero background video ============ */

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.hero-bg-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(248, 244, 236, 0.7) 45%, rgba(248, 244, 236, 0.3) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 22%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
}


/* ============ boutique ============ */

.split-flip { direction: rtl; }
.split-flip > * { direction: ltr; }
.breed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.breed-chip {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-tint);
  border-radius: 999px;
  padding: 7px 15px;
}
.size-card .model-head { margin-bottom: 8px; align-items: flex-start; }


/* ============ pillars v3: editorial index ============ */

.pillar-index {
  border-top: 1.5px solid rgba(34, 28, 54, 0.16);
  max-width: 1160px;
  margin: 0 auto;
}
.pillar-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto 46px;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(22px, 3vh, 32px) 12px;
  border-bottom: 1.5px solid rgba(34, 28, 54, 0.16);
  text-decoration: none;
  color: var(--ink);
  border-radius: 4px;
  transition: background 0.25s ease, padding 0.25s ease, border-radius 0.25s ease;
}
.pillar-row:hover { padding-left: 26px; padding-right: 20px; border-radius: 20px; }
.pillar-row.tone-green:hover { background: linear-gradient(120deg, #E9EFE2, #DEE8D8); }
.pillar-row.tone-terra:hover { background: linear-gradient(120deg, #F6E6D7, #F0DCC8); }
.pillar-row.tone-sand:hover { background: linear-gradient(120deg, #F2EBD9, #ECE2C8); }
.pillar-row.tone-ink:hover { background: linear-gradient(120deg, #E7E3EE, #DDD8E8); }
.row-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.45;
  transition: opacity 0.25s ease;
}
.pillar-row:hover .row-num { opacity: 1; }
.row-main h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 0;
}
.row-main p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 4px 0 0;
  max-width: 62ch;
}
.pillar-row .pillar-arrow {
  width: 46px;
  height: 46px;
}
.pillar-row:hover .pillar-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .pillar-row { grid-template-columns: 52px minmax(0, 1fr) 40px; }
  .pillar-row .pillar-tag { display: none; }
  .pillar-row .pillar-arrow { width: 40px; height: 40px; }
  .pillar-row:hover { padding-left: 12px; padding-right: 12px; }
}


/* ============ video-first homepage ============ */

.video-hero {
  position: relative;
  min-height: clamp(480px, 78vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.video-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(34, 28, 54, 0.88) 0%, rgba(34, 28, 54, 0.35) 45%, rgba(34, 28, 54, 0.15) 100%);
}
.video-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 5vw, 72px) clamp(36px, 6vh, 64px);
  max-width: 880px;
  color: var(--on-dark);
}
.video-hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(34, 28, 54, 0.45);
}
.video-hero-content .lede {
  color: rgba(243, 237, 227, 0.88);
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 54ch;
}
.video-hero-content .hero-actions { margin: 24px 0 16px; }
.video-hero-note { font-size: 14px; color: rgba(243, 237, 227, 0.75); margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .video-hero-bg { display: none; }
  .video-hero {
    background: var(--dark) url("assets/homepage-still.png") center / cover no-repeat;
  }
}

.vstories {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(48px, 7vh, 90px) clamp(20px, 4vw, 56px);
  scroll-margin-top: 110px;
}
.vstories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vstory {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-lg);
}
.vstory-wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.vstory-media,
.vstory image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vstory-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 28, 54, 0.88) 0%, rgba(34, 28, 54, 0.25) 50%, transparent 100%);
  pointer-events: none;
}
.vstory-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(18px, 2.5vw, 30px);
  display: grid;
  justify-items: start;
  gap: 6px;
  color: var(--on-dark);
  pointer-events: none;
}
.vstory-copy strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  color: #fff;
}
.vstory-text { font-size: 15px; color: rgba(243, 237, 227, 0.85); }
.vstory-btn { margin-top: 8px; pointer-events: auto; padding: 10px 20px; font-size: 14.5px; }

@media (max-width: 880px) {
  .vstories-grid { grid-template-columns: 1fr; }
  .vstory { aspect-ratio: 16 / 11; }
  .vstory-wide { aspect-ratio: 16 / 11; }
}

/* ============ blog article ============ */

.post-article {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) clamp(20px, 4vw, 56px) 0;
}
.post-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
  margin-bottom: 18px;
}
.post-back:hover { text-decoration: underline; }
.post-article h1 { font-size: clamp(32px, 4vw, 52px); }
.post-cover {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  margin: 22px 0 18px;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.post-more {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 70px) clamp(20px, 4vw, 56px) clamp(24px, 4vh, 40px);
}

.post-byline { margin: 4px 0 10px; font-size: 15.5px; }

/* ============ anifit sortiment-kacheln mit bild ============ */

.sortiment-img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}
.sortiment-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.sortiment-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.tile-img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
}
.tile-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.seo-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  border-top: 1px solid rgba(43, 38, 32, 0.08);
}
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.seo-col h2 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--ink);
}
.seo-col p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(43, 38, 32, 0.72);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.seo-col a {
  color: var(--copper, #b06a45);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .seo-grid { grid-template-columns: 1fr; gap: 8px; }
}
