/* ==========================================================================
   Volle Kanne – Hofmolkerei aus dem Sauerland
   Stylesheet v2 (Typo-System, ruhigere Flächen, Touch-optimiert)
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Felt Tip Roman";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/felt-tip-roman.ttf") format("truetype");
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben: Markenrosa minimal vertieft, damit weiße Schrift 4,5:1 erreicht */
  --pink: #d6206a;
  --pink-deep: #b8155a;
  --pink-soft: #fbe9f1;
  --petrol: #0c3543;
  --ink: #1f1f1f;
  --muted: #4b4846;
  --surface: #f6f2f3;
  --white: #ffffff;
  --gold: #f5b400;

  --font-sans: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  --font-script: "Felt Tip Roman", "Comic Sans MS", cursive;

  /* Typo-Skala: sechs Größen, fließend zwischen Handy und Desktop */
  --fs-display: clamp(2.25rem, 1.15rem + 4.4vw, 4.75rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 2vw, 3.125rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.4375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-script: clamp(1.75rem, 1.35rem + 1.5vw, 2.75rem);

  /* Raster und Rhythmus */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(4.5rem, 2.75rem + 6vw, 8.5rem);
  --radius: 14px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --header-h: 88px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* Rosa als äußerster Hintergrund (Statusleiste/Überscroll auf iOS), Inhalt bleibt weiß */
html {
  background: var(--pink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Body in Petrol: Safari färbt damit den Bereich unter dem Footer passend ein; Inhalt liegt weiß in <main> */
body {
  margin: 0;
  background: var(--petrol);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { display: block; background: var(--white); }
img, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
picture > source { display: none; } /* sonst belegt <source> in Grid-Layouts eine eigene Zelle */

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; }

button, a, [role="button"] { touch-action: manipulation; }
button, .btn, .accordion__trigger, .product-filter__btn, .store-link, .accordion-more {
  -webkit-user-select: none;
  user-select: none;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  padding: 10px 20px; background: var(--white); color: var(--ink);
}
.skip-link:focus { left: 10px; top: 10px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

[id] { scroll-margin-top: 84px; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.products :focus-visible,
.site-footer :focus-visible,
.site-header.is-sticky :focus-visible,
.hero :focus-visible { outline-color: var(--white); }

/* ---------- Typo-Bausteine ---------- */
.script-title {
  margin: 0 0 0.35em;
  font-family: var(--font-script);
  font-size: var(--fs-script);
  font-weight: 400;
  line-height: 1;
  color: var(--pink);
}
.section-title {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.lead { font-size: var(--fs-lead); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 9px; height: 16px; flex: none; fill: currentColor; }

.btn--pink { background: var(--pink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white-pink { background: var(--white); color: var(--pink); }
.btn--outline { background: transparent; color: var(--pink); box-shadow: inset 0 0 0 2px var(--pink); } /* Kontur-Button, kein Schatten – taste-skill-ignore */
.btn--ghost-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75); } /* taste-skill-ignore */

@media (hover: hover) and (pointer: fine) {
  .btn--pink:hover { background: var(--pink-deep); }
  .btn--pink-petrol:hover { background: var(--petrol); }
  .btn--white:hover { background: var(--pink); color: var(--white); }
  .btn--white-pink:hover { background: var(--petrol); color: var(--white); }
  .btn--outline:hover { background: var(--pink); color: var(--white); }
  .btn--ghost-light:hover { background: var(--white); color: var(--ink); box-shadow: none; } /* taste-skill-ignore */
}

.page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: calc(var(--container) + 2 * var(--gutter));
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.site-header__logo img { width: 128px; height: auto; }

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.22s var(--ease-out);
}
.main-nav a.is-active::after,
.main-nav:not(.has-spy) a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover::after { transform: scaleX(1); }
}

.site-header__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.site-header__actions .btn { min-height: 46px; padding: 11px 22px; }

.nav-toggle {
  display: none;
  margin: 0;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mitlaufender Header */
.site-header.is-sticky {
  position: fixed;
  background: var(--pink);
  box-shadow: 0 6px 24px rgba(12, 53, 67, 0.16); /* schwebende Leiste – taste-skill-ignore */
  animation: header-in 0.28s var(--ease-out) both;
}
.site-header.is-sticky .site-header__inner { min-height: 66px; }
.site-header.is-sticky .site-header__logo img { width: 92px; }
.site-header.is-sticky .site-header__actions .btn { background: var(--white); color: var(--pink); }
@keyframes header-in {
  from { transform: translateY(-100%); }
  to { transform: none; }
}

/* Handy-Menü */
.mobile-nav {
  display: none;
  grid-column: 1 / -1;
  margin: 8px calc(-1 * var(--gutter)) 0;
  padding: 8px 0 22px;
  background: var(--white);
  box-shadow: 0 18px 30px rgba(12, 53, 67, 0.18); /* aufgeklapptes Menü – taste-skill-ignore */
}
.mobile-nav.is-open { display: block; animation: menu-in 0.2s var(--ease-out) both; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px var(--gutter);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
}
.mobile-nav a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #b9b3b5;
  border-right: 2px solid #b9b3b5;
  transform: rotate(45deg);
}
.mobile-nav a[aria-current="page"] { color: var(--pink); }
.mobile-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--pink);
}
.mobile-nav li.mobile-nav__cta { padding: 14px var(--gutter) 0; }
.mobile-nav .mobile-nav__cta a {
  justify-content: center;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-weight: 700;
}
.mobile-nav .mobile-nav__cta a::after,
.mobile-nav .mobile-nav__cta a::before { display: none; }
.mobile-nav__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 18px;
  margin: 12px var(--gutter) 0;
  color: var(--muted);
  font-size: var(--fs-small);
}
.mobile-nav__meta a { display: inline; padding: 0; color: var(--muted); font-size: var(--fs-small); font-weight: 400; white-space: nowrap; }
.mobile-nav__meta a::after { display: none; }

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(100svh, 860px);
  padding: calc(var(--header-h) + 40px) 0 clamp(96px, 12vh, 150px);
  background: #3a3330 url("../img/header-volle-kanne.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/header-volle-kanne.webp") type("image/webp"), url("../img/header-volle-kanne.jpg") type("image/jpeg"));
  color: var(--white);
}
/* neutraler Schleier für Lesbarkeit – einzige erlaubte Verlaufsform */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.55) 100%); /* taste-skill-ignore */
}
.hero > .container { position: relative; z-index: 1; }
.hero__content { max-width: 760px; }
.hero__title {
  margin: 0 0 20px;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
}
.hero__lead {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* kurzes Einblenden beim Laden: Titel, Text, Buttons leicht versetzt */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__lead, .hero__buttons,
  .page-hero__title, .page-hero__lead { animation: rise-in 0.5s var(--ease-out) both; }
  .hero__lead, .page-hero__lead { animation-delay: 70ms; }
  .hero__buttons { animation-delay: 140ms; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* gerissene Kante */
.hero__splash {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: clamp(36px, 5vw, 65px);
  background: url("../img/splash.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

/* ==========================================================================
   Startseite – Abschnitte
   ========================================================================== */
.about { padding: var(--section) 0 calc(var(--section) * 0.6); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__text .section-title { margin-bottom: 24px; }
.about__text > p:not(.script-title) { max-width: 60ch; }
.about__media { display: flex; justify-content: flex-end; }
.about__media video {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: var(--radius);
  background: var(--surface);
  object-fit: cover;
}

.checklist { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.checklist li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--pink-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
}
.checklist__icon { display: inline-flex; flex: none; }
.checklist__icon svg { width: 18px; height: 18px; fill: var(--pink); }

/* Zahlen als Farbband */
.facts { padding: 0 0 var(--section); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 48px);
  border-radius: var(--radius);
  background: var(--pink-soft);
}
.fact { padding: 8px 16px; text-align: center; }
.fact__number {
  margin: 0;
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}
.fact__label { margin: 8px 0 0; font-weight: 600; color: var(--ink); }

/* Produkte */
.products {
  padding: var(--section) 0;
  background: var(--pink);
  color: var(--white);
}
.products__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(40px, 6vw, 96px);
  align-items: end;
}
.products__head .script-title,
.products__head .section-title { color: var(--white); }
.products__intro p { margin: 0; max-width: 52ch; font-size: var(--fs-lead); line-height: 1.5; }
.products__note { margin-top: 40px; max-width: 70ch; }
.products__note p { margin: 0; }

.product-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.product-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out);
}
.product-filter__btn:active { transform: scale(0.97); }
.product-filter__btn.is-active { background: var(--white); color: var(--pink); }
.product-filter__count { font-weight: 500; opacity: 0.75; }
@media (hover: hover) and (pointer: fine) {
  .product-filter__btn:not(.is-active):hover { background: rgba(255, 255, 255, 0.28); }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: transform 0.3s var(--ease-out);
}
.product-card[hidden] { display: none; }
/* Schatten nur beim Überfahren, über eine Ebene mit Deckkraft (günstiger als animierter Schatten) */
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 22px 44px rgba(12, 53, 67, 0.28); /* nur bei Hover sichtbar – taste-skill-ignore */
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.product-card__media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--white); }
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Produkt immer komplett zeigen */
  transition: transform 0.3s var(--ease-out);
}
.product-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 4px 26px 24px; }
.product-card__title { margin: 0 0 10px; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
.product-card__highlight {
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.45;
}
.product-card__facts { margin: 0 0 18px; padding: 0; list-style: none; font-size: var(--fs-small); line-height: 1.5; }
.product-card__facts li { position: relative; margin-bottom: 7px; padding-left: 26px; }
.product-card__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M173.9 439.4l-166.4-166.4c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2L210.1 439.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.product-card__pack {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 0;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.4;
}
.product-card__pack::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6206a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-4px); }
  .product-card:hover::after { opacity: 1; }
  .product-card:hover .product-card__media img { transform: scale(1.04); }
}
.product-slider__nav { display: none; }

