/* ==========================================================================
   Abbas Süren GmbH Dachdeckermeister – Theme
   Design: "3D & Hyperrealism / Spatial Depth"
   Natürliche, dachhandwerk-passende Palette (Schiefer-Anthrazit + Kupfer)
   ========================================================================== */

:root {
	/* Farben (naturnah, WCAG-AA) */
	--brand-primary: #233246;   /* Schiefer / Anthrazit-Navy */
	--brand-accent:  #b8632f;   /* Kupfer / Terrakotta */

	--ink:        #17202c;
	--ink-soft:   #4a5766;
	--muted:      #6b7684;
	--line:       #e5e2db;
	--bg:         #f4f2ec;      /* warmes Off-White / Kalkstein */
	--bg-soft:    #ece8df;
	--surface:    #ffffff;
	--surface-2:  #f9f7f2;

	--accent-deep:  #8f4a20;
	--accent-soft:  rgba(184, 99, 47, .12);

	/* 3D / Spatial */
	--perspective: 1000px;
	--radius:   18px;
	--radius-lg: 26px;
	--radius-sm: 12px;
	--dur: 320ms;
	--ease: cubic-bezier(.22, .61, .36, 1);

	/* Mehrschichtige, realistische Schatten */
	--shadow-1: 0 1px 2px rgba(23,32,44,.06), 0 2px 6px rgba(23,32,44,.06);
	--shadow-2: 0 4px 10px rgba(23,32,44,.07), 0 12px 26px rgba(23,32,44,.10);
	--shadow-3: 0 8px 20px rgba(23,32,44,.10), 0 26px 60px rgba(23,32,44,.18);
	--shadow-accent: 0 10px 24px rgba(184,99,47,.28), 0 4px 8px rgba(184,99,47,.20);

	--container: 1200px;
	--container-narrow: 820px;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--ink);
	background: var(--bg);
	font-size: 17px;
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe, canvas, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand-accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; font-weight: 800; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }

/* SVG-Icon-Sicherung (CLAUDE.md: nie riesig) */
svg { max-width: 100%; height: auto; }
.icon { width: 1.35em; height: 1.35em; flex: 0 0 auto; vertical-align: middle; stroke: currentColor; }
.icon-flip { transform: rotate(180deg); }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; }
.skip-link:focus {
	left: 1rem; top: 1rem; z-index: 999; background: var(--surface);
	padding: .6rem 1rem; border-radius: 8px; box-shadow: var(--shadow-2);
}

:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55rem;
	font-weight: 700; font-size: .98rem; padding: .85rem 1.5rem;
	border-radius: 999px; border: 1px solid transparent; cursor: pointer;
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
	will-change: transform; line-height: 1; text-align: center;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-accent {
	background: linear-gradient(135deg, #c8703a, var(--brand-accent) 55%, var(--accent-deep));
	color: #fff; box-shadow: var(--shadow-accent);
}
.btn-accent:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(184,99,47,.36); }
.btn-primary { background: var(--brand-primary); color: #fff; box-shadow: var(--shadow-2); }
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-3); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.22); transform: translateY(-3px); }

