/* ============================================================
   Sulgen — design system
   Deep forest green + champagne gold, elegant serif display.
   ============================================================ */

:root {
  /* Palette */
  --bg:            #10160f;
  --bg-deep:       #0b100b;
  --bg-elev:       #161f13;
  --bg-elev-2:     #1b2617;
  --line:          rgba(242, 239, 230, 0.12);
  --line-strong:   rgba(242, 239, 230, 0.26);

  --gold:          #e8c98a;
  --gold-bright:   #ffe9bd;
  --gold-dim:      rgba(232, 201, 138, 0.55);

  --cream:         #f2efe6;
  --cream-dim:     rgba(242, 239, 230, 0.66);
  --cream-faint:   rgba(242, 239, 230, 0.42);

  --muted-sage:    #b9bfae;
  --btn-ink:       #1a1204;

  /* Type */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 4px;
  --radius-lg: 10px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Ambient background wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 75% 40%, #172014 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 100%, rgba(232,201,138,0.04), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold-dim);
}
.eyebrow--center { justify-content: center; }

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.h-hero  { font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 1.16; }
.h-sec   { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.12; }
.h-sub   { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--cream-dim);
  max-width: 46ch;
}
.text-gold { color: var(--gold); }
.text-serif-italic { font-family: var(--font-serif); font-style: italic; }
.muted { color: var(--cream-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ico { transition: transform 0.4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.btn--gold {
  background: var(--gold);
  color: var(--btn-ink);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.link-arrow .ico { transition: transform 0.4s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(13, 28, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
}
.brand .dot { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1.4rem; }

/* Language switcher */
.langs { display: inline-flex; align-items: center; gap: 0.35rem; }
.langs button {
  background: none; border: none;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
  padding: 0.3rem 0.35rem;
  transition: color 0.25s var(--ease);
}
.langs button:hover { color: var(--cream); }
.langs button[aria-pressed="true"] { color: var(--gold); }
.langs .sep { color: var(--line-strong); font-size: 0.7rem; }

/* Mobile CTA inside dropdown — hidden on desktop */
.mobile-cta { display: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 1.5px; background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}
/* Subtle blueprint grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
/* Dashed gold frame with corner ticks */
.hero-frame {
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(232, 201, 138, 0.38);
  pointer-events: none;
  z-index: 6;
}
.hero-frame i {
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
}
.hero-frame i:nth-child(1) { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.hero-frame i:nth-child(2) { top: -4px; right: -4px; border-left: 0; border-bottom: 0; }
.hero-frame i:nth-child(3) { bottom: -4px; left: -4px; border-right: 0; border-top: 0; }
.hero-frame i:nth-child(4) { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }

.hero-motif {
  position: absolute;
  top: 50%; right: 2%;
  transform: translateY(-50%);
  width: min(42vw, 560px);
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 62rem; }
.hero h1 { margin-bottom: 0; text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.hero .h-hero span { display: block; }
.hero-rule {
  width: 76px; height: 1px;
  background: rgba(232, 201, 138, 0.7);
  margin: 2rem 0 1.7rem;
}
.hero-sub {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-sage);
  line-height: 1.9;
  margin-bottom: 1.8rem;
}
.hero-sub b { color: var(--gold); font-weight: 500; }
.hero-lede { margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-foot {
  position: absolute;
  left: var(--gutter); bottom: clamp(1.6rem, 4vh, 2.8rem);
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.scroll-cue {
  position: absolute;
  right: var(--gutter); bottom: clamp(1.6rem, 4vh, 2.8rem);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-faint);
}
.scroll-cue .rail { width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue .rail::after {
  content:""; position:absolute; left:0; top:-50%; width:100%; height:50%;
  background: var(--gold); animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(300%)} }

/* Motif dots/nodes */
.motif-dot { fill: var(--gold); opacity: 0.28; }
.motif-node { fill: var(--gold-bright); }
.motif-line { stroke: var(--gold); stroke-width: 0.6; fill: none; opacity: 0.35; }
.motif-node-glow { animation: pulse 3.4s ease-in-out infinite; transform-origin: center; }
@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ---------- Statement ---------- */
.statement .display {
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.18;
  max-width: 22ch;
  color: var(--cream);
}
.statement .display .dim { color: var(--cream-faint); }

/* ---------- Pillars ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Blueprint panel — dashed frame, drawing grid, corner ticks */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,0.03) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,0.03) 23px 24px),
    var(--bg-deep);
  border: 1px dashed rgba(232, 201, 138, 0.45);
  border-radius: 0;
  padding: clamp(1.6rem, 2.5vw, 2.3rem);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(232,201,138,0.85); }
.card .link-arrow { margin-top: auto; }

/* Corner ticks for blueprint panels */
.card::after, .cap-item::after, .offer::after {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 9px 1px,
    linear-gradient(var(--gold), var(--gold)) left top / 1px 9px,
    linear-gradient(var(--gold), var(--gold)) right top / 9px 1px,
    linear-gradient(var(--gold), var(--gold)) right top / 1px 9px,
    linear-gradient(var(--gold), var(--gold)) left bottom / 9px 1px,
    linear-gradient(var(--gold), var(--gold)) left bottom / 1px 9px,
    linear-gradient(var(--gold), var(--gold)) right bottom / 9px 1px,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1px 9px;
  background-repeat: no-repeat;
}

/* Axonometric strokes (architecture-model illustrations) */
.isoT { fill: rgba(232,201,138,0.12); stroke: rgba(232,201,138,0.65); stroke-width: 1.1; stroke-linejoin: round; }
.isoL { fill: rgba(232,201,138,0.045); stroke: rgba(232,201,138,0.5); stroke-width: 1.1; stroke-linejoin: round; }
.isoR { fill: rgba(11,16,11,0.55); stroke: rgba(232,201,138,0.5); stroke-width: 1.1; stroke-linejoin: round; }
.isoW { fill: none; stroke: rgba(232,201,138,0.55); stroke-width: 1.1; stroke-linejoin: round; }
.card .num {
  font-family: var(--font-serif);
  font-size: 1rem; font-style: italic;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.card .ico-badge {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 1.4rem;
  font-size: 1.2rem;
}
.card h3 { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: 0.7rem; }
.card p { color: var(--cream-dim); font-size: 0.98rem; margin-bottom: 1.4rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.card .tag {
  font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.28rem 0.75rem;
}

/* Card illustrations — gold line-art, matches the hero map language */
.card-illus {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
}
.card-illus svg { height: 150px; width: auto; max-width: 100%; display: block; margin-inline: auto; }
.ill-line { stroke: rgba(232,201,138,0.5); stroke-width: 1.1; fill: none; stroke-linecap: round; }
.ill-ring { stroke: rgba(232,201,138,0.55); stroke-width: 1.1; fill: none; }
.ill-box  { stroke: rgba(232,201,138,0.55); stroke-width: 1.1; fill: rgba(232,201,138,0.05); }
.ill-dot  { fill: #9aa18d; opacity: 0.65; }
.ill-node { fill: var(--gold-bright); }
.ill-halo {
  fill: rgba(232,201,138,0.16);
  animation: illpulse 3.2s ease-in-out infinite;
  transform-origin: center; transform-box: fill-box;
}
@keyframes illpulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
.ill-flow {
  stroke: var(--gold); stroke-width: 1.2; fill: none; stroke-linecap: round;
  stroke-dasharray: 3 7;
  animation: illflow 2.4s linear infinite;
  opacity: 0.85;
}
@keyframes illflow { to { stroke-dashoffset: -20; } }
.card:hover .ill-flow { animation-duration: 1s; }
.ill-run {
  fill: var(--gold-bright);
  animation: illrun 3.6s cubic-bezier(0.4, 0.1, 0.4, 1) infinite;
}
@keyframes illrun {
  0%   { transform: translateX(0); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(240px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ill-flow, .ill-halo, .ill-run { animation: none; }
}

/* Section head */
.sec-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head .eyebrow { margin-bottom: 1.4rem; }
.sec-head p { color: var(--cream-dim); margin-top: 1.2rem; }
.sec-head--center { margin-inline: auto; text-align: center; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.4rem, 2.5vw, 2rem) 0;
  text-align: left;
  color: var(--cream);
}
.acc-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.acc-head:hover h3 { color: var(--gold); }
.acc-icon {
  flex: none; width: 34px; height: 34px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.acc-item.open .acc-icon { transform: rotate(45deg); background: rgba(198,163,104,0.12); }
.acc-body { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.acc-body-inner { padding: 0 0 clamp(1.4rem, 2.5vw, 2rem); max-width: 60ch; }
.acc-body-inner p { color: var(--cream-dim); margin-bottom: 1.2rem; }

/* ---------- Offer / lead magnet ---------- */
.offer {
  position: relative;
  border: 1px dashed rgba(232, 201, 138, 0.45);
  border-radius: 0;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(232,201,138,0.07), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,0.03) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,0.03) 23px 24px),
    var(--bg-deep);
}
.offer-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.offer h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.2rem; }
.check-list li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 0.98rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list .ico { color: var(--gold); flex: none; margin-top: 3px; }

/* ---------- Principles / values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.value .k {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold); margin-bottom: 0.6rem;
}
.value p { color: var(--cream-dim); font-size: 0.96rem; }

.tools { display: flex; flex-wrap: wrap; gap: 0.7rem 2.4rem; align-items: center; }
.tools span {
  font-size: 0.95rem; letter-spacing: 0.04em;
  color: var(--cream-faint);
  transition: color 0.3s var(--ease);
}
.tools span:hover { color: var(--cream); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.8rem;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band .btn { margin-top: 0.5rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-dim);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: inherit; font-size: 1rem;
  padding: 0.9rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198,163,104,0.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--cream-faint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-note { font-size: 0.82rem; color: var(--cream-faint); }
.form-status { font-size: 0.9rem; padding: 0.4rem 0; min-height: 1.4rem; }
.form-status.ok { color: var(--gold-bright); }
.form-status.err { color: #e6a3a3; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) 2.5rem;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3.5rem;
}
.footer-brand .brand { font-size: 2rem; margin-bottom: 1rem; }
.footer-brand p { color: var(--cream-dim); max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem; font-weight: 500;
}
.footer-col a { display: block; color: var(--cream-dim); padding: 0.35rem 0; font-size: 0.95rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--cream-faint);
  letter-spacing: 0.04em;
}
.footer-bottom .vals { letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dim); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(76px + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(2.6rem, 7vw, 5rem); margin-block: 1.4rem 1.4rem; }
.page-hero .lede { max-width: 52ch; }

/* ---------- Service detail rows ---------- */
.stack > .svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.6rem, 5vw, 4.2rem);
  align-items: start;
}
.svc-row .num { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--gold); margin-bottom: 1rem; }
.svc-row h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1.1rem; }
.svc-row > div > p { color: var(--cream-dim); }
.svc-row .outcome {
  margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--cream);
}
@media (max-width: 820px) { .svc-row { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Capability mini-cards ---------- */
.cap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cap-item {
  position: relative;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,0.03) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,0.03) 23px 24px),
    var(--bg-deep);
  border: 1px dashed rgba(232, 201, 138, 0.45);
  border-radius: 0;
  padding: 1.5rem;
  transition: border-color 0.4s var(--ease);
}
.cap-item:hover { border-color: rgba(232,201,138,0.85); }
.cap-item .ico { color: var(--gold); font-size: 1.3rem; display: block; margin-bottom: 0.9rem; }
.cap-item h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 0.4rem; }
.cap-item p { color: var(--cream-dim); font-size: 0.92rem; }
@media (max-width: 820px) { .cap { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.info-block { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 1.4rem; }
.info-block:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.info-block .k { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.info-block a, .info-block p { color: var(--cream); font-size: 1.05rem; }
.info-block a:hover { color: var(--gold); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Rich text (impressum) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-serif); font-size: 1.7rem; margin: 2.5rem 0 0.9rem; }
.prose h3 { font-size: 1rem; letter-spacing: 0.02em; margin: 1.8rem 0 0.4rem; color: var(--gold); }
.prose p, .prose li { color: var(--cream-dim); margin-bottom: 0.8rem; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-motif { opacity: 0.3; right: -18%; width: 96vw; }
  .hero-frame { inset: 10px; }

  .nav-toggle { display: flex; }
  .nav-right { gap: 0.9rem; }
  .nav-right > .btn--gold { display: none; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(13,28,19,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-120%);
    transition: transform 0.5s var(--ease);
    max-height: calc(100svh - 76px); overflow-y: auto;
  }
  body.nav-open .nav-links { transform: none; }
  .nav-links a { width: 100%; font-size: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .mobile-cta {
    display: inline-flex; width: 100%; justify-content: center;
    font-size: 0.82rem; margin-top: 1.4rem; border-bottom: none !important;
  }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .grid-2 { grid-template-columns: 1fr; }
}

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

/* ============================================================
   Typography v2 — Playfair Display is reserved for the hero
   signature ("Intelligente Systeme. Stärkeres Business.") and
   the sulgen. wordmark. Everything else: Inter grotesk.
   Short titles = uppercase; sentence headlines = normal case.
   ============================================================ */

/* Sentence headlines — grotesk, normal case */
.h-sec, .offer h2, .cta-band h2, .acc-head h3, .statement .display, .offer .display, .prose h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0;
}
.h-sec { font-size: clamp(1.7rem, 3.8vw, 2.7rem); line-height: 1.15; }
.offer h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.25; }
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.18; }
.acc-head h3 { font-size: clamp(1.05rem, 2.1vw, 1.35rem); line-height: 1.4; }
.statement .display { font-size: clamp(1.35rem, 2.9vw, 2.1rem); line-height: 1.35; }
.prose h2 { font-size: 1.25rem; }

