/* ==========================================================================
   Hundeschule Pfotenklatscher – Stylesheet
   Mobile-first. Farben & Schriften aus dem Original übernommen:
   Orange #FF8608 · Dunkel #443F3D · Creme #F9F5EA
   Amatic SC (Überschriften) · Josefin Sans (Text)
   ========================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  --orange: #FF8608;
  --orange-dark: #E57300;
  --orange-soft: #FFE6CC;
  --dark: #443F3D;
  --dark-2: #2B2B2B;
  --cream: #F9F5EA;
  --cream-2: #F3ECDC;
  --white: #FFFFFF;
  --text: #443F3D;
  --muted: #6F6865;
  --star: #FFAB00;

  --font-head: "Amatic SC", "Comic Sans MS", cursive;
  --font-body: "Josefin Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(68, 63, 61, .06);
  --shadow: 0 18px 50px -18px rgba(68, 63, 61, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --gutter: 20px;
  --max: 1200px;
  --header-h: 76px;
}

/* ---------- 2. Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;           /* 17px – gut lesbar auf dem Handy */
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }

/* ---------- 3. Typografie ---------- */
.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 1;
  color: var(--orange);
  margin: 0 0 .4em;
  letter-spacing: .01em;
}
.h2--sm { font-size: clamp(2.4rem, 6vw, 3.4rem); }
.h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.05;
  color: var(--dark);
  margin: 0 0 .45em;
}
.h3 small { display: block; font-size: .75em; color: var(--orange); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow--light { color: rgba(255, 255, 255, .8); }
.lead { font-size: 1.2rem; font-weight: 600; color: var(--dark); }

.section { position: relative; padding-block: clamp(80px, 12vw, 150px); }
.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.section__head .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--orange); border-radius: 2px; }

/* ---------- 4. Buttons & Links ---------- */
.btn {
  --bg: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .9em 1.7em .75em;
  font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease), color .3s;
  will-change: transform;
}
.btn .icon { margin-top: -.15em; }
.btn--primary { background: var(--bg); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 134, 8, .7); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(255, 134, 8, .8); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn--ghost:hover { background: #fff; color: var(--dark); transform: translateY(-2px); }
.btn--ghost .icon { transition: transform .3s var(--ease); }
.btn--ghost:hover .icon { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: .7em 1.3em .55em; font-size: .78rem; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--orange); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding-bottom: 4px;
}
.link-more::after {
  content: ""; position: absolute; left: 1.6em; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.link-more:hover::after { transform: scaleX(1); }

/* Kreisbild mit orangem Ring – Markenzeichen des Originals */
.ring {
  width: 180px; aspect-ratio: 1; margin: 0 auto 1.4rem;
  border-radius: 50%; padding: 6px; background: #fff;
  border: 5px solid var(--orange);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform .8s var(--ease); }
.ring--lg { width: 200px; }

/* ---------- 5. Header (sticky, schrumpft beim Scrollen) ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: height .45s var(--ease), background-color .45s, box-shadow .45s, color .3s;
}
.header::before { /* Hintergrund blendet ein, sobald gescrollt wird */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(249, 245, 234, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  opacity: 0; transition: opacity .45s;
  box-shadow: 0 1px 0 rgba(68, 63, 61, .08), 0 10px 30px -20px rgba(68, 63, 61, .4);
}
.header.is-scrolled { --header-h: 62px; color: var(--dark); }
.header.is-scrolled::before { opacity: 1; }
.header__inner {
  height: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.header__logo img { width: 58px; height: 58px; transition: width .45s var(--ease), height .45s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.header.is-scrolled .header__logo img { width: 46px; height: 46px; filter: none; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: none; align-items: center; gap: .5em; font-weight: 600; font-size: .92rem; }
.header__phone:hover { color: var(--orange); }
.header__cta { display: none; }

/* Burger */
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: 50%; position: relative; z-index: 2; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-open .header { color: var(--dark); }

/* Navigation – mobil als Vollbild-Overlay */
.nav {
  position: fixed; inset: 0; z-index: 1;
  background: var(--cream);
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 42px) 38px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.nav-open .nav { clip-path: circle(150% at calc(100% - 42px) 38px); visibility: visible; transition: clip-path .8s var(--ease); }
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1.3; color: var(--dark);
  padding: .1em 0; text-align: left;
}
.nav__link.is-active, .nav__link:hover { color: var(--orange); }
.nav__chev { width: 30px; height: 30px; fill: currentColor; transition: transform .3s; }
.nav__toggle-sub[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
/* Mobiles Menü: Untermenü klappt per Höhe auf (alle Einträge gleichzeitig, kein Überlappen) */
.nav__sub { display: block; max-height: 0; overflow: hidden; padding-left: 16px; border-left: 2px solid transparent; transition: max-height .4s var(--ease), border-color .4s; }
.nav__item--dropdown.is-open .nav__sub { max-height: 16rem; border-left-color: var(--orange-soft); }
.nav__sub a { display: block; padding: 6px 0; font-size: 1.15rem; color: var(--muted); }
.nav__sub a:hover { color: var(--orange); }
.nav__mobile-extra { display: grid; gap: 16px; margin-top: 30px; }
.nav__phone { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--dark); justify-content: center; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; z-index: 0;
  min-height: 100svh; min-height: 100vh;
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
  color: #fff; text-align: center;
  background: var(--dark);
}
@supports (height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: -6% 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 60%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(68, 63, 61, .15), rgba(43, 43, 43, .55) 75%),
    linear-gradient(180deg, rgba(43, 43, 43, .55) 0%, rgba(43, 43, 43, .1) 30%, rgba(43, 43, 43, .2) 70%, var(--cream) 100%);
}
/* Creme-Schleier, der beim Scrollen in die nächste Sektion überblendet (JS) */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--cream); opacity: var(--fade, 0); pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding: calc(var(--header-h) + 20px) var(--gutter) 90px; max-width: 1000px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  padding: .7em 1.2em .55em; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px); margin-bottom: 1.6rem;
}
.hero__eyebrow .icon { color: var(--orange); }
@media (max-width: 479px) {
  .hero__eyebrow { font-size: .68rem; letter-spacing: .16em; }
  .hide-sm { display: none; }
  .paw { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
  .paw.fresh { opacity: .32; }
}
.hero__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(3.6rem, 15vw, 9rem);
  line-height: .95; margin: 0 0 2.2rem; letter-spacing: .01em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .35);
}
.hero__line { display: block; }
.hero__title .w { display: inline-block; }
.hero__accent { position: relative; color: var(--orange); }
.hero__underline { position: absolute; left: -2%; bottom: -.08em; width: 104%; height: .22em; overflow: visible; }
.hero__underline path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dark);
}
.hero__scroll i { width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 14px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 7. Pfotenspur (Signature-Effekt) ---------- */
.paw-trail { position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.paw {
  position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  fill: var(--orange);
  opacity: 0; transform: rotate(var(--r)) scale(.4);
  transition: opacity .5s ease, transform .5s var(--ease);
}
.paw.on { opacity: .13; transform: rotate(var(--r)) scale(1); }
.paw.fresh { opacity: .42; }
.paw.dim { fill: #fff; } /* auf dunklen Flächen */
.paw.dim.on { opacity: .12; }
.paw.dim.fresh { opacity: .35; }

/* ---------- 7b. High Five: Hand & Pfote klatschen ab ----------
   Grundzustand = Endbild (Hand und Pfote berühren sich, Titel sichtbar).
   So bleibt alles ohne JS / bei reduzierter Bewegung verständlich. */
.clap { position: relative; z-index: 4; background: var(--cream); overflow: hidden; }
.clap__stage {
  --arm-h: min(56vh, 480px);
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; isolation: isolate;
}
.clap__bgword {
  position: absolute; left: 50%; top: 50%; z-index: -2; margin: 0;
  transform: translate(-50%, -50%);
  font-family: var(--font-head); font-weight: 700; white-space: nowrap;
  font-size: clamp(6rem, 24vw, 22rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 134, 8, .13);
  pointer-events: none;
}
.clap__text { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 3vh); z-index: 3; text-align: center; padding-inline: var(--gutter); }
.clap__eyebrow { justify-content: center; }
.clap__eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--orange); border-radius: 2px; }
.clap__title {
  margin: 0; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(3.6rem, 13vw, 8.5rem); line-height: .95; color: var(--orange);
  text-shadow: 0 8px 30px rgba(255, 134, 8, .25);
}
.clap__title .cl { display: inline-block; will-change: transform; }
.clap__sub { margin: .6em auto 0; max-width: 34ch; color: var(--muted); font-size: 1.05rem; }

