/* ============================================================
   ANIVET Institut – Design System
   Extrahiert aus "ANIVET Startseite Hi-Fi.dc.html".
   Alle Farben, Abstände und Radien entsprechen 1:1 der Hi-Fi-Startseite.
   ============================================================ */

:root {
  /* Flächen */
  --paper:      #f7f6f2;   /* Grundfläche */
  --white:      #ffffff;
  --forest:     #132b1e;   /* dunkelgrüne Sektionen */
  --forest-soft:#1e4230;   /* hellere Variante, wenn zwei dunkle Sektionen aufeinandertreffen */
  --forest-deep:#101d14;   /* Footer */
  --ink:        #14201a;   /* Text */
  --ink-65:     rgba(20, 32, 26, .65);
  --ink-55:     rgba(20, 32, 26, .55);
  --ink-45:     rgba(20, 32, 26, .45);
  --ink-10:     rgba(20, 32, 26, .10);
  --ink-08:     rgba(20, 32, 26, .08);
  --ink-07:     rgba(20, 32, 26, .07);

  /* Marke */
  --accent:      #a5c94f;
  --accent-dark: #93b83f;
  --accent-light:#b9dc5f;
  --mint:        #eaf2d4;
  --mint-deep:   #dcebbd;
  --deep:        #1c4d33;
  --sand:        #f1efe7;

  /* Typografie */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;

  /* Layout */
  --wrap: 1320px;
  --wrap-narrow: 980px;
  --header-h: 76px;
  --pad-x: clamp(18px, 4vw, 40px);
  --pad-y: clamp(60px, 10vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}
/* Seiten mit Sticky-Subnav brauchen mehr Vorlauf beim Ankersprung */
html:has(.subnav) { scroll-padding-top: 146px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4, p, figure { margin: 0; }
img { max-width: 100%; }
a { color: var(--deep); text-decoration: none; }
a:hover { color: #7fa332; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font: 700 14px var(--font-display);
}
.skip-link:focus { left: 16px; color: #fff; }

/* ---------- Keyframes (aus der Hi-Fi-Seite) ---------- */

@keyframes heroUp   { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse    { 0% { transform: scale(.5); opacity: .7; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes rotateHint { 0%, 40% { transform: rotate(0); } 60%, 100% { transform: rotate(90deg); } }
@keyframes pinwiggle {
  0%, 86%, 100% { transform: rotate(0); }
  89% { transform: rotate(-10deg); } 92% { transform: rotate(9deg); }
  95% { transform: rotate(-5deg); }  98% { transform: rotate(2deg); }
}

/* ============================================================
   Header
   ============================================================ */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(247, 246, 242, .88);
  backdrop-filter: blur(14px);
  transition: box-shadow .35s;
}
.hdr.is-scrolled {
  box-shadow: 0 1px 0 rgba(20,32,26,.08), 0 10px 30px rgba(20,32,26,.07);
}
.hdr__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 13px var(--pad-x);
}
.hdr__logo { display: flex; align-items: center; flex: none; }
.hdr__logo img { height: 38px; width: auto; display: block; }
.hdr__progress {
  height: 2.5px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  flex: 1;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .1em;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  background: none;
  border-top: 0; border-left: 0; border-right: 0;
  font: inherit;
  cursor: pointer;
}
.nav__link:hover,
.nav__item:focus-within > .nav__link { color: var(--deep); border-bottom-color: var(--accent); }
.nav__link[aria-current="page"] { color: var(--deep); border-bottom-color: var(--accent); }
.nav__caret { transition: transform .25s; }
.nav__item:hover .nav__caret,
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(19,43,30,.16);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 60;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel,
.nav__item.is-open .nav__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__panel::before { /* Hover-Brücke */
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav__panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 13px;
  border-radius: 11px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  transition: background .2s, color .2s;
}
.nav__panel a small {
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-55);
}
.nav__panel a:hover { background: var(--mint); color: var(--deep); }
.nav__panel a:hover small { color: var(--deep); }
.nav__panel hr { border: 0; border-top: 1px solid var(--ink-08); margin: 6px 9px; }
.nav__panel .nav__all {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--deep);
}

.burger {
  width: 46px; height: 46px;
  border: 1.5px solid rgba(20,32,26,.22);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  flex: none;
  transition: border-color .25s, box-shadow .25s;
}
.burger:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(20,32,26,.1); }
.burger span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }
.burger span:last-child { width: 13px; align-self: flex-start; margin-left: 13.5px; }

.hdr__spacer { display: none; flex: 1; }

