/* Berner Sennenhunde vom Ruppenberg — Neuaufbau November 2026 (vorher sitely/Sparkle).
   Farben, Schriften und Formsprache des Originals: Türkis, Grau, Carbon-Kopf, große runde Ecken. */

@font-face { font-family: "Raleway"; src: url("../schriften/Raleway-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../schriften/Raleway-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../schriften/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../schriften/Lato-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../schriften/Lato-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Abel"; src: url("../schriften/Abel-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../schriften/HankenGrotesk_wght_.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --tuerkis: #8accc5;
  --tuerkis-hell: #b9e2dd;
  --tuerkis-tief: #4f9c94;
  --grau: #808080;
  --grau-tief: #6d6969;
  --grau-hell: #c0c0c0;
  --schiefer: #52646f;
  --tinte: #33424a;
  --carbon: #1f1f1f;
  --weiss: #fff;
  --rot: #c80927;
  --rund: clamp(72px, 13vw, 200px);
  --rund-klein: 22px;
  --breite: 1180px;
  --rand: clamp(18px, 4.5vw, 56px);
  --schatten: 0 10px 28px rgba(0, 0, 0, .18);
  --schatten-klein: 0 4px 12px rgba(0, 0, 0, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--weiss); color: var(--tinte);
  font-family: "Abel", "Hanken Grotesk", system-ui, sans-serif; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.62;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Lato", system-ui, sans-serif; line-height: 1.25; margin: 0 0 .8em; text-wrap: balance; }
h1 { font-weight: 900; font-size: clamp(1.55rem, 1.05rem + 2.3vw, 2.5rem); letter-spacing: .01em; }
h2 { font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.05rem); }
h3 { font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.6rem); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--schiefer); outline-offset: 3px; border-radius: 6px; }
.innen { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--weiss); color: var(--tinte); padding: 10px 16px; border-radius: 10px; font-family: "Raleway", sans-serif; }
.sprung:focus { top: 12px; }

/* ---------- Kopf ---------- */
.kopf { background: var(--carbon) url("../bilder/carbon.png"); color: var(--weiss); padding: clamp(18px, 2.8vw, 36px) 0 clamp(34px, 4vw, 52px); }
.kopf-rahmen {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 2px solid var(--weiss); border-radius: 20px; padding: clamp(14px, 2vw, 26px) clamp(16px, 3.2vw, 44px) clamp(22px, 3vw, 40px);
}
.logo { display: block; flex: none; width: clamp(230px, 36vw, 450px); position: relative; z-index: 2; transition: transform .35s ease; }
.logo:hover { transform: scale(1.025) rotate(-.6deg); }
.kopf-kontakt {
  position: absolute; right: clamp(14px, 3vw, 44px); bottom: 0; transform: translateY(50%); z-index: 3;
  display: flex; flex-wrap: wrap; gap: 8px clamp(16px, 3vw, 46px); align-items: center;
  background: var(--tuerkis); color: var(--weiss); border: 2px solid var(--weiss); border-radius: 8px 28px 8px 28px;
  padding: 11px clamp(16px, 2.2vw, 30px); box-shadow: var(--schatten-klein);
}
.kopf-kontakt a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-decoration: none; font-family: "Lato", sans-serif; font-weight: 700; font-size: clamp(.95rem, .85rem + .4vw, 1.12rem); text-shadow: 0 1px 2px rgba(0, 0, 0, .28); }
.kopf-kontakt small { display: block; font-weight: 400; font-size: .68em; opacity: .95; line-height: 1.1; }
.kopf-kontakt svg { width: 30px; height: 30px; grid-row: span 2; }
.kopf-kontakt a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--grau); box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.nav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px clamp(8px, 2vw, 28px); }
.nav li { flex: 1 1 110px; max-width: 170px; }
.pille {
  display: block; text-align: center; text-decoration: none; font-family: "Raleway", sans-serif; font-weight: 600; font-size: clamp(.95rem, .9rem + .25vw, 1.1rem);
  color: var(--weiss); background: var(--tuerkis); border: 2px solid var(--weiss); border-radius: 6px 20px 6px 20px; padding: 8px 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: background .2s, transform .2s, padding .2s;
}
.pille:hover { background: var(--tuerkis-tief); transform: translateY(-2px); }
.pille[aria-current="page"] { background: var(--weiss); color: var(--schiefer); text-shadow: none; }
.nav-knopf { display: none; }

