:root {
  --brand-primary: #2f7a5a;
  --brand-primary-strong: #245d45;
  --brand-accent: #f4b400;
  --text-color: #1f2a24;
  --bg-color: #eef4ea;
  --bg-wash-top: #f6fbf4;
  --bg-wash-bottom: #d9e9de;
  --surface-tint: rgba(255, 255, 255, 0.68);
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text-color);
  background:
    radial-gradient(circle at 8% 10%, rgba(84, 167, 124, 0.2) 0, rgba(84, 167, 124, 0) 28%),
    radial-gradient(circle at 86% 6%, rgba(244, 180, 0, 0.16) 0, rgba(244, 180, 0, 0) 24%),
    radial-gradient(circle at 82% 82%, rgba(58, 125, 96, 0.16) 0, rgba(58, 125, 96, 0) 27%),
    linear-gradient(170deg, var(--bg-wash-top) 0%, var(--bg-wash-bottom) 100%);
  background-attachment: fixed;
}

.site-main {
  width: 100%;
  max-width: none;
  padding-inline: clamp(0.8rem, 2.5vw, 2.2rem);
}

.site-header {
  position: relative;
  z-index: 1200;
  background:
    radial-gradient(circle at 8% 30%, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 88% -20%, rgba(180, 240, 200, 0.22) 0, rgba(180, 240, 200, 0) 44%),
    linear-gradient(96deg, #3d8c62 0%, #52aa7e 48%, #68c294 100%);
  border-bottom: 1px solid rgba(180, 240, 210, 0.28);
  box-shadow: 0 8px 20px rgba(30, 80, 55, 0.2);
}

.site-header .header-inner {
  min-height: 105px;
  display: flex;
  align-items: center;
}

.site-header .navbar {
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(16px);
}

.site-header .navbar-nav .nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f5fbf7;
  cursor: pointer;
  position: relative;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.site-header .dropdown-item {
  color: #1f2a24;
}

.site-header .navbar-nav > .nav-item > .nav-link.nav-active {
  box-shadow: inset 0 -3px 0 rgba(244, 180, 0, 0.95);
}

.site-header .dropdown-menu.show .dropdown-item.nav-active {
  background-color: #d8ebdf;
  color: #123121;
}

.site-header .dropdown-menu {
  z-index: 1300;
  border: 1px solid rgba(47, 122, 90, 0.24);
  box-shadow: 0 16px 28px rgba(20, 48, 36, 0.16);
}

.site-header .dropdown-submenu {
  position: relative;
}

.site-header .submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .submenu-toggle::after {
  content: '▸';
  margin-left: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(18, 49, 33, 0.72);
  border: 0;
  vertical-align: middle;
}

.site-header .dropdown-submenu > .submenu-menu {
  display: none;
  min-width: 13.5rem;
}

.site-header .dropdown-submenu.show-submenu > .submenu-menu {
  display: block;
}

@media (min-width: 992px) {
  .site-header .dropdown-submenu > .submenu-menu {
    position: absolute;
    top: -0.4rem;
    left: calc(100% - 0.3rem);
  }
}

@media (max-width: 991.98px) {
  .site-header .dropdown-submenu > .submenu-menu {
    position: static;
    border: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.72);
    margin: 0;
    padding: 0.15rem 0 0.35rem 0.75rem;
  }

  .site-header .dropdown-submenu > .submenu-menu .dropdown-item {
    padding-left: 0.8rem;
  }
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  background-color: #e8f2ec;
  color: #123121;
}

.site-header .navbar-nav > .nav-item > .dropdown-toggle::after {
  display: none;
}

.site-header .dropdown-submenu > .submenu-toggle::after {
  display: inline-block;
}

@media (min-width: 992px) {
  .site-header .navbar-collapse {
    justify-content: flex-end !important;
  }

  .site-header .navbar-nav {
    width: auto;
    gap: 6px;
  }

  .site-header .navbar-nav .nav-item {
    flex: 0 0 150px;
    width: 150px;
    text-align: center;
  }

  .site-header .navbar-nav .nav-link {
    display: block;
    white-space: nowrap;
  }
}

.btn,
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  font-weight: 600;
}

.btn:hover,
.btn:focus,
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-primary-strong);
  border-color: var(--brand-primary-strong);
  color: #fff;
}

