/* ==========================================================================
   PM-ITC Digitalisierungsberatung — Design System v4
   Marke abgeleitet aus pm-itc-logo/  ·  Schrift lokal (DSGVO)
   ========================================================================== */

/* ---------- Schrift: Manrope (Variable, lokal) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-variable.woff2') format('woff2');
}

:root {
  --ink:        #16181C;   /* Anthrazit — Logo-Hintergrund */
  --ink-soft:   #23262C;
  --gold:       #C49A5C;   /* Markengold */
  --gold-deep:  #A8814A;
  --gold-soft:  rgba(196, 154, 92, 0.12);
  --paper:      #F4F2EE;   /* Off-White aus dem Logo */
  --paper-deep: #ECE8E1;
  --white:      #FFFFFF;
  --muted:      #6E6A63;
  --warm:       #8A6E4B;   /* warmer Braunton für Handwerk-Sektion */
  --line:       rgba(22, 24, 28, 0.10);
  --line-gold:  rgba(196, 154, 92, 0.35);

  --font: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 10px 40px rgba(22, 24, 28, 0.08);
  --shadow-lg:  0 24px 70px rgba(22, 24, 28, 0.14);

  --w-content:  1160px;
  --gap-section: clamp(72px, 10vw, 130px);

  --header-h: 84px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--w-content), 100% - 48px);
  margin-inline: auto;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
}

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .kicker { justify-content: center; }
.section-head .lead { margin-inline: auto; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 28px rgba(196,154,92,0.35); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-outline { border-color: var(--line-gold); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn-outline-light { border-color: rgba(244,242,238,0.35); color: var(--paper); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(22, 24, 28, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: 18px;
}
.brand { flex: none; }
.brand img, .brand svg { height: 52px; width: auto; display: block; }

/* Nav füllt die verbleibende Breite und verteilt Links + CTA gleichmäßig */
.main-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.main-nav a { color: var(--paper); font-weight: 500; font-size: 0.98rem; position: relative; padding-block: 6px; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta { margin-left: 10px; padding: 12px 26px; font-size: 0.92rem; }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 110;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; position: absolute; left: 10px;
  width: 24px; height: 2px; background: var(--paper);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; 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); }

.header-solid { background: var(--ink); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(150px, 20vh, 230px);
  padding-bottom: clamp(70px, 9vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -25%; right: -12%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(196,154,92,0.16) 0%, transparent 62%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-text { max-width: 860px; margin-inline: auto; text-align: center; }
.hero-text .kicker { justify-content: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(244,242,238,0.78); margin-bottom: 36px; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.hero-note {
  margin-top: 22px; font-size: 0.9rem; color: rgba(244,242,238,0.6);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.hero-note svg { flex: none; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; justify-content: center; }
.stat-chip {
  background: rgba(244,242,238,0.05); border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 12px 18px; font-size: 0.85rem; color: var(--paper);
}
.stat-chip strong { display: block; font-size: 1.15rem; color: var(--gold); }

/* ---------- Trust-Bar ---------- */
.trust-bar { background: var(--ink); border-top: 1px solid rgba(244,242,238,0.08); padding-block: 26px; }
.trust-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.trust-label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,242,238,0.45); font-weight: 800; }
.tool-chip { color: rgba(244,242,238,0.65); font-weight: 800; font-size: 1rem; transition: color 0.2s ease; }
.tool-chip:hover { color: var(--gold); }

/* ---------- Sections ---------- */
section { padding-block: var(--gap-section); }
.section-white { background: var(--white); }
.section-paper { background: var(--paper); }
.section-dark  { background: var(--ink); color: var(--paper); }
.section-dark .lead { color: rgba(244,242,238,0.72); }
/* Warmer Ton für Handwerk */
.section-warm { background: linear-gradient(180deg, #F7F3EC 0%, #F1E9DC 100%); }
.section-warm .kicker, .section-warm .funding-pct { color: var(--warm); }

/* ---------- Von-bis-Aufzählung (Startseite) ---------- */
.vonbis-intro { max-width: 760px; }
.vonbis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.vonbis-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
  font-weight: 700; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.section-white .vonbis-item { background: var(--paper); }
.vonbis-item:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: var(--shadow); }
.vonbis-item svg { flex: none; width: 26px; height: 26px; stroke: var(--gold-deep); }
.vonbis-closer { margin-top: 26px; font-size: 1.05rem; color: var(--muted); }
.vonbis-closer strong { color: var(--ink); }

/* ---------- Karten ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-gold); }
.section-white .card { background: var(--paper); }
.card-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--gold-soft); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 28px; height: 28px; stroke: var(--gold-deep); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-soft); color: var(--gold-deep);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}

/* Branchen-Kacheln (verlinkt) — auf Startseite genutzt für Schnellzugriff */
.branche-card { position: relative; display: flex; flex-direction: column; }
.branche-card .card-link { margin-top: auto; padding-top: 22px; font-weight: 800; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 8px; }
.branche-card .card-link::after { content: "→"; transition: transform 0.2s ease; }
.branche-card:hover .card-link::after { transform: translateX(5px); }

/* ---------- Prozess ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 32px); }
.process-step { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: rgba(244,242,238,0.05); border: 1px solid rgba(244,242,238,0.1); }
.process-step .step-num { font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.process-step h3 { margin-bottom: 10px; font-size: 1.1rem; }
.process-step p { color: rgba(244,242,238,0.66); font-size: 0.93rem; }

/* ---------- Versprechen ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.promise-item { display: flex; gap: 18px; align-items: flex-start; }
.promise-item svg {
  flex: none; box-sizing: border-box;
  width: 56px; height: 56px; padding: 14px;
  background: var(--gold-soft); border-radius: 16px;
  stroke: var(--gold-deep);
}
.promise-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.promise-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Kundenstimmen ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 28px); }
.testimonial {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 38px); position: relative;
}
.section-paper .testimonial { background: var(--white); }
.testimonial .quote-mark { font-size: 3rem; line-height: 0.6; color: var(--gold); font-weight: 800; }
.testimonial blockquote { font-size: 1.05rem; margin: 14px 0 22px; color: var(--ink); }
.testimonial .who { display: flex; align-items: center; gap: 14px; }
.testimonial .who .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; color: var(--gold-deep); font-weight: 800; }
.testimonial .who b { display: block; }
.testimonial .who span { font-size: 0.88rem; color: var(--muted); }
.todo-pill {
  display: inline-block; margin-bottom: 20px; font-size: 0.8rem; font-weight: 700;
  color: var(--gold-deep); background: var(--gold-soft);
  border: 1px dashed var(--gold); border-radius: 999px; padding: 6px 14px;
}

/* ---------- Über-mich Teaser ---------- */
.about-teaser { display: grid; grid-template-columns: 320px 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.about-teaser.no-photo { grid-template-columns: 1fr; max-width: 760px; }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--paper-deep), #E2DDD3);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-photo .photo-fallback { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 0.85rem; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text .btn { margin-top: 12px; }

/* ---------- Förderbox ---------- */
.funding-box {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--paper); border: 1px solid var(--line-gold); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg);
}
.funding-box .funding-pct { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; color: var(--gold); line-height: 1; }
.funding-box h3 { margin-bottom: 8px; }
.funding-box p { color: rgba(244,242,238,0.72); font-size: 0.95rem; max-width: 560px; }
.funding-box .btn { white-space: nowrap; }

/* ---------- Branchen-Detail (leistungen) ---------- */
.branche-section { padding-block: clamp(60px, 8vw, 100px); }
.branche-section + .branche-section { border-top: 1px solid var(--line); }
.branche-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.pain-list, .solution-list { display: grid; gap: 14px; }
.pain-list li, .solution-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; font-size: 0.96rem;
}
.section-paper .pain-list li, .section-paper .solution-list li,
.section-warm .pain-list li, .section-warm .solution-list li { background: var(--white); }
.pain-list li svg { flex: none; width: 20px; height: 20px; stroke: #B0573F; margin-top: 3px; }
.solution-list li svg { flex: none; width: 20px; height: 20px; stroke: var(--gold-deep); margin-top: 3px; }
.list-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* Mini-Fallbeispiel */
.case-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: clamp(28px, 4vw, 44px);
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px);
  border-left: 4px solid var(--gold);
}
.case-note svg { flex: none; width: 26px; height: 26px; stroke: var(--gold); margin-top: 2px; }
.case-note .case-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 4px; }
.case-note p { color: rgba(244,242,238,0.85); font-size: 0.97rem; }
.case-note em { color: var(--paper); font-style: normal; font-weight: 700; }

