/**
 * EZH Grundschulprojekte – gemeinsame Styles
 * Figma: I7yf0MCZVmam01ecQTS0cy
 *
 * Breakpoints (mobile-first):
 *   sm  640px  – News nebeneinander, Formular-Spalten
 *   md  768px  – Desktop-Navigation, Footer nebeneinander (Figma Mobile 390 ↔ Desktop 1440)
 *   lg  900px  – Hero 2-spaltig, Projektkarten 3-spaltig
 */

:root {
  --hand-gruen: #1c4943;
  --blau-baer: #00008b;
  --tuerkis-baer: #00ffb0;
  --hand-lavendel: #d4c7e3;
  --bescheid-gelb: #dde69e;
  --hand-grau: #f2edeb;
  --pastell-baer: #dee2f0;
  --hero-bg: #f1f5d7;
  --aktuelles-bg: #f1f5d7;
  --beige-baer: #f4e7d8;
  --shadow-card: 0 4px 7.5px rgba(0, 0, 0, 0.15);
  --page-max: 1440px;
  /* Formulare / Textseiten (etwas breiter als Fließtext) */
  --page-narrow: 1006px;
  /* Content unter Header / Bridge vor Footer (Figma ~810–864px) */
  --page-content: 864px;
  --widescreen-max: 2560px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  /* Bögen breiter als Viewport bis --widescreen-max (Figma-Skalierung ~1.5×) */
  --curve-width: min(200vw, calc(var(--widescreen-max) * 1.5));
  --curve-height: clamp(260px, 43vw, 616px);
  /* Figma Group 530: Lippe ragt ~122px unter die gerade Kante (859px) */
  --curve-overlap: clamp(3.5rem, 8.5vw, 7.625rem);
  --curve-clip-hero: 57%;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 900px;
  /* Typografie (Figma 51:1381) */
  --font-display: "Grenadine MVB", "Georgia", serif;
  --font-body: "Inclusive Sans", "Helvetica Neue", sans-serif;
  /* Page-Hero-H1: Grenadine Extra Bold 50px / 65px */
  --fs-page-title: clamp(1.75rem, 4vw, 3.125rem);
  --lh-page-title: 1.3;
  --text-black: #000;
  --text-on-green: var(--hero-bg);
  --text-on-dark: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-black);
  background: #fff;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

.wp-block-table .has-fixed-layout td,
table td {
  border: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--hand-gruen);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Prototype-Navigation zwischen Templates */
.proto-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  background: #2a2a2a;
  color: #fff;
}

.proto-nav a {
  color: #bde4dc;
  text-decoration: none;
}

.proto-nav a:hover {
  text-decoration: underline;
}

/* Full-bleed Shell: Hintergründe + Bögen füllen den Viewport.
   Content bleibt über .page-inner / .*__inner auf --page-max. */
.page {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  overflow-x: clip;
}

.page-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  /* Gleicher Innenabstand wie .site-header / .site-footer__inner */
  padding-inline: var(--gutter);
}

.page-inner--narrow {
  max-width: var(--page-narrow);
}

/* Fließtext / CMS-Blöcke: Figma-Contentbreite + seitliche Gutter */
.page-inner--content {
  max-width: calc(var(--page-content) + 2 * var(--gutter));
}

/* Generischer Content-Shell (ohne .page-inner-Klasse im Markup) */
.align-page {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* —— Section curves (Figma Group 530 / Footer-Oval) —— */
.section-curve {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: var(--curve-width);
  height: var(--curve-height);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.section-curve--down {
  bottom: 0;
  background: var(--hero-bg);
  clip-path: inset(var(--curve-clip-hero) 0 0 0);
}

.section-curve--up {
  top: 0;
  bottom: auto;
  background: #fff;
  clip-path: inset(0 0 var(--curve-clip-hero) 0);
  transform: translate(-50%, calc(-1 * var(--curve-overlap)));
}

.section-curve--at-bottom {
  top: auto;
  bottom: 0;
  transform: translate(-50%, calc(var(--curve-overlap)));
}

.section-bridge {
  position: relative;
  width: 100%;
}

.section-bridge--to-green {
  overflow-x: clip;
  background: var(--hand-gruen);
}

.section-bridge--to-white {
  overflow-x: clip;
  background: #fff;
}

.section-bridge--to-beige {
  overflow-x: clip;
  background: var(--beige-baer);
}

.section-panel {
  position: relative;
}

.section-bridge--to-green .section-panel {
  z-index: 2;
}

.section-bridge--to-green .section-panel--top {
  background: transparent;
  /*padding-bottom: calc(var(--curve-overlap) + 2rem);*/
}

.section-bridge--to-green .section-panel--top::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--curve-overlap) 0;
  background: var(--hero-bg);
  z-index: 0;
}