/* ---------- Kicker / Section-Head ---------- */
.kicker {
	display: inline-flex; align-items: center; gap: .5rem;
	font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--brand-accent); margin-bottom: .9rem;
}
.kicker .icon { width: 1.05em; height: 1.05em; }
.kicker-light { color: #e9c9b3; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-sub { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section-head-light .section-title, .section-head-light .section-sub { color: #fff; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(249,247,242,.78);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(23,32,44,.06);
	transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-2); background: rgba(249,247,242,.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand-text, .brand-name { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
	background: linear-gradient(140deg, var(--brand-primary), #2f4258);
	color: #fff; box-shadow: var(--shadow-1);
}
.brand-mark .icon { width: 1.3em; height: 1.3em; }
.brand-name { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.05; }
.brand-name strong { font-size: 1.16rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand-name em { font-style: normal; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-accent); font-weight: 600; }
.custom-logo { height: auto; max-height: 56px; width: auto; }

.main-nav { margin-inline-start: auto; }
.nav-menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a {
	display: block; padding: .6rem .95rem; color: var(--ink); font-weight: 600; font-size: .97rem;
	border-radius: 10px; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-menu a:hover, .nav-menu .current-menu-item > a { background: var(--accent-soft); color: var(--accent-deep); }
.nav-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
	box-shadow: var(--shadow-3); padding: .5rem; margin: .5rem 0 0;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--dur) var(--ease);
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { padding: .55rem .8rem; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.phone-link {
	display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--brand-primary);
	padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
	box-shadow: var(--shadow-1); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	white-space: nowrap;
}
.phone-link:hover { color: var(--brand-primary); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.phone-link .icon { width: 1.05em; height: 1.05em; color: var(--brand-accent); }

.nav-toggle {
	display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--surface);
	border-radius: 12px; cursor: pointer; place-items: center; color: var(--brand-primary); box-shadow: var(--shadow-1);
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-drawer {
	position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 99;
	background: rgba(249,247,242,.98); backdrop-filter: blur(16px);
	padding: 1.5rem clamp(1.25rem, 5vw, 2rem); overflow-y: auto;
	transform: translateX(100%); transition: transform var(--dur) var(--ease);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-menu { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 1rem .25rem; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.mobile-menu .sub-menu { list-style: none; padding-left: 1rem; }
.mobile-menu .sub-menu a { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }

/* ==========================================================================
   HERO (Parallax + Glass + 3D-Canvas)
   ========================================================================== */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-bg {
	position: absolute; inset: -8% 0; background-size: cover; background-position: center 40%;
	background-color: #2a3a4d; z-index: 0; will-change: transform;
}
.hero-scrim {
	position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(115deg, rgba(21,29,40,.92) 0%, rgba(24,34,48,.72) 42%, rgba(24,34,48,.30) 100%),
		linear-gradient(0deg, rgba(15,21,30,.85), rgba(15,21,30,0) 55%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .9; }
.hero-inner { position: relative; z-index: 3; padding: clamp(4rem, 9vw, 6rem) 0; }
.hero-content { max-width: 680px; }
.hero-title {
	font-size: clamp(2.5rem, 6.2vw, 4.4rem); font-weight: 800; color: #fff; margin: 0 0 1rem;
	line-height: 1.04; letter-spacing: -.02em;
	text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-subtitle { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: rgba(255,255,255,.9); max-width: 560px; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 0; }
.hero-badges li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: rgba(255,255,255,.94); font-size: .96rem; }
.hero-badges .icon { width: 1.1em; height: 1.1em; color: #e2a877; }

.hero-scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: #fff; border-radius: 4px; transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ==========================================================================
   TRUST / STATS
   ========================================================================== */
.trust { margin-top: -3.5rem; position: relative; z-index: 5; }
.trust-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
	perspective: var(--perspective);
}
.stat-card {
	background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius);
	padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow-3);
	display: flex; flex-direction: column; align-items: center; gap: .3rem;
}
.stat-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--brand-accent); margin-bottom: .5rem; }
.stat-icon .icon { width: 1.5em; height: 1.5em; }
.stat-num { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 800; color: var(--brand-primary); letter-spacing: -.02em; }
.stat-label { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ==========================================================================
   LEISTUNGEN
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: var(--shadow-1);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-3); }
.service-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-icon {
	position: absolute; left: 1rem; bottom: 1rem; display: grid; place-items: center;
	width: 50px; height: 50px; border-radius: 14px; color: #fff;
	background: linear-gradient(140deg, var(--brand-accent), var(--accent-deep));
	box-shadow: var(--shadow-accent); border: 1px solid rgba(255,255,255,.25);
}
.service-icon .icon { width: 1.5em; height: 1.5em; }
.service-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service-title { font-size: 1.28rem; margin-bottom: .5rem; }
.service-excerpt { font-size: .98rem; color: var(--ink-soft); flex: 1; }
.service-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; margin-top: .6rem; }
.service-more .icon { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.service-more:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   ÜBER UNS
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media { position: relative; perspective: var(--perspective); }
.about-frame {
	border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-3);
	border: 6px solid #fff; transform-style: preserve-3d;
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
	position: absolute; right: -12px; bottom: -18px; display: flex; align-items: center; gap: .7rem;
	background: var(--surface); border-radius: 16px; padding: .9rem 1.2rem; box-shadow: var(--shadow-3);
	border: 1px solid var(--line);
}
.about-badge .icon { width: 2em; height: 2em; color: var(--brand-accent); }
.about-badge span { display: flex; flex-direction: column; line-height: 1.2; font-size: .85rem; color: var(--muted); }
.about-badge strong { font-size: 1.05rem; color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 600; color: var(--ink); }
.check-list .icon { width: 1.3em; height: 1.3em; color: #fff; background: var(--brand-accent); border-radius: 50%; padding: 3px; flex: 0 0 auto; margin-top: 2px; }

/* ==========================================================================
   PROZESS
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; perspective: var(--perspective); }
.process-card {
	position: relative; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 2.4rem 1.5rem 1.7rem; box-shadow: var(--shadow-1);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.process-card:hover { box-shadow: var(--shadow-3); }
.process-num {
	position: absolute; top: -18px; left: 1.5rem; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 1.2rem; color: #fff;
	background: linear-gradient(140deg, var(--brand-primary), #2f4258); box-shadow: var(--shadow-2);
}
.process-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--brand-accent); margin-bottom: .8rem; }
.process-icon .icon { width: 1.4em; height: 1.4em; }
.process-title { font-size: 1.15rem; margin-bottom: .4rem; }
.process-card p { font-size: .95rem; margin: 0; }

/* ==========================================================================
   REFERENZEN / SLIDER
   ========================================================================== */
.section-dark { background: linear-gradient(165deg, #1c2836, var(--brand-primary)); color: #fff; }
.section-dark .section-title { color: #fff; }
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform 550ms var(--ease); will-change: transform; }
.slide { min-width: 100%; position: relative; padding: 0 clamp(1.25rem, 6vw, 6rem); }
.slide-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-3); aspect-ratio: 16 / 8; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { margin-top: 1.2rem; text-align: center; }
.slide-caption h3 { color: #fff; font-size: 1.4rem; margin-bottom: .3rem; }
.slide-caption p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.8rem; }
.slider-btn {
	width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
	background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center;
	backdrop-filter: blur(6px); transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.slider-btn:hover { background: var(--brand-accent); transform: scale(1.08); }
.slider-btn .icon { width: 1.3em; height: 1.3em; }
.slider-dots { display: flex; gap: .5rem; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: all var(--dur) var(--ease); }
.slider-dots button.active { background: var(--brand-accent); width: 28px; border-radius: 6px; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list .ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--brand-accent); flex: 0 0 auto; }
.contact-list .ci .icon { width: 1.35em; height: 1.35em; }
.contact-list span span, .contact-list li > span:last-child { display: flex; flex-direction: column; }
.contact-list strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.contact-form-wrap {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-3);
}
.contact-form-wrap h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }

/* Kontaktformular-Plugin generisch stylen */
.contact-form-wrap input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.contact-form-wrap textarea, .contact-form-wrap select {
	width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
	background: var(--surface-2); font: inherit; color: var(--ink); margin-bottom: 1rem;
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus { border-color: var(--brand-accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.contact-form-wrap textarea { min-height: 130px; resize: vertical; }
.contact-form-wrap input[type=submit], .contact-form-wrap button[type=submit] {
	background: linear-gradient(135deg, #c8703a, var(--brand-accent), var(--accent-deep)); color: #fff;
	border: 0; padding: .95rem 1.8rem; border-radius: 999px; font-weight: 700; cursor: pointer;
	box-shadow: var(--shadow-accent); transition: transform var(--dur) var(--ease);
}
.contact-form-wrap input[type=submit]:hover { transform: translateY(-2px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #141b25; color: rgba(255,255,255,.75); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-name { flex-direction: column; align-items: flex-start; gap: 0; }
.footer-name strong { color: #fff; font-size: 1.25rem; }
.footer-name em { color: var(--brand-accent); font-style: normal; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-tagline { margin-top: 1rem; max-width: 40ch; color: rgba(255,255,255,.6); }
.footer-head { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .7rem; }
.footer-contact .icon { width: 1.25em; height: 1.25em; color: var(--brand-accent); flex: 0 0 auto; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: #fff; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-menu a { color: rgba(255,255,255,.75); }
.footer-menu a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: rgba(255,255,255,.7); }

.to-top {
	position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
	border: 0; background: var(--brand-primary); color: #fff; cursor: pointer; display: grid; place-items: center;
	box-shadow: var(--shadow-3); opacity: 0; transform: translateY(20px); pointer-events: none;
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top .icon-up { transform: rotate(-90deg); }

/* ==========================================================================
   PAGE (Unterseiten)
   ========================================================================== */
.page-hero {
	background: linear-gradient(135deg, var(--brand-primary), #2f4258); background-size: cover; background-position: center;
	color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.crumbs a { color: rgba(255,255,255,.85); }
.page-hero-title { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; margin: 0; }
.page-content { background: var(--bg); }
.page-content .container-narrow { font-size: 1.06rem; }
.page-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2rem; }
.page-content h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.page-content img { border-radius: var(--radius); box-shadow: var(--shadow-2); margin: 1.5rem 0; }
.page-content ul, .page-content ol { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.page-content li { margin-bottom: .5rem; }
.page-content .wp-block-columns { gap: 2rem; }
.page-content .wp-block-group.has-background { border-radius: var(--radius); padding: clamp(1.5rem,4vw,2.5rem); }
.page-content blockquote { border-left: 4px solid var(--brand-accent); padding-left: 1.2rem; font-style: italic; color: var(--ink); margin: 1.5rem 0; }

.page-cta { padding: 0 0 clamp(3rem, 7vw, 5rem); }
.page-cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
	background: linear-gradient(135deg, var(--brand-primary), #2f4258); color: #fff;
	border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3rem); box-shadow: var(--shadow-3);
}
.page-cta-inner h2 { color: #fff; margin-bottom: .3rem; }
.page-cta-inner p { color: rgba(255,255,255,.8); margin: 0; }

/* ==========================================================================
   3D-Tilt & Reveal
   ========================================================================== */
.tilt { transform-style: preserve-3d; will-change: transform; }
.reveal { opacity: 1; transform: none; } /* Sicherung: ohne JS immer sichtbar */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.main-nav, .phone-link span { display: none; }
	.nav-toggle { display: grid; }
	.trust-grid { grid-template-columns: repeat(2, 1fr); }
	.about-grid, .contact-grid { grid-template-columns: 1fr; }
	.about-media { max-width: 560px; margin-inline: auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.header-inner { min-height: 66px; }
	.mobile-drawer { top: 66px; }
	.service-grid, .process-grid, .trust-grid { grid-template-columns: 1fr; }
	.hero { min-height: 88vh; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.about-badge { right: 50%; transform: translateX(50%); }
	.page-cta-inner { flex-direction: column; text-align: center; align-items: stretch; }
	.tilt { transform: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
	.hero-bg { inset: 0; }
	.tilt { transform: none !important; }
}
