/* =====================================================================
   Taxi Seppi – Stylesheet (pixvorlage-Design-System, Schwarz/Gelb)
   Senior Web Programmer: Daniel Beck / Pixlwerk
   ===================================================================== */

/* ----------------------------------------------------------------------
   0. Hausschrift (self-hosted – CSP font-src 'self')
   ---------------------------------------------------------------------- */
@font-face {
	font-family: 'Bebas Neue';
	src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ----------------------------------------------------------------------
   1. Design-Tokens
   ---------------------------------------------------------------------- */
:root {
	--primary-ci:      #ffc107;
	--primary-dark:    #e0a800;
	--primary-light:   #2b230a;
	--gradient-1:      #ffc107;
	--gradient-2:      #ffd600;
	--primary-gradient: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);

	--ink:             #0a0a0a;   /* Seitengrund                     */
	--ink-2:           #111111;   /* Wechselflächen                  */
	--ink-3:           #181818;   /* Karten                          */
	--line:            rgba(255, 255, 255, 0.08);
	--body-color:      #c9c9c9;
	--heading-color:   #ffffff;
	--muted:           #9a9a9a;
	--bg-soft:         var(--ink-2);
	--card-radius:     1.25rem;
	--shadow-soft:     0 10px 30px rgba(0, 0, 0, 0.35);
	--shadow-hover:    0 18px 45px rgba(0, 0, 0, 0.5);
	--glow:            0 0 0 1px rgba(255, 193, 7, .25), 0 12px 40px -10px rgba(255, 193, 7, .45);

	--font-base:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;

	/* Bootstrap-Linkfarbe (sonst Standardblau, sichtbar v.a. auf iOS) */
	--bs-link-color: #ffc107;
	--bs-link-hover-color: #ffd600;
	--bs-link-color-rgb: 255, 193, 7;
	--bs-link-hover-color-rgb: 255, 214, 0;
	--bs-body-bg: #0a0a0a;
	--bs-body-color: #c9c9c9;
}
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; }

/* ----------------------------------------------------------------------
   2. Grundlayout
   ---------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
	font-family: var(--font-base);
	color: var(--body-color);
	background-color: var(--ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: anywhere;
}

h1, h2, h3, .display-font {
	font-family: var(--font-display);
	font-weight: 400;
	color: var(--heading-color);
	letter-spacing: .02em;
	line-height: .95;
	text-transform: uppercase;
	overflow-wrap: normal;
}
h4, h5, h6 { color: var(--heading-color); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: .03em; }
.dot { color: var(--primary-ci); }

a { transition: color .2s ease, opacity .2s ease; }
main { min-height: 60vh; }
.text-muted { color: var(--muted) !important; }
.lead { font-weight: 400; }

.text-primary-ci { color: var(--primary-ci) !important; }
.bg-primary-ci   { background-color: var(--primary-ci) !important; }
.bg-soft         { background-color: var(--bg-soft) !important; }
.bg-ink          { background-color: var(--ink) !important; }

/* Taxi-Schachbrett als Markenstreifen */
.taxi-strip {
	height: 12px;
	background: repeating-conic-gradient(var(--primary-ci) 0 25%, var(--ink) 0 50%) 0 0 / 24px 24px;
}

/* Skip-Link */
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 2000;
	background: var(--primary-ci); color: #000; padding: .75rem 1.25rem;
	border-radius: 0 0 .5rem 0; text-decoration: none; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Sektionen */