.clap__hand, .clap__paw {
  position: absolute; bottom: -34px; z-index: 2;
  height: var(--arm-h); width: calc(var(--arm-h) * .625);
  transform-origin: 50% 100%;
  overflow: visible;   /* der Daumen ragt über den Rand der Zeichenfläche – nicht abschneiden */
  filter: drop-shadow(0 24px 30px rgba(68, 63, 61, .25));
  will-change: transform;
}
/* Endposition: leicht überlappend in der Mitte, zueinander geneigt */
.clap__hand { right: calc(50% + var(--arm-h) * .015); transform: rotate(14deg); z-index: 3; }
.clap__paw  { left:  calc(50% + var(--arm-h) * .015); transform: rotate(-14deg); }

/* Aufprallpunkt (Kontakt von Handfläche und Pfote) */
.clap__burst { position: absolute; left: 50%; bottom: calc(var(--arm-h) * .66); width: 0; height: 0; z-index: 4; pointer-events: none; }
.clap__ring {
  position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%;
  border: 5px solid var(--orange); opacity: 0;
}
.clap__ring--2 { border-width: 2px; border-color: var(--dark); }
.clap__particles > * { position: absolute; left: 0; top: 0; opacity: 0; }
.clap__particles svg { width: 26px; height: 26px; margin: -13px 0 0 -13px; fill: var(--orange); display: block; }
.clap__particles .spark { width: 6px; height: 22px; margin: -11px 0 0 -3px; border-radius: 3px; background: var(--orange); }
.clap__flash {
  position: absolute; left: 50%; bottom: calc(var(--arm-h) * .66); z-index: -1;
  width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 204, .95) 0%, rgba(255, 230, 204, .55) 35%, rgba(249, 245, 234, 0) 62%);
  transform: scale(0); pointer-events: none;
}
.clap__hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 5; transform: translateX(-50%); margin: 0;
  display: none; align-items: center; gap: .5em;
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.js-motion .clap__hint { display: inline-flex; }
@media (min-width: 1024px) {
  .clap__stage { --arm-h: min(58vh, 540px); }
}
@media (max-width: 599px) {
  .clap__stage { --arm-h: min(46vh, 360px); }
  .clap__sub { font-size: .98rem; }
}

