/* ============================================================
   TIERVERBUND – Startseite · HERO
   Gehoert zu: index.html · Ladereihenfolge 1 von 4
   (hero -> sections -> funnel -> shared; Reihenfolge NICHT tauschen,
    sie entspricht der urspruenglichen Kaskade der Inline-Styles.)

   Inhalt (in dieser Reihenfolge):
     @font-face .......... Anton + Inter, selbst gehostet
     :root ............... --side-x/-y/-s, --center-s, --hero-bg
     .hero .grain ........ Hero-Flaeche + Rauschen
     .ghost .............. grosses Tierwort im Hintergrund
     .brand .............. Logo + Wortmarke (CI: Pfote IMMER farbig)
     .hnav ............... Hero-Navigation + Burger
     .sticky ............. Leiste, die beim Hochscrollen einblendet
     .stage .item .fig ... Figuren-Karussell (Transform-Kette!)
     .gbadge ............. Google-Bewertungen
     .hero-bottom ........ Textspalte, Kostenzeile, CTA, Kredit-Chip
     @media <=768px ...... MOBIL: Hero in zwei Zonen (Buehne + Textband)

   ACHTUNG .item: Bewegung laeuft ueber EINE Transform-Kette
   (translateX(-50%) + --side-x + --side-y + scale). Nicht aufbrechen.
   ============================================================ */

/* ---------- Selbst gehostete Fonts (Latin-Subset, WOFF2) ---------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/anton-regular.woff2') format('woff2');
}
/* Inter als Variable-Font: EIN File deckt 400-700 ab (font-weight-Range). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-regular.woff2') format('woff2');
}

:root {
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --dur: 700ms;
  /* Nebenfiguren als Gruppe: dicht an die Hauptfigur, leicht dahinter
     (z-index Mitte > Seiten), gemeinsame Grundlinie (--side-y:0), etwas
     kleiner (--side-s). --side-x steuert Naehe/Ueberlappung: kleiner = enger. */
  --side-x: 18vw;
  --side-x-l: 15vw;  /* linke Nebenfigur enger an die Mitte -> haelt Abstand zum Kostenblock links */
  --side-y: -12vh;   /* angehoben: Fuesse mit sichtbarem Abstand ueber der Hero-Unterkante */
  --side-s: 0.30;
  --center-s: 1.12;
  --hero-bg: #2f9fd6;   /* wird vom JS je Tier gesetzt; speist mobile Textflaeche + Verlauf */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; overflow-x: hidden; }

.hero {
  position: relative; width: 100%;
  height: 100vh;      /* Fallback fuer aeltere Browser */
  height: 100svh;     /* small viewport height: bleibt beim Ein-/Ausblenden der iOS-Adressleiste konstant -> kein Sprung */
  overflow: hidden;
  transition: background-color var(--dur) var(--ease);
}

.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 50;
  opacity: 0.4; background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

.ghost {
  position: absolute; left: 0; right: 0; top: 18%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none; z-index: 2;
  will-change: transform;
}
.ghost span {
  position: absolute;
  font-family: 'Anton', sans-serif; font-weight: 400; font-synthesis: none;
  font-size: clamp(72px, min(24vw, 26vh), 320px);
  line-height: 1; letter-spacing: -0.02em;
  text-transform: uppercase; white-space: nowrap;
  color: #fff; opacity: 0;
  transform: translateY(0.12em);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ghost span.on { opacity: 1; transform: translateY(0); }

.brand {
  position: absolute; top: 20px; left: 16px; z-index: 60;
  display: flex; align-items: center; gap: 11.5px;   /* +15% (10) */
}
.brand img { height: 51px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18)); }  /* +15% (44) */
.brand .brand-word { display: flex; flex-direction: column; gap: 3.5px; }   /* +15% (3) */
/* Wortmarke: Name laut (Anton), Claim leise (Inter) — CI-Regel. Groessen +15%. */
.brand .brand-txt {
  font-family: 'Anton', sans-serif; font-weight: 400; font-synthesis: none;
  font-size: 17px; letter-spacing: 0.08em; line-height: 1;   /* +15% (15) */
  text-transform: uppercase; color: #fff; opacity: 1;
}
/* Claim bewusst leiser als der Markenname: Inter, kleiner, normal, gedaempft */
.brand .brand-claim {
  font-family: 'Inter', sans-serif; font-weight: 400;
  font-size: 12px; letter-spacing: 0.14em; line-height: 1;   /* +15% (10.5) */
  text-transform: uppercase; color: #fff; opacity: 0.85;
}
@media (min-width: 640px) {
  .brand .brand-txt { font-size: 20px; }      /* +15% (17) */
  .brand .brand-claim { font-size: 13px; }    /* +15% (11.5) */
}
@media (min-width: 640px) { .brand img { height: 64px; } }   /* +15% (56) */
@media (min-width: 640px) { .brand { left: 32px; } }