/* Mobiles Vollbild-Menü */
.mobilemenu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--forest); color: #fff;
  display: none;
  flex-direction: column;
  padding: 16px 22px 28px;
  animation: fadeIn .25s ease both;
}
.mobilemenu.is-open { display: flex; }
.mobilemenu__top { display: flex; align-items: center; justify-content: space-between; }
.mobilemenu__top img { height: 34px; width: auto; }
.mobilemenu__close {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 12px; background: transparent; color: #fff;
  font-size: 18px; cursor: pointer;
}
.mobilemenu nav {
  display: flex; flex-direction: column;
  margin-top: 34px;
  font-family: var(--font-display);
  overflow-y: auto; flex: 1;
  -webkit-overflow-scrolling: touch;
}
.mm__group { border-bottom: 1px solid rgba(255,255,255,.1); animation: heroUp .5s both; }
.mm__head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: transparent; border: 0; cursor: pointer; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  padding: 15px 2px; text-align: left;
}
.mm__head:hover { color: var(--accent); }
.mm__head[aria-expanded="true"] .mm__sign { transform: rotate(45deg); }
.mm__sign { transition: transform .25s; font-weight: 400; font-size: 26px; line-height: 1; }
.mm__sub { display: none; flex-direction: column; padding: 0 0 14px 4px; animation: fadeIn .25s ease both; }
.mm__group.is-open .mm__sub { display: flex; }
.mm__sub a {
  color: rgba(255,255,255,.8);
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  padding: 9px 0 9px 16px;
  border-left: 2px solid rgba(165,201,79,.4);
}
.mm__sub a:hover { color: #fff; border-left-color: var(--accent); }
.mobilemenu__foot {
  margin-top: auto; display: flex; flex-direction: column; gap: 16px;
  animation: heroUp .5s .4s both;
}
.mobilemenu__foot span { color: rgba(255,255,255,.65); font-size: 14px; }

@media (max-width: 1200px) {
  .nav { display: none; }
  /* .hdr .… – muss die spätere .btn-Regel überschreiben */
  .hdr .hdr__cta { display: none; }
  .hdr__spacer { display: block; }
}
@media (max-width: 520px) {
  .hdr__logo img { height: 30px; }
  .hdr__inner { gap: 16px; }
}

/* ============================================================
   Buttons & Pills
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: 999px; min-height: 44px;
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-dark); color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; font-weight: 600; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { background: transparent; border: 1.5px solid rgba(20,32,26,.25); color: var(--ink); font-weight: 600; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { font-size: 13.5px; padding: 11px 20px; }
.btn--block { width: 100%; }
.btn--header { font-size: 13px; padding: 12px 22px; }

.link-arrow {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--deep); border-bottom: 2px solid var(--accent); padding-bottom: 3px;
  align-self: flex-start;
}
.link-arrow:hover { color: var(--ink); border-bottom-color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  border-radius: 999px; padding: 7px 14px;
  border: 1px solid var(--ink-10); color: var(--ink-65);
  background: transparent;
}
.pill--dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: block; flex: none;
}
/* Pressenennung mit Artikel-Link */
.pill--link {
  color: var(--deep); border-color: var(--ink-10);
  transition: background .22s, border-color .22s, color .22s;
}
.pill--link span { font-size: 11px; opacity: .7; }
.pill--link:hover { background: var(--mint); border-color: transparent; color: var(--deep); }
.pill--link:hover span { opacity: 1; }

.pill--mint { background: var(--mint); color: var(--deep); border-color: transparent; }
.pill--sand { background: var(--sand); color: var(--ink-65); border-color: transparent; }
.pill--onDark { border-color: rgba(255,255,255,.24); color: #fff; }

.tag {
  align-self: flex-start;
  font-family: var(--font-display); font-weight: 600; font-size: 10px;
  letter-spacing: .14em; color: var(--deep);
  background: var(--mint); border-radius: 999px; padding: 4px 10px;
  text-transform: uppercase;
}
.tag--muted { background: var(--sand); color: var(--ink-55); }

/* ============================================================
   Sektionen & Typografie
   ============================================================ */

.section { padding: var(--pad-y) var(--pad-x); }
.section--tight { padding: clamp(44px, 7vw, 84px) var(--pad-x); }
.section--white { background: var(--white); border-top: 1px solid var(--ink-07); border-bottom: 1px solid var(--ink-07); }
.section--forest { background: var(--forest); color: #fff; }
/* Hellere Abstufung, damit eine direkt folgende dunkle Sektion (z. B. das
   CTA-Band) sich absetzt statt zu einem Block zu verschmelzen. */
.section--forest.section--soft { background: var(--forest-soft); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap--narrow { max-width: var(--wrap-narrow); margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }

.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .22em; color: var(--deep);
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; display: block; flex: none; }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; display: block; flex: none; }
.kicker--onDark { color: #c9de8e; }

h1, .h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5.4vw, 68px); line-height: 1.1;
  letter-spacing: -.02em; text-wrap: balance;
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4.2vw, 54px); line-height: 1.14;
  letter-spacing: -.02em; text-wrap: balance;
}
.h2--sm { font-size: clamp(26px, 3.4vw, 42px); }
/* Überschriften werden nie mitten im Wort getrennt. Passt ein langes
   Kompositum nicht in die Zeile, verkleinert initFitHeadings() in
   anivet.js die Schrift so weit, bis es hineinpasst. */