/* Hund, der vorne an der Pfotenspur mitläuft (Draufsicht, Logo-Stil) */
.trail-dog {
  position: absolute; left: 0; top: 0; width: 54px; height: 90px; margin: -45px 0 0 -27px;
  opacity: 0; transition: opacity .4s; will-change: transform;
  filter: drop-shadow(0 6px 8px rgba(68, 63, 61, .25));
}
.trail-dog.is-visible { opacity: 1; }
.trail-dog svg { width: 100%; height: 100%; display: block; overflow: visible; }
.trail-dog .leg { transform-box: fill-box; transform-origin: 50% 50%; }
.trail-dog.is-walking .leg--a { animation: dogStep .32s ease-in-out infinite alternate; }
.trail-dog.is-walking .leg--b { animation: dogStep .32s ease-in-out infinite alternate-reverse; }
.trail-dog.is-walking .tail { animation: dogWag .22s ease-in-out infinite alternate; }
.trail-dog .tail { transform-box: fill-box; transform-origin: 50% 100%; }
.trail-dog.on-dark .body { fill: var(--orange); }
.trail-dog.on-dark .tail { stroke: var(--orange); }
@keyframes dogStep { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
@keyframes dogWag { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@media (max-width: 767px) { .trail-dog { width: 40px; height: 66px; margin: -33px 0 0 -20px; } }

/* ---------- 8. Über mich ---------- */
.about { padding-top: clamp(70px, 10vw, 130px); }
.about__grid { display: grid; gap: 60px; }
.about__text p { max-width: 60ch; }
.about__highlight { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1.1; color: var(--orange); }
.about__sign { margin: 2rem 0 2.2rem; }
.about__sign p { margin: 0; }
.about__name { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--dark); line-height: 1.2; }
.about__role { color: var(--muted); font-size: .95rem; }
.about__media { position: relative; display: grid; gap: 18px; padding-bottom: 20px; }
.mask-reveal { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cream-2); }
.mask-reveal img { width: 100%; height: 100%; object-fit: cover; }
.about__img--1 { aspect-ratio: 4 / 3.2; }
.about__img--2 { aspect-ratio: 4 / 3; width: 82%; margin-left: auto; margin-top: -60px; border: 6px solid var(--cream); }
.about__badge {
  position: absolute; left: 4%; bottom: 10%; z-index: 2;
  width: 118px; aspect-ratio: 1; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1;
  box-shadow: 0 16px 34px -12px rgba(255, 134, 8, .8);
}
.about__badge .icon { width: 28px; height: 28px; }

/* Zeilenweise Text-Einblendung (JS teilt in Wörter) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.word__in { display: inline-block; will-change: transform; }

/* ---------- 9. Was uns auszeichnet ---------- */
.features { background: var(--white); border-radius: 40px 40px 0 0; }
.features__grid { display: grid; gap: 50px 30px; }
.feature { text-align: center; padding: 10px; }
.feature p { color: var(--muted); max-width: 32ch; margin-inline: auto; font-size: 1rem; }
.feature:hover .ring img, .course:hover .ring img { transform: scale(1.08); }

/* ---------- 9b. Scrollytelling "Vom Welpen bis Senior" ----------
   Ohne JS: normale Liste. Mit JS (.story--pinned): gepinnte Bühne,
   Kapitel wechseln beim Scrollen, Bilder blenden kreisförmig über. */
