/* ============================================================
   Baumfaellteam Sachsen-Anhalt - shared stylesheet
   - Mobile-First, BEM-light, semantische Selektoren
   - WCAG AA Kontraste, prefers-reduced-motion, Focus-visible
   ============================================================ */

/* -------- Lokale Fonts (DSGVO) ----------------------------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins/poppins-700.woff2') format('woff2');
}

/* -------- Tokens ------------------------------------------- */
:root {
  --c-bg:           #FFFFFF;
  --c-bg-alt:       #F4F3EF;
  --c-bg-soft:      #F7F7F4;
  --c-dark:         #26392C;
  --c-dark-2:       #1B2A20;
  --c-accent:       #E85D04;
  --c-accent-deep:  #C24A02;
  --c-accent-shade: #A03D00;
  --c-text:         #2B2A2B;
  --c-text-muted:   #5A5A55;
  --c-text-on-dark: #F4F3EF;
  --c-border:       #E3E2DE;
  --c-border-dark:  #38503F;
  --c-danger:       #B23B2C;
  --c-success:      #2F6B3F;

  --container:      1200px;
  --gutter:         clamp(16px, 4vw, 32px);

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, .08);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, .14);

  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Poppins', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* -------- Reset / Base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Fließtext-Links im Hauptinhalt sichtbar machen */
main p a:not(.btn):not(.cta-chip),
main li a:not(.btn):not(.cta-chip),
main dd a:not(.btn):not(.cta-chip) {
  color: var(--c-accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
main p a:not(.btn):not(.cta-chip):hover,
main p a:not(.btn):not(.cta-chip):focus-visible,
main li a:not(.btn):not(.cta-chip):hover,
main li a:not(.btn):not(.cta-chip):focus-visible,
main dd a:not(.btn):not(.cta-chip):hover,
main dd a:not(.btn):not(.cta-chip):focus-visible {
  color: var(--c-accent);
}
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* Skip-Link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-dark); color: var(--c-text-on-dark);
  padding: 12px 16px; z-index: 9999;
  text-decoration: underline;
}
.skip-link:focus { left: 0; }

/* Screen-Reader-Only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--c-accent-deep);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* -------- Typography --------------------------------------- */
.h1, h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c-text);
}
.h2, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.h3, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--c-text);
}
.lead { font-size: 1.125rem; color: var(--c-text-muted); }

/* -------- Container ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* -------- Buttons ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-accent-deep) 100%);
  color: #fff;
  border-color: var(--c-accent-deep);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.75) 50%,
    rgba(255,255,255,0) 80%);
  transform: translateX(-100%);
  pointer-events: none;
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover, .btn--primary:focus-visible {
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-accent-shade) 100%);
  border-color: var(--c-accent-shade);
}
.btn--primary:hover::before, .btn--primary:focus-visible::before {
  animation: btn-shimmer 1.1s ease;
}
@keyframes btn-shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.btn--dark {
  background: linear-gradient(180deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: var(--c-text-on-dark);
  border-color: var(--c-dark-2);
  position: relative;
  overflow: hidden;
}
.btn--dark::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.5) 50%,
    rgba(255,255,255,0) 80%);
  transform: translateX(-100%);
  pointer-events: none;
}
.btn--dark > * { position: relative; z-index: 1; }
.btn--dark:hover, .btn--dark:focus-visible {
  background: linear-gradient(180deg, var(--c-dark) 0%, #11201A 100%);
  border-color: #11201A;
}
.btn--dark:hover::before, .btn--dark:focus-visible::before {
  animation: btn-shimmer 1.1s ease;
}

.btn--outline-light {
  background: transparent;
  color: var(--c-text-on-dark);
  border-color: rgba(255,255,255,.6);
}
.btn--outline-light:hover, .btn--outline-light:focus-visible { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--c-dark);
  border-color: var(--c-dark);
}
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--c-dark); color: var(--c-text-on-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row > .btn { flex: 0 0 auto; min-width: 240px; }
@media (max-width: 520px) {
  .btn-row > .btn { flex: 1 1 100%; min-width: 0; }
}

/* Tel-Button mit Doppel-Label */
.tel-chip {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 2px; padding: 10px 16px;
  background: var(--c-dark);
  color: var(--c-text-on-dark);
  border-radius: var(--r-md);
  text-decoration: none;
  font-family: var(--font-display);
  min-height: 48px; justify-content: center;
}
.tel-chip__number { font-weight: 700; font-size: 1rem; }
.tel-chip__hint   { font-weight: 500; font-size: .8125rem; color: var(--c-accent); }