.section-bridge--to-green .section-panel--top > :not(.section-curve) {
  position: relative;
  z-index: 2;
}

.section-bridge--to-green .section-panel--bottom {
  background: transparent;
  padding-top: calc(var(--curve-overlap) + 2.5rem);
}

.section-bridge--to-white .section-panel--top {
  background: transparent;
  padding-bottom: calc(var(--curve-overlap) + 2rem);
}

.section-bridge--to-white .section-panel--top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--aktuelles-bg);
  z-index: 0;
}

.section-bridge--to-white .section-panel--top > * {
  position: relative;
  z-index: 1;
}

.section-bridge--from-hero .section-panel--top {
  background: transparent;
  padding-bottom: calc(var(--curve-overlap) + 0rem);
}

.section-bridge--from-hero .section-panel--top::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--curve-overlap) 0;
  background: var(--hero-bg);
  z-index: 0;
}

.section-bridge--from-hero .section-panel--top > :not(.section-curve) {
  position: relative;
  z-index: 2;
}

.section-bridge--from-white .section-panel--top {
  background: transparent;
  padding-top: calc(var(--curve-overlap) + 2.5rem);
  padding-bottom: calc(var(--curve-overlap) + 3rem);
  position: relative;
  overflow: visible;
}

.section-bridge--from-white .section-panel--top::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--curve-overlap) 0;
  background: #fff;
  z-index: 0;
}

.section-bridge--from-white .section-panel--top > :not(.section-curve) {
  position: relative;
  z-index: 2;
}

.section-bridge--from-beige .section-panel--top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--beige-baer);
  z-index: 0;
}

.section-bridge--from-beige .section-panel--top {
  background: transparent;
  padding-top: calc(var(--curve-overlap) + 1.5rem);
  padding-bottom: calc(var(--curve-overlap) + 10rem);
  position: relative;
}

.section-bridge--to-beige .section-panel--bottom {
  background: transparent;
  padding-top: calc(var(--curve-overlap) + 2.5rem);
  padding-bottom: calc(var(--curve-overlap) + 2rem);
  position: relative;
}

.section-bridge--to-beige .section-panel--bottom::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--curve-overlap) 0;
  background: #fff;
  z-index: 0;
}

.section-bridge--to-beige .section-panel--bottom > :not(.section-curve) {
  position: relative;
  z-index: 2;
}

.section-bridge--to-white .section-panel--bottom {
  background: transparent;
  padding-top: calc(var(--curve-overlap) + 2.5rem);
  padding-bottom: calc(var(--curve-overlap) + 2rem);
  position: relative;
}

.section-bridge--to-white .section-panel--bottom > :not(.section-curve) {
  position: relative;
  z-index: 2;
}

.section-curve--surface-white.section-curve--down {
  background: #fff;
}

.section-curve--surface-white.section-curve--up {
  background: #fff;
}

.section-curve--surface-beige.section-curve--up {
  background: var(--beige-baer);
}

.section-curve--surface-beige.section-curve--down {
  background: var(--beige-baer);
}

.section-curve--surface-green.section-curve--up,
.section-curve--surface-green.section-curve--down {
  background: var(--hand-gruen);
}

.section-bridge--from-beige .section-panel--top > :not(.section-curve) {
  position: relative;
  z-index: 2;
}

