/* =============================================================
   Autargreen – Statischer Nachbau
   Design-Tokens aus der Live-Seite abgeleitet
   ============================================================= */

:root {
  --green: #5DB32B;
  --green-dark: #4f9d23;
  --green-darker: #3f7f1c;
  --blue: #2b7fc4;
  --blue-dark: #1a6cb0;
  --navy: #0B2449;
  --navy-2: #1b1e34;
  --orange: #FFAA4B;
  --cream: #EFEEE5;
  --cream-2: #f6f5ee;
  --ink: #1c2230;
  --muted: #5b6472;
  --line: #e2e0d5;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 18px 45px rgba(11, 36, 73, .10);
  --shadow-sm: 0 6px 18px rgba(11, 36, 73, .08);
  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { margin: 0 0 1rem; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #e8eefb; }
.section--navy h2, .section--navy h3 { color: #fff; }
/* #3 dunkelgrüner Wellenübergang (z. B. Abschnitt „3 Fälle …“) */
.section--darkgreen {
  background: #3c8a34 url('assets/bg_clouds.webp') center center / cover no-repeat;
  color: #eaf6df;
}
.section--darkgreen h2, .section--darkgreen h3 { color: #fff; }
.section--darkgreen .lead { color: #d6ecc4; }
.section--darkgreen .eyebrow { color: #eaffd8; background: rgba(255,255,255,.16); }
.section--darkgreen em { color: #ffcf8a; font-style: normal; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Scroll-Einblende-Animationen (IntersectionObserver) ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-42px); }
[data-reveal="right"] { transform: translateX(42px); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--green-darker);
  background: rgba(93,179,43,.12); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section--navy .eyebrow { color: #bfe6a5; background: rgba(93,179,43,.18); }

.lead { font-size: 1.15rem; color: var(--muted); }
.section--navy .lead { color: #b9c6df; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(93,179,43,.32); }
.btn--primary:hover { background: var(--green-dark); }
.btn--orange { background: var(--orange); color: #3a2a06; box-shadow: 0 10px 24px rgba(255,170,75,.35); }
.btn--orange:hover { background: #ff9e33; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--light { background: #fff; color: var(--navy); }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
/* Startseite: transparenter Header, der über dem Hero-Bild liegt (wie im Original) */
body.home .site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 9999;
  background: transparent; border-bottom: 0; backdrop-filter: none;
}
body.home { }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: var(--green-darker); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; border: 0; background: transparent; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 2px; }
  .nav-actions { margin-top: 14px; }
  .nav-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ----------
   Original-Kompositbild (Himmel-Verlauf → grüne Hügel → Häuserdorf mit PV,
   inkl. eingezeichnetem weißen Rahmen). Der Inhalt sitzt zentriert im Rahmen.
   Bildseitenverhältnis 2560×1440 (16:9); prozentuales Padding lässt den Text
   proportional zur Bildskalierung im Rahmen sitzen. */
.hero {
  position: relative;
  aspect-ratio: 2560 / 1440;
  min-height: 560px;
  background: #dcefc6 url('assets/hero-header.png') top center / cover no-repeat;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 8% 20px 0;
}
.hero-frame {
  max-width: 1040px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: normal;
  font-size: 14px; font-weight: 600; color: var(--navy);
  background: none; padding: 0; margin: 0 0 16px; border-radius: 0;
}
.hero h1 {
  font-size: 64px; line-height: 75px; font-weight: 700; letter-spacing: -.01em;
  color: var(--navy); max-width: 860px; margin: 0 0 20px;
}
.hero h1 span { color: inherit; }
.hero .lead {
  font-size: 18px; line-height: 24px; font-weight: 400;
  color: var(--navy); max-width: 520px; margin: 0 auto;
}
.hero-cta { margin-top: 28px; }

/* weißer Pill-Button mit grünem Kreis-Pfeil (wie im Original-Hero) */
.btn--hero {
  background: #fff; color: #3C4F36; font-size: 16px; font-weight: 700;
  border: 0; border-radius: 100px; padding: 6px 6px 6px 28px; gap: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}
.btn--hero:hover { background: #fff; transform: scale(1.05); }
.btn--hero .btn-ico,
.btn--hero .btn-ico svg { display: block; width: 48px; height: 48px; flex: none; }

@media (max-width: 1200px) {
  .hero h1 { font-size: 48px; line-height: 52px; }
}
@media (max-width: 1024px) {
  .hero {
    aspect-ratio: 1024 / 760;
    background-image: url('assets/hero-header-portrait.png');
    padding-top: 9%;
  }
  .hero h1 { font-size: 46px; line-height: 52px; }
}
@media (max-width: 880px) {
  .hero h1 { font-size: 36px; line-height: 44px; }
  .hero .lead { max-width: 82%; }
}
@media (max-width: 767px) {
  .hero {
    aspect-ratio: auto; min-height: 600px;
    background-position: top center; background-size: cover;
    justify-content: flex-start;
    padding: 118px 18px 60px;
  }
  .hero h1 { font-size: 38px; line-height: 42px; }
  .hero .lead { font-size: 16px; max-width: 100%; }
  .hero-cta .btn { }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 10px; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--green-darker); letter-spacing: -.03em; }
.stat .lbl { color: var(--muted); font-weight: 600; font-size: .96rem; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Video (click-to-load) ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { }
.video-card h3 { margin-bottom: 14px; text-align: center; }
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #0d1526 center/cover no-repeat; cursor: pointer;
  box-shadow: var(--shadow); border: 0; padding: 0; display: block;
}
.video-embed::before {
  content: ""; position: absolute; inset: 0; background: rgba(11,36,73,.32); transition: .2s;
}
.video-embed:hover::before { background: rgba(11,36,73,.14); }
.video-embed .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 50%; background: #F5F5F5;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: .2s;
}
.video-embed:hover .play { transform: translate(-50%,-50%) scale(1.08); }
.video-embed .play::after {
  content: ""; margin-left: 4px; border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #63984C;
}
.video-embed .hint {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff;
  font-weight: 600; font-size: .95rem; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Video + Punkte-Liste (Abschnitt direkt nach dem Hero) ---------- */
.media-split__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.media-split .video-embed { border-radius: 15px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.feature-list li { display: flex; align-items: center; gap: 10px; }
.feature-list__ico { flex: none; width: 60px; height: 60px; }
.feature-list span { font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--navy); }
@media (max-width: 860px) {
  .media-split__inner { grid-template-columns: 1fr; gap: 30px; }
  .feature-list span { font-size: 16px; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reviews { grid-template-columns: 1fr; } }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review .stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.review p { font-size: .98rem; color: #38414f; }
.review .who { margin-top: auto; font-weight: 700; color: var(--navy); padding-top: 12px; }

/* ---------- Cards / grids ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr; } .cards--2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.card img.icon { width: 84px; height: auto; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* reasons (3 Fälle) */
.reason { text-align: center; position: relative; }
.reason img { width: 96px; margin: 0 auto 14px; }
.reason .rank {
  display: block; font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: var(--green); letter-spacing: -.02em; margin-bottom: 12px;
}

/* 3-Fälle Intro & Abschluss */
.fael-intro {
  max-width: 720px; margin: 0 auto 44px; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
  padding: 26px 30px; color: #eaf6df;
}
.fael-intro p { margin: 0 0 10px; }
.fael-intro ul { margin: 0 0 14px; padding-left: 1.2em; }
.fael-intro li { margin-bottom: 6px; }
.fael-intro .fael-warn { font-weight: 700; color: #fff; margin: 0; }
.fael-closer {
  max-width: 720px; margin: 40px auto 0; font-size: 1.15rem; font-weight: 700; color: #fff;
}

/* services */
.service {
  display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.service img { width: 96px; border-radius: 12px; }
.service h3 { margin-bottom: 6px; }
.service p { margin: 0; color: var(--muted); }
.service--wide { grid-template-columns: 120px 1fr; }
.service--wide img { width: 120px; }
@media (max-width: 520px) { .service, .service--wide { grid-template-columns: 1fr; } }

/* wallbox-note (Leistungen) */
.wallbox-note {
  margin-top: 24px; background: #fff; border: 1px solid var(--line);
  border-left: 6px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 26px 30px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.wallbox-note h3 { margin: 0 0 4px; }
.wallbox-note p { margin: 0; color: var(--muted); }
.wallbox-note .btn { flex: none; }

/* callout (Besichtigung) */
.callout {
  margin-top: 34px; display: grid; grid-template-columns: 320px 1fr; gap: 0;
  background: var(--navy); color: #e8eefb; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.callout img { width: 100%; height: 100%; object-fit: cover; }
.callout__body { padding: clamp(26px, 4vw, 44px); }
.callout__body h3 { color: #fff; }
.callout__body p { color: #b9c6df; }
.callout__body .btn { margin-top: 8px; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } .callout img { max-height: 240px; } }

/* founder (Über uns) */
.founder {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
  margin-bottom: 56px;
}
.founder__media .video-embed { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.founder__body h3 { margin-bottom: 2px; }
.founder__body .role { color: var(--green-darker); font-weight: 700; margin-bottom: 16px; }
.founder__body p { color: #38414f; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 28px; } }

/* autark-note */
.autark-note {
  margin-top: 48px; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 32px 34px;
}
.autark-note h3 { margin-bottom: 10px; }
.autark-note p { margin: 0; color: var(--muted); }

/* location (Kattenvenne) */
.location {
  margin-top: 34px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.location__map img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.location__body { padding: clamp(26px, 4vw, 44px); }
.location__body .btn { margin-top: 8px; }
@media (max-width: 760px) { .location { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.step .n {
  width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff;
  font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 16px;
}

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 15px; margin-top: 2px;
}
.checklist strong { color: var(--navy); }
/* detaillierte Checkliste (mit Beschreibungstext) */
.checklist--detailed { max-width: 860px; margin-left: auto; margin-right: auto; gap: 22px; }
.checklist--detailed li { align-items: flex-start; }
.checklist--detailed .tick { width: 30px; height: 30px; }
.checklist--detailed strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.checklist--detailed p { margin: 0; color: var(--muted); }

/* ---------- Team ---------- */
.team-banner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 40px; }
.team-banner img { width: 100%; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow-sm); }
.member .avatar {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px;
  background: var(--cream); display: grid; place-items: center; overflow: hidden;
}
.member .avatar.initials { font-size: 2.4rem; font-weight: 800; color: var(--green-darker); }
.member .name { font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.member .role { color: var(--green-darker); font-weight: 700; font-size: .92rem; margin: 4px 0 8px; }
.member .bio { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit;
  font-size: 1.06rem; font-weight: 700; color: var(--navy); padding: 20px 56px 20px 24px;
  position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--green); font-weight: 700; transition: transform .2s;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; text-align: center; border-radius: 0; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.92); }

/* ---------- Contact info strip ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); text-align: center; }
.info-card .ic { font-size: 1.6rem; margin-bottom: 8px; }
.info-card a { color: var(--navy); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6df; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color: #b9c6df; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand img { height: 54px; background: #fff; padding: 8px 12px; border-radius: 12px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: .95rem; }
.footer-contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.footer-contact a { color: #cdd8ec; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.10); color: #fff; transition: background .15s, transform .15s;
}
.socials a:hover { background: var(--green); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }
.footer-bottom a { margin-right: 18px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: clamp(60px, 9vw, 110px) 0 clamp(40px,6vw,70px); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b9c6df; max-width: 640px; }
.breadcrumb { font-size: .85rem; color: #8ea3c6; margin-bottom: 14px; }
.breadcrumb a { color: #b9c6df; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose h3, .prose h4 { margin-top: 1.4em; font-size: 1.15rem; color: var(--navy); }
.prose p, .prose li { color: #38414f; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue-dark); text-decoration: underline; }

/* ---------- Multi-step form ---------- */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.progress { display: flex; gap: 10px; margin-bottom: 30px; }
.progress .dot { flex: 1; height: 6px; border-radius: 999px; background: var(--line); transition: .3s; }
.progress .dot.active { background: var(--green); }
.progress .dot.done { background: var(--green-dark); }
.step-head { margin-bottom: 6px; }
.step-count { color: var(--green-darker); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.fstep { display: none; }
.fstep.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 7px; font-size: .98rem; }
.field .req { color: #d33; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: #fbfbf8; transition: border .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.options { display: grid; gap: 12px; }
.options.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .options.two { grid-template-columns: 1fr; } }
.option {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--line);
  border-radius: 12px; cursor: pointer; background: #fbfbf8; font-weight: 600; transition: .15s;
}
.option:hover { border-color: #c7dcb6; }
.option input { accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.option:has(input:checked) { border-color: var(--green); background: rgba(93,179,43,.08); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-nav .btn { min-width: 130px; }
.error-msg { color: #d33; font-size: .88rem; margin-top: 6px; display: none; }
.field.invalid .error-msg { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #e88; }

.form-success { display: none; text-align: center; }
.form-success.show { display: block; animation: fade .4s ease; }
.form-success .check {
  width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; margin: 0 auto 22px; font-size: 2.6rem;
}
.calendly-embed { min-width: 320px; height: 700px; margin-top: 26px; }
.calendly-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* jobs */
.jobs { display: grid; gap: 16px; }
.job {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm);
}
.job .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.job .tag { background: var(--cream); color: var(--navy); font-weight: 600; font-size: .82rem; padding: 4px 12px; border-radius: 999px; }
.job h3 { margin: 0; }
.perks { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (max-width: 700px){ .perks { grid-template-columns: 1fr; } }
.perk { display: flex; gap: 12px; align-items: flex-start; }
.perk .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin-top: 2px; }
