/* Montserrat – normal */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-v31-latin-100.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-v31-latin-200.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-v31-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-v31-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-v31-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-v31-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-v31-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Auskommentierte Open Sans
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-300italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-500italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-700italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-800italic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-v44-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}*/

:root{
  --primary: #6EEB3A;
  --secondary: #F3EBDD;
  --text: #2B2B2B;
  --accent: #C8A96A;

  --bg: #ffffff;
  --panel: var(--secondary);
  --muted: rgba(43,43,43,.78);
  --muted2: rgba(43,43,43,.62);

  --cta1: var(--primary);
  --cta2: #55d92b;

  --form: #f1c2a7;
  --formText: #3b2b22;

  --max: 980px;

  --iconOpacity: .82;
  --iconBrightness: 1.10;
  --iconContrast: 1.20;
  --iconSaturate: 1.10;
  --iconShadow: drop-shadow(0 14px 24px rgba(0,0,0,.18));

  /* ✅ NEU: feste Höhe für die Topbar, damit kein Spalt entsteht */
  --topbarH: 44px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ✅ NUR Unterseiten: Hintergrundfarbe auf Beige setzen */
body.page-inner{
  --bg: var(--secondary);
}

.page{ flex: 1 0 auto; }

a{ color: inherit; }
img{ max-width:100%; height:auto; display:block; }

.wrap, .headerInner, .bottomInner{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: clamp(14px, 3vw, 20px);
  padding-right: clamp(14px, 3vw, 20px);
}

/* ✅ TOPBAR angepasst (sonst nichts geändert) */
.topbar{
  height: var(--topbarH);
  padding: 0 16px;                 /* kein vertikales padding -> keine Höhenabweichung */
  display: flex;
  align-items: center;
  justify-content: center;

  background:#0a0a0a;
  color:#fff;
  text-align:center;
  font-weight: 500;
  letter-spacing:.4px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar a{ color:#fff; text-decoration:none; }

/* ✅ Header bleibt gleich, nur top passend zur Topbar-Höhe */
.header{
  background:#fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky;
  top: var(--topbarH);
  z-index: 40;
}

.page-inner .pageHero{
  max-width: 900px;
  margin: 0 auto;
  /* Reserviert Platz, damit nichts “nachzentriert” wirkt */
  aspect-ratio: 845 / 321;
}

.nutritionHero{
  
  display:block;
  height:auto;
  max-width:900px;
  width:100%;
  margin:0 auto 24px;

  /* Kombi-Maske: links/rechts deutlich + oben/unten minimal */
  -webkit-mask-image:
    linear-gradient(to right,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    ),
    linear-gradient(to bottom,
      transparent 0%,
      #000 2%,
      #000 98%,
      transparent 100%
    );
  mask-image:
    linear-gradient(to right,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    ),
    linear-gradient(to bottom,
      transparent 0%,
      #000 2%,
      #000 98%,
      transparent 100%
    );

  /* wichtig: Masken miteinander multiplizieren */
  -webkit-mask-composite: source-in;
  mask-composite: intersect;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.headerInner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav{
  display:flex;
  gap: clamp(8px, 2vw, 14px);
  align-items:center;
  justify-content:center;
  width: 100%;
  flex-wrap: wrap;
}

.navLink{
  text-decoration:none;
  color: var(--text);
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 14px);
  padding: clamp(8px, 1.7vw, 10px) clamp(10px, 2.4vw, 12px);
  border-radius: 999px;
  transition: background 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.navLink:hover{ background: rgba(0,0,0,.06); }
.navLink:active{ transform: translateY(1px); }

/* =======================
   MOBILE DROPDOWN NAV (FIXED)
   ======================= */

/* Desktop: Toggle AUS */
.navToggle{
  display: none;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 10px;                 /* Touchfläche */
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.navToggle:focus,
.navToggle:active{
  outline: none;
  box-shadow: none;
}

/* Burger: 3 identische Linien (kein Box-Shadow) */
.navToggle .burger{
  display: block;
  width: 36px;
  height: 4px;                   /* Linienhöhe */
  background: #0a0a0a;
  border-radius: 4px;
  position: relative;
}
.navToggle .burger::before,
.navToggle .burger::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height: 4px;                   /* exakt gleich */
  background:#0a0a0a;
  border-radius: 4px;
}
.navToggle .burger::before{ top: -10px; }
.navToggle .burger::after { top:  10px; }

/* Desktop Nav bleibt sichtbar */
.nav{
  display: flex;
}

/* Mobile: Toggle EIN + rechts, Nav klappt darunter */
@media (max-width: 720px){

  .headerInner{
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .navToggle{
    display: inline-flex;
    margin-left: auto;           /* rechts */
    align-items:center;
    justify-content:center;
  }

  /* Nav standardmäßig zu */
  .nav{
    display: none;
    width:100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
  }

  /* Nav offen */
  .nav.isOpen{ display: flex; }

  /* Links */
  .navLink{
    display:block;
    text-align:center;
    background: rgba(0,0,0,.04);
    color: var(--text);
    text-decoration: none;
  }
}

.hero{
  background: var(--panel);
  padding: clamp(18px, 3vw, 22px) 0 clamp(44px, 6vw, 54px);
  position: relative;
  overflow: visible;
  border-bottom: 1px solid rgba(0,0,0,.08);
  z-index: 2;
}

.heroTitle{
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  letter-spacing: .03em;
  text-align:center;
  margin: 6px 0 18px;
  color: var(--text);
  position: relative;
  z-index: 3;
  font-size: clamp(18px, 2.4vw, 28px);
}

.heroArtWrap{
  width: clamp(260px, 45vw, 420px);
  margin: 0 auto 18px;
  position: relative;
  z-index: 3;
  overflow: visible;
}

.heroSketch{
  width: 100%;
  height: auto;
  opacity: .95;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.10));
}

.heroArtIcons{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow: visible;
  z-index: 4;
}

.heroArtIcons img{
  position:absolute;
  opacity: var(--iconOpacity);
  filter: var(--iconShadow) brightness(var(--iconBrightness)) contrast(var(--iconContrast)) saturate(var(--iconSaturate));
  transform: translate(-50%, -50%) rotate(var(--r,0deg)) scale(var(--sc,1));
  width: clamp(38px, 7vw, var(--s, 70px));
  height: auto;
}

.ctaRow{
  display:flex;
  justify-content:center;
  margin: 14px 0 6px;
  position: relative;
  z-index: 3;
}

.cta{
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: clamp(12px, 2vw, 14px) clamp(18px, 5vw, 30px);
  width: min(360px, 92vw);
  font-size: clamp(13px, 1.4vw, 14px);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--cta1), var(--cta2));
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  cursor:pointer;
}
.cta:active{ transform: translateY(1px); }

.afterHero{
  position: relative;
  z-index: 1;
  background: #fff;
  overflow: visible;
}

/* optional: der Anker selbst nimmt keinen Platz weg */
#ueber-uns{
  display:block;
  height:0;
  position: relative;
  top: -120px;  /* <-- höher = mehr negativ (z.B. -140px) */
}

