/* ============================================
   ERFOLG DURCH BERATUNG - Annika Ritchhart
   Hanseatisch-elegant Design System
   ============================================ */

:root {
  /* Hanseatic palette */
  --col-bg: #faf8f5;
  --col-bg-alt: #f3efe8;
  --col-paper: #ffffff;
  --col-ink: #0e1c2f;
  --col-ink-soft: #2a3a52;
  --col-marine: #1a3553;
  --col-marine-dark: #0c1f37;
  --col-marine-light: #34547a;
  --col-rose: #c9a299;
  --col-rose-soft: #e8d5cf;
  --col-gold: #b08a5b;
  --col-line: #d8d2c7;
  --col-muted: #7a7468;

  /* Type */
  --font-display: 'Cormorant Garamond', 'Garamond', serif;
  --font-body: 'Inter Tight', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-w: 1280px;
  --pad-x: clamp(1.5rem, 4vw, 4rem);
  --gap-section: clamp(5rem, 10vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--col-bg);
  color: var(--col-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 0.6em 0;
  color: var(--col-ink);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.02em; }

p { margin: 0 0 1em 0; color: var(--col-ink-soft); }
p.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--col-ink-soft);
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--col-marine);
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--col-marine);
}

em.accent { font-style: italic; color: var(--col-marine); font-family: var(--font-display); font-size: 1.08em; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--pad-x); }

section { padding: var(--gap-section) 0; position: relative; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s;
}
.site-header.scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(14, 28, 47, 0.06);
  padding: 0.9rem 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--col-ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-mark {
  width: 32px; height: 32px;
  display: inline-block;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--col-muted);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--col-ink-soft);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--col-marine); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--col-marine);
}

