/*
Theme Name:   Felix Weigand – Divi Child
Theme URI:    https://www.felixweigand.music/
Description:  Child-Theme für Divi 5: dunkles, cineastisches Design, globaler Audio-Player, Track-Verwaltung, Schema.org, llms.txt und SEO-Grundlagen.
Author:       Felix Weigand
Template:     Divi
Version:      1.0.0
Requires PHP: 8.1
Text Domain:  felixweigand
*/

/* ---------- Fonts (lokal, DSGVO-freundlich) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/Poppins_regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/Poppins_500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/Poppins_600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/Poppins_700.woff2") format("woff2"); }

/* ---------- Design-Tokens ---------- */
:root {
	--fw-bg: #0B1220;
	--fw-bg-alt: #0E1626;
	--fw-bg-deep: #070C16;
	--fw-surface: #111A2B;
	--fw-surface-2: #131C2E;
	--fw-surface-3: #1B2740;
	--fw-line: #1F2A40;
	--fw-line-2: #2A3650;
	--fw-line-3: #364460;
	--fw-text: #F3F0EA;
	--fw-text-soft: #D5D9E2;
	--fw-text-muted: #C5CBD6;
	--fw-text-dim: #A9B1C2;
	--fw-accent: #B94C7F;
	--fw-accent-hover: #A43F6E;
	--fw-accent-light: #E58DB5;
	--fw-navy: #002C54;
	--fw-radius: 20px;
	--fw-radius-sm: 12px;
	--fw-container: 1240px;
	--fw-gutter: 24px;
	--fw-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fw-header-h: 78px;
}

/* ---------- Grundlayout ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body,
body.et_divi_theme {
	background: var(--fw-bg);
	color: var(--fw-text-muted);
	font-family: var(--fw-font);
	font-size: 16px;
	font-weight: 500; /* wie Divis Grundeinstellung, hier fest, damit Customizer oder Presets nichts verschieben */
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
#page-container { padding-top: 0 !important; margin-top: 0 !important; background: var(--fw-bg); }
#et-main-area, #main-content { background: var(--fw-bg); }
#main-content .container:before { display: none; }

body h1, body h2, body h3, body h4, body h5, body h6 {
	font-family: var(--fw-font);
	color: var(--fw-text);
	padding-bottom: 0;
	letter-spacing: 0;
}
body p { padding-bottom: 0; }
body a { color: var(--fw-accent-light); transition: color .15s ease; }
body a:hover { color: var(--fw-text); }
:focus-visible { outline: 2px solid var(--fw-accent-light); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

.fw-container { width: 100%; max-width: var(--fw-container); margin: 0 auto; padding: 0 var(--fw-gutter); box-sizing: border-box; }
.fw-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fw-skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--fw-text); color: var(--fw-bg) !important; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.fw-skip-link:focus { top: 12px; }

/* ---------- Divi-Sektionen im Child-Design ---------- */
/* Sektionen erhalten über Divi (Erweitert → CSS-Klasse) eine fw-Klasse. */
.et_pb_section.fw-section { background-color: var(--fw-bg); padding: 88px 0; }
.et_pb_section.fw-section--alt { background-color: var(--fw-bg-alt); border-top: 1px solid var(--fw-line); border-bottom: 1px solid var(--fw-line); padding: 72px 0; }
.et_pb_section.fw-section--tight { padding: 34px 0; }
.et_pb_section.fw-section .et_pb_row,
.et_pb_section.fw-section--alt .et_pb_row { width: 100%; max-width: var(--fw-container); padding: 0 var(--fw-gutter); box-sizing: border-box; }
.et_pb_section.fw-section .et_pb_row + .et_pb_row { padding-top: 32px; }
.et_pb_section.fw-section .et_pb_module { margin-bottom: 0; }
.et_pb_section.fw-section .et_pb_text_inner > *:first-child { margin-top: 0; }
.fw-narrow .et_pb_row { max-width: 928px !important; }