/* Tool-Tags */
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tool-tags span { font-size: 0.8rem; font-weight: 700; color: var(--gold-deep); background: var(--gold-soft); border-radius: 999px; padding: 5px 13px; }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 800; margin-bottom: 7px; color: var(--ink); }
.form-group label .opt { font-weight: 500; color: var(--muted); }
/* Formular steht in einer hellen Karte – Text immer dunkel, auch in dunkler Section */
.contact-form { color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font-family: var(--font); font-size: 0.98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); margin-block: 20px; }
.form-consent input { margin-top: 4px; accent-color: var(--gold-deep); }
.form-consent a { color: var(--gold-deep); font-weight: 700; text-decoration: underline; }
.contact-form .btn { width: 100%; }
.form-status { margin-top: 14px; font-size: 0.92rem; font-weight: 700; display: none; }
.form-status.ok { display: block; color: #2f7d4f; }
.form-status.err { display: block; color: #b0573f; }

.contact-aside { display: grid; gap: 22px; }
.contact-card { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.contact-card h3 { margin-bottom: 18px; }
.contact-card .contact-line { display: flex; align-items: center; gap: 14px; padding-block: 12px; font-weight: 700; }
.contact-card .contact-line svg { flex: none; width: 22px; height: 22px; stroke: var(--gold); }
.contact-card .contact-line a:hover { color: var(--gold); }
.contact-card .promise { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(244,242,238,0.14); font-size: 0.9rem; color: rgba(244,242,238,0.66); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(244,242,238,0.7); padding-top: clamp(56px, 7vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); padding-bottom: 48px; }
.footer-brand img, .footer-brand svg { height: 96px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; }
.site-footer h4 { color: var(--paper); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { transition: color 0.18s ease; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(244,242,238,0.1); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: rgba(244,242,238,0.45); }
.footer-bottom .legal-links { display: flex; gap: 24px; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding-top: clamp(130px, 16vw, 170px); padding-bottom: clamp(48px, 6vw, 72px); }
.page-hero .lead { color: rgba(244,242,238,0.72); }
.page-hero h1 { margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }

/* ---------- Legal / 404 ---------- */
.legal-content { max-width: 760px; padding-block: clamp(48px, 6vw, 80px); }
.legal-content h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 14px; }
.legal-content p, .legal-content li { color: var(--muted); margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.todo-note { background: var(--gold-soft); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 18px 22px; font-size: 0.92rem; color: var(--gold-deep); font-weight: 700; margin-block: 24px; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 120px; }
.error-page .big { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; color: var(--gold); line-height: 1; }

/* ---------- Scroll-Reveal (rein CSS, sichtbar als Default) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .card-grid, .promise-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .vonbis-grid { grid-template-columns: 1fr 1fr; }
  .branche-layout { grid-template-columns: 1fr; }
  .funding-box { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .card-grid, .promise-grid, .process-grid { grid-template-columns: 1fr; }
  .vonbis-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(22,24,28,0.97); backdrop-filter: blur(14px);
    transform: translateX(100%); transition: transform 0.3s ease;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav a { font-size: 1.3rem; }
}
