/* ============================================================
   1841 Bau- und Projektmanagement
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --teal:         #00b4c8;
  --teal-dark:    #009db0;
  --navy:         #0d1f3c;
  --text:         #1a1f2e;
  --text-muted:   #5c6475;
  --bg:           #ffffff;
  --bg-alt:       #f5f6f8;
  --border:       #e0e4ed;
  --shadow:       0 0 20px 0 rgba(0,0,0,.10);
  --shadow-md:    0 4px 32px 0 rgba(0,0,0,.14);
  --max:          1312px;
  --transition:   0.22s ease;
}

/* --- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Base ------------------------------------------------- */
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Layout ----------------------------------------------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 70px 0; }

/* --- Typography ------------------------------------------- */
h1 {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.15;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  position: relative;
  padding-top: 20px;
}

h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 3px;
  background: var(--teal);
}

h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 39px;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-1px);
}

/* --- Link Arrow ------------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  transition: gap var(--transition);
}

.link-arrow svg { transition: transform var(--transition); flex-shrink: 0; }
.link-arrow:hover { gap: 11px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

/* Logo */
.logo { display: flex; align-items: center; }

.logo img {
  height: 58px;
  width: auto;
  display: block;
}

/* Text fallback (footer) */
.logo-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.logo-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--teal); }

.nav-menu .nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 22px;
  font-weight: 600 !important;
  font-size: 15px;
  transition: background var(--transition) !important;
}

.nav-menu .nav-cta:hover {
  background: var(--teal-dark) !important;
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 2px 0;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(to right,
      rgba(13,31,60,0.65) 0%,
      rgba(13,31,60,0.48) 55%,
      rgba(13,31,60,0.28) 100%),
    url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 700px; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--teal);
}

.hero h1 {
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 span { color: var(--teal); }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}

