/*
Theme Name: Albayrak Redesign
Theme URI: https://www.kfz-meisterbetrieb-albayrak.de/
Author: Albayrak Redesign
Description: Schnelles, barrierearmes Theme für den KFZ-Meisterbetrieb Albayrak in Marl. Ohne Page-Builder, ohne Build-Step, ohne externe CDNs. Logo, Farben, Kontaktdaten und Texte werden über den Customizer gepflegt. Layout nach docs/mockups/komplett/MOCKUP-VERBINDLICH.png; Bilder aus dem gelieferten Asset-Paket.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: albayrak
Tags: one-column, custom-logo, custom-colors, custom-menu, accessibility-ready
*/

/* ---------------------------------------------------------------------------
   1. Tokens (--accent, --page, --ink, --dark kommen aus dem Customizer)
--------------------------------------------------------------------------- */
:root {
	--accent: #e10613;
	--accent-hover: #bf0510;
	--accent-on-dark: #ff4a55;   /* Rot auf dunklem Grund, Kontrast ≥ 5:1 */
	/* Seite: Default hell (Mockup: Leistungen/Kontakt weiß). Dunkler Stil setzt diese Tokens per Customizer um. */
	--page: #f4f4f4;
	--page-2: #ffffff;
	--ink: #111111;
	--ink-muted: #5f5f5f;
	--line-page: #e2e2e2;
	--accent-on-page: #c40511;
	--field-bg: #ffffff;
	--field-line: #c9c9c9;
	--focus-page: #1d4ed8;
	--card-shadow: rgba(0, 0, 0, 0.10);
	--dark: #111111;
	--dark-2: #1f1f1f;
	--dark-3: #2a2a2a;
	--line-dark: #2e2e2e;
	--on-dark: #f5f5f5;
	--on-dark-muted: #a8a8a8;    /* Mockup-Grau, auf #111 ≈ 8:1 */
	--focus: #ffd166;
	--radius: 14px;
	--radius-sm: 8px;
	--max: 1180px;
	--gutter: 20px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mobilebar-h: 68px;
}

/* ---------------------------------------------------------------------------
   2. Basis
--------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.has-mobilebar { padding-bottom: var(--mobilebar-h); }

img, svg, video { max-width: 100%; height: auto; display: block; }
svg.icon { flex: none; }

a { color: inherit; text-decoration: none; }
.prose a, .field-consent a, .map-consent a, .contact-list a, .footer-menu a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.contact-list a, .footer-menu a { text-decoration: none; }
.contact-list a:hover, .footer-menu a:hover, .prose a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 8vw, 5.4rem); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; }
ul.menu, ul.trust, ul.features, ul.contact-list, ul.footer-social { list-style: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 64px; }
.eyebrow {
	margin: 0 0 12px;
	color: var(--accent-on-page);
	font-weight: 800;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.dark .eyebrow, .hero .eyebrow, .about .eyebrow { color: var(--accent-on-dark); }
.lead { font-size: 1.1rem; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.9rem; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Fokus: deutlich sichtbar (Tastaturbedienung) */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.section-contact :focus-visible, .prose :focus-visible { outline-color: var(--focus-page); }
.btn:focus-visible { outline-offset: 4px; }

.skip-link {
	position: absolute; top: -100px; left: 16px; z-index: 100;
	padding: 12px 18px; background: var(--accent); color: #fff; font-weight: 800; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------------
   3. Buttons & Links
--------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 11px 20px;
	border-radius: var(--radius-sm); border: 1.5px solid transparent;
	font: inherit; font-weight: 800; font-size: 0.98rem; line-height: 1.2;
	cursor: pointer; text-align: center;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-lg { min-height: 54px; padding-inline: 24px; font-size: 1.05rem; }
.btn-red { background: var(--accent); color: #fff; }
.btn-red:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--ink); color: var(--page); }
.btn-dark:hover { opacity: 0.88; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--accent-on-page); font-weight: 800; font-size: 0.95rem;
	border-bottom: 2px solid currentColor; padding-bottom: 2px;
}

