/* =============================================================
   ASH Aktiv Service Hannover – Relaunch
   Design system & styles
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --blue-900: #0f2f63;
  --blue-800: #14448c;
  --blue-700: #1b4f9c;   /* primary */
  --blue-600: #2a63b8;
  --blue-100: #e7eefb;
  --blue-050: #f2f6fd;

  --orange-600: #e06b12;
  --orange-500: #ef7d1a; /* accent */
  --orange-400: #f7952f;
  --orange-100: #fdeede;

  /* Neutrals / warmth */
  --sand-050: #fbf8f3;
  --sand-100: #f5efe6;
  --sand-200: #ece3d5;
  --cream: #fffdf9;

  --ink-900: #1d2433;
  --ink-700: #3a4356;
  --ink-500: #5a6478;
  --ink-300: #8b93a4;

  --white: #ffffff;

  /* Semantic */
  --bg: var(--sand-050);
  --surface: var(--cream);
  --text: var(--ink-900);
  --text-soft: var(--ink-700);
  --text-mute: var(--ink-500);
  --primary: var(--blue-700);
  --accent: var(--orange-500);
  --line: rgba(29, 36, 51, 0.10);

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing / radius */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(15, 47, 99, 0.06);
  --shadow: 0 14px 40px -18px rgba(15, 47, 99, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(15, 47, 99, 0.35);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.6rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.8rem, 5vw, 4.5rem); }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow--center::before { display: none; }

.section-title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); margin-top: 0.7rem; }
.section-lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); color: var(--text-soft); margin-top: 1.1rem; }

.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-weight: 650; font-size: 1.02rem;
  padding: 0.95rem 1.6rem; border-radius: 999px;
  border: 2px solid transparent; text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 12px 26px -12px rgba(27, 79, 156, 0.75); }
.btn--primary:hover { background: var(--blue-800); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(27, 79, 156, 0.75); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(239, 125, 26, 0.8); }
.btn--accent:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(239, 125, 26, 0.8); }
.btn--ghost { background: transparent; color: var(--primary); border-color: rgba(27, 79, 156, 0.28); }
.btn--ghost:hover { background: var(--blue-050); border-color: var(--primary); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { background: rgba(251, 248, 243, 0.94); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 70px; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 52px; width: auto; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .brand img { height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--blue-800); letter-spacing: -0.01em; }
.brand-text span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-600); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  position: relative; padding: 0.5rem 0.85rem; border-radius: 999px;
  color: var(--text-soft); font-weight: 550; font-size: 0.98rem;
  transition: color 0.2s, background 0.2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.32rem; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--blue-800); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--blue-800); }
.nav a.is-active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 0.7rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--blue-800); white-space: nowrap; }
.header-phone svg { width: 1.1em; height: 1.1em; color: var(--accent); }

.nav-toggle { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); z-index: 200;
  background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.42s var(--ease);
  display: flex; flex-direction: column; padding: 1.5rem 1.4rem 2rem; gap: 0.4rem;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-nav a { padding: 0.9rem 0.6rem; border-radius: 12px; font-size: 1.12rem; font-weight: 600; color: var(--ink-900); border-bottom: 1px solid var(--line); }
.mobile-nav a:hover, .mobile-nav a.is-active { background: var(--blue-050); color: var(--blue-800); }
.mobile-nav .btn { margin-top: 1.1rem; }
.scrim { position: fixed; inset: 0; z-index: 150; background: rgba(15, 47, 99, 0.4); opacity: 0; visibility: hidden; transition: opacity 0.35s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--blue-800); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(120% 90% at 82% 8%, var(--blue-050) 0%, transparent 55%),
    radial-gradient(90% 80% at 8% 92%, var(--orange-100) 0%, transparent 50%),
    var(--sand-050); }
.hero-blob { position: absolute; z-index: -1; filter: blur(2px); opacity: 0.55; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); }
.hero-title em { font-style: normal; color: var(--primary); position: relative; }
.hero-title .u { background: linear-gradient(transparent 66%, var(--orange-100) 0); }
.hero-lead { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.4rem); color: var(--text-soft); margin-top: 1.3rem; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; }
.hero-trust li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--text-soft); font-size: 0.98rem; }
.hero-trust svg { width: 1.3em; height: 1.3em; color: var(--accent); flex: none; }

