/* ============================================================
   HEISKO-ELEKTRO – Design System
   Stil: Trust & Authority · hell/edel + warm/bodenständig
   Schrift: Calistoga (Display) + Inter (Body/UI)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand / Semantic Colors */
  --ink: #10243F;            /* tiefes Navy – Überschriften */
  --body: #3A4658;           /* Fließtext */
  --muted: #6B7585;          /* sekundärer Text */
  --bg: #FAF7F2;             /* warmes Elfenbein */
  --bg-alt: #F3EEE5;         /* warmer Abschnittswechsel */
  --surface: #FFFFFF;        /* Karten */
  --border: #E9E1D4;         /* warme Rahmen */

  --brand: #1A4F8B;          /* Elektro-Blau */
  --brand-dark: #123A6B;
  --brand-600: #2160A6;
  --brand-soft: #EAF1FA;     /* helle Blaufläche */

  --accent: #D99A2B;         /* warmes Gold */
  --accent-dark: #B97F18;
  --accent-soft: #F7EBD2;

  --success: #1E8F5B;
  --danger: #C0392B;

  /* Typography */
  --font-display: "Calistoga", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale (8px-Rhythmus) */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;
  --sp-4: 2rem;    --sp-5: 3rem;   --sp-6: 4rem;
  --sp-7: 6rem;    --sp-8: 8rem;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(16,36,63,.06), 0 2px 6px rgba(16,36,63,.05);
  --shadow-md: 0 6px 16px rgba(16,36,63,.08), 0 2px 6px rgba(16,36,63,.05);
  --shadow-lg: 0 24px 50px -16px rgba(16,36,63,.22);
  --shadow-brand: 0 18px 36px -12px rgba(26,79,139,.45);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: 160ms;
  --t-med: 260ms;

  --header-h: 76px;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
p { max-width: 68ch; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: var(--sp-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, var(--sp-7)); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: #D7DEE9; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: var(--sp-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-fast), color var(--t-fast);
  white-space: nowrap; min-height: 48px;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: linear-gradient(180deg, var(--brand-600), var(--brand)); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(26,79,139,.6); }
.btn-accent { background: linear-gradient(180deg, #E6A93B, var(--accent)); color: #2A1E04; box-shadow: 0 16px 32px -12px rgba(217,154,43,.6); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -12px rgba(217,154,43,.7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.1); color:#fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med), height var(--t-med);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.site-header.scrolled { background: rgba(250,247,242,.85); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--border), var(--shadow-sm); height: 64px; }

.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg, var(--brand-600), var(--brand-dark)); box-shadow: var(--shadow-brand); flex: none; }
.brand__mark svg { width: 22px; height: 22px; color: var(--accent); }
.brand__name { font-size: 1.18rem; line-height: 1; }
.brand__name span { color: var(--brand); }
.brand__name small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a { position: relative; padding: .55rem .85rem; font-weight: 500; color: var(--body); border-radius: 8px; transition: color var(--t-fast); }
.nav a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-cta .btn { padding: .65rem 1.2rem; min-height: 44px; }

/* Burger */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .burger { display: block !important; }
}
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--border); border-radius: 11px; background: var(--surface); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(var(--header-h) + 1rem) clamp(1.25rem,5vw,2rem) 2rem; display: flex; flex-direction: column; gap: .25rem; transform: translateX(100%); transition: transform var(--t-med) var(--ease-out); visibility: hidden; }
body.menu-open .mobile-menu { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-size: 1.3rem; font-weight: 600; color: var(--ink); padding: .9rem .5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .btn { margin-top: 1.5rem; }
.mobile-menu .mm-contact { margin-top: auto; color: var(--muted); font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background:
   radial-gradient(60% 60% at 85% 0%, rgba(217,154,43,.16), transparent 60%),
   radial-gradient(70% 70% at 0% 100%, rgba(26,79,139,.14), transparent 55%),
   var(--bg); }
.hero__grid-overlay { position: absolute; inset: 0; z-index: -1; background-image:
   linear-gradient(rgba(16,36,63,.035) 1px, transparent 1px),
   linear-gradient(90deg, rgba(16,36,63,.035) 1px, transparent 1px);
   background-size: 46px 46px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 40%, transparent 80%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content:""; position:absolute; left:0; right:0; bottom:.06em; height:.28em; background: var(--accent-soft); z-index:-1; border-radius:3px; }
.hero p.lead { margin-bottom: 2rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; }
.hero__trust .ht { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--body); font-weight: 500; }
.hero__trust svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

.hero__visual { position: relative; }
.hero__visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__badge { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: .85rem 1.1rem; display: flex; align-items: center; gap: .7rem; }
.hero__badge .num { font-family: var(--font-display); font-size: 1.7rem; color: var(--brand); line-height: 1; }
.hero__badge .lbl { font-size: .78rem; color: var(--muted); line-height: 1.25; font-weight: 500; }
.hero__badge.b1 { left: -14px; top: 28px; }
.hero__badge.b2 { right: -14px; bottom: 32px; }
@media (max-width: 920px) { .hero__visual { max-width: 480px; margin-inline: auto; } }
@media (max-width: 460px) { .hero__badge.b1, .hero__badge.b2 { transform: scale(.86); } .hero__badge.b1{left:-6px} .hero__badge.b2{right:-6px} }

