/* =====================================================================
   KEJOB · Weihnachten – Layout & Komponenten (mobile-first)
   Alle Farben/Abstände über assets/css/tokens.css
   ===================================================================== */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: var(--font-sans); font-weight: 300; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
body a { color: var(--red); text-underline-offset: 3px; } /* "body a" schlägt die Automatic.css-Linkregel */
strong, b { font-weight: 600; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark { --focus: #ffffff; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* WordPress: Automatic.css/Bricks stylen alle <section> (Flex, Gutter, Gap) und "section > div" (Flex, links).
   Hier neutralisiert – gleiche Spezifität wie dort, später geladen, eigene Klassen gewinnen weiterhin. */
:where(.kj-lp) section { display: block; padding: 0; gap: normal; }
:where(.kj-lp) section > div { display: block; gap: normal; }
:where(.kj-lp) :is(h1, h2, h3, h4, h5, h6) { font-family: var(--font-sans); }
:where(.kj-lp) img { border-radius: 0; } /* Automatic.css rundet alle Bilder; Fotos runden wir über .media */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- Typografie ---------- */
.eyebrow { color: var(--red); font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: var(--space-1); }
.eyebrow--light { color: #ffc2cf; }
.h1 { color: var(--ink); font-weight: 700; font-size: clamp(32px, 5.2vw, 50px); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.h2 { color: var(--ink); font-weight: 700; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
.h3 { color: var(--ink); font-weight: 600; font-size: 21px; line-height: 1.35; }
.h4 { color: var(--ink); font-weight: 600; font-size: 18px; line-height: 1.4; }
.lead { font-size: clamp(18px, 1.8vw, 20px); line-height: 1.5; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.mark { background: linear-gradient(transparent 62%, var(--red-highlight) 62%, var(--red-highlight) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.on-dark .h2, .on-dark .h3, .on-dark .h4 { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(255,255,255,.86); }

/* ---------- Buttons ---------- */
.kj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--button-height); padding: 10px 26px; border-radius: var(--radius-pill);
  font: 400 17px/1.3 var(--font-sans); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.kj-btn:hover { transform: translateY(-1px); }
.kj-btn:active { transform: none; }
.kj-btn-primary { background: var(--red); color: #fff; }
.kj-btn-primary:hover { background: var(--red-deep); }
.kj-btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.kj-btn-outline:hover { background: var(--red); color: #fff; }
.kj-btn-light { background: #fff; color: var(--ink); }
.kj-btn-light:hover { background: var(--red-tint); }
.kj-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.kj-btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.kj-btn-sm { min-height: 42px; padding: 8px 20px; font-size: 16px; }
.kj-btn-block { width: 100%; }
.kj-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.kj-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.kj-btn-row--center { justify-content: center; }
.kj-btn-row .kj-btn { flex: 1 1 auto; }
@media (min-width: 560px) { .kj-btn-row .kj-btn { flex: 0 0 auto; } }

.link-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--red); margin-top: auto; padding-top: var(--space-2); }
.link-cta .icon { width: 20px; height: 20px; transition: transform .18s ease; }
.link-cta:hover .icon { transform: translateX(4px); }

/* ---------- Review-Modus ---------- */
.review-bar { background: #fff4d6; color: #4a3b10; font-size: 14px; padding: 8px 20px; text-align: center; }
.review-bar code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 6px; }
.pending-badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: #4a3b10; background: #ffe7a3; border: 1px dashed #b88a00; border-radius: var(--radius-pill); padding: 2px 10px;
}
.is-pending { outline: 2px dashed #e0b43a; outline-offset: 4px; }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--border-soft); }
.nav { display: flex; align-items: center; gap: var(--space-3); min-height: 72px; }
.nav__logo img { height: 46px; width: auto; }
.nav__menu { display: none; margin-inline: auto; }
.nav__menu ul { display: flex; gap: 28px; }
.nav__menu a { color: var(--ink); font-weight: 400; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__menu a:hover, .nav__menu a[aria-current="true"] { color: var(--red); border-color: var(--red); }
.nav__actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.nav__phone { display: none; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 400; white-space: nowrap; }
.nav__phone .icon { width: 18px; height: 18px; color: var(--red); }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: var(--surface-grey); border-radius: 50%; color: var(--ink); cursor: pointer; }
.nav__actions .kj-btn { display: none; }
@media (min-width: 560px) { .nav__actions .kj-btn { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav__menu { display: block; }
  .nav__toggle { display: none; }
  .nav__logo img { height: 52px; }
}
@media (min-width: 1240px) { .nav__phone:not([hidden]) { display: inline-flex; } }
/* Mobile-Menü */
@media (max-width: 1023.98px) {
  .nav__menu.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border-soft); padding: 8px 20px 20px; box-shadow: 0 16px 30px -20px rgba(25,25,25,.35); }
  .nav__menu.is-open ul { flex-direction: column; gap: 0; }
  .nav__menu.is-open a { display: block; padding: 14px 0; border-bottom: 1px solid var(--surface-grey); font-size: 18px; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: 64px; }
.kj-section-tight { padding-block: 24px; }
@media (min-width: 900px) { .section { padding-block: var(--space-12); } .kj-section-tight { padding-block: 32px; } }
.kj-section-grey { background: var(--surface-grey); }
.kj-section-sky { background: var(--surface-sky); }
.kj-section-navy { background: var(--navy); }
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; align-items: end; }
.section-head--split > .kj-btn { justify-self: start; }
@media (min-width: 900px) { .section-head--split > .kj-btn { justify-self: end; } }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; gap: var(--space-6); } }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .kj-grid-2, .kj-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .kj-grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 28px; } }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--hero-sky) 0%, #f7fbfe 70%, var(--surface) 100%); padding-block: 40px 64px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: var(--space-3); }
.hero__copy .eyebrow { margin-bottom: -8px; }
@media (min-width: 960px) {
  .hero { padding-block: 64px 96px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.hero__visual { position: relative; }
.lights { position: absolute; z-index: 2; top: -18px; left: 8%; width: 84%; height: auto; pointer-events: none; }
.lights path { fill: none; stroke: var(--navy); stroke-width: 1.2; opacity: .35; }
.lights .l1 { fill: var(--logo-pink); } .lights .l2 { fill: var(--logo-green); } .lights .l3 { fill: var(--logo-orange); } .lights .l4 { fill: var(--logo-blue); }

.rating-chip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 16px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-pill); padding: 10px 20px; font-size: 15.5px; color: var(--ink); }
.rating-chip__stars { display: inline-flex; gap: 3px; }
.rating-chip__stars svg { width: 18px; height: 18px; fill: #e8a317; stroke: none; }
.rating-chip b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rating-chip a { color: var(--muted); text-decoration: underline; font-weight: 400; text-underline-offset: 3px; }
.rating-chip > * { line-height: 1.3; } /* gleiche Zeilenhöhe = alles auf einer Linie */
.rating-chip a:hover { color: var(--red); }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 400; }
.checklist .icon { color: var(--red); margin-top: 1px; }
.checklist--compact { margin-top: var(--space-1); }
.checklist .pending-badge { margin-left: 6px; vertical-align: 2px; }

/* ---------- Medien (Bild-Slots) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--navy); max-width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--hero { aspect-ratio: 4 / 3; }
.media--card { aspect-ratio: 16 / 9; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.media--offer { aspect-ratio: 3 / 2; }

/* ---------- Weihnachtsaktion (unter dem Hero) ---------- */
.offer-feature { background: linear-gradient(180deg, var(--surface) 0%, var(--red-tint) 100%); }
.offer-feature__grid { display: grid; gap: 40px; align-items: center; }
.offer-feature__copy { display: grid; gap: var(--space-3); }
.offer-feature__copy .eyebrow { margin-bottom: -8px; }
.offer-feature__visual { position: relative; }
@media (min-width: 960px) { .offer-feature__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.offer-badge {
  position: absolute; z-index: 2; bottom: 16px; right: 16px; width: 116px; height: 116px; margin: 0;
  border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  display: grid; place-content: center; text-align: center; line-height: 1.05; transform: rotate(-8deg);
}
.offer-badge span { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.offer-badge strong { display: block; font-size: 30px; font-weight: 700; margin: 2px 0 1px; }
@media (min-width: 960px) { .offer-badge { width: 136px; height: 136px; bottom: 20px; right: 20px; } .offer-badge strong { font-size: 36px; } }
.benefits { display: grid; gap: 14px 28px; }
@media (min-width: 560px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefits li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 400; line-height: 1.45; }
.benefits strong { display: block; font-weight: 600; }
.benefits .icon { color: var(--red); margin-top: 1px; }
.offer-feature__note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.offer-feature__note:empty { display: none; }

/* ---------- Karten ---------- */
.card { border-radius: var(--radius-md); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.card--sky { background: linear-gradient(135deg, var(--sky-start), #c4e7fd); }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -24px rgba(51,68,95,.55); }
.card__icon { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }

.area { background: var(--surface); border-radius: var(--radius-md); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.area:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(51,68,95,.6); }
.area__body { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; flex: 1; }
@media (min-width: 900px) { .area__body { padding: 30px 34px 34px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 14.5px; font-weight: 400; color: var(--ink); background: var(--surface-grey); border-radius: var(--radius-pill); padding: 5px 12px; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; gap: 16px; margin-bottom: var(--space-6); }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: repeat(6, 1fr); } .trust-grid > li { grid-column: span 2; } .trust-grid > li:nth-child(4):nth-last-child(2), .trust-grid > li:nth-child(4):nth-last-child(2) ~ li { grid-column: span 3; } .trust-grid > li:only-child { grid-column: 2 / span 4; } }
.trust { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.trust__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 6px; }
.trust__icon .icon { width: 22px; height: 22px; }
.trust .h3 { font-size: 19px; }
.trust .pending-badge { justify-self: start; }

.trust-bar { background: var(--red-tint); }
.trust-bar ul { display: grid; gap: 12px; padding-block: 20px; }
@media (min-width: 800px) { .trust-bar ul { grid-template-columns: repeat(3, 1fr); } }
.trust-bar li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 16px; }
.trust-bar .icon { color: var(--red); }

/* ---------- Value / Gegenüberstellung ---------- */
.split { display: grid; gap: 16px; align-items: stretch; margin-bottom: var(--space-6); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr auto 1fr; gap: 20px; } }
.split__col { border-radius: var(--radius-md); padding: 28px 28px 30px; display: grid; gap: 14px; align-content: start; }
.split__col--you { background: var(--surface-grey); }
.split__col--kejob { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.split__col--kejob .h4, .split__col--kejob .plain-list li { color: #fff; }
.split__plus { display: grid; place-items: center; color: var(--red); }
.split__plus .icon { width: 32px; height: 32px; }
.plain-list { display: grid; gap: 10px; }
.plain-list li { position: relative; padding-left: 22px; font-weight: 400; color: var(--ink); }
.plain-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.split__col--kejob .plain-list li::before { background: #fff; }
.value { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--surface-grey); }
.value .icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 4px; }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .step:nth-child(2) { margin-top: 32px; } .step:nth-child(3) { margin-top: 64px; } .step:nth-child(4) { margin-top: 96px; } }
.step { background: var(--surface); border-radius: var(--radius-md); padding: 26px 26px 30px; display: grid; gap: 10px; }
.step__no { font-size: 48px; line-height: 1; font-weight: 700; color: var(--sky-end); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Banner (Angebot / CTA) ---------- */
.banner { position: relative; border-radius: var(--radius-md); padding: 48px 24px; text-align: center; color: #fff; background: linear-gradient(100deg, var(--red-deep), var(--red-soft)); overflow: hidden; display: grid; justify-items: center; gap: 14px; }
.banner::after { /* dezenter Winter-Akzent: weiches Licht */ content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); pointer-events: none; }
.banner--quiet { background: linear-gradient(100deg, var(--navy), #4a3a55); }
.banner > * { position: relative; z-index: 1; }
@media (min-width: 768px) { .banner { padding: 64px 48px; } }
.banner__kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.banner__title { color: #fff; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; font-weight: 700; text-wrap: balance; max-width: 22ch; }
.banner__text { color: #fff; font-size: clamp(17px, 1.8vw, 20px); max-width: 52ch; }
.banner__note { font-size: 13px; color: rgba(255,255,255,.85); }
.banner__note:empty { display: none; }
.banner .kj-btn { margin-top: 10px; }
.banner .kj-btn-row { margin-top: 10px; }
.banner .kj-btn-row .kj-btn { margin-top: 0; }

/* ---------- Social Proof ---------- */
.proof-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; align-items: center; justify-items: center; }
@media (min-width: 600px) { .proof-logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .proof-logos { grid-template-columns: repeat(5, 1fr); gap: 48px 40px; } }
.proof-logos li { display: grid; place-items: center; height: 72px; width: 100%; }
.proof-logos img { max-height: 64px; max-width: min(140px, 100%); width: auto; height: auto; object-fit: contain; }
.proof-logos + * { margin-top: var(--space-6); }
.proof-quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .proof-quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 28px; display: grid; gap: 16px; }
.quote footer { font-weight: 600; color: var(--ink); }
.rating { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: var(--space-4); font-weight: 600; color: var(--ink); }
.rating .icon { fill: var(--navy); stroke: none; width: 20px; height: 20px; }
.proof-placeholder { border: 2px dashed #c9d2dc; border-radius: var(--radius-md); padding: 28px; display: grid; gap: 10px; text-align: center; color: var(--muted); }
.proof-placeholder code { font-size: 13px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--space-6); }
.faq-layout > div:first-child { display: grid; gap: var(--space-2); align-content: start; justify-items: start; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; } .faq-layout > div:first-child { position: sticky; top: 110px; } }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq summary .icon { color: var(--red); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; max-width: 65ch; }

/* ---------- Formular ---------- */
.form-layout { display: grid; gap: var(--space-6); }
@media (min-width: 1000px) { .form-layout { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } .form-intro { position: sticky; top: 110px; } }
.form-intro { display: grid; gap: var(--space-2); }
.contact-line { color: var(--muted); }
.contact-line a { font-weight: 600; }
.form-card { background: var(--surface-grey); border-radius: var(--radius-md); padding: 24px 20px; }
.form-embed { display: grid; gap: 12px; }
.form-embed iframe { display: block; border-radius: 12px; background: #fff; }
.form-embed--raw { border: 2px dashed #c9d2dc; border-radius: 12px; padding: 24px; text-align: center; color: var(--muted); background: #fff; }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.field-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c3ccd6; border-radius: 12px; background: #fff;
  font: 400 16px/1.4 var(--font-sans); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #737a82; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(51,68,95,.25); }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,39,67,.15); }
.field__error { color: var(--red); font-size: 14px; font-weight: 400; min-height: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: 22px 1fr; column-gap: 12px; margin-block: 22px 20px; align-items: start; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--red); }
.field--check label { font-weight: 300; font-size: 15px; color: var(--text); }
.field--check .field__error { grid-column: 2; }
.form-errors { background: #fff; border: 1.5px solid var(--red); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; color: var(--ink); font-size: 15px; }
.form-errors ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: grid; gap: 12px; justify-items: start; padding: 12px 4px; }
.thanks__icon { width: 52px; height: 52px; color: var(--logo-green); stroke-width: 1.4; }
.thanks .h3:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding-block: 64px 32px; padding-bottom: calc(32px + 76px); }
@media (min-width: 768px) { .site-footer { padding-bottom: 32px; } }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand img { width: 150px; height: auto; }
.footer__brand p, .footer__contact, .footer__contact a { color: rgba(255,255,255,.86); font-weight: 300; }
.footer__contact { display: grid; gap: 6px; font-style: normal; align-content: start; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: #fff; text-decoration: underline; }
.footer__contact .h4 { margin-bottom: 6px; }
.footer__cta { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; }
.footer__legal nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: #fff; text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }
.footer__social { display: flex; gap: 16px; }
.footer__social:empty { display: none; }

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--border-soft);
  box-shadow: 0 -12px 28px -18px rgba(25,25,25,.35);
  transform: translateY(0); transition: transform .25s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
@media (min-width: 768px) { .sticky-cta { display: none !important; } }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