@media (max-width: 860px) {   /* Telefon und kleines Tablet: Logo links, Anrufen und E-Mail als zwei Tasten rechts */
  .kopf { padding: 14px 0; }
  .kopf-rahmen { padding: 12px 14px; gap: 12px; border-radius: 16px; }
  .logo { flex: 0 1 auto; width: min(62vw, 340px); }
  .kopf-kontakt { position: static; transform: none; flex: none; flex-direction: column; gap: 12px; padding: 0; background: none; border: 0; box-shadow: none; }
  .kopf-kontakt a { grid-template-columns: 1fr; place-items: center; width: 56px; height: 56px; background: var(--tuerkis); border: 2px solid var(--weiss); border-radius: 10px 22px 10px 22px; box-shadow: var(--schatten-klein); }
  .kopf-kontakt a small, .kopf-kontakt a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .kopf-kontakt svg { grid-row: auto; }
}
@media (max-width: 720px) {
  .nav-knopf {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border: 0; background: none; color: var(--weiss);
    font-family: "Raleway", sans-serif; font-weight: 600; font-size: 1.05rem; cursor: pointer;
  }
  .nav-knopf i { display: block; width: 22px; height: 2px; background: currentColor; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; transition: transform .25s; }
  .nav-knopf[aria-expanded="true"] i { transform: rotate(90deg); }
  .js .nav ul { display: grid; grid-template-rows: 0fr; padding: 0; overflow: hidden; }
  .js .nav ul > li { min-height: 0; }
  .js .nav ul { max-height: 0; transition: max-height .35s ease; }
  .js .nav.offen ul { max-height: 460px; padding: 4px 0 16px; }
  .nav ul { flex-direction: column; gap: 10px; }
  .nav li { max-width: none; flex: none; }
  .pille { padding: 11px; }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center; font-family: "Raleway", sans-serif; font-weight: 600; font-size: clamp(.98rem, .92rem + .3vw, 1.12rem);
  color: var(--weiss); background: var(--grau); border: 2px solid var(--weiss); border-radius: 8px 24px 8px 24px; padding: 11px 32px; min-width: 160px; line-height: 1.3;
  box-shadow: var(--schatten-klein); transition: transform .2s, box-shadow .2s, background .2s;
}
.knopf:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, .28); background: var(--grau-tief); }
.knopf:active { transform: translateY(0); }
.knopf--tuerkis { background: var(--tuerkis); text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.knopf--tuerkis:hover { background: var(--tuerkis-tief); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 1.9em; }

/* ---------- Bühne (großes Foto mit Textblatt) ---------- */
.buehne { position: relative; isolation: isolate; min-height: clamp(380px, calc(100vw / var(--verh, 2.2)), 820px); display: grid; align-items: center; padding: clamp(34px, 6vw, 84px) 0; }
.buehne > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--blick, center); z-index: -1; }
.buehne--rechts .innen { display: grid; justify-items: end; }
.buehne-blatt {
  background: var(--tuerkis); color: var(--tinte); max-width: 580px; padding: clamp(30px, 4.6vw, 64px) clamp(26px, 4.4vw, 60px);
  border-radius: 26px var(--rund) 26px var(--rund); box-shadow: var(--schatten);
}
.buehne--rechts .buehne-blatt { border-radius: var(--rund) 26px var(--rund) 26px; align-self: start; }
.buehne-blatt h1 { color: var(--grau-tief); }
.buehne-blatt p { color: var(--tinte); }