/* Short titles — grotesk, uppercase (like the design-lab sheets) */
.card h3, .cap-item h3, .svc-row h2, .value .k, .page-hero h1 {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.card h3 { font-size: 1.12rem; }
.cap-item h3 { font-size: 1rem; }
.svc-row h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.value .k { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.12; }

/* Numbers & accents — no more serif italics outside the hero */
.card .num, .svc-row .num {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}
.svc-row .outcome {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--gold);
}

/* ============================================================
   Light theme — "Galerie-Grau" (Color Lab 03).
   Graphite accents, gold survives only as the glowing nodes.
   Toggled via data-theme="light" on <html>.
   ============================================================ */
.theme-toggle {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--cream-dim);
  display: grid; place-items: center;
  font-size: 13px; line-height: 1;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); transform: rotate(180deg); }

[data-theme="light"] {
  --bg: #e8e8e5;
  --bg-deep: #dededa;
  --bg-elev: #e3e3df;
  --bg-elev-2: #dadad5;
  --line: rgba(32, 34, 32, 0.15);
  --line-strong: rgba(32, 34, 32, 0.32);
  --gold: #2c2e2a;
  --gold-bright: #454741;
  --gold-dim: rgba(44, 46, 42, 0.55);
  --cream: #202220;
  --cream-dim: rgba(32, 34, 32, 0.72);
  --cream-faint: rgba(32, 34, 32, 0.46);
  --muted-sage: #5a5f56;
  --btn-ink: #f1f1ee;
}
[data-theme="light"] body::before {
  background:
    radial-gradient(120% 90% at 75% 40%, rgba(32,34,32,0.05), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}
[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(32,34,32,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,34,32,0.05) 1px, transparent 1px);
}
[data-theme="light"] .hero-frame { border-color: rgba(44,46,42,0.45); }
[data-theme="light"] .hero h1 { text-shadow: none; }
[data-theme="light"] .hero-rule { background: rgba(44,46,42,0.6); }
/* Fallback only (when the SVG stays an <img>) — monochrome, never brown */
[data-theme="light"] img.hero-motif { filter: grayscale(1) brightness(0.5) contrast(1.05); }
/* Inlined SVG: crisp graphite ink drawing, black node points (Line Lab 26) */
[data-theme="light"] svg.hero-motif .dots { stroke: #82877d; opacity: 0.5; }
[data-theme="light"] svg.hero-motif .arc { stroke: rgba(32, 34, 32, 0.5); filter: none; }
[data-theme="light"] svg.hero-motif .node .core { fill: #101210; filter: none; }
[data-theme="light"] svg.hero-motif .node .halo { fill: rgba(32, 34, 32, 0.07); }
[data-theme="light"] .site-header.is-scrolled { background: rgba(232,232,229,0.85); }
[data-theme="light"] .card,
[data-theme="light"] .cap-item {
  border-color: rgba(44,46,42,0.5);
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(32,34,32,0.045) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(32,34,32,0.045) 23px 24px),
    var(--bg-deep);
}
[data-theme="light"] .card:hover,
[data-theme="light"] .cap-item:hover { border-color: rgba(44,46,42,0.85); }
[data-theme="light"] .offer {
  border-color: rgba(44,46,42,0.5);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(32,34,32,0.05), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(32,34,32,0.045) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(32,34,32,0.045) 23px 24px),
    var(--bg-deep);
}
[data-theme="light"] .isoT { fill: rgba(44,46,42,0.1); stroke: rgba(44,46,42,0.65); }
[data-theme="light"] .isoL { fill: rgba(44,46,42,0.04); stroke: rgba(44,46,42,0.5); }
[data-theme="light"] .isoR { fill: rgba(44,46,42,0.16); stroke: rgba(44,46,42,0.5); }
[data-theme="light"] .isoW { stroke: rgba(44,46,42,0.55); }
[data-theme="light"] .ill-line { stroke: rgba(44,46,42,0.5); }
[data-theme="light"] .ill-ring { stroke: rgba(44,46,42,0.55); }
[data-theme="light"] .ill-box { stroke: rgba(44,46,42,0.55); fill: rgba(44,46,42,0.05); }
[data-theme="light"] .ill-dot { fill: #7c8177; }
[data-theme="light"] .ill-node { fill: #a8853f; }
[data-theme="light"] .ill-halo { fill: rgba(168,133,63,0.22); }
[data-theme="light"] .ill-flow { stroke: #8a6d33; }
[data-theme="light"] .acc-item.open .acc-icon { background: rgba(44,46,42,0.08); }
[data-theme="light"] .field input:focus,
[data-theme="light"] .field textarea:focus,
[data-theme="light"] .field select:focus { box-shadow: 0 0 0 3px rgba(44,46,42,0.12); }
[data-theme="light"] .form-status.ok { color: #6e561f; }
[data-theme="light"] .form-status.err { color: #9c3535; }
@media (max-width: 900px) {
  [data-theme="light"] .nav-links { background: rgba(232,232,229,0.97); }
}