.story { position: relative; z-index: 4; background: var(--dark); color: #fff; overflow: hidden; }
.story::before { /* warmer Lichtschein */
  content: ""; position: absolute; width: 80vmax; height: 80vmax; right: -30vmax; top: -30vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 134, 8, .18), transparent 65%); pointer-events: none;
}
.story__pin { padding-block: clamp(80px, 12vw, 140px); }
.story__grid { display: grid; gap: 34px; }
.story__head .h2 { margin: 0; }
.story__timeline { display: none; }
.story__media { position: relative; width: min(78vw, 360px); aspect-ratio: 1; margin-inline: auto; }
.story__circle { position: absolute; inset: 12px; border-radius: 50%; overflow: hidden; background: #2b2b2b; }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__img + .story__img { display: none; }            /* statisch: nur das erste Bild */
.story__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.story__ring circle { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; }
.story__steps { display: grid; gap: 36px; }
.story__step { position: relative; padding-left: 64px; }
.story__step .h3 { color: #fff; font-size: 2.4rem; }
.story__step p { color: rgba(255, 255, 255, .78); max-width: 42ch; }
.story__num {
  position: absolute; left: 0; top: -4px;
  font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--orange);
}

/* --- gepinnte Variante --- */
.story--pinned .story__pin { height: 100vh; height: 100svh; padding-block: calc(var(--header-h) + 10px) 24px; display: flex; align-items: center; }
.story--pinned .story__grid { width: 100%; gap: 18px; grid-template-rows: auto auto auto 1fr; }
.story--pinned .story__img + .story__img { display: block; }
.story--pinned .story__media { width: min(64vw, 36vh, 330px); }
.story--pinned .story__steps { position: relative; display: block; min-height: 230px; }
.story--pinned .story__step { position: absolute; inset: 0 0 auto 0; }
.story--pinned .story__timeline {
  position: relative; display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0;
}
.story__timeline::before, .story__bar {
  content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 2px; background: rgba(255, 255, 255, .15);
}
.story__bar { background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }
.story__timeline li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); transition: color .4s; }
.story__timeline .icon {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--dark);
  border: 2px solid rgba(255, 255, 255, .25); fill: rgba(255, 255, 255, .4);
  transition: background .4s, border-color .4s, fill .4s, transform .4s var(--ease);
}
.story__timeline li.is-done .icon { border-color: var(--orange); fill: var(--orange); }
.story__timeline li.is-active { color: #fff; }
.story__timeline li.is-active .icon { background: var(--orange); border-color: var(--orange); fill: #fff; transform: scale(1.18); }

@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 70px; }
  .story__head { grid-column: 1 / -1; }
  .story__media { width: min(40vw, 440px); }
  .story--pinned .story__grid { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; row-gap: 3vh; column-gap: 56px; }
  .story--pinned .story__head { grid-column: 1 / -1; }
  .story--pinned .story__media { width: min(100%, 38vw, 58vh, 480px); }
  .story--pinned .story__steps { min-height: 300px; align-self: center; }
  .story--pinned .story__step { inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  /* Zeitleiste vertikal */
  .story--pinned .story__timeline { flex-direction: column; justify-content: space-between; height: min(52vh, 440px); align-self: center; }
  .story__timeline::before, .story__bar { left: 14px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .story__bar { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .story__timeline li { justify-items: start; grid-template-columns: 30px auto; align-items: center; gap: 12px; }
  .story__timeline li span { position: absolute; left: 44px; white-space: nowrap; }
  .story__step .h3 { font-size: 3rem; }
  .story__step p { font-size: 1.1rem; }
}
.story + .reviews { padding-top: clamp(80px, 12vw, 140px); }

/* ---------- 10. Google-Bewertungen ---------- */
.reviews { background: var(--white); padding-top: clamp(70px, 9vw, 110px); overflow: hidden; }
.reviews__top { display: grid; gap: 20px; align-items: center; justify-items: center; }
.rating {
  background: var(--cream); border-radius: var(--radius); padding: 30px 28px 26px;
  text-align: center; box-shadow: var(--shadow-sm); width: min(100%, 440px);
}
.rating__label { font-weight: 700; font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .6rem; }
.rating__score { display: flex; align-items: center; justify-content: center; gap: 18px; }
.rating__num { font-family: var(--font-head); font-weight: 700; font-size: 5.2rem; line-height: .9; color: var(--orange); min-width: 2.1ch; }
.rating__count { margin: 6px 0 0; font-size: .95rem; text-align: left; }
.rating__google { display: inline-flex; align-items: center; gap: .5em; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.stars { position: relative; display: inline-block; line-height: 0; }
.stars svg { width: 28px; height: 28px; }
.stars__base svg { fill: #E4DED0; }
.stars__fill { position: absolute; inset: 0 auto 0 0; width: var(--fill); overflow: hidden; white-space: nowrap; }
.stars__fill svg { fill: var(--star); }
.reviews__dog { width: min(260px, 60vw); filter: drop-shadow(0 20px 30px rgba(68, 63, 61, .2)); }

.reviews__slider { margin-top: 40px; }
.reviews__controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.reviews__controls > div { display: flex; gap: 10px; }
.reviews__hint { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--dark); }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(68, 63, 61, .2); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.round-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: scale(1.06); }
.reviews__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 30px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.review {
  flex: 0 0 min(86vw, 360px); scroll-snap-align: start;
  background: var(--cream); border-radius: var(--radius); padding: 24px 24px 20px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  user-select: none;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__head > div { flex: 1; min-width: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 700; font-size: 1.1rem; flex: none; }
.review__name { margin: 0; font-weight: 700; line-height: 1.3; }
.review__date { margin: 0; font-size: .82rem; color: var(--muted); }
.review__g { width: 22px; height: 22px; flex: none; }
.review__stars { display: flex; gap: 2px; margin-bottom: 10px; }
.review__stars svg { width: 18px; height: 18px; fill: var(--star); }
.review__text { font-size: .98rem; line-height: 1.65; margin: 0; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { margin-top: 10px; align-self: flex-start; color: var(--orange); font-weight: 600; font-size: .85rem; }
.review__more:hover { text-decoration: underline; }

/* ---------- 11. Siegel ---------- */
.seals { position: relative; overflow: hidden; padding-block: 70px; isolation: isolate; }
.seals__bg { position: absolute; inset: -25% 0; z-index: -2; }
.seals__bg img { width: 100%; height: 100%; object-fit: cover; }
.seals::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 245, 234, .82) 25%, rgba(249, 245, 234, .82) 75%, var(--cream) 100%); }
.seals__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
.seal {
  display: grid; place-items: center; height: 170px; padding: 18px 22px;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(8px);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.seal img { max-height: 134px; width: auto; }
.seal:first-child img { max-height: 140px; }
a.seal:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow); }

/* ---------- 12. Kurse ---------- */
.courses { position: relative; z-index: 4; background: var(--cream); padding-block: clamp(80px, 12vw, 140px); overflow: hidden; }
.courses__pin { width: 100%; }
.courses__intro { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); margin-bottom: 50px; }
.courses__sub { color: var(--muted); max-width: 38ch; }
.courses__progress { display: none; }
.courses__track { display: grid; gap: 26px; padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.course {
  position: relative; text-align: center;
  background: var(--white); border-radius: 28px; padding: 40px 26px 34px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.course:hover { box-shadow: var(--shadow); }
.course p { color: var(--muted); font-size: 1rem; }
.course__num {
  position: absolute; top: 18px; left: 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 134, 8, .45);
}

/* ---------- 13. Zitat ---------- */
.quote { overflow: hidden; text-align: center; }
.quote__paw { position: absolute; width: 220px; height: 220px; left: -40px; top: 30px; fill: none; stroke: rgba(68, 63, 61, .14); stroke-width: 2; }
.quote__text {
  margin: 0 auto; max-width: 20ch;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1.08;
  color: var(--orange);
}
.quote__text::before, .quote__text::after { content: none; }
.js-motion .quote__text { color: rgba(68, 63, 61, .16); }
.quote__text .qw { display: inline-block; white-space: nowrap; }
.quote__text .qc { display: inline-block; }

/* ---------- 14. Galerie ---------- */
.gallery { padding-top: 0; overflow: hidden; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.gallery__col { display: grid; gap: 14px; }
.gallery__col:nth-child(even) { margin-top: 40px; }
.g-item { overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; background: var(--cream-2); box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(43, 43, 43, .92); display: grid; place-items: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 2.6rem; line-height: 1; width: 48px; height: 48px; }

/* ---------- 15. Kontakt ---------- */
.contact { position: relative; overflow: hidden; color: #fff; padding-block: clamp(80px, 12vw, 140px); isolation: isolate; background: var(--dark-2); }
.contact__bg { position: absolute; inset: -15% 0; z-index: -2; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(43, 43, 43, .94) 0%, rgba(43, 43, 43, .82) 45%, rgba(43, 43, 43, .6) 100%); }
.contact__grid { display: grid; gap: 50px; }
.contact__list { display: grid; gap: 8px; }
.contact__list a { display: flex; align-items: center; gap: 16px; padding: 12px 14px; margin-inline: -14px; border-radius: var(--radius-sm); transition: background .3s; word-break: break-word; }
.contact__list a:hover { background: rgba(255, 255, 255, .07); }
.contact__list strong { display: block; font-family: var(--font-head); font-size: 1.8rem; line-height: 1.1; color: #fff; }
.contact__list span { font-size: .95rem; color: rgba(255, 255, 255, .85); }
.contact__icon { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(255, 134, 8, .15); color: var(--orange); transition: background .3s, color .3s; }
.contact__icon .icon { width: 22px; height: 22px; }
.contact__list a:hover .contact__icon { background: var(--orange); color: #fff; }
.contact__form-wrap { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 28px; padding: 30px 22px; backdrop-filter: blur(10px); }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff;
  background: rgba(0, 0, 0, .18); border: 1.5px solid rgba(255, 134, 8, .55); border-radius: 12px;
  padding: 13px 14px 10px; transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(0, 0, 0, .3); box-shadow: 0 0 0 4px rgba(255, 134, 8, .2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: rgba(255, 255, 255, .85); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--orange); margin: 1px 0 0; flex: none; }
.check a { color: var(--orange); text-decoration: underline; }
.form__status { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--orange-soft); }
.social { display: flex; gap: 10px; }
.social--center { justify-content: center; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 134, 8, .14); color: var(--orange); transition: background .3s, color .3s, transform .3s var(--ease); }
.social a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

/* ---------- 16. Footer ---------- */
.footer { background: var(--cream); padding-top: 70px; position: relative; z-index: 2; }
.footer__grid { display: grid; gap: 40px; }
.footer__brand { display: grid; justify-items: start; gap: 18px; }
.footer__brand img { width: 130px; }
.footer__title { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--orange); margin: 0 0 .5em; line-height: 1; }
.footer__links { display: grid; gap: 6px; }
.footer__links a, .footer__address a { transition: color .2s; }
.footer__links a:hover, .footer__address a:hover { color: var(--orange); }
.footer__address { line-height: 1.8; font-size: .98rem; }
.footer__address a { color: var(--orange); word-break: break-word; }
.hours { display: flex; gap: 14px; background: #fff; border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); max-width: 300px; }
.hours__icon { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.hours dl { margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--muted); }
.footer__legal { margin-top: 60px; padding-block: 24px 30px; border-top: 1px solid rgba(68, 63, 61, .12); display: grid; gap: 12px; text-align: center; font-size: .88rem; color: var(--muted); }
.footer__legal nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer__legal a:hover { color: var(--orange); }
.footer__legal p { margin: 0; }

/* ==========================================================================
   UNTERSEITEN – gemeinsame Bausteine
   ========================================================================== */

/* ---------- Seiten-Hero ---------- */
.page-hero {
  position: relative; z-index: 0; isolation: isolate; overflow: hidden;
  min-height: 74vh; min-height: 74svh; display: grid; align-items: end;
  color: #fff; background: var(--dark);
}
.page-hero__media { position: absolute; inset: -8% 0; z-index: -2; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(43, 43, 43, .55) 0%, rgba(43, 43, 43, .25) 40%, rgba(43, 43, 43, .55) 78%, var(--cream) 100%);
}
.page-hero__content { width: 100%; max-width: var(--max); margin-inline: auto; padding: calc(var(--header-h) + 40px) var(--gutter) clamp(60px, 9vw, 110px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 1rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.crumbs a:hover { color: var(--orange); }
.crumbs span[aria-hidden] { color: var(--orange); }
.page-hero__title {
  font-family: var(--font-head); font-weight: 700; margin: 0 0 .15em;
  font-size: clamp(3.6rem, 13vw, 8rem); line-height: .95; text-shadow: 0 6px 40px rgba(0, 0, 0, .35);
}
.page-hero__title .w { display: inline-block; }
.page-hero__lead { max-width: 46ch; font-size: 1.15rem; margin: 0 0 1.6rem; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.page-hero .hero__actions { justify-content: flex-start; }
/* schlichte Variante für Rechtstexte */
.page-hero--plain { min-height: 0; color: var(--dark); background: var(--cream); }
.page-hero--plain::before { display: none; }
.page-hero--plain .page-hero__content { padding-bottom: 40px; }
.page-hero--plain .page-hero__title { color: var(--orange); text-shadow: none; }
.page-hero--plain .crumbs { color: var(--muted); }

/* Seiten mit hellem Kopfbereich (Rechtstexte): Header von Anfang an dunkel & mit Hintergrund */
.page-plain .header { color: var(--dark); }
.page-plain .header::before { opacity: 1; }

/* ---------- Text-Bild-Blöcke ---------- */
.split { position: relative; padding-block: clamp(70px, 10vw, 130px); overflow: hidden; overflow: clip; }
.split__grid { display: grid; gap: 40px; align-items: center; }
.split__media { position: relative; }
.split__media .mask-reveal { aspect-ratio: 4 / 3.4; }
.split__media .mask-reveal--portrait { aspect-ratio: 4 / 5; }
.split__media .mask-reveal--square { aspect-ratio: 1; }
.split__media .mask-reveal--contain { background: #fff; }
.split__media .mask-reveal--contain img { object-fit: contain; padding: 6%; }
.split__deco { /* große Pfote als Deko hinter dem Bild */
  position: absolute; width: 150px; height: 150px; right: -30px; bottom: -40px; z-index: -1;
  fill: var(--orange); opacity: .12; transform: rotate(18deg);
}
.split__text p { max-width: 58ch; }
.page-hero + .split, .page-hero + .sport-nav + .split { padding-top: clamp(40px, 6vw, 80px); }
.split__text .btn { margin-top: .6rem; }
.split--alt { background: var(--white); }
.lead-strong { font-weight: 700; color: var(--dark); }
.badge-new {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .1em;
  transform: rotate(-12deg); box-shadow: 0 10px 24px -10px rgba(255, 134, 8, .8); margin-bottom: 1rem;
}
.sub-h { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--dark); margin: -.2em 0 .6em; line-height: 1.1; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 1.6rem 0 1.4rem; }
.stat { background: var(--white); border-radius: var(--radius-sm); padding: 18px 18px 14px; box-shadow: var(--shadow-sm); }
.split--alt .stat { background: var(--cream); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 7vw, 3.2rem); line-height: .95; color: var(--orange); white-space: nowrap; }
.stat__label { display: block; font-size: .92rem; color: var(--muted); line-height: 1.35; }

/* ---------- Checkliste ---------- */
.checklist { display: grid; gap: 10px; margin: 1.2rem 0 1.6rem; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checklist li::before {
  content: ""; flex: none; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2L5.3 12l-1.4 1.4 5.6 5.6L21 7.5l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checklist--grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.checklist--grid li { background: var(--white); border-radius: var(--radius-sm); padding: 16px 16px 12px; box-shadow: var(--shadow-sm); }

/* ---------- Fragen (Junghunde) ---------- */
.questions { display: grid; gap: .1em; margin: 1rem 0 1.4rem; }
.questions p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; color: var(--dark); }

/* ---------- Schritte ---------- */
.steps { position: relative; display: grid; gap: 26px; margin: 1.4rem 0; padding-left: 58px; }
.steps::before, .steps__line { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: rgba(68, 63, 61, .12); }
.steps__line { background: var(--orange); transform-origin: top; }
.steps__item { position: relative; }
.steps__dot {
  position: absolute; left: -58px; top: -4px; width: 45px; height: 45px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 3px solid rgba(68, 63, 61, .15);
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--muted);
  transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease);
}
.steps__item.is-on .steps__dot, html:not(.js-motion) .steps__dot { background: var(--orange); border-color: var(--orange); color: #fff; transform: scale(1.08); }
.steps__item p { margin: 0; }

/* ---------- Bildband mit Parallax ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; min-height: 62vh; display: grid; place-items: center; text-align: center; color: #fff; padding: 90px var(--gutter); }
.band__bg { position: absolute; inset: -18% 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(43, 43, 43, .55); }
.band__text { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; max-width: 18ch; margin: 0; text-shadow: 0 6px 30px rgba(0, 0, 0, .4); }

/* ---------- Abschluss-CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--orange); color: #fff; text-align: center; padding-block: clamp(70px, 10vw, 110px); }
.cta .h2 { color: #fff; }
.cta p { max-width: 46ch; margin: 0 auto 1.8rem; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta .btn--primary { background: #fff; color: var(--orange-dark); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .4); }
.cta .btn--primary:hover { background: var(--dark); color: #fff; }
.cta__paw { position: absolute; width: 260px; height: 260px; fill: rgba(255, 255, 255, .12); }
.cta__paw--1 { left: -60px; top: -40px; transform: rotate(-20deg); }
.cta__paw--2 { right: -50px; bottom: -70px; transform: rotate(25deg); }

/* ---------- Sport-Navigation (klebt unter dem Header) ---------- */
.sport-nav { position: sticky; top: calc(var(--header-h) - 1px); z-index: 50; background: rgba(249, 245, 234, .9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(68, 63, 61, .08); transition: top .45s var(--ease); }
.sport-nav__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gutter); max-width: var(--max); margin-inline: auto; }
.sport-nav__list::-webkit-scrollbar { display: none; }
.sport-nav a { flex: none; padding: 9px 16px 7px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); border: 1.5px solid rgba(68, 63, 61, .14); transition: background .3s, color .3s, border-color .3s; }
.sport-nav a:hover { color: var(--orange); border-color: var(--orange); }
.sport-nav a.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.course-box { display: grid; gap: 14px; margin: 1.2rem 0; }
.course-box > div { background: var(--white); border-radius: var(--radius-sm); padding: 18px 20px 12px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--orange); }
.split--alt .course-box > div { background: var(--cream); }
.course-box h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; margin: 0 0 .2em; color: var(--dark); line-height: 1.1; }

