/* ============================================================
   Lübben Group — One-Pager Stylesheet
   Weiß · klar · professionell · bodenständig
   ============================================================ */

:root {
  /* Surfaces */
  --paper:   #ffffff;        /* white base */
  --paper-2: #f5f4f1;        /* subtle off-white for bounded blocks */
  --paper-3: #ecebe6;        /* hover */
  --dark:    #17191d;        /* near-black neutral band */

  /* Ink / text */
  --ink:   #16181c;          /* headlines */
  --body:  #3d424a;          /* paragraphs */
  --muted: #676c73;          /* secondary / labels */
  --cream: #f5f4f1;          /* text on dark */
  --cream-muted: #b7b4ac;

  /* Accent — restrained warm bronze */
  --accent:      #9a6a3c;    /* buttons, decorative */
  --accent-deep: #785030;    /* accent text on light (AA) */
  --accent-soft: #c39a68;    /* accent on dark bands */

  /* Lines */
  --line:   #e6e4df;
  --line-2: #d7d4cd;
  --line-dark: rgba(245, 244, 241, 0.14);

  --shadow: 0 18px 44px -28px rgba(20, 22, 26, 0.30);
  --shadow-soft: 0 1px 2px rgba(20, 22, 26, 0.04), 0 12px 32px -22px rgba(20, 22, 26, 0.18);

  --display: "Inter Tight", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1160px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-deep); text-decoration: none; transition: color 180ms var(--ease); }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.15em; }

strong { color: var(--ink); font-weight: 600; }

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1.2rem;
}

.lede {
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 48ch;
}

section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  position: relative;
}
.section-alt { background: var(--paper-2); }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease),
              border-color 180ms var(--ease), transform 180ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

.btn .arrow { transition: transform 200ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 260ms var(--ease), background 260ms var(--ease);
}
.site-header.scrolled,
.legal .site-header {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

/* Wordmark */
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--body);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transition: right 240ms var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); }

.nav-cta { display: inline-flex; align-items: center; gap: 1.3rem; }
.nav-cta .btn { padding: 0.65rem 1.25rem; font-size: 0.88rem; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 19px; height: 1.6px;
  background: var(--ink);
  transition: transform 240ms var(--ease), opacity 180ms var(--ease);
  position: relative;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after  { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5.5rem); }