.home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -1.5rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.16) 55%,
    rgba(0, 0, 0, 0.38) 100%
  );
  pointer-events: none;
}

.home-hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.5rem;
  text-align: center;
}

.home-hero-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.home-hero-subtitle {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-hero img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: min(58vh, 560px);
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.home-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.home-intro p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #2a3d32;
}

.home-departments {
  padding-top: 0.35rem;
}

.home-section-title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  text-align: center;
  color: #1f4f39;
}

.home-departments-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-department-card {
  background: linear-gradient(180deg, #fbfdf8 0%, #eaf4ef 100%);
  border: 1px solid rgba(37, 95, 69, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(33, 70, 53, 0.14);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  grid-column: span 4;
}

.home-department-card:nth-child(4),
.home-department-card:nth-child(5),
.home-department-card:nth-child(6),
.home-department-card:nth-child(7) {
  grid-column: span 3;
}

.home-department-card:nth-child(8) {
  grid-column: 1 / -1;
}

.home-department-card:hover,
.home-department-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(33, 70, 53, 0.2);
}

.home-department-card:focus-visible {
  outline: 2px solid var(--brand-primary-strong);
  outline-offset: 2px;
}

.home-department-media {
  height: 230px;
  overflow: hidden;
}

.home-department-card:nth-child(8) .home-department-media {
  height: 280px;
}

.home-department-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02) translateY(0);
  transition: transform 0.55s ease;
}

.home-department-card:hover .home-department-media img {
  transform: scale(1.12) translateY(-8px);
}

.home-department-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 1rem 1rem;
  flex-grow: 1;
}

.home-department-body h3 {
  margin: 0;
  color: #1e4e38;
  font-size: 1.15rem;
}

.home-department-body p {
  margin: 0;
  color: #375247;
  line-height: 1.45;
  font-size: 0.96rem;
  flex-grow: 1;
}

.home-department-link {
  align-self: flex-start;
  margin-top: 0.35rem;
  color: #245d45;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 2px solid rgba(36, 93, 69, 0.35);
}

.home-department-card:hover .home-department-link,
.home-department-card:focus-visible .home-department-link {
  border-bottom-color: #245d45;
}

.departments-section .card {
  background-color: #a2cd35;
  border: 0;
  height: 100%;
}

.departments-section .card-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 12px;
  row-gap: 8px;
  align-items: start;
}

.departments-section .portrait-slot {
  width: 120px;
  height: 156px;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  grid-column: 1;
  grid-row: 2 / span 3;
  overflow: hidden;
  text-align: center;
  font-size: 0.9rem;
}

