:root {
  --blue: #0b4ea2;
  --blue-dark: #082b60;
  --red: #e40521;
  --yellow: #f6d20a;
  --ink: #15233d;
  --muted: #5c6980;
  --line: #dce4f0;
  --paper: #ffffff;
  --soft: #f6f8fc;
  --shadow: 0 18px 45px rgba(8, 43, 96, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 165px;
}

#start,
#aktuelles,
#verband,
#leistungen,
#mitgliedschaft,
#kontakt {
  scroll-margin-top: 165px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #eef3f9;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 0 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  width: min(420px, calc(100% - 36px));
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 700;
}

.main-nav {
  gap: 0;
}

.site-footer nav {
  gap: 16px;
}

.main-nav {
  justify-content: center;
  width: 100%;
  background: var(--blue);
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a {
  min-height: 46px;
  padding: 13px 18px;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--blue-dark);
  color: #ffffff;
}

.site-footer a:hover {
  color: var(--yellow);
}

main {
  width: min(1180px, calc(100% - 28px));
  margin: 22px auto 0;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 43, 96, 0.09);
}

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(30px, 5vw, 58px) clamp(18px, 4vw, 44px);
  background:
    linear-gradient(90deg, rgba(11, 78, 162, 0.08), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue-dark);
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.18rem;
}

.lead,
.welcome-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

.button.primary:hover {
  border-color: var(--red);
  background: var(--red);
}

.button.secondary {
  color: var(--blue);
  background: #ffffff;
}

.button.secondary:hover {
  color: var(--blue-dark);
  border-color: var(--yellow);
  background: rgba(246, 210, 10, 0.18);
}

.welcome-image {
  margin: 0;
}

.welcome-image img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.ticker {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.ticker h2 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 20px 24px;
  color: #ffffff;
  background: var(--red);
  font-size: 1.35rem;
}

.ticker-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ticker article {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.ticker time,
.news-grid time {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-weight: 800;
}

.ticker p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.shortcut-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.shortcut-band a {
  display: grid;
  gap: 4px;
  min-height: 116px;
  padding: 24px;
  color: #ffffff;
  background: var(--blue);
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.shortcut-band a:nth-child(2) {
  background: var(--blue-dark);
}

.shortcut-band a:nth-child(3) {
  color: var(--blue-dark);
  background: var(--yellow);
}

.shortcut-band strong {
  font-size: 1.22rem;
}

.shortcut-band span {
  opacity: 0.86;
}

.section {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.intro {
  background: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.benefit-list article,
.news-grid article,
.membership-note,
.person,
.contact-box,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.intro-grid article {
  padding: 24px;
}

.intro-grid h3 {
  padding-top: 10px;
  border-top: 5px solid var(--yellow);
}

.intro-grid article:nth-child(2) h3 {
  border-color: var(--red);
}

.intro-grid article:nth-child(3) h3 {
  border-color: var(--blue);
}

.intro-grid p,
.benefit-list p,
.membership p,
.people p,
.contact p,
.legal-page p {
  color: var(--muted);
}

.benefits {
  background: var(--soft);
}

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

.benefit-list article {
  padding: 24px;
}

.benefit-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.benefit-list article:nth-child(2n) span {
  background: var(--red);
}

.benefit-list article:nth-child(3n) span {
  color: var(--blue-dark);
  background: var(--yellow);
}

.membership {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
  color: #ffffff;
  background: var(--blue);
}

.membership h2,
.membership h3,
.membership .eyebrow {
  color: #ffffff;
}

.membership p {
  color: rgba(255, 255, 255, 0.82);
}

.membership-copy {
  max-width: 800px;
}

.membership-note {
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.membership-note h3 {
  color: var(--blue-dark);
}

.membership-note p {
  color: var(--muted);
}

.people {
  background: var(--soft);
}

.news-list,
.events {
  background: #ffffff;
}

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

.news-grid article {
  padding: 24px;
  border-top: 5px solid var(--blue);
}

.news-grid article:nth-child(2) {
  border-top-color: var(--red);
}

.news-grid article:nth-child(3) {
  border-top-color: var(--yellow);
}

.empty-state {
  display: grid;
  gap: 4px;
  padding: 24px;
  color: var(--muted);
  background: var(--soft);
}

.empty-state strong {
  color: var(--blue-dark);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.person {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.person img {
  width: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 28px;
  font-style: normal;
  box-shadow: var(--shadow);
}

.contact-box a {
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: #ffffff;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 24px;
  background: var(--blue-dark);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.legal-page {
  width: min(1180px, calc(100% - 28px));
  margin: 22px auto 0;
  padding: clamp(42px, 6vw, 72px) clamp(28px, 6vw, 74px);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 43, 96, 0.09);
}

.legal-page h1 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
}

.legal-page h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.legal-page > p,
.legal-page section {
  max-width: 860px;
}

.legal-page p {
  margin-top: 0;
}

.legal-page section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-page a {
  color: var(--blue);
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 34px);
  color: var(--ink);
  background: #ffffff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 32px rgba(8, 43, 96, 0.14);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner a {
  color: var(--blue);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-actions button {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--blue-dark);
  background: #ffffff;
  border: 2px solid var(--yellow);
  border-radius: 2px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions button[data-cookie-choice="accept"] {
  background: var(--yellow);
}

.cookie-actions .cookie-close {
  min-width: 42px;
  padding: 6px 10px;
  color: var(--muted);
  border-color: transparent;
  font-size: 1.7rem;
  line-height: 1;
}

@media (max-width: 1050px) {
  .welcome {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    max-width: 820px;
  }

  .intro-grid,
  .benefit-list,
  .ticker-items,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 0;
  }

  .site-header {
    position: static;
  }

  .brand {
    width: min(340px, calc(100% - 36px));
  }

  .main-nav {
    justify-content: flex-start;
  }

  .welcome {
    padding-top: 32px;
  }

  h1 {
    max-width: none;
    font-size: 2.55rem;
  }

  .intro-grid,
  .benefit-list,
  .ticker-items,
  .shortcut-band,
  .news-grid,
  .membership,
  .people-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .person {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .person img {
    width: 104px;
  }

  .contact-box a {
    font-size: 1.08rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .main-nav {
    font-size: 0.92rem;
  }

  .main-nav a {
    width: 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .button {
    width: 100%;
  }

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

  .person img {
    width: 128px;
  }

  .cookie-actions button {
    width: 100%;
  }
}
