/* EASYTRADE GmbH — style.css
   Design: Modern Light / Automotive
   Fonts: Archivo (headings, self-hosted) + Manrope (body, self-hosted)
   Self-hosted fonts for DSGVO compliance — see deploy/DEPLOY.md for download instructions
*/

/* ─── @font-face ─────────────────────────────────── */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-900-normal.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ─── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Design Tokens ──────────────────────────────── */
:root {
  --bg:              #F4F7F3;
  --bg-surface:      #E8EDE5;
  --bg-card:         #FFFFFF;
  --accent:          #2CA83C;
  --accent-dim:      rgba(44, 168, 60, 0.50);
  --accent-glow:     rgba(44, 168, 60, 0.10);
  --accent-glow-lg:  rgba(44, 168, 60, 0.20);
  --text-primary:    #101710;
  --text-secondary:  #3C5045;
  --text-muted:      #7A9080;
  --border:          rgba(44, 168, 60, 0.22);
  --border-subtle:   rgba(0, 0, 0, 0.09);

  --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  --max-w:       1160px;
  --section-pad: clamp(4.5rem, 10vw, 8rem);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Base ───────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

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

/* ─── Layout ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ─── Header ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.35rem;
  transition:
    background 0.35s var(--ease-out),
    padding 0.35s var(--ease-out),
    backdrop-filter 0.35s,
    box-shadow 0.35s;
}

.site-header.scrolled {
  background: rgba(244, 247, 243, 0.92);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  padding-block: 1rem;
  box-shadow: 0 1px 0 var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ─── Logo (CSS text – crisp on dark background) ─── */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
  gap: 0.2rem;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.logo-wordmark .accent {
  color: var(--accent);
  margin-inline: 0.06em;
  font-size: 0.75em;
  line-height: 1;
  transform: translateY(-0.04em);
  display: inline-block;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Navigation ─────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: 7px;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.nav a:hover { color: var(--text-primary); background: var(--border-subtle); }
.nav a.active { color: var(--accent); }

/* ─── Language Switch ────────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  padding: 0.2rem;
  flex-shrink: 0;
}

.lang-switch a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 5px;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

/* ─── Hamburger ──────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem;
  border-radius: 7px;
  transition: background 0.2s;
  z-index: 101;
}

.nav-toggle:hover { background: var(--border-subtle); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 7rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Atmospheric green gradient mesh */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 80% 35%, rgba(44, 168, 60, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 75% at 10% 85%, rgba(44, 168, 60, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 60% 35% at 50% 5%,  rgba(0, 0, 0, 0.015)   0%, transparent 50%);
  pointer-events: none;
}

/* Dot grid decoration */
.hero::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 70%;
  background-image: radial-gradient(circle, rgba(44, 168, 60, 0.20) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2.2rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-headline {
  font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent);
  color: #0A0C0B;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.8rem;
  border-radius: 9px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.25s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(44, 168, 60, 0.30);
}

.cta-btn:active { transform: translateY(-1px); }

.cta-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Scroll line indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 1;
  font-family: var(--font-body);
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--accent-dim), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.35; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1.15); transform-origin: top; }
}

/* ─── Page Load Animations ───────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow  { animation: fadeUp 0.8s var(--ease-out) 0.25s both; }
.hero-headline { animation: fadeUp 1s   var(--ease-out) 0.4s  both; }
.hero-sub      { animation: fadeUp 0.8s var(--ease-out) 0.58s both; }
.hero-cta      { animation: fadeUp 0.8s var(--ease-out) 0.72s both; }
.scroll-hint   { animation: fadeUp 0.6s var(--ease-out) 1s    both; }

/* ─── Sections ───────────────────────────────────── */
section { padding-block: var(--section-pad); position: relative; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 1.6rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ─── Über uns ───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem 5rem;
  align-items: start;
  margin-top: 3rem;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-text p + p { margin-top: 1.1rem; }

.about-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.85rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* ─── Leistungen ─────────────────────────────────── */
#leistungen,
#services {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.3s,
    box-shadow 0.35s,
    transform 0.35s var(--ease-out);
}

