/* ==========================================================================
   Elektrotechnik Fischer & Krimmel — Design System
   Display: Nunito Sans (800/700 headings, 300 prose)
   UI/Labels: DM Sans (500/600, tracked uppercase)
   Accent: signal red — a nod to live current
   ========================================================================== */

@font-face {
  font-family: 'Nunito Sans';
  src: local('Nunito Sans');
}

:root {
  /* Color */
  --bg: #0b0c0d;
  --bg-soft: #141517;
  --bg-panel: #1a1b1e;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f4;
  --text-muted: rgba(245, 245, 244, 0.68);
  --text-faint: rgba(245, 245, 244, 0.4);
  --accent: #cb1613;
  --accent-bright: #ff2d28;
  --accent-dim: rgba(203, 22, 19, 0.16);

  /* Type */
  --f-display: 'Nunito Sans', 'Segoe UI', sans-serif;
  --f-ui: 'DM Sans', 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 8px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: var(--f-ui); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Background texture: faint grid, like a schematic sheet */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
}

/* ==========================================================================
   Eyebrow / kicker labels
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  text-shadow: 0 0 18px rgba(255, 45, 40, 0.45);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent-bright);
  box-shadow: 0 0 8px rgba(255, 45, 40, 0.8);
  animation: pulse-line 2.6s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.55; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.25); }
}

.glow {
  color: var(--accent-bright);
  text-shadow: 0 0 24px rgba(255, 45, 40, 0.55), 0 0 60px rgba(255, 45, 40, 0.2);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(38px, 5.6vw, 68px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; }

p { color: var(--text-muted); font-weight: 300; }
p.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--text); font-weight: 300; }

strong, b { font-weight: 700; color: var(--text); }

.accent { color: var(--accent-bright); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(203, 22, 19, 0.5);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(203, 22, 19, 0.6);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}
.btn-block { width: 100%; }

/* spark sweep on primary buttons */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 12, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .brand-logo { height: 62px; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 140px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 45, 40, 0.18));
  transition: filter 0.3s var(--ease), height 0.35s var(--ease);
}
.brand:hover .brand-logo { filter: drop-shadow(0 0 16px rgba(255, 45, 40, 0.32)); }
.brand-logo--footer { height: 130px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 14.5px;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  position: relative;
  z-index: 95;
}
.nav-cta-btn {
  padding: 11px 22px;
  font-size: 14px;
  gap: 8px;
  flex-shrink: 0;
}
.nav-cta-btn svg { flex-shrink: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Section rhythm
   ========================================================================== */
section { position: relative; z-index: 1; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section + .section,
.section + .section-tight,
.section-tight + .section,
.section-tight + .section-tight { padding-top: 0; }
.section-nobottom { padding-bottom: 0 !important; }
.section-notop { padding-top: 0 !important; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p.lead { margin-top: 14px; }
.divider {
  height: 1px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}
.divider::after {
  content: '';
  position: absolute;
  top: 0; left: -15%;
  width: 15%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  filter: blur(0.5px);
  animation: current-travel 6s ease-in-out infinite;
}
@keyframes current-travel {
  0% { left: -15%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .divider::after { animation: none; display: none; }
}

.bg-soft { background: var(--bg-soft); }

/* Panels / cards */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover { border-color: var(--line-strong); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-zoom 22s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  0% { transform: scale(1.06); }
  100% { transform: scale(1.16); }
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,12,13,0.55) 0%, rgba(11,12,13,0.35) 40%, rgba(11,12,13,0.96) 100%),
    linear-gradient(90deg, rgba(11,12,13,0.75) 0%, transparent 55%);
}
.hero-content { max-width: 780px; }
.hero-content .eyebrow { margin-bottom: 22px; }
.hero-content h1 { margin-bottom: 22px; }
.hero-content p.lead { max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-sub {
  min-height: 62vh;
  padding-top: 150px;
}

/* small page hero (subpages) */
.page-hero {
  padding: 170px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero p.lead { max-width: 640px; margin-top: 18px; }

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-item {
  background: var(--bg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.service-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent-bright);
  box-shadow: 0 0 16px rgba(255, 45, 40, 0.85);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.service-item:hover { background: var(--bg-panel); }
.service-item:hover::before { transform: scaleY(1); }
.service-item:hover .num { color: var(--accent-bright); text-shadow: 0 0 14px rgba(255, 45, 40, 0.65); }
.service-item .num {
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
  transition: color 0.35s var(--ease), text-shadow 0.35s var(--ease);
}
.service-item h3 { margin-bottom: 8px; font-size: 18px; }
.service-item p { font-size: 14.5px; margin: 0; }

/* ==========================================================================
   Philosophy / feature rows
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--text-muted); font-size: 15.5px;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 7px;
  background: var(--accent-bright);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  position: relative;
  background: var(--bg-panel);
  transition: box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.team-card:hover .team-photo {
  border-color: rgba(255, 45, 40, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 45, 40, 0.35), 0 24px 50px -18px rgba(203, 22, 19, 0.55);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.team-card:hover .team-photo img { filter: grayscale(0); transform: scale(1.045); }
.team-name { font-family: var(--f-display); font-weight: 700; font-size: 17px; margin-bottom: 3px; }
.team-role { color: var(--accent-bright); font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 6px; }
.team-since { color: var(--text-faint); font-family: var(--f-ui); font-size: 12px; }

/* ==========================================================================
   Gallery (Impressionen)
   ========================================================================== */
.gallery-grid {
  columns: 3 280px;
  column-gap: 22px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.gallery-item:hover {
  border-color: rgba(255, 45, 40, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 45, 40, 0.3), 0 22px 48px -18px rgba(203, 22, 19, 0.5);
}
.gallery-item img { width: 100%; display: block; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.88), transparent);
  font-family: var(--f-ui);
  font-size: 13.5px;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,6,7,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.lightbox-cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: var(--text-muted); font-family: var(--f-ui); font-size: 14px; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.partner-tile {
  background: #f5f4f2;
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--accent-bright), 0 20px 45px -16px rgba(203, 22, 19, 0.55);
  z-index: 2;
}
.partner-tile.dark {
  background: var(--bg-panel);
}
.partner-tile.dark:hover {
  box-shadow: 0 0 0 2px var(--accent-bright), 0 20px 45px -16px rgba(203, 22, 19, 0.55);
}
.partner-tile img { max-height: 52px; width: auto; object-fit: contain; }

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 30px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); color: var(--accent-bright); text-shadow: 0 0 30px rgba(255, 45, 40, 0.4); }
.stat .label { font-family: var(--f-ui); font-size: 12.5px; color: var(--text-muted); letter-spacing: 0.03em; margin-top: 4px; }

/* ==========================================================================
   Monatskracher / offer
   ========================================================================== */
.offer-card {
  background: var(--bg-panel);
  border: 1px solid var(--accent-dim);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.offer-media {
  position: relative;
  align-self: start;
  aspect-ratio: 21/9;
}
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-tag {
  position: absolute; top: 22px; left: 22px;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-ui); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  animation: tag-pulse 2.6s ease-in-out infinite;
}
@keyframes tag-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(203, 22, 19, 0.5); }
  50% { box-shadow: 0 0 28px rgba(255, 45, 40, 0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .offer-tag { animation: none; box-shadow: 0 0 14px rgba(203, 22, 19, 0.5); }
}
.offer-body { padding: clamp(28px, 4vw, 50px); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 26px; }
.price-row .price { font-family: var(--f-display); font-weight: 800; font-size: 46px; color: var(--accent-bright); text-shadow: 0 0 30px rgba(255, 45, 40, 0.45); }
.price-row .price-note { color: var(--text-faint); font-family: var(--f-ui); font-size: 13.5px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-muted); }
.check-list li::before { content: '✓'; color: var(--accent-bright); font-weight: 700; }
.offer-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 22px; margin-top: 6px;
  border-top: 1px solid var(--line);
  font-family: var(--f-ui); font-size: 13px; color: var(--text-faint);
}
.offer-meta strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.offer-meta-note { font-size: 13px; margin-top: 16px; color: var(--text-faint); }
.offer-body h2 { margin-top: 10px; margin-bottom: 18px; }
.offer-body h3 { margin-bottom: 12px; margin-top: 28px; }
.offer-body h3:first-of-type { margin-top: 0; }
.offer-body .btn { margin-top: 28px; }

