/* ==========================================================================
   FH Volleys – Vereinsseite
   Volle Breite, satte Markenfarben, echte Landingpage-Architektur.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800&display=swap');

.fhv-site {
	/* --- Palette: satt & warm --- */
	--flame:       #ee4d1e;
	--flame-deep:  #c2360f;
	--ember:       #ffb02e;
	--green:       #2f6b4a;
	--green-deep:  #1f4d34;
	--ink:         #16100a;
	--ink-2:       #241a11;
	--cream:       #f7efe1;
	--paper:       #fffaf1;
	--tint:        #f3e7d2;
	--line:        #e6d8bf;
	--muted:       #8a7c66;

	/* Full-bleed: aus dem Theme-Container ausbrechen */
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--ink);
	line-height: 1.55;
	background: var(--paper);
	overflow-x: hidden;
}

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

.fhv-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}

/* --- Buttons --- */
.fhv-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.98rem;
	text-decoration: none;
	padding: 0.8rem 1.4rem;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}
.fhv-btn:hover { transform: translateY(-2px); }
.fhv-btn--solid { background: var(--flame); color: #fff; box-shadow: 0 10px 24px rgba(238,77,30,0.35); }
.fhv-btn--solid:hover { background: var(--flame-deep); color: #fff; }
.fhv-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.fhv-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.fhv-btn--ig { background: var(--ink); color: #fff; }
.fhv-btn--ig:hover { background: var(--flame); color: #fff; }
.fhv-btn--block { width: 100%; justify-content: center; font-size: 1.1rem; padding: 1rem; }

/* --- Eyebrows / Kicker --- */
.fhv-eyebrow, .fhv-kicker {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--flame);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.fhv-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(22,16,10,0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fhv-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
	gap: 1rem;
}
.fhv-nav__brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: #fff;
	text-decoration: none;
	font-family: 'Anton', sans-serif;
	font-size: 1.35rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.fhv-nav__logo { border-radius: 50%; display: block; }
.fhv-nav__links {
	display: flex;
	gap: 1.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.fhv-nav__links a {
	color: #f3e7d2;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.96rem;
	transition: color 0.15s ease;
}
.fhv-nav__links a:hover { color: var(--ember); }
.fhv-nav__links-ig { display: none; } /* nur im Mobile-Menü sichtbar */

/* Burger (nur Mobile sichtbar) */
.fhv-nav__toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fhv-nav__burger { display: none; }
.fhv-nav__burger span {
	display: block;
	width: 26px;
	height: 3px;
	margin: 5px 0;
	background: #f3e7d2;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.fhv-hero {
	position: relative;
	background:
		radial-gradient(1200px 600px at 78% -10%, rgba(255,176,46,0.35), transparent 60%),
		radial-gradient(900px 500px at 10% 110%, rgba(238,77,30,0.45), transparent 55%),
		linear-gradient(160deg, #2a1c12 0%, #16100a 60%, #20140c 100%);
	color: #fff;
	overflow: hidden;
}
.fhv-hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 2.5rem;
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
}
.fhv-hero__title {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	font-size: clamp(3.4rem, 9vw, 6.5rem);
	line-height: 0.92;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0.4rem 0 1rem;
	background: linear-gradient(92deg, #fff 30%, var(--ember) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.fhv-hero__lead {
	font-size: 1.18rem;
	color: #ecd9c2;
	max-width: 30rem;
	margin: 0 0 2rem;
}
.fhv-hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.fhv-hero__crest { display: flex; justify-content: center; }
.fhv-hero__crest img {
	width: min(340px, 80%);
	height: auto;
	border-radius: 50%;
	box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 0 0 10px rgba(255,255,255,0.06);
	animation: fhv-float 6s ease-in-out infinite;
}
@keyframes fhv-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stat-Strip */
.fhv-hero__stats {
	border-top: 1px solid rgba(255,255,255,0.12);
	background: rgba(0,0,0,0.25);
}
.fhv-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
	padding: 1.4rem 24px;
}
.fhv-stat strong {
	display: block;
	font-family: 'Anton', sans-serif;
	font-size: 2.1rem;
	color: var(--ember);
	line-height: 1;
}
.fhv-stat span { font-size: 0.82rem; color: #d9c7af; letter-spacing: 0.04em; }

/* ==========================================================================
   SEKTIONEN
   ========================================================================== */
.fhv-sec { padding: 4.5rem 0; }
.fhv-sec--paper { background: var(--paper); }
.fhv-sec--tint  { background: linear-gradient(180deg, var(--tint), var(--cream)); }
.fhv-sec--dark  { background: radial-gradient(900px 500px at 90% 0%, rgba(238,77,30,0.18), transparent 60%), var(--ink); color: #fff; }
.fhv-sec--flame { background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 70%, #8e2407 100%); color: #fff; }

.fhv-sec__head { max-width: 40rem; margin: 0 0 2.4rem; }
.fhv-sec__title {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	font-size: clamp(2rem, 4.5vw, 3rem);
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0.3rem 0 0.5rem;
	line-height: 1;
}
.fhv-sec--dark .fhv-sec__title, .fhv-sec--flame .fhv-sec__title { color: #fff; }
.fhv-sec--flame .fhv-kicker { color: #ffe2c2; }
.fhv-sec__sub { font-size: 1.08rem; color: var(--muted); margin: 0; }
.fhv-sec--dark .fhv-sec__sub, .fhv-sec--flame .fhv-sec__sub { color: rgba(255,255,255,0.82); }

/* ==========================================================================
   GRID & CARDS
   ========================================================================== */
.fhv-grid { display: grid; gap: 1.25rem; }
.fhv-grid--4 { grid-template-columns: repeat(4, 1fr); }
.fhv-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* auto-fit: passt sich der Kartenzahl an (z. B. 5 Trainings) */
.fhv-grid--auto { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.fhv-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	position: relative;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fhv-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, var(--flame), var(--ember));
}
.fhv-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(22,16,10,0.16); }

.fhv-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.fhv-card__eyebrow {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.92rem;
	color: var(--green-deep);
}
.fhv-card__big {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	font-size: 1.7rem;
	color: var(--flame);
	margin: 0.1rem 0 0;
	letter-spacing: 0.01em;
}
.fhv-card__venue { font-weight: 600; margin: 0; }
.fhv-card__result { font-weight: 700; color: var(--ember); margin: 0; }
.fhv-card__link {
	margin-top: auto;
	font-size: 0.86rem;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px dotted var(--line);
	padding-top: 0.5rem;
	align-self: flex-start;
}
.fhv-card__link:hover { color: var(--flame); }

/* Dunkle Karten (Turniere) */
.fhv-card--dark {
	background: #221710;
	border-color: rgba(255,255,255,0.1);
	color: #f3e7d2;
}
.fhv-card--dark .fhv-card__eyebrow { color: var(--ember); }
.fhv-card--dark .fhv-card__link { color: #c4b39c; border-color: rgba(255,255,255,0.18); }
.fhv-card--dark .fhv-card__link:hover { color: var(--ember); }

/* Zustände */
.fhv-card.is-today { box-shadow: 0 0 0 3px rgba(238,77,30,0.25), 0 14px 32px rgba(238,77,30,0.18); }
.fhv-card.is-past { opacity: 0.62; }
.fhv-card.is-past::before { background: var(--muted); }

/* Pills */
.fhv-pill {
	display: inline-flex;
	align-items: center;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	align-self: flex-start;
	white-space: nowrap;
}
.fhv-pill--live   { background: var(--flame); color: #fff; }
.fhv-pill--accent { background: var(--green); color: #fff; white-space: normal; }
.fhv-pill--host   { background: var(--ember); color: #3a2400; }
.fhv-pill--mute   { background: #e7ddca; color: var(--muted); }

/* ==========================================================================
   COUNTDOWN
   ========================================================================== */
.fhv-countdown {
	text-align: center;
	margin: 0 auto 2.4rem;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 20px;
	padding: 1.8rem 1.4rem;
}
.fhv-countdown__label {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 800;
	font-size: 0.82rem;
	color: var(--ember);
	margin-bottom: 1.1rem;
}
.fhv-countdown__clock {
	display: flex;
	gap: 0.9rem;
	justify-content: center;
	flex-wrap: wrap;
}
.fhv-cd {
	min-width: 84px;
	background: rgba(0,0,0,0.28);
	border-radius: 14px;
	padding: 0.9rem 0.7rem;
}
.fhv-cd strong {
	display: block;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	font-size: 2.6rem;
	line-height: 1;
	color: #fff;
}
.fhv-cd span {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #c9b79e;
}
.fhv-cd--go strong { color: var(--ember); font-size: 1.8rem; }

/* ==========================================================================
   MITMACHEN / FORM
   ========================================================================== */
.fhv-join {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 2.5rem;
	align-items: start;
}
.fhv-join .fhv-kicker { color: #ffe2c2; }
.fhv-join__info .fhv-sec__head { margin-bottom: 1.4rem; }
.fhv-checklist { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.fhv-checklist li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1.9rem;
	font-size: 1.04rem;
	color: #fff;
}
.fhv-checklist li::before {
	content: '🏐';
	position: absolute;
	left: 0;
	top: 0.3rem;
}
.fhv-join__contact { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; font-weight: 700; }
.fhv-join__contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; min-width: 0; overflow-wrap: anywhere; }

.fhv-form {
	background: var(--paper);
	border-radius: 22px;
	padding: 1.8rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	box-shadow: 0 30px 60px rgba(0,0,0,0.28);
	max-width: 100%;
}
.fhv-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.fhv-field--full { grid-column: 1 / -1; }
.fhv-field label { font-weight: 700; font-size: 0.86rem; color: var(--ink); }
.fhv-field label span { color: var(--muted); font-weight: 500; }
.fhv-field input, .fhv-field select, .fhv-field textarea {
	font: inherit;
	font-size: 16px; /* verhindert Auto-Zoom auf iPhones */
	width: 100%;
	max-width: 100%;
	min-width: 0;    /* Felder dürfen im Grid schrumpfen (kein Overflow auf Handys) */
	padding: 0.7rem 0.85rem;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fhv-field select { text-overflow: ellipsis; }
.fhv-field input:focus, .fhv-field select:focus, .fhv-field textarea:focus {
	outline: none;
	border-color: var(--flame);
	box-shadow: 0 0 0 3px rgba(238,77,30,0.15);
}
.fhv-form__hint { font-size: 0.8rem; color: var(--muted); margin: 0.6rem 0 0; text-align: center; }

/* Honeypot – für Menschen unsichtbar */
.fhv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Fehlermeldung */
.fhv-form__error {
	background: #fff3d6;
	color: #8a4b00;
	border: 1.5px solid #f0c36d;
	border-radius: 12px;
	padding: 0.7rem 0.9rem;
	font-weight: 600;
	font-size: 0.9rem;
}

/* Danke-Box nach erfolgreichem Absenden */
.fhv-form--done {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 340px;
	gap: 0.3rem;
}
.fhv-done__icon { font-size: 3rem; }
.fhv-form--done h3 {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 2rem;
	color: var(--green-deep);
	margin: 0.2rem 0;
}
.fhv-form--done p { color: var(--ink); margin: 0; max-width: 22rem; }

/* "Details folgen" bei Turnieren ohne Ort */
.fhv-card__tba {
	margin-top: auto;
	font-size: 0.86rem;
	font-style: italic;
	color: var(--ember);
	padding-top: 0.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.fhv-footer { background: var(--ink); color: #d9c7af; }
.fhv-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
	padding: 3.5rem 24px 2.5rem;
}
.fhv-footer__brand img { border-radius: 50%; margin-bottom: 0.8rem; }
.fhv-footer__brand p { margin: 0 0 1rem; line-height: 1.5; }
.fhv-footer__col h3 {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #fff;
	font-size: 1.1rem;
	margin: 0 0 0.9rem;
}
.fhv-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.fhv-footer__col a { color: #d9c7af; text-decoration: none; }
.fhv-footer__col a:hover { color: var(--ember); }
.fhv-footer__col strong { color: #fff; }
.fhv-footer__bar {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 1.1rem 0;
	font-size: 0.82rem;
	color: #9c8a72;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
	.fhv-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.fhv-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.fhv-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.fhv-hero__crest { order: -1; }
	.fhv-hero__cta { justify-content: center; }
	.fhv-hero__lead { margin-left: auto; margin-right: auto; }
	.fhv-join { grid-template-columns: 1fr; }
	.fhv-footer__inner { grid-template-columns: 1fr 1fr; }

	/* Burger-Menü */
	.fhv-nav__cta { display: none; }
	.fhv-nav__burger { display: block; cursor: pointer; }
	.fhv-nav__links-ig { display: block; }
	.fhv-nav__links {
		display: none;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: rgba(22,16,10,0.98);
		backdrop-filter: blur(8px);
		border-top: 1px solid rgba(255,255,255,0.1);
		padding: 0.4rem 0 0.8rem;
	}
	.fhv-nav__toggle:checked ~ .fhv-nav__links { display: flex; }
	.fhv-nav__links li { width: 100%; }
	.fhv-nav__links a { display: block; padding: 0.9rem 24px; font-size: 1.05rem; }
	.fhv-nav__links a:hover { background: rgba(255,255,255,0.06); }

	/* Burger → X */
	.fhv-nav__toggle:checked ~ .fhv-nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.fhv-nav__toggle:checked ~ .fhv-nav__burger span:nth-child(2) { opacity: 0; }
	.fhv-nav__toggle:checked ~ .fhv-nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
	.fhv-grid--4, .fhv-grid--3, .fhv-grid--auto { grid-template-columns: 1fr; }
	.fhv-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
	.fhv-form { grid-template-columns: 1fr; padding: 1.3rem; }
	.fhv-join { gap: 1.8rem; }
	.fhv-footer__inner { grid-template-columns: 1fr; }
	.fhv-sec { padding: 3rem 0; }
	.fhv-wrap { padding: 0 18px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.fhv-btn, .fhv-card { transition: none; }
	.fhv-btn:hover, .fhv-card:hover { transform: none; }
	.fhv-hero__crest img { animation: none; }
}
