/* ==========================================================================
   Basis
   ========================================================================== */

:root {
  --font: "Montserrat", system-ui, sans-serif;

  --white: #fff;
  --text-soft: rgba(255, 255, 255, 0.82);
  --accent: #fbad30; /* Gelb aus dem Signet */
  --red: #b21e2b; /* Rot aus dem Signet */
  --grey: #474a4b; /* Dunkelgrau aus dem Signet */
  --grey-light: #4f4f51; /* Grau aus dem Signet */
  --dark: #1e1f20; /* abgedunkeltes Signet-Grau für Flächen */
  --um-blue: #2e6fb8; /* United Mittelstand – Blau aus dem UM-Signet */

  --glass-bg: rgba(255, 255, 255, 0.14);
  --glass-bg-hover: rgba(255, 255, 255, 0.24);
  --glass-border: rgba(255, 255, 255, 0.18);

  --edge: clamp(16px, 2.5vw, 28px); /* Abstand der Bedienelemente zum Rand */
  --control: 48px; /* Höhe der runden Buttons */

  --fade: 1.4s; /* Dauer der Überblendung Bild/Claim */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gemeinsamer Glas-Look für Buttons auf dem Bild */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.glass:hover {
  background: var(--glass-bg-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Header / Navigation (Zustand oben auf dem Hero)
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--edge);
  pointer-events: none; /* nur die Elemente selbst sind klickbar */
}

.site-header > * {
  pointer-events: auto;
}

.navbutton {
  justify-self: start;
  display: grid;
  place-items: center;
  width: var(--control);
  height: var(--control);
  border-radius: 50%;
}

.logo-link {
  display: block;
}

.logo {
  display: block;
  width: clamp(52px, 5vw, 68px);
  height: auto;
}

.joinus {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: var(--control);
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Scroll-Zustand: gleiche Navbar, aber mit Hintergrund */
.site-header {
  transition:
    background-color 0.35s ease,
    padding 0.35s ease,
    box-shadow 0.35s ease;
}

.logo {
  transition: width 0.35s ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(30, 31, 32, 0.8); /* --dark, leicht transparent */
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled .logo {
  width: clamp(44px, 4vw, 52px);
}

/* ==========================================================================
   Fullscreen-Menü
   Öffnet als diagonaler Wisch von oben rechts nach unten links:
   erst eine rote Fläche, kurz dahinter die dunkle Menüfläche.
   ========================================================================== */

:root {
  --menu-ease: cubic-bezier(0.76, 0, 0.24, 1);
  --menu-duration: 0.9s;
  /* Dreieck ab der Ecke oben rechts – wächst, bis es den Screen abdeckt */
  --wipe-closed: polygon(100% 0, 100% 0, 100% 0);
  --wipe-open: polygon(100% 0, -100% 0, 100% 200%);
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 90; /* unter dem Header, damit Logo + Schließen-Button sichtbar bleiben */
  visibility: hidden;
  transition: visibility 0s linear var(--menu-duration);
}

/* rote Vorlauf-Fläche */
.site-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  clip-path: var(--wipe-closed);
  transition: clip-path var(--menu-duration) var(--menu-ease) 0.12s;
}

.site-menu-inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: end;
  padding: calc(var(--control) + var(--edge) * 3) clamp(24px, 8vw, 140px) clamp(40px, 8vh, 80px);
  overflow-y: auto;
  background: var(--dark);
  clip-path: var(--wipe-closed);
  transition: clip-path var(--menu-duration) var(--menu-ease);
}

.menu-open .site-menu {
  visibility: visible;
  transition: visibility 0s;
}

.menu-open .site-menu::before {
  clip-path: var(--wipe-open);
  transition-delay: 0s;
}

.menu-open .site-menu-inner {
  clip-path: var(--wipe-open);
  transition-delay: 0.12s;
}

.menu-open {
  overflow: hidden; /* Seite dahinter nicht scrollen */
}

/* Header bleibt im offenen Menü schlicht */
.menu-open .site-header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Burger → X */
.nav-line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s var(--menu-ease);
}

