/* BCH53 – Badminton Club Hannover 1953 e.V. */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}

:root {
	--bg: #f6f5f1;
	--surface: #ffffff;
	--surface-2: #eeede7;
	--ink: #12151a;
	--muted: #5a6069;
	--line: #e2e0d8;
	--accent: #d4f53c;
	--accent-ink: #12151a;
	--link: #1f6b3a;
	--dark: #12151a;
	--dark-ink: #f4f3ee;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(18, 21, 26, .04), 0 12px 32px rgba(18, 21, 26, .07);
	--max: 1160px;
	--gutter: clamp(16px, 4vw, 40px);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0e1013;
		--surface: #171a1f;
		--surface-2: #1e2228;
		--ink: #f2f1ec;
		--muted: #a2a7af;
		--line: #2a2e35;
		--link: #c2ea4a;
		--dark: #050607;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
		color-scheme: dark;
	}
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
	line-height: 1.05;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
	font-stretch: 112%;
	font-weight: 800;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-stretch: 100%; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--accent); color: var(--accent-ink); padding: .6em 1em; border-radius: var(--radius-sm);
	font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
	display: inline-block;
	font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--muted); margin-bottom: 1rem;
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 38em; }

mark {
	background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%);
	color: inherit; padding: 0 .05em; white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
	mark { background: none; color: var(--accent); }
}

/* Buttons */

.btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .85em 1.35em; border-radius: 999px;
	font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
	text-decoration: none; cursor: pointer; border: 2px solid transparent;
	transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #c4e82a; }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-logo { width: 54px; height: auto; display: block; }
@media (prefers-color-scheme: dark) {
	.brand-logo { filter: invert(1); }
}
.brand-name { font-weight: 800; font-stretch: 112%; line-height: 1.05; font-size: 1.05rem; }
.brand-name small { display: block; font-weight: 500; font-stretch: 100%; color: var(--muted); font-size: .78rem; letter-spacing: .02em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) {
	display: block; padding: .5em .8em; border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav a:not(.btn):hover { background: var(--surface-2); }
.nav .btn { padding: .65em 1.1em; font-size: .92rem; margin-left: .4rem; }
.nav .nav-secondary { color: var(--muted) !important; }
.nav .nav-lang { font-size: .85rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }

.nav-toggle {
	display: none; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
	background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--bg); border-bottom: 1px solid var(--line);
		padding: .75rem var(--gutter) 1.25rem;
		box-shadow: var(--shadow);
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav a:not(.btn) { padding: .8em .2em; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.nav a:not(.btn):hover { background: none; }
	.nav .btn { display: flex; margin: 1rem 0 0; justify-content: center; padding: .9em 1.2em; font-size: 1rem; }
}

/* Hero */

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8rem; }

.hero-meta { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.hero-meta li { display: flex; align-items: center; gap: .45em; }
.hero-meta svg { width: 1.1em; height: 1.1em; color: var(--ink); }

.hero-media { position: relative; }
.hero-media picture img {
	width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
	border-radius: var(--radius); box-shadow: var(--shadow);
}
.sticker {
	position: absolute; left: -18px; bottom: 28px;
	background: var(--accent); color: var(--accent-ink);
	border-radius: 999px; padding: .9rem 1.3rem;
	font-weight: 800; font-stretch: 115%; line-height: 1; font-size: 1.05rem;
	box-shadow: var(--shadow); transform: rotate(-4deg);
}
.sticker span { display: block; font-size: 2rem; letter-spacing: -.02em; }

@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-media { order: -1; }
	.hero-media picture img { aspect-ratio: 16 / 10; }
	.sticker { left: 12px; bottom: -16px; }
}

/* Facts */

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 1.6rem var(--gutter) 1.6rem 0; }
.facts li + li { padding-left: var(--gutter); border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; font-stretch: 115%; line-height: 1.1; letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: .95rem; }

@media (max-width: 760px) {
	.facts ul { grid-template-columns: 1fr 1fr; }
	.facts li { padding: 1.2rem 0; }
	.facts li + li { padding-left: 0; border-left: 0; }
	.facts li:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
	.facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .eyebrow, .section-dark .section-head p { color: #a7acb3; }
.section-dark a:not(.btn) { color: var(--accent); }

/* Training */

.training-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(1.4rem, 2.5vw, 2rem);
}
.card h3 { margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card address { margin-bottom: .8rem; }
.card-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.card-accent a { color: var(--accent-ink); }

.day { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.day:last-of-type { border-bottom: 0; }
.day strong { font-size: 1.35rem; font-weight: 800; font-stretch: 112%; }
.day span { font-variant-numeric: tabular-nums; font-weight: 600; }

.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); margin-bottom: 1rem; }
.card-accent .card-icon { background: rgba(18, 21, 26, .1); }
.card-icon svg { width: 22px; height: 22px; }

.link-row { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.link-row svg { width: 1em; height: 1em; }

@media (max-width: 900px) { .training-grid { grid-template-columns: 1fr; } }

/* Verein */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.split figcaption { margin-top: .7rem; color: var(--muted); font-size: .9rem; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks li::before {
	content: ""; flex: none; width: 22px; height: 22px; margin-top: .15em; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312151a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.steps li { background: #1b1f25; border: 1px solid #2a2f37; border-radius: var(--radius); padding: 1.8rem; counter-increment: step; }
.steps li::before {
	content: counter(step); display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%; margin-bottom: 1.2rem;
	background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.2rem;
}
.steps h3 { color: #fff; }
.steps p { color: #b4b9c0; margin: 0; }
.section-dark .actions { margin-top: 2.5rem; }
.section-dark .btn-ghost { color: var(--dark-ink); }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Beiträge */

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.price strong { display: block; font-size: 2.2rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.1; }
.price strong small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price span { color: var(--muted); }
.price-note { margin-top: 1.2rem; color: var(--muted); font-size: .95rem; }

/* FAQ */

.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1.3rem 0; font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
	background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6069' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; max-width: 44rem; }

/* Downloads */

.downloads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.downloads a {
	display: flex; align-items: center; gap: 1rem; height: 100%;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 1rem 1.2rem; color: var(--ink); text-decoration: none; font-weight: 700;
	transition: border-color .15s ease;
}
.downloads a:hover { border-color: var(--ink); }
.downloads small { display: block; font-weight: 500; color: var(--muted); }
.downloads svg { width: 26px; height: 26px; flex: none; color: var(--muted); }

/* Kontakt-CTA */

.cta {
	background: var(--accent); color: var(--accent-ink); border-radius: calc(var(--radius) + 8px);
	padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta .cta-person { margin-top: .8rem; font-size: 1rem; }
.cta .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.cta .contact-list a {
	display: flex; align-items: center; gap: .8rem; color: var(--accent-ink); text-decoration: none;
	font-weight: 700; font-size: 1.1rem; background: rgba(255, 255, 255, .55); border-radius: 999px; padding: .8rem 1.2rem;
}
.cta .contact-list a:hover { background: rgba(255, 255, 255, .8); }
.cta .contact-list svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* Footer */

.site-footer { padding: 3rem 0 2.5rem; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.footer-note { flex-basis: 100%; margin: 0; font-size: .82rem; opacity: .75; }

/* Rechtstexte */

.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); }
.legal .container { max-width: 50rem; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .6em; }
.legal h2 { font-size: 1.35rem; font-stretch: 100%; letter-spacing: 0; margin: 2.2em 0 .6em; line-height: 1.3; }
.legal h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal address { font-style: normal; color: var(--ink); margin-bottom: 1em; }
