/* ============================================================
   Phillip Gasteiner — Energieberatung
   Design tokens derived from the PG wordmark: deep navy, muted
   gold, warm paper. Editorial layout: hairline rules, numbered
   sequences, letterspaced eyebrows, near-square corners.
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
svg { display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--color-navy);
}

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

/* ---- Tokens ---- */
:root {
  --color-navy: #16233A;
  --color-navy-deep: #0E1728;
  --color-navy-soft: #24344F;
  --color-gold: #A8935E;          /* decorative: rules, icons, frames */
  --color-gold-display: #9E8A58;  /* large display text on light — 3.18:1, meets AA large */
  --color-gold-text: #7E6835;     /* small text on light — meets AA */
  --color-gold-bright: #C3A868;   /* text/accents on navy */
  --color-gold-wash: #F4EFE4;
  --color-paper: #FFFFFF;
  --color-paper-warm: #FAF8F4;
  --color-ink: #2B3341;
  --color-ink-muted: #5C6675;
  --color-rule: #E3DED3;
  --color-rule-soft: #EFECE5;
  --color-danger: #B3261E;

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1180px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ---- Shared type utilities ---- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-text);
  margin: 0 0 16px;
}
.section-title { font-size: clamp(30px, 3.4vw, 44px); }
.section-lead {
  font-size: 18px;
  color: var(--color-ink-muted);
  max-width: 58ch;
  margin-bottom: 0;
}
.rule { height: 1px; background: var(--color-rule); border: 0; margin: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--color-navy); color: #fff; }
.btn-primary:hover { background: var(--color-navy-deep); }
.btn-ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-rule);
}
.btn-ghost:hover { border-color: var(--color-navy); background: var(--color-paper-warm); }
.btn-gold { background: var(--color-gold-bright); color: var(--color-navy); }
.btn-gold:hover { background: #D2B979; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-rule-soft);
  z-index: 100;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--color-rule); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.logo { height: 42px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--color-navy); }
.main-nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--color-navy);
  color: #fff !important;
  padding: 12px 22px !important;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.25s var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--color-navy-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--color-navy); display: block; }

@media (max-width: 940px) {
  .header-inner { height: 72px; }
  .logo { height: 36px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-rule);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .main-nav.is-open { max-height: 420px; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    gap: 0;
  }
  .main-nav li { border-bottom: 1px solid var(--color-rule-soft); }
  .main-nav li:last-child { border-bottom: 0; padding-top: 16px; }
  .main-nav a { display: block; padding: 15px 0; }
  .nav-cta { text-align: center; }
}

/* ---- Hero ---- */
.hero {
  background: var(--color-paper-warm);
  border-bottom: 1px solid var(--color-rule);
  padding: 84px 0 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: end;
}
/* Typographic kicker: a gold hairline leading into the line, echoing the
   rule flanking the tagline in the logo. Deliberately not a pill chip. */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.hero-kicker::before {
  content: '';
  flex: 0 0 52px;
  height: 1px;
  background: var(--color-gold);
}
.hero-kicker .sep {
  color: var(--color-gold);
  margin: 0 5px;
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--color-gold-display);
}
.hero-lead {
  font-size: 19px;
  color: var(--color-ink-muted);
  max-width: 46ch;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-media { position: relative; padding-bottom: 0; }
/* Sized so the photo's top edge lines up with the gold hairline of the
   kicker opposite it, rather than towering above the text column. */
.hero-portrait-frame { position: relative; max-width: 341px; margin-left: auto; }
/* Portrait ships pre-cropped at 3:4, so the frame matches it exactly
   and nothing of the subject gets clipped. */
.portrait-clip {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-rule-soft);
}
.portrait-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-portrait { filter: grayscale(0.12); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-rule);
  margin-top: 0;
}
.hero-stat { padding: 28px 28px 32px; border-right: 1px solid var(--color-rule); }
.hero-stat:last-child { border-right: 0; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat .value {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--color-navy);
  display: block;
  margin-bottom: 8px;
}
.hero-stat .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

@media (max-width: 940px) {
  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait-frame { margin: 0 auto; max-width: 340px; }
}
@media (max-width: 640px) {
  .hero-portrait-frame { max-width: 260px; }
  /* hairline would leave the kicker wrapping awkwardly at this width */
  .hero-kicker::before { display: none; }
  .hero-kicker { letter-spacing: 0.14em; font-size: 11px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--color-rule); padding: 22px 0; }
  .hero-stat:last-child { border-bottom: 0; }
  .hero-stat .value { font-size: 34px; }
  .hero-actions .btn { width: 100%; }
}

/* ---- Sections ---- */
.section { padding: 84px 0; }
.section-warm { background: var(--color-paper-warm); }
.section-navy { background: var(--color-navy); color: rgba(255,255,255,0.78); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--color-gold-bright); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-narrow { max-width: 760px; }

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 44px; }
}

