/* ── Schriften (lokal gehostet, keine Verbindung zu Google) ───────────── */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto-mono-latin-700-normal.woff2") format("woff2");
}

/* ── Design-Tokens ──────────────────────────────────────────────────── */

:root {
  --font-display: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  --font-mono: "Roboto Mono", "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --color-ink: #1c1d20;
  --color-ink-soft: #34373a;
  --color-chocolate: #342919;
  --color-deep: #302819;
  --color-paper: #f7f3ea;
  --color-paper-strong: #fffdf8;
  --color-forest: #342919;
  --color-forest-light: #a18050;
  --color-moss: #c29a72;
  --color-tan: #c29a72;
  --color-gold: #a18050;
  --color-line: rgba(28, 29, 32, 0.14);
  --shadow-soft: 0 20px 60px rgba(28, 29, 32, 0.12);
  --max-page: 1040px;
  --nav-top: 28px;
}

/* ── Reset & Basis ──────────────────────────────────────────────────── */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--color-ink);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.about-page {
  min-height: 100svh;
  background: #ffffff;
  color: var(--color-chocolate);
  transition: background 220ms ease, color 220ms ease;
}

body.about-page.is-terms-view {
  background: #fff4e3;
}

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

a {
  color: inherit;
}

a:hover {
  color: var(--color-forest-light);
}


/* ── Barrierefreiheit & Navigation ──────────────────────────────────── */

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--color-paper-strong);
  color: var(--color-ink);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: auto;
  bottom: 70px;
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none;
}

.desktop-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  padding: 8px;
  color: var(--color-chocolate);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(17, 26, 15, 0.18);
  backdrop-filter: blur(14px);
}

.brand-link,
.nav-link {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-chocolate);
  text-decoration: none;
  white-space: nowrap;
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.brand-link {
  padding: 0 24px;
  color: var(--color-chocolate);
  font-size: 1.35rem;
  font-weight: 900;
}

svg.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-link {
  padding: 0 24px;
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-link:hover,
.brand-link[aria-current="page"],
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-group.is-active > .nav-link {
  color: var(--color-chocolate);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 26, 15, 0.12);
}


.mobile-bar {
  pointer-events: auto;
  position: relative;
  display: none;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 16px;
}

.mobile-brand,
.mobile-trigger {
  color: var(--color-chocolate);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  box-shadow: 0 18px 42px rgba(17, 26, 15, 0.18);
  backdrop-filter: blur(14px);
}

.mobile-brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  transition: opacity 160ms ease;
}

.mobile-bar:has(.mobile-menu[open]) .mobile-brand {
  opacity: 0;
  pointer-events: none;
}

.mobile-menu {
  position: static;
}

.mobile-menu summary {
  list-style: none;
}

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

.mobile-trigger {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
}

.mobile-trigger span,
.mobile-trigger span::before,
.mobile-trigger span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.mobile-trigger span::before {
  transform: translateY(-6px);
}

.mobile-trigger span::after {
  transform: translateY(4px);
}

.mobile-panel {
  /* Inline with the bar — expands horizontally from the burger */
  position: absolute;
  top: 0;
  right: 72px; /* 16px bar-padding + 48px trigger + 8px gap */
  width: fit-content;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;

  background: #fff4e3;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(17, 26, 15, 0.18);
  backdrop-filter: blur(14px);

  /* Hidden: clipped from the left, reveals right→left (from burger outward) */
  clip-path: inset(0 0 0 100% round 24px);
  pointer-events: none;

  transition: clip-path 230ms cubic-bezier(0.23, 1, 0.32, 1);
}

details[open] .mobile-panel {
  clip-path: inset(0 0 0 0 round 24px);
  pointer-events: auto;
}

.mobile-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--color-chocolate);
  text-decoration: none;
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 400;
  white-space: nowrap;

  /* Stagger in from right after pill expands */
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 160ms ease-out, transform 160ms ease-out,
              color 160ms ease-out, background-color 160ms ease-out;
}

details[open] .mobile-panel a:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 110ms;
}

details[open] .mobile-panel a:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 160ms;
}

details[open] .mobile-panel a:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 210ms;
}

details[open] .mobile-panel a:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 260ms;
}

.mobile-panel a:hover,
.mobile-panel a[aria-current="page"] {
  color: #ffffff;
  background: #342919;
}


.quick-modules {
  position: fixed;
  right: max(24px, calc((100vw - 1540px) / 2));
  bottom: 70px;
  z-index: 70;
  display: flex;
  gap: 16px;
}

.quick-modules a {
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  color: var(--color-chocolate);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(17, 26, 15, 0.18);
  backdrop-filter: blur(14px);
  text-decoration: none;
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 900;
}

.quick-modules a:hover,
.quick-modules a[aria-current="page"] {
  color: var(--color-chocolate);
  background: #ffffff;
}

/* ── Startseite: Hero ───────────────────────────────────────────────── */

.home-hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  isolation: isolate;
  background: #3a4a2e;
  overflow: hidden;
  --mx: 0;
  --my: 0;
  --scroll-shift: 0px;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 40%, rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  transform: scale(1.035);
}

.hero-marquee {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 34px;
  padding-top: clamp(135px, 16vw, 245px);
  opacity: 1;
  pointer-events: none;
  transform: translate3d(0, calc(var(--scroll-shift) * -0.05), 0);
  mix-blend-mode: normal;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: hero-marquee 28s linear infinite;
  transform: translate3d(calc(var(--scroll-shift) * -0.18), 0, 0);
}

.hero-marquee span {
  color: #fff;
  font-size: 7.5rem;
  line-height: 0.9;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-character {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 34px 52px rgba(0, 0, 0, 0.28));
  transform: scale(1.035);
  transition: filter 180ms ease;
}

.home-hero:hover .hero-character {
  filter: drop-shadow(0 38px 58px rgba(0, 0, 0, 0.32));
}

@keyframes hero-marquee {
  from {
    translate: 0 0;
  }

  to {
    translate: -33.333% 0;
  }
}

/* ── Unterseiten: Page-Hero & Inhaltsstruktur ───────────────────────── */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.soft-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--color-deep);
  background: #fff4e3;
  border: 1px solid rgba(52, 41, 25, 0.12);
}

.page-hero {
  min-height: 58svh;
  padding: clamp(132px, 15svh, 184px) 24px clamp(62px, 8svh, 96px);
  display: grid;
  align-items: center;
  color: var(--color-deep);
  background: #fff4e3;
}

.page-hero-inner,
.content-shell {
  width: min(var(--max-page), calc(100vw - 48px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-gold);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--color-deep);
  font-size: clamp(3.35rem, 7vw, 7.25rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(52, 41, 25, 0.72);
  font-size: 1.14rem;
}

.main-content {
  position: relative;
  z-index: 2;
  background: #ffffff;
}

body:not(.home) > main {
  position: relative;
  z-index: 2;
  min-height: calc(100svh + clamp(280px, 34svh, 420px));
  background: #ffffff;
}

body.home .main-content {
  background: #ffffff;
}

body.home .content-shell {
  width: min(1240px, calc(100vw - 48px));
}

.section {
  padding: 76px 0;
}


section[id] {
  scroll-margin-top: 112px;
}

.section.compact {
  padding-top: 42px;
}

.page-spacer {
  margin-top: 28px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.panel,
.card,
.stat-card {
  background: var(--color-paper-strong);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 34px;
}

.card,
.stat-card {
  padding: 24px;
}

.card h3,
.panel h2,
.stat-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.card p,
.panel p,
.stat-card p {
  margin: 0;
  color: var(--color-ink-soft);
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--color-forest);
  font-weight: 850;
  text-decoration: none;
}

.card-link::after {
  content: ">";
  margin-left: 8px;
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-forest);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 900;
}