/* ---------- HERO-NAVIGATION (klein, dezent, liegt ueber dem Hero) ---------- */
.hnav {
  position: absolute; top: 20px; right: 16px; z-index: 61;
  display: flex; align-items: center; gap: 22px;
}
@media (min-width: 640px) { .hnav { top: 34px; right: 32px; gap: 30px; } }

.hnav-links { display: none; list-style: none; align-items: center; gap: 28px; }
@media (min-width: 860px) { .hnav-links { display: flex; } }
.hnav-links a {
  position: relative; display: block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;   /* +10% (12); Abstaende (gap) unveraendert */
  text-transform: uppercase; color: #fff; text-decoration: none;
  opacity: 0.82; transition: opacity 200ms var(--ease);
}
.hnav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: #fff; transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease);
}
.hnav-links a:hover { opacity: 1; }
.hnav-links a:hover::after { transform: scaleX(1); }
.hnav a:focus-visible, .hnav button:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }

.hnav-ig {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.55); color: #fff;
  opacity: 0.85; transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.hnav-ig:hover { opacity: 1; transform: scale(1.08); }
.hnav-ig svg { width: 17px; height: 17px; }

/* Burger nur, solange die Links nicht nebeneinander passen */
.hnav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; padding: 0;
  background: none; border: none; cursor: pointer;
}
@media (min-width: 860px) { .hnav-toggle { display: none; } }
.hnav-toggle span {
  display: block; height: 1.5px; width: 22px; background: #fff;
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}
.hnav.open .hnav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hnav.open .hnav-toggle span:nth-child(2) { opacity: 0; }
.hnav.open .hnav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Aufgeklappte Liste auf schmalen Viewports */
@media (max-width: 859px) {
  .hnav.open .hnav-links {
    display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
    position: absolute; top: 46px; right: 0;
    padding: 22px 24px; border-radius: 10px;
    background: rgba(20, 26, 60, 0.82);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .hnav.open .hnav-links a { opacity: 1; }
}

/* ---------- STICKY-LEISTE (blendet beim Hochscrollen ein) ---------- */
.sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 16px;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 62, 158, 0.10);
  transform: translateY(-101%);
  transition: transform 380ms var(--ease);
  will-change: transform;
}
.sticky.show { transform: translateY(0); }
@media (min-width: 640px) { .sticky { padding: 11px 32px; } }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }

.sticky-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.sticky-brand img { height: 30px; width: auto; display: block; }
@media (min-width: 640px) { .sticky-brand img { height: 34px; } }
.sticky-brand .w { display: flex; flex-direction: column; gap: 2px; }
.sticky-brand .n {
  font-family: 'Anton', sans-serif; font-weight: 400; font-synthesis: none;
  font-size: 14px; letter-spacing: 0.06em; line-height: 1;
  text-transform: uppercase; color: #2d3e9e;
}
.sticky-brand .c {
  font-family: 'Inter', sans-serif; font-weight: 400;
  font-size: 10px; letter-spacing: 0.12em; line-height: 1;
  text-transform: uppercase; color: #c97b28; opacity: 0.85;
}

.sticky-right { display: flex; align-items: center; gap: 22px; }
@media (min-width: 640px) { .sticky-right { gap: 28px; } }
.sticky-links { display: none; list-style: none; align-items: center; gap: 26px; }
@media (min-width: 860px) { .sticky-links { display: flex; } }
.sticky-links a {
  position: relative; display: block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #2d3e9e; text-decoration: none;
  opacity: 0.85; transition: opacity 200ms var(--ease);
}
.sticky-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: #c97b28; transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease);
}
.sticky-links a:hover { opacity: 1; }
.sticky-links a:hover::after { transform: scaleX(1); }