/* CTA-Chips im Header (Tel + Angebot) */
.site-nav__cta { display: flex; gap: 12px; align-items: stretch; }
.cta-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  min-height: 56px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-family: var(--font-display);
  line-height: 1.15;
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.cta-chip__icon { flex-shrink: 0; }
.cta-chip__text { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.cta-chip__main { font-weight: 600; font-size: 1rem; }
.cta-chip__hint { font-weight: 500; font-size: .75rem; opacity: .9; }
.cta-chip--single .cta-chip__main { font-size: 1rem; }
.cta-chip--dark {
  background: linear-gradient(180deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: var(--c-text-on-dark);
  border-color: var(--c-dark-2);
  position: relative; overflow: hidden;
}
.cta-chip--dark::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.5) 50%,
    rgba(255,255,255,0) 80%);
  transform: translateX(-100%);
  pointer-events: none;
}
.cta-chip--dark > * { position: relative; z-index: 1; }
.cta-chip--dark:hover, .cta-chip--dark:focus-visible {
  background: linear-gradient(180deg, var(--c-dark) 0%, #11201A 100%);
  border-color: #11201A;
}
.cta-chip--dark:hover::before, .cta-chip--dark:focus-visible::before {
  animation: btn-shimmer 1.1s ease;
}
.cta-chip--accent {
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-accent-deep) 100%);
  color: #fff;
  border-color: var(--c-accent-deep);
  position: relative; overflow: hidden;
}
.cta-chip--accent::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.75) 50%,
    rgba(255,255,255,0) 80%);
  transform: translateX(-100%);
  pointer-events: none;
}
.cta-chip--accent > * { position: relative; z-index: 1; }
.cta-chip--accent .cta-chip__hint { color: rgba(255,255,255,.9); opacity: 1; }
.cta-chip--accent:hover, .cta-chip--accent:focus-visible {
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-accent-shade) 100%);
  border-color: var(--c-accent-shade);
}
.cta-chip--accent:hover::before, .cta-chip--accent:focus-visible::before {
  animation: btn-shimmer 1.1s ease;
}

/* -------- Topbar (ueber Header) ---------------------------- */
.topbar {
  display: none;
  background: var(--c-dark);
  color: var(--c-text-on-dark);
  font-size: .8125rem;
  line-height: 1.45;
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar > .container { max-width: 1400px; }
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 2em;
  row-gap: 4px;
  padding-block: 10px;
  min-height: 45px;
}
.topbar__line {
  margin: 0;
  flex: 1 1 calc(50% - 1em);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.topbar__line > * { white-space: nowrap; }
.topbar__line--promise  { justify-content: flex-start; color: rgba(244, 243, 239, .92); }
.topbar__line--contact  { justify-content: flex-end; }
.topbar__line a {
  color: var(--c-accent);
  text-decoration: none;
}
.topbar__line a:hover, .topbar__line a:focus-visible { text-decoration: underline; }
.topbar__sep { color: rgba(244, 243, 239, .35); }

/* -------- Header / Nav ------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.site-header > .container { max-width: 1400px; }
.site-header__inner {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 16px;
  padding-block: 0;
  min-height: 72px;
}
.site-brand { align-items: center; }
.site-brand {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-dark);
  line-height: 1;
}
.site-brand__logo {
  height: 100%;
  max-height: 72px;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .site-brand__logo { max-height: 114px; }
}
.site-brand__suffix {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .875rem;
  color: var(--c-text-muted);
}
.mobile-drawer .site-brand__logo { height: 40px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  align-self: center;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
}
.nav-toggle__bars { position: relative; width: 22px; height: 2px; background: var(--c-dark); display: block; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--c-dark);
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after  { top: 7px; }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: 24px; align-items: center; }
.site-nav a:not(.cta-chip) {
  font-weight: 500; font-size: .9375rem; color: var(--c-text);
  padding: 8px 4px;
}
.site-nav a:not(.cta-chip):hover, .site-nav a:not(.cta-chip):focus-visible { color: var(--c-dark); }
.site-nav a[aria-current="page"]:not(.cta-chip) {
  color: var(--c-dark); font-weight: 600;
  border-bottom: 2px solid var(--c-accent-deep);
}

/* Mobile-Drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--c-bg);
  padding: 24px var(--gutter);
  z-index: 200;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer[data-open="true"] { display: flex; }
.mobile-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-drawer__close {
  width: 44px; height: 44px; border: 1px solid var(--c-border); background: transparent;
  border-radius: var(--r-sm); font-size: 1.5rem; color: var(--c-dark);
}
.mobile-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--c-border);
  font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; color: var(--c-text);
}
.mobile-drawer__cta { margin-top: 24px; display: grid; gap: 12px; }
.mobile-drawer__cta .btn { color: #fff; border-bottom: 0; padding: 12px 20px; }

/* -------- Mobile Sticky Bottom-Bar --------------------------- */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-top: 1px solid rgba(20,25,20,.08);
  box-shadow: 0 -6px 20px rgba(20,25,20,.10);
  transform: translateY(120%);
  transition: transform .28s ease;
}
.mobile-cta-bar[data-visible="1"] { transform: translateY(0); }