/* ---------- Blätter (türkise Flächen mit großer Rundung) ---------- */
.blatt { background: var(--tuerkis); color: var(--tinte); padding: clamp(52px, 8vw, 118px) 0; margin: clamp(22px, 3.4vw, 46px) 0; }
.blatt--rechts { border-radius: 0 var(--rund) var(--rund) 0; margin-right: clamp(0px, 1.5vw, 26px); }
.blatt--links { border-radius: var(--rund) 0 0 var(--rund); margin-left: clamp(0px, 1.5vw, 26px); }
.blatt--oben-rechts { border-radius: 0 var(--rund) 0 0; }
.blatt--unten-links { border-radius: 0 var(--rund) 0 var(--rund); }
.blatt h2, .blatt h3 { color: var(--grau-tief); }
.band { background: var(--grau-tief); color: var(--weiss); padding: clamp(56px, 8vw, 118px) 0; margin: clamp(22px, 3.4vw, 46px) 0; }
.band h2 { color: var(--tuerkis); font-weight: 900; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); line-height: 1.6; }
.zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(36px, 6.5vw, 96px); align-items: center; }
.zwei--oben { align-items: start; }

/* ---------- Bilder ---------- */
.bild { position: relative; margin: 0; border-radius: var(--rund-klein) 90px var(--rund-klein) var(--rund-klein); overflow: hidden; box-shadow: var(--schatten); outline: 3px solid var(--weiss); outline-offset: 5px; background: var(--tuerkis-hell); }
.bild--links { border-radius: 90px var(--rund-klein) var(--rund-klein) var(--rund-klein); }
.bild img { width: 100%; transition: transform .7s ease; }
.bild:hover img { transform: scale(1.04); }
.bild figcaption { position: absolute; left: 4%; right: 4%; bottom: 5%; background: rgba(72, 82, 88, .66); color: var(--weiss); padding: 10px 18px; border-radius: 4px 22px 4px 22px; font-size: .95em; line-height: 1.35; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); backdrop-filter: blur(3px); }
.bild .lottie { position: absolute; right: 4%; top: 34%; width: clamp(64px, 20%, 110px); background: rgba(255, 255, 255, .88); border-radius: 14px; padding: 6px; box-shadow: var(--schatten-klein); }