h1, h2, h3, .h1, .h2, .h3,
.coursecard__title, .daterow__title, .card__title {
  overflow-wrap: normal; word-break: normal; hyphens: manual;
}
h3, .h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.lead { font-size: 15.5px; line-height: 1.65; color: var(--ink-65); max-width: 62ch; }
.lead--onDark { color: rgba(255,255,255,.78); }
.prose p + p { margin-top: 14px; }
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-65); }
em.accent { font-style: normal; color: var(--deep); }
em.accent-light { font-style: normal; color: var(--accent-light); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}
.section-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 44ch; }

/* Reveal-Animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="right"]  { transform: translateX(28px); }
[data-reveal="left"]   { transform: translateX(-24px); }
[data-reveal="scale"]  { transform: scale(.94); }
[data-reveal="clip"]   { clip-path: inset(0 12% 0 0 round 24px); transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1.1s var(--ease); }
[data-reveal="clip"].is-visible { clip-path: inset(0 0 0 0 round 24px); }

/* ============================================================
   Breadcrumb + Seiten-Hero
   ============================================================ */

.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-55);
}
.crumb a { color: var(--ink-55); }
.crumb a:hover { color: var(--deep); }
.crumb span[aria-current] { color: var(--ink); font-weight: 600; }
.crumb--onDark, .crumb--onDark a { color: rgba(255,255,255,.6); }
.crumb--onDark a:hover { color: #fff; }
.crumb--onDark span[aria-current] { color: #fff; }

.pagehero {
  padding: calc(var(--header-h) + clamp(40px, 7vw, 82px)) var(--pad-x) clamp(36px, 6vw, 64px);
  background: var(--paper);
}
.pagehero--forest { background: var(--forest); color: #fff; }
.pagehero--forest .lead { color: rgba(255,255,255,.78); }
.pagehero__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.pagehero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(26px, 4vw, 56px); align-items: center;
}
.pagehero__media {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 26px 60px rgba(19,43,30,.18);
}
.pagehero__media img {
  width: 100%; height: clamp(240px, 32vw, 420px);
  object-fit: cover; display: block;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Karten
   ============================================================ */

.card {
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.card:hover { box-shadow: 0 16px 36px rgba(19,43,30,.12); }
.card--paper { background: var(--paper); border-color: var(--ink-10); border-radius: 16px; }
.card--flat:hover { box-shadow: none; }
.card__meta { font-size: 12.5px; color: var(--ink-55); margin-top: auto; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.35; }

.grid { display: grid; gap: 14px; }
.grid--auto260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--auto300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.grid--auto340 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(24px, 3.5vw, 40px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }

/* Kurskarte mit Bild */
.coursecard {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: 22px;
  overflow: hidden;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), opacity .4s, filter .4s;
}
.coursecard:hover { box-shadow: 0 22px 46px rgba(19,43,30,.16); transform: translateY(-4px); }
.coursecard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9ece2; }
.coursecard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.coursecard:hover .coursecard__media img { transform: scale(1.05); }
.coursecard__badge {
  position: absolute; top: 14px; right: 14px;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  color: var(--ink);
  font: 700 11px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase;
}
.coursecard__body { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 22px; flex: 1; }
.coursecard__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.coursecard__desc { font-size: 14px; line-height: 1.55; color: var(--ink-65); }
.coursecard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ink-07);
  font-size: 12.5px; color: var(--ink-55);
}
.coursecard__arrow {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--ink-10);
  display: flex; align-items: center; justify-content: center;
  font: 400 18px/1 var(--font-display); color: var(--ink);
  transition: background .25s, border-color .25s, color .25s;
}
.coursecard:hover .coursecard__arrow { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* Termin-Zeile (Weiterbildungen) */
.daterow {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border: 1px solid var(--ink-08);
  border-radius: 18px; padding: 16px 18px;
  transition: box-shadow .3s, border-color .3s, opacity .35s, filter .35s;
}
.daterow:hover { box-shadow: 0 16px 36px rgba(19,43,30,.12); border-color: rgba(20,32,26,.16); }
.daterow__date {
  flex: none; width: 74px; min-height: 74px;
  border-radius: 14px; background: var(--mint); color: var(--deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-family: var(--font-display);
  padding: 8px 6px; text-align: center;
}
.daterow__day   { font-weight: 800; font-size: 20px; line-height: 1; }
.daterow__month { font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.daterow__year  { font-weight: 500; font-size: 10.5px; color: rgba(28,77,51,.7); }
.daterow__date--open { background: var(--sand); color: var(--ink-55); }
.daterow__date--open .daterow__day { font-size: 13px; letter-spacing: .04em; }
.daterow__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.daterow__title { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.daterow__meta { font-size: 13px; color: var(--ink-55); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.daterow__price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--deep); white-space: nowrap; }
.daterow__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .daterow { flex-wrap: wrap; }
  .daterow__actions { width: 100%; justify-content: space-between; }
}

/* Personen */
.person { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.person__photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  background: var(--sand); display: block;
}
.person__photo--empty {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed var(--ink-10); color: var(--ink-45);
  font: 600 11px var(--font-display); text-align: center; padding: 8px;
}
.person__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.person__role { font-size: 13px; color: var(--ink-55); line-height: 1.45; }

/* Merkmalliste mit Häkchen */
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checkitem { display: flex; gap: 14px; align-items: flex-start; }
.checkitem__mark {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex: none; margin-top: 2px;
}
.checkitem__body { display: flex; flex-direction: column; gap: 3px; }
.checkitem__body b { font-family: var(--font-display); font-size: 15px; }
.checkitem__body span { font-size: 14px; line-height: 1.55; color: var(--ink-65); }
.section--forest .checkitem__body span { color: rgba(255,255,255,.68); }

/* ============================================================
   Diashow (Startseite „Unser Unterschied")
   Alle Bilder liegen übereinander; das aktive blendet ein und
   zoomt dabei langsam (Ken Burns). Steuerung: anivet.js
   ============================================================ */
.slideshow {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: var(--forest-deep);
  box-shadow: 0 26px 60px rgba(0,0,0,.34);
  isolation: isolate;
}
.slideshow__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--ease);
  will-change: opacity, transform;
}
.slideshow__img.is-active {
  opacity: 1;
  animation: slideZoom 7.5s linear forwards;
}
@keyframes slideZoom { from { transform: scale(1.03); } to { transform: scale(1.11); } }

