/* Self-hosted fonts (DSGVO-konform) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/questrial-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/questrial-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F5F1E8;
  color: #141414;
  font-family: 'Questrial', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #141414; text-decoration-color: #36C6C3; text-underline-offset: 4px; transition: color .2s; }
a:hover { color: #0F7F7C; }

/* Animations */
@keyframes ohcDraw {
  0%   { stroke-dashoffset: 1; stroke-width: 18; filter: drop-shadow(0 0 0px #36C6C3); }
  70%  { stroke-dashoffset: 0; stroke-width: 26; filter: drop-shadow(0 0 18px rgba(54,198,195,.6)); }
  85%  { stroke-dashoffset: 0; stroke-width: 22; filter: drop-shadow(0 0 8px rgba(54,198,195,.3)); }
  100% { stroke-dashoffset: 0; stroke-width: 24; filter: drop-shadow(0 0 0px #36C6C3); }
}
@keyframes ohcGlow {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(54,198,195,0)); }
  50%      { filter: drop-shadow(0 0 14px rgba(54,198,195,.35)); }
}
@keyframes ohcFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@keyframes werteSlide {
  from { opacity: 0; transform: translateX(-80px) skewX(4deg); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-path { animation: none !important; stroke-dashoffset: 0 !important; }
  .hero-fade { animation: none !important; opacity: 1 !important; transform: none !important; }
  .werte__word { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Layout */
.container { max-width: 1320px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); }
.section-label {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0F7F7C;
}
.section-label--light { color: #36C6C3; }
.h2 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
}
.body-large {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  text-wrap: pretty;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: 'Questrial', sans-serif;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn--primary { background: #36C6C3; color: #141414; }
.btn--primary:hover { background: #F5F1E8; color: #141414; }
.btn--outline-light { border: 1.5px solid #F5F1E8; color: #F5F1E8; background: transparent; }
.btn--outline-light:hover { background: #F5F1E8; color: #10302F; }
.btn--dark { background: #141414; color: #F5F1E8; }
.btn--dark:hover { background: #36C6C3; color: #141414; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 241, 232, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 20, 20, .08);
}
.site-header nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #141414;
}
.site-header__logo svg { width: 52px; height: auto; display: block; overflow: visible; }
.site-header__logo span { font-size: 18px; letter-spacing: .01em; }
.site-header__nav {
  display: flex;
  gap: clamp(16px, 2.6vw, 36px);
  flex-wrap: wrap;
  font-size: 15px;
}
.site-header__nav a { text-decoration: none; }
.site-header__nav a:hover { color: #0F7F7C; }

/* Hero */
.hero {
  padding: clamp(40px, 6vw, 80px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__logo {
  width: min(460px, 90%, 50vh);
  cursor: pointer;
}
.hero__logo svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: ohcDraw 3s cubic-bezier(.22, .61, .36, 1) .3s forwards, ohcGlow 3s ease-in-out 3.6s 2;
}
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: clamp(12px, 2vw, 28px);
}
.hero__title {
  margin: 0;
  font-family: 'Questrial', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -.01em;
  opacity: 0;
}
.hero-fade { opacity: 0; }
.hero__title.hero-fade { animation: ohcFade .9s ease 2.4s forwards; }
.hero__subtitle {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5C5A55;
}
.hero__subtitle.hero-fade { animation: ohcFade .9s ease 2.7s forwards; }
.hero__subtitle .dot { color: #36C6C3; }

/* Image row */
.image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 12px;
}
.image-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Scroll margin for sticky header */
section[id] { scroll-margin-top: 80px; }

/* Verein */
.verein { padding-block: clamp(80px, 11vw, 150px) clamp(60px, 8vw, 110px); }
.verein__intro { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 64px); }
.verein__intro .section-label { flex: 1 1 180px; }
.verein__intro-text {
  flex: 3 1 480px;
  min-width: 0;
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3.1vw, 42px);
  line-height: 1.22;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.verein__columns {
  margin-top: clamp(56px, 8vw, 110px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
}
.verein__col {
  border-top: 2px solid #141414;
  padding: 22px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.verein__col-title {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.verein__col-text { font-size: 22px; line-height: 1.4; text-wrap: pretty; }

/* Werte band */
.werte {
  background: #36C6C3;
  overflow: hidden;
}
.werte__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.werte__word {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(48px, 11vw, 170px);
  line-height: .92;
  letter-spacing: -.03em;
}
.werte__word--dark { color: #141414; }
.werte__word--light { color: #F5F1E8; }
.werte__word {
  opacity: 0;
  transform: translateX(-80px) skewX(4deg);
  filter: blur(6px);
}
.werte--visible .werte__word {
  animation: werteSlide .9s cubic-bezier(.16, 1, .3, 1) forwards;
}
.werte--visible .werte__word:nth-child(2) { animation-delay: .18s; }
.werte--visible .werte__word:nth-child(3) { animation-delay: .36s; }

/* Mitgliedschaft */
.mitglied { background: #10302F; color: #F5F1E8; }
.mitglied__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.mitglied__content { display: flex; flex-direction: column; gap: 28px; }
.mitglied__text { margin: 0; max-width: 520px; }
.mitglied__text a { color: #36C6C3; }
.mitglied__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.mitglied__image { width: 100%; aspect-ratio: 4/5; object-fit: cover; max-height: 720px; }

/* Aktuelles */
.aktuelles { padding-block: clamp(80px, 11vw, 150px); }
.aktuelles__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.aktuelles__left { display: flex; flex-direction: column; gap: 28px; }
.aktuelles__right { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.aktuelles__right p { margin: 0; }
.aktuelles__images {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 12px;
}
.aktuelles__images img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* Footer */
.site-footer { border-top: 1px solid rgba(20, 20, 20, .12); }
.site-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 48px) 40px;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 96px);
}
.site-footer__contact { display: flex; flex-direction: column; gap: 20px; }
.site-footer__email {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(16px, 4vw, 72px);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-decoration: none;
  overflow-wrap: break-word;
  color: #141414;
}
.site-footer__email:hover { color: #0F7F7C; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
  line-height: 1.6;
}
.site-footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer__links .muted { color: #5C5A55; }

/* Impressum page */
.impressum-header { border-bottom: 1px solid rgba(20, 20, 20, .08); }
.impressum-header nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.impressum-header a { font-size: 18px; text-decoration: none; }
.impressum-header .back { font-size: 15px; }
.impressum-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 6vw, 96px);
}
.impressum-main h1 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.03em;
}
.impressum-main__blocks {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 19px;
  line-height: 1.55;
}
.impressum-main__label {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0F7F7C;
  margin-bottom: 8px;
}

.bilderreihe__intro { display: none; }
.bilderreihe__text {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 3.1vw, 42px);
  line-height: 1.3;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .hero { display: none; }
  .bilderreihe { padding-top: clamp(24px, 5vw, 48px); }
  .bilderreihe__intro { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(24px, 5vw, 40px); }
  .bilderreihe__label { display: block; }
  .verein__intro .section-label { display: none; }
  .verein__intro-text { display: none; }
}