.sticky-ig {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(45, 62, 158, 0.35); color: #2d3e9e;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.sticky-ig:hover { transform: scale(1.08); border-color: #c97b28; }
.sticky-ig svg { width: 16px; height: 16px; }

.sticky-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; padding: 0;
  background: none; border: none; cursor: pointer;
}
@media (min-width: 860px) { .sticky-toggle { display: none; } }
.sticky-toggle span {
  display: block; height: 1.5px; width: 21px; background: #2d3e9e;
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}
.sticky.open .sticky-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sticky.open .sticky-toggle span:nth-child(2) { opacity: 0; }
.sticky.open .sticky-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 859px) {
  .sticky.open .sticky-links {
    display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
    position: absolute; top: calc(100% + 8px); right: 16px;
    padding: 20px 22px; border-radius: 10px;
    background: rgba(250, 248, 244, 0.97);
    border: 1px solid rgba(45, 62, 158, 0.10);
    box-shadow: 0 14px 34px rgba(29, 42, 99, 0.12);
  }
}
.sticky a:focus-visible, .sticky button:focus-visible { outline: 2px solid #2d3e9e; outline-offset: 4px; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.stage { position: absolute; inset: 0; z-index: 3; will-change: transform; }

/* Alle Items gleich gross und gleich verankert.
   Bewegung ausschliesslich ueber EINE Transform-Kette. */
.item {
  position: absolute;
  left: 50%; bottom: -1%; height: 74%;
  transform-origin: 50% 100%;
  transition: transform var(--dur) var(--spring),
              filter var(--dur) var(--ease),
              opacity var(--dur) var(--ease);
  will-change: transform, filter, opacity;
  pointer-events: none;   /* Figuren fangen KEINE Klicks; das machen die Hitboxen */
}

/* Klicks/Hover laufen pixel-genau ueber Stage-Handler (JS): getroffen wird die
   Figur mit dem obersten NICHT-transparenten Pixel. So ist JEDE Figur an JEDER
   sichtbaren Stelle klickbar; in Ueberlappungen gewinnt automatisch die
   sichtbar oben liegende Figur ("klick, was du siehst"). */
.item.center {
  transform: translateX(-50%) scale(var(--center-s));
  filter: none; opacity: 1; z-index: 20;
}
/* Nebenfiguren: KEIN Weichzeichner (klar bleiben), nur leicht reduzierte
   Deckkraft fuer dezente Tiefe. Gleiche Grundlinie wie Mitte (--side-y:0),
   z-index unter der Hauptfigur -> sie stehen dahinter und werden vorne leicht
   ueberlappt. */
.item.left {
  transform: translateX(-50%) translateX(calc(-1 * var(--side-x-l))) translateY(var(--side-y)) scale(var(--side-s));
  filter: none; opacity: 0.9; z-index: 10;
}
.item.right {
  transform: translateX(-50%) translateX(var(--side-x)) translateY(var(--side-y)) scale(var(--side-s));
  filter: none; opacity: 0.9; z-index: 10;
}

@media (max-width: 639px) {
  /* Mobil: grosse Hauptfigur -> Nebenfiguren stehen etwas weiter aussen, damit
     je >= 1/3 frei/klickbar bleibt; auf sehr schmalen Screens ruecken sie eng,
     bleiben aber sichtbar (nicht ausblenden). Grundlinie ebenfalls gemeinsam. */
  :root { --side-x: 34vw; --side-x-l: 30vw; --side-y: -8vh; --side-s: 0.30; --center-s: 1.06; }
  .item { height: 46%; bottom: 26%; }
}

.fig {
  position: relative; height: 100%;
  transform-origin: 50% 92%;
}
.fig img {
  height: 100%; width: auto; display: block;
  -webkit-user-drag: none; user-select: none;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,0.22));
  transition: transform 240ms var(--spring), filter 240ms var(--ease);
}

/* ---------- Klick-Affordanz: Hover/Fokus ueber die HITBOX ausgeloest ----------
   Transform sitzt auf dem <img>, nicht auf .item – Karussell-Kette unangetastet.
   Die Klasse .hb-hover setzt das Skript beim Hover/Fokus der zugehoerigen
   Hitbox (das .item selbst hat pointer-events:none). */