/* Hero */
.et_pb_section.fw-hero {
	background-color: var(--fw-bg);
	background-image: linear-gradient(90deg, rgba(11,18,32,.97) 0%, rgba(11,18,32,.88) 48%, rgba(11,18,32,.62) 100%), var(--fw-hero-image, url("assets/img/hero-1600.jpg"));
	background-size: cover;
	background-position: center var(--fw-hero-y, 60%);
	padding: 96px 0 88px;
}
@media (max-width: 767px) {
	.et_pb_section.fw-hero {
		background-image: linear-gradient(180deg, rgba(11,18,32,.80) 0%, rgba(11,18,32,.93) 55%, var(--fw-bg) 100%), var(--fw-hero-image-mobile, url("assets/img/hero-800.jpg"));
		background-position: 62% center;
		padding: 32px 0 28px;
	}
}

/* ---------- Typografie-Bausteine ---------- */
.fw-eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fw-accent-light); }
.fw-h1 { margin: 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
.fw-h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; }
.fw-h2--sm { font-size: clamp(26px, 2.8vw, 34px); }
.fw-lead { margin: 22px 0 0; max-width: 620px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; color: var(--fw-text-soft); }
.fw-copy { font-size: 16.5px; line-height: 1.7; color: var(--fw-text-soft); }
.fw-copy p + p { margin-top: 1em; }
.fw-copy > :first-child { margin-top: 0; }
.fw-copy h2 { margin: 1.6em 0 .5em; font-size: 26px; line-height: 1.25; }
.fw-copy h3 { margin: 1.4em 0 .4em; font-size: 20px; }
.fw-copy ul { margin: .8em 0 0 1.1em; padding: 0; }
.fw-copy li { margin: .35em 0; }
.fw-section-head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin-bottom: 36px; }
.fw-section-head p { margin: 0; color: var(--fw-text-muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.fw-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.fw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border-radius: 999px;
	font-family: var(--fw-font); font-size: 16px; font-weight: 600; line-height: 1;
	text-decoration: none; cursor: pointer; border: 0; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body .fw-btn--primary, body .fw-btn--primary:hover { color: #FFFFFF; }
.fw-btn--primary { background: var(--fw-accent); }
.fw-btn--primary:hover { background: var(--fw-accent-hover); }
body .fw-btn--ghost { color: var(--fw-text); border: 1.5px solid rgba(243,240,234,.55); background: transparent; }
body .fw-btn--ghost:hover { color: var(--fw-text); border-color: var(--fw-text); }
.fw-btn svg { flex: 0 0 auto; }
.fw-link-arrow { font-weight: 600; text-decoration: none; }

.fw-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.fw-pills__label { font-size: 13px; color: var(--fw-text-dim); margin-right: 4px; }
body .fw-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; font-size: 13px; color: var(--fw-text); text-decoration: none; border: 1px solid var(--fw-line-3); border-radius: 999px; }
body a.fw-pill:hover { border-color: var(--fw-accent-light); color: var(--fw-text); }

/* ---------- Hero-Layout ---------- */
.fw-hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.fw-hero-grid__main { flex: 999 1 560px; min-width: 0; }
.fw-hero-grid__side { flex: 1 1 340px; max-width: 420px; }
@media (max-width: 767px) {
	.fw-hero-grid { gap: 22px; }
	.fw-hero-grid__side { max-width: none; }
	.fw-actions { flex-direction: column; }
	.fw-actions .fw-btn { width: 100%; }
}

/* Release-Karte */
.fw-release { background: rgba(19,28,46,.92); border: 1px solid var(--fw-line-2); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.fw-release__top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.fw-release__label { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fw-accent-light); }
.fw-release__year { color: var(--fw-text-dim); }
.fw-release__cover { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; }
.fw-release__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-release__cover .fw-play { position: absolute; left: 18px; bottom: 18px; width: 60px; height: 60px; }
.fw-release__title { margin: 0; font-size: 22px; font-weight: 600; }
.fw-release__text { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--fw-text-muted); }
@media (max-width: 767px) {
	.fw-release { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 10px 12px 10px 10px; border-radius: 16px; }
	.fw-release__top { display: none; }
	.fw-release__cover { width: 64px; flex: 0 0 64px; border-radius: 10px; }
	.fw-release__cover .fw-play { display: none; }
	.fw-release__body { flex: 1 1 0; min-width: 0; }
	.fw-release__title { font-size: 16px; }
	.fw-release__text { display: none; }
	.fw-release__mobile-play { display: inline-flex !important; }
	.fw-release__spotify { display: none; }
}
.fw-release__mobile-play { display: none; width: 48px; height: 48px; flex: 0 0 auto; }

/* Play-Button */
.fw-play {
	display: inline-flex; align-items: center; justify-content: center;
	width: 54px; height: 54px; border-radius: 50%; border: 0; padding: 0;
	background: var(--fw-accent); color: #FFFFFF; cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.fw-play:hover { background: var(--fw-accent-hover); }
.fw-play .fw-icon-pause { display: none; }
.fw-play.is-playing .fw-icon-pause { display: block; }
.fw-play.is-playing .fw-icon-play { display: none; }

/* ---------- Vertrauensleiste ---------- */
.fw-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.fw-trust__item { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--fw-text); }
.fw-trust__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fw-accent-light); }
.fw-trust blockquote { margin: 0; padding: 0; border: 0; font-size: 16px; font-weight: 500; color: var(--fw-text); }
.fw-trust figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fw-trust figcaption { font-size: 13px; color: var(--fw-text-dim); }