/* ---- Services (numbered editorial rows) ---- */
.service-list { border-top: 1px solid var(--color-rule); }
.service-row {
  display: grid;
  grid-template-columns: 88px 1fr 1.15fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-rule);
  transition: background 0.3s var(--ease);
}
.service-row:hover { background: rgba(168, 147, 94, 0.05); }
.service-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-gold-text);
  line-height: 1.4;
}
.service-row h3 { font-size: 27px; margin: 0; }
.service-row p { margin: 0; color: var(--color-ink-muted); }

@media (max-width: 860px) {
  .service-row { grid-template-columns: 56px 1fr; gap: 20px 20px; }
  .service-row p { grid-column: 2; }
  .service-row h3 { font-size: 23px; }
}

/* ---- Calculator ---- */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--color-rule);
  background: var(--color-paper);
}
.calc-controls { padding: 44px; border-right: 1px solid var(--color-rule); }
.calc-field { margin-bottom: 36px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  gap: 16px;
}
.calc-field-head label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  font-weight: 600;
}
.calc-value {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--color-navy);
  line-height: 1;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--color-rule);
  outline: none;
  cursor: pointer;
  margin: 12px 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-navy);
  border: 3px solid var(--color-paper);
  box-shadow: 0 0 0 1px var(--color-navy);
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-navy);
  border: 3px solid var(--color-paper);
  box-shadow: 0 0 0 1px var(--color-navy);
  cursor: pointer;
}
input[type="range"]:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 6px; }
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-ink-muted);
  letter-spacing: 0.05em;
}

.calc-result {
  padding: 44px;
  background: var(--color-navy);
  color: rgba(255,255,255,0.72);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result .eyebrow { color: var(--color-gold-bright); }
.calc-total {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 66px);
  line-height: 1;
  color: #fff;
  margin: 0 0 10px;
}
.calc-total-note { font-size: 14px; margin-bottom: 30px; }
.calc-total-note strong { color: var(--color-gold-bright); font-weight: 600; }
.calc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 30px;
}
.calc-compare div { background: var(--color-navy); padding: 18px 20px; }
.calc-compare .k {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.calc-compare .v { font-family: var(--font-display); font-size: 26px; color: #fff; }
.calc-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  margin: 22px 0 0;
}
.calc-result .btn { align-self: flex-start; }

@media (max-width: 940px) {
  .calc { grid-template-columns: 1fr; }
  .calc-controls { border-right: 0; border-bottom: 1px solid var(--color-rule); }
}
@media (max-width: 640px) {
  .calc-controls, .calc-result { padding: 30px 24px; }
  .calc-result .btn { align-self: stretch; width: 100%; }
  .calc-field-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .calc-value { font-size: 23px; white-space: nowrap; }
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
/* Full 3:4 photo, nothing cropped — scaled down instead, so image plus
   caption finish roughly level with the text column beside it. */
.about-portrait-wrap { position: relative; max-width: 300px; }
.about-portrait { filter: grayscale(0.15); }
.about-portrait-caption {
  border-left: 1px solid var(--color-gold);
  padding-left: 18px;
  margin-top: 24px;
}
.about-portrait-caption .name {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--color-navy);
  display: block;
}
.about-portrait-caption .role {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.35;
  color: var(--color-navy);
  border-left: 2px solid var(--color-gold);
  padding-left: 26px;
  margin: 0 0 32px;
}
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-portrait-wrap { max-width: 380px; }
  /* stacked: no text column to match, so the taller crop reads better */
  .about-portrait-wrap .portrait-clip { aspect-ratio: 3 / 4; }
}