.section { padding: 5rem 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h1, .section-head h2, .section-head p { text-wrap: balance; }
.section-head p { font-size: 1.1rem; }
/* Gelbe Anruf-Fläche: deutlich Luft zum vorhergehenden Block */
.section--cta { padding: 5rem 0 4rem; }
.section--cta + .taxi-strip { margin-top: 0; }

/* ----------------------------------------------------------------------
   3. Navigation
   ---------------------------------------------------------------------- */
.navbar {
	padding: .9rem 0;
	background-color: rgba(10, 10, 10, 0.82);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: padding .3s ease, background-color .3s ease;
}
.navbar-scrolled { padding: .55rem 0; background-color: rgba(10, 10, 10, 0.96); }

.navbar-brand { flex-shrink: 0; gap: .75rem; }
.brand-tile {
	width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
	box-shadow: 0 0 0 2px rgba(255,255,255,.08);
	transition: transform .2s ease;
}
.navbar-brand:hover .brand-tile { transform: rotate(-4deg) scale(1.04); }
.brand-name {
	font-family: var(--font-display); font-size: 1.55rem; line-height: 1;
	color: #fff; letter-spacing: .04em; text-transform: uppercase;
}
.brand-sub { font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.navbar .nav-link {
	color: #e6e6e6; font-weight: 600; padding: .55rem 1rem !important;
	border-radius: .6rem; transition: color .2s ease, background-color .2s ease;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--primary-ci); }
.navbar .nav-link.active { color: var(--primary-ci); background-color: var(--primary-light); }
.navbar-toggler { border: 0; color: var(--primary-ci); padding: .35rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
	.navbar { background-color: rgba(10, 10, 10, 0.97); }
	.navbar-collapse { padding-bottom: .5rem; }
}

/* ----------------------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------------------- */
.btn-pill {
	border-radius: 50rem; padding: .75rem 1.6rem; font-weight: 700;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-pill:hover { transform: translateY(-2px); }

.btn-ci {
	background-image: var(--primary-gradient);
	border: none; color: #0a0a0a;
	box-shadow: 0 10px 24px -8px rgba(255, 193, 7, 0.55);
}
.btn-ci:hover, .btn-ci:focus { color: #0a0a0a; box-shadow: 0 14px 32px -8px rgba(255, 193, 7, 0.7); }

.btn-outline-ci {
	border: 2px solid rgba(255,255,255,.35); color: #fff; background: transparent;
}
.btn-outline-ci:hover, .btn-outline-ci:focus { border-color: var(--primary-ci); background: var(--primary-ci); color: #0a0a0a; }

/* Der große Anruf-Button */
.btn-call {
	display: inline-flex; align-items: center; gap: .9rem;
	font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem);
	letter-spacing: .04em; line-height: 1; padding: .85rem 1.8rem .75rem 1.3rem;
	white-space: nowrap;
}
.btn-call .icon {
	width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
	background: #0a0a0a; color: var(--primary-ci); font-size: 1rem; flex-shrink: 0;
}
.btn-call small { display: block; font-family: var(--font-base); font-size: .68rem; font-weight: 700; letter-spacing: .12em; opacity: .7; }

/* ----------------------------------------------------------------------
   5. Badges
   ---------------------------------------------------------------------- */
.badge-ci {
	display: inline-flex; align-items: center; gap: .5rem;
	background-color: var(--primary-light); color: var(--primary-ci);
	padding: .45rem 1rem; border-radius: 50rem; font-size: .78rem;
	font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	border: 1px solid rgba(255,193,7,.25);
}
.badge-ci::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-ci); }

.chip {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .55rem 1rem; border-radius: 50rem; font-size: .92rem; font-weight: 600;
	color: #e9e9e9; background: var(--ink-3); border: 1px solid var(--line);
	transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover { border-color: rgba(255,193,7,.5); color: #fff; transform: translateY(-2px); }
.chip--hero { background: var(--primary-ci); color: #0a0a0a; border-color: transparent; }
.chip--hero:hover { color: #0a0a0a; }
.chip i { color: var(--primary-ci); font-size: .8em; }
.chip--hero i { color: #0a0a0a; }

/* ----------------------------------------------------------------------
   6. Hero
   ---------------------------------------------------------------------- */
.hero {
	position: relative; overflow: clip;
	padding: 8.5rem 0 3rem;
	background:
		radial-gradient(60% 55% at 85% 35%, rgba(255, 193, 7, .22) 0%, transparent 70%),
		radial-gradient(40% 40% at 10% 90%, rgba(255, 193, 7, .08) 0%, transparent 70%),
		var(--ink);
}
.hero::after {
	/* feines Raster wie Asphalt-Markierung */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
	                  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%);
	-webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { color: var(--primary-ci); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.hero-title {
	font-size: clamp(3.4rem, 9.5vw, 7rem);
	line-height: .9; margin: .6rem 0 1.2rem;
}
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34rem; color: #d6d6d6; }

/* --- Einflug der Texte: gestaffelt über --i --- */
.hero-in {
	opacity: 0;
	animation: hero-up .7s cubic-bezier(.2,.8,.2,1) both;
	animation-delay: calc(.12s + var(--i, 0) * .11s);
}
.hero-title { display: block; }
.hero-line {
	display: block; opacity: 0;
	animation: hero-line .8s cubic-bezier(.2,.8,.2,1) both;
	animation-delay: calc(.1s + var(--i, 0) * .11s);
}
.hero-dot {
	display: inline-block; opacity: 0;
	animation: hero-dot .5s cubic-bezier(.3,1.6,.4,1) both;
	animation-delay: .75s;
}
@keyframes hero-up   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-line { from { opacity: 0; transform: translateY(.5em) skewY(2deg); } to { opacity: 1; transform: none; } }
@keyframes hero-dot  { from { opacity: 0; transform: scale(0) translateY(-.2em); } to { opacity: 1; transform: none; } }

/* --- Pulsierender Anruf-Button --- */
.hero .btn-call { position: relative; }
.hero .btn-call::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	box-shadow: 0 0 0 0 rgba(255, 193, 7, .55);
	animation: call-pulse 2.6s ease-out infinite; animation-delay: 1.4s;
	pointer-events: none;
}
@keyframes call-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(255, 193, 7, .55); }
	60%  { box-shadow: 0 0 0 18px rgba(255, 193, 7, 0); }
	100% { box-shadow: 0 0 0 18px rgba(255, 193, 7, 0); }
}

/* --- Freigestelltes Taxi: fährt ein, steht dann auf laufender Fahrbahn --- */
.hero-car {
	position: relative; margin-top: 1.5rem;
}
.hero-car::before {
	/* Lichtschein hinter dem Wagen, atmet langsam */
	content: ""; position: absolute; inset: 10% -5% 5% -5%; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 193, 7, .38), rgba(255,193,7,.08) 60%, transparent 100%);
	filter: blur(18px);
	animation: glow-breathe 5s ease-in-out infinite;
}
@keyframes glow-breathe {
	0%, 100% { opacity: .75; transform: scale(1); }
	50%      { opacity: 1;   transform: scale(1.06); }
}
.hero-car::after {
	/* Bodenschatten – lässt den Wagen aufsetzen statt zu schweben */
	content: ""; position: absolute; left: 12%; right: 10%; bottom: 4%; height: 12%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(0,0,0,.9), transparent);
	filter: blur(6px);
	animation: shadow-in 1.2s ease-out both; animation-delay: .35s;
}
@keyframes shadow-in { from { opacity: 0; transform: scaleX(.6); } to { opacity: 1; transform: none; } }

/* Laufende Mittelstreifen unter dem Wagen */
.hero-road {
	position: absolute; left: -6%; right: -18%; bottom: 1.5%; height: 5px; z-index: 0;
	background: repeating-linear-gradient(90deg, var(--primary-ci) 0 46px, transparent 46px 92px);
	background-size: 92px 5px;
	opacity: .8;
	mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
	animation: road-move 1.1s linear infinite, hero-up .8s ease-out both;
	animation-delay: 0s, .6s;
}
@keyframes road-move { from { background-position: 0 0; } to { background-position: -92px 0; } }

.hero-car img {
	position: relative; z-index: 1; width: 100%; height: auto; display: block;
	filter: drop-shadow(0 30px 30px rgba(0,0,0,.6));
	transform-origin: 50% 90%;
	animation: car-in 1.3s cubic-bezier(.2,.8,.2,1) both, car-idle 3.2s ease-in-out infinite;
	animation-delay: .25s, 1.6s;
}
@keyframes car-in {
	from { opacity: 0; transform: translateX(14%) scale(.94); }
	to   { opacity: 1; transform: translateX(0) scale(1); }
}
/* Leichtes Federn wie im Stand mit laufendem Motor */
@keyframes car-idle {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-3px); }
}
@media (min-width: 992px) {
	.hero { padding: 9.5rem 0 4.5rem; min-height: 88vh; display: flex; align-items: center; }
	.hero-car { margin-top: 0; transform: scale(1.18) translateX(6%); }
}
@media (max-width: 991.98px) {
	/* Auf schmalen und mittleren Breiten kein seitlicher Versatz (Falthandy 770–900 px) */
	.hero-car img { animation-name: car-in-y, car-idle; }
	@keyframes car-in-y {
		from { opacity: 0; transform: translateY(6%) scale(.96); }
		to   { opacity: 1; transform: translateY(0) scale(1); }
	}
}