/* Einblenden beim Scrollen: kurz, gestaffelt, nur ab Tablet */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .js-ready .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
    transition-delay: calc(var(--stagger, 0) * 60ms);
  }
  .js-ready .fade-up.is-visible { opacity: 1; transform: none; }
}

/* Verkaufsstellen */
.stores { padding: var(--section) 0; }
.stores__logo { width: 64px; height: auto; margin: 0 0 20px; }
.stores__title { margin-bottom: 28px; color: var(--ink); }

.store-search { position: relative; max-width: 560px; margin: 0 0 16px; }
.store-search__icon {
  position: absolute; left: 22px; top: 19px; width: 18px; height: 18px;
  fill: var(--pink); pointer-events: none;
}
.store-search input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 22px 0 54px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.store-search input::placeholder { color: #7a7476; opacity: 1; }
.store-search input:focus { border-color: var(--pink); background: var(--white); }
.store-search__status { min-height: 22px; margin: 6px 0 0; color: var(--muted); font-size: var(--fs-small); }

.stores__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px clamp(24px, 4vw, 56px);
  align-items: start;
}
.stores__grid > div[hidden] { display: none; }
.stores__subtitle { margin: 0 0 14px; font-size: var(--fs-h3); line-height: 1.3; }
.school-milk { grid-column: 1 / -1; }
.school-milk__logo { margin: 0 0 18px; font-size: var(--fs-small); }
.school-milk__logo img { width: min(100%, 320px); height: auto; margin-bottom: 6px; }
.school-milk__logo a { color: var(--pink-deep); text-decoration: underline; }
.stores__empty { max-width: 560px; margin: 10px 0 0; }
.stores__empty a { color: var(--pink); font-weight: 700; }