.slideshow__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10,20,14,.62) 0%, rgba(10,20,14,.12) 34%, rgba(10,20,14,0) 60%);
}
.slideshow__dots {
  position: absolute; z-index: 2;
  left: 20px; bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.slideshow__dot {
  width: 9px; height: 9px; padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: width .35s var(--ease), background .35s var(--ease);
}
.slideshow__dot:hover { background: rgba(255,255,255,.8); }
.slideshow__dot.is-active { width: 28px; background: var(--accent); }
.slideshow__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .slideshow__img { transition: none; }
  .slideshow__img.is-active { animation: none; transform: scale(1); }
}

/* ============================================================
   Akronym-Bänder (ANIVET-Philosophie)
   Ein Band je Buchstabe, gestapelt. --near (0…1) setzt das
   Skript: 1 = Band steht in der Bildschirmmitte.
   ============================================================ */
.acro { display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 16px); }
.acro__row {
  position: relative;
  overflow: hidden;
  border-radius: clamp(16px, 1.6vw, 24px);
  min-height: clamp(150px, 15vw, 210px);
  display: flex;
  align-items: center;
  isolation: isolate;
  /* In der Bildschirmmitte volle Größe, zu den Rändern hin kleiner */
  transform: scale(calc(0.93 + 0.07 * var(--near, 1)));
  box-shadow: 0 calc(6px + 18px * var(--near, 1)) calc(18px + 32px * var(--near, 1)) rgba(19, 43, 30, calc(0.10 + 0.14 * var(--near, 1)));
  will-change: transform;
}
/* Das Bild ist absichtlich höher als sein Band. Der Überstand von
   je 32 % oben und unten ist der Spielraum, in dem es beim Scrollen
   gegenläufig wandert – daher der Tiefeneindruck. */
