:root {
  --vfr-green: #1d6b39;
  --vfr-green-dark: #124227;
  --vfr-green-soft: #dff1e4;
  --vfr-sand: #f3efe6;
  --vfr-ink: #1d2a22;
  --vfr-muted: #617066;
  --vfr-border: rgba(18, 66, 39, 0.12);
  --vfr-shadow: 0 1rem 3rem rgba(18, 66, 39, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--vfr-ink);
  background:
    radial-gradient(circle at top left, rgba(223, 241, 228, 0.9), transparent 32%),
    linear-gradient(180deg, #fbfcf9 0%, #f5f1e7 100%);
}

a {
  color: var(--vfr-green);
}

a:hover,
a:focus {
  color: var(--vfr-green-dark);
}

.site-shell {
  min-height: 100vh;
}

.navbar-brand img {
  height: 3rem;
  width: auto;
}

.navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 66, 39, 0.08);
}

.navbar .nav-link,
.navbar .dropdown-item {
  font-weight: 500;
}

.navbar .nav-link.active,
.navbar .dropdown-item.active {
  color: var(--vfr-green);
}

.page-hero,
.home-hero {
  position: relative;
  overflow: hidden;
}

.home-hero {
  padding: 8rem 0 5rem;
}

.page-hero {
  padding: 7rem 0 3.5rem;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(18, 66, 39, 0.92), rgba(29, 107, 57, 0.76)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 14px,
      transparent 14px,
      transparent 28px
    );
}

.home-hero .hero-image,
.page-hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-hero h1,
.page-hero h1 {
  color: #fff;
  font-weight: 700;
  line-height: 1.05;
}

.hero-lead,
.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 44rem;
  font-size: 1.125rem;
}

.hero-card,
.surface-card,
.content-panel {
  border: 1px solid var(--vfr-border);
  border-radius: 1.5rem;
  box-shadow: var(--vfr-shadow);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
}

.surface-card,
.content-panel {
  background: rgba(255, 255, 255, 0.94);
}

.section-pad {
  padding: 4.5rem 0;
}

.section-pad-sm {
  padding: 3rem 0;
}

.section-title {
  max-width: 42rem;
}

.section-title h2 {
  font-weight: 700;
}

.section-title p {
  color: var(--vfr-muted);
}

.stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f5 100%);
  border: 1px solid var(--vfr-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  height: 100%;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--vfr-green-dark);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list span {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--vfr-green-soft);
  color: var(--vfr-green-dark);
  font-weight: 600;
}

.feature-card,
.department-card,
.link-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--vfr-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.department-card:hover,
.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(18, 66, 39, 0.12);
}

.feature-card h3,
.department-card h3,
.link-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-kicker {
  color: var(--vfr-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

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

.info-list li + li {
  margin-top: 0.75rem;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: rgba(29, 107, 57, 0.18);
}

.timeline li {
  position: relative;
  padding-left: 2.2rem;
}

.timeline li + li {
  margin-top: 1.1rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  border: 0.35rem solid var(--vfr-green);
}

.timeline-year {
  display: inline-block;
  min-width: 4rem;
  margin-right: 0.5rem;
  color: var(--vfr-green-dark);
  font-weight: 700;
}

.aside-nav {
  position: sticky;
  top: 6rem;
}

.aside-nav .nav-link {
  color: var(--vfr-muted);
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
}

.aside-nav .nav-link:hover,
.aside-nav .nav-link:focus,
.aside-nav .nav-link.active {
  color: var(--vfr-green-dark);
  background: var(--vfr-green-soft);
}

.table-card table {
  margin-bottom: 0;
}

.table-card thead th {
  background: rgba(29, 107, 57, 0.08);
  color: var(--vfr-green-dark);
  border-bottom-width: 1px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--vfr-green-soft);
  color: var(--vfr-green-dark);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
}

.photo-panel {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--vfr-border);
  box-shadow: var(--vfr-shadow);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.annual-placeholder {
  min-height: 17rem;
  border: 2px dashed rgba(29, 107, 57, 0.28);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(223, 241, 228, 0.48), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(
      45deg,
      rgba(29, 107, 57, 0.05) 0,
      rgba(29, 107, 57, 0.05) 12px,
      transparent 12px,
      transparent 24px
    );
}

.footer-shell {
  background: linear-gradient(180deg, var(--vfr-green-dark) 0%, #0d301c 100%);
  color: rgba(255, 255, 255, 0.84);
}

.footer-shell a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-shell a:hover,
.footer-shell a:focus {
  color: #fff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand img {
  width: 3rem;
  height: auto;
}

.footer-shell .list-unstyled li + li {
  margin-top: 0.45rem;
}

.small-note,
.muted-copy {
  color: var(--vfr-muted);
}

.text-balance {
  text-wrap: balance;
}

.page-title-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.5rem;
}

@media (max-width: 991.98px) {
  .home-hero,
  .page-hero {
    padding-top: 7rem;
  }

  .aside-nav {
    position: static;
  }

  .aside-nav.surface-card {
    padding: 0.75rem !important;
  }

  .aside-nav .nav {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.6rem !important;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  .aside-nav .nav-item {
    flex: 0 0 auto;
  }

  .aside-nav .nav-link {
    white-space: nowrap;
    background: #fff;
    border: 1px solid var(--vfr-border);
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    padding-bottom: 4rem;
  }

  .section-pad {
    padding: 3.5rem 0;
  }

  .section-pad-sm {
    padding: 2.5rem 0;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .page-title-card {
    max-width: 22rem;
  }

  .table-mobile-board thead,
  .table-mobile-honor thead {
    display: none;
  }

  .table-mobile-board tbody,
  .table-mobile-honor tbody,
  .table-mobile-board tr,
  .table-mobile-honor tr,
  .table-mobile-board td,
  .table-mobile-honor td {
    display: block;
    width: 100%;
  }

  .table-mobile-board tr,
  .table-mobile-honor tr {
    padding: 0.95rem 0.9rem;
    border-bottom: 1px solid var(--vfr-border);
  }

  .table-mobile-board tr:last-child,
  .table-mobile-honor tr:last-child {
    border-bottom: 0;
  }

  .table-mobile-board td,
  .table-mobile-honor td {
    padding: 0.3rem 0;
    border: 0;
  }

  .table-mobile-board td::before,
  .table-mobile-honor td::before {
    display: block;
    margin-bottom: 0.1rem;
    color: var(--vfr-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .table-mobile-board td:nth-child(1)::before {
    content: "Position";
  }

  .table-mobile-board td:nth-child(2)::before {
    content: "Name";
  }

  .table-mobile-board td:nth-child(3)::before {
    content: "E-Mail";
  }

  .table-mobile-board td a {
    overflow-wrap: anywhere;
  }

  .table-mobile-honor td:nth-child(1)::before {
    content: "Nachname";
  }

  .table-mobile-honor td:nth-child(2)::before {
    content: "Vorname";
  }

  .table-mobile-honor td:nth-child(3)::before {
    content: "Mitglied seit";
  }

  .table-mobile-honor td:nth-child(4)::before {
    content: "Status";
  }
}