.menu-open .nav-line--top {
  transform: translateY(3px) rotate(45deg);
}

.menu-open .nav-line--bottom {
  transform: translateY(-3px) rotate(-45deg);
}

/* Menüpunkte */
.site-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-main > ul > li {
  padding: clamp(6px, 1.2vh, 12px) 0;
}

.menu-main > ul > li > a {
  display: inline-block;
  font-size: clamp(30px, 4.4vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition:
    color 0.3s ease,
    transform 0.4s ease;
}

.menu-main > ul > li > a:hover {
  color: var(--accent);
  transform: translateX(10px);
}

.menu-main > ul > li.menu-item--um > a:hover {
  color: var(--um-blue);
}

.menu-main > ul > li.menu-item--gmc > a:hover {
  color: var(--red);
}

.menu-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 10px !important;
}

.menu-sub a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.menu-sub a:hover {
  color: var(--accent);
}

/* rechte Spalte */
.menu-meta {
  display: grid;
  gap: 32px;
  font-size: 14px;
}

.menu-meta-block {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.menu-meta-label {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.menu-meta a {
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.menu-meta a:hover {
  color: var(--white);
}

.menu-meta-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

/* Inhalte gleiten nach dem Wisch gestaffelt herein */
.menu-main > ul > li,
.menu-meta > * {
  opacity: 0;
  transform: translate(24px, -16px); /* kommt aus Richtung oben rechts */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.menu-open .menu-main > ul > li,
.menu-open .menu-meta > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.8s var(--menu-ease);
}

.menu-open .menu-main > ul > li:nth-child(1) { transition-delay: 0.45s; }
.menu-open .menu-main > ul > li:nth-child(2) { transition-delay: 0.5s; }
.menu-open .menu-main > ul > li:nth-child(3) { transition-delay: 0.55s; }
.menu-open .menu-main > ul > li:nth-child(4) { transition-delay: 0.6s; }
.menu-open .menu-main > ul > li:nth-child(5) { transition-delay: 0.65s; }
.menu-open .menu-main > ul > li:nth-child(6) { transition-delay: 0.7s; }
.menu-open .menu-main > ul > li:nth-child(7) { transition-delay: 0.75s; }
.menu-open .menu-main > ul > li:nth-child(8) { transition-delay: 0.8s; }
.menu-open .menu-meta > *:nth-child(1) { transition-delay: 0.6s; }
.menu-open .menu-meta > *:nth-child(2) { transition-delay: 0.67s; }
.menu-open .menu-meta > *:nth-child(3) { transition-delay: 0.74s; }
.menu-open .menu-meta > *:nth-child(4) { transition-delay: 0.81s; }

@media (max-width: 800px) {
  .site-menu-inner {
    grid-template-columns: 1fr;
    align-items: start;
    align-content: start;
    gap: 48px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

#home-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--control) + var(--edge) * 3) var(--edge);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--grey); /* Fallback, solange kein Bild da ist */
}

/* Hintergrundbilder – wechseln synchron mit den Claims */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity var(--fade) ease,
    transform 8s ease-out;
}

.hero-media img.is-active {
  opacity: 1;
  transform: scale(1); /* langsamer Zoom-out während das Bild steht */
}

/* Verlauf für Lesbarkeit von Text und Buttons */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 52%, rgba(20, 21, 22, 0.55), transparent 75%),
    linear-gradient(
      to bottom,
      rgba(20, 21, 22, 0.6) 0%,
      rgba(20, 21, 22, 0.35) 30%,
      rgba(20, 21, 22, 0.4) 65%,
      rgba(20, 21, 22, 0.75) 100%
    );
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
}

.eyebrow {
  margin-bottom: clamp(20px, 3vh, 32px);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.name {
  margin: 0;
  font-size: clamp(42px, 7.2vw, 104px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.name em {
  display: block;
  font-style: italic;
  font-weight: 300;
}

/* Wechselnde Claims unter der Headline */
.textforimage {
  position: relative;
  display: grid;
  margin: clamp(24px, 4vh, 40px) 0 0;
  max-width: 52ch;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-soft);
}

.textforimage span {
  grid-area: 1 / 1; /* alle übereinander, Höhe = längster Satz */
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity calc(var(--fade) * 0.6) ease,
    transform calc(var(--fade) * 0.6) ease;
}

.textforimage span.is-active {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--fade) * 0.4); /* erst raus, dann rein */
}

/* Bedienelemente unten */
.scrolldownarrow,
.hero-pill {
  position: absolute;
  bottom: var(--edge);
  height: var(--control);
}

.scrolldownarrow {
  left: var(--edge);
  display: grid;
  place-items: center;
  width: var(--control);
  border-radius: 50%;
}

.scrolldownarrow:hover {
  transform: translateY(2px);
}

.hero-pill {
  right: var(--edge);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-pill svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Über uns / Kennzahlen
   ========================================================================== */

#ueber-uns {
  padding: clamp(96px, 14vh, 140px) var(--edge) clamp(64px, 10vh, 96px);
  background: var(--dark);
  scroll-margin-top: 0;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 5vw, 80px);
  max-width: 1080px;
  margin: 0 auto clamp(48px, 7vh, 72px);
}