.departments-section .trainer-label,
.departments-section .trainer-name {
  grid-column: 1;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.departments-section .trainer-label {
  grid-row: 5;
  color: #000000;
  font-weight: 600;
}

.departments-section .trainer-name {
  grid-row: 6;
  font-size: 0.8rem;
  color: #000000;
}

.departments-section .portrait-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.departments-section .card h4 {
  margin: 0;
  grid-column: 1 / -1;
  grid-row: 1;
  color: #fff;
  text-align: center;
}

.departments-section .card-subtitle {
  margin: 0;
  font-weight: 600;
  color: #fff;
  grid-column: 2;
  grid-row: 2;
}

.departments-section .card-description {
  margin: 0;
  color: #fff;
  line-height: 1.45;
  grid-column: 2;
  grid-row: 3 / span 4;
  align-self: end;
}

.departments-section .btn,
.departments-section .btn-primary {
  grid-column: 1 / -1;
  margin-top: 6px;
  background-color: #5f7f12;
  border-color: #5f7f12;
  color: #fff;
}

.departments-section .btn:hover,
.departments-section .btn:focus,
.departments-section .btn-primary:hover,
.departments-section .btn-primary:focus {
  background-color: #4f6c0f;
  border-color: #4f6c0f;
  color: #fff;
}

.site-header .navbar-brand img {
  height: 70px;
  width: auto;
  transform: translateY(-16px);
}

@media (max-width: 768px) {
  .home-hero {
    margin-top: -1rem;
    margin-bottom: 1.2rem;
  }

  .home-hero-content {
    padding: 1.25rem;
  }

  .home-hero-content h1 {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }

  .home-hero img {
    height: 34vh;
    min-height: 210px;
  }

  .home-intro p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .home-departments-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-department-card {
    grid-column: span 1;
  }

  .home-department-media {
    height: 240px;
  }

  .site-header .navbar-brand img {
    height: 52px;
    transform: translateY(-16px);
  }

  .site-header {
    box-shadow: 0 10px 20px rgba(20, 48, 36, 0.18);
  }

  .site-header .header-inner {
    min-height: 88px;
  }

  .site-header .navbar-nav .nav-link,
  .site-header .dropdown-item {
    font-size: 1.05rem;
  }

  .site-header .navbar {
    transform: translateY(16px);
  }

  .departments-section .card-body {
    grid-template-columns: 1fr;
  }

  .departments-section .portrait-slot {
    grid-column: 1;
    grid-row: auto;
    width: 120px;
    margin: 0 auto;
  }

  .departments-section .trainer-label,
  .departments-section .trainer-name {
    grid-column: 1;
    grid-row: auto;
  }

  .departments-section .card h4,
  .departments-section .card-subtitle,
  .departments-section .card-description {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .home-departments-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .home-department-card {
    grid-column: span 4;
  }

  .home-department-card:nth-child(4),
  .home-department-card:nth-child(5),
  .home-department-card:nth-child(6),
  .home-department-card:nth-child(7) {
    grid-column: span 3;
  }

  .home-department-card:nth-child(8) {
    grid-column: 1 / -1;
  }

  .home-department-media {
    height: 240px;
  }
}

/* ── Dankeschön ──────────────────────────────────────────── */
.home-thanks {
  padding: 2.8rem 1.5rem;
  background: linear-gradient(135deg, rgba(82, 170, 126, 0.1) 0%, rgba(104, 194, 148, 0.07) 100%);
  border: 1px solid rgba(47, 122, 90, 0.18);
  border-radius: 20px;
  text-align: center;
}

.home-thanks-inner {
  max-width: none;
  margin: 0 auto;
}

.home-thanks-icon {
  width: 2.4rem;
  height: 2.4rem;
  fill: #c0392b;
  margin-bottom: 0.75rem;
}

.home-thanks .home-section-title {
  margin-bottom: 1rem;
}

.home-thanks p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2a3d32;
  margin: 0;
}

.home-thanks-link {
  color: var(--brand-primary-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-thanks-link:hover {
  color: var(--brand-primary);
}

/* ── Mitglied werden ─────────────────────────────────────── */
.home-join-subtitle {
  text-align: center;
  color: #4a6657;
  font-size: 1rem;
  margin: -0.5rem 0 1.6rem;
}

.home-join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.home-join-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(160deg, #fbfdf8 0%, #eef7f1 100%);
  border: 1px solid rgba(47, 122, 90, 0.2);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(33, 70, 53, 0.1);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.home-join-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(33, 70, 53, 0.17);
  border-color: rgba(47, 122, 90, 0.42);
}

.home-join-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3d8c62 0%, #52aa7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-join-card-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.home-join-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-join-card-body strong {
  font-size: 0.97rem;
  color: #1f4f39;
  font-weight: 700;
}

.home-join-card-body span {
  font-size: 0.82rem;
  color: #4a6657;
  line-height: 1.35;
}

.home-join-card-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.8;
  transition: transform 0.18s ease;
}

.home-join-card:hover .home-join-card-arrow {
  transform: translateX(3px);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: linear-gradient(120deg, #3d8c62 0%, #52aa7e 45%, #68c294 100%);
  overflow: hidden;
}

.footer-bg {
  display: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy-block {
  display: flex;
  align-items: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-inline-copy {
  color: #fff;
  font-weight: 600;
  margin-right: 4px;
}

.footer-links a {
  color: white;
  margin: 0 6px;
  text-decoration: none;
}

.footer-cookie-settings {
  background: transparent;
  border: 0;
  color: #fff;
  margin: 0 6px;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
  text-decoration: underline;
}

.social-follow p {
  margin: 0 0 6px;
  color: #fff;
  font-weight: 600;
  line-height: 1.1;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(50, 20, 4, 0.85);
  border-radius: 50%;
  text-decoration: none;
}

.social-icons a img {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icons a:hover {
  background-color: rgba(20, 6, 0, 0.95);
}

@media (max-width: 768px) {
  .footer-top {
    justify-content: center;
    gap: 10px;
  }

  .footer-copy-block,
  .footer-links {
    justify-content: center;
    width: 100%;
  }

  .social-follow {
    margin-top: 2px;
  }
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 12px);
  width: min(980px, calc(100vw - 32px));
  z-index: 2000;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d6deea;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.2);
  padding: 18px 20px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #0f172a;
}

.cookie-banner-content p {
  margin: 0;
  line-height: 1.5;
  color: #334155;
}

.cookie-banner-content a {
  color: #0b69d1;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn-accept {
  background: #1f7a4e;
  color: #fff;
}

.cookie-btn-reject {
  background: #fff;
  color: #1f2937;
  border-color: #c5d0df;
}

.cookie-btn-save {
  background: #f5f8fb;
  color: #1f2937;
  border-color: #c5d0df;
}

.cookie-btn-close {
  background: #f5f8fb;
  color: #1f2937;
  border-color: #c5d0df;
}

.cookie-settings-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(15, 23, 42, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-settings-panel {
  width: min(100%, 760px);
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d6deea;
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.28);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cookie-settings-panel h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.2rem;
}

.cookie-close-icon {
  border: 1px solid #c5d0df;
  background: #f5f8fb;
  color: #334155;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-settings-intro {
  margin: 0;
  line-height: 1.52;
  color: #475569;
}

.cookie-settings-groups {
  display: grid;
  gap: 10px;
}

.cookie-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  padding: 12px 14px;
}

.cookie-setting-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-setting-row strong {
  color: #0f172a;
}

.cookie-setting-row small {
  color: #54657b;
}

.cookie-setting-row-locked {
  background: #eef3f8;
}

.cookie-switch-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.cookie-switch-wrap input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.cookie-switch {
  position: relative;
  display: block;
  width: 52px;
  height: 30px;
  border-radius: 16px;
  background: #c9d3e1;
  transition: background-color 0.18s ease;
}

.cookie-switch::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2);
  transition: transform 0.18s ease;
}