/* ---------------------------------------------------------------------------
   4. Header & Navigation (mobile first)
--------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 40;
	background: var(--dark); color: var(--on-dark);
	border-bottom: 1px solid var(--line-dark);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; min-width: 0; }
.custom-logo-link { display: block; }
.custom-logo { max-height: 48px; width: auto; }

.logo { display: block; line-height: 0; }
.logo-img { height: 52px; width: auto; }

.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; margin-right: -8px;
	background: transparent; border: 0; color: var(--on-dark); cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline-flex; }

.site-nav {
	display: none; position: absolute; top: 100%; left: 0; right: 0;
	padding: 8px var(--gutter) 20px;
	background: var(--dark); border-bottom: 1px solid var(--line-dark);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.nav-open .site-nav { display: block; }
.site-nav .menu { display: flex; flex-direction: column; }
.site-nav .menu a { display: block; padding: 14px 4px; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--accent-on-dark); }
.nav-actions { display: grid; gap: 10px; margin-top: 16px; }

@media (min-width: 1024px) {
	.nav { min-height: 76px; }
	.nav-toggle { display: none; }
	.site-nav {
		display: flex; position: static; align-items: center; gap: 28px;
		padding: 0; background: transparent; border: 0; box-shadow: none;
	}
	.site-nav .menu { flex-direction: row; gap: 26px; }
	.site-nav .menu a { position: relative; padding: 8px 2px; font-size: 0.95rem; border: 0; color: #dfe2e6; }
	.site-nav .menu a::after {
		content: ""; position: absolute; left: 2px; right: 2px; bottom: 0; height: 2px;
		background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.15s ease;
	}
	.site-nav .menu a:hover::after, .site-nav .current-menu-item > a::after { transform: scaleX(1); }
	.nav-actions { display: flex; gap: 10px; margin: 0; }
	.nav-phone { border-color: rgba(255, 255, 255, 0.35); }
}

/* ---------------------------------------------------------------------------
   5. Hero (dunkel) + Vertrauensleiste
--------------------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden;
	padding-block: 64px 40px;
	background-color: var(--dark); color: var(--on-dark);
	border-bottom: 1px solid var(--line-dark);
	background-image: url("assets/img/hero-mobile.jpg");
	background-size: cover; background-position: 70% center;
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.55) 0%, rgba(17, 17, 17, 0.88) 55%, rgba(17, 17, 17, 0.97) 100%);
}
.hero .container { position: relative; }
.hero-content { max-width: 860px; }
.hero h1 { margin: 0 0 18px; }
.hero .lead { color: #e2e5e9; font-size: 1.15rem; max-width: 60ch; }

.trust {
	display: grid; grid-template-columns: 1fr; gap: 14px;
	margin-top: 40px; padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust li { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 46px; height: 46px; border-radius: 50%;
	background: rgba(225, 6, 19, 0.16); color: var(--accent-on-dark);
}
.trust-text { display: grid; gap: 2px; }
.trust-text strong { font-size: 1rem; }
.trust-text small { color: var(--on-dark-muted); font-size: 0.88rem; line-height: 1.4; }

/* ---------------------------------------------------------------------------
   6. Leistungen (helle Sektion, dunkle Karten)
--------------------------------------------------------------------------- */
.section-head { margin-bottom: 30px; }
.section-head .link-arrow { margin-top: 14px; }

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
	position: relative; overflow: hidden; isolation: isolate;
	background-color: var(--dark);
	background-size: cover; background-position: center right;
	color: var(--on-dark);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: 0 10px 30px var(--card-shadow);
}
/* Abdunkelung links → Text lesbar, Bild rechts sichtbar (wie Mockup) */
.card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.82) 55%, rgba(17, 17, 17, 0.35) 100%);
}
.card-icon { color: #fff; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.card p { color: #d6d6d6; font-size: 0.97rem; padding-right: 56px; }
.card-arrow {
	position: absolute; right: 22px; bottom: 22px;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--accent); color: #fff;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.card-arrow:hover { background: var(--accent-hover); transform: translateX(2px); }

/* ---------------------------------------------------------------------------
   7. Warum Albayrak (dunkles Band)
--------------------------------------------------------------------------- */
.about {
	position: relative; overflow: hidden;
	background-color: var(--dark); color: var(--on-dark);
	border-block: 1px solid var(--line-dark);
}
.about-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0) 55%, rgba(17, 17, 17, 1) 100%);
}
.about-inner { position: relative; display: grid; gap: 36px; padding-block: 8px 64px; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--on-dark-muted); max-width: 60ch; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }
.features li { display: grid; gap: 6px; justify-items: start; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.feature-icon { color: var(--accent-on-dark); margin-bottom: 4px; }
.features strong { font-size: 1rem; line-height: 1.3; }
.features span:not(.feature-icon) { color: var(--on-dark-muted); font-size: 0.9rem; line-height: 1.45; }

/* ---------------------------------------------------------------------------
   8. CTA-Banner
--------------------------------------------------------------------------- */
.section-cta { padding-block: 48px 0; }
.cta {
	position: relative; overflow: hidden;
	display: grid; gap: 22px;
	padding: 34px 26px;
	border-radius: var(--radius);
	background-color: var(--dark); color: #fff;
	background-image: url("assets/img/cta.jpg");
	background-size: cover; background-position: center 60%;
	box-shadow: 0 16px 40px var(--card-shadow);
}
.cta::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.7) 50%, rgba(17, 17, 17, 0.3) 100%);
}
.cta > * { position: relative; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, 0.85); }
.cta .actions { margin-top: 0; }
.cta .btn-red { box-shadow: 0 8px 24px rgba(226, 27, 35, 0.35); }