.dottedLineLayer{
  position:absolute;
  left:35%;
  transform:translateX(-50%);
  top:0;
  width:min(980px, 100vw);
  height: 900px;
  pointer-events:none;
  z-index:0;
  overflow:hidden;
}
.dottedLineSvg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

.contentLayer{
  position: relative;
  z-index: 5;
}

.section{
  position: relative;
  padding: clamp(22px, 4vw, 34px) 0 clamp(18px, 3vw, 28px);
  background: transparent;
}

.textSection{
  text-align: center;
  letter-spacing: 0.05em;   /* ggf. 0.03–0.08 testen */
  line-height: 1.6;

  color: var(--text);
  padding: 8px 8px 6px;
  position: relative;
  z-index: 6;
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 500;

  max-width: 900px;         /* oder größer als vorher */
  margin: 0 auto;
}
.textSection p{
  margin: 0 0 clamp(14px, 2.6vw, 18px);
  max-width: none;          /* übernimmt jetzt .textSection */
}

.slideshowWrap{
  width: min(820px, 100%);
  margin: clamp(14px, 3vw, 18px) auto 10px;
  position: relative;
  z-index: 6;
}

.slideshow{
  width: 100%;
  border-radius: 10px;
  overflow:hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  position: relative;
  aspect-ratio: 16 / 9;
}
@media (max-width: 720px){
  .slideshow{ aspect-ratio: 4 / 3; }
  .slideshow img{ object-position: center top; }
}
.slideshow img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
  will-change: opacity;
}
.slideshow img.isActive{ opacity: 1; }

.slideshowOverlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 7;
}

.afterIcon{
  position: absolute;
  left: var(--x, 50%);
  top:  var(--y, 50%);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--sc, 1));
  width: clamp(44px, 7vw, var(--s, 110px));
  height: auto;
  opacity: var(--iconOpacity);
  filter: var(--iconShadow) brightness(var(--iconBrightness)) contrast(var(--iconContrast)) saturate(var(--iconSaturate));
}
.afterIcon.paw{
  width: clamp(34px, 6vw, var(--s, 50px));
}

@media (max-width: 720px){
  .afterIcon{ width: clamp(40px, 9vw, var(--s, 100px)); }
  .afterIcon.paw{ width: clamp(30px, 7.5vw, var(--s, 46px)); }
}

/* =======================
   Logo-Reihe (gleiche Abstände)
   ======================= */
.logoSection{
  background: transparent;
  padding: clamp(10px, 2.5vw, 18px) 0 clamp(18px, 3vw, 26px);
  position: relative;
  z-index: 6;
}

.logoRow{
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.logoLink{
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  min-height: 72px;
}

.logoLink img{
  height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.95;
  transition: transform 160ms ease, opacity 160ms ease;
}

.logoLink:hover img{
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 720px){
  .logoRow{
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
  .logoLink img{
    height: clamp(46px, 12vw, 58px);
  }
}

.contactSection{
  border-top: 1px solid rgba(0,0,0,.08);
  background: var(--panel);
  position: relative;
  z-index: 6;
  padding: clamp(22px, 4vw, 30px) 0 clamp(26px, 5vw, 46px);
}

.contactGrid{
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-left: clamp(14px, 3vw, 20px);
  padding-right: clamp(14px, 3vw, 20px);
  display: grid;
  grid-template-columns: 1.55fr 0.70fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}

.locationLeft{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  align-items: start;
}

.locationTextBox h3{
  font-family: "Montserrat", sans-serif;
  margin: 0 0 8px;
  font-size: clamp(15px, 2.0vw, 17px);
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(43,43,43,.92);
}

.locationTextSmall{
  margin: 0 0 14px;
  color: rgba(43,43,43,.85);
  line-height: 1.5;
  font-size: 14px;
  font-weight: 600;
}

.location-btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  width: fit-content;
  font-size: 13px;
}
.location-btn:hover{ opacity: 0.9; }

.location-map{ position: relative; }
.location-map iframe{
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  background: #fff;
  display:block;
}

.map-marker{
  position: absolute;
  left: 55%;
  top: 58%;
  transform: translate(-50%, -100%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.map-marker img{
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,0.25));
  transition: transform 0.15s ease;
}
.map-marker:hover img{ transform: scale(1.06); }

.contactRight .contactTitle{
  font-family: "Montserrat", sans-serif;
  margin: 0 0 8px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0;
  font-size: clamp(15px, 2.0vw, 17px);
  color: rgba(43,43,43,.92);
}

.contactMeta{
  color: rgba(43,43,43,.85);
  margin: 0 0 10px;
  line-height: 1.45;
  font-size: 14px;
  text-align: left;
  font-weight: 600;
}

.contactMeta a{
  color: inherit;          /* statt var(--text) */
  font-weight: 600;        /* statt 800 */
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contactMeta a:hover{ text-decoration: underline; }

.form{
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0;
  max-width: 340px;
}

.field{
  border-radius: 8px;
  background: var(--form);
  color: var(--formText);
  border: 1px solid rgba(0,0,0,.12);
  padding: 7px 9px;
  font-size: 12px;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-weight: 600;
}
.field::placeholder{ color: rgba(59,43,34,.58); }
.field:focus{ box-shadow: 0 0 0 4px rgba(110,235,58,.14); }

.formRow{
  display:grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

textarea.field{
  min-height: 90px;
  resize: none;
}

.sendRow{
  display:flex;
  justify-content:flex-start;
  margin-top: 2px;
}

.send{
  border: 0;
  border-radius: 8px;
  min-height: 34px;
  padding: 7px 12px;
  background: var(--accent);
  color: #fff;
  cursor:pointer;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  font-size: 12px;
  font-family: inherit;
}

@media (max-width: 1100px){
  .locationLeft{ grid-template-columns: 1fr; }
  .location-map iframe{ height: 320px; }
}
@media (max-width: 900px){
  .contactGrid{ grid-template-columns: 1fr; }
  .contactRight .contactTitle{ text-align: center; }
  .contactMeta{ text-align: center; }
  .sendRow{ justify-content: center; }
  .form{ margin: 0 auto; }
}

.bottomBar{
  background:#0a0a0a;
  color:#fff;
  padding: clamp(12px, 2.4vw, 14px) 0;
  margin-top: auto;
}

/* ===== FOOTER (angepasst wie gewünscht) ===== */
.bottomInner{
  display: grid;
  grid-template-columns: 1fr auto; /* Mitte + Insta rechts */
  align-items:center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap; /* harmless, auch wenn grid */
  font-size: clamp(13px, 1.4vw, 13px);
  font-weight: 500; /* dünner */
}

.bottomCenter{
  text-align: center;
}
.bottomTop{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap; /* hält Links + Counter in einer Zeile */
}
.bottomLinks{
  display:flex;
  gap: clamp(10px, 2vw, 14px);
  align-items:center;
  flex-wrap: wrap;
  justify-content: center; /* zentriert */
}
.bottomLinks a{
  color:#fff;
  text-decoration:none;
  font-weight: 500; /* dünner */
  opacity:.9;
}
.bottomLinks a:hover{ opacity:1; text-decoration: underline; }

.counter{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight: 500;
  letter-spacing:.3px;
  justify-content: center;
  margin-top: 0;
}

.counter .value{
  color: var(--primary);
  font-size: clamp(13px, 1.5vw, 14px);
}

/* POWR Hit Counter: verhindert Baseline/Whitespace durch iframe */
.counter .powr-hit-counter{
  display: block;
}

.counter .powr-hit-counter iframe,
.counter iframe{
  display: block;
  border: 0;
  line-height: 0;
}

/* Falls POWR irgendwas minimal überstehen lässt */
.bottomBar{
  overflow: hidden;
}

.bottomCopy{
  margin-top: 6px;
  font-weight: 400;
  opacity: .75;
  text-align: center;
}

.bottomInsta{
  justify-self: end;
  display: inline-flex;
  align-items: center;
}

.bottomInsta img{
  width: 76px;
  height: 76px;
  display: block;
  filter: invert(1);
}

@media (max-width: 720px){
  .bottomInner{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    text-align: center;
    justify-items: center;
  }

  .bottomCenter{
    text-align: center;
  }

  .bottomTop{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .bottomLinks{
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .counter{
    margin-top: 0;
    white-space: nowrap;
    justify-content: center;
    width: auto;
  }

  .bottomCopy{
    text-align: center;
  }

  .bottomInsta{
    justify-self: end;
  }

  .bottomInsta img{
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce){
  .slideshow img{ transition: none !important; }
}

/* =======================
   Slideshow: NUR Pfoten einfaden (Knochen starr)
   ======================= */
.slideshowOverlay .pawFade{
  opacity: 0;
  transition: opacity 3200ms ease;
}
.slideshowOverlay.isOn .pawFade{
  opacity: var(--iconOpacity);
}
/* Reihenfolge: 1 -> 2 -> 3 (Slideshow) */
.slideshowOverlay.isOn #after-paw-1.pawFade{ transition-delay: 250ms; }
.slideshowOverlay.isOn #after-paw-2.pawFade{ transition-delay: 1400ms; }
.slideshowOverlay.isOn #after-paw-3.pawFade{ transition-delay: 2550ms; }

@media (prefers-reduced-motion: reduce){
  .slideshowOverlay .pawFade{
    transition: none !important;
    opacity: var(--iconOpacity) !important;
  }
}

/* =======================
   HERO: Pfoten laufen NUR im Hero in Reihenfolge 1 -> 3 -> 2
   ======================= */
#heroIcons .pawFade{
  opacity: 0; /* startet unsichtbar */
}

@keyframes pawFadeIn{
  from { opacity: 0; }
  to   { opacity: var(--iconOpacity); }
}

/* EXAKT: unten -> mitte -> oben (1 -> 3 -> 2) */
#heroIcons.isOn #hero-paw-1.pawFade{
  animation: pawFadeIn 3.2s ease forwards;
  animation-delay: 0.2s;
}
#heroIcons.isOn #hero-paw-3.pawFade{
  animation: pawFadeIn 3.2s ease forwards;
  animation-delay: 0.8s;
}
#heroIcons.isOn #hero-paw-2.pawFade{
  animation: pawFadeIn 3.2s ease forwards;
  animation-delay: 1.4s;
}

/* =======================
   Legal pages (Datenschutz / Impressum)
   ======================= */
.legal{
  padding: clamp(18px, 3vw, 26px) 0 clamp(40px, 6vw, 70px);
}

.legalContent{
  width: min(900px, 100%);
  margin: 0 auto;
  background: transparent;   /* kein Papier */
  border: 0;                 /* kein Rahmen */
  border-radius: 0;          /* keine Rundung */
  box-shadow: none;          /* kein Schatten */
  padding: 0;                /* optional: kein Innenabstand */
}

.legalContent h1{
  margin: 0 0 14px;
  text-align: center;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(20px, 2.6vw, 30px);
}

.legalContent h2{
  margin: 18px 0 8px;
  font-weight: 600;
  font-size: clamp(15px, 1.8vw, 18px);
}

.legalContent p{
  margin: 0 0 12px;
  line-height: 1.65;
  letter-spacing: 0; /* wichtig: kein "Einheitsbrei spacing" */
  text-align: left;  /* wichtig: legal besser links */
}

.legalContent ul{
  margin: 8px 0 14px;
  padding-left: 18px;
}

.legalContent li{
  margin: 6px 0;
  line-height: 1.55;
}

.legalContent a{
  text-decoration: underline;
}

/* ==========================================================
   WASSERZEICHEN für Unterseiten
   Verwendung:
   - In der jeweiligen Unterseite im <body> folgendes setzen:
     <body class="page-inner">
   Effekt:
   - Zeigt das Bully-Logo dezent im Hintergrund (als Wasserzeichen),
     ohne dass man es anklicken kann oder dass es den Inhalt stört.
   ========================================================== */

/* Standard: alle Unterseiten (z.B. Legal) */
.page-inner::before{
  content:"";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  background-image: url("/assets/img/bully-3.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(520px, 80vw);

  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

/* Nur Unterseiten mit Hero */
.page-inner.has-hero::before{
  top: var(--wmTop, 0px);       /* startet unter dem Hero */
  background-position: center 20px; /* damit oben nichts "klebt" */
  background-size: contain;     /* damit es im kleineren Bereich nicht abgeschnitten wird */
}

/* Inhaltsschicht über dem Wasserzeichen */
.page-inner .page{
  position: relative;
  z-index: 1;
  min-height: calc(var(--wmTop, 0px) + 560px);
}

/* =======================
   MOBILE: Icons kompensieren (Ball/Pfoten/Knochen)
   OHNE SITECODE zu ändern
   ======================= */
@media (max-width: 720px){

  /* HERO-Icons: insgesamt etwas kleiner (Pfoten etc.) */
  .heroArtIcons img{
    transform: translate(-50%, -50%) rotate(var(--r,0deg)) scale(0.78);
  }

  /* Ball: wieder sichtbar + größer (überschreibt scale 0.78 nur für den Ball) */
  #hero-ball-1{
    left: -5% !important;     /* WICHTIG: nicht negativ, sonst fliegt er raus */
    top: 135% !important;
    transform: translate(-50%, -50%) rotate(var(--r,0deg)) scale(1) !important;
    width: clamp(80px, 45vw, 80px) !important; /* Größe */
  }

  /* Pfoten im Hero: etwas nach innen ziehen */
  #hero-paw-1{ left: 120% !important; top: 112% !important; }
  #hero-paw-2{ left: 108% !important; top: 74%  !important; }
  #hero-paw-3{ left: 100% !important; top: 90%  !important; }

  /* Slideshow-Icons: insgesamt kleiner */
  .slideshowOverlay .afterIcon{
    transform: translate(-50%, -50%) rotate(var(--r,0deg)) scale(0.78);
  }

  /* Knochen: näher ran + kleiner */
  #after-bone-1{
    --x: 78% !important;    /* war 85% */
    --y: -18% !important;   /* war -40% */
    --s: 90px !important;   /* war 110px */
  }

  /* Pfoten in der Slideshow: weiter rein, weniger extrem */
  #after-paw-1{ --x: 6%  !important;  --y: 135% !important; }
  #after-paw-2{ --x: 60% !important;  --y: 185% !important; }
  #after-paw-3{ --x: 96% !important;  --y: 175% !important; }
}

/* Mobile: CTA Button "Kontakt aufnehmen" kleiner */
@media (max-width: 720px){
  .cta{
    width: min(210px, 75vw);  /* deutlich schmaler */
    min-height: 34px;         /* fast minimal für Touch */
    padding: 6px 12px;        /* sehr schlank */
    font-size: 11.5px;        /* klein, aber noch lesbar */
  }
}

@media (max-width: 720px){
  .location-map iframe{
    height: 200px;   /* vorher 350px -> kleiner machen */
  }
}

@media (max-width: 900px){
  .locationTextBox{
    text-align: center;
  }

  .locationTextBox h3{
    text-align: center;
  }

  .locationTextSmall{
    text-align: center;
  }

  .location-btn{
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
}


/* =========================================================
   Phase 2 – Utilities & inline-style removal
   (keine style="" Attribute mehr nötig → CSP kann strenger sein)
   ========================================================= */

.mt20 { margin-top: 20px; }

.centeredTextBox {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.mediaCardWrap {
  margin: 18px auto 32px;
  max-width: 700px;
}

.mediaCardImg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}

.wuerfeGridBox{
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.pillLink{
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.04);
}

.pillLink:hover,
.pillLink:focus-visible{
  background: rgba(0,0,0,.07);
}

.puppyBlock.bgMale { background: #dbeafe; }
.puppyBlock.bgFemale { background: #fce7f3; }

/* Hero icons positions (moved from inline styles) */
#hero-ball-1 { left:-50%; top:127%; --s:260px; --r:-14deg; }
#hero-paw-1 { left:147%; top:125%; --s:50px; --r:10deg; }
#hero-paw-2 { left:121%; top:75%; --s:50px; --r:-6deg; }
#hero-paw-3 { left:107%; top:91%; --s:50px; --r:6deg; }

#after-bone-1 { --x: 85%; --y: -30%; --s:110px; --r:8deg; }
#after-paw-1 { --x: -5%; --y: 160%; --s:50px; --r:210deg; }
#after-paw-2 { --x: 65%; --y: 220%; --s:50px; --r:145deg; }
#after-paw-3 { --x: 108%; --y: 205%; --s:50px; --r:126deg; }


/* Hero icon per-element positions (moved from inline styles) */
#hero-ball-1 { left:-50%; top:127%; --s:260px; --r:-14deg; }
#hero-paw-1 { left:147%; top:125%; --s:50px; --r:10deg; }
#hero-paw-2 { left:121%; top:75%; --s:50px; --r:-6deg; }
#hero-paw-3 { left:107%; top:91%; --s:50px; --r:6deg; }

/* ---------- Slideshow Lightbox (global) ---------- */
.ssModal{
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,.75);
  z-index: 9999;
}
.ssModal.isOpen{ display: block; }

.ssStage{
  position: absolute;
  inset: 60px 20px 20px 20px;
  display: grid;
  place-items: center;
}

.ssStage img{
  max-width: 96vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.ssClose{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.ssNav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.ssNav.prev{ left: 12px; }
.ssNav.next{ right: 12px; }

@media (max-width: 420px){
  .ssStage{ inset: 54px 12px 12px 12px; }
  .ssNav{ width: 42px; height: 42px; font-size: 24px; }
}
/* POWR hängt unten #powrIframeLoader an – das verursacht den sichtbaren Streifen */
#powrIframeLoader{
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Gemeinsamer Fließtext-Stil (Startseite + Unterseiten) */
.copy{
  font-weight: 500;
  font-size: clamp(14px, 1.7vw, 16px);
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: center;     /* du willst zentriert */
}

.copy p{
  margin: 0 0 clamp(14px, 2.6vw, 18px);
}

.copy p:last-child{
  margin-bottom: 0;
}
/* Typo konsistent: Startseite (.textSection) + Unterseiten (.copy) */
.copy,
.textSection{
  font-weight: 500;
  font-size: clamp(14px, 1.7vw, 16px);
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: center;
}

.copy p,
.textSection p{
  margin: 0 0 clamp(14px, 2.6vw, 18px);
}

.copy p:last-child,
.textSection p:last-child{
  margin-bottom: 0;
}
/* Startseite: Fließtext wie Unterseiten (neutral) */
body:not(.page-inner) .textSection{
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.6;
  text-align: center;
}

body:not(.page-inner) .textSection p{
  margin: 0 0 1em;
}