/* Liste als ruhige Flächen statt Linien */
.accordion__item { margin-bottom: 6px; border-radius: 12px; background: var(--surface); }
.accordion__item[hidden] { display: none; }
.accordion.is-collapsed > .accordion__item:nth-child(n+6) { display: none; }
.stores.is-searching .accordion.is-collapsed > .accordion__item:nth-child(n+6):not([hidden]) { display: block; }
.stores.is-searching .accordion-more { display: none; }

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.accordion__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.25s var(--ease-out); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (hover: hover) and (pointer: fine) {
  .accordion__trigger:hover { color: var(--pink); }
}

.accordion__panel { height: 0; overflow: hidden; transition: height 0.25s var(--ease-out); }
.accordion__panel[hidden] { display: block; visibility: hidden; }
.no-js .accordion__panel[hidden] { height: auto; visibility: visible; }
.accordion__body { padding: 0 16px 16px 54px; font-size: var(--fs-small); line-height: 1.6; }
.accordion__body p { margin: 0 0 12px; }
.accordion__body ul { margin: 0 0 12px; padding-left: 18px; }
.accordion__body img { width: 220px; height: auto; margin-bottom: 4px; border-radius: 8px; }
.accordion__body a:not(.store-link) { color: var(--pink); font-weight: 600; }
.accordion__item.is-highlighted { animation: item-flash 1.6s ease; }
@keyframes item-flash { 0%, 60% { background: var(--pink-soft); } 100% { background: var(--surface); } }

