/* ══════════════════════════════════════════
   Wolpert Elektro – Stylesheet
   mobile-first, BEM-ähnliche Struktur
   ══════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ──
   Farbpalette abgeleitet aus dem Logo (Webseite/logo/):
   Schwarz #000000 · Gold #F3C64A · Creme #FBF5E9 */
:root {
  --gold:        #F3C64A;
  --gold-dark:   #A9790D;
  --gold-deep:   #7C5909;
  --gold-light:  #FBEAC0;
  --gold-tint:   #FFF8EA;
  --gold-ink:    #17140F;

  --text:        #17140F;
  --text-soft:   #4a4438;
  --text-muted:  #79705f;
  --border:      #e7ddc8;
  --border-soft: #f2ece0;
  --bg:          #ffffff;
  --bg-soft:     #FBF5E9;
  --bg-hero:     #FBF5E9;

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;

  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'DM Serif Display', Georgia, serif;

  --shadow-xs: 0 1px 2px rgba(23,20,15,.04), 0 2px 6px rgba(23,20,15,.04);
  --shadow-sm: 0 2px 8px rgba(23,20,15,.06), 0 6px 20px rgba(23,20,15,.06);
  --shadow-md: 0 6px 20px rgba(23,20,15,.08), 0 18px 48px rgba(23,20,15,.08);
  --shadow-gold: 0 6px 20px rgba(243,198,74,.35), 0 2px 8px rgba(169,121,13,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1100px;
}

/* ── DARK MODE VARIABLES ── */
@media (prefers-color-scheme: dark) {
  :root { --dm: 1; }
}

[data-theme="dark"],
[data-theme="dark"] :root {
  --gold:        #F3C64A;
  --gold-dark:   #F7D579;
  --gold-deep:   #FBE7B0;
  --gold-light:  #2b2410;
  --gold-tint:   #1f1a0c;
  --gold-ink:    #17140F;

  --text:        #FBF5E9;
  --text-soft:   #cfc6ae;
  --text-muted:  #9c927a;
  --border:      #332c1e;
  --border-soft: #241f15;
  --bg:          #0d0c0a;
  --bg-soft:     #17140f;
  --bg-hero:     #0d0c0a;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.35), 0 6px 20px rgba(0,0,0,.25);
  --shadow-md: 0 6px 20px rgba(0,0,0,.4), 0 18px 48px rgba(0,0,0,.3);
  --shadow-gold: 0 6px 20px rgba(243,198,74,.18), 0 2px 8px rgba(243,198,74,.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold:        #F3C64A;
    --gold-dark:   #F7D579;
    --gold-deep:   #FBE7B0;
    --gold-light:  #2b2410;
    --gold-tint:   #1f1a0c;
    --gold-ink:    #17140F;

    --text:        #FBF5E9;
    --text-soft:   #cfc6ae;
    --text-muted:  #9c927a;
    --border:      #332c1e;
    --border-soft: #241f15;
    --bg:          #0d0c0a;
    --bg-soft:     #17140f;
    --bg-hero:     #0d0c0a;

    --shadow-xs: 0 1px 2px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.2);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.35), 0 6px 20px rgba(0,0,0,.25);
    --shadow-md: 0 6px 20px rgba(0,0,0,.4), 0 18px 48px rgba(0,0,0,.3);
    --shadow-gold: 0 6px 20px rgba(243,198,74,.18), 0 2px 8px rgba(243,198,74,.12);
  }
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--gold-light); color: var(--gold-dark); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
}
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── UTILITIES ── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:active { transform: scale(.975) !important; }

.btn-primary {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(243,198,74,.40);
}

.btn-ghost {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--full { width: 100%; }

/* ── SCROLL ANIMATIONS ── */
.rise {
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
body.preload .rise {
  opacity: 0;
  transform: translateY(18px);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  body.preload .rise { opacity: 1; transform: none; }
}

/* ── NAVIGATION ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.nav-logo-mark {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.nav-logo-text {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -.2px;
}
.nav-logo-text strong {
  font-weight: 600;
  color: var(--gold-dark);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color .15s;
  padding: 4px 0;
}
.nav-link:hover { color: var(--gold); }
.nav-link.is-active { color: var(--gold); font-weight: 500; }
.nav-link--cta {
  background: var(--gold);
  color: var(--gold-ink);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background .15s, transform .2s var(--ease);
}
.nav-link--cta:hover {
  background: var(--gold-dark);
  color: var(--gold-ink);
  transform: translateY(-1px);
}
.nav-link--cta.is-active { color: var(--gold-ink); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--bg-hero);
  overflow: hidden;
}
.hero-inner {
  padding: 5.5rem 20px 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-content { max-width: 520px; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(243,198,74,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(243,198,74,.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Hero cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-light);
}
/* USP-Karten: horizontales Layout (Icon links, Text rechts) */
.hero-usp {
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 1rem 1.25rem;
}
.hero-usp-text { flex: 1; }
.hero-card--featured {
  background: var(--gold);
  border-color: var(--gold-dark);
  color: var(--gold-ink);
}
.hero-card--featured h3 { color: var(--gold-ink); }
.hero-card--featured p { color: rgba(23,20,15,.75); }
.hero-card-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card--featured .hero-card-icon {
  background: rgba(23,20,15,.12);
}
.hero-card-icon--light {
  background: var(--gold-light);
}
.hero-card h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--text); }
.hero-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── SECTIONS ── */
.section { padding: 5.5rem 0; }
.section--soft { background: var(--bg-soft); }
.section-header {
  max-width: 580px;
  margin-bottom: 3rem;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: .75rem;
  color: var(--text);
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.services-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold-light);
}
.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-tint);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: .65rem;
  color: var(--text);
}
.service-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-list li {
  font-size: 13px;
  color: var(--text-soft);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-grid--full {
  grid-template-columns: 1fr;
}
.about-grid--full .about-text {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}
.about-grid--full .about-facts {
  grid-template-columns: repeat(4, 1fr);
}
.about-photo {
  aspect-ratio: 3/4;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 14px;
}
.about-photo svg { opacity: .25; }
.about-text .section-title { margin-bottom: 1.25rem; }
.about-text p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: .9rem;
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-fact {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-fact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about-fact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1.75rem;
  color: var(--text);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-item-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.contact-item-value a {
  color: var(--gold);
  transition: color .15s;
}
.contact-item-value a:hover { color: var(--gold-dark); }

/* Contact form */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── FORM FIELDS ── */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}
.req { color: var(--gold); }
.input {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
select.input { color-scheme: light; }
select.input option {
  color: var(--text);
  background: var(--bg-soft);
}
.input::placeholder { color: var(--text-muted); }
.input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px var(--gold-tint);
}
.input.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192,57,43,.08);
}
textarea.input { resize: vertical; min-height: 130px; }