.hero-inner { max-width: 900px; }
.hero h1 { margin-bottom: 0.4em; }
.hero-sub {
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: var(--body);
  max-width: 54ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero-meta {
  margin-top: clamp(2.5rem, 5vw, 3.6rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== Trust strip ===== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 2rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .k {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}
.trust-item .v { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

/* ===== Die Gruppe ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about-grid .lede { margin-bottom: 1.4rem; }
.about-body p { color: var(--body); }
.about-body p:last-child { margin-bottom: 0; }
.about-aside { position: sticky; top: 104px; }
.about-aside .eyebrow { margin-bottom: 0.6rem; }
.about-aside h2 { margin-bottom: 0; }

/* Prinzipien */
.principles {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2.2rem;
}
.principles li { margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.principles .pt {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.principles .pd { font-size: 0.96rem; color: var(--muted); line-height: 1.5; }

/* ===== Geschäftsfelder ===== */
.fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.field-card {
  background: var(--paper);
  padding: clamp(1.7rem, 2.8vw, 2.4rem);
  display: flex;
  flex-direction: column;
  transition: background 200ms var(--ease);
}
.field-card:hover { background: var(--paper-2); }
.field-card .fnum {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.field-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.field-card p { color: var(--muted); font-size: 0.98rem; flex: 1; margin-bottom: 0; }
.field-card .textlink { margin-top: 1.2rem; }

/* Text link with arrow */
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-deep);
}
.textlink .arrow { transition: transform 200ms var(--ease); }
.textlink:hover { color: var(--accent); }
.textlink:hover .arrow { transform: translateX(3px); }

/* ===== Immobilien-Fokusblock ===== */
.criteria-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.criteria-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 2.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.criteria-row .label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.criteria-row .value { font-size: 1.1rem; color: var(--ink); }
.criteria-row .value small { display: block; color: var(--muted); font-size: 0.94rem; margin-top: 0.3rem; font-weight: 400; }

.tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.8rem 0; }
.tag-chip {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--body);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0.45rem 0.95rem;
}
.im-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.mini-flow {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.mini-flow b { color: var(--ink); font-weight: 600; }
.mini-flow .sep { color: var(--accent); }

/* ===== Audience ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.aud {
  background: var(--paper);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: background 200ms var(--ease);
}
.aud:hover { background: var(--paper-2); }
.aud .tag {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.9rem;
}
.aud h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.aud p { color: var(--muted); font-size: 0.98rem; flex: 1; margin-bottom: 0; }
.aud .textlink { margin-top: 1.2rem; }

/* ===== Impact & Nachhaltigkeit band ===== */
.impact { background: var(--dark); color: var(--cream); }
.impact-inner { max-width: 820px; }
.impact .eyebrow { color: var(--accent-soft); }
.impact h2 { color: #fff; margin-bottom: 0.5rem; }
.impact > .container > .impact-inner > p { color: var(--cream-muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; margin-bottom: 0; max-width: 62ch; }
.impact-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2.2rem;
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-dark);
}
.impact-pillars .ip .t {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.35rem;
}
.impact-pillars .ip .d { color: var(--cream-muted); font-size: 0.95rem; line-height: 1.5; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-intro .lede { margin-bottom: 2rem; }
.contact-lines { display: grid; gap: 1.3rem; margin-top: 2rem; }
.contact-line { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-line .ic {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent-deep);
}
.contact-line .ic svg { width: 17px; height: 17px; }
.contact-line .lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-line .val { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.contact-line a.val:hover { color: var(--accent-deep); }

/* Form */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.7rem, 3.2vw, 2.6rem);
  box-shadow: var(--shadow-soft);
}
.form-card h3 { margin-bottom: 0.3rem; }
.form-card .note { font-size: 0.94rem; color: var(--muted); margin-bottom: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--accent-deep); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  outline: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8b8f95; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154, 106, 60, 0.20);
}
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.3rem; }
.form-actions .btn { flex-shrink: 0; }
.form-actions .hint { font-size: 0.85rem; color: var(--muted); }
.form-status {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  color: var(--accent-deep);
  padding: 0.8rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  display: none;
}
.form-status.show { display: block; }
.consent { grid-column: 1 / -1; display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: var(--cream-muted); padding: clamp(3.2rem, 6vw, 4.5rem) 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand-mark { background: var(--cream); color: var(--dark); }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { color: var(--cream-muted); font-size: 0.95rem; margin-top: 1.3rem; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a { color: var(--cream-muted); font-size: 0.96rem; }
.footer-col a:hover { color: var(--cream); }
.footer-col p { color: var(--cream-muted); font-size: 0.96rem; margin: 0 0 0.4rem; }
.footer-bottom {
  padding-top: 1.7rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #9a978f;
}
.footer-bottom a { color: #9a978f; }
.footer-bottom a:hover { color: var(--cream); }
.footer-bottom .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Consent banner ===== */
.consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px -26px rgba(20, 22, 26, 0.30);
  animation: consent-in 300ms var(--ease);
}
@keyframes consent-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.consent-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem 2rem;
  flex-wrap: wrap;
}
.consent-text { flex: 1 1 440px; }
.consent-text strong { display: block; font-family: var(--display); font-size: 1rem; color: var(--ink); margin-bottom: 0.2rem; }
.consent-text p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; max-width: 74ch; }
.consent-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.consent-actions .btn { padding: 0.7rem 1.4rem; }

.footer-bottom .linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #9a978f;
  cursor: pointer;
}
.footer-bottom .linklike:hover { color: var(--cream); }

@media (max-width: 720px) {
  .consent-inner { padding: 1rem 1.25rem; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; justify-content: center; }
}

/* ===== Legal pages ===== */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.doc .back {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  color: var(--accent-deep); margin-bottom: 2.2rem;
}
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 0.4em; }
.doc > .eyebrow { display: block; }
.doc h2 { font-size: 1.35rem; margin: 2.6rem 0 0.7rem; }
.doc p, .doc address, .doc li { font-size: 1rem; color: var(--body); font-style: normal; line-height: 1.7; }
.doc address { margin-bottom: 1.2rem; }
.doc ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.doc li { margin-bottom: 0.4rem; }
.doc .muted { color: var(--muted); font-size: 0.92rem; }
.doc .ph {
  background: rgba(154, 106, 60, 0.1);
  border: 1px dashed var(--line-2);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  color: var(--accent-deep);
  font-size: 0.95em;
}
.doc .notice {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0 2.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .fields-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }

  /* Mobile nav kicks in here so tablet-portrait never clips the header */
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 2rem 1.4rem;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    visibility: hidden;
    transition: transform 320ms var(--ease), visibility 0s linear 320ms;
    z-index: 55;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; transition: transform 320ms var(--ease), visibility 0s; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 1.25rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .impact-pillars { grid-template-columns: 1fr; gap: 1.2rem; }
  .principles { grid-template-columns: 1fr; gap: 1.1rem; }
  .criteria-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.4rem 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; }
  .nav-links { padding: 0.5rem 1.25rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .consent-banner { animation: none; }
}