.term-table-wrap {
  overflow-x: auto;
  background: var(--color-paper-strong);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.term-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.term-table caption {
  padding: 22px 22px 8px;
  text-align: left;
  color: var(--color-forest);
  font-size: 1.2rem;
  font-weight: 900;
}

.term-table th,
.term-table td {
  padding: 15px 18px;
  border-top: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.term-table th {
  color: var(--color-ink);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.term-table td:first-child {
  white-space: nowrap;
  font-weight: 850;
}



.legal-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
  align-items: start;
}

.legal-content h2 {
  margin: 0 0 12px;
}

.legal-content h3 {
  margin: 26px 0 8px;
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-ink-soft);
}

.about-stage {
  min-height: 100svh;
  padding: 132px 24px 170px;
  overflow: hidden;
}

.about-shell {
  width: min(1540px, calc(100vw - 96px));
  margin: 0 auto;
}

.about-shell h1 {
  max-width: 1380px;
  margin: 0 0 56px;
  color: var(--color-chocolate);
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(4.7rem, 6.7vw, 7rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.about-shell h1 span {
  display: block;
}

.about-page.is-terms-view .about-shell h1 {
  max-width: 1360px;
  font-size: clamp(4.7rem, 6.5vw, 7rem);
  color: var(--color-deep);
}

.about-menu {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin: 0 0 82px;
}

.about-tab {
  margin: 0;
  padding: 0;
  color: var(--color-chocolate);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.about-tab:hover,
.about-tab:focus-visible,
.about-tab.is-active {
  color: var(--color-chocolate);
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
  outline: 0;
}


.about-panels {
  width: min(1524px, 100%);
  margin-top: 72px;
}

.about-panel[hidden] {
  display: none;
}

.about-panel {
  background: #ffffff;
  border-radius: 38px;
  box-shadow: 0 24px 56px rgba(17, 26, 15, 0.14);
}

.about-text-panel {
  max-width: 960px;
  padding: 46px 52px;
}

.about-panel h2 {
  margin: 0 0 24px;
  color: var(--color-chocolate);
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.about-panel p,
.minimal-term-list {
  color: rgba(6, 27, 5, 0.78);
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.about-text-panel p {
  max-width: 780px;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.65;
}

.about-terms-panel {
  min-height: 560px;
  padding: 54px 64px 76px;
}

.minimal-term-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.minimal-term-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(220px, 1fr) minmax(220px, 0.85fr);
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(6, 27, 5, 0.12);
}

.minimal-term-list li:first-child {
  border-top: 0;
}

.minimal-term-list time,
.minimal-term-list span {
  color: var(--color-chocolate);
  font-weight: 900;
}

.minimal-term-list em {
  color: rgba(6, 27, 5, 0.66);
  font-style: normal;
}


.about-page.is-terms-view .about-stage {
  background: #ffffff;
}

.site-footer {
  padding: 76px 24px 120px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--color-deep, #302819);
}

.footer-inner {
  width: min(var(--max-page), calc(100vw - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.home-footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr 0.85fr;
  align-items: start;
  gap: 70px;
}

.home-footer-grid h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.08rem, 1.8vw, 1.62rem);
  line-height: 1.05;
}

.home-footer-grid nav {
  display: grid;
  gap: 28px;
}

.home-footer-grid strong,
.home-footer-grid a {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.22rem;
  line-height: 1;
}

.home-footer-grid strong {
  color: #ffffff;
  font-weight: 900;
}

.footer-inner a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 750;
}

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

@media (max-width: 1060px) {
  .desktop-nav {
    display: none;
  }

  .mobile-bar {
    display: flex;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .page-hero-inner,
  .content-shell,
  .footer-inner {
    width: min(var(--max-page), calc(100vw - 36px));
  }

  .section {
    padding: 54px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .card,
  .stat-card {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── Navigation ────────────────────────────────────────────────────── */

body.home main {
  position: relative;
  z-index: 2;
  background: #ffffff;
  isolation: isolate;
}

body.home .main-content {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.site-header {
  top: var(--nav-top);
  bottom: auto;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.home .site-header {
  top: 0;
  transform: translate3d(0, calc(100svh - 136px), 0);
}

body.home.nav-docked .site-header {
  transform: translate3d(0, var(--nav-top), 0);
}

.desktop-nav {
  position: relative;
  gap: 4px;
  padding: 6px;
  background: #fff4e3;
  box-shadow: 0 18px 42px rgba(17, 26, 15, 0.16);
  overflow: hidden;
}

.desktop-nav::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: var(--nav-hover-w, 0px);
  height: var(--nav-hover-h, 0px);
  border-radius: 999px;
  background: #342919;
  opacity: 0;
  transform: translate3d(var(--nav-hover-x, 0px), var(--nav-hover-y, 0px), 0);
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    width 180ms cubic-bezier(0.22, 1, 0.36, 1),
    height 180ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 140ms ease;
  pointer-events: none;
}

.desktop-nav.is-hovering::before {
  opacity: 1;
}

.brand-link,
.nav-link {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.96rem;
  line-height: 1;
}

.brand-link {
  font-weight: 700;
}

.nav-link {
  font-weight: 400;
}

.brand-link:hover,
.brand-link[aria-current="page"],
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-group.is-active > .nav-link {
  color: #ffffff;
  background: #342919;
  box-shadow: none;
}

.desktop-nav.is-hovering .brand-link[aria-current="page"],
.desktop-nav.is-hovering .nav-link[aria-current="page"],
.desktop-nav.is-hovering .nav-group.is-active > .nav-link {
  color: var(--color-chocolate);
  background: transparent;
}

.desktop-nav.is-hovering .brand-link:hover,
.desktop-nav.is-hovering .nav-link:hover,
.desktop-nav.is-hovering .brand-link:focus-visible,
.desktop-nav.is-hovering .nav-link:focus-visible {
  color: #ffffff;
  background: transparent;
}

.desktop-nav.is-hovering .is-hover-target {
  color: #ffffff;
  background: transparent;
}

.quick-modules {
  top: var(--nav-top);
  bottom: auto;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.home .quick-modules {
  top: 0;
  transform: translate3d(0, calc(100svh - 136px), 0);
}

body.home.nav-docked .quick-modules {
  transform: translate3d(0, var(--nav-top), 0);
}

body.nav-exit-up .site-header,
body.nav-exit-up .quick-modules {
  transform: translate3d(0, -130px, 0);
  transition: transform 240ms ease-in;
}

.quick-modules a {
  min-height: 50px;
  padding: 0 24px;
  font-size: 1rem;
}

/* ── Startseite: Hero (Figma) ───────────────────────────────────────── */
.home-hero {
  background: #1a3a1a;
}

.home-hero::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 40%, rgba(0, 0, 0, 0.1));
}

.hero-bg {
  opacity: 1;
}

.hero-marquee {
  align-content: center;
  gap: 10px;
  padding-top: 0;
  transform: translate3d(0, calc(var(--scroll-shift) * -0.035), 0);
}

.hero-marquee-track {
  gap: 36px;
  animation-duration: 34s;
}

.hero-marquee-track-alt {
  animation-direction: reverse;
  opacity: 0.95;
}

.hero-marquee span {
  color: #342919;
  font-size: clamp(5.7rem, 7.4vw, 8.6rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: none;
}

.hero-character {
  inset: 0;
  bottom: unset;
  height: 100%;
  max-width: 100%;
}

/* ── Startseite: Häs-Stage ──────────────────────────────────────────── */
.home-haes-stage {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(84px, 8vw, 132px) 0 clamp(70px, 7vw, 108px);
  color: var(--color-deep);
  background: #ffffff;
  overflow: hidden;
}

.haes-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: clamp(38px, 6vw, 92px);
}

.haes-stage-copy h2 {
  max-width: 690px;
  margin: 0;
  color: var(--color-deep);
  font-size: clamp(2.8rem, 5.6vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.haes-nowrap {
  white-space: nowrap;
}

.haes-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 450px;
  margin-top: 26px;
}

.haes-pill {
  min-height: 38px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #342919;
  background: #fff4e3;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.haes-pill:hover,
.haes-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(52, 41, 25, 0.14);
  outline: none;
}

.haes-pill.is-active {
  color: #ffffff;
  background: #342919;
}

.haes-static-copy {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(52, 41, 25, 0.78);
  font-size: clamp(0.86rem, 1.1vw, 0.98rem);
  font-weight: 400;
  line-height: 1.68;
}

.haes-static-copy p {
  margin: 0;
}

.haes-static-copy p + p {
  margin-top: 14px;
}

.haes-stage-visual {
  --haes-caption-y: 0px;
  --haes-caption-opacity: 1;
  display: grid;
  gap: 18px;
}

.haes-art-window {
  position: relative;
  min-height: clamp(330px, 43vw, 530px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(52, 41, 25, 0.08);
  border-radius: clamp(26px, 3vw, 36px);
  background: #fffaf0;
  box-shadow: 0 22px 54px rgba(18, 18, 18, 0.12);
  overflow: hidden;
  display: grid;
  place-items: center;
  transform: perspective(900px) rotateY(var(--haes-tilt, 0deg)) rotateX(var(--haes-tilt-y, 0deg));
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.haes-sculpture-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  /* Optimal je Einzelmotiv: 1200 x 1500 px oder jedes andere 4:5 Hochformat. */
  background-image: var(--haes-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.haes-sculpture-image.is-changing {
  animation: haes-swap 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.haes-caption-mask {
  height: 180px;
  overflow: hidden;
}

.haes-dynamic-copy {
  transform: translate3d(0, var(--haes-caption-y), 0);
  opacity: var(--haes-caption-opacity);
  transition:
    transform 220ms linear,
    opacity 180ms linear;
}

.haes-dynamic-copy strong {
  display: block;
  color: #342919;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.haes-dynamic-copy p {
  max-width: 420px;
  margin: 10px 0 0;
  color: rgba(52, 41, 25, 0.72);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 400;
  line-height: 1.58;
}

@keyframes haes-swap {
  0% {
    opacity: 0.3;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


body.home .content-shell {
  width: min(1040px, calc(100vw - 48px));
}


/* ── Startseite: Statistiken & Nächster Termin ──────────────────────── */
.home-third-stage {
  position: relative;
  margin-top: clamp(-42px, -3vw, -22px);
  background: #ffffff;
  isolation: isolate;
}

.home-stats-panel {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 50svh;
  display: grid;
  align-items: start;
  padding: clamp(46px, 6svh, 70px) 0 clamp(30px, 4svh, 48px);
  background: #ffffff;
}

.third-grid,
.home-next-grid,
.wir-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.7vw, 34px);
}

.third-card {
  min-height: clamp(208px, 20vw, 260px);
  display: grid;
  align-content: center;
  padding: clamp(28px, 3.3vw, 40px) clamp(22px, 2.8vw, 32px);
  border-radius: 22px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--color-deep);
  background: #ffffff;
  border: none;
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.12);
  opacity: 0;
  transform:
    translate3d(var(--stat-start-x, 0px), 168px, 0)
    rotate(var(--stat-start-rotate, 0deg))
    scale(0.84);
  transition:
    opacity 260ms ease,
    transform 940ms cubic-bezier(0.14, 1.22, 0.24, 1);
}

.stat-card:nth-child(1) {
  --stat-start-x: -120px;
  --stat-start-rotate: -4deg;
}

.stat-card:nth-child(2) {
  --stat-start-x: 0px;
  --stat-start-rotate: 2deg;
}

.stat-card:nth-child(3) {
  --stat-start-x: 120px;
  --stat-start-rotate: 4deg;
}

.stat-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.stat-card strong,
.next-card strong {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.05rem);
  line-height: 0.9;
}

.stat-card p {
  margin-top: 26px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-next {
  position: relative;
  z-index: 2;
  min-height: 50svh;
  display: grid;
  align-items: center;
  margin-top: 0;
  padding: clamp(42px, 6vw, 76px) 0;
  color: #ffffff;
  background: #1b6031;
  box-shadow: 0 -34px 72px rgba(6, 27, 5, 0.2);
}

.home-next-grid {
  align-items: center;
}

.home-next h2 {
  grid-column: 1 / span 2;
}

.home-next h2,
.home-join h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
}

.next-card {
  grid-column: 3;
  color: var(--color-deep);
  background: #fff9ed;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.stat-card p,
.next-card p {
  font-size: 0.82rem;
  line-height: 1.5;
}

.next-card p {
  margin: 24px 0 0;
}

/* ── Startseite: Mitmachen ──────────────────────────────────────────── */
.home-join {
  position: relative;
  z-index: 3;
  min-height: 54svh;
  display: grid;
  align-items: center;
  padding: clamp(104px, 9vw, 132px) 0 clamp(110px, 12vw, 168px);
  background: #ffffff;
  box-shadow: 0 42px 88px rgba(48, 40, 25, 0.2);
}

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
}

.join-copy {
  align-self: center;
}

.home-join h2 {
  max-width: 470px;
  color: var(--color-deep);
  font-size: clamp(2.15rem, 3.6vw, 3.85rem);
  line-height: 0.96;
  text-transform: none;
}

.join-copy p {
  max-width: 520px;
  margin: clamp(24px, 3vw, 36px) 0 0;
  color: rgba(52, 41, 25, 0.72);
  font-family: var(--font-mono);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 400;
  line-height: 1.68;
}

.join-panel {
  min-height: clamp(224px, 20vw, 286px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(16px, 2vw, 24px);
  background: #ffffff;
  border: 1px solid rgba(52, 41, 25, 0.08);
  border-radius: clamp(26px, 3vw, 36px);
  box-shadow: 0 22px 54px rgba(18, 18, 18, 0.1);
}

.join-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: clamp(86px, 8vw, 106px);
  padding: clamp(18px, 2vw, 24px) clamp(28px, 3vw, 38px);
  color: var(--color-chocolate);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(18, 18, 18, 0.14);
}

.join-tile span {
  color: #a18050;
  font-family: var(--font-mono);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
}

.join-download,
.join-email {
  color: var(--color-deep);
  font-family: var(--font-mono);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  line-height: 1.2;
  text-decoration: none;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.join-download {
  font-weight: 700;
}

.join-email {
  font-weight: 400;
}

.join-download:hover,
.join-download:focus-visible,
.join-email:hover,
.join-email:focus-visible {
  color: var(--color-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
  min-height: clamp(500px, 62svh, 640px);
  margin-top: clamp(-260px, -26svh, -190px);
  padding: clamp(242px, 30svh, 310px) 24px clamp(28px, 4svh, 44px);
  background: var(--color-deep);
}

body.home .site-footer {
  min-height: clamp(500px, 62svh, 640px);
}

.site-footer .footer-inner {
  width: min(1040px, calc(100vw - 48px));
}

.home-footer-grid {
  grid-template-columns: minmax(320px, 1fr) minmax(140px, 160px) minmax(320px, 438px);
  gap: clamp(30px, 2.25vw, 36px);
}

.home-footer-grid nav {
  gap: clamp(28px, 4vw, 48px);
}

.home-footer-grid strong,
.home-footer-grid a {
  font-size: 0.95rem;
}

.home-footer-grid strong {
  font-weight: 700;
}

.home-footer-grid a {
  font-weight: 400;
}

/* ── Wir-Seite ──────────────────────────────────────────────────────── */
.about-stage {
  min-height: 62svh;
  padding: 178px 24px 94px;
  background: #ffffff;
}

.about-shell {
  width: min(var(--max-page), calc(100vw - 48px));
  margin: 0 auto;
}

.wir-heading-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) max-content;
  align-items: end;
  gap: 32px;
}

.about-shell h1 {
  max-width: 390px;
  margin: 0;
  color: var(--color-chocolate);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5.8vw, 5.4rem);
  line-height: 0.86;
  text-transform: none;
}

.about-title {
  display: grid;
  grid-template-columns: max-content;
  grid-auto-flow: row;
  align-content: start;
  gap: 0;
}

.about-title-prefix {
  display: block;
  min-height: 0.86em;
  color: #a18050;
  white-space: nowrap;
}

.about-title-anchor {
  display: block;
  color: var(--color-deep);
  text-transform: uppercase;
  white-space: nowrap;
}

.about-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: none;
  margin: 0 0 0;
}

.about-tab {
  min-height: 42px;
  padding: 0 20px;
  color: var(--color-chocolate);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.08);
  font-family: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.98rem;
  font-weight: 900;
  white-space: nowrap;
}

.about-tab.is-active,
.about-tab:hover,
.about-tab:focus-visible {
  color: #ffffff;
  background: var(--color-chocolate);
  box-shadow: 0 14px 28px rgba(52, 41, 25, 0.16);
  text-decoration: none;
}

.about-panels {
  position: relative;
  width: 100%;
  margin-top: 52px;
  overflow: visible;
}

.about-panel {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.about-panel.is-active {
  position: relative;
  z-index: 1;
}

.about-panel.is-ready-enter {
  opacity: 0;
  transform: translate3d(120px, 0, 0);
}

.about-panel.is-entering {
  will-change: opacity, transform;
  animation: panel-enter-right 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-panel.is-leaving {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  will-change: opacity, transform;
  animation: panel-leave-left 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes panel-enter-right {
  from {
    opacity: 0;
    transform: translate3d(120px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes panel-leave-left {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(-120px, 0, 0);
  }
}

.about-text-panel,
.about-card-panel {
  max-width: 100%;
  padding: 30px 0 54px;
  background: transparent;
}

.about-panel h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.about-text-panel p {
  max-width: 720px;
  font-size: 1rem;
}

.about-page.is-terms-view .about-stage {
  min-height: 100svh;
  padding-top: 178px;
  background: #ffffff;
  overflow: clip;
}

.about-page.is-board-view .about-stage {
  min-height: calc(100svh + var(--board-stage-budget, 0px));
  overflow: visible;
  padding-bottom: 0;
}

.about-page.is-board-view .about-shell {
  position: sticky;
  top: clamp(118px, 15svh, 150px);
  z-index: 1;
  min-height: 100svh;
  padding-top: 0;
  padding-bottom: clamp(56px, 8svh, 96px);
}

.about-page.is-board-view .board-scroll-frame {
  position: relative;
  top: auto;
}

.about-page.is-board-view .about-panels {
  margin-top: 52px;
}

.about-page.is-terms-view .about-shell h1 {
  max-width: 560px;
  font-size: clamp(3.5rem, 5.8vw, 5.4rem);
  line-height: 0.86;
}

.about-page.is-terms-view .about-menu {
  display: flex;
}

.about-page.is-terms-view .about-panels {
  width: 100%;
  margin-top: 52px;
}

.about-terms-panel {
  min-height: 0;
  padding: 30px 0 54px;
  background: #ffffff;
  border: 0;
  box-shadow: none;
}

.board-panel {
  min-height: 0;
  padding: 30px 0 0;
}

.about-terms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.minimal-term-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  background: #ffffff;
}

.minimal-term-list li {
  display: grid;
  grid-template-columns: 170px 1fr 230px;
  gap: 20px;
  padding: 18px 0;
  border: 0;
  outline: none;
  cursor: pointer;
}

.minimal-term-list li:last-child {
  border-bottom: 0;
}

.minimal-term-list li:focus-visible {
  outline: 2px solid rgba(161, 128, 80, 0.55);
  outline-offset: 6px;
}

.term-info-card {
  position: sticky;
  top: clamp(110px, 14svh, 140px);
  align-self: start;
  padding: clamp(26px, 3vw, 38px);
  color: var(--color-deep);
  background: #ffffff;
  border: 1px solid rgba(52, 41, 25, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 42px rgba(18, 18, 18, 0.1);
}

.term-info-card h2 {
  margin: 0;
  color: var(--color-deep);
  font-family: var(--font-mono);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.08;
}

.term-info-card p {
  margin: 24px 0 0;
  color: rgba(52, 41, 25, 0.72);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.7;
}

.partner-fact-card {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.1);
  padding: clamp(22px, 2.6vw, 30px);
}

.partner-fact-card img {
  max-width: 190px;
  max-height: 74px;
  object-fit: contain;
}

.partner-fact-card p {
  margin: 0;
  font-weight: 900;
}

.patron-card,
.board-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.patron-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.1);
  padding: clamp(22px, 2.6vw, 30px);
}

.patron-card strong,
.board-card strong {
  margin-bottom: 16px;
}

.patron-card h3,
.board-card h3 {
  max-width: 300px;
  margin: 0;
  color: var(--color-deep);
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
}

.patron-card a {
  color: #a18050;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
}

.patron-card a:hover,
.patron-card a:focus-visible {
  color: var(--color-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.patron-card p,
.board-card p {
  max-width: 280px;
  margin: 0;
  color: rgba(52, 41, 25, 0.72);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.62;
}

#panel-netzwerk > .eyebrow {
  margin: 40px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

#panel-netzwerk > .eyebrow:first-child {
  margin-top: 0;
}

.board-card-grid {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  display: block;
  min-height: var(--board-track-height, clamp(500px, 66svh, 740px));
  padding-bottom: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.board-card-grid .board-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: calc(20 - var(--board-depth, 0));
  opacity: var(--board-opacity, 1);
  transform: translate3d(0, var(--board-offset-y, 0), 0) scale(var(--board-scale, 0.97));
  will-change: transform;
  transition:
    opacity 320ms ease,
    margin 260ms cubic-bezier(0.22, 1, 0.36, 1),
    min-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    grid-template-columns 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 180ms ease,
    border-radius 180ms ease,
    box-shadow 180ms ease;
}

.board-card-grid .board-card + .board-card {
  margin-top: 0;
}

.board-card-grid .board-card.is-board-focus {
  z-index: 30;
  align-items: end;
  margin-top: clamp(10px, 1.2vw, 18px);
  margin-bottom: clamp(14px, 1.6vw, 24px);
  padding: clamp(24px, 2.8vw, 34px);
  opacity: 1;
  border-radius: 38px;
  box-shadow: 0 34px 76px rgba(18, 18, 18, 0.17);
}

.board-card-grid .board-card.is-board-before {
  pointer-events: none;
}

.board-card-grid .board-card.is-board-focus + .board-card {
  margin-top: 0;
}

.board-scroll-frame {
  position: sticky;
  top: clamp(96px, 14svh, 128px);
  height: clamp(420px, calc(100svh - 250px), 560px);
  max-height: none;
  margin: -10px -116px 0;
  padding: 10px 116px 136px;
  overflow-x: visible;
  overflow-y: visible;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  mask-image: none;
}

.board-scroll-frame::-webkit-scrollbar {
  display: none;
}

.board-controls {
  position: fixed;
  z-index: 42;
  left: calc(50% + 456px);
  bottom: clamp(128px, 20svh, 160px);
  display: grid;
  gap: 12px;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.is-board-overflow .board-controls {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.board-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  appearance: none;
  border: 1px solid rgba(52, 41, 25, 0.08);
  border-radius: 999px;
  color: var(--color-chocolate);
  background: #fff4e3;
  box-shadow: 0 18px 36px rgba(18, 18, 18, 0.12);
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease,
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.board-control:hover,
.board-control:focus-visible {
  color: #fff4e3;
  background: var(--color-chocolate);
  box-shadow: 0 22px 44px rgba(18, 18, 18, 0.17);
  outline: none;
  transform: translateY(-1px);
}

.board-control:disabled {
  opacity: 0.36;
  pointer-events: none;
  box-shadow: 0 12px 24px rgba(18, 18, 18, 0.08);
}

.board-panel.is-ready-enter .board-card,
.board-panel.is-entering .board-card {
  opacity: var(--board-opacity, 1);
  transform: translate3d(0, var(--board-offset-y, 0), 0) scale(var(--board-scale, 1));
  will-change: transform;
  animation: none !important;
}

.board-panel.is-entering .board-card:nth-child(1) {
  animation-delay: 40ms;
}

.board-panel.is-entering .board-card:nth-child(2) {
  animation-delay: 90ms;
}

.board-panel.is-entering .board-card:nth-child(3) {
  animation-delay: 175ms;
}

.board-panel.is-entering .board-card:nth-child(4) {
  animation-delay: 230ms;
}

.board-panel.is-entering .board-card:nth-child(5) {
  animation-delay: 315ms;
}

.board-panel.is-entering .board-card:nth-child(6) {
  animation-delay: 370ms;
}

.board-panel.is-entering .board-card:nth-child(7) {
  animation-delay: 460ms;
}

.board-panel.is-entering .board-card:nth-child(8) {
  animation-delay: 550ms;
}

.board-panel .board-card {
  animation: none !important;
}

@keyframes board-card-snake-in {
  from {
    opacity: 0;
    transform: translate3d(220px, 0, 0) scale(0.98);
  }

  to {
    opacity: var(--board-opacity, 1);
    transform: translate3d(0, var(--board-offset-y, 0), 0) scale(var(--board-scale, 1));
  }
}

.board-card {
  min-height: var(--board-card-height, 118px);
  grid-template-columns: minmax(var(--board-photo-width, 68px), var(--board-photo-width, 68px)) minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 20px;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 30px 68px rgba(18, 18, 18, 0.14);
}

.board-photo-placeholder {
  width: var(--board-photo-width, 68px);
  height: var(--board-photo-height, 68px);
  border-radius: var(--board-photo-radius, 999px);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 244, 227, 0.98), rgba(255, 255, 255, 0.64)),
    #fff4e3;
  border: 1px solid rgba(52, 41, 25, 0.1);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.56);
  transition: none;
}

.board-card.is-board-focus .board-photo-placeholder {
  align-self: stretch;
  height: 100%;
  min-height: var(--board-photo-height, 68px);
}

.board-card-copy {
  min-width: 0;
}

.board-card h3 {
  max-width: none;
}

.board-card p {
  max-width: none;
  margin-top: 8px;
  color: #a18050;
  font-weight: 700;
}

.board-card .eyebrow {
  margin: 4px 0 0;
  color: var(--color-gold);
  font-size: 0.78rem;
}

.board-email {
  display: block;
  max-height: var(--board-email-max, 0px);
  margin-top: var(--board-email-margin, 0px);
  overflow: hidden;
  color: var(--color-deep);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  opacity: var(--board-email-opacity, 0);
  transform: translate3d(0, 8px, 0);
  transition:
    max-height 140ms ease,
    margin 140ms ease,
    opacity 120ms ease,
    transform 140ms ease;
}

.board-card.is-board-focus .board-email {
  transform: translate3d(0, 0, 0);
}

.senior-board-card,
.board-card-grid .senior-board-card.is-board-focus {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.senior-board-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.senior-board-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-deep);
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  font-weight: 700;
}

.senior-board-list li {
  min-width: 0;
}

.senior-board-list span {
  display: block;
  margin-bottom: 8px;
  color: #a18050;
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1;
}

.senior-board-card .board-email {
  opacity: 1;
  max-height: 2em;
  margin-top: 0;
  transform: none;
  color: #a18050;
}

/* ── Galerie-Seite ──────────────────────────────────────────────────── */
.gallery-page {
  background: #ffffff;
}

.gallery-page .site-header {
  z-index: 90;
}

.gallery-main {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: 0;
  overflow: visible;
  background: #ffffff;
}

.gallery-year-nav {
  position: relative;
  z-index: 3;
  display: flex;
  width: max-content;
  gap: 8px;
  margin-top: clamp(14px, 2vw, 22px);
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 244, 227, 0.86);
  box-shadow: 0 18px 42px rgba(17, 26, 15, 0.12);
  backdrop-filter: blur(14px);
  pointer-events: auto;
  transform: translate3d(0, calc(var(--gallery-title-progress, 0) * -34px), 0);
  transition: transform 80ms linear;
}

.gallery-year-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
}

.gallery-year-nav a:hover,
.gallery-year-nav a:focus-visible,
.gallery-year-nav a[aria-current="true"] {
  color: #fff4e3;
  background: var(--color-chocolate);
  outline: none;
}

.gallery-cover-stage {
  position: relative;
  height: 230svh;
  background: #ffffff;
}

.gallery-year-section {
  position: relative;
  scroll-margin-top: 0;
}

.gallery-year-section[hidden] {
  display: none;
}

.gallery-cover-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #ffffff;
}

.gallery-title-lockup {
  position: absolute;
  z-index: 2;
  top: 178px;
  left: max(24px, calc((100vw - var(--max-page)) / 2));
  color: var(--color-chocolate);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.gallery-title-lockup span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5.8vw, 5.4rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
  transform-origin: left top;
  transform: scale(calc(1 - (var(--gallery-title-progress, 0) * 0.42)));
  transition: transform 80ms linear;
}

.gallery-tile {
  color: #fff4e3;
  background-color: var(--gallery-tile-bg, #a18050);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.gallery-cover-tile {
  position: relative;
  z-index: 1;
  width: var(--gallery-cover-width, min(var(--max-page), calc(100vw - 48px)));
  height: var(--gallery-cover-height, 58svh);
  margin: 0 auto;
  display: grid;
  align-content: end;
  justify-items: start;
  padding: 0 var(--gallery-caption-left, clamp(28px, 5vw, 64px)) clamp(42px, 7svh, 82px);
  border-radius: var(--gallery-cover-radius, 34px) var(--gallery-cover-radius, 34px) 0 0;
  box-shadow: 0 36px 90px rgba(18, 18, 18, 0.16);
  background-color: var(--gallery-tile-bg, #a18050);
  transition: border-radius 80ms linear;
}

.gallery-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
}

.gallery-scroll-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  background: #ffffff;
}

.gallery-year-gallery {
  scroll-margin-top: 120px;
}

.gallery-panel {
  min-height: 100svh;
  display: grid;
  align-content: end;
  justify-items: start;
  padding: clamp(112px, 16svh, 168px) max(24px, calc((100vw - var(--max-page)) / 2)) clamp(42px, 7svh, 82px);
  border-radius: 0;
  background-color: var(--gallery-tile-bg, #a18050);
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .mobile-bar {
    align-items: flex-start;
  }

  .site-header {
    top: 18px;
    bottom: auto;
  }

  body.home .site-header {
    transform: translate3d(0, calc(100svh - 92px), 0);
  }

  body.home.nav-docked .site-header {
    transform: translate3d(0, 18px, 0);
  }

  .quick-modules {
    display: none;
  }

  .haes-stage-grid,
  .join-grid,
  .about-terms-layout,
  .wir-heading-row {
    grid-template-columns: 1fr;
  }

  .term-info-card {
    display: none;
  }

  .home-haes-stage {
    min-height: auto;
  }

  .haes-stage-visual {
    align-self: auto;
  }

  .about-menu {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .minimal-term-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.home .quick-modules,
  .quick-modules {
    display: none;
  }

  .home-hero {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-marquee span {
    font-size: 3.4rem;
  }

  .hero-character {
    inset: 0;
    height: 100%;
    max-width: 100%;
  }

  .third-grid,
  .home-next-grid,
  .wir-card-grid,
  .home-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-stats-panel {
    position: relative;
    min-height: auto;
    padding: 82px 0 80px;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2),
  .stat-card:nth-child(3) {
    --stat-start-x: 0px;
    --stat-start-rotate: 0deg;
  }

  .home-next {
    min-height: auto;
    margin-top: 0;
  }

  .home-join {
    min-height: auto;
    padding: 72px 0 96px;
  }

  .join-panel {
    grid-template-columns: 1fr;
  }

  .home-next h2,
  .next-card {
    grid-column: auto;
  }

  .home-haes-stage {
    min-height: 100svh;
    padding: 96px 0 64px;
  }

  .haes-stage-copy h2 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  /* Mobile: Elemente in neuer Reihenfolge (Headline → Text → Bild → Pillen → Erklärung) */
  .haes-stage-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "heading"
      "text"
      "image"
      "controls"
      "description";
    gap: 24px;
  }

  .haes-stage-copy,
  .haes-stage-visual,
  .haes-caption-mask {
    display: contents;
  }

  .haes-stage-copy h2 { grid-area: heading; }
  .haes-static-copy   { grid-area: text;    margin: 0; max-width: none; }
  .haes-art-window    {
    grid-area: image;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .haes-controls      { grid-area: controls; margin: 0; max-width: none; }
  .haes-dynamic-copy  {
    grid-area: description;
    transform: none !important;
    opacity: 1 !important;
    transition: none;
    max-width: none;
  }

  .haes-pill {
    min-height: 38px;
    padding: 0 16px;
  }

  .about-stage,
  .about-page.is-terms-view .about-stage {
    padding-top: 118px;
  }

  .gallery-main {
    padding-top: 0;
  }

  .about-shell h1,
  .about-page.is-terms-view .about-shell h1 {
    font-size: clamp(3.1rem, 16vw, 4.4rem);
  }

  .about-panels {
    margin-top: 34px;
  }

  .board-panel {
    min-height: 0;
    padding: 0;
  }

  .board-scroll-frame {
    top: 96px;
    height: clamp(390px, calc(100svh - 240px), 520px);
    margin: -8px -24px 0;
    padding: 8px 24px 128px;
  }

  .board-controls {
    right: 24px;
    bottom: 116px;
    left: auto;
  }

  .board-control {
    width: 42px;
    height: 42px;
  }

  .gallery-year-nav {
    margin-top: 12px;
    transform: translate3d(0, calc(var(--gallery-title-progress, 0) * -22px), 0);
  }

  .gallery-title-lockup {
    top: 86px;
    left: 24px;
  }

  .gallery-title-lockup span {
    font-size: clamp(3.1rem, 16vw, 4.4rem);
  }

  .gallery-cover-tile {
    width: var(--gallery-cover-width, calc(100vw - 36px));
    padding: 0 24px 42px;
    background-position: center, var(--gallery-tile-focus, center) !important;
  }

  .gallery-panel {
    padding-right: 24px;
    padding-left: 24px;
    background-position: center, var(--gallery-tile-focus, center) !important;
  }
}

/* ── Typografie-Tokens ──────────────────────────────────────────────── */
body,
button,
input,
textarea,
select,
.brand-link,
.nav-link,
.mobile-brand,
.mobile-panel a,
.quick-modules a,
.next-card p,
.home-join p,
.join-copy p,
.join-panel,
.join-tile,
.join-download,
.join-email,
.about-tab,
.about-panel,
.minimal-term-list,
.home-footer-grid strong,
.home-footer-grid a,
.footer-inner,
.card,
.panel,
.term-table,
.about-panel p,
.card p,
.panel p,
.stat-card p,
.hero-lede,
.legal-content p,
.legal-content li {
  font-family: var(--font-mono);
}

.page-hero h1,
.hero-marquee span,
.haes-stage-copy h2,
.home-next h2,
.home-join h2,
.about-shell h1,
.next-card strong {
  font-family: var(--font-display);
  font-weight: 700;
}

.home-footer-grid h2,
.about-panel h2,
.card h3,
.panel h2,
.stat-card strong {
  font-family: var(--font-mono);
  font-weight: 700;
}

.haes-static-copy,
.haes-dynamic-copy p,
.next-card p,
.home-join p,
.join-copy p,
.join-email,
.about-text-panel p,
.minimal-term-list em {
  font-weight: 400;
}

.brand-link,
.quick-modules a,
.about-tab,
.minimal-term-list time,
.minimal-term-list span,
.home-footer-grid strong,
.join-download {
  font-weight: 700;
}

.nav-link,
.mobile-panel a {
  font-weight: 400;
}

.brand-link,
.mobile-brand {
  font-weight: 700;
}

/* ── Contact page ─────────────────────────────────────────────────── */

.contact-page {
  background: #ffffff;
  color: var(--color-chocolate);
}

.contact-main {
  padding-bottom: 0;
}

.contact-hero {
  min-height: 100svh;
  display: grid;
  align-items: start;
  padding: 178px 0 112px;
  background: #ffffff;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  align-items: start;
  gap: clamp(54px, 7vw, 104px);
}

.contact-hero-grid aside {
  padding-top: clamp(60px, 8vw, 100px);
}

.contact-copy {
  max-width: 400px;
}

.contact-title {
  margin: 0;
  font-size: clamp(3.5rem, 5.8vw, 5.4rem);
  line-height: 0.86;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-chocolate);
}

.contact-title .about-title-anchor {
  font-weight: 900;
}

.contact-copy p {
  max-width: 340px;
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  color: rgba(52, 41, 25, 0.78);
  font-family: var(--font-mono);
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.72;
}

.contact-social {
  margin-top: clamp(30px, 3.5vw, 48px);
}

.contact-social-label {
  display: block;
  margin: 0 0 12px;
  color: #a18050;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  background: none;
  border-radius: 0;
  border: none;
}

.contact-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  color: var(--color-chocolate);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.08);
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.contact-social-links a:hover {
  color: #ffffff;
  background: var(--color-chocolate);
  box-shadow: 0 14px 28px rgba(52, 41, 25, 0.16);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
  padding: 16px 20px;
  background: #fffaf0;
  border: 0;
  border-radius: 26px;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.96rem;
  box-shadow: inset 0 0 0 1px rgba(52, 41, 25, 0.08);
  transition: box-shadow 140ms ease, background 140ms ease;
  outline: none;
  -webkit-appearance: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
  background: #ffffff;
  box-shadow:
    inset 0 0 0 2px #a18050,
    0 14px 34px rgba(52, 41, 25, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 148px;
  border-radius: 28px;
}

.form-group--check {
  flex-direction: row;
  align-items: flex-start;
}

.check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  line-height: 1.5;
}

.check-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.check-label a {
  color: var(--color-deep);
  font-weight: 700;
}

.form-submit {
  align-self: flex-start;
  min-height: 50px;
  padding: 0 28px;
  background: var(--color-deep);
  border: none;
  border-radius: 999px;
  color: var(--color-paper);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, transform 100ms ease;
}

.form-submit:hover {
  background: var(--color-gold);
}

.form-submit:active {
  transform: scale(0.97);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-notice {
  max-width: none;
  margin: 0 0 24px;
  padding: 16px 20px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-notice--ok {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.contact-notice--err {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

@media (max-width: 980px) {
  .contact-hero {
    min-height: auto;
    padding-top: 150px;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .contact-hero {
    padding: 118px 0 72px;
  }

  .contact-title {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .contact-copy p {
    line-height: 1.7;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Interner Bereich ───────────────────────────────────────────────── */

.intern-stage {
  min-height: 100svh;
  padding: 178px 0 112px;
  background: #ffffff;
}

.intern-shell {
  width: min(var(--max-page), calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  align-items: start;
  gap: clamp(48px, 6vw, 80px);
}

.intern-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.intern-heading {
  margin: 0;
  color: var(--color-chocolate);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5.8vw, 5.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.intern-tabs {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
}

.intern-tab {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.08);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.intern-tab.is-active {
  background: var(--color-chocolate);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(52, 41, 25, 0.16);
}

.intern-tab:hover:not(.is-active) {
  background: var(--color-chocolate);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(52, 41, 25, 0.16);
}

/* Gesperrter Tab (z. B. Bestellungen – Funktion folgt spaeter) */
.intern-tab.is-locked,
.intern-tab.is-locked:hover {
  background: #ebe6dc;
  color: rgba(52, 41, 25, 0.4);
  box-shadow: none;
  cursor: not-allowed;
}

.intern-content {
  background: #f7f3ea;
  border-radius: 36px;
  padding: clamp(32px, 4vw, 52px);
}

.intern-panel {
  display: none;
}

.intern-panel.is-active {
  display: block;
}

.intern-contact-entry {
  display: block;
  padding-bottom: 32px;
}

.intern-contact-entry + .intern-contact-entry {
  border-top: 1px solid rgba(52, 41, 25, 0.1);
  padding-top: 32px;
}

.intern-contact-name {
  margin: 0 0 14px;
  color: #a18050;
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 700;
  line-height: 1.15;
}

.intern-contact-address {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--color-chocolate);
}

.intern-contact-address a {
  color: var(--color-chocolate);
  text-decoration: none;
}

.intern-contact-address a:hover {
  color: var(--color-gold);
}

.intern-preise-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1.5px solid rgba(52, 41, 25, 0.18);
  border-radius: 999px;
  color: var(--color-chocolate);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.intern-preise-btn:hover {
  background: var(--color-deep);
  color: #ffffff;
  border-color: var(--color-deep);
}

.intern-satzung-intro {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(52, 41, 25, 0.78);
}

.intern-preise-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.intern-preise-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(52, 41, 25, 0.1);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--color-chocolate);
}

.intern-preise-list li:first-child {
  border-top: 1px solid rgba(52, 41, 25, 0.1);
}

.intern-preise-pos {
  font-weight: 700;
}

.intern-preise-val {
  color: var(--color-gold);
  font-weight: 700;
}

.intern-tailor-preise {
  margin-top: 20px;
}

.intern-tailor-preise-label {
  margin: 0 0 4px;
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .intern-shell {
    grid-template-columns: 1fr;
  }

  .intern-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .intern-stage {
    padding-top: 130px;
  }
}

@media (min-width: 901px) {
  .intern-stage {
    padding: 0 0 clamp(190px, 26svh, 260px);
    min-height: unset;
  }

  .intern-scroll-stage {
    /* height set by intern-scroll.js */
  }

  .intern-shell {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: visible;
    clip-path: inset(0 0 0 -40px);
    padding-top: 178px;
    background: #ffffff;
  }

  .intern-content {
    will-change: transform;
  }
}

/* Login zum internen Bereich – gleiches Layout wie intern.php */
.intern-login-lede {
  max-width: 260px;
  margin: 0;
  color: rgba(52, 41, 25, 0.72);
  font-size: 1.02rem;
  line-height: 1.5;
}

.intern-login .form-group input {
  background: #ffffff;
}

/* ── Satzung prose ────────────────────────────────────────────────── */

.satzung-prose {
  max-width: 760px;
}

.satzung-prose h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.satzung-prose h2 + p {
  margin: 0 0 36px;
  color: var(--color-ink-soft);
  font-style: italic;
}

.satzung-prose h3 {
  margin: 40px 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.satzung-prose h4 {
  margin: 28px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-deep);
  border-left: 3px solid var(--color-gold);
  padding-left: 10px;
}

.satzung-prose p {
  margin: 0 0 14px;
  line-height: 1.7;
  color: var(--color-ink);
}

.satzung-prose ul,
.satzung-prose ol {
  margin: 0 0 14px;
  padding-left: 24px;
  line-height: 1.7;
  color: var(--color-ink);
}

.satzung-prose li {
  margin-bottom: 4px;
}

.satzung-divider {
  margin: 60px 0;
  border: none;
  border-top: 1px solid var(--color-line);
}

.satzung-text-section {
  padding-top: 0;
}

/* ── Schneiderin page ─────────────────────────────────────────────── */

.schneiderin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.schneiderin-card {
  display: flex;
  flex-direction: column;
}

.schneiderin-card h2 {
  margin: 8px 0 16px;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.schneiderin-address {
  font-style: normal;
}

.schneiderin-address p {
  margin: 0 0 4px;
  color: var(--color-ink-soft);
}

.schneiderin-address a {
  color: var(--color-deep);
  font-weight: 700;
  text-decoration: none;
}

.schneiderin-address a:hover {
  text-decoration: underline;
}

.schneiderin-price-box {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}

.schneiderin-price-box h3 {
  margin: 0 0 12px;
  color: var(--color-gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schneiderin-price-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schneiderin-price-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.schneiderin-price-list li span:last-child {
  color: var(--color-deep);
  font-weight: 700;
  white-space: nowrap;
}

/* ── Preise list ──────────────────────────────────────────────────── */

.preise-list li {
  grid-template-columns: 1fr auto auto;
  gap: 0 20px;
}

.preise-item {
  font-weight: 700;
}

.preise-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-deep);
  white-space: nowrap;
}

/* ── Impressum / DSGVO ──────────────────────────────────────────────── */

.dsgvo-main {
  background: #ffffff;
  padding-bottom: 50px;
}

.dsgvo-hero {
  padding: 178px 0 112px;
}

@media (min-width: 861px) {
  .dsgvo-hero {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    background: #ffffff;
  }

  .legal-card {
    will-change: transform;
  }
}

.dsgvo-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  align-items: start;
  gap: clamp(54px, 7vw, 104px);
}

.dsgvo-title {
  margin: 0 0 clamp(32px, 4vw, 48px);
  font-size: clamp(3.5rem, 5.8vw, 5.4rem);
  line-height: 1.0;
  font-family: var(--font-display);
  font-weight: 700;
}

.dsgvo-title .about-title-anchor {
  font-weight: 900;
}

.dsgvo-label {
  margin: 0 0 6px;
  color: var(--color-gold);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dsgvo-org {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  color: var(--color-deep);
}

.dsgvo-address {
  margin: 0 0 16px;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(52, 41, 25, 0.7);
}

.dsgvo-meta {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(52, 41, 25, 0.7);
}

.dsgvo-meta a {
  color: var(--color-deep);
  font-weight: 700;
  text-decoration: none;
}

.dsgvo-meta a:hover,
.dsgvo-meta a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-card {
  background: #f7f3ea;
  border-radius: 36px;
  padding: clamp(32px, 4vw, 52px);
  margin-top: clamp(130px, 16vw, 210px);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: var(--color-deep);
}

.legal-card h2 ~ h2 {
  margin-top: 34px;
}

.legal-card h3 {
  margin: 24px 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-deep);
}

.legal-card p {
  margin: 0 0 12px;
  font-size: 0.93rem;
  line-height: 1.72;
  color: rgba(52, 41, 25, 0.75);
}

.intern-satzung-download {
  margin-bottom: clamp(28px, 3vw, 40px);
}

@media (max-width: 860px) {
  .dsgvo-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BESTELLUNGEN
   ============================================================ */

/* Namenszeile */
.bestellungen-name-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.bestellungen-name-label {
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bestellungen-name-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.55;
}

.bestellungen-name-input {
  width: 100%;
  max-width: 380px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid rgba(52, 41, 25, 0.15);
  border-radius: 12px;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 400;
  outline: none;
  transition: border-color 160ms ease;
}

.bestellungen-name-input:focus {
  border-color: var(--color-gold);
}

.bestellungen-name-input.is-error {
  border-color: #cc4444;
}

/* Kategorie-Pills */
.bestellungen-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.bestellungen-cat {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.07);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.bestellungen-cat.is-active,
.bestellungen-cat:hover {
  background: var(--color-chocolate);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(52, 41, 25, 0.14);
}

/* Bestätigungsbox */
.bestellungen-confirm {
  margin-bottom: 24px;
  padding: 14px 20px;
  background: #f5edd7;
  border-left: 3px solid var(--color-gold);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-chocolate);
  line-height: 1.55;
}

/* Artikel-Grid */
.bestellungen-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Einzelne Artikel-Kachel */
.bestellungen-article {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.09);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bestellungen-article-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bestellungen-article-name {
  margin: 0;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.bestellungen-article-price {
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 900;
}

.bestellungen-article-unit {
  margin: 0;
  color: rgba(52, 41, 25, 0.45);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Formular innerhalb der Kachel */
.bestellungen-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bestellungen-form-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 12px;
}

.bestellungen-form-row--full {
  grid-template-columns: 1fr;
}

.bestellungen-field-label {
  color: rgba(52, 41, 25, 0.6);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bestellungen-select,
.bestellungen-textarea {
  width: 100%;
  padding: 9px 14px;
  background: #f7f3ea;
  border: 1.5px solid rgba(52, 41, 25, 0.12);
  border-radius: 10px;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 160ms ease;
}

.bestellungen-select:focus,
.bestellungen-textarea:focus {
  border-color: var(--color-gold);
}

.bestellungen-textarea {
  resize: vertical;
  font-weight: 400;
  line-height: 1.5;
}

.bestellungen-submit {
  align-self: flex-start;
  margin-top: 4px;
  padding: 11px 24px;
  background: var(--color-chocolate);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(52, 41, 25, 0.16);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.bestellungen-submit:hover {
  background: var(--color-deep);
  box-shadow: 0 14px 30px rgba(52, 41, 25, 0.22);
}

/* Vorstand-Bereich */
.bestellungen-admin {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(52, 41, 25, 0.1);
}

.bestellungen-admin-title {
  margin: 0 0 18px;
  color: rgba(52, 41, 25, 0.4);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.bestellungen-unlock-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1.5px solid rgba(52, 41, 25, 0.18);
  border-radius: 999px;
  color: var(--color-chocolate);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.bestellungen-unlock-btn:hover {
  background: var(--color-deep);
  color: #ffffff;
  border-color: var(--color-deep);
}

.bestellungen-pin-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.bestellungen-pin-input {
  width: 120px;
  padding: 9px 14px;
  background: #ffffff;
  border: 1.5px solid rgba(52, 41, 25, 0.15);
  border-radius: 10px;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  outline: none;
  transition: border-color 160ms ease;
}

.bestellungen-pin-input:focus {
  border-color: var(--color-gold);
}

.bestellungen-pin-input.is-error {
  border-color: #cc4444;
}

.bestellungen-pin-submit {
  padding: 9px 18px;
  background: var(--color-chocolate);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease;
}

.bestellungen-pin-submit:hover {
  background: var(--color-deep);
}

/* Admin-Toolbar und Liste */
.bestellungen-admin-content {
  margin-top: 24px;
}

.bestellungen-admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.bestellungen-admin-subtitle {
  margin: 0;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
}

.bestellungen-csv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 16px;
  background: transparent;
  border: 1.5px solid rgba(52, 41, 25, 0.2);
  border-radius: 999px;
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.bestellungen-csv-btn:hover {
  background: var(--color-chocolate);
  color: #ffffff;
  border-color: var(--color-chocolate);
}

.bestellungen-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bestellungen-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(18, 18, 18, 0.07);
  transition: opacity 200ms ease;
}

.bestellungen-order-row.is-erledigt {
  opacity: 0.5;
}

.bestellungen-order-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bestellungen-order-name {
  color: var(--color-chocolate);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

.bestellungen-order-meta {
  color: rgba(52, 41, 25, 0.68);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.bestellungen-order-note {
  color: rgba(52, 41, 25, 0.5);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-style: italic;
}

.bestellungen-order-date {
  color: rgba(52, 41, 25, 0.35);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.bestellungen-status-btn {
  flex-shrink: 0;
  min-height: 30px;
  padding: 4px 14px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.bestellungen-status-btn.is-neu {
  background: #fff3d6;
  color: #a18050;
}

.bestellungen-status-btn.is-neu:hover {
  background: var(--color-gold);
  color: #ffffff;
}

.bestellungen-status-btn.is-erledigt {
  background: #d9f0e2;
  color: #2a7044;
}

.bestellungen-status-btn.is-erledigt:hover {
  background: #2a7044;
  color: #ffffff;
}

.bestellungen-empty {
  color: rgba(52, 41, 25, 0.4);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .bestellungen-articles {
    grid-template-columns: 1fr;
  }

  .bestellungen-order-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .bestellungen-status-btn {
    align-self: flex-start;
  }
}

/* ============================================================
   Bestellungen – Artikel-Beschreibung (Paket-Inhalt)
   ============================================================ */

.bestellungen-article-desc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-chocolate);
  opacity: 0.55;
  margin-top: 6px;
  line-height: 1.5;
}

/* ============================================================
   Bestellungen – Warenkorb
   ============================================================ */

.bestellungen-cart {
  margin-top: 32px;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--color-cream, #f7f3ea);
  border-radius: 20px;
  border: 2px solid var(--color-gold, #a18050);
}

.bestellungen-cart-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bestellungen-cart-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-chocolate);
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.bestellungen-cart-hint {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-chocolate);
  opacity: 0.4;
  margin: 0;
  padding: 4px 0 8px;
  font-style: italic;
}

.bestellungen-cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 8px;
}

.bestellungen-cart-item:last-child {
  margin-bottom: 0;
}

.bestellungen-cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.bestellungen-cart-item-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-chocolate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bestellungen-cart-item-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-gold);
}

.bestellungen-cart-item-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-chocolate);
  opacity: 0.55;
}

.bestellungen-cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--color-chocolate);
  opacity: 0.3;
  padding: 0 2px;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.bestellungen-cart-remove:hover {
  opacity: 0.7;
}

.bestellungen-cart-footer {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .bestellungen-cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bestellungen-cart-remove {
    align-self: flex-end;
  }
}

/* ── Mobile: Wir-Seite ──────────────────────────────────────────────── */

@media (max-width: 720px) {
  /* Heading + Tabs untereinander */
  .wir-heading-row {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .about-menu {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  /* ── Vorstandsliste: normales Kachel-Layout statt Scroll-Animation ── */

  .about-page.is-board-view .about-stage {
    min-height: auto;
    padding-bottom: 80px;
    overflow: visible;
  }

  .about-page.is-board-view .about-shell {
    position: static;
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .board-scroll-frame {
    position: static !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .board-card-grid {
    position: static !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0 !important;
    width: 100% !important;
  }

  /* Alle Kacheln sichtbar, kein Stacking */
  .board-card-grid .board-card {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    will-change: auto;
    cursor: pointer;
    /* Kompaktes Layout: kleines Rundbild + Text */
    min-height: auto !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    padding: 14px 18px;
    border-radius: 22px;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
    /* CSS-Vars zurücksetzen damit JS-Werte keine Wirkung haben */
    --board-card-height: auto;
    --board-photo-width: 52px;
    --board-photo-height: 52px;
    --board-photo-radius: 999px;
    --board-email-max: 0px;
    --board-email-opacity: 0;
    --board-email-margin: 0px;
  }

  /* Aktive Kachel leicht vergrößert */
  .board-card-grid .board-card.is-board-focus {
    transform: scale(1.02) !important;
    box-shadow: 0 20px 52px rgba(18, 18, 18, 0.18) !important;
    /* Desktop-Focused-Stile zurücksetzen */
    align-items: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 14px 18px !important;
    border-radius: 22px !important;
    --board-photo-width: 62px;
    --board-photo-height: 62px;
    --board-photo-radius: 16px;
    --board-email-max: 36px;
    --board-email-opacity: 1;
    --board-email-margin: 12px;
    grid-template-columns: 62px minmax(0, 1fr) !important;
  }

  /* Photo-Placeholder: JS-CSS-Vars ignorieren, feste Größen erzwingen */
  .board-card-grid .board-card .board-photo-placeholder {
    width: 52px !important;
    height: 52px !important;
    min-height: 0 !important;
    align-self: center !important;
  }

  .board-card-grid .board-card.is-board-focus .board-photo-placeholder {
    width: 62px !important;
    height: 62px !important;
    min-height: 0 !important;
  }

  /* Steuerpfeile ausblenden – nicht nötig bei Kacheln */
  .board-controls {
    display: none !important;
  }

  /* Senior-Board-Karte auf Mobile */
  .senior-board-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* ── Termine-Tab: Spalten stapeln ─────────────────────────────────── */

  .about-terms-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Termin-Zeilen: statt 3 Spalten vertikal stapeln */
  .minimal-term-list li {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(52, 41, 25, 0.09);
  }

  .minimal-term-list li:last-child {
    border-bottom: 0;
  }

  .minimal-term-list time {
    font-weight: 700;
    color: var(--color-gold);
  }

  .minimal-term-list em {
    font-style: normal;
    color: rgba(52, 41, 25, 0.65);
    font-size: 0.88rem;
  }

  /* Info-Karte: auf Mobile ausblenden, macht nur auf Desktop Sinn */
  .term-info-card {
    display: none;
  }

  .minimal-term-list li {
    cursor: default;
  }
}

/* ── Vorstand-Kacheln: gestapelt bei sehr engen Breiten ─────────────── */
@media (max-width: 400px) {
  .board-card-grid .board-card,
  .board-card-grid .board-card.is-board-focus {
    grid-template-columns: 1fr !important;
    justify-items: start;
    gap: 12px;
    padding: 16px 18px;
  }
}