/* ---------- Werke / Tracks ---------- */
.fw-work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.fw-work-head .fw-section-head { margin-bottom: 0; max-width: 640px; }
.fw-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fw-filter {
	min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	font-family: var(--fw-font); font-size: 14px; font-weight: 500;
	background: transparent; color: var(--fw-text); border: 1px solid var(--fw-line-3);
}
.fw-filter[aria-pressed="true"] { background: var(--fw-text); color: var(--fw-bg); border-color: var(--fw-text); }
.fw-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.fw-track { display: flex; flex-direction: column; gap: 14px; border-radius: 18px; padding: 10px 10px 16px; background: var(--fw-surface); outline: 2px solid transparent; transition: outline-color .15s ease, background .15s ease; }
.fw-track.is-current { background: #16213A; outline-color: var(--fw-accent-light); }
.fw-track[hidden] { display: none; }
.fw-track__cover { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--fw-surface-3); }
.fw-track__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-track__cover .fw-play { position: absolute; right: 14px; bottom: 14px; }
.fw-track__state { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 600; background: rgba(11,18,32,.85); color: var(--fw-text); border-radius: 999px; padding: 5px 11px; display: none; }
.fw-track.is-current .fw-track__state { display: block; }
.fw-track__body { display: flex; flex-direction: column; gap: 4px; padding: 0 6px; }
.fw-track__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.fw-track__meta { margin: 0; font-size: 14px; color: var(--fw-text-dim); }
.fw-more { display: flex; justify-content: center; margin-top: 30px; }
body .fw-more .fw-btn--ghost { min-height: 46px; font-size: 15px; border-color: var(--fw-line-3); }
.fw-work + .fw-pills { margin-top: 32px; }
.fw-notice { margin: 0; padding: 12px 16px; font-size: 14px; color: var(--fw-text-muted); border: 1px dashed var(--fw-line-3); border-radius: 8px; }

@media (max-width: 767px) {
	.fw-work-head { margin-bottom: 18px; }
	.fw-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--fw-gutter) * -1); padding: 0 var(--fw-gutter) 4px; scrollbar-width: none; }
	.fw-filter { flex: 0 0 auto; min-height: 40px; font-size: 13.5px; padding: 0 16px; }
	.fw-tracks { grid-template-columns: 1fr; gap: 0; margin: 0 -12px; }
	.fw-track { flex-direction: row; align-items: center; gap: 14px; padding: 9px 8px; border-radius: 14px; background: transparent; outline: 0; }
	.fw-track.is-current { background: #16213A; }
	.fw-track__cover { width: 56px; flex: 0 0 56px; border-radius: 10px; overflow: visible; background: none; }
	.fw-track__cover img { border-radius: 10px; }
	.fw-track__state { display: none !important; }
	.fw-track__body { order: 1; flex: 1 1 auto; min-width: 0; padding: 0; gap: 2px; }
	.fw-track__title { font-size: 15.5px; }
	.fw-track__meta { font-size: 12.5px; }
	.fw-track__cover .fw-play { position: static; }
	.fw-track__cover { display: contents; }
	.fw-track__cover img { width: 56px; height: 56px; flex: 0 0 56px; }
	.fw-track__cover .fw-play { order: 2; width: 44px; height: 44px; background: transparent; border: 1px solid var(--fw-line-3); }
	.fw-track.is-current .fw-play { background: var(--fw-accent); border-color: var(--fw-accent); }
}