/* —— Header-Grafik (Theme-SVG / Beitragsbild, proportionstreu) —— */
.page-header-media {
  box-sizing: border-box;
  width: var(--page-header-media-width, 100%);
  max-width: none;
  margin-inline: 0;
}

.page-header-media.has-bg {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--page-header-media-bg, var(--hero-bg));
  border-radius: var(--page-header-media-radius, 20px);
  padding: var(--page-header-media-pad-y, 1.5rem) var(--page-header-media-pad-x, 1.5rem);
  min-height: var(--page-header-media-min-height, 0px);
}

.page-header-media__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
  vertical-align: top;
}

.page-header-media.has-bg .page-header-media__img {
  object-position: top center;
}

/* —— Header ——
   Content auf --page-max zentriert; Hintergrund per ::before full-bleed
   (Bögen/Hero-Farbe ragen in den Widescreen). Menü-DOM unverändert. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 1.25rem var(--gutter) 1rem;
  min-height: 5rem;
  background: transparent;
  position: relative;
  z-index: 200;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--hero-bg);
  z-index: 0;
  pointer-events: none;
}

.site-header__logo {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.site-header__end {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.5rem;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.site-header__logo-img {
  width: 190px;
  max-width: 50vw;
  height: auto;
}

@media (max-width: 767px) {
  .site-header {
    padding: 1rem var(--gutter);
    min-height: 5.5rem;
  }

  .site-header__logo-img {
    width: 105px;
    max-width: none;
  }
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem 2rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-black);
  text-decoration: none;
  transition: color 0.12s ease, font-weight 0.12s ease;
}

.site-nav__trigger {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.site-nav__item {
  position: relative;
}

.site-nav__sub {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 15rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--nav-dropdown-bg, var(--hero-bg));
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.25rem);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 1;
}

.site-nav__sub.has-dropdown-color {
  border-color: transparent;
}

.site-nav__sub a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
  color: var(--nav-dropdown-text, inherit);
}

.site-nav__item:hover .site-nav__sub,
.site-nav__item:focus-within .site-nav__sub,
.site-nav__item.is-open .site-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__item.is-open .site-nav__trigger .chev {
  transform: rotate(180deg);
  display: inline-block;
}

.site-nav .chev {
  font-size: 0.65em;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .site-header__nav-desktop {
    display: none !important;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--hand-gruen);
  padding: 0;
  cursor: pointer;
  border-radius: 4px;
}

.nav-toggle__bars {
  display: block;
  width: 1.65rem;
  height: 2px;
  background: var(--hand-gruen);
  box-shadow: 0 -6px 0 var(--hand-gruen), 0 6px 0 var(--hand-gruen);
}

.nav-toggle__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }
}

/* —— Mobile-Menü (Figma 51:994 / 51:1285) —— */
body.has-menu-open {
  overflow: hidden;
}

body.has-menu-open .site-header {
  visibility: hidden;
}

.mobile-menu {
  position: fixed;
  top: var(--menu-top, 0);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 400;
  background: var(--hero-bg);
  display: flex;
  flex-direction: column;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  min-height: 5.5rem;
  background: var(--hero-bg);
  flex-shrink: 0;
}

.mobile-menu__logo img {
  width: 105px;
  height: auto;
}

.mobile-menu__close {
  border: 0;
  background: transparent;
  color: var(--hand-gruen);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  position: relative;
}

.mobile-menu__close::before,
.mobile-menu__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.35rem;
  height: 2px;
  background: var(--hand-gruen);
  transform-origin: center;
}

.mobile-menu__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__nav {
  flex: 1;
  overflow: auto;
  padding: 1.5rem 1.25rem 2rem;
}

.mobile-menu__acc {
  border: 0;
}

.mobile-menu__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-black);
}