.mobile-cta-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r-sm, 8px);
  text-decoration: none;
  border: 1px solid transparent;
  transition: filter .15s ease;
}
.mobile-cta-bar__btn--call {
  background: linear-gradient(180deg, var(--c-dark, #26392C) 0%, var(--c-dark-2, #1c2b21) 100%);
  color: #fff;
  border-color: var(--c-dark-2, #1c2b21);
}
.mobile-cta-bar__btn--form {
  background: linear-gradient(180deg, var(--c-accent, #F28907) 0%, var(--c-accent-deep, #C24A02) 100%);
  color: #fff;
  border-color: var(--c-accent-deep, #C24A02);
}
.mobile-cta-bar__btn:active { filter: brightness(.92); }

@media (max-width: 720px) {
  .mobile-cta-bar { display: grid; }
  body.has-cta-bar { padding-bottom: 72px; }
}
.mobile-drawer__promise {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  display: grid; gap: 6px;
}
.mobile-drawer__promise li {
  position: relative; padding-left: 22px;
  font-size: .9375rem; color: var(--c-text-muted);
}
.mobile-drawer__promise li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-accent);
}
.mobile-drawer__contact {
  margin-top: 20px;
  display: grid; gap: 6px;
  font-size: .9375rem;
  color: var(--c-text-muted);
}
.mobile-drawer__contact a { color: var(--c-dark); text-decoration: underline; text-underline-offset: 2px; }

/* -------- Hero --------------------------------------------- */
.hero {
  position: relative;
  background: var(--c-dark);
  color: var(--c-text-on-dark);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}

/* Hero-Slider (Ken-Burns Zoom + Zoom-Transition) */
.hero__slider {
  position: absolute; inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #000;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1);
  z-index: 1;
  will-change: opacity, transform;
  transition: opacity 1.5s ease, transform 1.5s cubic-bezier(.3,.05,.5,1);
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  animation: hero-zoom-in 1.6s cubic-bezier(.2,.6,.25,1) both,
             hero-ken-burns 12s 1.6s ease-out both;
}
.hero-slide.is-leaving {
  opacity: 0;
  transform: scale(1.28);
  z-index: 3;
  animation: none;
}
.hero-slide picture,
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@keyframes hero-zoom-in {
  from { transform: scale(.92); }
  to   { transform: scale(1); }
}
@keyframes hero-ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

.hero__dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 5;
  padding: 8px 14px;
  background: rgba(0,0,0,.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__dot {
  width: 10px; height: 10px;
  border: 0;
  background: rgba(255,255,255,.55);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.hero__dot:hover { background: rgba(255,255,255,.9); }
.hero__dot.is-active {
  background: var(--c-accent);
  transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active, .hero-slide.is-leaving {
    animation: none !important;
    transition: opacity .5s ease !important;
    transform: none !important;
  }
}
/* Mobile: nur ein statisches Hero-Bild, kein Slider */
@media (max-width: 640px) {
  .hero__dots { display: none; }
  .hero-slide {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .hero-slide.is-leaving {
    /* auf Mobile gibt es keinen Wechsel, aber falls Klasse gesetzt wird: still ausblenden */
    opacity: 0;
  }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(27, 42, 32, .55) 0%,
    rgba(27, 42, 32, .75) 60%,
    rgba(27, 42, 32, .85) 100%);
}
.hero__inner {
  padding-block: clamp(64px, 11vw, 140px);
  max-width: 760px;
}
.hero h1 { color: var(--c-text-on-dark); margin-bottom: 20px; }
.hero p.lead {
  color: rgba(244, 243, 239, .92);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  margin-bottom: 32px;
  max-width: 620px;
}
.hero .btn-row { gap: 14px; }

/* -------- Section base ------------------------------------- */
.section {
  padding-block: clamp(56px, 8vw, 96px);
}
.section--soft { background: var(--c-bg-soft); }
.section--alt  { background: var(--c-bg-alt); }
.section--dark { background: var(--c-dark); color: var(--c-text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--c-text-on-dark); }

.section__head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 48px; }
.section__head p { color: var(--c-text-muted); margin-top: 14px; }
.section--dark .section__head p { color: rgba(244, 243, 239, .8); }

.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
  margin-bottom: 12px;
}
.hero .eyebrow,
.section--dark .eyebrow { color: var(--c-accent); }

/* -------- USP-Stats ---------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.stat {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent-deep);
  padding: 28px 24px;
  border-radius: var(--r-md);
  text-align: left;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--c-dark);
  line-height: 1.1;
}
.stat__label {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-top: 6px;
}

/* -------- Service-Cards ------------------------------------ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service__media { aspect-ratio: 4 / 3; background: var(--c-bg-alt); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--c-dark);
}
.service__title small { display: block; font-weight: 500; font-size: .9375rem; color: var(--c-text-muted); margin-top: 4px; }
.service__list { display: grid; gap: 10px; }
.service__list li {
  position: relative; padding-left: 24px;
  font-size: .9375rem; line-height: 1.55;
}
.service__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px;
  background: var(--c-accent);
  border-radius: 50%;
}
.service__list strong { display: block; font-weight: 600; color: var(--c-text); }
.service__cta { margin-top: auto; }
.service__cta .btn { width: 100%; }

/* -------- Reviews / Testimonials --------------------------- */
.reviews {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.review {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px;
}
.review__quote {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-text);
  margin-bottom: 16px;
}
.review__stars {
  color: var(--c-accent-deep); letter-spacing: 2px; margin-bottom: 8px;
  font-size: 1.125rem;
}
.review__author {
  font-weight: 600; font-size: .9375rem; color: var(--c-text-muted);
}

/* -------- Form --------------------------------------------- */
.form-wrap { background: var(--c-bg); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label {
  font-weight: 500; font-size: .9375rem; color: var(--c-text);
}
.field label .req { color: var(--c-danger); margin-left: 2px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-bg);
  font-family: var(--font-body); font-size: 1rem; color: var(--c-text);
  min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 3px solid var(--c-accent-deep); outline-offset: 1px; border-color: var(--c-dark);
}
.field--check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.field--check input { min-height: 0; width: 20px; height: 20px; margin-top: 4px; }
.field--check label { font-weight: 400; font-size: .9375rem; color: var(--c-text-muted); }
.field--check a { color: var(--c-dark); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }

.form__captcha { display: grid; grid-template-columns: 1fr; gap: 6px; }
.form__captcha-q { font-weight: 500; font-size: .9375rem; }

.form__status { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 16px; font-size: .9375rem; }
.form__status--ok   { background: #E7F1E9; color: var(--c-success); border: 1px solid #BFD7C2; }
.form__status--err  { background: #FBE6E2; color: var(--c-danger);  border: 1px solid #F0BFB7; }

/* -------- FAQ ---------------------------------------------- */
.faq { display: grid; gap: 8px; max-width: 820px; margin-inline: auto; }
.faq__item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.faq__q {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.0625rem; color: var(--c-text);
  position: relative;
  display: block;
  border-radius: var(--r-md);
}
.faq__q::after {
  content: '+';
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--c-dark);
  transition: transform .2s;
}
.faq__q[aria-expanded="true"]::after { content: '–'; }
.faq__a {
  padding: 0 22px 22px;
  font-size: 1rem; line-height: 1.65;
  color: var(--c-text-muted);
}
.faq__a[hidden] { display: none; }

/* -------- Map / Einsatzgebiete ----------------------------- */
.areas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.areas__list ul {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px;
}
.areas__list a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--c-border-dark);
}
/* Dunkler Bereich: alle Fliesstext-Links weiss (schlaegt Fliesstext-Orange-Regel) */
main .section--dark p a:not(.btn):not(.cta-chip),
main .section--dark li a:not(.btn):not(.cta-chip),
main .section--dark dd a:not(.btn):not(.cta-chip) {
  color: #fff;
  text-decoration: none;
}
main .section--dark p a:not(.btn):not(.cta-chip):hover,
main .section--dark p a:not(.btn):not(.cta-chip):focus-visible,
main .section--dark li a:not(.btn):not(.cta-chip):hover,
main .section--dark li a:not(.btn):not(.cta-chip):focus-visible,
main .section--dark dd a:not(.btn):not(.cta-chip):hover,
main .section--dark dd a:not(.btn):not(.cta-chip):focus-visible {
  color: var(--c-accent);
  text-decoration: none;
}
.areas__list a::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-accent);
}
.areas__panel {
  background: var(--c-dark-2);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 36px);
  color: var(--c-text-on-dark);
  align-self: start;
}
.areas__panel-region {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--c-accent);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.areas__panel-text {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(244, 243, 239, .92);
  margin: 0 0 20px;
}
.areas__panel-text strong { color: var(--c-text-on-dark); font-weight: 600; }
.areas__panel-foot {
  font-size: .9375rem;
  color: rgba(244, 243, 239, .7);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--c-border-dark);
}