.item.hb-hover { z-index: 30; opacity: 1; }
.item.hb-hover .fig img {
  transform: translateY(-1.6%) scale(1.06);
  filter: drop-shadow(0 34px 42px rgba(0,0,0,0.30)) brightness(1.07) saturate(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .item.hb-hover .fig img { transform: none; }
}
.fig .f-b { position: absolute; inset: 0; opacity: 0; transition: none; }
.fig.swap .f-a { visibility: hidden; }
.fig.swap .f-b { opacity: 1; }

/* Mikro-Squash kaschiert den harten Frame-Schnitt */
@keyframes cutPulse {
  0%   { transform: scale(1, 1); }
  18%  { transform: scale(1.012, 0.988); }
  100% { transform: scale(1, 1); }
}
.fig.swap { animation: cutPulse 260ms var(--ease) both; }

/* Einmaliger Hinweis-Puls auf der Mittelfigur (nur Transform, 1x pro Sitzung).
   Bei reduced-motion faellt er ersatzlos weg. */
@keyframes tvHintPulse { 0% { transform: scale(1); } 50% { transform: scale(1.025); } 100% { transform: scale(1); } }
.fig.hintpulse { animation: tvHintPulse 600ms var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .fig.hintpulse { animation: none; } }

/* Intro: nur beim ersten Laden, danach nie wieder */
.stage:not(.ready) .item { opacity: 0; }
.stage.ready .item { transition-delay: 0ms; }
.stage.intro .item[data-i="0"] { transition-delay: 0ms; }
.stage.intro .item[data-i="1"] { transition-delay: 110ms; }
.stage.intro .item[data-i="2"] { transition-delay: 220ms; }

/* Google-Bewertungen: dezenter Badge ueber der Hero-Headline */
/* Basis = Fluss-Variante (mobil, unter der Subline): Logo, Sterne und Text
   in EINER Zeile, linksbuendig, garantiert im Viewport. */
.gbadge {
  display: inline-flex; align-items: center; gap: 8px;
  max-width: 100%; margin: 10px 0 0; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  color: #fff; opacity: 0.92;
  transition: opacity 200ms var(--ease);
}
.gbadge:hover { opacity: 1; }
.gbadge:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.gbadge .stars { color: #fbbc04; font-size: 13px; letter-spacing: 2px; text-shadow: 0 1px 4px rgba(0,0,0,0.18); }
.gbadge .grow { display: inline-flex; align-items: center; gap: 7px; }
.gbadge .glogo { width: 15px; height: 15px; display: block; }
/* Wert in der Zeile: 5,0 leicht hervorgehoben, Rest normal. Mobil eine Zeile
   (nowrap) — passt die Zeile nicht, greift unten eine kleinere Schrift. */
.gbadge .grating { font-weight: 400; white-space: nowrap; }
.gbadge .grate-val { font-weight: 700; }
/* Variante rechts oben, unter dem Instagram-Icon */
.gbadge-top {
  position: absolute; top: 66px; right: 16px; z-index: 59;
  margin: 0; flex-direction: column; align-items: flex-end; gap: 3px;
}
@media (min-width: 640px) { .gbadge-top { top: 86px; right: 32px; } }

/* Hero-Bottom: Container fuer Textspalte (info) + Aktionen (CTA + Chip).
   Mobil: Spalte, alles linksbuendig -> Stack. Desktop: Zeile, Text links,
   Aktionen rechts. */
.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 0 16px;
  pointer-events: none;   /* voller Breite -> leere Mitte NICHT klickbar, sonst
                             schluckt sie die Klicks der Hero-Figuren darunter */
}
/* Nur die echten Bedien-Elemente fangen Klicks: */
.hero-kosten, .navbtns, .cta, .kredit-chip { pointer-events: auto; }
/* Zeilen-Layout (Text links, Aktionen rechts) erst ab 900px — darunter bliebe
   bei grossem CTA + Textspalte sonst kein Platz (Overflow auf schmalen Tablets). */
@media (min-width: 900px) {
  .hero-bottom {
    padding: 0 40px 0 96px;
    flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 28px;
  }
}
@media (min-width: 640px) { .hero-bottom { bottom: 72px; } }
.info { max-width: 340px; min-width: 0; }
.info h1 {
  font-size: 16px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; color: #fff; opacity: 0.95; margin-bottom: 10px;
}
@media (min-width: 640px) { .info h1 { font-size: 22px; } }
/* Hero-Subtexte komplett ausgeblendet (auf allen Breiten). */
.sub { display: none; }

/* Kostenzeile im Hero (rotiert mit dem Karussell) — der GANZE Block ist EIN
   klickbarer Link mit dezenter Flaeche. Groesser als die Subline, kleiner als
   die grosse CTA. Zahl per Schriftstaerke + Highlight abgesetzt (kein fester
   Farbton — muss auf allen 3 Hero-Farben lesbar sein). */
.hero-kosten {
  display: block; text-decoration: none; color: #fff; cursor: pointer;
  margin-top: 14px; margin-left: -14px;   /* = padding-left -> Text fluchtet mit der Headline */
  max-width: 340px; min-height: 44px; box-sizing: border-box;
  background: rgba(255,255,255,0.10); border-radius: 12px; padding: 12px 14px;
  transition: opacity 300ms var(--ease), transform 150ms ease, background-color 150ms ease;
}
@media (min-width: 640px) { .hero-kosten { margin-top: 18px; } }
.hero-kosten:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.hero-kosten:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-kosten.fade { opacity: 0; }
.hk-line { display: block; font-size: clamp(16px, 4.6vw, 21px); font-weight: 700;
  line-height: 1.28; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.30); }