.cookie-switch-wrap input:checked + .cookie-switch {
  background: #1f7a4e;
}

.cookie-switch-wrap input:checked + .cookie-switch::before {
  transform: translateX(22px);
}

.cookie-switch-wrap input:disabled + .cookie-switch {
  background: #94a3b8;
}

.cookie-switch-wrap input:disabled {
  cursor: not-allowed;
}

.cookie-settings-links {
  font-size: 0.92rem;
}

.cookie-settings-links a {
  color: #0b69d1;
  text-decoration: underline;
}

.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.cookie-dialog-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-btn {
    flex: 1;
    min-width: 145px;
  }

  .cookie-settings-panel {
    padding: 16px;
  }

  .cookie-setting-row {
    align-items: flex-start;
  }

  .cookie-settings-actions {
    justify-content: stretch;
  }

  .cookie-settings-actions .cookie-btn {
    width: 100%;
  }
}

/* ── Page Hero (alle inneren Seiten) ─────────────────────── */
.page-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -1.5rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.18) 55%,
    rgba(0, 0, 0, 0.42) 100%
  );
  pointer-events: none;
}

.page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
}

.page-hero-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.page-hero-subtitle {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.page-hero img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: min(38vh, 340px);
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.legal-justified p,
.legal-justified li {
  text-align: justify;
}

.datenschutz-page {
  margin-bottom: 1.5rem;
}

.datenschutz-page .legal-doc {
  background: linear-gradient(160deg, #f9fcfa 0%, #eef6f2 100%);
  border: 1px solid rgba(47, 122, 90, 0.18);
  border-radius: 24px;
  padding: clamp(1rem, 1.7vw, 1.8rem);
  box-shadow: 0 14px 30px rgba(34, 67, 51, 0.11);
}

.datenschutz-page h2 {
  margin: 1.35rem 0 0.65rem;
  color: #1e4e38;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 800;
  border-left: 4px solid rgba(47, 122, 90, 0.5);
  padding-left: 0.62rem;
}

.datenschutz-page h2:first-child {
  margin-top: 0;
}

.datenschutz-page p,
.datenschutz-page li {
  color: #2e4a3d;
  line-height: 1.72;
}

.datenschutz-page ul,
.datenschutz-page ol {
  margin: 0.45rem 0 1rem;
  padding: 0.75rem 1.05rem 0.75rem 1.8rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 122, 90, 0.14);
  border-radius: 12px;
}

.datenschutz-page a {
  color: #2f7a5a;
  font-weight: 600;
}

.datenschutz-page hr {
  border-color: rgba(47, 122, 90, 0.2);
}

@media (max-width: 768px) {
  .datenschutz-page .legal-doc {
    border-radius: 16px;
    padding: 1rem;
  }

  .datenschutz-page ul,
  .datenschutz-page ol {
    padding: 0.65rem 0.85rem 0.65rem 1.5rem;
  }
}

.impressum-section {
  margin-bottom: 1.5rem;
}

.impressum-surface {
  background: linear-gradient(155deg, #f8fbf9 0%, #edf5f1 100%);
  border: 1px solid rgba(47, 122, 90, 0.16);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(32, 62, 47, 0.1);
}

.impressum-intro {
  margin-bottom: 1rem;
}

.impressum-intro h2 {
  margin: 0;
  color: #1e4e38;
  font-size: 1.55rem;
  font-weight: 800;
}

.impressum-intro p {
  margin: 0.4rem 0 0;
  color: #4f6a5b;
}

.impressum-section .row > [class*='col-'] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.impressum-card {
  background: #fff;
  border: 1px solid rgba(47, 122, 90, 0.15);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 6px 16px rgba(33, 70, 53, 0.08);
  height: auto;
}

.impressum-card h3 {
  margin: 0 0 0.55rem;
  color: #1e4e38;
  font-size: 1.05rem;
  font-weight: 700;
}

.impressum-card p {
  margin: 0;
  color: #30483c;
  line-height: 1.6;
}

.impressum-card a {
  color: #2f7a5a;
  font-weight: 600;
}

.impressum-card-highlight {
  background: linear-gradient(130deg, #245d45 0%, #3b8b61 100%);
  border-color: transparent;
}

.impressum-card-highlight h3,
.impressum-card-highlight p,
.impressum-card-highlight a {
  color: #fff;
}

.impressum-mail a {
  font-size: 1.05rem;
  text-decoration: none;
}

.impressum-address {
  line-height: 1.7;
}

.impressum-links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.impressum-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  border: 1px solid rgba(47, 122, 90, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
  background: #f5faf7;
}

@media (max-width: 768px) {
  .impressum-section .row > [class*='col-'] {
    gap: 0.85rem;
  }

  .impressum-surface {
    padding: 1rem;
    border-radius: 18px;
  }

  .impressum-intro h2 {
    font-size: 1.3rem;
  }

  .impressum-card {
    padding: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page-hero {
    margin-top: -1rem;
    margin-bottom: 1.2rem;
  }

  .page-hero img {
    height: 26vh;
    min-height: 160px;
  }
}

/* ── Festzeitschrift 75 – Prospekt-Viewer ────────────────── */

.festschrift-page {
  max-width: none;
  padding-left: clamp(0.8rem, 2.2vw, 2.4rem);
  padding-right: clamp(0.8rem, 2.2vw, 2.4rem);
}

.festschrift-page .festschrift-intro {
  text-align: center;
}

.festschrift-page .festschrift-intro h2 {
  margin-bottom: 0.55rem;
}

.festschrift-page .festschrift-intro > p {
  max-width: 78ch;
  margin: 0 auto;
}

.festschrift-page .festschrift-viewer-card {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  width: 100%;
}

.festschrift-page .festschrift-viewer-card {
  padding: clamp(0.3rem, 0.9vw, 0.55rem) 0 0;
}

.pdf-file-viewer {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pdf-file-page-indicator {
  position: absolute;
  right: 0.85rem;
  bottom: 0.65rem;
  z-index: 4;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f3fbf7;
  background: rgba(21, 58, 42, 0.78);
  border: 1px solid rgba(184, 235, 210, 0.38);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  backdrop-filter: blur(4px);
}

.pdf-file-canvas-wrap {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  height: clamp(460px, 68vh, 820px);
  padding: 0.9rem 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
}

.pdf-file-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.9rem;
  height: 6.1rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: #4a4a4a;
  font-size: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.pdf-file-nav-btn::before {
  content: '';
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.pdf-file-nav-btn:hover,
.pdf-file-nav-btn:focus-visible {
  background: transparent;
  transform: translateY(-50%) scale(1.04);
  box-shadow: none;
}

.pdf-file-nav-btn:active {
  transform: translateY(-50%) scale(0.98);
  background: transparent;
  box-shadow: none;
}

.pdf-file-nav-btn:focus-visible {
  outline: none;
}

.pdf-file-nav-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.pdf-file-nav-prev {
  left: 0.45rem;
}

.pdf-file-nav-prev::before {
  transform: rotate(-135deg);
}

.pdf-file-nav-next {
  right: 0.45rem;
}

.pdf-file-nav-next::before {
  transform: rotate(45deg);
}

.pdf-file-spread {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  perspective: 1200px;
}

.pdf-file-spread.is-single {
  display: flex;
  max-width: 920px;
  margin: 0 auto;
}

.pdf-file-page-slot {
  display: flex;
  justify-content: center;
}

.pdf-file-spread:not(.is-single) .pdf-file-page-slot:first-child {
  justify-content: flex-end;
}

.pdf-file-spread:not(.is-single) .pdf-file-page-slot:last-child {
  justify-content: flex-start;
}

.pdf-file-spread:not(.is-single) .pdf-file-page-slot:first-child canvas {
  transform: rotateY(2deg);
  transform-origin: right center;
}

.pdf-file-spread:not(.is-single) .pdf-file-page-slot:last-child canvas {
  transform: rotateY(-2deg);
  transform-origin: left center;
}

.pdf-file-page-slot canvas {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.2),
    0 5px 12px rgba(0, 0, 0, 0.14);
  max-width: 100%;
  height: auto;
  transition: transform 180ms ease;
}

.pdf-file-status {
  font-size: 0.82rem;
  color: #2f4f40;
  min-height: 1.2rem;
  padding: 0 0.1rem 0;
}

@media (max-width: 768px) {
  .pdf-file-canvas-wrap {
    height: clamp(380px, 56vh, 620px);
    padding: 0.5rem 2.2rem;
  }

  .pdf-file-spread {
    display: flex;
    justify-content: center;
    max-width: 760px;
    margin: 0 auto;
  }

  .pdf-file-nav-btn {
    width: 2.4rem;
    height: 4.9rem;
    font-size: 0;
  }

  .pdf-file-nav-btn::before {
    width: 1rem;
    height: 1rem;
    border-top-width: 2.5px;
    border-right-width: 2.5px;
  }

  .pdf-file-page-indicator {
    right: 0.5rem;
    bottom: 0.45rem;
  }
}

/* ── Galerie 75 – Dynamische Bildgalerie ─────────────────── */
.gallery-fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: clamp(0.8rem, 2.5vw, 2.2rem);
}

.gallery-grid-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}

.gallery-card {
  flex: 1 1 280px;
  height: 230px;
  min-width: 140px;
  display: block;
  border: 0;
  padding: 0;
  background: linear-gradient(180deg, #fbfdf8 0%, #eaf4ef 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(33, 70, 53, 0.14);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(33, 70, 53, 0.2);
}

.gallery-card:focus-visible {
  outline: 2px solid var(--brand-primary-strong);
  outline-offset: 2px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02) translateY(0);
  transition: transform 0.55s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.08) translateY(-6px);
}

.gallery-status {
  min-height: 1.25rem;
  color: #4f6a5b;
  font-size: 0.92rem;
}

.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(8, 14, 11, 0.78);
  backdrop-filter: blur(8px);
}

.gallery-overlay-backdrop {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.gallery-overlay-backdrop img {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  display: block;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  background: #fff;
}

@media (max-width: 768px) {
  .gallery-grid {
    gap: 0.85rem;
  }

  .gallery-card {
    min-width: 120px;
    height: 170px;
  }

  .gallery-overlay-backdrop {
    padding: 1rem;
  }

  .gallery-overlay-backdrop img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 14px;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .gallery-card {
    height: 200px;
  }
}

/* ── Fit for Fun – Abteilungsseite ───────────────────────── */

/* Intro */
.aff-intro {
  padding: 3rem 0 2.5rem;
}

.aff-section-title {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: #1e4e38;
  margin-bottom: 1rem;
}

.aff-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2a3d32;
  margin-bottom: 0.9rem;
}

/* Feature list */
.aff-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aff-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, #f6fbf8 0%, #eaf4ef 100%);
  border: 1px solid rgba(47, 122, 90, 0.18);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 3px 10px rgba(33, 70, 53, 0.08);
}