/* ---------- Veranstaltungen ---------- */
.sherlock { margin: 1.6rem 0 0; padding: 22px 24px 18px; border-radius: var(--radius-sm); background: var(--dark); color: #fff; position: relative; }
.sherlock p { margin: 0 0 .4em; font-style: italic; }
.sherlock cite { font-style: normal; font-weight: 700; color: var(--orange); font-size: .92rem; }
.video-grid { display: grid; gap: 28px; justify-items: center; }
.video-card { width: min(100%, 420px); text-align: center; }
.video-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--orange); margin: 0 0 .4em; }
.video-card video { width: 100%; border-radius: var(--radius); background: var(--dark); box-shadow: var(--shadow); aspect-ratio: var(--ar, 9 / 16); object-fit: cover; }
.text-block p { max-width: 62ch; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: 20px clamp(80px, 10vw, 120px); }
.legal__grid { display: grid; gap: 40px; }
.legal__toc { display: none; }
.legal__content { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-sm); min-width: 0; overflow-wrap: anywhere; }
.legal__content h2 { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--orange); margin: 1.4em 0 .4em; line-height: 1.05; scroll-margin-top: 100px; }
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; color: var(--dark); }
.legal__content h4 { font-size: 1rem; margin: 1.2em 0 .3em; }
.legal__content p, .legal__content li { font-size: 1rem; line-height: 1.75; }
.legal__content ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.legal__content a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .legal__grid--toc { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
  .legal__toc { display: block; position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; font-size: .9rem; }
  .legal__toc p { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--muted); }
  .legal__toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(68, 63, 61, .12); }
  .legal__toc a { display: block; padding: 6px 0 4px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; transition: color .2s, border-color .2s; }
  .legal__toc a:hover, .legal__toc a.is-active { color: var(--orange); border-color: var(--orange); }
}