/* ---- Testimonials ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-rule);
  border: 1px solid var(--color-rule);
}
.testimonial {
  background: var(--color-paper);
  padding: 36px 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease);
}
.testimonial:hover { background: var(--color-gold-wash); }
.stars { display: flex; gap: 3px; margin-bottom: 20px; }
.stars svg { width: 14px; height: 14px; color: var(--color-gold); }
.testimonial p {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  color: var(--color-navy);
  flex: 1;
  margin-bottom: 26px;
}
.testimonial footer { display: flex; align-items: center; gap: 12px; }
.testimonial-initials {
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-gold-text);
  flex-shrink: 0;
}
.testimonial cite { font-style: normal; }
.testimonial cite .who { display: block; font-weight: 600; font-size: 14px; color: var(--color-navy); }
.testimonial cite .what { display: block; font-size: 12px; color: var(--color-ink-muted); }

@media (max-width: 940px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq-list { border-top: 1px solid var(--color-rule); }
.faq-item { border-bottom: 1px solid var(--color-rule); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  background: none;
  border: none;
  padding: 26px 0;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--color-navy);
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--color-gold-text); }
.faq-icon {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p {
  margin: 0 0 26px;
  color: var(--color-ink-muted);
  max-width: 68ch;
  padding-right: 40px;
}
.faq-item.is-open .faq-answer { max-height: 340px; }

@media (max-width: 640px) {
  .faq-question { font-size: 18px; padding: 22px 0; }
  .faq-answer p { padding-right: 0; }
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border: 1px solid var(--color-rule);
}
.contact-card {
  background: var(--color-navy);
  color: rgba(255,255,255,0.72);
  padding: 48px 40px;
}
.contact-card .eyebrow { color: var(--color-gold-bright); }
.contact-card h3 { font-size: 30px; margin-bottom: 4px; color: #fff; }
.contact-card .role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.contact-quote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.45;
  color: #fff;
  border-left: 1px solid var(--color-gold);
  padding-left: 20px;
  margin: 0 0 34px;
}
.contact-lines { border-top: 1px solid rgba(255,255,255,0.16); }
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-size: 15px;
  transition: color 0.2s ease;
}
.contact-line svg { width: 17px; height: 17px; color: var(--color-gold-bright); flex-shrink: 0; }
a.contact-line:hover { color: #fff; }

.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-cta .btn { flex: 1 1 auto; justify-content: center; }
.contact-cta .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-form-wrap { padding: 48px 40px; background: var(--color-paper); }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-ink);
  padding: 13px 0;
  border: none;
  border-bottom: 1px solid var(--color-rule);
  border-radius: 0;
  background: transparent;
  transition: border-color 0.25s ease;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
}
/* Widerrufs-Schalter im Footer: ein echter Button (er löst eine Aktion
   aus, kein Ziel), muss sich aber wie die Links daneben lesen. */
.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-link-btn:hover { color: var(--color-gold-bright); }

/* ---- Einwilligungsbanner ---- */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.82);
  border-top: 2px solid var(--color-gold);
  animation: consent-in 0.35s var(--ease) both;
}
@keyframes consent-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .consent-banner { animation: none; }
}
.consent-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.consent-text { flex: 1 1 auto; }
.consent-text h2 {
  font-size: 19px;
  color: #fff;
  margin: 0 0 6px;
}
.consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  max-width: 78ch;
}
.consent-text a {
  color: var(--color-gold-bright);
  border-bottom: 1px solid currentColor;
}
.consent-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
}
.consent-actions .btn { white-space: nowrap; }
/* .btn-primary ist navy - auf dem navyfarbenen Banner wäre er unsichtbar.
   Hier trägt der Zustimmen-Button daher Gold auf Navy. */
.consent-banner .btn-primary {
  background: var(--color-gold-bright);
  color: var(--color-navy);
}
.consent-banner .btn-primary:hover { background: #D2B979; }
/* Auf dunklem Grund braucht der Sekundär-Button eine helle Kontur,
   damit er sichtbar bleibt - gilt für Banner wie Kontaktkarte. */
.consent-banner .btn-ghost,
.contact-card .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}
.consent-banner .btn-ghost:hover,
.contact-card .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 860px) {
  .consent-inner { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .consent-actions { flex-direction: column-reverse; }
  .consent-actions .btn { width: 100%; justify-content: center; }
}

/* Honeypot — off-screen rather than display:none, since some bots skip
   hidden fields. Never shown to real users or screen readers. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field-error { color: var(--color-danger); font-size: 12px; min-height: 15px; }
.form-status { font-size: 14px; font-weight: 600; margin: 0; }
.form-status--success { color: #1F6F43; }
.form-status--error { color: var(--color-danger); }
.form-consent { font-size: 12px; color: var(--color-ink-muted); margin: 0; }

@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-card, .contact-form-wrap { padding: 34px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; }
}

/* ---- Footer ---- */
.site-footer { background: var(--color-navy-deep); color: rgba(255,255,255,0.55); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 68px 32px 52px;
}
.footer-brand .logo-footer { height: 44px; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; font-size: 15px; }
.site-footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { transition: color 0.2s ease; }
.site-footer a:hover { color: var(--color-gold-bright); }
.footer-inner ul { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--color-gold-bright); }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 52px 20px 40px; }
  .footer-bottom { padding: 20px; }
}

/* ---- Legal pages ---- */
.legal-page h1 { font-size: clamp(34px, 4.5vw, 50px); margin-bottom: 32px; }
.legal-page h2 { font-size: 23px; margin-top: 42px; margin-bottom: 12px; }
.legal-page p { color: var(--color-ink-muted); }
.legal-page a { color: var(--color-navy); border-bottom: 1px solid var(--color-gold); }

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---- Focus ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