.accordion-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out);
}
.accordion-more:active { transform: scale(0.97); }
.accordion-more svg { width: 12px; height: 12px; fill: currentColor; transition: transform 0.2s var(--ease-out); }
.accordion-more[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .accordion-more:hover { background: var(--pink); color: var(--white); }
}

.store-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px !important; }
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--pink-deep);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out);
}
.store-link:active { transform: scale(0.97); }
.store-link::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.store-link--tel::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z'/%3E%3C/svg%3E");
}
@media (hover: hover) and (pointer: fine) {
  .store-link:hover { background: var(--pink); color: var(--white); }
}

/* Karte */
.store-map { margin: 0 0 48px; }
.store-map__frame { position: relative; height: clamp(420px, 60vh, 560px); overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.store-map__canvas { position: absolute; inset: 0; }
.store-map__hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 1000;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(12, 53, 67, 0.86);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}
.store-map__hint[hidden] { display: none; }
.store-map__canvas .leaflet-tile-pane { filter: grayscale(0.8) contrast(0.95) brightness(1.04); }
.store-map__placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: var(--surface);
  text-align: center;
}
.store-map__placeholder[hidden] { display: none; }
.store-map__placeholder svg { width: 40px; height: 40px; margin-bottom: 12px; fill: var(--pink); }
.store-map__placeholder-title { margin: 0 0 8px; font-size: var(--fs-h3); font-weight: 700; }
.store-map__placeholder p { max-width: 520px; margin: 0 0 20px; color: var(--muted); font-size: var(--fs-small); }
.store-map__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 14px; }
.store-map__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--fs-small); }
.store-map__legend li { display: inline-flex; align-items: center; gap: 8px; }
.store-map__legend i { width: 12px; height: 12px; border: 2px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); /* taste-skill-ignore */ }
.legend--vs { background: var(--pink); }
.legend--va { background: var(--petrol); }
.legend--kita { background: #46732f; }
.legend--hof { background: var(--gold); }
.store-map__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.store-map__tools[hidden] { display: none; }
.store-map__status { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.store-map__locate { min-height: 44px; padding: 10px 18px; font-size: var(--fs-small); }
.store-map__locate svg { width: 15px; height: 15px; }

.map-pin { border: 0; background: none; }
.map-pin svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.3)); } /* Pin schwebt über der Karte – taste-skill-ignore */
.map-pin--vs svg { fill: var(--pink); }
.map-pin--va svg { fill: var(--petrol); }
.map-pin--kita svg { fill: #46732f; }
.map-pin--hof svg { fill: var(--gold); }
.map-pin--me span {
  display: block; width: 18px; height: 18px; border: 3px solid var(--white); border-radius: 50%;
  background: #1a73e8; box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.25); /* taste-skill-ignore */
}
.store-map .leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 10px 30px rgba(12, 53, 67, 0.25); /* Popup schwebt – taste-skill-ignore */ }
.store-map .leaflet-popup-content { margin: 14px 16px; font-family: var(--font-sans); font-size: var(--fs-small); line-height: 1.5; color: var(--ink); }
.map-popup__type { margin: 0 0 2px !important; color: var(--pink); font-size: var(--fs-small); font-weight: 700; }
.map-popup__name { margin: 0 0 6px !important; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.map-popup__addr { margin: 0 0 12px !important; color: var(--muted); }
.map-popup__links { display: flex; flex-wrap: wrap; gap: 8px; }
.map-popup__links .store-link { background: var(--pink-soft); padding: 6px 12px; }
.map-popup__list {
  padding: 6px 12px; border: 0; border-radius: 999px; background: var(--surface);
  color: var(--ink); font: 700 14px/1.4 var(--font-sans); cursor: pointer;
}
.store-map .leaflet-control-attribution { font-size: 11px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--pink); color: var(--white); }
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: clamp(28px, 4vw, 50px);
  /* Rissekante in der Farbe des Abschnitts darüber (Standard weiß) */
  background: var(--footer-edge, var(--white));
  -webkit-mask: url("../img/splash.svg") center bottom / 100% 100% no-repeat;
          mask: url("../img/splash.svg") center bottom / 100% 100% no-repeat;
  transform: scaleY(-1);
  pointer-events: none;
}
.site-footer--after-soft { --footer-edge: var(--pink-soft); }
.site-footer__main { padding: calc(var(--section) * 0.9) 0 calc(var(--section) * 0.55); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.site-footer__logo { width: 136px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 420px; margin: 0 0 24px; }
.site-footer__social {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: var(--white); font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out);
}
.site-footer__social:active { transform: scale(0.97); }
.site-footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer__heading { margin: 6px 0 18px; font-size: var(--fs-h3); line-height: 1.2; color: var(--white); }
.site-footer__links, .site-footer__contact { margin: 0; padding: 0; list-style: none; }
.site-footer__links li { margin-bottom: 6px; }
.site-footer__links a { display: inline-block; padding: 3px 0; color: var(--white); }
.site-footer__contact li { display: flex; gap: 14px; margin-bottom: 12px; line-height: 1.55; }
.site-footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: currentColor; opacity: 0.85; }
.site-footer__contact a { color: var(--white); }
.site-footer__btn { margin-top: 10px; }
.site-footer__bar { background: var(--petrol); color: rgba(255, 255, 255, 0.85); font-size: var(--fs-small); }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; padding-top: 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
.site-footer__bar p { margin: 0; }
.site-footer__bar ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.site-footer__bar a { color: var(--white); }
.consent-open { padding: 0; border: 0; background: none; color: var(--white); font: inherit; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .site-footer__social:hover { background: var(--white); color: var(--pink); }
  .site-footer__links a:hover,
  .site-footer__contact a:hover,
  .site-footer__bar a:hover,
  .consent-open:hover { text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- Einwilligungs-Banner ---------- */
.consent {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 3000;
  width: min(400px, calc(100% - 40px));
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(12, 53, 67, 0.28); /* Dialog schwebt – taste-skill-ignore */
  animation: consent-in 0.3s var(--ease-out) both;
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.consent__title { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.consent__text { margin: 0 0 14px; color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.consent__text a { color: var(--pink); text-decoration: underline; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__actions .btn { min-height: 44px; padding: 10px 14px; font-size: var(--fs-small); }

/* ---------- Nach-oben-Button ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.16s var(--ease-out);
}
.to-top.is-visible { opacity: 0.92; visibility: visible; }
.to-top:active { transform: scale(0.94); }
.to-top svg { width: 14px; height: 14px; fill: currentColor; }

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 52vh, 560px);
  padding: calc(var(--header-h) + 40px) 0 clamp(72px, 9vw, 120px);
  background: #3a3330 url("../img/header-volle-kanne.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/header-volle-kanne.webp") type("image/webp"), url("../img/header-volle-kanne.jpg") type("image/jpeg"));
  color: var(--white);
}
/* neutraler Schleier wie auf der Startseite – oben für die Navigation, unten für den Titel */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.55) 100%); /* taste-skill-ignore */
}
.page-hero.page-hero--ueber-uns {
  background-image: url("../img/film/ueber-uns-header.jpg");
  background-image: image-set(url("../img/film/ueber-uns-header.webp") type("image/webp"), url("../img/film/ueber-uns-header.jpg") type("image/jpeg"));
  background-position: center 30%;
}
.page-hero.page-hero--kontakt {
  background-image: url("../img/header-volle-kanne-2.jpg");
  background-image: image-set(url("../img/header-volle-kanne-2.webp") type("image/webp"), url("../img/header-volle-kanne-2.jpg") type("image/jpeg"));
  background-position: center 45%;
}
@media (max-width: 767px) {
  .page-hero.page-hero--kontakt {
    background-image: url("../img/header-volle-kanne-2-mobil.jpg");
    background-image: image-set(url("../img/header-volle-kanne-2-mobil.webp") type("image/webp"), url("../img/header-volle-kanne-2-mobil.jpg") type("image/jpeg"));
  }
}
/* helles Foto: links kräftiger abdunkeln, damit Titel und Text sicher lesbar bleiben */
.page-hero--kontakt::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.15) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%); /* taste-skill-ignore */
}
@media (max-width: 767px) {
  .page-hero--kontakt::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.27) 100%); /* taste-skill-ignore */
  }
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero__title {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}
.page-hero__lead {
  max-width: 560px;
  margin: 16px 0 0;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.page-hero--small {
  min-height: clamp(280px, 38vh, 400px);
  background-image: url("../img/header-volle-kanne.jpg");
  background-image: image-set(url("../img/header-volle-kanne.webp") type("image/webp"), url("../img/header-volle-kanne.jpg") type("image/jpeg"));
  background-position: center;
}

/* Rechtstexte */
.legal { padding: clamp(48px, 6vw, 80px) 0 var(--section); }
.legal .container > * { max-width: 760px; }
.legal p, .legal li { font-size: 1rem; line-height: 1.7; }
.legal ol { margin: 36px 0 12px; padding-left: 22px; font-size: var(--fs-h3); }
.legal ol li { font-size: var(--fs-h3); }
.legal ul { margin: 0 0 20px; padding-left: 22px; }
.legal a { color: var(--pink); word-break: break-word; }
.legal table { width: 100%; margin: 0 0 20px; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.5; }
.legal th, .legal td { padding: 10px 12px; border: 1px solid #ece6e8; text-align: left; vertical-align: top; }
.legal th, .legal thead td { background: var(--surface); }
.legal .table-scroll { overflow-x: auto; }

/* Danke / 404 */
.thanks, .not-found { padding: clamp(56px, 7vw, 96px) 0 var(--section); text-align: center; }
.thanks__text { margin: 0 0 8px; font-family: var(--font-script); font-size: var(--fs-h2); line-height: 1.2; color: var(--pink); }
.thanks__sub, .not-found p { margin: 0; }
.not-found img { width: 64px; height: auto; margin: 0 auto 18px; }

/* Über uns */
.families { padding: var(--section) 0; }
.families__title {
  margin: 0 0 clamp(40px, 6vw, 72px);
  font-family: var(--font-script);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--pink);
  text-wrap: balance;
}
.families__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.families__subtitle { margin: 0 0 28px; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.02em; }
.family + .family { margin-top: 28px; }
.family__name { margin: 0 0 8px; font-size: var(--fs-h3); line-height: 1.3; color: var(--pink); }
.family p { margin: 0; }
.families__image { position: sticky; top: 96px; width: 100%; border-radius: var(--radius); }

.film {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 60vh, 600px);
  padding: 40px var(--gutter) 56px;
  background: #2b2624 url("../img/film/film-hintergrund.jpg") center / cover no-repeat;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%), image-set(url("../img/film/film-hintergrund.webp") type("image/webp"), url("../img/film/film-hintergrund.jpg") type("image/jpeg")); /* taste-skill-ignore */
  text-align: center;
}
.film__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  padding-left: 6px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background-color 0.2s ease;
}
.film__play:active { transform: scale(0.95); }
.film__play svg { width: 26px; height: 30px; fill: currentColor; }
.film__kicker { margin: 0 0 14px; font-family: var(--font-script); font-size: var(--fs-script); line-height: 1; color: var(--white); }
.film__title { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.02em; color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .film__play:hover { transform: scale(1.06); background: var(--pink-deep); }
}

