/* Fast Cars — Komponenten-Stile (was theme.json nicht abdeckt).
   Tokens kommen als CSS-Custom-Properties aus theme.json (--wp--preset--color--*).
   Mood: Tech-Futurist (Designsystem §0). Eine Signalfarbe (Rot), dunkle Buehne,
   das Auto/der Preis ist der Held. */

:root {
	--fc-radius: 8px;
	--fc-radius-badge: 4px;
	--fc-primary: #DD0000;
	--fc-primary-hover: #EA0000;
	--fc-primary-deep: #7A0000;
	--fc-base: #0E0E0F;
	--fc-surface-dark: #1A1A1C;
	--fc-text-muted-dark: #9E9FA1;
	--fc-text-muted: #626262;
	--fc-border-dark: #2A2A2D;
	--fc-border-light: #E6E6E8;
	--fc-display: var(--wp--preset--font-family--display, "Space Grotesk", "Barlow Condensed", system-ui, sans-serif);
	--fc-body: var(--wp--preset--font-family--body, "IBM Plex Sans", system-ui, -apple-system, sans-serif);
}

/* ========================================================================
   Signatur: Speed-Line-Trenner (Designsystem §11)
   ======================================================================== */
.fc-speed-divider {
	height: 4px;
	width: 96px;
	border-radius: 2px;
	background: linear-gradient(90deg, #7A0000 0%, #DD0000 60%, #EA0000 100%);
	transform: skewX(-24deg);
	margin: 0 0 1rem;
}
@media (prefers-reduced-motion: no-preference) {
	.fc-speed-divider.reveal { animation: fc-grow .5s ease-out both; }
}
@keyframes fc-grow { from { width: 0; opacity: 0; } to { width: 96px; opacity: 1; } }

/* ========================================================================
   Reveal-on-scroll (Designsystem §14.1) — GPU-only (opacity/transform)
   ======================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.fc-reveal {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity .6s ease, transform .6s ease;
		will-change: opacity, transform;
	}
	.fc-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* ========================================================================
   Header (sticky, dunkel) — Designsystem §10
   ======================================================================== */
.fc-header {
	position: sticky;
	top: 0;
	z-index: 60;
	border-bottom: 1px solid var(--fc-border-dark);
	transition: padding .2s ease;
}
.fc-header .wp-block-site-logo img,
.fc-header .custom-logo { max-width: 160px; height: auto; }
.fc-header__tel a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}
.fc-header__tel a::before {
	content: "";
	width: 16px; height: 16px;
	background: var(--fc-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.4 11.4 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.4 11.4 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fc-header .wp-block-navigation a { color: #fff; }
.fc-header .wp-block-navigation a:hover { color: var(--fc-primary); }

/* ========================================================================
   Buttons — Designsystem §10 (Primaer rot, Sekundaer outline)
   ======================================================================== */
.wp-element-button,
.wp-block-button__link {
	font-family: var(--fc-body);
	font-weight: 600;
	border-radius: var(--fc-radius);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
/* Magnetischer Primaer-CTA (Designsystem §14.3) */
@media (prefers-reduced-motion: no-preference) {
	.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
		transform: translateY(-2px) scale(1.02);
		box-shadow: 0 6px 20px rgba(221,0,0,.35);
	}
}
.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1.5px solid #fff;
	color: #fff;
}
.is-style-outline .wp-block-button__link:hover {
	background: var(--fc-primary);
	border-color: var(--fc-primary);
	color: #fff;
}

/* ========================================================================
   Hero — dunkle Buehne, kondensierte H1 (Designsystem §10/§12)
   KEIN symmetrischer 3-Spalter mit Stockfoto rechts.
   ======================================================================== */
.fc-hero {
	position: relative;
	background:
		radial-gradient(120% 90% at 80% -10%, rgba(221,0,0,.22) 0%, rgba(221,0,0,0) 55%),
		linear-gradient(180deg, #0E0E0F 0%, #161617 100%);
	color: #fff;
	overflow: hidden;
}
.fc-hero::after {
	/* diagonale Speed-Line-Akzente, greifen das Logo-Motiv auf */
	content: "";
	position: absolute;
	right: -10%;
	top: 0;
	width: 70%;
	height: 100%;
	background:
		linear-gradient(115deg, transparent 0 48%, rgba(221,0,0,.30) 48% 49%, transparent 49%),
		linear-gradient(115deg, transparent 0 60%, rgba(221,0,0,.16) 60% 60.6%, transparent 61%),
		linear-gradient(115deg, transparent 0 70%, rgba(255,255,255,.05) 70% 70.4%, transparent 71%);
	pointer-events: none;
}
.fc-hero__inner { position: relative; z-index: 1; }
.fc-hero__eyebrow {
	font-family: var(--fc-body);
	font-size: .8125rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fc-primary);
	font-weight: 600;
	margin: 0 0 .75rem;
}
.fc-hero h1 {
	max-width: 16ch;
	margin: 0 0 1rem;
}
.fc-hero__lead {
	max-width: 50ch;
	color: var(--fc-text-muted-dark);
	font-size: 1.0625rem;
}

/* ========================================================================
   Trust-Badge-Reihe — Designsystem §10
   ======================================================================== */
.fc-trust {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.5rem;
	align-items: center;
	color: var(--fc-text-muted-dark);
	font-size: .8125rem;
	font-weight: 500;
}
.fc-trust__item {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	white-space: nowrap;
}
.fc-trust__item::before {
	content: "";
	width: 7px; height: 7px;
	border-radius: 1px;
	background: var(--fc-primary);
	transform: skewX(-18deg);
	flex: none;
}
.fc-trust__stars { color: #FFB400; letter-spacing: -1px; }

/* ========================================================================
   3 Saeulen-Cards (Fahrzeuge | Auto verkaufen | Werkstatt)
   ======================================================================== */
.fc-pillars { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.fc-pillar {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 1.75rem 1.5rem;
	border-radius: var(--fc-radius);
	background: var(--fc-surface-dark);
	color: #fff;
	border: 1px solid var(--fc-border-dark);
	text-decoration: none;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.fc-pillar::before {
	content: "";
	position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
	background: linear-gradient(180deg, #7A0000, #DD0000, #EA0000);
	transform: scaleY(0); transform-origin: top;
	transition: transform .25s ease;
}
.fc-pillar:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.4); border-color: var(--fc-primary); }
.fc-pillar:hover::before { transform: scaleY(1); }
.fc-pillar__icon { width: 36px; height: 36px; color: var(--fc-primary); }
.fc-pillar h3 { font-family: var(--fc-display); margin: 0; color: #fff; }
.fc-pillar p { color: var(--fc-text-muted-dark); font-size: .9375rem; margin: 0; }
.fc-pillar__link { color: var(--fc-primary); font-weight: 600; font-size: .9375rem; margin-top: auto; }
@media (min-width: 768px) { .fc-pillars { grid-template-columns: repeat(3, 1fr); } }

/* ========================================================================
   Fahrzeug-Card — Preis ist das staerkste Element (Designsystem §5.4/§10)
   ======================================================================== */
.fc-vehicle-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 600px) { .fc-vehicle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fc-vehicle-grid { grid-template-columns: repeat(3, 1fr); } }

.fc-vehicle-card {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--surface, #fff);
	border: 1px solid var(--fc-border-light);
	border-radius: var(--fc-radius);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	position: relative;
}
.fc-vehicle-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0,0,0,.18);
	border-color: var(--fc-primary);
}
.fc-vehicle-card__media { position: relative; aspect-ratio: 16/10; background: #161617; overflow: hidden; }
.fc-vehicle-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-vehicle-card__ph {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	color: #4a4a4d; font-family: var(--fc-display); font-size: .8125rem;
	letter-spacing: .1em; text-transform: uppercase;
	background:
		radial-gradient(80% 60% at 70% 30%, rgba(221,0,0,.12), transparent 60%),
		linear-gradient(160deg, #1A1A1C, #0E0E0F);
}
.fc-vehicle-card__badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--fc-primary);
	color: #fff; font-size: .75rem; font-weight: 600;
	padding: 4px 10px; border-radius: var(--fc-radius-badge);
}
.fc-vehicle-card__body { display: flex; flex-direction: column; gap: .65rem; padding: 1rem 1.1rem 1.25rem; flex: 1; }
.fc-vehicle-card__title {
	font-family: var(--fc-display);
	font-weight: 600; font-size: 1.0625rem; line-height: 1.25;
	margin: 0; color: var(--fc-base);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fc-vehicle-card__title a { color: inherit; text-decoration: none; }
.fc-vehicle-card__specs {
	display: flex; flex-wrap: wrap; gap: .4rem .9rem;
	font-size: .8125rem; color: var(--fc-text-muted);
	margin: 0; list-style: none; padding: 0;
}
.fc-vehicle-card__specs li { display: inline-flex; align-items: center; gap: .3rem; }
.fc-vehicle-card__specs svg { width: 15px; height: 15px; color: var(--fc-text-muted); flex: none; }
.fc-vehicle-card__foot {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: .75rem; margin-top: auto; padding-top: .25rem;
}
.fc-vehicle-card__price {
	font-family: var(--fc-display);
	font-weight: 700; font-size: 1.5rem; line-height: 1;
	color: var(--fc-base);
}
.fc-vehicle-card__vat { display: block; font-family: var(--fc-body); font-size: .6875rem; font-weight: 400; color: var(--fc-text-muted); margin-top: .2rem; }
.fc-vehicle-card__cta {
	display: inline-flex; align-items: center; gap: .35rem;
	color: var(--fc-primary); font-weight: 600; font-size: .875rem; text-decoration: none; white-space: nowrap;
}
.fc-vehicle-card__cta:hover { color: var(--fc-primary-hover); }

/* ========================================================================
   Werkstatt-Leistungs-Cards (9 Leistungen)
   ======================================================================== */
.fc-services {
	display: grid; gap: 1rem;
	grid-template-columns: 1fr;
}
@media (min-width: 600px) { .fc-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fc-services { grid-template-columns: repeat(3, 1fr); } }
.fc-service {
	padding: 1.4rem 1.3rem;
	border: 1px solid var(--fc-border-light);
	border-radius: var(--fc-radius);
	background: #fff;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.fc-service:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); border-color: var(--fc-primary); }
.fc-service__icon { width: 30px; height: 30px; color: var(--fc-primary); margin-bottom: .6rem; }
.fc-service h3 { font-family: var(--fc-display); font-size: 1.125rem; margin: 0 0 .35rem; color: var(--fc-base); }
.fc-service p { font-size: .9rem; color: var(--fc-text-muted); margin: 0; }
.fc-service--usp { background: var(--fc-base); border-color: var(--fc-border-dark); }
.fc-service--usp h3 { color: #fff; }
.fc-service--usp p { color: var(--fc-text-muted-dark); }

/* ========================================================================
   Ankauf-Stepper (4) — nummerierte rote Kreise + Speed-Line-Verbindung
   ======================================================================== */
.fc-stepper {
	display: grid; gap: 1.25rem;
	grid-template-columns: 1fr;
	counter-reset: fc-step;
}
@media (min-width: 768px) { .fc-stepper { grid-template-columns: repeat(4, 1fr); } }
.fc-step { position: relative; padding-top: .5rem; }
.fc-step__num {
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--fc-primary); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--fc-display); font-weight: 700; font-size: 1.25rem;
	margin-bottom: .75rem;
}
.fc-step h3 { font-family: var(--fc-display); font-size: 1.0625rem; margin: 0 0 .3rem; }
.fc-step p { font-size: .9rem; color: var(--fc-text-muted); margin: 0; }
/* Verbindungslinie als Speed-Line (Desktop) */
@media (min-width: 768px) {
	.fc-step:not(:last-child)::after {
		content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 3px;
		background: linear-gradient(90deg, #DD0000, rgba(221,0,0,.15));
	}
}
.fc-stepper--on-dark .fc-step h3 { color: #fff; }
.fc-stepper--on-dark .fc-step p { color: var(--fc-text-muted-dark); }

/* ========================================================================
   Bewertungs-/Testimonial-Karte
   ======================================================================== */
.fc-reviews { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .fc-reviews { grid-template-columns: repeat(3, 1fr); } }
.fc-review {
	padding: 1.4rem 1.3rem; border-radius: var(--fc-radius);
	background: #fff; border: 1px solid var(--fc-border-light);
	display: flex; flex-direction: column; gap: .6rem;
}
.fc-review__stars { color: #FFB400; letter-spacing: -1px; font-size: 1.05rem; }
.fc-review p { margin: 0; color: var(--fc-base); font-size: .95rem; }
.fc-review__author { font-size: .8125rem; color: var(--fc-text-muted); font-weight: 500; }
.fc-review__author span { color: var(--fc-text-muted); font-weight: 400; }

/* ========================================================================
   Team-Karten (Ueber uns)
   ======================================================================== */
.fc-team { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .fc-team { grid-template-columns: repeat(4, 1fr); } }
.fc-team__card { text-align: center; }
.fc-team__avatar {
	width: 84px; height: 84px; border-radius: 50%; margin: 0 auto .6rem;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(160deg, #1A1A1C, #0E0E0F);
	color: var(--fc-primary); font-family: var(--fc-display); font-weight: 700; font-size: 1.5rem;
	border: 1px solid var(--fc-border-dark);
}
.fc-team__name { font-family: var(--fc-display); font-weight: 600; margin: 0; font-size: 1rem; }
.fc-team__role { font-size: .8125rem; color: var(--fc-text-muted); }

/* ========================================================================
   FAQ-Akkordeon (natives <details>, tastaturbedienbar)
   ======================================================================== */
.fc-faq { display: flex; flex-direction: column; gap: .6rem; }
.fc-faq__item {
	border: 1px solid var(--fc-border-light); border-radius: var(--fc-radius);
	background: #fff; overflow: hidden;
}
.fc-faq__item summary {
	cursor: pointer; list-style: none;
	padding: 1rem 1.2rem; font-family: var(--fc-display); font-weight: 600;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	color: var(--fc-base);
}
.fc-faq__item summary::-webkit-details-marker { display: none; }
.fc-faq__item summary::after {
	content: "+"; color: var(--fc-primary); font-size: 1.5rem; line-height: 1; flex: none;
}
.fc-faq__item[open] summary::after { content: "\2013"; }
.fc-faq__item > div { padding: 0 1.2rem 1.1rem; color: var(--fc-text-muted); font-size: .95rem; }

/* ========================================================================
   CTA-Banner (dunkle Vollbreite-Sektion vor Footer)
   ======================================================================== */
.fc-cta-banner { text-align: center; }
.fc-cta-banner h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.fc-cta-banner__tel { color: #fff; font-family: var(--fc-display); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.fc-cta-banner__tel:hover { color: var(--fc-primary); }

/* ========================================================================
   Finanzierungsrechner
   ======================================================================== */
.fc-finance {
	background: var(--fc-surface-dark);
	color: #fff;
	border-radius: var(--fc-radius);
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--fc-border-dark);
}
.fc-finance__title { font-family: var(--fc-display); margin: 0 0 1rem; color: #fff; }
.fc-finance__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fc-finance__field { display: flex; flex-direction: column; gap: .25rem; font-size: .875rem; color: var(--fc-text-muted-dark); }
.fc-finance__field input {
	border: 1px solid var(--fc-border-dark);
	background: #0E0E0F; color: #fff;
	border-radius: var(--fc-radius); padding: 10px 12px; font-size: 1rem;
	font-family: var(--fc-body);
}
.fc-finance__field input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fc-finance__result { margin: 1.25rem 0; }
.fc-finance__rate { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.fc-finance__rate-label { color: var(--fc-text-muted-dark); font-size: .9rem; }
.fc-finance__rate-value { font-family: var(--fc-display); font-size: 2.25rem; color: var(--fc-primary); font-weight: 700; }
.fc-finance__total { color: var(--fc-text-muted-dark); font-size: .875rem; }
.fc-finance__cta { display: inline-block; margin-top: .5rem; background: var(--fc-primary); color: #fff; padding: 12px 22px; border-radius: var(--fc-radius); font-weight: 600; text-decoration: none; }
.fc-finance__cta:hover { background: var(--fc-primary-hover); }
.fc-finance__disclaimer { color: var(--fc-text-muted-dark); font-size: .75rem; margin-top: 1rem; }
@media (max-width: 480px) { .fc-finance__grid { grid-template-columns: 1fr; } }

/* ========================================================================
   Filter-/Such-UI (Listing) — Desktop-Sidebar / Mobile-Drawer
   ======================================================================== */
.fc-listing { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .fc-listing { grid-template-columns: 280px 1fr; align-items: start; } }
.fc-filter {
	background: #fff; border: 1px solid var(--fc-border-light);
	border-radius: var(--fc-radius); padding: 1.25rem;
}
.fc-filter h2 { font-size: 1.125rem; margin: 0 0 1rem; }
.fc-filter__field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; font-size: .8125rem; font-weight: 600; color: var(--fc-text-muted); }
.fc-filter__field select,
.fc-filter__field input {
	border: 1px solid var(--fc-border-light); border-radius: var(--fc-radius);
	padding: 9px 11px; font-size: .9375rem; font-family: var(--fc-body); color: var(--fc-base); background: #fff; min-height: 42px;
}
.fc-filter__range { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.fc-filter__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.fc-filter__submit { background: var(--fc-primary); color: #fff; border: none; border-radius: var(--fc-radius); padding: 11px 18px; font-weight: 600; cursor: pointer; flex: 1; min-height: 44px; }
.fc-filter__submit:hover { background: var(--fc-primary-hover); }
.fc-filter__reset { background: transparent; border: 1px solid var(--fc-border-light); border-radius: var(--fc-radius); padding: 11px 18px; color: var(--fc-text-muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.fc-listing__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.fc-listing__count { color: var(--fc-text-muted); font-size: .9rem; }
.fc-listing__sort { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.fc-listing__sort select { border: 1px solid var(--fc-border-light); border-radius: var(--fc-radius); padding: 8px 10px; font-family: var(--fc-body); min-height: 40px; }

/* Mobile Filter-Drawer (CSS-only, via :target/checkbox-Toggle) */
.fc-filter-toggle { display: inline-flex; align-items: center; gap: .4rem; background: var(--fc-base); color: #fff; border: none; border-radius: var(--fc-radius); padding: 11px 16px; font-weight: 600; cursor: pointer; min-height: 44px; }
@media (min-width: 1024px) { .fc-filter-toggle { display: none; } }

/* ========================================================================
   Fahrzeug-Detail — Datenblock + Galerie
   ======================================================================== */
.fc-detail__data { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--fc-border-light); }
@media (min-width: 600px) { .fc-detail__data { grid-template-columns: 1fr 1fr; } }
.fc-detail__data li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--fc-border-light); font-size: .95rem; }
.fc-detail__data dt, .fc-detail__data .k { color: var(--fc-text-muted); }
.fc-detail__data dd, .fc-detail__data .v { margin: 0; font-weight: 600; color: var(--fc-base); text-align: right; }
.fc-detail__price { font-family: var(--fc-display); font-weight: 700; font-size: 2rem; color: var(--fc-base); }
.fc-detail__price small { display: block; font-family: var(--fc-body); font-size: .8125rem; font-weight: 400; color: var(--fc-text-muted); }
.fc-detail__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .75rem; }
.fc-detail__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

/* ========================================================================
   Formulare (CF7 + native) — Designsystem §10
   ======================================================================== */
.fc-form { display: flex; flex-direction: column; gap: .85rem; max-width: 640px; }
.fc-form input[type="text"],
.fc-form input[type="email"],
.fc-form input[type="tel"],
.fc-form input[type="number"],
.fc-form input[type="date"],
.fc-form input[type="time"],
.fc-form select,
.fc-form textarea {
	width: 100%;
	border: 1px solid var(--fc-border-light);
	border-radius: var(--fc-radius);
	padding: 12px 14px;
	font-size: 1rem;
	font-family: var(--fc-body);
	color: var(--fc-base);
	background: #fff;
	min-height: 48px;
}
.fc-form textarea { min-height: 120px; resize: vertical; }
.fc-form input:focus-visible,
.fc-form select:focus-visible,
.fc-form textarea:focus-visible { outline: 2px solid var(--fc-primary); outline-offset: 1px; border-color: var(--fc-primary); }
.fc-form label { font-weight: 600; font-size: .875rem; color: var(--fc-text-muted); }
.fc-form .fc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 520px) { .fc-form .fc-form__row { grid-template-columns: 1fr; } }
.fc-form__group { border: 1px solid var(--fc-border-light); border-radius: var(--fc-radius); padding: 1.25rem; }
.fc-form__group legend { font-family: var(--fc-display); font-weight: 600; padding: 0 .4rem; color: var(--fc-base); }
.fc-form .wpcf7-acceptance,
.fc-form .fc-form__consent { font-size: .8125rem; color: var(--fc-text-muted); font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
.fc-form input[type="submit"],
.fc-form .wpcf7-submit,
.fc-form button[type="submit"] {
	background: var(--fc-primary); color: #fff; border: none;
	border-radius: var(--fc-radius); padding: 14px 26px; font-weight: 600; font-size: 1rem;
	cursor: pointer; min-height: 50px; align-self: flex-start;
}
.fc-form input[type="submit"]:hover,
.fc-form .wpcf7-submit:hover,
.fc-form button[type="submit"]:hover { background: var(--fc-primary-hover); }
/* Honeypot verstecken */
.fc-form .hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* CF7-States */
.wpcf7-response-output { border-radius: var(--fc-radius); padding: .85rem 1rem !important; margin: .75rem 0 0 !important; }
.wpcf7 form.sent .wpcf7-response-output { border: 1px solid #1a7f37 !important; background: #eaf6ee; color: #0b5226; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border: 1px solid var(--fc-primary) !important; background: #fdeaea; color: #7a0000; }
.wpcf7-not-valid-tip { color: var(--fc-primary); font-size: .8125rem; }

/* Mehrstufiges Formular: Fortschrittsanzeige */
.fc-progress { display: flex; gap: .4rem; margin-bottom: 1.25rem; }
.fc-progress__seg { flex: 1; height: 5px; border-radius: 3px; background: var(--fc-border-light); overflow: hidden; }
.fc-progress__seg.is-active { background: var(--fc-primary); }

/* ========================================================================
   Karte (DSGVO-Consent-Platzhalter) — Designsystem §10/Konzept §6.6
   ======================================================================== */
.fc-map-consent {
	border-radius: var(--fc-radius); overflow: hidden;
	background: linear-gradient(160deg, #1A1A1C, #0E0E0F);
	color: #fff; padding: 2.5rem 1.5rem; text-align: center;
	border: 1px solid var(--fc-border-dark);
}
.fc-map-consent h3 { color: #fff; margin: 0 0 .5rem; }
.fc-map-consent p { color: var(--fc-text-muted-dark); font-size: .9rem; max-width: 44ch; margin: 0 auto 1.1rem; }
.fc-map-consent button,
.fc-map-consent a.btn { background: var(--fc-primary); color: #fff; border: none; border-radius: var(--fc-radius); padding: 12px 22px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }

/* ========================================================================
   Mobile Sticky-CTA-Bar — Designsystem §10
   ======================================================================== */
.fc-sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	display: grid; grid-template-columns: 1fr 1fr 1fr;
	background: var(--fc-base);
	border-top: 1px solid var(--fc-border-dark);
	box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.fc-sticky-cta a {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-height: 56px; padding: 8px 6px; font-size: .8125rem; font-weight: 600;
	color: #fff; text-decoration: none; gap: 2px;
}
.fc-sticky-cta a svg { width: 18px; height: 18px; }
.fc-sticky-cta a.is-primary { background: var(--fc-primary); }
.fc-sticky-cta a.is-whatsapp svg { color: #25D366; }
@media (min-width: 768px) { .fc-sticky-cta { display: none; } }
/* damit der Footer-Inhalt nicht unter der Bar verschwindet (mobil) */
@media (max-width: 767px) { body { padding-bottom: 56px; } }

/* ========================================================================
   Footer
   ======================================================================== */
.fc-footer .wp-block-navigation a { color: var(--fc-text-muted-dark); }
.fc-footer .wp-block-navigation a:hover { color: #fff; }
.fc-footer a { color: var(--fc-text-muted-dark); }
.fc-footer a:hover { color: #fff; }

/* ========================================================================
   Sektions-Helfer
   ======================================================================== */
.fc-section-head { margin-bottom: 1.75rem; }
.fc-section-head h2 { margin: 0; }
.fc-eyebrow { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fc-primary); font-weight: 600; }

/* ========================================================================
   A11y: sichtbarer Fokus ueberall (Designsystem §16)
   ======================================================================== */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible, details:focus-visible {
	outline: 2px solid var(--fc-primary);
	outline-offset: 2px;
}
/* Auf dunklen Flaechen weisser Fokus-Ring */
.fc-header a:focus-visible, .fc-footer a:focus-visible,
.fc-hero a:focus-visible, .fc-pillar:focus-visible,
.fc-sticky-cta a:focus-visible, .fc-finance a:focus-visible,
.fc-cta-banner a:focus-visible, .fc-map-consent button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Skip-Link */
.fc-skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--fc-primary); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--fc-radius) 0; font-weight: 600;
}
.fc-skip-link:focus { left: 0; }