.section-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title em {
  display: block;
  font-style: italic;
  font-weight: 300;
}

.about-text {
  align-self: end;
  max-width: 42ch;
  margin: 0;
  padding-top: clamp(0px, 6vh, 72px);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  padding: clamp(20px, 2.2vw, 30px);
  overflow: hidden;
  isolation: isolate;
  background: var(--grey-light); /* Fallback ohne Bild */
}

.stat-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.stat-card:hover img {
  transform: scale(1.04);
}

/* Verlauf unten für die Zahlen */
.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 21, 22, 0.85) 0%, rgba(20, 21, 22, 0.45) 35%, transparent 65%);
}

.stat-number {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

/* ==========================================================================
   Für Macher – Netzwerk / Business / Club
   ========================================================================== */

#fuer-macher {
  padding: clamp(64px, 10vh, 96px) var(--edge) clamp(96px, 14vh, 140px);
  background: var(--dark);
}

.pillars-intro {
  display: grid;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto clamp(48px, 7vh, 72px);
}

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

/* Farbe je Karte – aus dem Signet */
.pillar--grey {
  --pillar: var(--grey);
  --pillar-accent: color-mix(in srgb, var(--grey) 55%, #fff); /* auf Dunkel lesbar */
  --pillar-ink: var(--white);
}

.pillar--red {
  --pillar: var(--red);
  --pillar-accent: var(--red);
  --pillar-ink: var(--white);
}

.pillar--yellow {
  --pillar: var(--accent);
  --pillar-accent: var(--accent);
  --pillar-ink: var(--dark);
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(400px, 52vh, 500px);
  padding: clamp(24px, 2.6vw, 36px);
  overflow: hidden;
  isolation: isolate;
  background: #28292a; /* --dark, eine Spur heller */
  border: 1px solid rgba(255, 255, 255, 0.06);
  outline-offset: -2px;
  transition: color 0.5s ease;
}

/* Farbfläche, die beim Hover von unten hochfährt */
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pillar);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1);
}