/* ---------- Hunde ---------- */
.umschalter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin: clamp(22px, 3vw, 40px) 0 0; }
.umschalter .knopf[aria-current="page"] { background: var(--tuerkis); text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.hund .zwei { align-items: start; }
.hund h2 { margin-bottom: .2em; }
.hund .rufname { font-family: "Lato", sans-serif; font-weight: 400; font-size: .7em; white-space: nowrap; }
.hund .geboren { font-family: "Raleway", sans-serif; font-weight: 600; color: var(--schiefer); margin-bottom: 1.4em; }
.ahnentafel { display: block; position: relative; margin-top: clamp(36px, 5.5vw, 72px); border-radius: var(--rund-klein); overflow: hidden; background: var(--weiss); box-shadow: var(--schatten); outline: 3px solid var(--weiss); outline-offset: 5px; }
.ahnentafel img { width: 100%; transition: transform .5s ease, filter .3s; }
.ahnentafel:hover img { transform: scale(1.015); filter: brightness(.96); }
.ahnentafel .lupe { position: absolute; right: 3%; bottom: 6%; width: clamp(46px, 9%, 84px); height: auto; color: #1f1f1f; transition: transform .3s; }
.ahnentafel:hover .lupe { transform: scale(1.14) rotate(-8deg); }
.ahnentafel .hinweis { position: absolute; left: 0; bottom: 0; background: var(--grau); color: var(--weiss); font-family: "Raleway", sans-serif; font-size: .82rem; padding: 5px 16px 5px 12px; border-radius: 0 16px 0 0; }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); gap: clamp(16px, 2.6vw, 30px); margin-top: clamp(32px, 5vw, 60px); padding: 0; list-style: none; }
.galerie a { display: block; border-radius: var(--rund-klein); overflow: hidden; box-shadow: var(--schatten-klein); outline: 3px solid var(--weiss); outline-offset: 3px; aspect-ratio: 3 / 4; background: var(--tuerkis-hell); }
.galerie li:first-child { grid-column: span 2; }
.galerie li:first-child a { aspect-ratio: 3 / 2; height: 100%; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.galerie a:hover img { transform: scale(1.07); }

/* ---------- Aktuelles (Beiträge aus der Reporter-App) ---------- */
.beitrag-datum { font-family: "Raleway", sans-serif; font-weight: 600; font-size: .9em; color: var(--schiefer); margin-bottom: .5em; }
.beitraege { display: grid; gap: clamp(44px, 7vw, 90px); }
.beitrag { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(26px, 5vw, 70px); align-items: start; }
.beitrag + .beitrag { border-top: 3px solid var(--weiss); padding-top: clamp(44px, 7vw, 90px); }
.beitrag h3 { color: var(--grau-tief); }
.beitrag-medien { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 20px); }
.beitrag-medien--eins { grid-template-columns: 1fr; }
.beitrag-medien > :first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.beitrag-medien a, .beitrag-medien video, .bild--beitrag video, .bild--beitrag a { display: block; border-radius: var(--rund-klein); overflow: hidden; background: #1f1f1f; box-shadow: var(--schatten-klein); outline: 3px solid var(--weiss); outline-offset: 4px; }
.beitrag-medien img, .beitrag-medien video, .bild--beitrag img, .bild--beitrag video { width: 100%; height: auto; display: block; }
.beitrag-medien a img { transition: transform .6s ease; }
.beitrag-medien a:hover img { transform: scale(1.04); }
.bild--beitrag { outline: none; box-shadow: none; background: none; overflow: visible; border-radius: 0; }
.bild--beitrag video, .bild--beitrag a { border-radius: var(--rund-klein) 90px var(--rund-klein) var(--rund-klein); }

/* ---------- Formular ---------- */
.formular { display: grid; gap: 18px; font-family: "Hanken Grotesk", system-ui, sans-serif; }
.formular label { font-size: .95rem; }
.formular input[type="text"], .formular input[type="email"], .formular textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tinte); background: var(--weiss); border: 2px solid transparent; border-radius: 6px 16px 6px 6px; padding: 12px 14px; margin-top: 4px;
  transition: border-color .2s, box-shadow .2s;
}
.formular textarea { min-height: 170px; resize: vertical; }
.formular input:focus, .formular textarea:focus { outline: none; border-color: var(--schiefer); box-shadow: 0 0 0 4px rgba(82, 100, 111, .25); }
.formular .zustimmung { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .92rem; line-height: 1.4; }
.formular .zustimmung input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--schiefer); }
.formular .falle { position: absolute; left: -6000px; }
.formular .knopf { justify-self: end; border: 2px solid var(--weiss); font-family: "Raleway", sans-serif; }
.formular .meldung { margin: 0; padding: 10px 14px; border-radius: 6px 16px 6px 6px; background: var(--weiss); color: #8a1226; font-size: .95rem; }
.formular .meldung:empty { display: none; }
.formular[aria-busy="true"] .knopf { opacity: .6; pointer-events: none; }
.formularrahmen { border: 3px solid var(--weiss); border-radius: var(--rund-klein); padding: clamp(18px, 3vw, 32px); }

/* ---------- Text (Impressum, Datenschutz) ---------- */
.text { max-width: 820px; }
.text h1 { color: var(--grau-tief); }
.text h2 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); margin-top: 1.8em; color: var(--schiefer); }
.text h3 { font-size: 1.12rem; margin-top: 1.4em; color: var(--schiefer); }
.text a { text-underline-offset: 3px; }
.text ul { padding-left: 1.2em; margin: 0 0 1em; }