.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-facts div { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: #e6e6e6; }
.hero-facts i { color: var(--primary-ci); }

/* ----------------------------------------------------------------------
   7. Karten & Icon-Boxen
   ---------------------------------------------------------------------- */
.bento-card {
	background: var(--ink-3);
	border: 1px solid var(--line);
	border-radius: var(--card-radius);
	padding: 2rem;
	box-shadow: var(--shadow-soft);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(255,193,7,.35); }

.icon-box {
	width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
	border-radius: .9rem; margin-bottom: 1.25rem; font-size: 1.45rem;
	color: #0a0a0a; background-image: var(--primary-gradient); flex-shrink: 0;
}

/* Schritte */
.step-num {
	font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--primary-ci);
	opacity: .9;
}
.step-card { position: relative; padding-top: 1.5rem; }
.step-card + .step-card::before {
	content: ""; position: absolute; left: -1.5rem; top: 3.6rem; width: 1.5rem; height: 2px;
	background: repeating-linear-gradient(90deg, var(--primary-ci) 0 6px, transparent 6px 12px);
}
@media (max-width: 767.98px) { .step-card + .step-card::before { display: none; } }

/* Fahrzeug-Karte */
.vehicle-frame {
	position: relative; border-radius: var(--card-radius); overflow: hidden;
	box-shadow: var(--shadow-hover); border: 1px solid var(--line);
}
.vehicle-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehicle-frame::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
	background: repeating-conic-gradient(var(--primary-ci) 0 25%, var(--ink) 0 50%) 0 0 / 20px 20px;
}
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { display: flex; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.fact-list li:last-child { border-bottom: 0; }
.fact-list i { color: var(--primary-ci); margin-top: .25rem; }
.fact-list strong { color: #fff; display: block; }

/* Kontakt-Kacheln */
.contact-tile { text-decoration: none; display: block; height: 100%; }
.contact-tile .value { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; letter-spacing: .03em; line-height: 1; }
.contact-tile:hover .value { color: var(--primary-ci); }

/* Große gelbe CTA-Fläche */
.cta-band {
	background-image: var(--primary-gradient); color: #0a0a0a; border-radius: var(--card-radius);
	padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden;
}
.cta-band::before {
	content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%;
	background: rgba(0,0,0,.08);
}
.cta-band h2 { color: #0a0a0a; }

/* Rechte Hälfte: Anruf-Button + iPhone-Mockup */
.cta-right { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-phone {
	position: relative; width: 190px; height: 230px; overflow: hidden; flex-shrink: 0;
	mask-image: linear-gradient(#000 80%, transparent);
	-webkit-mask-image: linear-gradient(#000 80%, transparent);
}
.cta-phone img {
	width: 100%; height: auto; display: block;
	filter: drop-shadow(0 24px 30px rgba(0,0,0,.35));
	transform-origin: 50% 85%;
	animation: phone-live 5.5s ease-in-out infinite;
}
/* Schwebt sanft, klingelt am Ende jedes Durchlaufs kurz */
@keyframes phone-live {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	38%      { transform: translateY(-8px) rotate(0deg); }
	76%      { transform: translateY(0) rotate(0deg); }
	80%      { transform: translateY(0) rotate(-3deg); }
	84%      { transform: translateY(0) rotate(3deg); }
	88%      { transform: translateY(0) rotate(-2.5deg); }
	92%      { transform: translateY(0) rotate(2deg); }
	96%      { transform: translateY(0) rotate(-1deg); }
}
@media (min-width: 992px) {
	.cta-right { flex-direction: row; justify-content: flex-end; align-items: center; gap: 2rem; min-height: 230px; padding-right: 230px; position: relative; }
	.cta-phone {
		position: absolute; right: 0; top: -12px; width: 210px; height: 300px;
		transform: rotate(-7deg);
		mask-image: linear-gradient(#000 75%, transparent);
		-webkit-mask-image: linear-gradient(#000 75%, transparent);
	}
}
.cta-band .btn-call { background: #0a0a0a; color: var(--primary-ci); box-shadow: 0 16px 40px -14px rgba(0,0,0,.7); }
.cta-band .btn-call .icon { background: var(--primary-ci); color: #0a0a0a; }
.cta-band .btn-call:hover { color: #fff; }

/* Accordion (FAQ) im Markenlook */
.accordion-item.bento-card { background: var(--ink-3); }
.accordion-button { background: transparent; color: #fff; box-shadow: none !important; padding: 1.2rem 1.5rem; font-size: 1.05rem; }
.accordion-button:not(.collapsed) { color: var(--primary-ci); background: transparent; }
.accordion-button::after { filter: invert(1) brightness(1.4); }
.accordion-button:not(.collapsed)::after { filter: invert(72%) sepia(60%) saturate(1500%) hue-rotate(5deg); }
.accordion-body { padding: 0 1.5rem 1.4rem; }

/* Rechtsseiten */
.legal { padding: 8rem 0 4rem; }
.legal h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); margin-bottom: 2rem; }
.legal h2 { font-family: var(--font-base); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 1.15rem; margin-top: 2rem; color: #fff; }
.legal h3 { font-family: var(--font-base); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 1rem; margin-top: 1.4rem; color: #fff; }
.legal p, .legal li { color: var(--body-color); font-size: .97rem; }
.legal a { color: var(--primary-ci); }
.legal .box { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 1.5rem 1.75rem; }

/* Link-Buttons (z.B. Cookie-Einstellungen im Footer) */
.btn-linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }

/* ----------------------------------------------------------------------
   8. Footer
   ---------------------------------------------------------------------- */
footer { background-color: #060606; border-top: 1px solid var(--line); color: var(--muted); }
footer h2 { font-family: var(--font-base); text-transform: none; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: #fff; text-transform: uppercase; }
.footer-link { color: var(--muted) !important; text-decoration: none; }
.footer-link:hover { color: var(--primary-ci) !important; }

/* ----------------------------------------------------------------------
   9. Reduced Motion
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ----------------------------------------------------------------------
   10. Schmale Displays (Falthandy zu, 320 px)
   ---------------------------------------------------------------------- */
@media (max-width: 400px) {
	.btn-call { font-size: 1.5rem; padding: .7rem 1.2rem .6rem 1rem; }
	.hero-title { font-size: 3rem; }
	.bento-card { padding: 1.5rem; }
}

/* =====================================================================
   ===  CMS-BRÜCKE  ====================================================
   Alles ab hier gehört NICHT zum Entwurf, sondern gleicht das pixCMS an.
   Der Entwurfsteil oben bleibt dadurch vergleichbar.
   ===================================================================== */

/* ----------------------------------------------------------------------
   B1. Editor-Texte
   TinyMCE liefert eigene <p>/<ul> mit. Ohne first-child-Regel reißen die
   Absatzabstände Löcher in die Karten.
   ---------------------------------------------------------------------- */
.cms-text > :first-child { margin-top: 0; }
.cms-text > :last-child  { margin-bottom: 0; }
.cms-text p  { margin-bottom: .9rem; }
.cms-text ul, .cms-text ol { margin: 0 0 .9rem; padding-left: 1.25rem; }
.cms-text li { margin-bottom: .35rem; }
.cms-text a  { color: var(--primary-ci); }
.cms-text strong { color: #fff; }

/* Aufzählung im Leistungs-Detail: Haken statt Punkte, wie im Entwurf. */
.cms-text--haken ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.cms-text--haken li {
	position: relative; padding-left: 1.6rem; margin-bottom: .55rem;
	font-size: .95rem;
}
.cms-text--haken li::before {
	content: "\f00c";                    /* fa-check */
	font-family: "Font Awesome 6 Free"; font-weight: 900;
	position: absolute; left: 0; top: .1rem;
	color: var(--primary-ci); font-size: .85em;
}

/* ----------------------------------------------------------------------
   B2. Klassen statt Inline-Stile
   Im Entwurf standen diese Werte direkt am Element; jetzt kommen die
   Inhalte aus dem CMS, also gehören sie ins Stylesheet.
   ---------------------------------------------------------------------- */
/* Überschriften ohne Display-Schnitt (Zwischenüberschriften in Karten) */
.h-plain, .accordion-header--plain {
	font-family: var(--font-base); text-transform: none;
	letter-spacing: 0; font-weight: 700;
}
.contact-address { font-size: 1.05rem; color: #fff; font-style: normal; }
.contact-lead    { font-size: 1.05rem; color: #fff; }
.value--mail     { font-size: clamp(1.15rem, 2.2vw, 1.7rem); word-break: break-all; }
.zeiten-tabelle  { --bs-table-color: var(--body-color); --bs-table-bg: transparent; }
.zeiten-tabelle td { border-color: var(--line); }
.hero--kurz      { min-height: 70vh; }
.hero-title--klein { font-size: clamp(3rem, 8vw, 5.5rem); }

/* Das Fahrzeugbild kommt aus der Galerie – ohne feste Höhe hätte jede
   Kachel ein anderes Seitenverhältnis, je nach hochgeladenem Foto. */
.vehicle-frame { aspect-ratio: 4 / 3; }
.vehicle-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------------
   B3. Rechtsseiten des Kerns ins dunkle Design holen
   ⚠️ Der Kern setzt seine Stile in einem <style> im BODY, also NACH dieser
   Datei. Bei gleicher Spezifität gewinnt er – das vorangestellte `body`
   entscheidet die Sache ohne !important.
   ---------------------------------------------------------------------- */
body .legal-page {
	/* Der Kern rechnet mit hellem Grund; hier die dunklen Gegenstücke. */
	--bg-card: var(--ink-3);
	--bg-soft-legal: var(--ink-2);
	--text-main: #ffffff;
	--text-muted: var(--muted);
	--border-soft: var(--line);
	padding-top: calc(var(--nav-h, 96px) + 2.5rem);
	padding-bottom: 4rem;
	color: var(--body-color);
}
body .legal-page h1 {
	font-family: var(--font-display); text-transform: uppercase;
	letter-spacing: .02em; font-size: clamp(2.8rem, 6vw, 4.2rem);
	color: #fff; font-weight: 400;
}
body .legal-page h2 {
	font-family: var(--font-base); text-transform: none; letter-spacing: 0;
	font-weight: 700; font-size: 1.15rem; color: #fff;
	display: flex; align-items: center; gap: .6rem;
}
body .legal-page h2 i { color: var(--primary-ci); font-size: .95em; }
body .legal-page h3 {
	font-family: var(--font-base); text-transform: none; letter-spacing: 0;
	font-weight: 700; color: #fff;
}
body .legal-page p,
body .legal-page li,
body .legal-page address,
body .legal-page dd { color: var(--body-color); font-size: .97rem; }
body .legal-page a { color: var(--primary-ci); }
/* Das pixlwerk-Badge im Impressum ist davon AUSGENOMMEN: es ist Pixlwerks Marke
   und sieht auf jeder Kundenseite gleich aus – weiße Schrift auf Schwarz, Orange
   als Akzent. Die Regel oben hatte seine Leiste gelb gefärbt. */
body .legal-page .pxw-badge a { color: #fff; }
body .legal-page .pxw-badge a.pxw-haupt:hover,
body .legal-page .pxw-badge a.pxw-haupt:focus-visible { color: #0d0d0d; }
body .legal-page .legal-card {
	background: var(--ink-3); border: 1px solid var(--line);
	border-radius: var(--card-radius); padding: 1.5rem 1.75rem;
}
body .legal-page .legal-grid dt { color: var(--muted); font-weight: 600; }
body .legal-page .legal-grid dd { color: #fff; }
body .legal-page .text-muted { color: var(--muted) !important; }
body .legal-page .badge-ci { color: var(--primary-ci); }
/* Fehlt ein Pflichtfeld, markiert der Kern die Stelle – auf Dunkel sichtbar halten. */
body .legal-page .ddk-fehlt,
body .legal-page mark { background: rgba(var(--primary-rgb), .18); color: var(--primary-ci); }

/* Die eigenen Rechtstexte des Entwurfs nutzen .legal – gleiche Höhe halten. */
.legal { padding-top: calc(var(--nav-h, 96px) + 2rem); }

/* ----------------------------------------------------------------------
   B4. Cookie-Banner des Kerns (`#cookieBanner`, Klassen `pcc-*`)
   Er ist für helle Seiten gebaut: weiße Karte, dunkle Schrift. Auf dem
   schwarzen Grund wirkt er sonst wie ein Fremdkörper.

   ⚠️ ZWEI Gründe, warum hier `body #cookieBanner.pcc` steht und nicht
   einfach `#cookieBanner`:
   1. Der Kern setzt seine Stile per <style> im BODY, also NACH dieser Datei.
   2. Er selektiert mit `#cookieBanner.pcc .pcc-card` – das ist 1 ID + 2
      Klassen. Eine Regel mit nur einer Klasse verliert, auch mit `body`
      davor. Mit `.pcc` gleichauf plus `body` gewinnt sie ohne !important.
   Die Positionsklasse (`pcc-unten`) bleibt bewusst außen vor: sie ist im
   Admin umstellbar, die Farben sollen in jeder Position gelten.
   ---------------------------------------------------------------------- */
body #cookieBanner.pcc .pcc-card {
	background: var(--ink-3);
	border: 1px solid rgba(var(--primary-rgb), .35);
	box-shadow: 0 18px 45px rgba(0, 0, 0, .6);
	color: var(--body-color);
}
/* ⚠️ Die Überschrift ist ein <h2> und erbt sonst die globale Regel weiter
   oben: Bebas Neue, Versalien, schmal. Für einen Hinweistext ist das die
   schlechteste Wahl – hier zurück auf die Fließtextschrift. */
body #cookieBanner.pcc .pcc-head,
body #cookieBanner.pcc h2 {
	color: #fff;
	font-family: var(--font-base);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 800;
	font-size: 1.02rem;
	line-height: 1.35;
}
body #cookieBanner.pcc .pcc-text  { color: var(--body-color); font-size: .92rem; }
/* Das Cookie-Symbol: Der Kern mischt sich eine helle Fläche
   (`color-mix(accent 14%, #fff)`) – auf dem schwarzen Banner ein heller
   Fleck. Hier derselbe Look wie die Icon-Kacheln der Seite (.icon-box):
   gelbe Fläche, schwarzes Symbol. */
body #cookieBanner.pcc .pcc-ico {
	background-image: var(--primary-gradient);
	background-color: var(--primary-ci);   /* Rückfall, falls der Verlauf fehlt */
	color: #0a0a0a;
}
body #cookieBanner.pcc .pcc-cat {
	background: var(--ink-2);
	border: 1px solid var(--line);
}
/* Die Beschriftungen der Kategorien: der Kern selektiert sie als
   `#cookieBanner.pcc .pcc-cat label` (fast schwarz, für die weiße Karte
   gedacht). Auf dunklem Grund ist das praktisch unlesbar – deshalb hier
   mit derselben Verschachtelung plus `body`. */
body #cookieBanner.pcc .pcc-cat label     { color: #fff; font-size: .86rem; }
/* Der Kern setzt die Erläuterung auf 0.7rem = gut 11 px. Das ist für einen
   Text, den man lesen SOLL, bevor man zustimmt, zu klein. */
body #cookieBanner.pcc .pcc-cat .pcc-serv { color: var(--muted); font-size: .78rem; line-height: 1.45; }

/* Auf schmalen Displays die Kategorien untereinander: zwei Kästen à ~160 px
   zerhacken die Erläuterung sonst in drei bis vier Zeilen. */
@media (max-width: 460px) {
	body #cookieBanner.pcc .pcc-cat { flex: 1 1 100%; min-width: 0; }
}
body #cookieBanner.pcc a { color: var(--primary-ci); }
/* Die Auswahlkästchen erben sonst Bootstrap-Blau. */
body #cookieBanner.pcc input[type="checkbox"] { accent-color: var(--primary-ci); }
/* --- Die drei Knöpfe ---------------------------------------------------
   Der Kern ist für einen ORANGEN Akzent gebaut; dort geht weiße Schrift auf
   der Akzentfläche gerade noch. Auf Taxi-GELB ist sie unlesbar: gemessen
   1,41:1 bei „Alle akzeptieren" (nötig sind 4,5:1). Und „Auswahl speichern"
   setzt der Kern auf hellgelb MIT gelber Schrift.
   Regel hier: Auf Gelb steht Schwarz, sonst heller Text auf dunklem Grund. */
body #cookieBanner.pcc .pcc-btn.pcc-accept {
	background: var(--primary-ci);
	color: #0a0a0a;                      /* ~14:1 statt 1,41:1 */
	font-weight: 800;
	box-shadow: 0 6px 16px rgba(var(--primary-rgb), .28);
}
body #cookieBanner.pcc .pcc-btn.pcc-save {
	background: var(--ink-2);
	color: var(--primary-ci);
	border: 1px solid rgba(var(--primary-rgb), .45);
}
/* „Nur notwendige" ist im Kern eine weiße Fläche – auf Dunkel ein Fremdkörper. */
body #cookieBanner.pcc .pcc-btn.pcc-decline {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .35);
	color: #e6e6e6;
}
/* Sichtbarer Fokus – der Kern setzt ihn in der Akzentfarbe auf die Akzentfläche. */
body #cookieBanner.pcc .pcc-btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

/* ----------------------------------------------------------------------
   B5. pixSelect
   ⚠️ Der Kern liefert die `.pixsel-*`-Fassung des Skripts aus (assets/ ist
   core und wird bei jedem Update ersetzt) – der Fix gehört deshalb in die
   CSS, nicht in die JS. Diese Seite hat derzeit KEINE Auswahlfelder; der
   Block steht hier, damit ein später ergänztes Feld nicht nackt aussieht.
   Das Panel hängt am <body>, nicht im Feld: NICHT unter .pixsel
   verschachteln und `position: fixed` beibehalten. Regeln, die das Skript
   als Grundstil selbst in den <head> schreibt, brauchen ein `body` davor.
   ---------------------------------------------------------------------- */
.pixsel-trigger {
	display: flex; align-items: center; gap: .5rem; width: 100%;
	border: 1px solid var(--line); border-radius: .55rem;
	background: var(--ink-3); color: #fff;
	padding: .68rem 1rem; font: inherit; font-weight: 500;
	text-align: left; cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.pixsel-trigger:hover { border-color: var(--primary-ci); }
.pixsel-trigger:focus-visible,
.pixsel-open .pixsel-trigger {
	outline: none; border-color: var(--primary-ci);
	box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .25);
}
.pixsel-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pixsel-value.is-placeholder { color: var(--muted); }
.pixsel-arrow { flex: 0 0 auto; color: var(--primary-ci); transition: transform .2s ease; }
.pixsel-open .pixsel-arrow { transform: rotate(180deg); }

body .pixsel-panel {
	position: fixed; z-index: 1090;
	background: var(--ink-3); border: 1px solid var(--line);
	border-radius: .55rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
	max-height: 280px; overflow-y: auto; padding: 6px; margin: 0;
	list-style: none;
}
body .pixsel-opt {
	display: flex; align-items: center; gap: .5rem;
	padding: .6rem .8rem; border-radius: .45rem;
	font-size: .92rem; color: #e9e9e9; cursor: pointer;
}
body .pixsel-opt.is-active   { background: var(--primary-light); }
body .pixsel-opt.is-selected { color: var(--primary-ci); font-weight: 700; }
body .pixsel-opt.is-disabled { opacity: .5; cursor: not-allowed; }
body .pixsel-optgroup-label  { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: .5rem .8rem .25rem; }
body .pixsel-empty           { color: var(--muted); padding: .6rem .8rem; }

/* ----------------------------------------------------------------------
   B6. Navigationshöhe als Variable
   Die Rechtsseiten des Kerns setzen einen festen Abstand nach oben; über
   die Variable bleibt er an die echte Leiste gekoppelt.
   ---------------------------------------------------------------------- */
:root { --nav-h: 96px; }
@media (max-width: 991.98px) { :root { --nav-h: 84px; } }