.hk-zahl { font-weight: 800; white-space: nowrap;
  background: rgba(255,255,255,0.18); padding: 0 6px; border-radius: 5px; }
.hk-cta { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 600;
  color: #fff; opacity: 0.92; }
.hk-arrow { display: inline-block; transition: transform 150ms ease; }
.hero-kosten:hover .hk-arrow { transform: translateX(4px); }

/* Deutlicher Abstand nach oben -> die Pfeile steuern das Karussell und
   gehoeren sichtbar NICHT zum Textblock darueber. */
.navbtns { display: flex; gap: 12px; margin-top: 28px; }
/* Pfeile: auf dem Handy weg (Swipe + Auto-Rotation + tippbare Figuren
   navigieren), damit der Stack sauber Headline->Kostenzeile->CTA->Chip bleibt. */
@media (max-width: 639px) { .navbtns { display: none; } }
.navbtns button {
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 2px solid #fff; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease;
}
@media (min-width: 640px) { .navbtns button { width: 64px; height: 64px; } }
.navbtns button:hover { transform: scale(1.08); background: rgba(255,255,255,0.12); }
.navbtns button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Aktionen: CTA + Kredit-Chip. Desktop rechtsbuendig (Chip unter dem CTA),
   mobil linksbuendig unter der Textspalte. */
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 900px) { .hero-actions { align-items: flex-end; gap: 14px; } }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Anton', sans-serif; font-weight: 400; font-synthesis: none;
  font-size: clamp(20px, 4vw, 56px);
  letter-spacing: -0.02em; line-height: 1; text-transform: uppercase;
  color: #fff; opacity: 0.95; text-decoration: none;
  transition: opacity 200ms ease;
}
.cta:hover { opacity: 1; }

/* Kredit-Chip: weisse Fuellung, Navy-Text, kein Rahmen; eigenstaendiges
   Element, >= 44 px hoch. Hover: leicht anheben. */
.kredit-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  box-sizing: border-box; padding: 8px 16px; border-radius: 999px;
  border: none; background: #fff; color: #2d3e9e;
  font-size: 13px; font-weight: 700; text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.kredit-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.kredit-chip:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Erstinfo-Kleingedrucktes unter der Hero-CTA — gleiche Klasse wie das
   Kleingedruckte auf /kredit. Link hier weiss + unterstrichen, damit er auf
   allen drei farbigen Hero-Flaechen (Cyan/Orange/Navy) lesbar bleibt. */