.lightbox { position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; padding: 60px 20px; background: rgba(0, 0, 0, 0.92); }
.lightbox.is-open { display: flex; }
.lightbox video { width: min(1200px, 100%); max-height: 100%; background: #000; }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--white); font-size: 40px; line-height: 1; cursor: pointer; }
body.lightbox-open { overflow: hidden; }

.dairy { padding: var(--section) 0; }
.dairy__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.dairy .section-title { margin-bottom: 24px; }
.dairy .btn { margin-top: 12px; }
.dairy__image { width: 100%; border-radius: var(--radius); }

/* hell statt rosa, damit der Abschnitt sich vom rosa Footer abhebt */
.way { padding: var(--section) 0; background: var(--pink-soft); }
.way .section-title { margin-bottom: clamp(36px, 5vw, 56px); }
/* Vier Stationen als Abfolge: runde Fotos, verbunden durch eine gestrichelte Linie */
.way-steps {
  --media: clamp(120px, 12vw, 176px);
  --gap: clamp(16px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.way-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.way-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--media) / 2);
  left: calc(50% + var(--media) / 2 + 14px);
  width: calc(100% + var(--gap) - var(--media) - 28px);
  border-top: 2px dashed rgba(214, 32, 106, 0.45); /* Verbindungslinie der Stationen – taste-skill-ignore */
}
.way-step__media {
  display: block;
  width: var(--media);
  aspect-ratio: 1;
  overflow: hidden;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--pink-deep);
}
.way-step__media img { width: 100%; height: 100%; object-fit: cover; }
.way-step__title { max-width: 16ch; margin: 18px 0 0; font-size: var(--fs-h3); line-height: 1.25; color: var(--ink); }
.way__quote {
  margin: clamp(56px, 7vw, 96px) 0 0;
  font-family: var(--font-script);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--pink);
  text-align: center;
  text-wrap: balance;
}