/* ---------- Fuß ---------- */
.fuss-blatt { background: var(--tuerkis); border-radius: 0 var(--rund) 0 var(--rund); padding: clamp(48px, 7vw, 96px) 0; margin-top: clamp(22px, 3.4vw, 46px); }
.fuss-blatt h2 { margin-bottom: 1em; color: var(--weiss); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); text-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.fuss-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(32px, 5vw, 70px); align-items: center; }
.anschrift { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; background: var(--weiss); color: #444; border: 2px solid var(--grau); border-radius: 4px 4px 34px 4px; padding: 14px 20px; font-family: "Lato", sans-serif; font-weight: 900; font-style: normal; letter-spacing: .03em; line-height: 1.5; max-width: 340px; box-shadow: var(--schatten-klein); }
.verbaende { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; align-items: center; justify-items: start; max-width: 100%; }
.verbaende a { display: block; transition: transform .25s; }
.verbaende a:hover { transform: scale(1.06); }
.verbaende .dcbs { width: 96px; border-radius: 50%; }
.verbaende .vdh { width: 150px; }
.verbaende .fci { grid-column: span 2; width: min(100%, 330px); min-width: 0; }
.fuss-bild { margin: 0; border: 3px solid var(--weiss); box-shadow: var(--schatten-klein); overflow: hidden; border-radius: 4px 40px 4px 4px; }
.fuss-bild img { width: 100%; }
.fuss-leiste { background: var(--grau); color: var(--weiss); font-family: "Lato", sans-serif; font-size: .92rem; padding: 20px 0; }
.fuss-leiste .innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 26px; }
.fuss-leiste nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fuss-leiste nav a { text-underline-offset: 3px; }
.fuss-kontakt { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.fuss-kontakt a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; color: var(--tuerkis-hell); }
.fuss-kontakt a span { border: 2px solid var(--weiss); border-radius: 4px 14px 4px 4px; padding: 3px 12px; transition: background .2s, color .2s; }
.fuss-kontakt a:hover span { background: var(--weiss); color: var(--grau-tief); }
.fuss-kontakt .lottie { width: 38px; height: 38px; }

/* ---------- Lottie ---------- */
.lottie { display: block; aspect-ratio: 1; }
.anschrift .lottie { width: 74px; }
.band .lottie { width: clamp(70px, 9vw, 110px); margin-bottom: 14px; }

/* ---------- Lichtkasten ---------- */
.lichtkasten { position: fixed; inset: 0; z-index: 200; background: rgba(20, 24, 26, .93); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lichtkasten.offen { opacity: 1; visibility: visible; }
.lichtkasten-buehne { overflow: auto; display: grid; place-items: center; padding: 8px; }
.lichtkasten img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: 10px; background: var(--weiss); cursor: zoom-in; transform: scale(.96); transition: transform .25s; }
.lichtkasten.offen img { transform: scale(1); }
.lichtkasten img.gross { max-width: none; max-height: none; width: min(2200px, 240vw); cursor: zoom-out; }
.lichtkasten-kopf, .lichtkasten-fuss { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; color: var(--weiss); font-family: "Raleway", sans-serif; }
.lichtkasten-fuss { justify-content: center; text-align: center; font-size: .98rem; min-height: 54px; }
.lichtkasten button { font: inherit; font-weight: 600; color: var(--weiss); background: var(--grau); border: 2px solid var(--weiss); border-radius: 6px 18px 6px 18px; padding: 7px 18px; cursor: pointer; transition: background .2s; }
.lichtkasten button:hover { background: var(--tuerkis-tief); }
.lichtkasten button[hidden] { display: none; }
.lichtkasten .gruppe { display: flex; gap: 10px; }