.service-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 36px var(--accent-glow), 0 0 0 1px var(--border);
  transform: translateY(-5px);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--accent);
  transition: background 0.3s, box-shadow 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(44, 168, 60, 0.16);
  box-shadow: 0 0 16px var(--accent-glow-lg);
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.topic-links a {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-spring);
}

.topic-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ─── Kontakt ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  padding: 2.25rem 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-card:hover { border-color: var(--border); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-item:first-child { padding-top: 0; }
.contact-item:last-of-type { border-bottom: none; padding-bottom: 0; }

.contact-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.1rem;
}

.contact-item-icon svg { width: 16px; height: 16px; }

.contact-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-size: 0.975rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.55;
}

.contact-item-value a {
  color: var(--text-primary);
  transition: color 0.2s;
  word-break: break-word;
}

.contact-item-value a:hover { color: var(--accent); }

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.maps-btn:hover {
  background: rgba(44, 168, 60, 0.16);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--accent-glow-lg);
}

.maps-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.contact-aside { padding-top: 0.5rem; }

.contact-aside-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-aside-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.contact-aside-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-aside-text + .contact-aside-text { margin-top: 1.5rem; }

/* ─── Footer ─────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 2.25rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ─── Legal pages ─────────────────────────────────── */
.legal-page {
  padding-top: calc(5.5rem + var(--section-pad));
  padding-bottom: var(--section-pad);
}

.legal-page .container { max-width: 820px; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}

.legal-back:hover { color: var(--accent); }
.legal-back svg { width: 14px; height: 14px; }

.legal-page h1 {
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.4rem;
}

.legal-page .legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2.75rem;
  margin-bottom: 0.8rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border-subtle);
}

.legal-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-page p, .legal-page li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.65rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── SEO landing pages ─────────────────────────── */
.seo-page {
  padding-top: calc(5.5rem + var(--section-pad));
  padding-bottom: var(--section-pad);
}

.seo-page .container { max-width: 980px; }

.seo-hero {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.seo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.seo-kicker::before {
  content: '';
  width: 1.8rem;
  height: 1px;
  background: var(--accent);
}

.seo-page h1 {
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  max-width: 820px;
  margin-bottom: 1.3rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.seo-lead {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.17rem);
  line-height: 1.75;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  max-width: 820px;
}

.seo-body h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
}

.seo-body { min-width: 0; }

.seo-body h2:first-child { margin-top: 0; }

.seo-body h3 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
  margin-bottom: 0.45rem;
}

.seo-body p,
.seo-body li {
  color: var(--text-secondary);
  line-height: 1.82;
  font-size: 0.98rem;
}

.seo-body p + p { margin-top: 1rem; }

.seo-body ul {
  padding-left: 1.25rem;
  margin-block: 0.85rem 1.2rem;
}

.seo-aside {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
}

.seo-aside-title {
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.seo-aside p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.seo-aside a {
  display: inline-flex;
  margin-top: 1rem;
}

.seo-link-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.seo-link-list a {
  color: var(--accent);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 800;
}

.faq-list p {
  margin-top: 0.65rem;
}

/* Placeholder marker for items the user must fill in */
.placeholder {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border: 1px dashed rgba(255, 107, 107, 0.45);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  font-size: 0.87em;
  font-weight: 700;
  white-space: nowrap;
}

/* ─── Scroll Reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* ─── Responsive — tablet ────────────────────────── */
@media (max-width: 960px) {
  .about-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── Responsive — mobile ────────────────────────── */
@media (max-width: 640px) {
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    background: rgba(244, 247, 243, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 100;
  }

  .nav.open { display: flex; }

  .nav a {
    font-size: 1.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    letter-spacing: -0.01em;
  }

  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .about-stats   { grid-template-columns: 1fr 1fr; }
}

/* ─── Reduced Motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