/* -------- CTA-Band ----------------------------------------- */
.cta-band {
  background: var(--c-accent);
  padding-block: clamp(40px, 6vw, 64px);
}
.cta-band__inner {
  display: grid; gap: 20px; align-items: center;
  grid-template-columns: 1fr;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; }
.cta-band .btn-row { justify-content: flex-start; }
.cta-band .btn--ghost { color: #fff; border-color: #fff; }
.cta-band .btn--ghost:hover,
.cta-band .btn--ghost:focus-visible { background: #fff; color: var(--c-accent-deep); border-color: #fff; }

/* -------- Footer ------------------------------------------- */
.site-footer {
  background: var(--c-dark-2);
  color: var(--c-text-on-dark);
  padding-block: 48px 24px;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border-dark);
}
.site-footer h3 { color: var(--c-text-on-dark); font-size: 1rem; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: rgba(244, 243, 239, .8); font-size: .9375rem; line-height: 1.6; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--c-accent); }
.site-footer ul { display: grid; gap: 8px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: .8125rem; color: rgba(244, 243, 239, .55);
}
.site-footer__legal a { color: rgba(244, 243, 239, .8); margin-right: 14px; }

/* -------- Stadtseiten: Info-Box (Baumschutz) ---------------- */
.info-box {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin-inline: auto;
}
.info-box--accent {
  border-left: 5px solid var(--c-accent-deep);
}
.info-box__body p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
}
.info-box__body p:last-child { margin-bottom: 0; }
.info-box__body strong { font-weight: 600; }
.info-box__source {
  font-size: .9375rem !important;
  color: var(--c-text-muted) !important;
  padding-top: 12px;
  margin-top: 12px !important;
  border-top: 1px solid var(--c-border);
}
.info-box__source a {
  color: var(--c-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.info-box__source a:hover, .info-box__source a:focus-visible {
  color: var(--c-dark-2);
}

.info-box__cta {
  margin: 20px 0 0 !important;
}
.link-extern {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent-deep);
  border-radius: var(--r-sm);
  color: var(--c-text);
  text-decoration: none;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.link-extern:hover, .link-extern:focus-visible {
  background: var(--c-bg-alt);
  border-color: var(--c-dark);
  border-left-color: var(--c-dark);
  transform: translateY(-1px);
}
.link-extern__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-bg);
  border-radius: 50%;
  color: var(--c-dark);
}
.link-extern__text {
  display: flex; flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.link-extern__main {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--c-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.link-extern:hover .link-extern__main,
.link-extern:focus-visible .link-extern__main {
  color: var(--c-dark-2);
  text-decoration-thickness: 2.5px;
}
.link-extern__main::after { content: ' \2192'; color: var(--c-text-muted); text-decoration: none; display: inline-block; }
.link-extern__hint {
  font-size: .875rem;
  color: var(--c-text-muted);
  line-height: 1.3;
}

.city-note {
  max-width: 880px;
  margin: 20px auto 0;
  padding: 16px 20px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  border-left: 3px solid var(--c-accent);
  background: rgba(244, 230, 122, .12);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.city-note strong { color: var(--c-text); font-weight: 600; }

/* -------- Stadtseiten: Referenz-Karten + Platzhalter ------- */
.ref-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.ref-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ref-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--c-border);
}
.ref-card__body { padding: 16px 20px; }
.ref-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--c-dark);
  margin: 0 0 8px;
}
.ref-card__text {
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--c-text-muted);
  margin: 0;
}

