/* ==========================================================================
   Kirchröder Schlüsseldienst — Design System
   Marke: Rot (#D8281C) + Silbergrau + Slate · Sora / Inter
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --red: #D8281C;
  --red-600: #C0231A;
  --red-700: #A11C14;
  --red-tint: #FBEAE8;

  /* Neutrals (Slate) */
  --ink: #0E141B;
  --ink-2: #1E293B;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --line: #E5E9EF;
  --line-2: #EEF1F5;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-muted: #F4F6F9;
  --bg-dark: #0E141B;
  --bg-dark-2: #161F29;

  /* Metal accents */
  --metal: linear-gradient(135deg, #f3f5f8 0%, #cfd6df 38%, #f7f9fb 52%, #b9c2cd 70%, #e8edf2 100%);
  --metal-dark: linear-gradient(135deg, #2a3744 0%, #1a232d 50%, #2f3d4b 100%);

  /* Type */
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radius & shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(14,20,27,.06), 0 1px 3px rgba(14,20,27,.05);
  --shadow-md: 0 6px 20px -6px rgba(14,20,27,.16), 0 2px 6px rgba(14,20,27,.06);
  --shadow-lg: 0 24px 60px -18px rgba(14,20,27,.28), 0 8px 24px -12px rgba(14,20,27,.16);
  --shadow-red: 0 14px 30px -10px rgba(216,40,28,.45);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t: .28s;
}

/* ---------- 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-body);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; }
p { color: var(--slate-600); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--slate-600); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--bg-dark); color: #cdd5df; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { margin-top: .6rem; }
.section-head p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .92rem 1.5rem; border-radius: 999px; min-height: 48px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t-fast);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(216,40,28,.55); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--slate-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; min-height: 56px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 8px;
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); background: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink-2);
  padding: .55rem .8rem; border-radius: 8px; position: relative; transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.nav-phone span { font-size: .72rem; color: var(--slate-500); font-weight: 500; display: block; line-height: 1; }
.nav-phone .num { font-size: 1.02rem; line-height: 1.2; }
.nav-mobile { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t-fast);
}
.nav-toggle span::before { transform: translateY(-7px); } .nav-toggle span::after { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 84px) clamp(56px, 9vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 88% 0%, rgba(216,40,28,.07), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(30,41,59,.06), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .85rem .45rem .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 500; color: var(--ink-2);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.45); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5);} 70%{ box-shadow: 0 0 0 10px rgba(22,163,74,0);} 100%{ box-shadow:0 0 0 0 rgba(22,163,74,0);} }
.hero h1 { margin: 1.1rem 0 1.1rem; }
.hero h1 .accent { color: var(--red); }
.hero .lead { max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-trust li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.hero-trust svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual .photo {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: var(--bg-muted);
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; left: -18px; bottom: -22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: .95rem 1.15rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem; max-width: 250px;
}
.hero-float .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.hero-float .ic svg { width: 22px; height: 22px; }
.hero-float strong { font-family: var(--font-head); color: var(--ink); display: block; font-size: 1.05rem; white-space: nowrap; }
.hero-float small { color: var(--slate-500); font-size: .82rem; }

/* ---------- Emergency strip ---------- */
.emergency {
  background: var(--metal-dark); color: #fff; position: relative; overflow: hidden;
}
.emergency .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: 1.4rem; }
.emergency-txt { display: flex; align-items: center; gap: 1rem; }
.emergency .pill { background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px; white-space: nowrap; }
.emergency strong { font-family: var(--font-head); font-size: clamp(1.05rem, 2vw, 1.35rem); color: #fff; }
.emergency p { color: #aab4c0; font-size: .92rem; margin-top: .15rem; }
.emergency .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: #fff; white-space: nowrap; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem;
  position: relative; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-bottom: 1.1rem; transition: transform var(--t) var(--ease); }
.card:hover .ic { transform: scale(1.08) rotate(-3deg); }
.card .ic svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .96rem; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--bg-muted); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: .9rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .chk { width: 26px; height: 26px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.checklist .chk svg { width: 15px; height: 15px; }
.checklist b { font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.checklist span { display: block; color: var(--slate-600); font-size: .94rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.section--dark .stat { background: var(--bg-dark-2); border-color: rgba(255,255,255,.08); }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--red); line-height: 1; letter-spacing: -.03em; }
.stat .lbl { margin-top: .5rem; font-size: .9rem; color: var(--slate-500); }
.section--dark .stat .lbl { color: var(--slate-400); }

/* ---------- Area / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .92rem; color: var(--ink-2); transition: transform var(--t-fast), border-color var(--t-fast); }
.chip:hover { transform: translateY(-2px); border-color: var(--red); }
.chip svg { width: 15px; height: 15px; color: var(--red); }

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem 1rem; min-height: 130px;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.partner .pname { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: .02em; }
.partner small { color: var(--slate-500); font-size: .82rem; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; overflow: hidden; background: var(--red); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 64px); text-align: center; box-shadow: var(--shadow-red); }
.ctaband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.18), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(0,0,0,.18), transparent 60%); }
.ctaband > * { position: relative; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 1rem auto 0; }
.ctaband .hero-actions { justify-content: center; }
.ctaband .btn--primary { background: #fff; color: var(--red); box-shadow: 0 14px 30px -10px rgba(0,0,0,.3); }
.ctaband .btn--primary:hover { background: #fff; transform: translateY(-2px); }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-card { background: var(--bg-dark); color: #cdd5df; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.info-card h3 { color: #fff; }
.info-list { display: grid; gap: 1.3rem; margin-top: 1.6rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.info-list .ic svg { width: 21px; height: 21px; color: var(--red); }
.info-list .k { font-size: .8rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: .08em; }
.info-list .v { font-family: var(--font-head); color: #fff; font-weight: 600; font-size: 1.05rem; }
.info-list a.v:hover { color: var(--red); }
.hours { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); }
.hours table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.hours td { padding: .4rem 0; color: #cdd5df; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: #fff; }
.hours .badge247 { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; color: #fff; font-weight: 600; font-family: var(--font-head); }
.hours .badge247 .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); margin-bottom: .4rem; }
.field .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-muted);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .85rem 1rem; min-height: 48px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px var(--red-tint); }
.field .help { font-size: .82rem; color: var(--slate-500); margin-top: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--slate-600); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.consent a { color: var(--red); text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .92rem; font-weight: 500; display: none; }
.form-status.ok { display: block; background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; }
.form-status.err { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Map facade (click-to-load) ---------- */
.map-facade { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: linear-gradient(135deg, #eef2f6, #dfe6ee); min-height: 420px; display: grid; place-items: center; }
.map-facade__inner { text-align: center; max-width: 420px; padding: 2rem 1.5rem; }
.map-facade__inner svg { width: 44px; height: 44px; color: var(--red); margin-bottom: .6rem; }
.map-facade__inner strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; margin-bottom: .5rem; }
.map-facade__inner p { font-size: .88rem; margin-bottom: 1.1rem; }
.map-facade iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--bg-muted); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 84px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(216,40,28,.06), transparent 70%); }
.page-hero .wrap { position: relative; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--slate-500); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--slate-400); }
.page-hero h1 { max-width: 18ch; }
.page-hero p { margin-top: 1rem; max-width: 56ch; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2.2rem 0 .9rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem; display: grid; gap: .55rem; }
.prose ul li { position: relative; padding-left: 1.6rem; color: var(--slate-600); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.prose a { color: var(--red); text-decoration: underline; }
.prose strong { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #9aa6b2; padding-block: clamp(48px, 7vw, 72px) 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; font-family: var(--font-head); }
.footer-brand img { height: 46px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-brand p { margin-top: 1rem; font-size: .92rem; color: #9aa6b2; max-width: 32ch; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a, .footer address a { color: #9aa6b2; font-size: .94rem; transition: color var(--t-fast); font-style: normal; }
.footer-links a:hover, .footer address a:hover { color: #fff; }
.footer address { display: grid; gap: .55rem; font-size: .94rem; line-height: 1.5; }
.footer address .row { display: flex; gap: .6rem; align-items: flex-start; }
.footer address svg { width: 17px; height: 17px; color: var(--red); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center; font-size: .86rem; }
.footer-bottom .legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: .6rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -8px rgba(14,20,27,.18); }
.callbar .btn { flex: 1; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }
[data-reveal][data-d="4"] { transition-delay: .32s; }
[data-reveal][data-d="5"] { transition-delay: .40s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    position: fixed; inset: var(--nav-h) 0 0; z-index: 99; background: #fff;
    transform: translateX(100%); transition: transform var(--t) var(--ease); padding: 1.5rem var(--gutter);
    display: flex; flex-direction: column; gap: .25rem; overflow-y: auto; visibility: hidden;
  }
  body.nav-open .nav-mobile { transform: translateX(0); visibility: visible; }
  .nav-mobile a { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); padding: 1rem .25rem; border-bottom: 1px solid var(--line-2); }
  .nav-mobile a[aria-current="page"] { color: var(--red); }
  .nav-mobile .btn { margin-top: 1.2rem; }
  .nav-mobile .m-phone { margin-top: auto; padding-top: 1.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--rev .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .emergency .wrap { flex-direction: column; align-items: flex-start; text-align: left; }
  .callbar { display: flex; }
  body { padding-bottom: 76px; }
  .footer .callbar-pad { display: none; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float { left: 50%; transform: translateX(-50%); bottom: -28px; }
  .hero-actions .btn { flex: 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
