/* =============================================================
   SunneChraft AG — Stylesheet
   Plain CSS, no preprocessor. Mobile-first.
   ============================================================= */

/* -------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------- */
:root {
  /* Brand colors (HSL components — kept for tinting via opacity) */
  --primary-h: 27;
  --primary-s: 64%;
  --primary-l: 49%;
  --primary: hsl(var(--primary-h) var(--primary-s) var(--primary-l));         /* #cd752d */
  --primary-hover: hsl(var(--primary-h) var(--primary-s) 43%);
  --solar-glow: hsl(27 80% 58%);                                              /* #ec923f */
  --solar-warm: hsl(20 70% 48%);                                              /* #d05e25 */

  /* Neutrals */
  --background: hsl(40 33% 98%);     /* warm off-white */
  --foreground: hsl(220 25% 12%);    /* deep navy text */
  --card: #ffffff;
  --muted: hsl(40 20% 94%);
  --muted-foreground: hsl(220 10% 46%);
  --border: hsl(40 15% 88%);
  --navy: hsl(220 35% 18%);
  --navy-light: hsl(220 20% 30%);

  /* Semantic */
  --success: hsl(142 71% 45%);
  --error: hsl(0 72% 51%);

  /* Effects */
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-card: 0 1px 2px hsl(220 25% 12% / 0.04), 0 4px 12px hsl(220 25% 12% / 0.05);
  --shadow-solar: 0 8px 24px hsl(27 64% 49% / 0.18), 0 2px 6px hsl(27 64% 49% / 0.12);
  --shadow-hover: 0 12px 30px hsl(220 25% 12% / 0.08), 0 2px 8px hsl(220 25% 12% / 0.06);
  --gradient-solar: linear-gradient(135deg, hsl(27 80% 58%), hsl(20 70% 48%));
  --gradient-text: linear-gradient(135deg, hsl(27 80% 58%), hsl(20 70% 48%));

  /* Layout */
  --container-max: 1200px;
  --container-px: 1.5rem;
  --header-h: 72px;
}

/* -------------------------------------------------------------
   2. Reset & Base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
button { font-family: inherit; cursor: pointer; }

/* Display headings */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 5vw + 0.5rem, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* Skip link */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 100;
  width: auto; height: auto; clip: auto;
  padding: 0.5rem 1rem; background: var(--primary); color: #fff;
  border-radius: var(--radius);
}

/* Layout helpers */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-header .eyebrow { display: inline-block; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); font-weight: 600; margin-bottom: 0.75rem; }
.section-header p { color: var(--muted-foreground); font-size: 1.075rem; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem; font-weight: 500;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-solar); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-ghost:hover { background: var(--muted); color: var(--foreground); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 1.1em; height: 1.1em; }