.pillar-title {
  margin: 0 0 20px;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pillar-title span {
  color: var(--pillar-accent);
  transition: color 0.5s ease;
}

/* Kurz- und Langtext liegen übereinander und werden getauscht */
.pillar-text {
  display: grid;
  align-items: start;
  min-height: calc(15px * 1.65 * 7); /* Platz für 7 Zeilen → Titel stehen auf einer Linie */
}

.pillar-text p {
  grid-area: 1 / 1;
  max-width: 38ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  transition:
    opacity 0.4s ease,
    transform 0.5s ease;
}

.pillar-short {
  color: var(--text-soft);
}

.pillar-long {
  opacity: 0;
  transform: translateY(12px);
}

@media (hover: hover) {
  .pillar:hover,
  .pillar:focus-visible {
    color: var(--pillar-ink);
  }

  .pillar:hover::before,
  .pillar:focus-visible::before {
    transform: scaleY(1);
  }

  .pillar:hover .pillar-title span,
  .pillar:focus-visible .pillar-title span {
    color: inherit;
  }

  .pillar:hover .pillar-short,
  .pillar:focus-visible .pillar-short {
    opacity: 0;
    transform: translateY(-12px);
  }

  .pillar:hover .pillar-long,
  .pillar:focus-visible .pillar-long {
    opacity: 1;
    transform: none;
    transition-delay: 0.15s;
  }
}

/* Touch-Geräte ohne Hover: beide Texte untereinander zeigen */
@media (hover: none) {
  .pillar-text {
    display: block;
  }

  .pillar-long {
    margin-top: 14px !important;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

  .pillar {
    min-height: 340px;
  }
}

@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-text {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --control: 44px;
  }

  .joinus {
    padding: 0 16px;
    font-size: 11px;
  }

  .eyebrow {
    font-size: 10px;
  }
}

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

  .site-menu,
  .site-menu::before,
  .site-menu-inner,
  .site-menu li,
  .menu-meta > *,
  .hero-media img,
  .textforimage span {
    transition-duration: 0.01s;
    transform: none;
  }
}

/* ==========================================================================
   Unterseiten & gemeinsame Bausteine
   ========================================================================== */

.skip-link {
  position: absolute;
  left: var(--edge);
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--edge);
}

/* Menü hat jetzt 8 Punkte – etwas kleiner */
.menu-main > ul > li > a {
  font-size: clamp(28px, 3.6vw, 52px);
}

.menu-main a[aria-current="page"] {
  color: var(--accent);
}

/* aktive Seite in der Markenfarbe – wie beim Hover */
.menu-main > ul > li.menu-item--um > a[aria-current="page"] {
  color: var(--um-blue);
}

.menu-main > ul > li.menu-item--gmc > a[aria-current="page"] {
  color: var(--red);
}

/* Seitenkopf */
.page-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 56vh, 560px);
  padding: calc(var(--control) + var(--edge) * 4) var(--edge) clamp(48px, 8vh, 80px);
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
}

.page-head--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(20, 21, 22, 0.65), rgba(20, 21, 22, 0.55) 50%, var(--dark));
}

.page-head-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-head-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.page-title {
  margin: 0;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-title em {
  display: block;
  font-style: italic;
  font-weight: 300;
}

.page-intro {
  max-width: 56ch;
  margin: clamp(20px, 3vh, 32px) 0 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--text-soft);
}

/* Sektionen */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 100px) var(--edge);
  scroll-margin-top: 80px;
}

/* Startseiten-Sections nutzen die volle Breite */
#stimmen.section {
  max-width: none;
  padding-inline: var(--edge);
}

