/* ============================================================
   MyProfi — Editorial B2B Landing
   Palette: warm paper ground, deep emerald accent, near-black ink
   Type: Fraunces (display serif) + Instrument Sans (body)
   ============================================================ */

:root {
  --paper: #f7f4ed;
  --paper-2: #efeadf;
  --paper-3: #e7e1d3;
  --ink: #131711;
  --ink-soft: #3d443c;
  --ink-faint: #767d72;
  --green: #0b5c3e;
  --green-deep: #07402b;
  --green-darker: #052e1f;
  --green-bright: #1fa370;
  --green-pale: #d8e8dc;
  --line: rgba(19, 23, 17, 0.14);
  --line-strong: rgba(19, 23, 17, 0.55);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px -24px rgba(7, 64, 43, 0.28);
  --shadow-plane: 0 30px 70px -30px rgba(5, 46, 31, 0.45);

  --gutter: clamp(1.25rem, 5vw, 6rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--green); color: var(--paper); }

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.5;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.4rem;
}
.eyebrow-dark { color: var(--green-bright); }

.section-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.section-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}

.body-lg {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 38em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--green);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-light {
  background: var(--paper);
  color: var(--green-deep);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-sm { padding: 0.65rem 1.3rem; font-size: 0.92rem; }
.cta-short { display: none; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-light { padding: 1rem 1.9rem; font-size: 1rem; }

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-arrow:hover { color: var(--green); border-color: var(--green); }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 244, 237, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 4.6rem;
  max-width: 90rem;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark { color: var(--green); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark { width: 1.9rem; height: 1.9rem; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}
.site-nav { display: flex; gap: 2.2rem; }
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
.site-nav a:hover { color: var(--green); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--gutter) 4rem;
  max-width: 90rem;
  margin: 0 auto;
}
.hero-content { position: relative; z-index: 2; max-width: 46rem; }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 7.2vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
}
.hero-headline .line { display: block; }
.hero-headline .line-accent {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 2.6rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
  margin-top: clamp(3rem, 7vh, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}
.hero-stat span {
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* Hero visual — layered ascending planes */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.hero-glow {
  position: absolute;
  top: 8%;
  right: -12%;
  width: 55vw;
  height: 55vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(31, 163, 112, 0.16) 0%, rgba(31, 163, 112, 0.05) 45%, transparent 70%);
}
.plane {
  position: absolute;
  right: clamp(-6rem, -3vw, 0rem);
  width: clamp(15rem, 30vw, 26rem);
  aspect-ratio: 1.55;
  border-radius: 1.4rem;
  transform: rotate(-14deg) skewX(-8deg);
  box-shadow: var(--shadow-plane);
  animation: float 9s ease-in-out infinite;
}
.plane-1 {
  top: 62%;
  right: clamp(4rem, 16vw, 18rem);
  background: linear-gradient(135deg, var(--paper-3) 0%, var(--paper-2) 100%);
  border: 1px solid rgba(19, 23, 17, 0.08);
  animation-delay: 0s;
}
.plane-2 {
  top: 44%;
  right: clamp(1rem, 11vw, 13rem);
  background: linear-gradient(135deg, var(--green-pale) 0%, #c3dccb 100%);
  border: 1px solid rgba(11, 92, 62, 0.12);
  animation-delay: -2.2s;
}
.plane-3 {
  top: 26%;
  right: clamp(-1rem, 6vw, 8rem);
  background: linear-gradient(135deg, #2b7d59 0%, var(--green) 55%, var(--green-deep) 100%);
  animation-delay: -4.5s;
}
.plane-4 {
  top: 7%;
  right: clamp(-3rem, 1.5vw, 3rem);
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-darker) 100%);
  animation-delay: -6.8s;
}
.plane-3::after, .plane-4::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0%, transparent 40%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  animation: float 11s ease-in-out infinite;
}
.orb-1 {
  top: 16%;
  right: clamp(16rem, 34vw, 34rem);
  width: 3.2rem;
  height: 3.2rem;
  background: radial-gradient(circle at 30% 30%, var(--green-bright), var(--green-deep));
  box-shadow: 0 18px 36px -12px rgba(7, 64, 43, 0.5);
  animation-delay: -1.5s;
}
.orb-2 {
  top: 74%;
  right: clamp(1rem, 7vw, 7rem);
  width: 1.6rem;
  height: 1.6rem;
  background: radial-gradient(circle at 30% 30%, #f3efe5, var(--paper-3));
  border: 1px solid rgba(19, 23, 17, 0.1);
  animation-delay: -5s;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

/* Plane details — abstract payslip motifs */
.plane { overflow: hidden; }
.plane-chip {
  position: absolute;
  top: 1.4rem;
  left: 1.6rem;
  background: var(--green-bright);
  color: var(--green-darker);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.42em 1.05em;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.plane-rows {
  position: absolute;
  left: 1.6rem;
  right: 42%;
  bottom: 1.5rem;
  height: 2.3rem;
  background: repeating-linear-gradient(to bottom, rgba(247, 244, 237, 0.45) 0 2px, transparent 2px 11px);
  opacity: 0.55;
}
.plane-euro {
  position: absolute;
  right: 1.4rem;
  bottom: 0.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: rgba(247, 244, 237, 0.16);
}
.plane-bars {
  position: absolute;
  left: 1.6rem;
  bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 3.4rem;
}
.plane-bars i {
  width: 0.95rem;
  border-radius: 0.3rem 0.3rem 0 0;
  background: rgba(11, 92, 62, 0.3);
}
.plane-bars i:nth-child(1) { height: 38%; }
.plane-bars i:nth-child(2) { height: 64%; }
.plane-bars i:nth-child(3) { height: 100%; background: rgba(11, 92, 62, 0.55); }
.plane-ring {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(19, 23, 17, 0.18);
  border-radius: 50%;
}
.plane-ring::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 50%;
  background: rgba(11, 92, 62, 0.16);
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--paper-2);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ticker-track i { color: var(--green); font-style: normal; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* ---------- Calculator ---------- */
.calculator-section {
  padding: clamp(5rem, 10vh, 8.5rem) var(--gutter);
  max-width: 90rem;
  margin: 0 auto;
}
.section-head { margin-bottom: 3rem; }

.calculator {
  background: linear-gradient(150deg, var(--green-deep) 0%, var(--green-darker) 70%);
  color: var(--paper);
  border-radius: 2rem;
  padding: clamp(2rem, 4.5vw, 4.5rem);
  box-shadow: 0 50px 120px -40px rgba(5, 46, 31, 0.55);
  position: relative;
  overflow: hidden;
}
.calculator::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 163, 112, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  position: relative;
}
.calc-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 244, 237, 0.65);
  margin-bottom: 1.1rem;
}
.calc-slider-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.calc-slider-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  min-width: 3.2ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.calc-slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(247, 244, 237, 0.45);
  margin-top: 0.55rem;
  padding-right: calc(3.2ch + 1.6rem);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--green-bright) 0%, var(--green-bright) var(--fill, 10%), rgba(247, 244, 237, 0.22) var(--fill, 10%), rgba(247, 244, 237, 0.22) 100%);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--green-bright);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease-out);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--green-bright);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease-out);
}
input[type="range"]::-moz-range-thumb:hover { transform: scale(1.15); }