/* -------------------------------------------------------------
   3. Header / Navigation
   ------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: hsl(40 33% 98% / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); background: hsl(40 33% 98% / 0.95); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}

.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.4rem; color: var(--foreground); letter-spacing: -0.015em;
  line-height: 1;
}
.brand:hover { color: var(--foreground); }
.brand .logo-mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
}
.brand .wordmark { display: inline-flex; align-items: baseline; gap: 0; white-space: nowrap; }
.brand .wordmark .accent { color: var(--primary); }
.brand .wordmark .ag { font-size: 0.55em; font-weight: 700; letter-spacing: 0.02em; opacity: 0.85; }
/* Footer brand variant */
.footer-brand .logo-mark { width: 28px; height: 28px; filter: brightness(0) invert(1); opacity: 0.8; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop a { color: var(--foreground); font-size: 0.95rem; font-weight: 500; }
.nav-desktop a:hover { color: var(--primary); }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--foreground);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 900px) {
  .nav-desktop, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.nav-mobile {
  position: fixed; inset: var(--header-h) 0 0;
  background: var(--background);
  padding: 2rem var(--container-px);
  display: flex; flex-direction: column; gap: 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 40;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile a { color: var(--foreground); font-size: 1.25rem; font-weight: 500; padding: 0.5rem 0; }
.nav-mobile a:hover, .nav-mobile a:focus { color: var(--primary); }
.nav-mobile .btn { margin-top: 1rem; }

/* -------------------------------------------------------------
   4. Hero — full-bleed background with overlay
   ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  color: #fff;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Mobile: shift right so the barn (right side of image) stays in frame */
  object-position: 75% 60%;
}
@media (min-width: 768px) {
  /* Desktop: image aspect ~ viewport aspect, center crop works */
  .hero-bg img { object-position: center 60%; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, hsl(220 35% 8% / 0.85) 0%, hsl(220 35% 8% / 0.65) 30%, hsl(220 35% 8% / 0.25) 55%, hsl(220 35% 8% / 0) 75%),
    linear-gradient(180deg, hsl(220 35% 8% / 0.4) 0%, transparent 30%, transparent 70%, hsl(220 35% 8% / 0.4) 100%);
}
.hero-grid {
  display: flex; flex-direction: column;
  width: 100%; gap: 2rem;
}

/* Mobile: title at top, buttons absolutely fixed to bottom of hero */
@media (max-width: 767px) {
  .hero { align-items: flex-start; }
  .hero .hero-actions {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    padding: 0 var(--container-px);
    margin: 0;
    z-index: 1;
  }
}
.hero-content { max-width: 640px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw + 0.5rem, 5rem);
  margin-bottom: 1.5rem;
}
.hero h1 .text-gradient {
  /* On the dark hero, "Sonne" should be solid orange (not gradient) for legibility */
  background: none;
  -webkit-text-fill-color: var(--primary);
  color: var(--primary);
}
.hero .subtitle {
  font-size: clamp(1rem, 1vw + 0.7rem, 1.2rem);
  color: hsl(40 33% 98% / 0.85);
  max-width: 540px;
  /* margin-bottom removed: hero-grid gap now handles spacing to hero-actions */
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }

/* Glass / translucent button for hero secondary CTA */
.btn-glass {
  background: hsl(40 33% 98% / 0.12);
  color: #fff;
  border-color: hsl(40 33% 98% / 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover { background: hsl(40 33% 98% / 0.22); color: #fff; }

/* Hero stats (overlaid on image, bottom-left) */
.hero-stats {
  display: none; /* hidden on mobile — CTAs above are the primary action */
  grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 600px;
  padding-top: 2rem;
  border-top: 1px solid hsl(40 33% 98% / 0.2);
}
@media (min-width: 768px) {
  .hero-stats { display: grid; }
}
.hero-stats .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: var(--primary);
  line-height: 1; margin-bottom: 0.35rem;
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: hsl(40 33% 98% / 0.75);
}

/* Animated entrance */
.fade-up { animation: fadeUp 0.8s cubic-bezier(0.4,0,0.2,1) backwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* -------------------------------------------------------------
   5. Process Steps (3 Schritte)
   ------------------------------------------------------------- */
.steps {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: hsl(27 64% 49% / 0.3); }
.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--primary); letter-spacing: 0.1em;
  margin-bottom: 1.5rem; display: block;
}
.step-icon {
  width: 48px; height: 48px;
  background: var(--gradient-solar);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}
.step:hover .step-icon { transform: scale(1.1) rotate(-3deg); }
.step-icon svg { width: 24px; height: 24px; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted-foreground); margin: 0; font-size: 0.95rem; }

/* Step connector line on desktop */
@media (min-width: 700px) {
  .steps { position: relative; }
  .steps::before {
    content: ""; position: absolute; top: 50%;
    left: 16%; right: 16%; height: 1px;
    background: linear-gradient(90deg, transparent, hsl(27 64% 49% / 0.3), transparent);
    z-index: -1;
  }
}

/* -------------------------------------------------------------
   6. Services (Leistungen)
   ------------------------------------------------------------- */