/* ---------------------------------------------------------------------------
   9. Kontakt (hell) + Formular
--------------------------------------------------------------------------- */
.section-contact { padding-block: 56px 72px; }
.contact-strip { display: grid; gap: 28px; }
.contact-col { position: relative; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon, .hours-row > .icon { color: var(--accent-on-page); margin-top: 2px; }
.hours-row { display: flex; gap: 12px; align-items: flex-start; }
.hours { display: grid; gap: 6px; margin: 0; }
.hours div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; }
.hours dt { color: var(--ink-muted); }
.hours dd { margin: 0; font-weight: 600; }

.map-card {
	display: grid; justify-items: start; gap: 8px;
	padding: 24px;
	background: var(--page-2);
	border: 1px solid var(--line-page);
	border-radius: var(--radius);
	background-image:
		linear-gradient(rgba(128, 128, 128, 0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(128, 128, 128, 0.12) 1px, transparent 1px);
	background-size: 22px 22px;
}
.map-pin { color: var(--accent-on-page); }
.map-card p { margin: 0 0 6px; }

.map-consent {
	display: grid; place-items: center; min-height: 220px; padding: 22px; text-align: center;
	background: var(--page-2); border: 1px dashed var(--field-line); border-radius: var(--radius);
}
.map-consent-inner .actions { justify-content: center; margin-top: 14px; }
.map-consent .btn-ghost { border-color: var(--ink); color: var(--ink); }
.map-consent .btn-ghost:hover { background: rgba(128, 128, 128, 0.12); }
.map-consent.is-loaded { padding: 0; border-style: solid; overflow: hidden; }
.map-consent iframe { width: 100%; height: 280px; border: 0; display: block; }

.contact-form-card {
	margin-top: 40px; padding: 28px 22px;
	background: var(--page-2); border: 1px solid var(--line-page); border-radius: var(--radius);
	box-shadow: 0 10px 30px var(--card-shadow);
}
.contact-form h3 { margin-bottom: 6px; font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.95rem; }
.req { color: var(--accent-on-page); margin-left: 2px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	background: var(--field-bg); color: var(--ink);
	border: 1.5px solid var(--field-line); border-radius: var(--radius-sm);
	font: inherit; font-size: 1rem;
	color-scheme: dark;
}
.style-light .field input, .style-light .field select, .style-light .field textarea { color-scheme: light; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8a9099; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--focus-page); outline-offset: 0; }
.field-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 20px 0 12px; }
.field-consent input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); }
.field-consent label { margin: 0; font-weight: 500; font-size: 0.95rem; color: var(--ink-muted); }
.contact-form .btn-lg { width: 100%; margin-top: 8px; }

.notice { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid; }
.notice p { margin: 0; }
.notice-ok { background: rgba(43, 160, 90, 0.16); border-color: #2ba05a; color: var(--ink); }
.notice-ok .icon { color: #3fc474; margin-top: 3px; }
.notice-error { background: rgba(226, 27, 35, 0.16); border-color: var(--accent); color: var(--ink); }

/* ---------------------------------------------------------------------------
   10. Inhaltsseiten (Impressum, Datenschutz, Beiträge)
--------------------------------------------------------------------------- */
.prose { max-width: 820px; }
.prose h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 28px; text-transform: none; }
.prose h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink); opacity: 0.9; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 0 0 1em; padding-left: 18px; border-left: 3px solid var(--accent); color: var(--ink-muted); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-page); text-align: left; }
.prose pre { overflow-x: auto; padding: 16px; background: var(--page-2); border: 1px solid var(--line-page); border-radius: var(--radius-sm); }
.page-thumb { margin: 0 0 28px; }
.post-teaser { padding: 24px 0; border-bottom: 1px solid var(--line-page); }
.post-teaser h2 { margin: 0 0 6px; font-size: 1.5rem; }
.pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 14px; border: 1px solid var(--line-page); border-radius: var(--radius-sm); background: var(--page-2); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.alignwide, .alignfull { max-width: 100%; }