.select-wrap { position: relative; }
.select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(247, 244, 237, 0.08);
  border: 1px solid rgba(247, 244, 237, 0.25);
  border-radius: 0.9rem;
  color: #fff;
  padding: 1rem 3rem 1rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.select-wrap select:hover {
  border-color: rgba(247, 244, 237, 0.5);
  background: rgba(247, 244, 237, 0.12);
}
.select-wrap select option { color: var(--ink); background: var(--paper); }
.select-chevron {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  color: currentColor;
  opacity: 0.7;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(1.8rem, 3.5vw, 3rem) 0;
  border-top: 1px solid rgba(247, 244, 237, 0.16);
  border-bottom: 1px solid rgba(247, 244, 237, 0.16);
  position: relative;
}
.calc-result-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 237, 0.6);
  margin-bottom: 0.9rem;
}
.calc-result-label small {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  opacity: 0.75;
}
.calc-result-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: rgba(247, 244, 237, 0.88);
}
.calc-result-savings .calc-result-value {
  color: var(--green-bright);
  text-shadow: 0 0 44px rgba(31, 163, 112, 0.4);
}
.calc-divider {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 237, 0.3);
  display: grid;
  place-items: center;
  align-self: center;
  color: var(--green-bright);
}
.calc-divider svg { width: 1.2rem; height: 1.2rem; transform: rotate(-90deg); }

.calc-bar {
  display: block;
  height: 5px;
  border-radius: 5px;
  background: rgba(247, 244, 237, 0.12);
  margin-top: 1.3rem;
  overflow: hidden;
}
.calc-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: rgba(247, 244, 237, 0.55);
  transition: width 0.8s var(--ease-out);
}
.calc-bar-fill-accent {
  background: linear-gradient(90deg, var(--green-bright), #4cc998);
}

.calc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
  position: relative;
}
.calc-note {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(247, 244, 237, 0.55);
  max-width: 34em;
}

/* ---------- Vergütungsmodell ---------- */
.model-section {
  border-top: 1px solid var(--line);
}
.model-inner {
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(4.5rem, 10vh, 7.5rem) var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.model-copy .section-headline { margin-bottom: 1.6rem; }
.model-points li {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.model-points li:last-child { border-bottom: 1px solid var(--line); }
.model-points strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--green-deep);
}
.model-points span { color: var(--ink-faint); font-size: 0.98rem; }