/* Hero visual: heart/hand emblem card */
.hero-visual { position: relative; }
.hero-card {
  position: relative; background: var(--surface); border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.7);
}
.hero-emblem { width: 100%; height: auto; display: block; }
.hero-badge {
  position: absolute; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.85rem 1.1rem; display: flex; align-items: center; gap: 0.7rem;
}
.hero-badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue-800); display: block; line-height: 1; }
.hero-badge span { font-size: 0.8rem; color: var(--text-mute); }
.hero-badge .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hero-badge--tl { top: 6%; left: -4%; }
.hero-badge--br { bottom: 8%; right: -5%; }
.hero-badge .ic--blue { background: var(--blue-100); color: var(--blue-700); }
.hero-badge .ic--orange { background: var(--orange-100); color: var(--orange-600); }
.hero-badge svg { width: 22px; height: 22px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--blue-900); color: #dbe6fb; }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2rem; padding-block: 1.3rem; }
.trust-strip p { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.98rem; }
.trust-strip svg { width: 1.4em; height: 1.4em; color: var(--orange-400); flex: none; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.svc-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 1.9rem 1.7rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative; overflow: hidden;
}
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { transform: scaleY(1); }
.svc-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-050); color: var(--blue-700); margin-bottom: 1.15rem; transition: background 0.4s, color 0.4s; }
.svc-card:hover .svc-ic { background: var(--orange-100); color: var(--orange-600); }
.svc-ic svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.svc-card p { color: var(--text-soft); font-size: 0.99rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.leitbild-card {
  background: linear-gradient(160deg, var(--blue-800), var(--blue-900));
  color: #eaf1fd; border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.leitbild-card::before { content: "\201C"; position: absolute; top: -0.3rem; left: 1.4rem; font-family: var(--font-display); font-size: 9rem; color: rgba(247, 149, 47, 0.28); line-height: 1; }
.leitbild-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; position: relative; }
.leitbild-card p { position: relative; font-size: 1.12rem; line-height: 1.7; }
.leitbild-sign { margin-top: 1.6rem; display: flex; align-items: center; gap: 0.8rem; position: relative; }
.leitbild-sign .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-500); display: grid; place-items: center; color: #fff; flex: none; }
.leitbild-sign strong { display: block; color: #fff; }
.leitbild-sign span { font-size: 0.88rem; color: #b9caea; }

.feature-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.feature-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.feature-list .ck { width: 30px; height: 30px; border-radius: 50%; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; flex: none; margin-top: 2px; }
.feature-list .ck svg { width: 17px; height: 17px; }
.feature-list strong { display: block; color: var(--ink-900); font-size: 1.06rem; }
.feature-list p { color: var(--text-soft); font-size: 0.98rem; margin-top: 0.15rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; margin-top: 3rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.5rem; position: relative; box-shadow: var(--shadow-sm); }
.step-num { counter-increment: step; font-family: var(--font-display); font-size: 2.4rem; color: var(--orange-400); line-height: 1; }
.step-num::before { content: "0" counter(step); }
.step h3 { font-size: 1.16rem; margin: 0.6rem 0 0.4rem; }
.step p { color: var(--text-soft); font-size: 0.96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: center; padding: 1.2rem; }
.stat b { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); color: var(--blue-800); display: block; line-height: 1; }
.stat span { color: var(--text-mute); font-weight: 600; margin-top: 0.5rem; display: block; font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  border-radius: var(--radius-xl); padding: clamp(2.4rem, 5vw, 4rem);
  color: #eaf1fd; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.cta-inner p { margin-top: 0.9rem; font-size: 1.1rem; color: #cdddf7; }
.cta-actions { display: flex; flex-direction: column; gap: 0.9rem; }
.cta-actions .btn { width: 100%; }
.cta-phone { font-family: var(--font-display); font-size: 1.6rem; color: #fff; display: inline-flex; align-items: center; gap: 0.7rem; }
.cta-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(247,149,47,0.4), transparent 70%); top: -120px; right: -80px; }

/* ---------- Content pages (prose) ---------- */
.page-hero { background:
    radial-gradient(120% 100% at 85% 0%, var(--blue-050) 0%, transparent 55%),
    var(--sand-050);
  padding-block: clamp(2.8rem, 6vw, 4.6rem) clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb { font-size: 0.9rem; color: var(--text-mute); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--text-mute); }
.page-hero .breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
.page-hero p { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem); color: var(--text-soft); margin-top: 1rem; max-width: 60ch; }