/* Kontakt */
.contact { padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info .section-title { margin-bottom: 20px; }
.contact__list { margin: 28px 0 0; padding: 0; list-style: none; }
.contact__item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); }
.contact__icon svg { width: 18px; height: 18px; fill: currentColor; }
.contact__label { display: block; margin-bottom: 2px; color: var(--muted); font-size: var(--fs-small); }
.contact__value { font-size: var(--fs-lead); font-weight: 600; line-height: 1.4; }
.contact__value a { color: var(--ink); }
.contact__item .store-link { margin-top: 8px; background: var(--pink-soft); }
@media (hover: hover) and (pointer: fine) { .contact__value a:hover { color: var(--pink); } }

.contact__photo { margin: 36px 0 0; }
.contact__photo img { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }
.contact__photo figcaption { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); }

@media (min-width: 901px) {
  .contact__form { position: sticky; top: 96px; } /* läuft neben der längeren Infospalte mit */
}
.contact__form { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); background: var(--surface); }
.contact__form .section-title { margin-bottom: 8px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.contact-form__full { grid-column: 1 / -1; }
.form-field { position: relative; margin: 14px 0 0; }
.form-field__label { display: block; margin-bottom: 6px; font-size: var(--fs-small); font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field select { padding-right: 44px; cursor: pointer; }
.form-field__chevron { position: absolute; right: 16px; bottom: 20px; width: 12px; height: 12px; fill: var(--ink); pointer-events: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--pink); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8a8486; opacity: 1; }
.form-field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* Honeypot, unsichtbar – taste-skill-ignore */
.contact-form .btn { width: 100%; margin-top: 22px; }
.contact-form__note { margin: 14px 0 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.contact-form__note a { color: var(--pink-deep); }
.form-notice { display: none; margin: 0 0 8px; padding: 14px 18px; border-radius: 12px; background: var(--pink-soft); color: var(--pink-deep); font-weight: 700; }
.form-notice.is-visible { display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about__grid, .families__grid, .dairy__grid, .contact__grid, .products__head { grid-template-columns: 1fr; }
  .about__media { justify-content: center; }
  .about__media video { max-width: 360px; }
  .families__image { position: static; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}

@media (max-width: 767px) {
  /* Handy-Slider für Produkte */
  .product-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 28px calc(-1 * var(--gutter)) 0;
    padding: 0 var(--gutter) 4px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .product-filter::-webkit-scrollbar { display: none; }
  .product-slider { margin: 0 calc(-1 * var(--gutter)); }
  .product-grid {
    display: flex;
    align-items: stretch; /* alle Karten gleich hoch – die Leiste springt beim Wischen nicht mehr */
    gap: 14px;
    margin-top: 18px;
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card { flex: 0 0 84%; scroll-snap-align: start; }
  .product-card__media { aspect-ratio: 3 / 2; }
  .product-card__body { padding: 0 18px 18px; }
  .product-slider__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 16px; }
  .product-slider__arrow {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--pink); cursor: pointer;
    transition: transform 0.16s var(--ease-out), opacity 0.2s ease;
  }
  .product-slider__arrow:active { transform: scale(0.94); }
  .product-slider__arrow:disabled { opacity: 0.4; cursor: default; }
  .product-slider__arrow svg { width: 12px; height: 16px; fill: currentColor; }
  .product-slider__counter { min-width: 56px; margin: 0; font-weight: 700; text-align: center; }

  .stores__grid { grid-template-columns: 1fr; row-gap: 36px; }
  .contact-form__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }

  /* Header fest oben in Rosa (iOS färbt die Statusleiste passend) */
  body { padding-top: var(--header-h); }
  .site-header { position: fixed; background: var(--pink); }
  .site-header.is-sticky { animation: none; box-shadow: 0 4px 16px rgba(12, 53, 67, 0.14); /* taste-skill-ignore */ }
  .site-header__inner { min-height: var(--header-h); gap: 12px; }
  .site-header__logo img, .site-header.is-sticky .site-header__logo img { width: 86px; }
  .site-header.is-sticky .site-header__inner { min-height: var(--header-h); }
  .site-header__actions .btn { display: none; }
  .nav-toggle { margin-right: -10px; }

  .hero {
    min-height: calc(86svh - var(--header-h));
    padding-top: 48px;
    padding-bottom: 88px;
    background-image: url("../img/header-volle-kanne-mobil.jpg");
    background-image: image-set(url("../img/header-volle-kanne-mobil.webp") type("image/webp"), url("../img/header-volle-kanne-mobil.jpg") type("image/jpeg"));
  }
  .hero__buttons .btn { min-height: 48px; padding: 12px 22px; }

  .page-hero {
    min-height: 280px;
    padding-top: 48px;
    padding-bottom: 64px;
    background-image: url("../img/header-volle-kanne-mobil.jpg");
    background-image: image-set(url("../img/header-volle-kanne-mobil.webp") type("image/webp"), url("../img/header-volle-kanne-mobil.jpg") type("image/jpeg"));
  }
  .page-hero--small { min-height: 220px; }

  .about__media { display: none; } /* Drohnenvideo nur ab Tablet (main.js lädt es mobil auch nicht) */
  .fact { padding: 4px 8px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__bar-inner { flex-direction: column; align-items: flex-start; }
  /* Stationen untereinander, Linie läuft senkrecht links */
  .way-steps { --media: 96px; --gap: 28px; grid-template-columns: 1fr; }
  .way-step { flex-direction: row; gap: 20px; text-align: left; }
  .way-step:not(:last-child)::after {
    top: calc(var(--media) + 8px);
    left: calc(var(--media) / 2 - 1px);
    width: 0;
    height: calc(100% + var(--gap) - var(--media) - 16px);
    border-top: 0;
    border-left: 2px dashed rgba(214, 32, 106, 0.45); /* taste-skill-ignore */
  }
  .way-step__media { flex: none; border-width: 4px; }
  .way-step__title { margin: 0; }
  .accordion__body { padding-left: 16px; }
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .to-top { right: 14px; }
}

/* Bewegung reduzieren: Inhalte bleiben, Wege entfallen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
