:root {
	--forest: #174d35;
	--forest-deep: #0e3425;
	--moss: #718b68;
	--leaf: #9db77d;
	--cream: #f6f2e8;
	--sand: #ded4bd;
	--mist: #dfe7da;
	--ink: #25312b;
	--white: #fff;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.7; }
body.admin-bar .site-header { top: 32px; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(calc(100% - 2.5rem), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section--soft { background: #ebe8de; }
.section--dark { color: var(--ink); background: var(--mist); }
h1, h2, h3 { margin-top: 0; font-family: Georgia, 'Times New Roman', serif; line-height: 1.08; font-weight: 500; }
h1 { max-width: 850px; margin-bottom: 1.5rem; font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.045em; }
h2 { margin-bottom: 2rem; font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -.03em; }
h3 { font-size: 1.65rem; }
p { margin-top: 0; }
.eyebrow { margin-bottom: 1rem; color: var(--moss); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section--dark .eyebrow { color: var(--forest); }

.site-header { position: sticky; z-index: 100; top: 0; overflow: visible; color: var(--forest-deep); background: rgba(246,242,232,.97); border-bottom: 1px solid rgba(23,77,53,.13); backdrop-filter: blur(12px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 2.5rem), var(--wrap)); min-height: 98px; margin-inline: auto; }
.site-brand { position: relative; display: flex; align-items: center; min-height: 98px; padding-left: 184px; text-decoration: none; }
.site-brand__logo { position: absolute; z-index: 2; top: 0; left: 0; width: 165px; height: 165px; max-width: none; border-radius: 50%; object-fit: contain; }
.site-brand__text { display: grid; line-height: 1.15; }
.site-brand__text strong { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.2; white-space: nowrap; }
.site-brand__text small { margin-top: .25rem; color: var(--moss); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.site-navigation .menu { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); padding: 0; margin: 0; list-style: none; }
.site-navigation a { position: relative; font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-navigation a::after { position: absolute; right: 0; bottom: -.5rem; left: 0; height: 2px; content: ''; background: var(--moss); transform: scaleX(0); transition: transform .2s ease; }
.site-navigation a:hover::after, .site-navigation a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; background: transparent; border: 1px solid var(--forest); border-radius: 50%; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--forest); }

.hero { position: relative; display: grid; min-height: min(820px, calc(100vh - 98px)); align-items: end; color: var(--white); background: url('../images/stolberg-panorama.jpg') center 43% / cover no-repeat; isolation: isolate; overflow: hidden; }
.hero__overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,34,23,.9) 0%, rgba(8,34,23,.57) 52%, rgba(8,34,23,.15) 100%), linear-gradient(0deg, rgba(8,34,23,.44), transparent 55%); }
.hero__content { position: relative; z-index: 2; padding-top: 7rem; padding-bottom: clamp(15rem, 27vw, 22rem); }
.stolberg-silhouette { position: absolute; z-index: 1; right: -1px; bottom: -2px; left: -1px; height: clamp(190px, 27vw, 350px); background: var(--cream); -webkit-mask: url('../images/stolberg-skyline-v1.png') center bottom / 100% 100% no-repeat; mask: url('../images/stolberg-skyline-v1.png') center bottom / 100% 100% no-repeat; pointer-events: none; }
.hero .eyebrow { color: #d6e5bf; }
.hero__lead { max-width: 650px; margin-bottom: 2.2rem; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.35rem; color: var(--white); background: var(--forest); border: 1px solid var(--forest); text-decoration: none; font-size: .84rem; font-weight: 700; letter-spacing: .04em; transition: .2s ease; }
.button:hover, .button:focus-visible { color: var(--forest-deep); background: var(--leaf); border-color: var(--leaf); transform: translateY(-2px); }
.button--ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.button--ghost:hover, .button--ghost:focus-visible { color: var(--forest-deep); background: var(--white); border-color: var(--white); }
.button--light { color: var(--forest-deep); background: var(--cream); border-color: var(--cream); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); }
.intro .prose { max-width: 680px; font-size: 1.12rem; }
.feature-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature-card { min-height: 330px; padding: clamp(1.6rem, 3vw, 2.6rem); background: var(--cream); border-top: 4px solid var(--moss); }
.feature-card__number { display: block; margin-bottom: 3.5rem; color: var(--moss); font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
.feature-card p { margin-bottom: 0; }
.image-story__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.image-story__image { min-height: 560px; background: url('../images/vereinsarbeit-02.jpeg') center / cover no-repeat; }
.image-story__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 6rem); color: var(--ink); background: var(--sand); }
.image-story__content .eyebrow { color: var(--forest); }
.text-link { display: inline-block; width: fit-content; margin-top: 1rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.text-link span { display: inline-block; margin-left: .4rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(.3rem); }
.post-card { padding: 2rem 0; border-top: 1px solid rgba(23,77,53,.24); }
.post-card__date { color: var(--forest); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.post-card h3 a { text-decoration: none; }
.post-card p { color: #4e5d54; }
.join { color: var(--ink); background: #cbd8c4; }
.join__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
.join h2 { max-width: 720px; margin-bottom: 1rem; }
.join p:not(.eyebrow) { max-width: 720px; margin-bottom: 0; }
.join .eyebrow { color: var(--forest); }

.site-footer { padding: 4rem 0 1.5rem; color: rgba(255,255,255,.76); background: #09251a; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 2rem; width: min(calc(100% - 2.5rem), var(--wrap)); margin-inline: auto; }
.site-footer strong { color: var(--white); font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer__legal { width: min(calc(100% - 2.5rem), var(--wrap)); padding-top: 1.5rem; margin: 2.5rem auto 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .78rem; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: .5rem; left: .5rem; width: auto; height: auto; padding: .75rem 1rem; margin: 0; overflow: visible; clip: auto; white-space: normal; color: #000; background: #fff; }

@media (max-width: 860px) {
	body.admin-bar .site-header { top: 46px; }
	.site-brand__logo { width: 62px; height: 62px; }
	.site-header__inner { min-height: 78px; }
	.site-brand { min-height: 78px; padding-left: 72px; }
	.site-brand__logo { position: absolute; top: 8px; }
	.site-brand__text strong { white-space: normal; }
	.menu-toggle { display: block; }
	.site-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 1.5rem 1.25rem 2rem; color: var(--white); background: var(--forest-deep); }
	.site-navigation.is-open { display: block; }
	.site-navigation .menu { align-items: flex-start; flex-direction: column; gap: 1rem; }
	.split, .image-story__grid, .join__inner { grid-template-columns: 1fr; }
	.feature-grid, .post-grid { grid-template-columns: 1fr; }
	.feature-card { min-height: auto; }
	.feature-card__number { margin-bottom: 2rem; }
	.image-story__image { min-height: 420px; }
}

@media (max-width: 520px) {
	.wrap, .site-header__inner, .site-footer__inner, .site-footer__legal { width: min(calc(100% - 1.5rem), var(--wrap)); }
	.site-brand__text strong { font-size: .95rem; }
	.hero { min-height: 670px; }
	.hero__actions .button { width: 100%; }
	.site-footer__inner { flex-direction: column; }
	.site-footer nav { flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