/* ---------- Globaler Player ---------- */
.fw-player {
	position: fixed; left: 50%; bottom: 16px; z-index: 9990; transform: translate(-50%, 140%);
	width: min(calc(100% - 32px), 1240px); box-sizing: border-box;
	background: rgba(19,28,46,.97); border: 1px solid var(--fw-line-2); border-radius: 20px;
	padding: 12px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
	box-shadow: 0 18px 50px rgba(0,0,0,.45); color: var(--fw-text);
	transition: transform .3s ease; visibility: hidden;
}
.fw-player.is-visible { transform: translate(-50%, 0); visibility: visible; }
.fw-player__now { display: flex; align-items: center; gap: 14px; flex: 1 1 220px; min-width: 0; }
.fw-player__cover { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; display: block; flex: 0 0 auto; background: var(--fw-surface-3); }
.fw-player__text { display: flex; flex-direction: column; min-width: 0; }
.fw-player__title { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw-player__meta { font-size: 12.5px; color: var(--fw-text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw-player__controls { display: flex; align-items: center; gap: 10px; }
.fw-ctrl { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fw-line-3); background: transparent; color: var(--fw-text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.fw-ctrl:hover { border-color: var(--fw-accent-light); }
.fw-player__seek { flex: 2 1 260px; display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 12.5px; color: var(--fw-text-dim); font-variant-numeric: tabular-nums; }
.fw-player__range { flex: 1 1 auto; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--fw-accent-light) var(--fw-progress, 0%), var(--fw-line-2) var(--fw-progress, 0%)); cursor: pointer; margin: 0; }
.fw-player__range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--fw-text); border: 0; }
.fw-player__range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--fw-text); border: 0; }
body .fw-player__link { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.fw-player__close { border: 0; width: 36px; height: 36px; }
body.fw-player-open { padding-bottom: 110px; }
@media (max-width: 767px) {
	.fw-player { bottom: 10px; width: calc(100% - 20px); padding: 10px; gap: 8px 10px; border-radius: 18px; }
	.fw-player__now { flex: 1 1 0; }
	.fw-player__cover { width: 46px; height: 46px; }
	.fw-player__prev, .fw-player__link, .fw-player__time, .fw-player__close { display: none !important; }
	.fw-player__seek { flex: 1 1 100%; order: 3; padding: 0 4px; }
	.fw-player__range { height: 4px; }
	body.fw-player-open { padding-bottom: 130px; }
}

/* ---------- Karten, Ablauf, About, FAQ ---------- */
.fw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.fw-card { background: var(--fw-surface); border: 1px solid #22304A; border-radius: var(--fw-radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.fw-card h3 { margin: 0; font-size: 22px; font-weight: 600; }
.fw-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--fw-text-muted); }
.fw-card .fw-link-arrow { margin-top: auto; }
.fw-card__icon { width: 36px; height: 36px; color: var(--fw-accent-light); }

.fw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: fwstep; }
.fw-steps li { border-top: 2px solid var(--fw-accent); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; counter-increment: fwstep; }
.fw-steps li::before { content: counter(fwstep, decimal-leading-zero); font-size: 14px; font-weight: 700; color: var(--fw-accent-light); }
.fw-steps h3 { margin: 0; font-size: 19px; font-weight: 600; }
.fw-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fw-text-muted); }