.mobile-menu__parent-link {
  flex: 1;
  min-width: 0;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.mobile-menu__summary::-webkit-details-marker {
  display: none;
}

.mobile-menu__chev {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--hand-gruen);
  border-bottom: 2px solid var(--hand-gruen);
  transform: rotate(45deg);
  margin-bottom: 0.25rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mobile-menu__acc[open] .mobile-menu__chev {
  transform: rotate(-135deg);
  margin-bottom: -0.15rem;
}

.mobile-menu__sub {
  list-style: none;
  margin: 0.5rem 0 1.25rem;
  padding: 0 0 0 0.25rem;
}

.mobile-menu__acc.has-dropdown-color .mobile-menu__sub {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--nav-dropdown-bg);
}

.mobile-menu__sub a {
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--text-black);
  font-weight: 400;
  transition: font-weight 0.12s ease, opacity 0.12s ease;
}

.mobile-menu__acc.has-dropdown-color .mobile-menu__sub a {
  color: var(--nav-dropdown-text, #fff);
}

.mobile-menu__rule {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  margin: 0;
}

/* —— Buttons —— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  min-height: 43px;
  border-radius: 40px;
  background: var(--hand-gruen);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--hand-gruen);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Pill-Button (wie Subnav / Content-Block „Button“) */
.ezh-btn-wrap {
  margin: 1.25rem 0;
}

.ezh-btn-wrap:first-child {
  margin-top: 0;
}

.ezh-btn-wrap:last-child {
  margin-bottom: 0;
}

.ezh-btn,
.ezh-btn:link,
.ezh-btn:visited {
  --ezh-btn-bg: var(--hand-gruen);
  --ezh-btn-text: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  border: 2px solid var(--ezh-btn-bg);
  background: var(--ezh-btn-bg);
  color: var(--ezh-btn-text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) {
  .ezh-btn:hover,
  .ezh-btn:hover:visited {
    background: #fff;
    color: var(--ezh-btn-bg);
    border-color: var(--ezh-btn-bg);
    box-shadow: none;
  }
}

.ezh-btn:focus-visible {
  outline: 2px solid var(--ezh-btn-bg);
  outline-offset: 3px;
}

.btn-kontaktreiter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  min-width: 195px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 2px solid var(--hand-gruen);
  background: #fff;
  color: var(--hand-gruen);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  overflow: visible;
  background: transparent;
  margin-top: calc(-1 * var(--curve-overlap));
}

.site-footer__shell {
  position: relative;
  background: #fff;
}

/* Partner-/Bogen-Bereich: weißer Grund full-bleed (Shell), Content max-width */
.site-footer__schwung.section-curve--up {
  z-index: 0;
}

.site-footer__partners {
  position: relative;
  z-index: 1;
  padding: calc(var(--curve-overlap) - 4.5rem) 0 2rem;
  background: transparent;
}

.site-footer__bar {
  position: relative;
  z-index: 1;
  background: var(--hand-gruen);
  color: var(--text-on-dark);
  padding: 2rem 0;
}

.site-footer__shell:not(:has(.site-footer__partners)) .site-footer__bar {
  padding-top: calc(var(--curve-overlap) + 2rem);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .site-footer__links {
    justify-content: flex-end;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .site-footer__partners {
    padding: 1.5rem 0 1.5rem;
  }

  .site-footer__bar {
    padding: 2.25rem 0 1.75rem;
  }

  .site-footer__inner {
    text-align: center;
    align-items: center;
  }

  .site-footer address {
    max-width: none;
  }

  .site-footer__links {
    justify-content: center;
  }
}

.site-footer address {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--text-on-dark);
  max-width: 22rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer__links a {
  font-family: var(--font-body);
  color: var(--text-on-dark);
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 400;
  transition: font-weight 0.12s ease;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  box-sizing: border-box;
  max-width: var(--page-max);
  margin: 0 auto;
  /* Gleicher Innenabstand wie .site-header → linksbündig zum Logo */
  padding-inline: var(--gutter);
}

@media (min-width: 900px) {
  .partners-grid {
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.15fr) minmax(280px, 1.35fr);
    gap: 2rem 3rem;
    align-items: start;
  }
}

.partners-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.partners-col--ezh img {
  width: min(190px, 100%);
  height: auto;
}

.partners__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-black);
}

.partners-col .partners__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.partners__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: center;
  align-items: center;
}

.partners__logos img {
  max-height: 64px;
  width: auto;
}