.k-fine { margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 560px; }
.k-fine a { color: #fff; text-decoration: underline; }
/* Mobil: Kredit-Chip direkt unter die CTA, Erstinfo-Zeile ans Ende — nur
   Reihenfolge (order), Hero-Hoehe und Desktop-Order bleiben unveraendert. */
@media (max-width: 768px) {
  .hero-actions .kredit-chip { order: 1; }
  .hero-actions .k-fine { order: 2; }
}
.cta .label { transition: opacity 300ms var(--ease); }
.cta .label.fade { opacity: 0; }
.cta svg { width: 22px; height: 22px; }
@media (min-width: 640px) { .cta svg { width: 34px; height: 34px; } }

/* Drei-Punkte-Navigation: standardmaessig aus (nur mobil sichtbar, s.u.) */
.hero-dots { display: none; }

/* ============================================================
   MOBIL (max-width:768px): Hero in ZWEI Zonen.
     Buehne oben (Ghost + Figuren) = obere 52vh
     Textflaeche unten = deckendes Band in Hero-Farbe, ueber den Figuren
   Desktop bleibt voellig unberuehrt (nichts ausserhalb dieser Query).
   ============================================================ */
@media (max-width: 768px) {
  /* 2 — Deckende Textflaeche: Band von 52vh bis unten, Hero-Farbe, ueber
     den Figuren (z-index 60 > stage 3). Figuren enden dahinter. */
  .hero-bottom {
    top: 56vh; top: 56svh; bottom: 0; left: 0; right: 0;   /* Buehne = obere 56svh (vh-Fallback), HARTE Kante (kein Verlauf) */
    justify-content: flex-start; gap: 12px;
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
    background: var(--hero-bg);
    pointer-events: auto;   /* Band faengt Klicks -> keine Phantomtreffer auf verdeckten Figuren */
  }

  /* 2/3 — Gemeinsame Fusslinie an der Buehnenunterkante (bottom:44vh -> Box-
     unterkante bei 56vh). Mittelfigur (--center-s 1.0, height 31%) passt damit
     VOLLSTAENDIG zwischen Ghost-Unterkante und Band, Fuesse auf der Kante.
     Nebenfiguren: Anheben NUR ueber --side-y (translateY in der bestehenden
     Kette) so weit, dass ihre Oberkante unter Ghost-Unterkante + 16px bleibt;
     Fuesse beider auf gleicher Hoehe, Richtung Schulter der Mitte. Deckkraft .7. */
  :root { --side-x: 30vw; --side-x-l: 26vw; --side-y: -20vh; --side-s: 0.34; --center-s: 1.0; }
  .item { height: 31%; bottom: 44vh; bottom: 44svh; }   /* svh mit vh-Fallback -> zur svh-Buehne konsistent */
  .item.left, .item.right { opacity: 0.7; }
  /* Slide Pferd (data-active=2): breiteres Ghost-Wort -> Nebenfiguren beidseitig
     je +3vw weiter raus, damit die Katze dem "P" nicht zu nah kommt. Nur ueber
     die bestehende Transform-Kette (Variablen-Override, geerbt von .stage).
     Randabstand bleibt auch bei 375px >= 41px (kein Anschnitt). */
  .stage[data-active="2"] { --side-x: 33vw; --side-x-l: 29vw; }

  /* 4 — Drei Punkte OBEN AUF der Textflaeche (erstes Kind des Bandes), 12px
     Abstand nach oben (Band-Padding) und unten (margin) -> nie auf einer Figur.
     Jeder Punkt ein echter Button (JS setzt aria-label). */
  .hero-dots {
    display: flex; justify-content: center; align-items: center; gap: 9px;
    align-self: center; margin: 0 auto; height: 24px; pointer-events: auto;
    /* 12px oben = Band-padding-top, 12px unten = flex-gap des Bandes */
  }
  .hero-dots button {
    width: 6px; height: 6px; padding: 0; border: none; border-radius: 50%;
    background: rgba(255,255,255,0.45); cursor: pointer;
    transition: background-color 200ms var(--ease), transform 200ms var(--ease);
  }
  .hero-dots button[aria-current="true"] { background: #fff; transform: scale(1.18); }
  .hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

  /* 5 — Kostenblock entkasten: kein Kasten, Text + Betrag direkt auf der
     Hero-Farbe. Betrag behaelt Hervorhebung nur ueber Typografie. */
  .hero-kosten {
    background: none; padding: 0; margin-left: 0; border-radius: 0;
    /* Hoehenreserve fuer die laengste Variante: 2 Kostenzeilen (Katze bricht
       um) + die "Klick dich"-Zeile. So verschiebt der Umbruch CTA/Chip nicht
       -> gleicher Abstand zur Buehnenunterkante bei allen Tieren. Die Reserve
       landet UNTER dem Kostenblock (vor der CTA), also bleiben Kostenzeile und
       "Klick dich" zusammen, ohne Luecke.
       font-size hier NUR als Bezug fuers em der Rechnung (= hk-line-Font);
       hk-line und hk-cta setzen ihre Schriftgroesse selbst. min-height deckt
       zugleich das 44px-Tap-Ziel ab. */
    font-size: clamp(16px, 4.6vw, 21px);
    min-height: calc(2.56em + 26px);   /* 2 x line-height 1.28  +  Klick-Zeile */
  }
  .hero-kosten:hover { background: none; transform: none; }
  .hk-zahl { background: none; padding: 0; font-weight: 800; }
}