/* ---------- Marquee / Logo strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--surface); }
.strip__inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; padding-block: 1.25rem; }
.strip__item { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.strip__item svg { width: 22px; height: 22px; color: var(--accent-dark); flex: none; }

/* ---------- Cards / Services ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.4rem, 2.5vw, 1.9rem); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med); height: 100%; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #DCD2C0; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); margin-bottom: 1.1rem; transition: background var(--t-med), transform var(--t-med) var(--ease); }
.card__icon svg { width: 27px; height: 27px; color: var(--brand); transition: color var(--t-med); }
.card:hover .card__icon { background: var(--brand); transform: rotate(-4deg); }
.card:hover .card__icon svg { color: var(--accent); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card__list { list-style: none; padding: 0; margin: .8rem 0 0; }
.card__list li { position: relative; padding-left: 1.5rem; font-size: .94rem; color: var(--body); margin-bottom: .35rem; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem); color: #fff; line-height: 1; }
.section--ink .stat .num { background: linear-gradient(180deg,#fff, #BFD2EC); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .num .suffix { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.stat .lbl { font-size: .92rem; color: #AEBBCE; margin-top: .5rem; font-weight: 500; }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse .split__media { order: 2; }
@media (max-width: 880px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse .split__media { order: 0; } }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; color: var(--success); flex: none; margin-top: 1px; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; transition: transform 600ms var(--ease); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem .9rem; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(16,36,63,.85)); transform: translateY(8px); opacity: 0; transition: opacity var(--t-med), transform var(--t-med) var(--ease); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: rgba(26,79,139,.0); transition: background var(--t-med); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery figure:hover::after { background: rgba(26,79,139,.12); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,16,28,.92); display: none; align-items: center; justify-content: center; padding: 2rem; opacity: 0; transition: opacity var(--t-med); backdrop-filter: blur(4px); }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center; color: #fff; font-weight: 500; }
.lightbox__btn { position: absolute; top: 1.2rem; right: 1.4rem; width: 50px; height: 50px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; display: grid; place-items: center; transition: background var(--t-fast); }
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background var(--t-fast); }
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__nav.prev { left: 1.2rem; } .lightbox__nav.next { right: 1.2rem; }
@media (max-width: 600px) { .lightbox__nav { width: 44px; height: 44px; } .lightbox__nav.prev{left:.4rem} .lightbox__nav.next{right:.4rem} }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step { display: flex; gap: 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.6rem; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med); }
.step:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.step__num { counter-increment: step; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-family: var(--font-display); font-size: 1.3rem; display: grid; place-items: center; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; height: 100%; display: flex; flex-direction: column; }
.quote__stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.quote__stars svg { width: 20px; height: 20px; color: var(--accent); }
.quote p { font-size: 1.05rem; color: var(--ink); flex: 1; }
.quote__who { margin-top: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(145deg,var(--brand-600),var(--brand-dark)); color:#fff; display:grid; place-items:center; font-weight:700; font-family: var(--font-display); flex:none; }
.quote__who b { display: block; color: var(--ink); font-size: .96rem; }
.quote__who span { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 1.25rem 1.4rem; font-size: 1.05rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; transition: transform var(--t-med) var(--ease), background var(--t-fast); }
.faq__item.open .faq__q .ic { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease); }
.faq__a p { padding: 0 1.4rem 1.3rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 80% 0%, rgba(217,154,43,.28), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0 auto 2rem; max-width: 56ch; }
.cta-band .hero__actions { justify-content: center; margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .4rem; }
.field label .req { color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; min-height: 50px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .35rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--brand); }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-weight: 500; }
.form-status.ok { display: block; background: #E7F6EE; color: #14663F; border: 1px solid #BFE6CF; }
.form-status.err { display: block; background: #FBEAE8; color: #8E2A1E; border: 1px solid #F0C5BF; }

/* ---------- Contact info tiles ---------- */
.info-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med); }
.info-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-tile__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-tile__ic svg { width: 24px; height: 24px; }
.info-tile b { display: block; color: var(--ink); margin-bottom: .15rem; }
.info-tile a, .info-tile span { color: var(--muted); font-size: .98rem; }
.info-tile a:hover { color: var(--brand); }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.2) contrast(1.02); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem,6vw,4.5rem)); padding-bottom: clamp(2.5rem,6vw,4rem); background:
   radial-gradient(60% 80% at 90% -10%, rgba(217,154,43,.14), transparent 60%),
   radial-gradient(50% 70% at 0% 110%, rgba(26,79,139,.12), transparent 55%), var(--bg); }
.page-hero .container { max-width: 800px; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #AEBBCE; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__name span { color: #7FA9DC; }
.site-footer .brand__name small { color: #8593A7; }
.site-footer p { color: #94A2B8; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-col a { color: #AEBBCE; font-size: .95rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .85rem; color: #7E8DA3; }
.footer-bottom a:hover { color: var(--accent); }

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

/* Back to top */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity var(--t-med), transform var(--t-med) var(--ease); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.divider { width: 100%; height: 1px; background: var(--border); }

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