.partners__logos--coop {
  align-items: flex-start;
  gap: 1.25rem 1.75rem;
}

.partners__logos--coop .partners__logo--lasub {
  max-height: 72px;
  max-width: min(100%, 280px);
}

.partners-col--support .partners__logos,
.partners__logos--support {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.partners-col--support .partners__logos img,
.partners__logos--support img {
  max-height: 72px;
  max-width: min(100%, 340px);
}

.partners__logo--stadt {
  max-height: 56px;
}

.partners__uni-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  max-width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.625rem;
  line-height: 1.4;
  color: var(--text-black);
}

.partners__uni-row img {
  max-height: 44px;
  flex-shrink: 0;
}

.partners__uni-row span {
  flex: 1 1 10rem;
  min-width: 0;
}

@media (max-width: 899px) {
  .partners-col {
    align-items: center;
    text-align: center;
  }

  .partners-col .partners__logos,
  .partners-col--support .partners__logos,
  .partners__logos--support {
    justify-content: center;
    align-items: center;
  }

  .partners__uni-row {
    justify-content: center;
    text-align: center;
  }
}

/* —— Hover (Figma 51:2283) —— */
@media (hover: hover) {
  .site-nav a:hover,
  .site-nav__trigger:hover {
    font-weight: 700;
    color: var(--hand-gruen);
  }

  .site-nav__sub a:hover {
    color: var(--hand-gruen);
    font-weight: 700;
  }

  .site-nav__sub.has-dropdown-color a:hover {
    color: var(--nav-dropdown-text, #fff);
    opacity: 0.85;
  }

  .btn-primary:hover {
    background: #fff;
    color: var(--hand-gruen);
  }

  .btn-kontaktreiter:hover {
    background: var(--hand-gruen);
    color: #fff;
  }

  .site-footer__links a:hover {
    font-weight: 700;
  }

  .mobile-menu__sub a:hover {
    font-weight: 700;
    text-decoration: underline;
  }

  .mobile-menu__acc.has-dropdown-color .mobile-menu__sub a:hover {
    color: var(--nav-dropdown-text, #fff);
    opacity: 0.85;
    text-decoration: none;
  }

  .mobile-menu__summary:hover {
    color: var(--hand-gruen);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* —— Aufzählungspunkte nach Seitenprojekt (BÄR / HAND) —— */
.page-project--baer {
  --ezh-list-bullet: url("../img/baer/baer-list-bullet.svg");
  --ezh-list-bullet-w: 1.15em;
  --ezh-list-bullet-h: 0.9em;
}

.page-project--hand {
  --ezh-list-bullet: url("../img/hand/hand-list-bullet.svg");
  --ezh-list-bullet-w: 1.25em;
  --ezh-list-bullet-h: 0.7em;
}

.page-project--baer main :is(ul, .wp-block-list):not([class*="nav"]):not([class*="menu"]),
.page-project--hand main :is(ul, .wp-block-list):not([class*="nav"]):not([class*="menu"]) {
  list-style: none !important;
  padding-left: 0 !important;
}

.page-project--baer main :is(ul, .wp-block-list):not([class*="nav"]):not([class*="menu"]) > li,
.page-project--hand main :is(ul, .wp-block-list):not([class*="nav"]):not([class*="menu"]) > li {
  position: relative;
  padding-left: calc(var(--ezh-list-bullet-w) + 0.7rem);
}

.page-project--baer main :is(ul, .wp-block-list):not([class*="nav"]):not([class*="menu"]) > li::marker,
.page-project--hand main :is(ul, .wp-block-list):not([class*="nav"]):not([class*="menu"]) > li::marker {
  content: "";
}

.page-project--baer main :is(ul, .wp-block-list):not([class*="nav"]):not([class*="menu"]) > li::before,
.page-project--hand main :is(ul, .wp-block-list):not([class*="nav"]):not([class*="menu"]) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: var(--ezh-list-bullet-w);
  height: var(--ezh-list-bullet-h);
  background: var(--ezh-list-bullet) center / contain no-repeat;
}