/* ---------- Bewegung ---------- */
@keyframes einblenden-oben { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
.js .buehne-blatt { animation: einblenden-oben .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .zeig { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .zeig--links { transform: translateX(-46px); }
.js .zeig--rechts { transform: translateX(46px); }
.js .zeig.sichtbar { opacity: 1; transform: none; }
.js .zeig[data-stufe="1"] { transition-delay: .12s; }
.js .zeig[data-stufe="2"] { transition-delay: .24s; }
.js .zeig[data-stufe="3"] { transition-delay: .36s; }
/* ---------- Tablet hochkant ---------- */
@media (min-width: 721px) and (max-width: 960px) {
  .nav ul { gap: 8px; flex-wrap: nowrap; }
  .nav li { flex: 1 1 0; min-width: 0; max-width: none; }
  .pille { font-size: .95rem; padding-inline: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buehne { display: block; min-height: 0; padding: 0 0 12px; }
  .buehne > img { position: static; z-index: auto; height: clamp(300px, 52vw, 480px); object-position: var(--blick-m, var(--blick, center)); }
  .buehne .innen, .buehne--rechts .innen { display: block; justify-items: stretch; margin-top: -46px; position: relative; }
  .buehne-blatt, .buehne--rechts .buehne-blatt { max-width: none; width: 100%; }
}

/* ---------- Telefon ---------- */
@media (max-width: 720px) {
  :root { --rund: 64px; }
  /* Kopfbild oben ganz sichtbar, das Textblatt darunter leicht überlappend */
  .buehne { display: block; min-height: 0; padding: 0 0 8px; }
  .buehne > img { position: static; z-index: auto; height: clamp(220px, 64vw, 380px); object-position: var(--blick-m, var(--blick, center)); }
  .buehne .innen, .buehne--rechts .innen { display: block; justify-items: stretch; margin-top: -30px; position: relative; }
  .buehne-blatt { width: 100%; }
  .buehne-blatt, .buehne--rechts .buehne-blatt { max-width: none; padding: 26px 22px 30px; border-radius: 18px 56px 18px 56px; }
  .knopfreihe { gap: 12px; }
  .knopfreihe .knopf { flex: 1 1 130px; min-width: 0; padding-inline: 14px; }
  .blatt, .band { padding: 46px 0; margin: 18px 0; }
  .blatt--rechts { margin-right: 0; } .blatt--links { margin-left: 0; }
  .zwei { gap: 30px; }
  .zwei--text-zuerst > :last-child { order: -1; }
  .bild, .ahnentafel { outline-offset: 3px; border-radius: 16px 56px 16px 16px; }
  .bild--links { border-radius: 56px 16px 16px 16px; }
  .ahnentafel { border-radius: 16px; margin-top: 30px; }
  .bild figcaption { position: static; border-radius: 0; background: var(--grau-tief); backdrop-filter: none; padding: 12px 16px; font-size: .92em; }
  .bild .lottie { top: 8%; right: 5%; width: 64px; }
  .bild--beitrag video, .bild--beitrag a { border-radius: 16px 56px 16px 16px; }
  .hund .rufname { display: block; margin-top: .2em; }
  .hund .knopfreihe .knopf { flex-basis: 100%; }
  .galerie { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .formularrahmen { padding: 16px; }
  .formular .knopf { justify-self: stretch; }
  .formular input[type="text"], .formular input[type="email"], .formular textarea { font-size: 16px; }   /* verhindert das Hineinzoomen am iPhone */
  .beitrag-medien { grid-template-columns: 1fr; }
  .fuss-blatt { padding: 44px 0; }
  .anschrift { max-width: none; }
  .fuss-leiste .innen { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fuss-kontakt { flex-direction: column; gap: 10px; }
  .text h1 { overflow-wrap: anywhere; }
  .lichtkasten-kopf { flex-wrap: wrap; padding: 10px; gap: 8px; }
  .lichtkasten button { padding: 7px 12px; font-size: .92rem; }
  .lichtkasten img { max-height: calc(100vh - 190px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .buehne-blatt { animation: none; }
  .js .zeig { opacity: 1; transform: none; transition: none; }
  .bild img, .galerie img, .knopf, .pille, .logo { transition: none; }
}
@media print { .nav, .kopf-kontakt, .lichtkasten, .fuss-kontakt { display: none; } }