/* ---------- Problem / Solution ---------- */
.problem-section {
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
  max-width: 90rem;
  margin: 0 auto;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.problem-copy .section-headline { margin-bottom: 1.8rem; }

.solution-callout {
  display: flex;
  gap: 1.4rem;
  margin-top: 2.6rem;
  padding: 1.8rem 2rem;
  background: var(--paper-2);
  border-radius: 1.2rem;
  border: 1px solid var(--line);
}
.solution-marker {
  flex: none;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(var(--green-bright), var(--green-deep));
}
.solution-callout p { color: var(--ink-soft); line-height: 1.65; }
.solution-callout strong { color: var(--green-deep); }

/* Shift diagram */
.shift-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.4rem;
  align-items: end;
  background: #fdfbf6;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-soft);
}
.diagram-title {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.diagram-col { display: flex; flex-direction: column; gap: 0.9rem; }
.diagram-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  min-height: 2.4em;
}
.diagram-bar {
  display: flex;
  flex-direction: column;
  height: clamp(14rem, 24vw, 19rem);
  border-radius: 1rem;
  overflow: hidden;
}
.diagram-seg {
  flex-basis: var(--h);
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  transition: flex-basis 1.2s var(--ease-out);
}
.diagram-seg span {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}
.seg-muted { background: var(--paper-3); color: var(--ink-faint); }
.seg-net { background: var(--green-pale); color: var(--green-deep); }
.seg-net-accent {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--paper);
}
.diagram-arrow {
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green);
  padding-bottom: 4rem;
}

/* ---------- How it works ---------- */
.how-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-inner {
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8.5rem) var(--gutter);
}
.how-section .section-headline { margin-bottom: 1.8rem; }
.how-body { max-width: 46em; }
.how-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.8rem;
  max-width: 56rem;
}
.how-fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.7rem 1.9rem;
  position: relative;
  overflow: hidden;
}
.how-fact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-bright), var(--green-deep));
}
.how-fact h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--green-deep);
}
.how-fact p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }

.module-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.6rem;
}
.module-row li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--paper);
  border: 1px solid rgba(11, 92, 62, 0.25);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  transition: background-color 0.25s ease, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.module-row li:hover {
  background: var(--green);
  color: var(--paper);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* ---------- Benefits — editorial index ---------- */
.benefits-section {
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}
.benefits-head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }

.benefit-row {
  display: grid;
  grid-template-columns: minmax(6rem, 14rem) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
  padding: clamp(1.8rem, 4vh, 3rem) 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.3s ease;
}
.benefit-row:last-child { border-bottom: 1px solid var(--line); }
.benefit-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  color: var(--paper-3);
  -webkit-text-stroke: 1px rgba(11, 92, 62, 0.5);
  transition: color 0.4s ease;
}
.benefit-row:hover .benefit-num { color: var(--green); -webkit-text-stroke: 0px transparent; }
.benefit-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.benefit-body p { color: var(--ink-faint); font-size: 1.05rem; }
/* staggered editorial offsets */
.benefit-row:nth-child(2) .benefit-body { padding-left: clamp(0rem, 4vw, 4rem); }
.benefit-row:nth-child(3) .benefit-body { padding-left: clamp(0rem, 8vw, 8rem); }
.benefit-row:nth-child(4) .benefit-body { padding-left: clamp(0rem, 12vw, 12rem); }

/* ---------- Process ---------- */
.process-section {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}
.process-head, .process-steps { max-width: 90rem; margin: 0 auto; }
.process-head { margin-bottom: clamp(3rem, 7vh, 5rem); }
.process-section .section-headline em { color: var(--green-bright); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.process-step {
  position: relative;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(247, 244, 237, 0.2);
}
.process-num {
  position: absolute;
  top: -0.95rem;
  left: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--green-darker);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}
.process-step p { color: rgba(247, 244, 237, 0.62); line-height: 1.65; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  text-align: center;
  padding: clamp(6rem, 16vh, 11rem) var(--gutter);
  overflow: hidden;
}
.final-cta-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 70vw;
  height: 70vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 163, 112, 0.13) 0%, transparent 62%);
  pointer-events: none;
}
.cta-headline {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 20em;
  margin: 0 auto 1.6rem;
  text-wrap: balance;
}
.cta-headline em { font-style: italic; font-weight: 300; color: var(--green); }
.cta-sub {
  position: relative;
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin-bottom: 2.8rem;
}