.acro__img {
  position: absolute; left: 0;
  top: -32%; height: 164%;
  width: 100%;
  object-fit: cover; object-position: 50% 50%;
  z-index: 0;
  will-change: transform;
}
.acro__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(13, 26, 18, .95) 0%,
      rgba(13, 26, 18, .90) 24%,
      rgba(13, 26, 18, .62) 48%,
      rgba(13, 26, 18, .22) 74%,
      rgba(13, 26, 18, .06) 100%);
}
.acro__body {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  padding: clamp(20px, 2.6vw, 34px) clamp(22px, 3vw, 46px);
  width: 100%;
}
.acro__letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(58px, 7.6vw, 116px);
  line-height: .82;
  color: var(--accent);
  flex: none;
  text-shadow: 0 6px 26px rgba(0, 0, 0, .45);
}
.acro__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.acro__head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 30px);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}
.acro__sub {
  font-size: clamp(13.5px, 1.2vw, 16.5px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}

/* Handy: Buchstabe mittig, darunter klein das Ausgeschriebene */
@media (max-width: 700px) {
  .acro__row { min-height: 172px; transform: scale(calc(0.96 + 0.04 * var(--near, 1))); }
  .acro__veil {
    background: linear-gradient(180deg, rgba(13, 26, 18, .72) 0%, rgba(13, 26, 18, .84) 100%);
  }
  .acro__body {
    flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 24px 20px;
  }
  .acro__letter { font-size: 66px; line-height: 1; }
  .acro__text { align-items: center; gap: 3px; }
  .acro__head { font-size: 17px; }
  .acro__sub { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .acro__row { transform: none; }
  .acro__img { top: 0; height: 100%; transform: none; }
}

/* Nummerierte Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.step {
  background: var(--white); border: 1px solid var(--ink-08); border-radius: 22px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
}
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--accent); line-height: 1; }
.step h3 { font-size: 18px; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-65); }
.step--glass {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 10px 36px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 1px rgba(255,255,255,.08);
  color: #fff;
}
.step--glass .step__num { color: var(--accent-light); }
.step--glass h3 { color: #fff; }
.step--glass p { color: rgba(255,255,255,.82); }

/* Leerzustand für noch fehlende Kundendaten */
.empty {
  border: 1.5px dashed var(--ink-10);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(255,255,255,.5);
  color: var(--ink-55);
  font-size: 14px; line-height: 1.6;
}
.empty b { font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.section--forest .empty {
  border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: rgba(255,255,255,.7);
}
.section--forest .empty b { color: #fff; }

/* ============================================================
   Filterleiste
   ============================================================ */

.filterbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px;
  padding: 18px 22px;
  background: var(--white); border: 1px solid var(--ink-08); border-radius: 18px;
}
.filterbar__group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filterbar__label {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-45);
}
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--ink-10); background: transparent; color: var(--ink-65);
  cursor: pointer; transition: background .22s, color .22s, border-color .22s;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { margin-left: auto; font-size: 13px; color: var(--ink-55); }
[data-filter-item].is-hidden { display: none; }

/* ============================================================
   Akkordeon (natives <details>)
   ============================================================ */

.acc { display: flex; flex-direction: column; gap: 10px; }
.acc details {
  background: var(--white); border: 1px solid var(--ink-08);
  border-radius: 16px; overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.acc details[open] { border-color: rgba(20,32,26,.16); box-shadow: 0 12px 30px rgba(19,43,30,.08); }
.acc summary {
  list-style: none; cursor: pointer;
  padding: 17px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "";
  flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s;
}
.acc details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.acc summary:hover { color: var(--deep); }
.acc__body { padding: 0 20px 20px; font-size: 14.5px; line-height: 1.7; color: var(--ink-65); }
.acc__body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ============================================================
   Sticky-Subnav (Detailseiten)
   ============================================================ */

.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--ink-07);
  border-bottom: 1px solid var(--ink-07);
}
.subnav__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 10px var(--pad-x);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--ink-65); padding: 8px 14px; border-radius: 999px;
  white-space: nowrap; transition: background .22s, color .22s;
}
.subnav a:hover { background: var(--mint); color: var(--deep); }
.subnav a.is-active { background: var(--ink); color: #fff; }

/* ============================================================
   Preisblock
   ============================================================ */

.pricegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.pricecard {
  background: var(--white); border: 1px solid var(--ink-08); border-radius: 20px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.pricecard--featured { border: 2px solid var(--deep); background: #f3f7e8; }
.pricecard__label {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-45);
}
.pricecard__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.02em; }
.pricecard__value small { font-size: 15px; font-weight: 600; color: var(--ink-55); letter-spacing: 0; }
/* Kein von ANIVET veröffentlichter Betrag – etwas ruhiger gesetzt */
.pricecard__value--open { font-size: clamp(22px, 2.4vw, 30px); color: var(--ink-55); }
.pricecard p { font-size: 13.5px; line-height: 1.6; color: var(--ink-65); }
.pricenote { font-size: 13px; line-height: 1.6; color: var(--ink-55); }

.factgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.fact {
  background: var(--white); border: 1px solid var(--ink-08); border-radius: 16px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
}
.fact__label {
  font-family: var(--font-display); font-weight: 600; font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-45);
}
.fact__value { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.35; }
.fact small { font-size: 13px; color: var(--ink-55); line-height: 1.5; }

/* ============================================================
   Rezension
   ============================================================ */

.quote {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--ink-08);
  border-radius: 22px; padding: 28px 30px;
}
.stars { color: var(--accent); font-size: 18px; letter-spacing: 5px; }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.quote cite { font-style: normal; font-size: 14px; color: var(--ink-55); }

/* ============================================================
   CTA-Band
   ============================================================ */