/* ---------- Kontaktseite ---------- */
.contact--page { padding-top: clamp(70px, 9vw, 110px); }
.contact__extra { display: grid; gap: 14px; margin-top: 26px; }
.contact__hours { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.contact__hours .icon { width: 24px; height: 24px; color: var(--orange); margin-top: 2px; }
.contact__hours strong { display: block; }
.contact__hours span { color: rgba(255, 255, 255, .8); font-size: .95rem; }

@media (min-width: 900px) {
  .split__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--reverse .split__media { order: 2; }
  .video-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .page-hero__content { padding-bottom: 120px; }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .courses__track { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__form-wrap { padding: 40px 36px; }
}

@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .gallery__col { gap: 20px; }
  .gallery__col:nth-child(even) { margin-top: 90px; }
  .reviews__top { grid-template-columns: 1fr auto; justify-items: start; }
  .reviews__dog { width: 250px; }
  .about__grid { grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
  .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
  .seal { height: 200px; padding: 22px 30px; }
  .seal img { max-height: 156px; }
}

@media (min-width: 1024px) {
  :root { --header-h: 96px; }
  .header.is-scrolled { --header-h: 68px; }
  .header__logo img { width: 76px; height: 76px; }
  .header.is-scrolled .header__logo img { width: 52px; height: 52px; }
  .burger, .nav__mobile-extra { display: none; }
  .header__phone { display: inline-flex; }
  .header__cta { display: inline-flex; }

  /* Desktop-Navigation inline */
  .nav { position: static; clip-path: none; visibility: visible; background: none; padding: 0; overflow: visible; transition: none; }
  .nav__list { flex-direction: row; align-items: center; gap: 4px; }
  .nav__link {
    font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: inherit;
    padding: 10px 14px; border-radius: 999px; gap: 2px; position: relative;
  }
  .nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__link.is-active, .nav__link:hover { color: var(--orange); }
  .nav__chev { width: 18px; height: 18px; }
  .nav__item--dropdown { position: relative; }
  .nav__sub {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
    display: block; padding: 10px; border: 0; max-height: none; overflow: visible;
    background: #fff; border-radius: 16px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav__item--dropdown:hover .nav__sub, .nav__item--dropdown:focus-within .nav__sub, .nav__item--dropdown.is-open .nav__sub {
    opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav__sub a { padding: 10px 14px; border-radius: 10px; color: var(--dark); font-size: 1rem; }
  .nav__sub a:hover { background: var(--cream); color: var(--orange); }

  .features__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1.3fr 1.1fr; }
  .footer__legal { grid-template-columns: 1fr auto; text-align: left; }
  .footer__legal nav { justify-content: flex-start; }
  .paw { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
}

/* Horizontal gepinnte Kurse – nur Desktop mit Maus/Trackpad & Bewegung erlaubt.
   Die Klasse .courses--h wird per JS gesetzt, damit ohne JS alles normal lesbar bleibt. */
@media (min-width: 1024px) {
  .courses.courses--h { padding: 0; }
  .courses--h .courses__pin { height: 100vh; display: flex; align-items: center; padding-top: 50px; }
  .courses--h .courses__intro { flex: 0 0 min(34vw, 460px); margin: 0; padding: 0 40px 0 max(40px, calc((100vw - 1360px) / 2 + 40px)); }
  .courses--h .courses__progress { display: block; height: 3px; width: 100%; max-width: 260px; background: rgba(68, 63, 61, .12); border-radius: 3px; margin: 10px 0 30px; overflow: hidden; }
  .courses--h .courses__progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
  .courses--h .courses__viewport {
    flex: 1; min-width: 0; overflow: hidden; padding-block: 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 70px, #000 calc(100% - 40px), transparent 100%);
  }
  .courses--h .courses__track { display: flex; gap: 30px; max-width: none; margin: 0; padding: 0 40px 0 70px; width: max-content; will-change: transform; }
  .courses--h .course { width: 340px; flex: none; padding: 48px 30px 38px; }
  .courses--h .ring--lg { width: 210px; }
}

/* ==========================================================================
   Barrierefreiheit: reduzierte Bewegung → alle Animationen aus
   ========================================================================== */
/* (gilt nicht, wenn der Besucher die Effekte per ?animation=an erzwingt → .force-motion) */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html:not(.force-motion) .paw-trail { display: none; }
  html:not(.force-motion) .story__timeline { display: none; }
  html:not(.force-motion) .steps__dot { background: var(--orange); border-color: var(--orange); color: #fff; }
  html:not(.force-motion) .quote__text { color: var(--orange) !important; }
}

/* Hinweis "Animationen ausgeschaltet – trotzdem anzeigen" */
.motion-note {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  max-width: 520px; padding: 12px 14px 10px 18px;
  background: var(--dark); color: #fff; border-radius: 16px; box-shadow: var(--shadow);
  font-size: .92rem;
}
.motion-note[hidden] { display: none; }
.motion-note span { flex: 1 1 200px; }
.motion-note a { background: var(--orange); color: #fff; font-weight: 600; padding: 8px 14px 6px; border-radius: 999px; white-space: nowrap; }
.motion-note button { color: #fff; font-size: 1.5rem; line-height: 1; width: 32px; height: 32px; }

/* Aktive Unterseite im Kurse-Dropdown */
.nav__sub a.is-current { color: var(--orange); font-weight: 600; }

/* Buttons innerhalb von Textblöcken (z. B. 404-Seite) behalten ihr Button-Design */
.legal__content .btn { color: #fff; text-decoration: none; }

/* Kontaktseite: etwas kompakterer Kopf, damit „Kontaktiere uns" beim Öffnen sichtbar ist */
[data-page="kontakt"] .page-hero { min-height: 50vh; min-height: 50svh; }
[data-page="kontakt"] .page-hero__title { font-size: clamp(3.4rem, 10vw, 6.4rem); }
[data-page="kontakt"] .page-hero__content { padding-bottom: clamp(44px, 6vw, 70px); }
[data-page="kontakt"] .contact--page { padding-top: clamp(40px, 5vw, 64px); }

/* Junghunde: erster Abschnitt etwas tiefer, damit er beim Öffnen wie bei Welpen und den anderen Kursseiten beginnt */
@media (min-width: 1100px) { [data-page="junghunde"] #junghunde { padding-top: calc(clamp(40px, 6vw, 80px) + 20px); } }
@media (min-width: 1200px) { [data-page="junghunde"] #junghunde { padding-top: calc(clamp(40px, 6vw, 80px) + 40px); } }

/* Kontaktformular: verstecktes Feld gegen Spam-Roboter (für Menschen unsichtbar) */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Veranstaltungs-Banner: schmaler, laufender Streifen ---------- */
.event-ticker {
  display: block; position: relative; z-index: 3; overflow: hidden; background: var(--dark); color: #fff;
  border-block: 2px solid var(--orange); text-decoration: none;
}
.event-ticker[hidden] { display: none; }
.event-ticker__track { display: flex; width: max-content; animation: ticker 55s linear infinite; will-change: transform; }
.event-ticker:hover .event-ticker__track, .event-ticker:focus-visible .event-ticker__track { animation-play-state: paused; }
.event-ticker__group { display: flex; flex-shrink: 0; }
.event-ticker__item { display: inline-flex; align-items: center; gap: 22px; padding: 11px 0 11px 22px; white-space: nowrap; font-weight: 600; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.event-ticker__item--title { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; letter-spacing: .03em; line-height: 1; color: var(--orange); padding-block: 6px; }
.event-ticker__item--cta { color: var(--orange); text-decoration: underline; text-underline-offset: 4px; }
.event-ticker__paw { width: 16px; height: 16px; fill: var(--orange); flex-shrink: 0; opacity: .9; }
.event-ticker:hover { background: #3a3634; }
/* Blaulicht: kleine Rundumleuchten, die mit dem Text mitlaufen und blinken (nur Licht, kein Ton) */
.event-ticker__beacon { position: relative; display: inline-block; flex-shrink: 0; width: 24px; height: 30px; }
.event-ticker__beacon::before {            /* blaue Kuppel */
  content: ""; position: absolute; left: 2px; right: 2px; top: 1px; height: 20px; border-radius: 12px 12px 3px 3px;
  background: radial-gradient(circle at 38% 30%, #e2efff 0%, #4b94ff 40%, #0b3fae 100%);
  animation: blaulicht 1.2s steps(1, end) infinite;
}
.event-ticker__beacon::after {             /* Sockel */
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 6px; border-radius: 2px; background: #9a9a9a;
}
.event-ticker__beacon--b::before { animation-delay: -.6s; }
@keyframes blaulicht {
  0%   { opacity: 1;   box-shadow: 0 0 10px 4px rgba(75, 148, 255, .95), 0 0 24px 10px rgba(75, 148, 255, .55); }
  50%  { opacity: .28; box-shadow: none; filter: saturate(.5) brightness(.6); }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .event-ticker__track { animation: none; width: 100%; justify-content: center; }
  html:not(.force-motion) .event-ticker__beacon::before { animation: none; }
  html:not(.force-motion) .event-ticker__group[data-copy="1"] { display: none; }
  html:not(.force-motion) .event-ticker__group { flex-wrap: wrap; justify-content: center; overflow: hidden; max-height: 3.4rem; }
}

/* Banner auf der Startseite: am unteren Rand des Titelbildes, sofort sichtbar */
.event-ticker--home { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; border-bottom: 0; }
.hero:has(.event-ticker--home) .hero__scroll { display: none; }   /* der Banner übernimmt die Stelle am unteren Rand */

/* ---------- Veranstaltungs-Karte (Seite Veranstaltungen) ---------- */
.event-banner { padding-block: clamp(28px, 5vw, 56px); background: var(--cream); position: relative; z-index: 1; }
.event-banner[hidden] { display: none; }
.event-banner__card {
  position: relative; display: grid; gap: 22px; align-items: center;
  background: #fff; border-radius: 28px; padding: 22px 20px 26px;
  box-shadow: var(--shadow); border: 1.5px solid var(--orange-soft); overflow: hidden;
}
.event-banner__card::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: var(--orange-soft); opacity: .7; z-index: 0;
}
.event-banner__media { position: relative; z-index: 1; width: min(100%, 300px); margin-inline: auto; }
.event-banner__ring { aspect-ratio: 1; border-radius: 50%; border: 5px solid var(--orange); overflow: hidden; background: #e9e9e9; }
.event-banner__ring img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.event-banner__date {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%) rotate(-3deg);
  min-width: 150px; padding: 8px 22px 10px; border-radius: 999px; background: var(--orange-dark); color: #fff;
  text-align: center; box-shadow: 0 12px 26px -10px rgba(229, 115, 0, .7); line-height: 1;
}
.event-banner__date b { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; }
.event-banner__date span { font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.event-banner__body { position: relative; z-index: 1; padding-top: 32px; }
.event-banner__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 8vw, 4rem); line-height: .95; margin: .1em 0 .2em; color: var(--dark); }
.event-banner__when { margin: 0 0 .6rem; font-weight: 700; font-size: 1.15rem; color: #B85C00; }
.event-banner__text { margin: 0 0 1rem; max-width: 46ch; }
.event-banner__facts { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 4px; max-width: 420px; }
.event-banner__facts li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.event-banner__facts span { color: var(--muted); }
.event-banner__facts b { color: var(--dark); }
.event-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.event-banner__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--orange-dark); text-decoration: underline; text-underline-offset: 4px; }
.event-banner__more .icon { width: 1.1em; height: 1.1em; fill: currentColor; }
.event-banner__ask { margin: 1rem 0 0; font-size: .95rem; color: var(--muted); }
.event-banner__ask a { color: var(--orange-dark); font-weight: 700; }
.event-banner .btn--primary { --bg: var(--orange-dark); }
@media (min-width: 820px) {
  .event-banner__card { grid-template-columns: 300px 1fr; gap: 44px; padding: 34px 44px 34px 34px; }
  .event-banner__media { margin: 0; }
  .event-banner__body { padding-top: 10px; }
}
.event-banner--page { padding-bottom: 0; scroll-margin-top: 90px; }


/* Anmelde-Formular in der Veranstaltungs-Karte (heller Hintergrund) */
.event-form { margin-top: 1.4rem; max-width: 560px; }
.event-form[hidden] { display: none; }
.form--light .field span { color: var(--muted); }
.form--light .field input, .form--light .field textarea { background: var(--cream); border-color: rgba(68, 63, 61, .25); color: var(--dark); }
.form--light .field input:focus, .form--light .field textarea:focus { background: #fff; }
.form--light .check { color: var(--dark); }
.form--light .check a { color: var(--orange-dark); }
.form--light .form__status { color: #B85C00; font-weight: 600; }