/* ==========================================================================
   Shared spacing + layout utilities
   ========================================================================== */
h2 + p.lead, h1 + p.lead { margin-top: 16px; }
.eyebrow + p.lead { margin-top: 16px; }
p.lead + p { margin-top: 16px; }
.contact-info > h2 { margin-bottom: 28px; }
.page-hero-tight { padding-bottom: 20px; }
.page-hero-tight h1 { font-size: clamp(30px, 4vw, 42px); }
.legal-source { font-size: 13px; color: var(--text-faint); margin-top: 28px; }
.form-narrow { max-width: 820px; margin-inline: auto; }
.checkbox-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ==========================================================================
   Contact / Form
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
}
.contact-info .info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-info .info-row .ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-dim); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.contact-info .info-row strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.contact-info .info-row span, .contact-info .info-row a { color: var(--text-muted); font-size: 14.5px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--text-muted); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent-bright);
  background: var(--bg-panel);
  box-shadow: 0 0 0 3px rgba(255, 45, 40, 0.15), 0 0 24px rgba(255, 45, 40, 0.12);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}
.checkbox-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--text-muted);
}
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--accent); }

.form-status {
  margin-top: 14px;
  font-family: var(--f-ui);
  font-size: 13.5px;
  display: none;
}
.form-status.is-success { display: block; color: #4ade80; }
.form-status.is-error { display: block; color: var(--accent-bright); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-col h4 {
  font-family: var(--f-ui); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--text-muted); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--f-ui); font-size: 13px; color: var(--text-faint);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--text); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .eyebrow::before { animation: none; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-content h2 { font-size: 22px; margin: 40px 0 14px; }
.legal-content h3 { font-size: 17px; margin: 26px 0 10px; }
.legal-content p, .legal-content li { font-size: 15px; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content a { color: var(--accent-bright); text-decoration: underline; }
.legal-content { max-width: 760px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .brand-logo { height: 88px; }
  .nav-toggle { display: flex; }
  .feature-row, .contact-wrap { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .offer-card { grid-template-columns: 1fr; }
  .offer-media { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2 240px; }

  .nav-menu {
    position: fixed; inset: 0; top: 0;
    height: 100vh;
    background: var(--bg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    z-index: 90;
  }
  .nav-open .nav-menu {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s linear 0s;
  }
  .nav-menu .nav-links {
    flex-direction: column;
    gap: 26px;
  }
  .nav-menu a { font-size: 22px; font-family: var(--f-display); font-weight: 700; }
  .nav-menu .nav-cta-btn { margin-top: 10px; }
}

@media (max-width: 640px) {
  .brand-logo { height: 68px; }
  .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { columns: 1; }
  .hero { align-items: center; text-align: left; }
}