.hero-phone:hover { color: #fff; }

.hero-phone svg { color: var(--teal); flex-shrink: 0; }

/* Trust Card */
.hero-trust {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  min-width: 280px;
  flex-shrink: 0;
}

.hero-trust-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-item:last-child { border-bottom: none; }

.trust-check {
  width: 20px;
  height: 20px;
  background: rgba(0,180,200,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.trust-check svg { color: var(--teal); }

.trust-item-text {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  font-weight: 500;
}

/* ============================================================
   SECTION: LEISTUNGEN
   ============================================================ */
.section-services { background: var(--bg); }

.section-header { margin-bottom: 52px; }

.section-header h2 { margin-bottom: 14px; }

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition),
              transform 0.2s ease;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.service-card:hover {
  border-top-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(0,180,200,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--teal);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.service-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-list {
  margin-bottom: 28px;
  flex: 1;
}

.service-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.service-list li:first-child { border-top: 1px solid var(--border); }

.service-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 6px;
}

/* ============================================================
   SECTION: ÜBER MICH
   ============================================================ */
.section-about { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

.about-content h2 { margin-bottom: 24px; }

.about-text {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-text strong { color: var(--text); font-weight: 600; }

.career-timeline {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.career-timeline h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  min-width: 88px;
  padding-top: 1px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* About image column */
.about-visual { position: sticky; top: 100px; }

.about-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  background: #c8d0db;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* DGuSV Seal */
.dgusv-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dgusv-wrap img {
  width: 140px;
  height: auto;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 2px;
  box-shadow: var(--shadow);
}

.stat-item {
  background: var(--bg);
  padding: 22px 18px;
  text-align: center;
}

.stat-number {
  font-size: 34px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  font-weight: 500;
}

/* ============================================================
   SECTION: QUALIFIKATIONEN
   ============================================================ */
.section-quals { background: var(--bg); }

.quals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  box-shadow: var(--shadow);
  margin-top: 52px;
}

.qual-card {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qual-card-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.qual-card h3 { font-size: 17px; font-weight: 700; }

.qual-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   SECTION: WARUM WIR / USP
   ============================================================ */
.section-usps { background: var(--bg-alt); }

.section-usps .section-header { max-width: 640px; margin-bottom: 52px; }

.usps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usp-item {
  background: var(--bg);
  padding: 36px 28px;
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition),
              transform 0.2s ease;
}

.usp-item:hover {
  border-bottom-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.usp-number {
  font-size: 44px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.85;
}

.usp-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }

.usp-item p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   SECTION: CTA BANNER
   ============================================================ */
.section-cta {
  background: var(--navy);
  background-image: linear-gradient(140deg, #0d1f3c 0%, #162d55 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

.section-cta .container { position: relative; z-index: 1; }

.section-cta h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  padding-top: 0;
}

.section-cta h2::before { display: none; }

.section-cta p {
  color: rgba(255,255,255,0.68);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* ============================================================
   SECTION: KONTAKT
   ============================================================ */
.section-contact { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 20px; }

.contact-intro {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:first-of-type { border-top: 1px solid var(--border); }

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(0,180,200,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-item-body { line-height: 1.4; }

.contact-item-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-body a,
.contact-item-body span {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-item-body a:hover { color: var(--teal); }

.contact-form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
  padding-top: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select { cursor: pointer; }

.form-consent .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
}

.form-consent a { color: var(--teal); }
.form-consent a:hover { text-decoration: underline; }

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* --- FAQ -------------------------------------------------- */
.section-faq { background: var(--bg-alt); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  gap: 16px;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.55;
}

.form-feedback--success {
  background: #edf9f1;
  border: 1px solid #6dca8a;
  color: #1d6b38;
}

.form-feedback--error {
  background: #fdf2f2;
  border: 1px solid #e89090;
  color: #8b1f1f;
}

.contact-map-full {
  margin-top: 52px;
  height: 320px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-map-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #091524;
  color: rgba(255,255,255,0.62);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-number { color: var(--teal); }
.footer-brand .logo-text { color: rgba(255,255,255,0.35); }

.footer-brand > p {
  font-size: 14px;
  line-height: 1.75;
  max-width: 270px;
  color: rgba(255,255,255,0.52);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--teal); }

.footer-col address { font-style: normal; }

.footer-col address p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

.footer-col address a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col address a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--teal); }

/* ============================================================
   IMPRESSUM / DATENSCHUTZ — Content Pages
   ============================================================ */
.page-header {
  background: var(--navy);
  padding: 60px 0 50px;
}

.page-header h1 {
  font-size: 36px;
  color: #fff;
  font-weight: 600;
}

.page-content {
  padding: 60px 0 80px;
  max-width: 800px;
}

.page-content h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.page-content a { color: var(--teal); }
.page-content a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE — Tablet (≤ 1239px)
   ============================================================ */
@media (max-width: 1239px) {
  /* Nav */
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: -40px;
    right: -40px;
    background: #fff;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-top: 2px solid var(--teal);
  }

  .nav-menu.open { display: flex; }

  .nav-menu li { width: 100%; }

  .nav-menu a {
    display: block;
    padding: 16px 28px;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }

  .nav-menu .nav-cta {
    margin: 16px 28px 20px;
    text-align: center;
    display: block;
    padding: 14px 28px !important;
  }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-trust { max-width: 400px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { position: static; }
  .about-img-wrap { aspect-ratio: 16/9; max-width: 560px; }

  /* Quals */
  .quals-grid { grid-template-columns: 1fr 1fr; }

  /* USPs */
  .usps-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map-full { height: 260px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  section { padding: 50px 0; }

  /* Nav */
  .nav-menu {
    left: -20px;
    right: -20px;
  }

  /* Hero */
  .hero {
    min-height: 80vh;
    background-attachment: scroll;
  }
  .hero-inner { padding: 50px 0; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-trust { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* About stats – keep 3 columns, reduce font on small screens */
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 11px; }

  /* Quals */
  .quals-grid { grid-template-columns: 1fr; }

  /* USPs */
  .usps-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-map-full { height: 220px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
}