.img-placeholder {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.025) 0 12px, transparent 12px 24px),
    var(--c-bg-alt);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border);
}
.img-placeholder__icon {
  font-size: 2rem;
  line-height: 1;
  opacity: .55;
}
.img-placeholder__text {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* -------- Stadtseiten: Karten-Wrapper (OSM iframe) --------- */
.map-wrap {
  max-width: 1000px;
  margin-inline: auto;
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: block;
  background: var(--c-bg-alt);
}
.map-frame {
  position: relative;
  width: 100%;
  height: 420px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-bg-alt);
}
.map-frame iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  background: var(--c-bg-alt);
}
.map-frame__consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px;
  gap: 14px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(38,57,44,.88), rgba(20,20,20,.92)),
    radial-gradient(circle at 30% 20%, rgba(232,93,4,.28), transparent 60%);
}
.map-frame__icon { color: rgba(255,255,255,.9); }
.map-frame__text {
  margin: 0; font-size: .95rem; line-height: 1.5; max-width: 40ch;
}
.map-frame__btn { min-width: 200px; }
.map-frame__hint {
  margin: 4px 0 0;
  font-size: .78rem; line-height: 1.5;
  color: rgba(255,255,255,.78);
  max-width: 44ch;
}
.map-frame__hint a { color: #fff; text-decoration: underline; }

/* -------- Datenschutz TL;DR -------------------------------- */
.tldr {
  margin: 24px 0 8px;
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, #FFF7EE 0%, #FFEED9 100%);
  border: 1px solid rgba(194, 74, 2, .18);
  border-left: 4px solid var(--c-accent-deep, #C24A02);
  border-radius: var(--r-md, 10px);
}
.tldr__title {
  margin: 0 0 12px;
  font-size: 1.0625rem;
  color: var(--c-dark);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.tldr__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.tldr__list li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--c-text, #2B2A2B);
}
.tldr__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  background-color: var(--c-accent-deep, #C24A02);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5 9-11'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5 9-11'/></svg>") center/contain no-repeat;
}
.tldr__list strong { color: var(--c-dark); }
.map-attribution {
  font-size: .8125rem;
  color: var(--c-text-muted);
  margin: 8px 4px 0;
  text-align: right;
}
.map-attribution a {
  color: var(--c-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.map-attribution a:hover, .map-attribution a:focus-visible {
  color: var(--c-dark);
}

/* -------- Leistungsseiten: USP-Grid, Details, Ablauf, Cross --- */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.usp-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent-deep);
  border-radius: var(--r-md);
  padding: 24px;
}
.usp-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--c-dark);
  margin: 0 0 10px;
}
.usp-card__text {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  margin: 0;
}