.section-title--center {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.section > .section-title {
  margin-bottom: clamp(32px, 5vh, 56px);
}

.sub-title {
  margin: 48px 0 20px;
  font-size: 22px;
  font-weight: 400;
}

.section-lead {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.section-more {
  margin: 40px 0 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* Links im Fließtext */
.prose a,
.faq-answer a,
.section-lead a,
.section-more a,
.vo-notice a,
.mini-events a,
.contact-form .checkbox a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.split--top {
  align-items: start;
}

.prose {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.prose p {
  margin: 0 0 1em;
}

.prose--wide {
  max-width: 72ch;
}

.prose h2 {
  margin: 2em 0 0.6em;
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
}

.prose ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.prose li::marker {
  color: var(--accent);
}

/* Buttons & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control);
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--accent {
  background: var(--accent);
  color: var(--dark);
}

.btn--accent:hover {
  background: #fff;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--um {
  background: var(--um-blue);
}

.btn--um:hover {
  background: #fff;
  color: var(--um-blue);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.25s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Angebote (Über uns, UM, Consulting) */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer {
  padding: clamp(24px, 2.6vw, 32px);
  background: #28292a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.offer h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 400;
}

.offer h3 span {
  color: var(--accent);
}

.offer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(24px, 5vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio span {
  font-size: 14px;
  color: var(--text-soft);
}

/* Personen */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px 20px;
}

.people--compact {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.person-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--grey);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}

.person:hover .person-photo img {
  filter: none;
}

.person-initials {
  font-size: 32px;
  font-weight: 300;
}

.person-name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.person-role,
.person-company {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* Kontore / Circles */
.groups {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.group summary {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

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

.group summary::after,
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.group[open] summary::after,
.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.group-kind {
  font-size: 13px;
  color: var(--text-soft);
}

.group-name {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
}

.group-body {
  padding: 0 0 32px;
}

.group-text {
  max-width: 64ch;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.mini-events {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.mini-events li {
  display: flex;
  gap: 16px;
  padding: 6px 0;
}

.mini-events time {
  min-width: 110px;
  color: var(--text-soft);
}

.vo-notice {
  padding: 24px 28px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.vo-notice p {
  margin: 0;
}

.vo-notice code {
  color: var(--accent);
}

/* Sprungmarken (Netzwerk) */
.tabs {
  position: sticky;
  top: 72px;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px var(--edge);
}

.tabs a {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 500;
}

.tabs a:hover {
  background: var(--glass-bg-hover);
}

/* Events */
.event-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event {
  display: grid;
  grid-template-columns: 88px 240px 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(20px, 2.4vw, 32px);
  background: #28292a;
}

.event-date {
  display: grid;
  text-align: center;
}

.event-day {
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
}

.event-month {
  margin-top: 6px;
  font-size: 13px;
  color: var(--accent);
}

.event-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.event-title,
.news-title,
.perk-title {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.event-meta,
.news-card time {
  display: block;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.event-text {
  margin: 14px 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Perks */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--white);
}

.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

.perk-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perk,
.news-card {
  display: flex;
  flex-direction: column;
  background: #28292a;
}

.perk[hidden] {
  display: none;
}

.perk-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #fff;
}

.perk-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.perk-body,
.news-card {
  padding: 24px;
}

.perk-body p,
.news-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

.news-card .link-arrow {
  margin-top: auto;
  padding-top: 18px;
}

/* Mitgliedschaften */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
}

.plan {
  --plan: var(--grey);
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: #28292a;
  border-top: 3px solid var(--plan);
}

.plan--red { --plan: var(--red); }
.plan--yellow { --plan: var(--accent); }

.plan--featured {
  background: #303233;
}

.plan-name {
  margin: 0;
  font-size: 34px;
  font-weight: 300;
}

.plan-name span {
  color: var(--plan);
}

.plan--grey .plan-name span {
  color: color-mix(in srgb, var(--grey) 55%, #fff);
}

.plan-for {
  margin: 6px 0 24px;
  font-size: 14px;
  color: var(--text-soft);
}

.plan-price {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.plan-price small {
  font-size: 14px;
  color: var(--text-soft);
  letter-spacing: 0;
}

.plan-features {
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}

.plan-features li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plan);
}

.plan--grey .plan-features li::before {
  background: color-mix(in srgb, var(--grey) 55%, #fff);
}

.plan-note {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--text-soft);
}

/* FAQ */
.faq {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.faq-answer p {
  margin: 0 0 0.8em;
}

.faq-answer ul {
  margin: 0 0 0.8em;
  padding-left: 1.2em;
}

/* Formulare */
.contact-form {
  display: grid;
  gap: 16px;
}

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

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: #28292a;
  color: var(--white);
  font: inherit;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-form .checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.contact-form .btn {
  justify-self: start;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
}

.form-status.is-ok {
  background: rgba(251, 173, 48, 0.15);
  border-left: 3px solid var(--accent);
}

.form-status.is-error {
  background: rgba(178, 30, 43, 0.2);
  border-left: 3px solid var(--red);
}

/* Zitate */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  margin: 0;
  padding: clamp(28px, 3vw, 40px);
  background: #28292a;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.55;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-soft);
}

.testimonial figcaption img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

/* Markenwelten */
.theme-um .offer h3 span,
.theme-um .group-name {
  color: inherit;
}

.theme-um .offer h3 span {
  color: var(--um-blue);
}

.theme-um .offer {
  border-top: 3px solid var(--um-blue);
}

.theme-gmc .offer h3 span {
  color: var(--red);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Footer */
.site-footer {
  padding: clamp(64px, 10vh, 120px) var(--edge) 32px;
  background: #18191a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto clamp(56px, 9vh, 96px);
}

.footer-title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer-title em {
  display: block;
  font-style: italic;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-logo {
  width: 56px;
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-soft);
}

.footer-col {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}

.footer-col a,
.footer-bottom a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-col-title {
  margin-bottom: 6px;
  font-weight: 600;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 48px auto 0;
  font-size: 12px;
  color: var(--text-soft);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 900px) {
  .split,
  .plans,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 64px 1fr;
  }

  .event-image {
    display: none;
  }

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

@media (max-width: 600px) {
  .form-row,
  .portfolio,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

.about-text p {
  margin: 0 0 18px;
}

.plan-price small {
  display: block;
  margin-top: 6px;
}

.perk-logo {
  padding: 8% 18%;
}

/* ==========================================================================
   Events als Kacheln
   ========================================================================== */

.section--wide {
  max-width: 1320px;
}

.month-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 56px 0 24px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.month-title:first-child {
  margin-top: 0;
}

.month-title span {
  font-size: 0.55em;
  color: var(--text-soft);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #28292a;
  transition: background-color 0.3s ease;
}

.event-card:hover {
  background: #303233;
}

.event-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--grey);
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-card-media img {
  transform: scale(1.04);
}

.event-card-media .event-card-fallback {
  width: 30%;
  height: 100%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  opacity: 0.5;
}

.event-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  justify-items: center;
  min-width: 56px;
  padding: 8px 10px 7px;
  background: var(--dark);
  line-height: 1;
}

.event-badge-day {
  font-size: 24px;
  font-weight: 300;
}

.event-badge-month {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.event-card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
}

/* ganze Kachel klickbar */
.event-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.event-card-title a:focus-visible {
  outline: none;
}

.event-card:has(a:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.event-card-meta,
.event-card-place {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.event-card-place {
  margin-top: 2px;
}

.event-card-text {
  margin: 14px 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.event-card .link-arrow {
  margin-top: auto;
}

.event-card:hover .link-arrow::after {
  transform: translateX(4px);
}

/* „Mitglied werden“ im Header: rot, solange oben – beim Scrollen wieder Glas */
.site-header .joinus {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    transform 0.25s ease;
}

.site-header:not(.is-scrolled) .joinus {
  background: var(--red);
  border-color: var(--red);
}

.site-header:not(.is-scrolled) .joinus:hover {
  background: color-mix(in srgb, var(--red) 85%, #000);
  border-color: color-mix(in srgb, var(--red) 85%, #000);
}

/* Hero: „Für Macher.“ groß, Vereinsname kleiner in einer Zeile darunter */
.name {
  font-size: clamp(56px, 10vw, 150px);
  line-height: 1;
}

.name-sub {
  display: block;
  margin-top: clamp(12px, 2vh, 20px);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 300;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Claims etwas größer und weiter unten */
.textforimage {
  margin-top: clamp(48px, 9vh, 96px);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 300;
  color: var(--white);
}

/* Eingebettetes VereinOnline-Formular (Kontakt) */
.embed-form iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  background: #f4f4f4; /* Hintergrund des VereinOnline-Formulars */
}

.embed-fallback {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.embed-fallback a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .embed-form iframe {
    height: 880px;
  }
}
