:root {
  --navy: #11263d;
  --navy-soft: #1c354e;
  --navy-deep: #0c1c2c;
  --paper: #ffffff;
  --sand: #f5f3ee;
  --sand-strong: #ebe6db;
  --gold: #a98a4e;
  --gold-dark: #8c6e36;
  --ink: #182737;
  --text: #435160;
  --muted: #687480;
  --line: #dfe4e8;
  --line-dark: rgba(255, 255, 255, .18);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --content: min(1120px, calc(100% - 64px));
  --radius: 12px;
  --shadow: 0 16px 42px rgba(17, 38, 61, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(169, 138, 78, .5); outline-offset: 3px; }
::selection { color: var(--navy); background: #ddcb9f; }

.skip-link {
  position: fixed;
  z-index: 3000;
  top: -60px;
  left: 16px;
  padding: 10px 14px;
  color: var(--paper);
  border-radius: 6px;
  background: var(--navy);
}
.skip-link:focus { top: 16px; }

/* Shared header and navigation */
[data-site-header] {
  position: sticky;
  z-index: 1000;
  top: 0;
  display: block;
}
.site-header {
  position: relative;
  z-index: 1;
  width: 100%;
  color: var(--ink);
  border-bottom: 1px solid rgba(24, 39, 55, .09);
  background: rgba(255, 255, 255, .98);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(17, 38, 61, .08); }
.header-inner {
  display: flex;
  align-items: center;
  width: var(--content);
  min-height: 76px;
  margin: auto;
  gap: 26px;
}
.brand { display: block; flex: 0 0 auto; width: 154px; }
.brand img { width: 154px; height: auto; filter: invert(1) brightness(.32) saturate(.9); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 31px); margin-left: auto; }
.desktop-nav a {
  color: #344453;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--gold-dark); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-cta { margin-left: 3px; color: var(--paper); background: var(--navy); }
.nav-cta:hover, .button:hover { transform: translateY(-1px); }
.nav-cta:hover { background: var(--navy-soft); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(0) rotate(-45deg); }
.mobile-nav { display: none; }

/* Type scale */
main { overflow: clip; }
h1, h2, h3, .display {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { max-width: 820px; font-size: clamp(2.8rem, 5.4vw, 4.9rem); }
h2 { max-width: 720px; font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1rem; }
.lead, .intro-copy, .prose, .network-detail { color: var(--text); font-size: 1rem; line-height: 1.72; }
.lead { max-width: 660px; margin-top: 20px; font-size: 1.08rem; }
.kicker, .section-label, .service-index, .footer-title, .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.35;
  text-transform: uppercase;
}
.kicker::before { width: 22px; height: 2px; content: ""; background: currentColor; }

/* Shared sections */
.section { width: var(--content); margin: 0 auto; padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-cream { margin-top: 32px; margin-bottom: 32px; padding: 72px clamp(28px, 5vw, 68px); border-radius: var(--radius); background: var(--sand); }
.section-navy {
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 72px clamp(28px, 5vw, 68px);
  color: var(--paper);
  border-radius: var(--radius);
  background: var(--navy);
}
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--paper); }
.section-navy .kicker { color: #e1c77f; }
.section-navy .lead, .section-navy .network-detail { color: rgba(255, 255, 255, .8); }

/* Home hero */
.hero { color: var(--paper); background: var(--navy); }
.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
  width: var(--content);
  min-height: 680px;
  margin: auto;
  padding: 84px 0;
}
.hero-copy h1 { color: var(--paper); }
.hero-copy .kicker { color: #e1c77f; }
.intro-copy { max-width: 600px; margin-top: 24px; color: rgba(255, 255, 255, .82); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-gold { color: #172a3d; background: #d8ba72; }
.button-gold:hover { color: var(--paper); background: var(--gold-dark); }
.button-outline-light { color: var(--paper); border-color: rgba(255, 255, 255, .55); }
.button-outline-light:hover { color: var(--navy); background: var(--paper); }
.button-outline-dark { color: var(--navy); border-color: #b7c0c7; background: var(--paper); }
.button-outline-dark:hover { color: var(--paper); border-color: var(--navy); background: var(--navy); }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 600; }
.trust-line span { display: inline-flex; align-items: center; gap: 10px; }
.trust-line span:not(:last-child)::after { width: 4px; height: 4px; content: ""; border-radius: 99px; background: #d8ba72; }
.hero-visual { position: relative; min-width: 0; padding: 0; }
.architecture-art { display: none; }
.form-card, .contact-form {
  padding: 32px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.form-card h2, .form-card h3, .contact-form h2 { max-width: 520px; color: var(--ink); font-size: 1.72rem; }
.form-card > p { margin: 12px 0 22px; color: var(--text); font-size: 15px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: #4e5d6c; font-size: 12px; font-weight: 700; line-height: 1.35; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid #bac3ca;
  border-radius: 6px;
  outline: none;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.35;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169, 138, 78, .17); }
.form-submit { width: 100%; margin-top: 20px; }
.form-note, .form-status { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-status { min-height: 18px; color: #345b45; }

/* Content patterns */
.split-heading, .editorial-grid, .network-grid, .conversion, .faq-layout, .contact-layout, .final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}
.split-heading { margin-bottom: 42px; align-items: end; }
.split-heading .lead { margin: 0; }
.pillars, .services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar, .service-card, .process-step {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.pillar-number, .process-num { display: block; margin-bottom: 22px; color: var(--gold-dark); font-size: 14px; font-weight: 700; }
.pillar h3, .service-card h3, .process-step h3 { margin-bottom: 12px; }
.pillar p, .service-card p, .process-step p { margin-bottom: 0; color: var(--text); font-size: 15px; line-height: 1.65; }
.editorial-grid { align-items: center; }
.editorial-grid .big-copy { margin-top: 22px; color: var(--text); font-size: 1rem; line-height: 1.75; }
.side-note, .callout {
  padding: 26px;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--sand);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.55;
}
.about-teaser { display: block; width: var(--content); margin: 0 auto; }
.about-image { display: none; }
.about-copy { padding: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.about-copy .lead { max-width: 780px; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--sand); }
.stat strong { display: block; color: var(--navy); font-size: 16px; font-weight: 750; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.network-grid { align-items: center; }
.network-statement { margin: 18px 0 0; color: #f0daa1; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.35; }
.services { margin-top: 34px; }
.service-card { display: flex; flex-direction: column; min-height: 250px; }
.service-index { margin-bottom: 26px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--navy); font-size: 14px; font-weight: 700; }
.text-link::after { content: "→"; color: var(--gold-dark); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.process-step { min-height: 220px; }
.process-closure { margin: 30px 0 0; color: var(--navy); font-size: 1.1rem; font-weight: 700; }
.conversion { align-items: center; }
.dark-form { padding: 30px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; background: rgba(255, 255, 255, .06); }
.dark-form .field label { color: rgba(255, 255, 255, .9); }
.dark-form .field input, .dark-form .field select, .dark-form .field textarea { color: var(--paper); border-color: rgba(255, 255, 255, .5); background: rgba(12, 28, 44, .25); }
.dark-form .field select option { color: var(--ink); background: var(--paper); }
.dark-form .form-note { color: rgba(255, 255, 255, .72); }
.dark-form .form-status { color: #f0daa1; }

/* FAQ */
.faq-layout { align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
}
.faq-icon { flex: 0 0 auto; margin-left: 18px; color: var(--gold-dark); font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 720px; margin: 0; color: var(--text); }
.faq-answer.is-open { grid-template-rows: 1fr; }
.faq-answer.is-open p { padding: 0 0 20px; }

/* Inner pages */
.page-hero { padding: 86px 0 72px; color: var(--paper); background: var(--navy); }
.page-hero-inner { width: var(--content); margin: auto; }
.page-hero h1 { color: var(--paper); }
.page-hero .lead { color: rgba(255, 255, 255, .8); }
.page-hero .kicker { color: #e1c77f; }
.breadcrumb { color: rgba(255, 255, 255, .72); }
.breadcrumb a:hover { color: #f0daa1; }
.content-grid { display: grid; grid-template-columns: minmax(190px, .6fr) minmax(0, 1.4fr); gap: clamp(36px, 8vw, 96px); align-items: start; }
.section-label { position: sticky; top: 106px; }
.prose { max-width: 720px; }
.prose h2 { margin: 0 0 18px; color: var(--ink); }
.prose h3 { margin: 35px 0 12px; color: var(--ink); }
.prose ul { padding-left: 20px; }
.prose li { margin: 8px 0; }
.feature-list { display: grid; gap: 10px; margin-top: 28px; }
.feature-list > div { padding: 19px 21px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.feature-list strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 16px; font-weight: 750; }
.feature-list span { color: var(--text); font-size: 15px; }
.callout { margin-top: 28px; }
.callout strong { display: block; margin-bottom: 7px; color: var(--navy); font-size: 17px; }
.callout p { margin: 0; color: var(--text); }
.contact-layout { align-items: start; }
.contact-address { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-address p { margin: 0 0 15px; color: var(--text); }
.contact-form { border-color: var(--line); background: var(--sand); }
.notice, .placeholder-box { margin-top: 24px; padding: 18px; color: var(--text); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; background: var(--sand); font-size: 14px; }
.legal-layout { display: grid; grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); gap: clamp(36px, 8vw, 96px); }
.legal-aside { position: sticky; top: 106px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.legal-copy { max-width: 760px; color: var(--text); }
.legal-copy h2 { margin: 42px 0 15px; font-size: 1.75rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin: 28px 0 10px; font-size: 1.25rem; }

/* Shared end CTA and footer */
.final-cta { align-items: center; }
.final-contact { padding: 24px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.final-contact p { margin: 0 0 14px; color: rgba(255, 255, 255, .84); }
.final-contact p:last-child { margin-bottom: 0; }
.final-contact strong { color: var(--paper); }
.site-footer { margin-top: 56px; color: rgba(255, 255, 255, .75); background: var(--navy-deep); }
.footer-inner { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 50px; width: var(--content); margin: auto; padding: 56px 0 34px; }
.footer-brand { width: 170px; margin-bottom: 20px; }
.footer-copy, .footer-links a { color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.65; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: #f0daa1; }
.footer-title { color: #e1c77f; }
.footer-bottom { display: flex; justify-content: space-between; width: var(--content); margin: auto; padding: 18px 0 24px; color: rgba(255, 255, 255, .5); border-top: 1px solid var(--line-dark); font-size: 12px; }
.mobile-bar { display: none; }
.reveal { opacity: 1; transform: none; }

/* Tablet and mobile: one readable column */
@media (max-width: 1000px) {
  :root { --content: min(100% - 48px, 760px); }
  .hero-wrap { grid-template-columns: 1fr; min-height: 0; gap: 36px; padding: 70px 0; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 620px; }
  .split-heading, .editorial-grid, .network-grid, .conversion, .faq-layout, .contact-layout, .final-cta, .content-grid, .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .section-label, .legal-aside { position: static; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-copy { padding: 38px; }
  .footer-inner { grid-template-columns: 1.25fr .75fr; }
}

@media (max-width: 1060px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    padding: 0 max(24px, calc((100% - var(--content)) / 2));
    overflow: hidden;
    border-bottom: 0 solid var(--line);
    background: var(--paper);
    box-shadow: 0 8px 20px rgba(17, 38, 61, .08);
    opacity: 0;
    transition: max-height .25s ease, padding .25s ease, opacity .2s ease;
  }
  .mobile-nav.is-open { max-height: 440px; padding-top: 8px; padding-bottom: 20px; border-bottom-width: 1px; opacity: 1; }
  .mobile-nav a { padding: 15px 0; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 650; }
  .mobile-nav .button { margin-top: 16px; color: var(--paper); border: 0; background: var(--navy); }
}

@media (max-width: 640px) {
  :root { --content: calc(100% - 40px); }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .header-inner { min-height: 68px; }
  .brand, .brand img { width: 138px; }
  .menu-toggle { width: 42px; height: 42px; }

  h1 { font-size: clamp(2rem, 8.6vw, 2.55rem); line-height: 1.15; text-wrap: pretty; }
  h2 { font-size: clamp(1.65rem, 7.2vw, 2.1rem); line-height: 1.18; text-wrap: pretty; }
  h3 { font-size: 1.18rem; line-height: 1.3; }
  .lead, .intro-copy, .prose, .network-detail { font-size: 1rem; line-height: 1.68; }
  .kicker, .section-label, .service-index, .footer-title, .breadcrumb { font-size: 12px; letter-spacing: .04em; }
  .kicker::before { width: 18px; }

  .section { padding: 58px 0; }
  .section-cream, .section-navy { margin-top: 18px; margin-bottom: 18px; padding: 46px 22px; border-radius: 10px; }
  .hero-wrap { gap: 30px; padding: 52px 0; }
  .intro-copy { margin-top: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .button, .nav-cta { min-height: 50px; padding: 12px 16px; font-size: 16px; }
  .trust-line { display: grid; gap: 7px; margin-top: 27px; font-size: 14px; }
  .trust-line span:not(:last-child)::after { display: none; }
  .form-card, .contact-form, .dark-form { padding: 22px 18px; border-radius: 10px; }
  .form-card h2, .form-card h3, .contact-form h2 { font-size: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .field.full { grid-column: auto; }
  .field label { font-size: 12px; }
  .field input, .field select, .field textarea { min-height: 50px; }
  .form-note, .form-status { font-size: 13px; }

  .split-heading { gap: 18px; margin-bottom: 28px; }
  .pillars, .services, .stats, .process { grid-template-columns: 1fr; gap: 12px; }
  .pillar, .service-card, .process-step { min-height: 0; padding: 22px; }
  .pillar-number, .process-num { margin-bottom: 14px; }
  .side-note, .callout { padding: 20px; font-size: 1rem; }
  .about-copy { padding: 25px 22px; }
  .stat { padding: 16px; }
  .service-card h3 { margin-bottom: 10px; }
  .service-card { min-height: 0; }
  .text-link { margin-top: 18px; padding-top: 0; }
  .network-statement { font-size: 1.35rem; }
  .faq-question { padding: 18px 0; font-size: 16px; }

  .page-hero { padding: 54px 0 46px; }
  .page-hero .lead { margin-top: 16px; }
  .feature-list > div { padding: 17px; }
  .prose h2, .legal-copy h2 { font-size: 1.55rem; }
  .prose h3, .legal-copy h3 { font-size: 1.18rem; }
  .notice, .placeholder-box { padding: 16px; }

  .final-cta { gap: 22px; }
  .final-contact { padding: 20px; }
  .site-footer { margin-top: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 42px 0 26px; }
  .footer-brand { width: 152px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding: 16px 0 calc(18px + env(safe-area-inset-bottom)); font-size: 12px; }
  .mobile-bar {
    position: fixed;
    z-index: 900;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    color: var(--paper);
    background: var(--navy-deep);
    box-shadow: 0 -4px 18px rgba(12, 28, 44, .16);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; padding: 10px; color: var(--paper); border-right: 1px solid var(--line-dark); font-size: 14px; font-weight: 700; text-align: center; }
  .mobile-bar a:last-child { color: var(--navy); border: 0; background: #d8ba72; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


@media (max-width: 640px) {
  .form-card > p,
  .pillar p,
  .service-card p,
  .process-step p,
  .feature-list span,
  .footer-copy,
  .footer-links a {
    font-size: 1rem;
  }
}

/* Progressive fallback when JavaScript is unavailable on a compact viewport. */
@media (max-width: 1060px) {
  .fallback-header .header-inner {
    flex-wrap: wrap;
    padding: 14px 0 18px;
  }
  .fallback-header .desktop-nav {
    display: grid;
    order: 3;
    width: 100%;
    margin: 8px 0 0;
    border-top: 1px solid var(--line);
  }
  .fallback-header .desktop-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .fallback-header .nav-cta {
    display: inline-flex;
    order: 4;
    width: 100%;
    margin: 16px 0 0;
  }
}


/* Keep long German headings inside their reading column on every device. */
h1 {
  max-width: 100%;
  font-size: clamp(2.65rem, 3.9vw, 3.75rem);
  overflow-wrap: normal;
  hyphens: auto;
  text-wrap: pretty;
}


/* Final heading scale: never split long German words on small screens. */
h1, h2, h3 {
  hyphens: none;
  overflow-wrap: normal;
}

@media (min-width: 641px) {
  h1 { font-size: clamp(2.5rem, 3.25vw, 3.25rem); }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(1.92rem, 8vw, 2.25rem);
    line-height: 1.16;
    text-wrap: pretty;
  }
}


/* Einheitliche AMAL-Typografie: eine leichte, lokale Markenfamilie für den gesamten Auftritt. */
@font-face { font-family: "AMAL Sans"; src: url("/assets/fonts/dm-sans-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "AMAL Sans"; src: url("/assets/fonts/dm-sans-500.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "AMAL Sans"; src: url("/assets/fonts/dm-sans-600.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
:root { --font: "AMAL Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html { font-synthesis: none; }
h1, h2, h3, .display { font-family: var(--font); font-weight: 500; letter-spacing: -.028em; }
.desktop-nav a, .mobile-nav a, .trust-line, .network-statement, .process-closure, .faq-question, .side-note, .callout, .stat strong, .feature-list strong { font-weight: 500; }
.nav-cta, .button, .kicker, .section-label, .service-index, .footer-title, .breadcrumb, .field label, .pillar-number, .process-num, .text-link, .mobile-bar a { font-weight: 600; }
/* Das Portrait erscheint persönlich, aber bewusst kompakt und nie dominant. */
.about-teaser { display: grid; grid-template-columns: minmax(220px, .62fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 66px); align-items: center; }
.about-image { display: block; width: 100%; min-height: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.about-image img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; }
.about-image figcaption { margin-top: 12px; color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.45; }
.about-copy { padding: clamp(28px, 4vw, 48px); }
.about-highlight { max-width: 42rem; margin: 0 0 16px; color: var(--navy); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.5; }
.about-highlight strong { font-weight: 600; }
.about-profile { display: grid; grid-template-columns: minmax(240px, .62fr) minmax(0, 1.18fr); gap: clamp(32px, 7vw, 90px); align-items: start; }
.profile-portrait { margin: 0; }
.profile-portrait img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; border-radius: var(--radius); background: var(--sand); }
.profile-portrait figcaption { margin-top: 12px; color: var(--muted); font-size: .84rem; font-weight: 500; line-height: 1.45; }
.faq-heading { max-width: none; margin: 0; font: inherit; }
/* FAQ-Antworten bleiben ohne JavaScript vollständig lesbar. */
.faq-answer { display: block; }
.faq-answer > div { overflow: visible; }
.faq-answer p { padding: 0 0 20px; }
.js-enabled .faq-answer { display: grid; grid-template-rows: 0fr; }
.js-enabled .faq-answer > div { overflow: hidden; }
.js-enabled .faq-answer p { padding: 0; }
.js-enabled .faq-answer.is-open { grid-template-rows: 1fr; }
.js-enabled .faq-answer.is-open p { padding: 0 0 20px; }
@media (max-width: 1000px) {
  .about-teaser, .about-profile { grid-template-columns: minmax(200px, .68fr) minmax(0, 1.1fr); gap: 30px; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(1.9rem, 8vw, 2.2rem); line-height: 1.2; letter-spacing: -.025em; }
  h2 { font-size: clamp(1.58rem, 6.8vw, 1.95rem); line-height: 1.24; letter-spacing: -.022em; }
  h3 { font-size: 1.12rem; line-height: 1.38; letter-spacing: -.012em; }
  .about-teaser, .about-profile { grid-template-columns: 1fr; gap: 22px; }
  .about-image { max-width: 280px; }
  .profile-portrait { max-width: 280px; }
  .about-copy { padding: 26px 22px; }
  .about-highlight { font-size: 1rem; }
  .faq-question { font-size: 1rem; line-height: 1.5; }
}


/* Sehr lange deutsche H1 bleiben auf 320–360 px vollständig lesbar. */
@media (max-width: 640px) {
  h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
    line-height: 1.2;
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}


/* Portrait bewusst klein halten: persönliche Nähe ohne visuelle Dominanz. */
.about-teaser { grid-template-columns: minmax(170px, 220px) minmax(0, 1fr); }
.about-image { width: min(100%, 220px); justify-self: start; }
.about-profile { grid-template-columns: minmax(170px, 220px) minmax(0, 1fr); }
.profile-portrait { width: min(100%, 220px); justify-self: start; }
@media (max-width: 1000px) {
  .about-teaser, .about-profile { grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); }
  .about-image, .profile-portrait { width: min(100%, 200px); }
}
@media (max-width: 640px) {
  .about-teaser, .about-profile { grid-template-columns: 1fr; }
  .about-image, .profile-portrait { width: min(100%, 170px); max-width: 170px; }
  .about-image figcaption, .profile-portrait figcaption { font-size: .74rem; }
}



/* Finale Inhaltsarchitektur: kompaktes Leistungsmenü und viele Inhalte ohne visuelle Unruhe. */
.header-inner { gap: 18px; }
.desktop-nav { gap: clamp(14px, 1.3vw, 22px); }
.desktop-nav a, .nav-dropdown summary { font-size: 12.5px; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: inline-flex; align-items: center; gap: 5px; color: #344453; font-weight: 500; line-height: 1; list-style: none; cursor: pointer; white-space: nowrap; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; color: var(--gold-dark); font-size: .95em; transform: translateY(-1px); }
.nav-dropdown[open] summary, .nav-dropdown.is-current-group summary { color: var(--gold-dark); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 16px); left: -18px; display: grid; width: 280px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); box-shadow: var(--shadow); }
.desktop-nav .nav-dropdown-panel a { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.35; white-space: normal; }
.desktop-nav .nav-dropdown-panel a:last-child { border-bottom: 0; }
.mobile-nav-title { margin: 18px 0 0; padding: 11px 0 7px; color: var(--gold-dark); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.mobile-nav a.mobile-sub-link { padding: 12px 0 12px 14px; color: var(--text); font-size: 14px; }
.form-card .contact-form { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.form-card .contact-form > .kicker { margin-top: 0; }
.dark-form.contact-form { color: var(--paper); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.dark-form.contact-form h2 { color: var(--paper); }
.dark-form.contact-form > p { color: rgba(255, 255, 255, .82); }
.process-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.footer-inner.footer-final { grid-template-columns: 1.35fr .95fr .78fr .78fr; gap: 34px; }
.footer-copy strong { color: var(--paper); font-weight: 600; }
@media (max-width: 1060px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1000px) {
  .process-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner.footer-final { grid-template-columns: 1.2fr .8fr; gap: 36px; }
}
@media (max-width: 640px) {
  .process-five { grid-template-columns: 1fr; }
  .footer-inner.footer-final { grid-template-columns: 1fr; gap: 28px; }
  .nav-dropdown-panel { position: static; width: auto; box-shadow: none; }
}


/* Die zentrale Markenbotschaft bleibt auf schmalen Geräten bewusst lesbar. */
.mobile-break { display: none; }
@media (max-width: 640px) {
  .hero-copy .mobile-break { display: inline; }
  .hero-copy h1 { hyphens: none; overflow-wrap: normal; }
}


/* Verpflichtende Datenschutzeinwilligung in allen Anfrageformularen. */
.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 17px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .64);
}
.privacy-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  accent-color: var(--navy);
}
.privacy-consent label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.privacy-consent a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dark-form .privacy-consent {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .07);
}
.dark-form .privacy-consent label { color: rgba(255, 255, 255, .84); }
.dark-form .privacy-consent a { color: var(--gold-light); }
@media (max-width: 640px) {
  .privacy-consent { gap: 9px; padding: 11px; }
  .privacy-consent label { font-size: 11.5px; }
}


/* Editoriale Bildköpfe: klare Botschaft links, thematische Bildwelt rechts. */
.page-hero-visual {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(112deg, var(--navy-deep), var(--navy));
}
.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: stretch;
  width: var(--content);
  min-height: 360px;
  margin: auto;
}
.page-hero-visual .page-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  padding: 72px 0;
}
.page-hero-visual .page-hero-inner .lead { max-width: 620px; }
.page-hero-media {
  position: relative;
  align-self: stretch;
  min-height: 302px;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: var(--navy-soft);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .16);
}
.page-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(125deg, rgba(12, 28, 44, .18), transparent 58%, rgba(169, 138, 78, .14));
  pointer-events: none;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 302px;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.page-hero-visual:hover .page-hero-media img { transform: scale(1.025); }
.page-hero-digital .page-hero-media img { object-position: right center; }
.page-hero-development .page-hero-media img { object-position: center; }
.page-hero-renovation .page-hero-media img { object-position: right center; }
.page-hero-portrait .page-hero-media img { object-position: center 18%; }
.page-hero-portrait .page-hero-media { background: #c4b7a8; }
.about-profile-copy { display: block; max-width: 760px; }
.about-profile-copy .prose { max-width: 760px; }
@media (max-width: 1000px) {
  .page-hero-layout { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .page-hero-visual .page-hero-inner { padding: 58px 0 26px; }
  .page-hero-media { min-height: 250px; height: 250px; margin: 0 0 34px; }
  .page-hero-media img { min-height: 250px; }
}
@media (max-width: 640px) {
  .page-hero-visual .page-hero-inner { padding: 46px 0 22px; }
  .page-hero-media { min-height: 184px; height: 184px; margin-bottom: 26px; border-radius: 9px; }
  .page-hero-media img { min-height: 184px; }
  .page-hero-visual:hover .page-hero-media img { transform: none; }
}


/* Das persönliche Portrait bleibt sichtbar, aber bewusst dezent im Über-mich-Kopf. */
.page-hero-portrait .page-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
  gap: clamp(30px, 5vw, 64px);
  min-height: 330px;
}
.page-hero-portrait .page-hero-media {
  width: min(100%, 340px);
  min-height: 280px;
  height: 280px;
  margin: 26px 0;
  justify-self: end;
  align-self: center;
}
.page-hero-portrait .page-hero-media img {
  min-height: 280px;
  object-position: center 24%;
}
@media (max-width: 1000px) {
  .page-hero-portrait .page-hero-media {
    width: min(100%, 260px);
    min-height: 220px;
    height: 220px;
    margin: 0 0 30px;
    justify-self: start;
  }
  .page-hero-portrait .page-hero-media img { min-height: 220px; }
}
@media (max-width: 640px) {
  .page-hero-portrait .page-hero-media {
    width: min(100%, 210px);
    min-height: 180px;
    height: 180px;
    margin-bottom: 24px;
  }
  .page-hero-portrait .page-hero-media img { min-height: 180px; }
}

@media (max-width: 640px) {
  .page-hero-portrait .page-hero-layout { grid-template-columns: 1fr; }
}

/* Ruhiger, beratungsorientierter Startseitenkopf: kein Dekorbild, keine Wiederholung. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(216, 186, 114, .13), transparent 34%),
    linear-gradient(138deg, var(--navy-deep) 0%, var(--navy) 64%, #17364f 100%);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 26px max(24px, calc((100% - min(1120px, calc(100% - 64px))) / 2)) auto auto;
  width: min(24vw, 260px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(216, 186, 114, .65));
}
.hero-wrap {
  position: relative;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  min-height: 640px;
  gap: clamp(42px, 5.5vw, 76px);
  padding: 76px 0;
}
.hero-copy {
  max-width: 640px;
  padding-left: clamp(18px, 2.4vw, 30px);
  border-left: 1px solid rgba(216, 186, 114, .52);
}
.hero-copy h1 { max-width: 620px; }
.hero-visual { width: 100%; max-width: 480px; margin-left: auto; }
.hero-visual .form-card {
  margin: 0;
  border-top: 3px solid #d8ba72;
  box-shadow: 0 24px 54px rgba(4, 16, 30, .24);
}
@media (max-width: 1000px) {
  .hero-wrap { grid-template-columns: 1fr; min-height: 0; padding: 68px 0; }
  .hero-copy { max-width: 720px; padding-left: 0; border-left: 0; }
  .hero-visual { max-width: 620px; margin-left: 0; }
}
@media (max-width: 640px) {
  .hero::before { display: none; }
  .hero-wrap { gap: 34px; padding: 46px 0 56px; }
  .hero-copy h1 { max-width: 100%; }
}

/* Das Portrait auf Mobilgeräten bleibt klein und persönlich. */
@media (max-width: 640px) {
  .page-hero-portrait .page-hero-media {
    width: min(100%, 160px);
    min-height: 140px;
    height: 140px;
    margin-bottom: 22px;
  }
  .page-hero-portrait .page-hero-media img {
    min-height: 140px;
    object-position: center 22%;
  }
}

/* Startseite: Zwei ausgeglichene Reihen statt unvollständiger Fünfer-Raster. */
.service-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}
.service-grid-six .service-card { height: 100%; }
@media (max-width: 900px) and (min-width: 641px) {
  .service-grid-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Persönlicher Bereich: Bild und Textkarte bilden eine gleich große, ruhige Einheit. */
.about-teaser {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}
.about-image {
  position: relative;
  width: 100%;
  min-height: 430px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sand);
}
.about-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 18%;
}
.about-image figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  margin: 0;
  padding: 7px 10px;
  color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  background: rgba(7, 10, 14, .64);
  backdrop-filter: blur(5px);
  font-size: .74rem;
  line-height: 1.4;
}
.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  height: 100%;
}
@media (max-width: 640px) {
  .about-teaser { grid-template-columns: 1fr; gap: 24px; }
  .about-image {
    width: min(100%, 210px);
    min-height: 262px;
    height: 262px;
    justify-self: start;
  }
  .about-copy { min-height: 0; height: auto; }
  .about-image figcaption { right: 8px; bottom: 8px; left: 8px; padding: 5px 7px; font-size: .66rem; }
}

/* Fast schwarzer Startseitenkopf mit dezenter Gebäudezeichnung – rein dekorativ. */
.hero {
  background: #080a0e;
}
.hero::before {
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  background: radial-gradient(circle at 82% 8%, rgba(216, 186, 114, .12), transparent 38%);
}
.hero-wrap { z-index: 1; }
.hero-property-outline {
  position: absolute;
  z-index: 0;
  right: max(-90px, calc((100% - 1220px) / 2));
  bottom: -26px;
  width: min(58vw, 760px);
  height: min(52vw, 580px);
  opacity: .38;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 620' fill='none'%3E%3Cg stroke='%23d8ba72' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M42 584H860'/%3E%3Cpath d='M96 584V230L226 132L356 230V584'/%3E%3Cpath d='M356 584V78H620V584'/%3E%3Cpath d='M620 584V182L774 248V584'/%3E%3Cpath d='M174 584V354H278V584M426 584V344H544V584M680 584V380H748V584'/%3E%3Cpath d='M124 278H160V318H124zM194 238H230V278H194zM286 278H322V318H286zM398 126H448V184H398zM474 126H524V184H474zM550 126H598V184H550zM398 230H448V286H398zM474 230H524V286H474zM550 230H598V286H550zM650 246H692V294H650zM714 274H756V322H714z'/%3E%3Cpath d='M74 230L226 92L378 230M328 78H648' opacity='.72'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero-property-outline {
    right: -124px;
    bottom: -8px;
    width: 520px;
    height: 360px;
    opacity: .15;
  }
}

/* Letzter Symmetriefeinschliff: kompakte Bildkarte und einspaltige mobile Karten. */
.about-image {
  min-height: 0;
  height: auto;
  aspect-ratio: 1 / 1;
}
.about-copy {
  min-height: 0;
  height: auto;
}
.hero-property-outline { opacity: .26; }
@media (max-width: 640px) {
  .service-grid-six {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .service-grid-six .service-card { height: auto; }
  .about-image {
    width: min(100%, 190px);
    min-height: 228px;
    height: 228px;
    aspect-ratio: auto;
  }
  .hero-property-outline { opacity: .10; }
}
@media (max-width: 640px) {
  .about-image { max-width: 190px; }
}

/* Der persönliche Bereich bleibt präsent, ohne unnötig hoch zu werden. */
.about-image { aspect-ratio: 1 / 1; min-height: 0; align-self: stretch; }
.about-image img {
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
}
.about-copy { padding: clamp(30px, 3vw, 38px); }
.about-copy h2 { font-size: clamp(2rem, 2.55vw, 2.45rem); line-height: 1.16; }
.about-copy .lead { font-size: .98rem; line-height: 1.62; }
.about-copy .hero-actions { margin-top: 20px; }
@media (max-width: 640px) {
  .about-image { min-height: 228px; height: 228px; aspect-ratio: auto; }
  .about-copy { padding: 26px 22px; }
  .about-copy h2 { font-size: 1.72rem; }
}


/* Abschluss-CTA bewusst klar: keine doppelte Kontaktbox. */
.final-cta-single { grid-template-columns: minmax(0, 1fr); }
.final-cta-single > div { max-width: 760px; }

/* Fünf Prozessschritte bleiben auch bei langen deutschen Begriffen gut lesbar. */
.process-five .process-step { min-height: 248px; padding: 20px; }
.process-five .process-step h3 { font-size: clamp(.96rem, 1.25vw, 1.1rem); line-height: 1.28; letter-spacing: -.018em; }
.process-five .process-step p { font-size: .84rem; line-height: 1.58; }
@media (max-width: 1000px) {
  .process-five .process-step { min-height: 0; }
}

/* Rechnerseiten sind an das ruhige AMAL-Design angebunden. */
.page-hero-calculator { background: linear-gradient(132deg, var(--navy-deep), var(--navy)); }
.calculator-page { max-width: 950px; }
.calculator-page-intro { max-width: 720px; margin-bottom: 16px; color: var(--text); font-size: 1.05rem; line-height: 1.7; }
.calculator-embed { width: 100%; min-width: 0; }
.calculator-promo { padding-top: 16px; padding-bottom: 16px; }
.calculator-promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sand); }
.calculator-promo-inner .lead { max-width: 660px; margin-bottom: 0; }
.footer-inner.footer-final { grid-template-columns: 1.35fr .95fr .78fr .78fr .88fr; gap: 26px; }
@media (max-width: 1000px) {
  .calculator-promo-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner.footer-final { grid-template-columns: 1.2fr .8fr; gap: 36px; }
}
@media (max-width: 640px) {
  .process-five .process-step { padding: 20px; }
  .process-five .process-step h3 { font-size: 1.08rem; }
  .process-five .process-step p { font-size: .96rem; }
  .calculator-page { padding-top: 44px; }
  .calculator-page-intro { font-size: 1rem; }
  .calculator-promo { padding: 16px 0; }
  .calculator-promo-inner { gap: 20px; padding: 24px 20px; }
  .calculator-promo-inner .button { width: 100%; }
  .footer-inner.footer-final { grid-template-columns: 1fr; gap: 28px; }
}


/* Abschluss-CTA bewusst klar: keine doppelte Kontaktbox. */
.final-cta-single { grid-template-columns: minmax(0, 1fr); }
.final-cta-single > div { max-width: 760px; }

/* Fünf Prozessschritte bleiben auch bei langen deutschen Begriffen gut lesbar. */
.process-five .process-step { min-height: 248px; padding: 20px; }
.process-five .process-step h3 { font-size: clamp(.96rem, 1.25vw, 1.1rem); line-height: 1.28; letter-spacing: -.018em; }
.process-five .process-step p { font-size: .84rem; line-height: 1.58; }
@media (max-width: 1000px) {
  .process-five .process-step { min-height: 0; }
}

/* Rechnerseiten sind an das ruhige AMAL-Design angebunden. */
.page-hero-calculator { background: linear-gradient(132deg, var(--navy-deep), var(--navy)); }
.calculator-page { max-width: 950px; }
.calculator-page-intro { max-width: 720px; margin-bottom: 16px; color: var(--text); font-size: 1.05rem; line-height: 1.7; }
.calculator-embed { width: 100%; min-width: 0; }
.calculator-promo { padding-top: 16px; padding-bottom: 16px; }
.calculator-promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sand); }
.calculator-promo-inner .lead { max-width: 660px; margin-bottom: 0; }
.footer-inner.footer-final { grid-template-columns: 1.35fr .95fr .78fr .78fr .88fr; gap: 26px; }
@media (max-width: 1000px) {
  .calculator-promo-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner.footer-final { grid-template-columns: 1.2fr .8fr; gap: 36px; }
}
@media (max-width: 640px) {
  .process-five .process-step { padding: 20px; }
  .process-five .process-step h3 { font-size: 1.08rem; }
  .process-five .process-step p { font-size: .96rem; }
  .calculator-page { padding-top: 44px; }
  .calculator-page-intro { font-size: 1rem; }
  .calculator-promo { padding: 16px 0; }
  .calculator-promo-inner { gap: 20px; padding: 24px 20px; }
  .calculator-promo-inner .button { width: 100%; }
  .footer-inner.footer-final { grid-template-columns: 1fr; gap: 28px; }
}

/* Die Prozesskarten bleiben auch in fünf Spalten ruhig und vollständig lesbar. */
.process-five .process-step h3 { overflow-wrap: normal; hyphens: none; }
.process-five .process-step p { overflow-wrap: break-word; }

.process-five .process-step h3 { overflow-wrap: anywhere; hyphens: auto; }

/* Bei Tabletbreiten erhalten längere deutsche Leistungstitel genügend Raum. */
.service-card h3 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 1000px) and (min-width: 641px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Serverseitige Formularübermittlung: klarer Status und deaktivierter Versandzustand. */
.form-submit:disabled { cursor: wait; opacity: .72; }
.form-status { display: block; margin-top: 14px; font-size: .9rem; line-height: 1.55; }
.form-status.is-success { color: #d8ba72; }
.form-status.is-error { color: #b64b42; }
.contact-form .form-status.is-success, .form-card .form-status.is-success { color: #254a3a; }
.contact-form .form-status.is-error, .form-card .form-status.is-error { color: #a43830; }
.form-card .form-submit, .contact-form .form-submit { margin-top: 18px; }

/* Unsichtbares Bot-Feld für die regulären Kontaktformulare. */
.form-honey {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Symmetrische Startseite: die beiden Hero-Spalten bilden eine gemeinsame, ruhige Fläche. */
.hero-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0 clamp(36px, 5vw, 72px);
  min-height: 0;
  padding: 72px 0 42px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  padding-block: 14px;
}
.hero-visual {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
}
.hero-visual .form-card {
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  padding: clamp(28px, 3vw, 36px);
}
.hero-visual .contact-form,
.hero-visual .contact-form form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.hero-visual .contact-form form { flex: 1 1 auto; }
.hero-visual .privacy-consent { margin-top: auto; }
.hero-cta-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(540px, 100%);
  margin-top: 28px;
}
.hero-cta-row .button { width: 100%; min-height: 54px; }

/* Persönliche Nähe früh in der Seite – gleich breite und hohe Karten. */
.about-teaser {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(28px, 5vw, 62px);
  margin-top: 34px;
  margin-bottom: 24px;
}
.about-image {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 430px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.about-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 18%;
}
.about-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 12px 16px;
  color: rgba(255, 255, 255, .86);
  background: linear-gradient(transparent, rgba(8, 18, 29, .8));
  font-size: .76rem;
}
.about-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 430px;
}
.about-copy .hero-actions { margin-top: auto; }

/* Der Ablauf wird zu einer klaren, verbundenen Zeitachse. */
.process-five {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
}
.process-five::before {
  position: absolute;
  top: 20px;
  right: 9%;
  left: 9%;
  height: 1px;
  content: "";
  background: var(--line);
}
.process-five .process-step {
  position: relative;
  min-height: 230px;
  padding: 0 20px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.process-five .process-step:not(:last-child) { margin-right: 16px; }
.process-five .process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 0 21px;
  color: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  font-size: 12px;
}
.process-five .process-step h3 { max-width: 12rem; font-size: 1.12rem; }
.process-five .process-step p { max-width: 13rem; font-size: .92rem; }

/* Ein Abschluss: Text oben, querformatiges Kurzformular darunter. */
.conversion-stacked { display: block; }
.conversion-stacked > div:first-child { max-width: 720px; }
.conversion-stacked .final-form {
  margin-top: 34px;
  padding: clamp(24px, 3vw, 34px);
}
.final-form .form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.final-form .field.full { grid-column: auto; }
.final-form form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.final-form .form-grid,
.final-form .privacy-consent,
.final-form .form-note,
.final-form .form-status { grid-column: 1 / -1; }
.final-form .privacy-consent { margin: 0; }
.final-form .form-submit {
  width: auto;
  min-width: 230px;
  margin: 0;
}

@media (max-width: 1000px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 28px; padding: 58px 0 46px; }
  .hero-copy { padding-block: 0; }
  .hero-visual .form-card { min-height: 0; }
  .about-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-image, .about-image img, .about-copy { min-height: 390px; }
  .process-five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
  .process-five::before { display: none; }
  .process-five .process-step { min-height: 0; padding: 0; }
  .final-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero-wrap { gap: 26px; padding: 44px 0 40px; }
  .hero-cta-row { grid-template-columns: 1fr; width: 100%; margin-top: 22px; }
  .hero-visual .form-card { padding: 22px 18px; }
  .about-teaser { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .about-image { width: min(100%, 210px); min-height: 260px; }
  .about-image img { min-height: 260px; }
  .about-copy { min-height: 0; }
  .process-five { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
  .process-five .process-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 15px; }
  .process-five .process-num { grid-row: span 2; margin: 0; }
  .process-five .process-step h3 { max-width: none; margin: 5px 0 6px; }
  .process-five .process-step p { grid-column: 2; max-width: none; }
  .final-form .form-grid { grid-template-columns: 1fr; }
  .final-form form { grid-template-columns: 1fr; }
  .final-form .form-submit { width: 100%; min-width: 0; }
}

/* Kompakter Landingpage-Hero: eine Botschaft, ein Formular, keine künstlichen Leerräume. */
.hero-wrap {
  align-items: center;
  min-height: 0;
  padding: 64px 0;
}
.hero-copy {
  max-width: 520px;
  padding-block: 0;
}
.hero-copy h1 { max-width: 480px; }
.hero-copy .intro-copy {
  max-width: 500px;
  margin: 22px 0 0;
  font-size: 1.04rem;
  line-height: 1.72;
}
.hero-visual { align-self: center; max-width: 470px; }
.hero-visual .form-card {
  display: block;
  min-height: 0;
  height: auto;
  padding: 30px;
}
.hero-visual .contact-form,
.hero-visual .contact-form form { display: block; }
.hero-visual .privacy-consent { margin-top: 14px; }
.hero-visual .form-submit { margin-top: 14px; }
.hero-visual .form-note { margin-bottom: 0; }
@media (max-width: 1000px) {
  .hero-wrap { gap: 28px; padding: 52px 0; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 620px; }
}
@media (max-width: 640px) {
  .hero-wrap { padding: 42px 0 48px; }
  .hero-copy .intro-copy { font-size: 1rem; }
  .hero-visual .form-card { padding: 22px 18px; }
}

/* Dezente Kontakt- und Datenschutzwerkzeuge im AMAL-CI. */
.whatsapp-fab {
  position: fixed;
  z-index: 950;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 16px;
  color: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: #d8ba72;
  box-shadow: 0 12px 28px rgba(12, 28, 44, .25);
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-fab:hover { color: var(--paper); background: var(--gold-dark); transform: translateY(-2px); }
.whatsapp-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.whatsapp-fab svg path:last-child { stroke-width: 1.25; }
.cookie-notice {
  position: fixed;
  z-index: 1200;
  bottom: 24px;
  left: 24px;
  width: min(420px, calc(100vw - 112px));
  padding: 18px;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(216, 186, 114, .42);
  border-radius: 10px;
  background: var(--navy-deep);
  box-shadow: 0 18px 44px rgba(4, 12, 21, .28);
}
.cookie-notice p { margin: 0; font-size: 13px; line-height: 1.55; }
.cookie-notice strong { color: var(--paper); font-weight: 600; }
.cookie-notice a { color: #e1c77f; text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice button {
  min-height: 40px;
  margin-top: 13px;
  padding: 9px 15px;
  color: var(--navy-deep);
  border: 0;
  border-radius: 6px;
  background: #d8ba72;
  font-weight: 600;
}
.cookie-notice button:hover { background: #e1c77f; }
@media (max-width: 640px) {
  .whatsapp-fab { right: 16px; bottom: calc(78px + env(safe-area-inset-bottom)); min-width: 54px; padding: 15px; }
  .whatsapp-fab-label { display: none; }
  .cookie-notice { right: 16px; bottom: calc(78px + env(safe-area-inset-bottom)); left: 16px; width: auto; }
}

@media (max-width: 640px) {
  .cookie-notice { bottom: calc(150px + env(safe-area-inset-bottom)); }
}