.ctaband { background: var(--forest); color: #fff; padding: clamp(48px, 7vw, 88px) var(--pad-x); }
.ctaband__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.ctaband__inner > * { min-width: 0; }
.ctaband h2 { max-width: 20ch; }
.ctaband p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.65; max-width: 46ch; margin-top: 12px; }
.ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Newsletter */
.newsletter {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.newsletter__bg { position: absolute; top: -45%; left: 0; width: 100%; height: 190%; object-fit: cover; z-index: 0; will-change: transform; }
.newsletter__veil { position: absolute; inset: 0; z-index: 0; background: linear-gradient(rgba(13,24,17,.66), rgba(13,24,17,.72)); }
.newsletter__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.newsletter__text h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.02em; text-wrap: balance; }
.newsletter__text p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.75); max-width: 52ch; }
.newsletter__form { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
/* Rückmeldung unter dem Eingabefeld */
.newsletter__msg {
  flex: 1 0 100%;
  margin: 2px 0 0;
  font-size: 14px; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 8px;
}
.newsletter__msg::before { font-size: 15px; line-height: 1.4; }
.newsletter__msg--fehler { color: #ffd2cd; }
.newsletter__msg--fehler::before { content: "!"; font-weight: 700; }
.newsletter__msg--erfolg { color: var(--accent-light); font-weight: 600; }
.newsletter__msg--erfolg::before { content: "✓"; }
.newsletter__form input[aria-invalid="true"] { border-color: #ffb3aa; }
.newsletter__form input {
  flex: 1; min-width: 220px; padding: 16px 22px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.49); color: #fff;
  font-family: var(--font-body); font-size: 15px; outline: none;
  background-color: rgba(255,255,255,.16);
}
.newsletter__form input::placeholder { color: rgba(255,255,255,.75); }
.newsletter__form input:focus { border-color: var(--accent); background: rgba(255,255,255,.22); }

/* ============================================================
   Formulare
   ============================================================ */

.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-45);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--ink-10); background: var(--white);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(165,201,79,.22);
}
.form__note { font-size: 12.5px; line-height: 1.6; color: var(--ink-55); }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--ink-65); }
.form__consent input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }

/* ============================================================
   Karte Deutschland
   ============================================================ */

.mapwrap { display: flex; justify-content: center; }
.mapwrap svg { width: 100%; max-width: 420px; height: auto; display: block; }
[data-pin] { transform-origin: 0 0; transition: transform .3s var(--ease); cursor: pointer; }

.loccard {
  display: flex; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--ink-08);
  border-radius: 18px; padding: 16px;
  cursor: pointer; text-align: left; width: 100%;
  font-family: var(--font-body);
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.loccard:hover { box-shadow: 0 16px 36px rgba(19,43,30,.12); }
.loccard.is-active { border-color: var(--deep); background: #f3f7e8; box-shadow: 0 16px 36px rgba(19,43,30,.16); }
.loccard img { width: 104px; height: 88px; object-fit: cover; border-radius: 12px; flex: none; }
.loccard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
/* ============================================================
   Wartungsposter (Wissen-Seite)
   Zwei angeschrägte Fotos als Collage, daneben der Hinweis.
   ============================================================ */
.poster {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  background: var(--forest);
  color: #fff;
  border-radius: clamp(22px, 2.6vw, 32px);
  padding: clamp(30px, 4vw, 56px) clamp(24px, 4vw, 60px);
  overflow: hidden;
  isolation: isolate;
}
/* Diagonale Schraffur wie ein Absperrband – sehr dezent */
.poster::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg,
    rgba(165,201,79,.07) 0 14px, transparent 14px 34px);
}
.poster > * { position: relative; z-index: 1; }

.poster__media { position: relative; min-height: clamp(285px, 30vw, 380px); }
.poster__pic {
  position: absolute; width: 58%; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 18px;
  border: 5px solid #fff;
  box-shadow: 0 22px 46px rgba(0,0,0,.42);
}
.poster__pic--a { top: 0; left: 0; transform: rotate(-4deg); }
.poster__pic--b { bottom: 0; right: 0; transform: rotate(5deg); z-index: 2; }
.poster__stamp {
  position: absolute; z-index: 3;
  /* Im Überschneidungsbereich der beiden Fotos */
  left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-8deg);
  width: clamp(104px, 12vw, 132px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.34);
}
.poster__stamp svg { width: 55%; height: 55%; }
/* Laufende Uhr: Minutenzeiger tickt sekundenweise, Stundenzeiger schleicht */
.poster__hand { transform-box: view-box; transform-origin: 12px 12px; }
.poster__hand--m { animation: clockHand 12s steps(12) infinite; }
.poster__hand--h { animation: clockHand 72s linear infinite; }
@keyframes clockHand { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .poster__hand { animation: none; }
}

.poster__body { display: flex; flex-direction: column; gap: 16px; }
.poster__body .hero-actions { margin-top: 6px; }

/* Fortschrittsbalken als Zeichen „läuft noch" */
.poster__bar {
  height: 7px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.14);
  max-width: 320px; margin-top: 4px;
}
.poster__bar span {
  display: block; height: 100%; width: 46%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: posterBar 2.6s var(--ease) infinite alternate;
}
@keyframes posterBar { from { width: 28%; } to { width: 62%; } }

@media (max-width: 780px) {
  .poster { grid-template-columns: 1fr; }
  .poster__media { min-height: 240px; order: 2; }
  .poster__body { order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .poster__bar span { animation: none; width: 46%; }
}

/* ============================================================
   Standort-/Ortskacheln
   Einheitlich auf allen Ausbildungs- und Weiterbildungsseiten.
   ============================================================ */
.venuegrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.venue {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: start;
  /* Ohne start würde die Resthöhe gleich hoher Kacheln auf die Zeilen
     verteilt – die Trennlinien lägen dann auf verschiedenen Höhen. */
  align-content: start;
  column-gap: 15px; row-gap: 14px;
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: 18px;
  padding: 20px 22px;
  color: var(--ink);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}
a.venue:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 38px rgba(19,43,30,.13);
  transform: translateY(-3px);
}
.venue__pin {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--mint); color: var(--deep);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  transition: background .28s var(--ease), color .28s var(--ease);
}
.venue__pin svg { width: 21px; height: 21px; }
a.venue:hover .venue__pin { background: var(--accent); color: var(--ink); }