.field-err {
  font-size: 12px;
  color: #c0392b;
  min-height: 1em;
}
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #eaf5ee;
  border: 1px solid #a3d9b3;
  color: #1d6a38;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: .5rem;
}
.form-success[hidden] { display: none; }
.form-success-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.form-success-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}
.form-success-text {
  font-size: 14px;
  opacity: .85;
  margin-bottom: .75rem;
}
.form-success-reset {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #1d6a38;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── FOOTER ── */
.site-footer {
  background: #0a0908;
  color: #b8ac8f;
  padding: 2.25rem 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FBF5E9;
  font-size: 15px;
  font-weight: 500;
}
.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: #b8ac8f;
  transition: color .15s;
}
.footer-links a:hover { color: #FBF5E9; }
.footer-copy { color: #6b6353; }

/* ── DARK MODE COMPONENT OVERRIDES ── */
[data-theme="dark"] .site-header { background: rgba(13,12,10,.92); border-bottom-color: var(--border); }
[data-theme="dark"] .hero-gradient {
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(243,198,74,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(243,198,74,.04) 0%, transparent 60%);
}
[data-theme="dark"] .site-footer { background: #050403; }
[data-theme="dark"] .footer-copy { color: #4a4436; }
[data-theme="dark"] .footer-links a { color: #6b6353; }
[data-theme="dark"] .form-success { background: #0d2318; border-color: #1a4a2e; color: #5ecf8a; }
[data-theme="dark"] .form-success-reset { color: #5ecf8a; }
[data-theme="dark"] select.input { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header { background: rgba(13,12,10,.92); border-bottom-color: var(--border); }
  :root:not([data-theme="light"]) .hero-gradient {
    background:
      radial-gradient(ellipse 60% 70% at 80% 50%, rgba(243,198,74,.06) 0%, transparent 70%),
      radial-gradient(ellipse 40% 60% at 10% 90%, rgba(243,198,74,.04) 0%, transparent 60%);
  }
  :root:not([data-theme="light"]) .site-footer { background: #050403; }
  :root:not([data-theme="light"]) .footer-copy { color: #4a4436; }
  :root:not([data-theme="light"]) .footer-links a { color: #6b6353; }
  :root:not([data-theme="light"]) .form-success { background: #0d2318; border-color: #1a4a2e; color: #5ecf8a; }
  :root:not([data-theme="light"]) .form-success-reset { color: #5ecf8a; }
  :root:not([data-theme="light"]) select.input { color-scheme: dark; }
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background .15s, color .15s;
  flex-shrink: 0;
  cursor: pointer;
}
.theme-toggle:hover { background: var(--bg-soft); color: var(--text); }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun  { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* ══════════════════════════════════════════
   RESPONSIVE – Tablet
   ══════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 4rem 20px;
    gap: 3rem;
  }
  .hero-content { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid--4 { grid-template-columns: 1fr 1fr; }
  .about-grid {
    grid-template-columns: 260px 1fr;
    gap: 3rem;
  }
  .about-grid--full .about-facts { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE – Mobile
   ══════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --radius-lg: 16px; }

  .nav-end { gap: 0; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    flex: 0;
    justify-content: flex-start;
    gap: 0;
    padding: .5rem 1rem 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.is-open { display: flex; }
  .nav-link {
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-link--cta {
    margin-top: .5rem;
    text-align: center;
    border-radius: var(--radius-sm);
    border-bottom: none;
  }

  .hero-inner { padding: 3rem 20px 2.5rem; gap: 2rem; }
  .hero-cards { display: flex; }
  .hero-title { font-size: 2.6rem; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .services-grid,
  .services-grid--4 { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 1.5rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-photo { aspect-ratio: 4/3; }
  .about-facts { grid-template-columns: 1fr 1fr; }

  .contact-grid { gap: 2rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: .75rem; }
}