.nav-cta {
  background: var(--col-marine);
  color: var(--col-paper);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--col-marine-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--col-ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(80vw, 360px);
    height: 100vh;
    background: var(--col-paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 2.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(14, 28, 47, 0.08);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.4rem; font-family: var(--font-display); }
  .nav-cta { font-size: 1rem; padding: 0.9rem 1.6rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--col-marine);
  color: var(--col-paper);
}
.btn-primary:hover { background: var(--col-marine-dark); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(26, 53, 83, 0.4); }
.btn-secondary {
  background: transparent;
  color: var(--col-marine);
  border-color: var(--col-marine);
}
.btn-secondary:hover { background: var(--col-marine); color: var(--col-paper); }
.btn-ghost { color: var(--col-marine); padding: 0.6rem 0; }
.btn-ghost::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.btn-ghost:hover::after { transform: translateX(6px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250,248,245,0.4) 0%, rgba(250,248,245,0.85) 70%, var(--col-bg) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.hero-content { animation: fadeInUp 1s var(--ease) 0.2s both; }
.hero h1 {
  font-size: clamp(2.6rem, 6.8vw, 5.8rem);
  margin-bottom: 1.5rem;
}
.hero h1 .accent-line {
  font-style: italic;
  color: var(--col-marine);
  display: block;
}
.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--col-line);
  flex-wrap: wrap;
}
.hero-meta-item {
  font-size: 0.85rem;
}
.hero-meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--col-marine);
  font-weight: 500;
  margin-bottom: 2px;
}
.hero-meta-item span {
  color: var(--col-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.hero-portrait {
  position: relative;
  animation: fadeInUp 1s var(--ease) 0.5s both;
}
.hex-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  max-width: 420px;
  margin-left: auto;
}
.hex-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-deco {
  position: absolute;
  width: 60%;
  aspect-ratio: 1 / 1.1;
  background: var(--col-rose-soft);
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
  opacity: 0.6;
}
.hex-deco-1 { top: -8%; left: -12%; }
.hex-deco-2 { top: 4%; left: 4%; background: var(--col-marine-light); opacity: 0.18; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections shared ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 4rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Bento / Pillars ---------- */
.pillars {
  background: var(--col-bg-alt);
  position: relative;
}
.pillars::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: url('../assets/images/compass-icon.png') no-repeat right center;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pillars-grid { grid-template-columns: 1fr; }
}
.pillar {
  background: var(--col-paper);
  padding: 2.4rem 2rem;
  border-radius: 4px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  border-top: 3px solid;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -20px rgba(14, 28, 47, 0.15); }
.pillar:nth-child(1) { border-color: #d4af37; }
.pillar:nth-child(2) { border-color: #b85050; }
.pillar:nth-child(3) { border-color: #6a8caf; }
.pillar:nth-child(4) { border-color: #6b8e6b; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--col-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 0.8rem; line-height: 1.25; }
.pillar p { font-size: 0.95rem; color: var(--col-ink-soft); margin: 0; }

/* ---------- Transferstärke Wheel (SVG) ---------- */
.wheel-section {
  padding: var(--gap-section) 0;
}
.wheel-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .wheel-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.wheel-svg {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.wheel-quadrant {
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  transform-origin: center;
}
.wheel-quadrant:hover { opacity: 0.85; }
.wheel-quadrant.active { transform: scale(1.04); }

.wheel-detail {
  background: var(--col-paper);
  border-left: 3px solid var(--col-marine);
  padding: 2rem 2.4rem;
  border-radius: 2px;
  min-height: 220px;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.wheel-detail h3 {
  color: var(--col-marine);
  margin-bottom: 0.8rem;
}
.wheel-detail .badge {
  display: inline-block;
  background: var(--col-bg-alt);
  color: var(--col-ink-soft);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---------- Stats ---------- */
.stats-band {
  background: var(--col-marine);
  color: var(--col-paper);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/compass-dark.png');
  background-position: 110% center;
  background-repeat: no-repeat;
  background-size: 60% auto;
  opacity: 0.1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 1rem; } }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  color: var(--col-rose-soft);
  margin-bottom: 0.6rem;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ---------- Quote / Testimonial ---------- */
.quote-block {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  font-style: italic;
  color: var(--col-ink);
  margin: 0 0 2rem 0;
  position: relative;
}
.quote-block blockquote::before {
  content: '\201E';
  font-size: 5rem;
  color: var(--col-rose);
  position: absolute;
  top: -0.4em; left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  font-family: var(--font-display);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--col-marine-dark);
  color: var(--col-paper);
  padding: 5rem 0 2rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-col h4 {
  color: var(--col-rose-soft);
  margin-bottom: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.footer-col a { opacity: 0.78; transition: opacity 0.25s; }
.footer-col a:hover { opacity: 1; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.3;
  font-style: italic;
  margin-top: 1.5rem;
  opacity: 0.85;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Generic page hero (subpages) ---------- */
.page-hero {
  padding: 11rem 0 5rem;
  background: var(--col-bg-alt);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; right: -8%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  background: url('../assets/images/compass-icon.png') no-repeat center;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
}
.page-hero h1 { max-width: 14ch; }
.page-hero p.lead { margin-top: 1.5rem; }

/* ---------- Process / Timeline ---------- */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px; top: 0; bottom: 0;
  width: 1px;
  background: var(--col-line);
}
.timeline-step {
  position: relative;
  padding: 0 0 3rem 5rem;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: 16px; top: 8px;
  width: 18px; height: 18px;
  background: var(--col-paper);
  border: 2px solid var(--col-marine);
  border-radius: 50%;
}
.timeline-step .num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--col-marine);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.4rem;
}
.timeline-step h3 { margin-bottom: 0.6rem; }

/* ---------- Method cards ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .method-grid { grid-template-columns: 1fr; } }
.method-card {
  background: var(--col-paper);
  padding: 2.4rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--col-line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.method-card:hover { border-color: var(--col-marine); transform: translateY(-4px); }
.method-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--col-marine);
}

/* ---------- About / CV ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.cv-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}
.cv-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--col-line);
  font-size: 0.95rem;
}
.cv-list li:last-child { border-bottom: none; }
.cv-list .year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--col-marine);
  letter-spacing: 0.05em;
  padding-top: 2px;
}

/* ---------- Test page ---------- */
.test-shell {
  background: var(--col-paper);
  border-radius: 4px;
  padding: 3.5rem 3rem;
  box-shadow: 0 30px 80px -40px rgba(14, 28, 47, 0.18);
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 600px) { .test-shell { padding: 2rem 1.5rem; } }

.test-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  color: var(--col-muted);
  letter-spacing: 0.05em;
}
.test-progress-bar {
  flex: 1;
  height: 2px;
  background: var(--col-line);
  margin: 0 1.5rem;
  position: relative;
  overflow: hidden;
}
.test-progress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--col-marine);
  width: 0;
  transition: width 0.5s var(--ease);
}

.test-question {
  animation: fadeInUp 0.5s var(--ease) both;
}
.test-question .q-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--col-marine);
  margin-bottom: 0.5rem;
}
.test-question h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.35;
}
.test-options {
  display: grid;
  gap: 0.7rem;
}
.test-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--col-line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: left;
  background: var(--col-bg);
  font-size: 0.95rem;
  color: var(--col-ink-soft);
  width: 100%;
}
.test-option:hover {
  border-color: var(--col-marine);
  background: var(--col-paper);
  transform: translateX(4px);
}
.test-option.selected {
  background: var(--col-marine);
  color: var(--col-paper);
  border-color: var(--col-marine);
}
.test-option .scale {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
  min-width: 28px;
}