.section-services { background: var(--muted); }
.services-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service {
  padding: 2rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-icon {
  width: 44px; height: 44px;
  background: hsl(27 64% 49% / 0.1);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service p { color: var(--muted-foreground); margin: 0; font-size: 0.93rem; line-height: 1.55; }

/* -------------------------------------------------------------
   7. Benefits (Vorteile)
   ------------------------------------------------------------- */
.benefits-layout { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .benefits-layout { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.benefits-intro h2 { margin-bottom: 1rem; }
.benefits-intro p { color: var(--muted-foreground); font-size: 1.05rem; }
.benefits-intro .note {
  margin-top: 1.5rem; padding: 1.25rem;
  background: hsl(27 64% 49% / 0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem; color: var(--navy-light);
}

.benefits { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(2, 1fr); } }

.benefit {
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: hsl(27 64% 49% / 0.3); }
.benefit-icon {
  width: 40px; height: 40px;
  background: var(--gradient-solar); color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.benefit p { color: var(--muted-foreground); margin: 0; font-size: 0.92rem; line-height: 1.55; }

/* -------------------------------------------------------------
   8. Projects — horizontal marquee (single endless row)
   ------------------------------------------------------------- */
.projects-marquee {
  position: relative;
  overflow: hidden;
  /* fade left/right edges so cards appear/disappear gracefully */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.projects-track {
  display: flex;
  width: max-content;
  animation: project-scroll 40s linear infinite;
}
.projects-marquee:hover .projects-track,
.projects-marquee:focus-within .projects-track {
  animation-play-state: paused;
}
@keyframes project-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Project card sizing inside the marquee */
.projects-track .project {
  flex-shrink: 0;
  width: 320px;
  aspect-ratio: 4 / 3;
  margin-right: 1.25rem;
}
@media (min-width: 700px) {
  .projects-track .project { width: 380px; margin-right: 1.5rem; }
}
/* Disable per-card lift inside marquee — hover already pauses the scroll */
.projects-track .project:hover { transform: none; }

/* Reduced motion: stop the auto-scroll, allow manual horizontal scrolling */
@media (prefers-reduced-motion: reduce) {
  .projects-marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
  .projects-track { animation: none; }
  .projects-track .project { scroll-snap-align: start; }
}

.project {
  position: relative; aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--muted);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.project-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.project:hover .project-img { transform: scale(1.05); }
.project-fallback {
  width: 100%; height: 100%;
  background: var(--gradient-solar);
  display: flex; align-items: center; justify-content: center;
}
.project-fallback svg { width: 64px; height: 64px; color: #fff; opacity: 0.6; }
.project-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, hsl(220 35% 18% / 0.85) 0%, hsl(220 35% 18% / 0) 100%);
  color: #fff;
}
.project-info h3 { color: #fff; margin: 0 0 0.2rem; font-size: 1.1rem; }
.project-info span { font-size: 0.85rem; color: hsl(40 33% 98% / 0.85); font-weight: 500; letter-spacing: 0.05em; }

/* -------------------------------------------------------------
   9. About / Mission — centered header + 2x2 pillar grid
   ------------------------------------------------------------- */
.section-about { background: var(--muted); }
.section-about .section-header { margin-bottom: 4rem; }
.section-about .section-header > p {
  font-size: 1.075rem;
  color: var(--navy-light);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

.about-pillars {
  display: grid;
  gap: 2.5rem 4rem;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .about-pillars { grid-template-columns: 1fr 1fr; }
}

.pillar {
  padding: 0;
  background: transparent;
  border: none;
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 0.85rem;
  row-gap: 0.5rem;
  align-items: start;
}
.pillar-icon {
  grid-row: 1;
  grid-column: 1;
  width: 32px; height: 32px;
  background: transparent;
  color: var(--primary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.pillar-icon svg { width: 26px; height: 26px; }

.pillar h4 {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}
.pillar p {
  grid-row: 2;
  grid-column: 2;
  margin: 0;
  color: var(--navy-light);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   10. Team — rectangular portrait cards
   ------------------------------------------------------------- */
.team-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-member {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.team-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--muted);
  position: relative;
}
.team-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.team-portrait .initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem; font-weight: 700; color: #fff;
  background: var(--gradient-solar);
}

.team-info { padding: 1.5rem 1.5rem 1.75rem; }
.team-info h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.team-info .role {
  font-size: 0.95rem;
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1rem;
}
.team-info .description {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.team-info .linkedin {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.team-info .linkedin:hover { color: var(--primary-hover); }
.team-info .linkedin svg { width: 20px; height: 20px; }

/* -------------------------------------------------------------
   11. Contact / Form
   ------------------------------------------------------------- */
.section-contact { background: var(--navy); color: hsl(40 33% 98%); }
.section-contact h2 { color: hsl(40 33% 98%); }
.section-contact .section-header p { color: hsl(40 33% 98% / 0.75); }
.section-contact .eyebrow { color: var(--solar-glow); }

.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; } }

.contact-info { color: hsl(40 33% 98% / 0.85); }
.contact-info h3 { color: hsl(40 33% 98%); margin-bottom: 1rem; font-size: 1.25rem; }
.contact-info > p { font-size: 1rem; margin-bottom: 2rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; }
.contact-list .icon {
  width: 40px; height: 40px;
  background: hsl(40 33% 98% / 0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--solar-glow);
}
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list a { color: hsl(40 33% 98%); }
.contact-list a:hover { color: var(--solar-glow); }
.contact-list .label { font-size: 0.85rem; color: hsl(40 33% 98% / 0.6); margin-bottom: 0.15rem; }

.contact-form {
  padding: 2.25rem;
  background: hsl(40 33% 98% / 0.03);
  border: 1px solid hsl(40 33% 98% / 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.85rem; font-weight: 500;
  color: hsl(40 33% 98% / 0.85);
  margin-bottom: 0.4rem;
}
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: hsl(40 33% 98% / 0.05);
  border: 1px solid hsl(40 33% 98% / 0.15);
  border-radius: var(--radius);
  color: hsl(40 33% 98%);
  font-family: inherit; font-size: 1rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: hsl(40 33% 98% / 0.4); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--solar-glow);
  background: hsl(40 33% 98% / 0.08);
}
.field textarea { min-height: 140px; resize: vertical; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-top: 1rem; padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: none;
}
.form-status.ok { display: block; background: hsl(142 71% 45% / 0.15); border: 1px solid hsl(142 71% 45% / 0.3); color: hsl(142 71% 75%); }
.form-status.err { display: block; background: hsl(0 72% 51% / 0.15); border: 1px solid hsl(0 72% 51% / 0.3); color: hsl(0 72% 80%); }

/* -------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------- */
.site-footer {
  background: hsl(220 35% 12%);
  color: hsl(40 33% 98% / 0.6);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(40 33% 98% / 0.1);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

.footer-brand { color: hsl(40 33% 98%); margin-bottom: 0.75rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-brand .logo-mark { width: 24px; height: 24px; }
.site-footer h4 {
  color: hsl(40 33% 98%);
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: hsl(40 33% 98% / 0.6); }
.site-footer a:hover { color: var(--solar-glow); }
.footer-meta {
  padding-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.85rem; color: hsl(40 33% 98% / 0.5);
}

/* -------------------------------------------------------------
   13. Legal pages
   ------------------------------------------------------------- */
.legal-page { padding: calc(var(--header-h) + 4rem) 0 5rem; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { margin-bottom: 2rem; }
.legal-page section { margin-bottom: 2rem; }
.legal-page section h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.legal-page p, .legal-page ul, .legal-page li { color: var(--navy-light); }
.legal-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-page li { margin-bottom: 0.4rem; }
.legal-page .legal-footnote { font-size: 0.85rem; color: var(--muted-foreground); margin-top: 1rem; }

/* -------------------------------------------------------------
   14. Reveal-on-scroll
   ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