.fw-about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.fw-about__img { flex: 0 0 auto; width: 300px; height: 300px; border-radius: 50%; object-fit: cover; display: block; }
.fw-about__body { flex: 999 1 520px; min-width: 0; }
.fw-about__body p { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--fw-text-soft); }

/* Zitat */
.fw-quote { margin: 36px 0 0; padding: 2px 0 2px 22px; border-left: 3px solid var(--fw-accent); }
.fw-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 19px; line-height: 1.55; font-weight: 500; color: var(--fw-text); }
.fw-quote figcaption { margin-top: 10px; font-size: 14px; color: var(--fw-text-dim); }
.fw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.fw-chips li { font-size: 13.5px; color: var(--fw-text); border: 1px solid var(--fw-line-3); border-radius: 999px; padding: 7px 14px; }
@media (max-width: 767px) { .fw-about { gap: 28px; } .fw-about__img { width: 200px; height: 200px; } }

.fw-faq { border-top: 1px solid var(--fw-line-2); margin-top: 28px; }
.fw-faq details { border-bottom: 1px solid var(--fw-line-2); }
.fw-faq summary { list-style: none; cursor: pointer; min-height: 64px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; color: var(--fw-text); }
.fw-faq summary::-webkit-details-marker { display: none; }
.fw-faq summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; font-weight: 400; color: var(--fw-accent-light); }
.fw-faq details[open] summary::after { content: "−"; }
.fw-faq details p { margin: 0 0 22px; max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--fw-text-muted); }

.fw-glance { background: var(--fw-bg); border: 1px solid var(--fw-line-2); border-radius: 18px; padding: 28px 30px; }
.fw-glance dl { margin: 16px 0 0; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 11px 18px; font-size: 15px; line-height: 1.5; }
.fw-glance dt { color: var(--fw-text-dim); }
.fw-glance dd { margin: 0; color: var(--fw-text); }
@media (max-width: 600px) { .fw-glance dl { grid-template-columns: 1fr; gap: 2px; } .fw-glance dd { margin-bottom: 10px; } }