.aff-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3d8c62 0%, #52aa7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aff-feature-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.aff-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.aff-feature-body strong {
  font-size: 0.97rem;
  color: #1f4f39;
  font-weight: 700;
  line-height: 1.2;
}

.aff-feature-body span {
  font-size: 0.86rem;
  color: #4a6657;
  line-height: 1.35;
}

/* Details section */
.aff-details {
  padding: 0 0 2.5rem;
}

/* Trainer card – horizontales Profil-Layout */
.aff-trainer-card {
  background: #fff;
  border: 1px solid rgba(47, 122, 90, 0.16);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(33, 70, 53, 0.13);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 220px;
}

.aff-trainer-photo-side {
  flex: 0 0 45%;
  overflow: hidden;
  border-radius: 22px 0 0 22px;
}

.aff-trainer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.aff-trainer-info {
  flex: 1;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, #fbfdf8 0%, #eaf4ef 100%);
}

.aff-trainer-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  display: block;
  margin-bottom: 0.3rem;
}

.aff-trainer-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e4e38;
  margin: 0 0 0.2rem;
}

.aff-trainer-dept {
  font-size: 0.88rem;
  color: #5a7262;
  margin: 0;
}

/* Trainingszeiten – eigene Card */
.aff-schedule-card {
  background: linear-gradient(160deg, #fbfdf8 0%, #eaf4ef 100%);
  border: 1px solid rgba(47, 122, 90, 0.18);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 24px rgba(33, 70, 53, 0.12);
}

.aff-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.aff-card-title-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.aff-card-title svg {
  width: 16px;
  height: 16px;
  fill: var(--brand-primary);
  flex-shrink: 0;
}

.aff-trainer-schedule-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.aff-trainer-schedule-title svg {
  width: 15px;
  height: 15px;
  fill: var(--brand-primary);
  flex-shrink: 0;
}

.aff-schedule-row {
  background: linear-gradient(135deg, rgba(47, 122, 90, 0.07) 0%, rgba(82, 170, 126, 0.05) 100%);
  border: 1px solid rgba(47, 122, 90, 0.18);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.aff-schedule-day-row,
.aff-schedule-time-row,
.aff-schedule-place-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.aff-schedule-day-row svg,
.aff-schedule-time-row svg,
.aff-schedule-place-row svg {
  width: 16px;
  height: 16px;
  fill: var(--brand-primary);
  flex-shrink: 0;
  opacity: 0.8;
}

/* CSS-Icons als Ersatz für SVGs in Schedule-Rows (Live-Server-sicher) */
.aff-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.aff-icon-cal {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232f7a5a' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-2 .9-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 16H5V10h14v10ZM5 8V6h14v2H5Z'/%3E%3C/svg%3E");
}

.aff-icon-clock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232f7a5a' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2Zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8Zm.5-13H11v6l5.2 3.2.8-1.2-4.5-2.7V7Z'/%3E%3C/svg%3E");
}

.aff-icon-pin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232f7a5a' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7Zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
}

