/* =========================================================
   VKPG – Stylesheet
   Farben aus dem Vereinslogo, Schriften lokal eingebunden
   (keine externen Dienste, keine Cookies).
   ========================================================= */

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --blau-dunkel: #114B73;
  --blau-mittel: #3A81A5;
  --blau-hell: #4FB4D6;
  --papier: #F6F8FA;
  --weiss: #FFFFFF;
  --text: #2B3640;
  --text-leise: #5B6874;
  --linie: #DCE3EA;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --breite: 72rem;
  --rand: clamp(1.25rem, 5vw, 3rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blau-dunkel); text-underline-offset: 0.18em; }
a:hover { color: var(--blau-mittel); }

:focus-visible {
  outline: 3px solid var(--blau-hell);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--blau-dunkel);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 560; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: 38em; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--blau-dunkel); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--blau-dunkel);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primaer { background: var(--blau-dunkel); color: #fff; }
.btn-primaer:hover { background: var(--blau-mittel); border-color: var(--blau-mittel); color: #fff; }
.btn-sekundaer { background: transparent; color: var(--blau-dunkel); }
.btn-sekundaer:hover { background: var(--blau-dunkel); color: #fff; }

/* ---------- Header ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.75rem;
}
.kopf-logo img { height: 2.9rem; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.nav ul a {
  color: var(--text); text-decoration: none; font-weight: 500;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav ul a:hover { color: var(--blau-dunkel); border-bottom-color: var(--blau-hell); }
.nav .btn { padding: .55rem 1.1rem; }

.menu-knopf {
  display: none;
  background: none; border: 0; padding: .5rem; cursor: pointer;
  color: var(--blau-dunkel); font: 600 1rem var(--sans);
}
.menu-knopf span { display: block; width: 1.5rem; height: 2px; background: currentColor; margin: 5px 0; }

@media (max-width: 920px) {
  .menu-knopf { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--linie);
    padding: .5rem var(--rand) 1.25rem;
  }
  .nav.offen { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--linie); }
  .nav .btn { margin-top: 1rem; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(4rem, 10vw, 7.5rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.hero h1 { max-width: 13em; }
.hero-unterzeile { font-size: 1.2rem; color: var(--text-leise); max-width: 34em; margin-bottom: 2rem; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-signet {
  position: absolute; z-index: 0;
  right: -9rem; top: 50%; transform: translateY(-50%);
  width: min(40rem, 62vw); opacity: .13; pointer-events: none;
}
@media (min-width: 1100px) { .hero-signet { opacity: .9; right: -6rem; width: 34rem; } .hero h1, .hero-unterzeile { max-width: 58%; } }

/* Drei Leitgedanken unter dem Hero – farblich an die drei Bögen des Logos angelehnt */
.leitgedanken { background: var(--papier); }
.leitgedanken ul {
  list-style: none; margin: 0; padding: 2.5rem 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.leitgedanken li { border-left: 4px solid var(--blau-dunkel); padding-left: 1rem; }
.leitgedanken li:nth-child(2) { border-color: var(--blau-mittel); }
.leitgedanken li:nth-child(3) { border-color: var(--blau-hell); }
.leitgedanken strong { display: block; font-family: var(--serif); color: var(--blau-dunkel); font-size: 1.15rem; font-weight: 600; }
.leitgedanken span { color: var(--text-leise); }
@media (max-width: 760px) { .leitgedanken ul { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ---------- Sektionen ---------- */
.sektion { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.sektion-weiss { background: var(--weiss); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.einleitung { font-size: 1.2rem; color: var(--text-leise); }

.zwei-spalten { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .zwei-spalten { grid-template-columns: 1fr; } }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.ablauf { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.ablauf li {
  counter-increment: schritt;
  position: relative; padding: 0 0 1.6rem 3.4rem;
}
.ablauf li::before {
  content: counter(schritt);
  position: absolute; left: 0; top: -.1rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blau-dunkel); color: #fff;
  font: 600 1rem var(--serif);
}
.ablauf li::after {
  content: ""; position: absolute; left: 1.1rem; top: 2.4rem; bottom: .2rem;
  width: 2px; background: var(--linie);
}
.ablauf li:last-child::after { display: none; }
.ablauf li:last-child { padding-bottom: 0; }
.ablauf h3 { font-size: 1.15rem; margin-bottom: .2em; }
.ablauf p { margin: 0; color: var(--text-leise); }

.abgrenzung {
  margin-top: 2.5rem; padding: 1.5rem 1.75rem;
  background: var(--papier); border-left: 4px solid var(--blau-hell);
}
.abgrenzung h3 { margin-bottom: .4em; }
.abgrenzung p:last-child { margin-bottom: 0; }

/* ---------- Vorstand ---------- */
.vorstand {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.vorstand li { border-top: 4px solid var(--blau-dunkel); padding-top: 1.1rem; }
.vorstand li:nth-child(2) { border-color: var(--blau-mittel); }
.vorstand li:nth-child(3) { border-color: var(--blau-hell); }
.vorstand .name { font-family: var(--serif); font-size: 1.4rem; color: var(--blau-dunkel); font-weight: 600; margin: 0; }
.vorstand .rolle { font-weight: 600; color: var(--blau-mittel); margin: .1rem 0 .6rem; }
.vorstand p:last-child { color: var(--text-leise); margin: 0; }
@media (max-width: 760px) { .vorstand { grid-template-columns: 1fr; } }

.senat {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--linie);
}
@media (max-width: 860px) { .senat { grid-template-columns: 1fr; } }
.fakten { margin: 0; display: grid; gap: 1.1rem; }
.fakten div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--linie); }
.fakten div:last-child { border-bottom: 0; padding-bottom: 0; }
.fakten dt { font-weight: 600; color: var(--blau-dunkel); }
.fakten dd { margin: 0; }
@media (max-width: 520px) { .fakten div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Vorteile ---------- */
.vorteile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 4rem; margin-top: 2.5rem; }
.vorteile > div { padding-left: 1.25rem; border-left: 2px solid var(--linie); }
.vorteile h3 { margin-bottom: .35em; }
.vorteile p { margin: 0; color: var(--text-leise); }
@media (max-width: 760px) { .vorteile { grid-template-columns: 1fr; gap: 2rem; } }

/* Hervorgehobener Block HOLFINITY Akademie */
.akademie {
  margin-top: 3.5rem;
  background: var(--blau-dunkel); color: #fff;
  padding: clamp(2rem, 5vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.akademie h3 { color: #fff; font-size: 1.6rem; margin-bottom: .3em; }
.akademie p { color: #D3E4EF; margin: 0; }
.akademie .btn { background: #fff; color: var(--blau-dunkel); border-color: #fff; }
.akademie .btn:hover { background: var(--blau-hell); border-color: var(--blau-hell); color: var(--blau-dunkel); }

/* ---------- Mitgliedschaft ---------- */
.formen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.5rem; border: 1px solid var(--linie); background: #fff; }
.form { padding: 2rem 1.75rem; border-right: 1px solid var(--linie); display: flex; flex-direction: column; }
.form:last-child { border-right: 0; }
.form h3 { margin-bottom: .2em; }
.form .fuer { color: var(--blau-mittel); font-weight: 600; margin-bottom: 1.2rem; }
.form ul { margin: 0 0 1.5rem; padding-left: 1.1rem; }
.form li { margin-bottom: .45rem; }
.form .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) {
  .formen { grid-template-columns: 1fr; }
  .form { border-right: 0; border-bottom: 1px solid var(--linie); }
  .form:last-child { border-bottom: 0; }
}
.hinweis { margin-top: 1.5rem; font-size: .95rem; color: var(--text-leise); max-width: 50em; }

.schritte { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.schritte li { counter-increment: s; }
.schritte li::before {
  content: "Schritt " counter(s);
  display: block; font-weight: 600; color: var(--blau-mittel); margin-bottom: .3rem;
}
.schritte strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--blau-dunkel); margin-bottom: .3rem; }
.schritte p { margin: 0; color: var(--text-leise); }
@media (max-width: 760px) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.kontakt-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .kontakt-box { grid-template-columns: 1fr; } }
.adresse { font-style: normal; background: #fff; border: 1px solid var(--linie); padding: 1.75rem; }
.adresse strong { color: var(--blau-dunkel); }
.adresse p { margin: 0 0 1rem; }
.adresse p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.fuss { background: #0E3D5E; color: #C9DAE6; padding: 3.5rem 0 2rem; font-size: .97rem; }
.fuss a { color: #fff; }
.fuss a:hover { color: var(--blau-hell); }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .fuss-raster { grid-template-columns: 1fr; } }
.fuss-marke { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.fuss-marke img { width: 3rem; }
.fuss-marke span { font-family: var(--serif); color: #fff; font-size: 1.1rem; line-height: 1.3; }
.fuss h2 { color: #fff; font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .7rem; letter-spacing: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .4rem; }
.fuss p { margin: 0 0 .6rem; }
.fuss-unten { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.rechtstext { background: #fff; }
.rechtstext .wrap { max-width: 50rem; padding-top: 4rem; padding-bottom: 5rem; }
.rechtstext h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.rechtstext dl { margin: 0 0 1rem; }
.rechtstext dt { font-weight: 600; color: var(--blau-dunkel); margin-top: .9rem; }
.rechtstext dd { margin: 0; }
.platzhalter { background: #FFF4C2; padding: 0 .25em; }