/* ---------- Kontakt ---------- */
.fw-contact { display: flex; flex-wrap: wrap; gap: 56px; }
.fw-contact__intro { flex: 1 1 340px; }
.fw-contact__intro p { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--fw-text-soft); }
.fw-contact__facts { margin: 24px 0 0; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px 0; font-size: 15.5px; }
.fw-contact__facts dt { color: var(--fw-text-dim); }
.fw-contact__facts dd { margin: 0; color: var(--fw-text); }
.fw-contact__facts a { text-decoration: none; }
.fw-form { flex: 1.4 1 460px; background: var(--fw-surface); border: 1px solid #22304A; border-radius: 22px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; box-sizing: border-box; }
.fw-form__field { display: flex; flex-direction: column; gap: 7px; }
.fw-form__field--full, .fw-form__consent, .fw-form__submit, .fw-form__notice { grid-column: 1 / -1; }
.fw-form label { font-size: 14px; font-weight: 500; color: var(--fw-text); }
.fw-form input[type="text"], .fw-form input[type="email"], .fw-form select, .fw-form textarea {
	min-height: 48px; box-sizing: border-box; width: 100%;
	background: var(--fw-bg); border: 1px solid var(--fw-line-3); border-radius: var(--fw-radius-sm);
	color: var(--fw-text); font-family: var(--fw-font); font-size: 15px; padding: 0 14px;
}
.fw-form textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 140px; }
.fw-form input:focus, .fw-form select:focus, .fw-form textarea:focus { border-color: var(--fw-accent-light); outline: none; box-shadow: 0 0 0 3px rgba(229,141,181,.25); }
.fw-form__consent { display: flex; align-items: flex-start; gap: 10px; }
.fw-form__consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fw-accent); flex: 0 0 auto; }
.fw-form__consent label { font-size: 13.5px; line-height: 1.55; color: var(--fw-text-muted); font-weight: 400; }
.fw-form__hp { position: absolute !important; left: -9999px !important; }
/* Spezifischer als Divis „p:not(.has-background):last-of-type { padding-bottom: 0 }“ – sonst fehlt unten der Innenabstand. */
.fw-form p.fw-form__notice { margin: 0; border-radius: var(--fw-radius-sm); padding: 14px 16px; font-size: 15px; }
.fw-form__notice--ok { background: #12301F; border: 1px solid #2C6B45; color: #D3F0DC; }
.fw-form__notice--error { background: #3A1518; border: 1px solid #7A2A31; color: #FEE4E2; }
@media (max-width: 600px) { .fw-form { grid-template-columns: 1fr; padding: 22px; } .fw-contact { gap: 32px; } }

/* ---------- Header ---------- */
.fw-header { position: sticky; top: 0; z-index: 9980; background: rgba(11,18,32,.96); border-bottom: 1px solid var(--fw-line); backdrop-filter: saturate(140%) blur(8px); }
body.admin-bar .fw-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .fw-header { top: 0; } }
.fw-header__inner { min-height: var(--fw-header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fw-logo { display: flex; align-items: center; flex: 0 0 auto; }
.fw-logo img { height: 50px; width: auto; filter: invert(1); mix-blend-mode: screen; display: block; }
.fw-logo.is-light img { filter: none; mix-blend-mode: normal; }
.fw-nav { display: flex; align-items: center; gap: 28px; }
.fw-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
body .fw-nav a { color: var(--fw-text); font-size: 15px; font-weight: 500; text-decoration: none; }
body .fw-nav a:hover, body .fw-nav .current-menu-item > a, body .fw-nav .current_page_item > a { color: var(--fw-accent-light); }
.fw-lang { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fw-text-dim); }
body .fw-lang a { font-size: 14px; color: var(--fw-text-dim); font-weight: 500; }
body .fw-lang a[aria-current="true"] { color: var(--fw-text); font-weight: 700; }
body .fw-header .fw-btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.fw-menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--fw-line-3); background: transparent; color: var(--fw-text); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.fw-header__cta-mobile { display: none !important; }
@media (max-width: 980px) {
	:root { --fw-header-h: 64px; }
	.fw-logo img { height: 38px; }
	.fw-menu-toggle { display: inline-flex; }
	.fw-header__cta-mobile { display: inline-flex !important; min-height: 40px !important; padding: 0 14px !important; font-size: 13px !important; }
	.fw-header__right { display: flex; align-items: center; gap: 8px; }
	.fw-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--fw-bg); border-bottom: 1px solid var(--fw-line); padding: 12px var(--fw-gutter) 24px; flex-direction: column; align-items: stretch; gap: 8px; }
	.fw-nav.is-open { display: flex; }
	.fw-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.fw-nav ul a { display: flex; align-items: center; min-height: 48px; font-size: 17px; border-bottom: 1px solid var(--fw-line); }
	.fw-nav .fw-lang { min-height: 48px; }
	.fw-nav > .fw-btn { width: 100%; margin-top: 8px; }
}

/* ---------- Footer ---------- */
.fw-footer { background: var(--fw-bg-deep); border-top: 1px solid var(--fw-line); padding: 56px 0 32px; font-size: 14.5px; }
.fw-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.fw-footer__brand { max-width: 320px; display: flex; flex-direction: column; gap: 12px; }
.fw-footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fw-text-dim); }
.fw-footer__brand .fw-logo img { height: 52px; }
.fw-footer__cols { display: flex; flex-wrap: wrap; gap: 56px; }
.fw-footer__col { display: flex; flex-direction: column; gap: 10px; }
.fw-footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fw-footer__heading { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fw-text-dim); }
body .fw-footer a { color: var(--fw-text); text-decoration: none; }
body .fw-footer a:hover { color: var(--fw-accent-light); }
.fw-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; border-top: 1px solid var(--fw-line); padding-top: 22px; font-size: 13.5px; color: var(--fw-text-dim); }
.fw-footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
body .fw-footer__legal a { color: var(--fw-text-muted); }