.aff-schedule-day {
  font-weight: 700;
  color: #1e4e38;
  font-size: 0.95rem;
}

.aff-schedule-time {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary-strong);
}

.aff-schedule-place {
  font-size: 0.84rem;
  color: #5a7262;
  line-height: 1.3;
}

/* Carousel */
.aff-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(33, 70, 53, 0.18);
}

.aff-carousel .carousel-inner {
  border-radius: 18px;
}

.aff-carousel .carousel-inner img {
  height: min(68vh, 620px);
  object-fit: cover;
}

/* Thumbnail-Navigation */
.aff-carousel-thumbs {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  width: min(220px, calc(100% - 2rem));
  padding: 0.45rem 0.55rem;
  background: rgba(18, 40, 30, 0.34);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.aff-thumb {
  flex: 1;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  opacity: 1;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.aff-thumb.active,
.aff-thumb:hover {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  transform: scaleY(1.15);
}

/* Video section */
.aff-video-section {
  padding: 0 0 2.5rem;
}

.aff-video-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.aff-video-card {
  background: linear-gradient(160deg, #fbfdf8 0%, #eaf4ef 100%);
  border: 1px solid rgba(47, 122, 90, 0.18);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(33, 70, 53, 0.12);
  overflow: hidden;
}

.aff-video-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f3f8f4;
  overflow: hidden;
}

.aff-video-play {
  position: absolute;
  inset: 0;
  z-index: 20;
  border: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.42) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.aff-video-play::before {
  content: '▶';
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(18, 49, 33, 0.72);
}

.aff-video-embed-wrap.is-active .aff-video-play {
  display: none;
}

.aff-video-embed-wrap::after {
  display: none;
}

.aff-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: none;
  background: transparent;
  pointer-events: none;
  cursor: default;
}

.aff-video-embed-wrap iframe {
  width: 100%;
  height: calc(100% + 300px);
  border: 0;
  display: block;
  transform: translateY(-64px);
  overflow: hidden;
  pointer-events: auto;
}

.aff-video-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #245d45;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(36, 93, 69, 0.35);
}