/* ---------------------------------------------------------------------------
   11. Footer & Mobile Actions
--------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-block: 40px 24px; font-size: 0.95rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 22px; align-items: center; }
.footer-brand .logo { color: var(--on-dark); }
.footer-tagline { margin: 0; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-menu a { color: var(--on-dark); font-weight: 600; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--line-dark); color: var(--on-dark);
}
.footer-social a:hover { border-color: #fff; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }

.mobilebar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: flex; gap: 10px; height: var(--mobilebar-h);
	padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
	background: rgba(14, 15, 17, 0.97); border-top: 1px solid var(--line-dark);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.mobilebar .btn { flex: 1; min-height: 46px; }

/* ---------------------------------------------------------------------------
   12. Breakpoints
--------------------------------------------------------------------------- */
@media (min-width: 600px) {
	:root { --gutter: 28px; }
	.trust { grid-template-columns: 1fr 1fr; }
	.grid { grid-template-columns: 1fr 1fr; }
	.form-grid { grid-template-columns: 1fr 1fr; }
	.field-message, .field-vehicle { grid-column: 1 / -1; }
	.contact-form .btn-lg { width: auto; }
	.cta { padding: 44px 40px; }
	.contact-form-card { padding: 36px; }
}

@media (min-width: 900px) {
	:root { --mobilebar-h: 0px; }
	body.has-mobilebar { padding-bottom: 0; }
	.mobilebar { display: none; }
	.section { padding-block: 80px; }
	.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
	.section-head .link-arrow { margin: 0 0 8px; }
	.hero { padding-block: 96px 48px; min-height: 700px; display: flex; align-items: flex-end; background-image: url("assets/img/hero.jpg"); background-position: center; }
	.hero::before { background: linear-gradient(90deg, rgba(17, 17, 17, 0.97) 0%, rgba(17, 17, 17, 0.86) 38%, rgba(17, 17, 17, 0.35) 68%, rgba(17, 17, 17, 0.15) 100%); }
	.hero .container { width: 100%; }
	.hero-content { padding-bottom: 20px; }
	.trust { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
	.grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.card { padding: 30px 30px 32px; min-height: 230px; }
	.about { display: grid; grid-template-columns: minmax(0, 42%) 1fr; align-items: stretch; }
	.about-media { aspect-ratio: auto; min-height: 100%; }
	.about-media::after { background: linear-gradient(90deg, rgba(17, 17, 17, 0) 60%, rgba(17, 17, 17, 1) 100%); }
	.about-inner { display: grid; gap: 40px; padding-block: 80px; padding-left: 40px; max-width: none; margin: 0; }
	.about-text h2 { max-width: 26ch; }
	.features { grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
	.cta { grid-template-columns: 1fr auto; align-items: center; padding: 52px 56px; }
	.section-cta { padding-block: 64px 0; }
	.section-contact { padding-block: 72px 88px; }
	.contact-strip { grid-template-columns: 1.1fr 1fr 1.1fr; gap: 40px; }
	.contact-col + .contact-col { padding-left: 40px; border-left: 1px solid var(--line-page); }
	.contact-map { padding-left: 0 !important; border-left: 0 !important; }
	.footer-grid { grid-template-columns: auto 1fr auto auto; gap: 40px; }
	.footer-tagline { max-width: 40ch; }
}

@media (min-width: 1200px) {
	.about-inner { padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
	/* Einzelne letzte Karte in einer 3er-Reihe über die volle Breite ziehen */
	.services > .card:nth-child(3n + 1):last-child { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: center; padding-right: 96px; }
	.services > .card:nth-child(3n + 1):last-child .card-icon { grid-row: 1 / 3; margin: 0; }
	.services > .card:nth-child(3n + 1):last-child p { padding-right: 0; }
	.services > .card:nth-child(3n + 1):last-child .card-arrow { bottom: auto; top: 50%; transform: translateY(-50%); }
	.services > .card:nth-child(3n + 1):last-child .card-arrow:hover { transform: translateY(-50%) translateX(2px); }
}

/* ---------------------------------------------------------------------------
   13. Sonstiges
--------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.site-header, .mobilebar, .skip-link, .map-consent, .contact-form-card, .section-cta { display: none !important; }
	.hero, .about, .card, .site-footer { background: #fff !important; color: #000 !important; }
}