.detail-list {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin-inline: auto;
}
.detail-item {
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-dark);
  padding: 20px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.detail-item__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--c-dark);
  margin: 0 0 8px;
}
.detail-item__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  margin: 0;
}

.check-list {
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--c-text);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px; height: 20px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--c-bg), inset 0 0 0 3px var(--c-accent);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 6px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--c-dark);
  border-bottom: 2px solid var(--c-dark);
  transform: rotate(-45deg);
}

.cost-list {
  display: grid;
  gap: 16px;
  margin: 0;
}
.cost-list__item {
  padding: 18px 20px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.cost-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--c-dark);
  margin: 0 0 6px;
}
.cost-list dd {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  margin: 0;
}
.cost-list dd a { color: var(--c-dark); text-decoration: underline; text-underline-offset: 2px; }

.ablauf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  counter-reset: none;
}
.ablauf-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.ablauf-step__nr {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--c-dark);
  color: var(--c-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
}
.ablauf-step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--c-dark);
  margin: 4px 0 6px;
}
.ablauf-step__body p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* -------- WOW-Slider (Baumfall-Effekt) --------------------- */
.wow-slider {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 8px auto 0;
  aspect-ratio: 16 / 9;
  perspective: 1600px;
  perspective-origin: center 30%;
  overflow: hidden;
  background: #000;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}
.wow-slider__stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.wow-slide {
  position: absolute; inset: 0;
  margin: 0;
  opacity: 0;
  transform-origin: bottom center;
  transform: rotateX(0deg);
  transition: transform 1.15s cubic-bezier(.55,.05,.35,.95), opacity .9s ease;
  will-change: transform, opacity;
  z-index: 1;
  pointer-events: none;
  backface-visibility: hidden;
}
.wow-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.wow-slide.is-leaving {
  opacity: 1;
  z-index: 3;
  animation: bfsa-fall 1.15s cubic-bezier(.55,.05,.35,.95) forwards;
}
@keyframes bfsa-fall {
  0%   { transform: rotateX(0deg);   opacity: 1; }
  60%  { transform: rotateX(-70deg); opacity: 1; filter: brightness(.75); }
  100% { transform: rotateX(-95deg); opacity: 0; filter: brightness(.4); }
}
.wow-slide picture, .wow-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wow-slide__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .01em;
  z-index: 4;
  pointer-events: none;
}
@media (min-width: 640px) {
  .wow-slide__caption { padding: 60px 32px 28px; font-size: 1.125rem; }
}