.test-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.test-nav .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }

.test-result {
  animation: fadeInUp 0.6s var(--ease) both;
}
.test-result h2 { margin-bottom: 1rem; }
.test-score {
  text-align: center;
  margin: 2.5rem 0 3rem;
}
.test-score .big {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 6.5rem);
  color: var(--col-marine);
  line-height: 1;
  font-weight: 400;
}
.test-score .total { color: var(--col-muted); font-family: var(--font-display); font-size: 1.6rem; }
.test-score .label {
  display: block;
  margin-top: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--col-muted);
}

.score-bars { margin: 2.5rem 0; }
.score-bar { margin-bottom: 1.4rem; }
.score-bar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}
.score-bar-track {
  height: 6px;
  background: var(--col-bg-alt);
  border-radius: 99px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 99px;
  width: 0;
  transition: width 1s var(--ease) 0.3s;
}
.score-bar:nth-child(1) .score-bar-fill { background: #d4af37; }
.score-bar:nth-child(2) .score-bar-fill { background: #b85050; }
.score-bar:nth-child(3) .score-bar-fill { background: #6a8caf; }
.score-bar:nth-child(4) .score-bar-fill { background: #6b8e6b; }

.test-interpretation {
  background: var(--col-bg-alt);
  padding: 2rem;
  border-radius: 4px;
  border-left: 3px solid var(--col-marine);
  margin: 2rem 0;
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: grid; gap: 0.4rem; }
.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--col-muted);
  font-weight: 500;
}
.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  padding: 0.9rem 1rem;
  border: 1px solid var(--col-line);
  border-radius: 2px;
  background: var(--col-paper);
  color: var(--col-ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  font-size: 0.95rem;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--col-marine);
  box-shadow: 0 0 0 3px rgba(26, 53, 83, 0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-checkbox { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; color: var(--col-ink-soft); }
.form-checkbox input { margin-top: 4px; }
.form-checkbox a { color: var(--col-marine); text-decoration: underline; }

.contact-info {
  background: var(--col-bg-alt);
  padding: 2.5rem;
  border-radius: 4px;
  align-self: start;
}
.contact-info-item { padding: 1.2rem 0; border-bottom: 1px solid var(--col-line); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--col-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.contact-info-item p, .contact-info-item a { margin: 0; font-size: 1rem; color: var(--col-ink); }

/* ---------- Decorative hex pattern ---------- */
.hex-pattern {
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--col-muted); }
.divider {
  height: 1px;
  background: var(--col-line);
  margin: 3rem 0;
  border: none;
}