.venue__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; line-height: 1.25; display: block;
}
.venue__addr {
  display: block; margin-top: 4px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-55);
}
.venue__go {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--ink-10); color: var(--deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex: none;
  transition: background .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
}
a.venue:hover .venue__go { background: var(--accent); border-color: var(--accent); transform: translateX(3px); }

/* Mit Terminliste: Adressblock auf zwei Zeilen fixieren, damit die
   Trennlinien nebeneinanderstehender Kacheln bündig sitzen. */
.venue--detail .venue__addr { min-height: 40px; }
.venue--detail .venue__note { min-height: 50px; }   /* zwei Zeilen + Innenabstand */
@media (max-width: 620px) {
  .venue--detail .venue__addr,
  .venue--detail .venue__note { min-height: 0; }
}

/* Zweite Zeile: Rhythmus-Hinweis und Terminliste */
.venue__note {
  grid-column: 2 / -1;
  margin: -4px 0 0;
  font-size: 12.5px; line-height: 1.5; color: var(--ink-55);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-07);
}
.venue__list {
  grid-column: 2 / -1;
  margin: -2px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; line-height: 1.45; color: var(--ink-65);
}
.venue__list li { position: relative; padding-left: 17px; }
.venue__list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

@media (max-width: 420px) {
  .venue { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; padding: 18px; }
  .venue__pin { width: 40px; height: 40px; border-radius: 12px; }
}

.loccard__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.loccard__head h3 { font-size: 18px; }
.loccard__badge {
  font-family: var(--font-display); font-weight: 600; font-size: 10.5px;
  letter-spacing: .08em; background: var(--mint); color: var(--deep);
  border-radius: 999px; padding: 4px 10px;
}
.loccard__badge--muted { background: var(--sand); color: var(--ink-65); }
/* Auf sehr schmalen Displays reicht die Textspalte neben dem Bild nicht
   für lange Ortsnamen – dort Bild und Text untereinander stellen. */
@media (max-width: 400px) {
  .loccard { flex-direction: column; align-items: stretch; gap: 12px; }
  .loccard img { width: 100%; height: 110px; }
}
.loccard p { font-size: 14px; line-height: 1.55; color: var(--ink-65); }

.promowrap { max-width: var(--wrap); margin: 0 auto; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .55s var(--ease), opacity .5s ease, margin-top .5s ease; }
.promowrap.is-open { max-height: 1200px; opacity: 1; margin-top: clamp(24px, 4vw, 44px); }
.locpanel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(22px, 3vw, 40px); align-items: center;
  background: var(--forest); color: #fff; border-radius: 24px; overflow: hidden;
  padding: clamp(18px, 2.6vw, 28px);
}
.locpanel img { width: 100%; height: clamp(220px, 26vw, 300px); object-fit: cover; display: block; border-radius: 16px; }
.locpanel__body { display: flex; flex-direction: column; gap: 15px; padding: clamp(2px, 1.4vw, 14px); }
.locpanel__kicker { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .2em; color: var(--accent-light); }
.locpanel h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; }
.locpanel p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.8); max-width: 52ch; }

[data-loc].is-dim { opacity: .3; filter: grayscale(1); pointer-events: none; }

/* Maps-Embed */
.mapembed {
  border: 0; width: 100%; height: 320px; border-radius: 18px; display: block;
  background: var(--sand);
}
/* Zwei-Klick-Lösung: Platzhalter, solange keine Einwilligung vorliegt */
.mapembed--locked {
  display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  border: 1.5px dashed var(--ink-10);
}
.mapembed__note { display: flex; flex-direction: column; gap: 10px; align-items: center; max-width: 46ch; }
.mapembed__note b { font-family: var(--font-display); font-size: 16px; }
.mapembed__note p { font-size: 13.5px; line-height: 1.6; color: var(--ink-65); }
.mapembed__remember {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-55); cursor: pointer;
}

/* ============================================================
   Cookie-Banner
   ============================================================ */
.cc {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: flex-end; justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  background: rgba(10, 20, 14, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: fadeIn .3s var(--ease) both;
}
.cc[hidden] { display: none; }
.cc__box {
  width: min(680px, 100%);
  max-height: min(86vh, 760px); overflow-y: auto;
  background: var(--white);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
  animation: ccUp .4s var(--ease) both;
}
@keyframes ccUp { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.cc__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.01em; }
.cc__text { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--ink-65); }
.cc__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.cc__actions .btn { flex: 1 1 auto; justify-content: center; min-width: 170px; }
.cc__link {
  background: none; border: 0; cursor: pointer; padding: 12px 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  color: var(--ink-65); text-decoration: underline; text-underline-offset: 3px;
}
.cc__link:hover { color: var(--deep); }
.cc__legal { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 12.5px; }
.cc__legal a { color: var(--ink-55); text-decoration: underline; text-underline-offset: 3px; }
.cc__legal a:hover { color: var(--deep); }