.wow-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 2px solid rgba(255,255,255,.7);
  background: rgba(0,0,0,.35);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 10;
  padding: 0;
  transition: background .15s, border-color .15s, transform .15s;
  backdrop-filter: blur(4px);
}
.wow-slider__nav:hover, .wow-slider__nav:focus-visible {
  background: rgba(0,0,0,.6);
  border-color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.wow-slider__nav--prev { left: 12px; }
.wow-slider__nav--next { right: 12px; }
@media (min-width: 640px) {
  .wow-slider__nav { width: 52px; height: 52px; }
  .wow-slider__nav--prev { left: 20px; }
  .wow-slider__nav--next { right: 20px; }
}

.wow-slider__dots {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  padding: 6px 10px;
  background: rgba(0,0,0,.35);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.wow-slider__dot {
  width: 10px; height: 10px;
  border: 0;
  background: rgba(255,255,255,.55);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.wow-slider__dot:hover { background: rgba(255,255,255,.9); }
.wow-slider__dot.is-active {
  background: var(--c-accent);
  transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
  .wow-slide, .wow-slide.is-leaving { animation: none !important; transition: opacity .3s !important; transform: none !important; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0;
}
.gallery-item figure {
  margin: 0;
  background: var(--c-bg);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-item__caption {
  padding: 14px 18px;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--c-text-muted);
  border-top: 1px solid var(--c-border);
}

.cross-h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--c-accent);
  margin: 0 0 16px;
  letter-spacing: .01em;
}
.cross-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.cross-card {
  background: var(--c-dark-2);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--r-md);
}
.cross-card a {
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  color: var(--c-text-on-dark);
  text-decoration: none;
  transition: background-color .15s;
}
.cross-card a:hover, .cross-card a:focus-visible {
  background: rgba(255,255,255,.04);
}
.cross-card strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--c-accent);
}
.cross-card span {
  font-size: .9375rem;
  line-height: 1.5;
  color: rgba(244, 243, 239, .8);
}

/* -------- Visually utility --------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.text-center { text-align: center; }

/* -------- Reduced Motion ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .service:hover { transform: none; }
  .btn:hover { transform: none; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */

@media (min-width: 640px) {
  .stats     { grid-template-columns: repeat(3, 1fr); }
  .reviews   { grid-template-columns: repeat(2, 1fr); }
  .areas__list ul { grid-template-columns: repeat(3, 1fr); }
  .ref-grid  { grid-template-columns: repeat(2, 1fr); }
  .usp-grid  { grid-template-columns: repeat(3, 1fr); }
  .cross-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .areas    { grid-template-columns: 1fr 1.1fr; }
  .areas__list ul { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { grid-template-columns: 1.4fr auto; }
  .cta-band .btn-row { justify-content: flex-end; }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
  .cross-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .site-header__inner { padding-block: 0; min-height: 114px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 32px; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1fr; }
}