/* ---------- Contact ---------- */
.contact-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(var(--paper-2), var(--paper));
}
.contact-inner {
  max-width: 60rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) var(--gutter);
}
.contact-head { text-align: center; margin-bottom: clamp(2.5rem, 6vh, 4rem); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem clamp(1.5rem, 4vw, 3rem);
}
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.6rem;
}
.label-optional {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  opacity: 0.7;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.55rem 0 0.7rem;
  font-size: 1.1rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s ease;
}
.form-field textarea { resize: vertical; line-height: 1.55; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--green);
  margin-bottom: -1px;
}
.select-wrap-form select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  padding: 0.55rem 2.4rem 0.7rem 0;
  font-size: 1.1rem;
  font-weight: 400;
}
.select-wrap-form select:hover { background: transparent; border-color: var(--green); }
.select-wrap-form .select-chevron { color: var(--ink-faint); right: 0.2rem; }
.form-actions {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.form-confirmation {
  color: var(--green-deep);
  font-weight: 500;
  max-width: 34em;
  line-height: 1.55;
}
.field-error { border-bottom-color: #b3401e !important; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem var(--gutter) 4rem;
}
.footer-inner {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 3rem;
  align-items: center;
}
.brand-footer .brand-name { font-size: 1.2rem; }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-faint);
}
.footer-nav { display: flex; gap: 1.8rem; }
.footer-nav a,
.footer-link {
  font-size: 0.9rem;
  color: var(--ink-faint);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.25s ease;
}
.footer-nav a:hover,
.footer-link:hover { color: var(--green); }

/* ---------- Legal modals ---------- */
.legal-modal {
  border: none;
  padding: 0;
  border-radius: 1.6rem;
  background: var(--paper);
  color: var(--ink);
  width: min(44rem, calc(100vw - 2.5rem));
  max-height: 85vh;
  box-shadow: 0 60px 140px -40px rgba(5, 46, 31, 0.5);
}
.legal-modal::backdrop {
  background: rgba(19, 23, 17, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.legal-inner {
  padding: clamp(2rem, 5vw, 3.2rem);
  overflow-y: auto;
  max-height: 85vh;
}
.legal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out);
}
.legal-close:hover {
  background: var(--green);
  color: var(--paper);
  transform: rotate(90deg);
}
.legal-modal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.legal-modal h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--green-deep);
  margin: 1.8rem 0 0.5rem;
}
.legal-modal p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.legal-modal a { color: var(--green-deep); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .site-nav { display: none; }
  .hero { min-height: auto; padding-top: 9rem; }
  .hero-visual { opacity: 0.45; }
  .problem-grid { grid-template-columns: 1fr; }
  .model-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .how-facts { grid-template-columns: 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; gap: 1.6rem; }
  .calc-divider { transform: rotate(90deg); justify-self: start; }
  .process-steps { grid-template-columns: 1fr; }
  .benefit-row:nth-child(n) .benefit-body { padding-left: 0; }
}

/* Phone: hero cards become a compact in-flow composition between copy and stats */
@media (max-width: 48rem) {
  .hero { padding-top: 7.5rem; }
  .hero-content { order: 1; }
  .hero-visual {
    position: relative;
    inset: auto;
    order: 2;
    height: 21rem;
    margin-top: 2.8rem;
    opacity: 1;
  }
  .hero-stats { order: 3; margin-top: 2.8rem; }
  .hero-glow {
    top: -12%;
    right: -24%;
    width: 100vw;
    height: 100vw;
  }
  .plane {
    width: clamp(9.5rem, 48vw, 13rem);
    border-radius: 1.1rem;
    animation-duration: 12s;
  }
  .plane-1 { top: 56%; right: 58%; }
  .plane-2 { top: 38%; right: 39%; }
  .plane-3 { top: 19%; right: 20%; }
  .plane-4 { top: 1%; right: 1%; }
  .plane-chip { top: 1rem; left: 1.1rem; font-size: 0.7rem; }
  .plane-rows { left: 1.1rem; bottom: 1rem; height: 1.8rem; }
  .plane-euro { font-size: 3.6rem; right: 1rem; }
  .plane-bars { left: 1.1rem; bottom: 1rem; height: 2.4rem; }
  .plane-ring { top: 0.9rem; right: 1rem; width: 2rem; height: 2rem; }
  .orb-1 { top: 4%; right: 72%; width: 2.2rem; height: 2.2rem; }
  .orb-2 { display: none; }
  .header-inner { gap: 0.8rem; }
  .site-header .btn-sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }
  .site-header .cta-full { display: none; }
  .site-header .cta-short { display: inline; }
  .brand-name { font-size: 1.2rem; }
}
@media (max-width: 40rem) {
  .form-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-actions { gap: 1.4rem; }
  .benefit-row { grid-template-columns: 4.4rem 1fr; }
  .shift-diagram { grid-template-columns: 1fr; }
  .diagram-arrow { transform: rotate(90deg); padding: 0; justify-self: center; }
}

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