.cc__cat { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.cc__row {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  border: 1px solid var(--ink-08); border-radius: 14px; padding: 14px 16px;
  cursor: pointer;
}
.cc__row:has(input:disabled) { cursor: default; background: var(--paper); }
.cc__row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.cc__row b { font-family: var(--font-display); font-size: 15px; display: block; }
.cc__row small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--ink-55); }

/* Schaltfläche im Seitenfuß, optisch wie die Rechtslinks */
.footer__legal-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: rgba(255,255,255,.55);
  text-decoration: underline; text-underline-offset: 3px;
}
.footer__legal-btn:hover { color: #fff; }

/* ============================================================
   Rechtstexte
   ============================================================ */
.legal { max-width: 78ch; }
.legal h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 2.1vw, 24px); line-height: 1.25;
  margin: 34px 0 10px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 16.5px;
  margin: 26px 0 8px;
}
.legal p { font-size: 15px; line-height: 1.75; color: var(--ink-65); margin-bottom: 12px; }
.legal strong { color: var(--ink); }
.legal ul { margin: 0 0 14px 20px; display: flex; flex-direction: column; gap: 7px; }
.legal li { font-size: 15px; line-height: 1.7; color: var(--ink-65); }
.legal a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--forest-deep); color: #c3cfc5;
  padding: clamp(56px, 8vw, 96px) var(--pad-x) 36px;
}
.footer__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.footer__cta {
  display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: clamp(32px, 4vw, 48px);
}
.footer__cta h2 { font-size: clamp(28px, 4vw, 48px); color: #fff; max-width: 22ch; }
.footer__cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 7vw, 96px); justify-content: space-between; }
.footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.footer__brand img { max-width: 220px; height: auto; display: block; }
.footer__brand p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.6); }
.footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
/* Der Block wird auch auf hellen Seiten verwendet (Standort · Anfahrt).
   Dort gilt die dunkle Markenfarbe; das Aufgehellte nur im Footer. */
.footer__contact a { color: var(--deep); font-weight: 600; }
.footer__contact a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer .footer__contact a { color: #c3cfc5; font-weight: 400; }
.footer .footer__contact a:hover { color: #fff; text-decoration: none; }
.footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__social a {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  padding: 8px 16px; font-size: 12.5px; color: #c3cfc5;
  transition: background .25s, color .25s, border-color .25s;
}
.footer__social a:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.footer__nav { flex: 1 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(28px, 4vw, 52px); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col > span {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: .18em; color: #fff;
}
.footer__col a { color: rgba(255,255,255,.62); font-size: 13.5px; }
.footer__col a:hover { color: #fff; }
.footer__legal {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  font-size: 12.5px; color: rgba(255,255,255,.45);
}
.footer__legal a { color: rgba(255,255,255,.45); }
.footer__legal a:hover { color: #fff; }
.footer__legal div { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================
   Mobile Sticky-CTA
   ============================================================ */

.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247,246,242,.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 28px rgba(16,29,20,.14);
  transform: translateY(120%); opacity: 0;
  transition: transform .4s var(--ease), opacity .35s;
}
.stickycta.is-visible { transform: translateY(0); opacity: 1; }
.stickycta__icon {
  flex: none; width: 48px; min-height: 48px;
  border: 1.5px solid rgba(20,32,26,.25); color: var(--ink);
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
}
.stickycta__main {
  flex: 1; min-width: 0; background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  border-radius: 999px; min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
}
@media (max-width: 1200px) {
  .stickycta { display: flex; }
  body.has-stickycta { padding-bottom: 72px; }
}

/* ============================================================
   Kurs-Karussell
   ============================================================ */

/* Das Karussell vergibt intern z-index bis 950 (Karten, Drag-Fläche, Pfeile).
   Ohne eigenen Stacking-Context konkurrieren diese Werte im Wurzelkontext mit
   dem Header (z-index 50) – die Karten liefen darüber. `isolation: isolate`
   kapselt sie ab: innen bleibt die Staffelung erhalten, nach außen zählt nur
   noch der z-index des Elements selbst. */
anivet-carousel {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

/* ============================================================
   Partner-Marquee
   ============================================================ */

.marquee-section { background: var(--white); border-bottom: 1px solid var(--ink-07); padding: clamp(26px, 4vw, 40px) 0; overflow: hidden; }
.marquee-section__label {
  text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: .22em; color: var(--ink-45); margin-bottom: 22px;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track img { width: auto; filter: grayscale(1); opacity: .55; margin-right: clamp(44px, 7vw, 90px); }

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ============================================================
   Druck
   ============================================================ */

@media print {
  .hdr, .stickycta, .subnav, .mobilemenu { display: none !important; }
  body { background: #fff; }
}