/* ---------- Unterseiten: Kopfbild mit Verlauf ---------- */
/* Bild: Beitragsbild der Seite (inc/hero.php setzt --fw-hero-image), sonst das Waldbild der Startseite. */
.et_pb_section.fw-page-hero {
	background-color: var(--fw-bg);
	background-image:
		linear-gradient(180deg, rgba(11,18,32,.62) 0%, rgba(11,18,32,.78) 55%, var(--fw-bg) 100%),
		linear-gradient(90deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,0) 70%),
		var(--fw-hero-image, url("assets/img/hero-1600.jpg"));
	background-size: cover;
	background-position: center var(--fw-hero-y, 60%);
	padding: 112px 0 64px;
	min-height: 380px;
	box-sizing: border-box;
}
.et_pb_section.fw-page-hero + .et_pb_section.fw-section { padding-top: 40px; }
.fw-page-hero .fw-lead { max-width: 760px; }
.fw-page-hero .fw-h1 { font-size: clamp(34px, 4.6vw, 56px); text-shadow: 0 2px 24px rgba(11,18,32,.5); }
.fw-page-hero .fw-about__img { width: 220px; height: 220px; box-shadow: 0 0 0 4px rgba(243,240,234,.12); }
@media (max-width: 767px) {
	.et_pb_section.fw-page-hero {
		background-image:
			linear-gradient(180deg, rgba(11,18,32,.66) 0%, rgba(11,18,32,.84) 60%, var(--fw-bg) 100%),
			var(--fw-hero-image-mobile, url("assets/img/hero-800.jpg"));
		padding: 56px 0 40px;
		min-height: 0;
	}
}

/* Kopfbereiche mit Mindesthöhe: Deutsche Texte brechen öfter um, so beginnt der Inhalt darunter
   in EN und DE trotzdem auf gleicher Höhe. */
@media (min-width: 981px) {
	.et_pb_section.fw-hero { min-height: 700px; box-sizing: border-box; justify-content: center; }
	/* Inhalt unten: Der zusätzliche Platz liegt über dem Text, der Text bleibt nah am folgenden Abschnitt. */
	.et_pb_section.fw-page-hero { min-height: 480px; justify-content: flex-end; }
}

/* Zwei gleichfarbige Sektionen hintereinander: Abstand nicht verdoppeln */
.et_pb_section.fw-section:not(.fw-section--alt):not(.fw-hero):not(.fw-page-hero) + .et_pb_section.fw-section:not(.fw-section--alt) { padding-top: 0; }

/* Sobald ein Modul eine Divi-Animation hat, setzt Divis Skript overflow-y: hidden auf #page-container –
   damit bliebe der Header nicht mehr oben. */
#page-container { overflow-y: visible !important; }

/* Anker unter dem fixierten Header sichtbar halten (native Sprünge; Divis Smooth-Scroll korrigiert fw.js) */
html { scroll-padding-top: calc(var(--fw-header-h) + 24px); }
@media (min-width: 783px) { html:has(body.admin-bar) { scroll-padding-top: calc(var(--fw-header-h) + 56px); } }

/* Anker-Links im Menü (Work, FAQ) nicht als „aktuelle Seite“ markieren */
body .fw-nav .menu-item-type-custom.current-menu-item > a { color: var(--fw-text); }

.fw-trust, .fw-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- Divi-Reste ausblenden ---------- */
#main-header, #top-header, #main-footer, .et_pb_scroll_top { display: none !important; }

/* Divis Listen-Stile in Text- und Codemodulen für eigene Bausteine zurücksetzen */
.et_pb_module .fw-pills, .et_pb_module .fw-steps, .et_pb_module .fw-chips, .et_pb_module .fw-tracks,
.fw-footer ul, .fw-nav ul { list-style: none; padding: 0; line-height: inherit; }
.et_pb_module .fw-pills li, .et_pb_module .fw-chips li { margin: 0; }
.et_pb_module .fw-copy ul { list-style: disc; padding: 0 0 0 1.2em; line-height: 1.7; }

.fw-release .fw-release__mobile-play { display: none; }
@media (max-width: 767px) { .fw-release .fw-release__mobile-play { display: inline-flex; } }

/* Release-Label nur mobil im Kartenkörper */
.fw-release__label--mobile { display: none; font-size: 11px; }
@media (max-width: 767px) { .fw-release__label--mobile { display: block; } }