.aff-video-link:hover,
.aff-video-link:focus-visible {
  border-bottom-color: #245d45;
}

.aff-video-card-body {
  padding: 1.35rem 1.45rem;
}

.aff-video-title {
  font-size: 1.05rem;
  color: #1e4e38;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.aff-video-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4f6a5b;
}

@media (max-width: 768px) {
  .aff-video-list {
    grid-template-columns: 1fr;
  }
}

/* CTA banner */
.aff-cta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 1rem;
  background: linear-gradient(110deg, #245d45 0%, #3d8c62 55%, #52aa7e 100%);
  padding: 3rem 1.5rem;
}

.aff-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.aff-cta-text h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 0 0 0.5rem;
}

.aff-cta-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

.aff-cta-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  flex-shrink: 0;
}

.aff-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  color: var(--brand-primary-strong);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.7rem 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.aff-cta-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

.aff-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  color: var(--brand-primary-strong);
}

.aff-cta-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  padding-left: 0;
  align-self: stretch;
  text-align: center;
}

/* Vereinsorgane / Vorstand */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.board-card {
  background: linear-gradient(160deg, #fbfdf8 0%, #eaf4ef 100%);
  border: 1px solid rgba(47, 122, 90, 0.16);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(33, 70, 53, 0.1);
}

.board-card img {
  width: min(150px, calc(100% - 1rem));
  aspect-ratio: 150 / 190;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0.55rem auto 0;
  border-radius: 12px;
  border: 1px solid rgba(47, 122, 90, 0.2);
  box-shadow: 0 6px 16px rgba(33, 70, 53, 0.16);
  background: #f3f8f4;
}

.board-card-body {
  padding: 0.85rem 0.95rem 1rem;
  text-align: center;
}

.board-card-name {
  font-size: 0.98rem;
  line-height: 1.2;
  margin: 0;
  color: #1e4e38;
  font-weight: 700;
}

.board-card-role {
  margin-top: 0.3rem;
  font-size: 0.84rem;
  color: #4f6a5b;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .aff-intro {
    padding: 2rem 0 1.5rem;
  }

  .aff-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .aff-carousel .carousel-inner img {
    height: 62vw;
    min-height: 240px;
  }

  .aff-carousel-thumbs {
    bottom: 0.75rem;
    width: min(180px, calc(100% - 1.5rem));
    gap: 0.4rem;
    padding: 0.35rem 0.45rem;
  }

  .aff-thumb {
    height: 8px;
  }

  .aff-trainer-photo-wrap {
    width: 90px;
    height: 90px;
  }

  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}

.satzung-list-two-columns {
  column-count: 2;
  column-gap: 2rem;
}

.satzung-list-two-columns li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}

@media (max-width: 767.98px) {
  .satzung-list-two-columns {
    column-count: 1;
  }
}