.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); margin-top: 2.6rem; margin-bottom: 0.8rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; margin-bottom: 0.5rem; color: var(--blue-800); }
.prose p { margin-bottom: 1.05rem; color: var(--text-soft); }
.prose ul { margin: 0 0 1.2rem; padding-left: 0; list-style: none; display: grid; gap: 0.7rem; }
.prose ul li { position: relative; padding-left: 1.9rem; color: var(--text-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--ink-900); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* Info cards (leistungen detail) */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-600); background: var(--orange-100); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem; }
.info-card h3 { font-size: 1.28rem; margin-bottom: 0.5rem; color: var(--ink-900); }
.info-card p { color: var(--text-soft); font-size: 0.99rem; }
.info-card .amount { margin-top: 0.9rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--blue-800); }

/* Accordion */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.acc + .acc { margin-top: 1rem; }
.acc summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-size: 1.18rem; color: var(--ink-900); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-050); color: var(--blue-700); display: grid; place-items: center; flex: none; transition: transform 0.35s var(--ease), background 0.3s; }
.acc[open] summary .chev { transform: rotate(180deg); background: var(--orange-100); color: var(--orange-600); }
.acc .acc-body { padding: 0 1.5rem 1.4rem; color: var(--text-soft); }
.acc .acc-body p { margin-bottom: 0.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
.contact-info { display: grid; gap: 1.1rem; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.contact-line .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-050); color: var(--blue-700); display: grid; place-items: center; flex: none; }
.contact-line .ic svg { width: 22px; height: 22px; }
.contact-line span { display: block; font-size: 0.82rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.contact-line strong { font-size: 1.12rem; color: var(--ink-900); font-weight: 650; }
.contact-line a { color: var(--ink-900); }
.contact-line a:hover { color: var(--primary); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 650; margin-bottom: 0.4rem; color: var(--ink-900); font-size: 0.98rem; }
.field label .req { color: var(--orange-600); }
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--sand-200); border-radius: 12px;
  background: var(--sand-050); font: inherit; color: var(--ink-900); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(27, 79, 156, 0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-mute); margin-bottom: 1.2rem; }
.form-consent input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.form-note { font-size: 0.85rem; color: var(--text-mute); margin-top: 0.9rem; text-align: center; }
.form-success { display: none; padding: 1.1rem 1.2rem; border-radius: 12px; background: var(--blue-050); border: 1px solid var(--blue-100); color: var(--blue-800); font-weight: 600; margin-bottom: 1.2rem; }
.form-success.is-visible { display: block; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 2rem; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: saturate(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9caea; padding-block: clamp(3rem, 6vw, 4.5rem) 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand img { height: 54px; background: #fff; padding: 6px 10px; border-radius: 12px; }
.footer-brand p { margin-top: 1.1rem; font-size: 0.96rem; max-width: 32ch; color: #9fb4dc; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: #b9caea; font-size: 0.98rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.98rem; }
.footer-contact svg { width: 1.15em; height: 1.15em; color: var(--orange-400); flex: none; margin-top: 0.25rem; }
.footer-esf { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; background: rgba(255,255,255,0.06); padding: 0.8rem; border-radius: 12px; }
.footer-esf img { height: 48px; border-radius: 6px; background: #fff; padding: 3px; }
.footer-esf span { font-size: 0.8rem; color: #9fb4dc; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.6rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.88rem; color: #8ba3cf; }
.footer-bottom a { color: #8ba3cf; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animations ---------- */
/* Only hide reveals when JS is active (progressive enhancement).
   Without JS the content stays fully visible. */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

.float-slow { animation: floaty 7s ease-in-out infinite; }
.float-slow--2 { animation-delay: -3.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float-slow { animation: none !important; }
  .btn, .svc-card, .info-card { transition: none !important; }
}

/* ---------- Skip link & focus ---------- */
.skip-link { position: absolute; left: 1rem; top: -60px; background: var(--primary); color: #fff; padding: 0.7rem 1.2rem; border-radius: 8px; z-index: 300; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .hero-badge--tl { left: 2%; }
  .hero-badge--br { right: 2%; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-grid; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .brand-text { display: none; }
}
