/* ==========================================================================
   FORVELL — Design System
   Palette: Patina & Rost
   ========================================================================== */

:root {
  --beige: #E2D6BC;
  --beige-light: #F3EDDE;
  --creme: #FAF6EC;
  --waldgruen: #2C4A3A;
  --waldgruen-dark: #1D3228;
  --patina: #6B8F7F;
  --patina-light: #A9C0B3;
  --rost: #A8451F;
  --rost-light: #C0603A;
  --dunkel: #241E18;

  --font-display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --transition: 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dunkel);
  background: var(--creme);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--waldgruen-dark);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: 1px; font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: 0.5px; margin-bottom: 20px; }
h3 { font-size: 1.3rem; letter-spacing: 0.5px; margin-bottom: 10px; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--rost);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 14px;
}

p { color: #4A453D; margin-bottom: 16px; max-width: 62ch; }
p.lead { font-size: 1.15rem; color: var(--dunkel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
}
.btn-primary {
  background: var(--rost);
  color: var(--creme);
}
.btn-primary:hover {
  background: var(--rost-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 69, 31, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--creme);
  border-color: rgba(250, 246, 236, 0.5);
}
.btn-ghost:hover {
  border-color: var(--creme);
  background: rgba(250, 246, 236, 0.1);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--waldgruen-dark);
  border-color: var(--waldgruen-dark);
}
.btn-outline:hover {
  background: var(--waldgruen-dark);
  color: var(--creme);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 6px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  margin: 0;
  padding: 0 20px;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 236, 0.94);
  backdrop-filter: blur(10px);
  padding: 6px 0;
  box-shadow: 0 2px 20px rgba(36, 30, 24, 0.06);
}
.logo-link { display: flex; align-items: center; height: 44px; overflow: visible; }
.logo-link img {
  height: 128px;
  width: auto;
  margin: -42px 0;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.site-header.is-scrolled .logo-link img { filter: none; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav ul { display: flex; gap: 24px; list-style: none; }
.main-nav .btn { padding: 12px 22px; font-size: 0.72rem; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--creme);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.site-header.is-scrolled .main-nav a { color: var(--waldgruen-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--creme);
  transition: background var(--transition);
}
.site-header.is-scrolled .nav-toggle span,
body.nav-open .nav-toggle span { background: var(--waldgruen-dark); }

/* dark header variant for non-hero pages */
.site-header.on-light .logo-link img { filter: none; }
.site-header.on-light .main-nav a { color: var(--waldgruen-dark); }

/* ---------- Intro: Impact + Hero share one fixed background ---------- */
/* Same technique as the (now-removed) Painpoints/Statement sections used:
   a real position:fixed element (.pin-fixed-bg, see below) rather than
   CSS background-attachment:fixed, which forces a repaint on every scroll
   frame in most engines. It's shown/hidden via IntersectionObserver (see
   main.js) as the whole .intro-pin section enters/exits view, so it stays
   visually pinned across both slides and only the text scrolls. */
.intro-pin { padding: 0; position: relative; }
.pin-fixed-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.pin-fixed-bg.is-visible { opacity: 1; }
#intro-bg {
  background-image: linear-gradient(180deg, rgba(29,50,40,0.55) 0%, rgba(29,50,40,0.35) 40%, rgba(29,50,40,0.75) 100%), url('../img/hero-background.jpg');
  background-position: 85% 30%, 85% 30%;
}
.hero, .impact-section {
  position: relative;
  z-index: 2;
  height: calc(100svh + 1px);
  margin-bottom: -1px;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
/* Pulls the text further left than the shared centered .container allows,
   without risking it clipping off-screen on narrower desktop widths the
   way a fixed negative margin would — the padding scales with viewport
   width but always stays within safe, positive bounds. .hero/.impact-section
   are flex containers, so margin:auto (inherited from the base .container
   rule) was still auto-centering this box regardless of max-width; margin:0
   here disables that so flex-start + padding-left is what actually
   positions it. */
.hero .container, .impact-section .container {
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 6vw, 120px);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--creme);
  max-width: 780px;
}
.hero-content .eyebrow { color: var(--patina-light); }
.hero-content h1 { color: var(--creme); margin-bottom: 22px; }
.hero-content p.lead { color: rgba(250,246,236,0.88); margin-bottom: 34px; max-width: 52ch; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250,246,236,0.7);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: rgba(250,246,236,0.5);
  overflow: hidden;
  position: relative;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--creme);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
section.tight { padding: 70px 0; }
.section-alt { background: var(--beige-light); }
.section-dark { background: var(--waldgruen-dark); color: var(--creme); }
.section-dark h2, .section-dark h3 { color: var(--creme); }
.section-dark p { color: rgba(250,246,236,0.82); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2,0.6,0.2,1), transform 0.9s cubic-bezier(0.2,0.6,0.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- USP grid ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.usp-item .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--rost);
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}
/* Druckstufen (3/6/10 bar): larger and in the warm accent color so the
   tier number pops against the dark section background */
.usp-item .num.bar-level {
  font-size: 2.2rem;
  color: var(--rost-light);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.usp-item h3 { color: var(--waldgruen-dark); }

/* ---------- Package cards ---------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.package-card {
  background: var(--creme);
  border: 1px solid rgba(44,74,58,0.12);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px rgba(36,30,24,0.1);
  border-color: var(--patina);
}
.package-card .zoll {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--patina);
  margin-bottom: 4px;
}
.package-card.featured { border-color: var(--rost); position: relative; }
.package-card.featured::before {
  content: 'Premium';
  position: absolute;
  top: -12px; right: 24px;
  background: var(--rost);
  color: var(--creme);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}
.package-card ul { list-style: none; margin: 20px 0 28px; flex-grow: 1; }
.package-card li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: #4A453D;
  font-size: 0.95rem;
}
.package-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border: 1.4px solid var(--rost);
  border-radius: 50%;
}
.package-card .card-link {
  font-family: var(--font-display);
  letter-spacing: 1px;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--waldgruen-dark);
  border-bottom: 1px solid var(--waldgruen-dark);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color var(--transition), border-color var(--transition);
}
.package-card .card-link:hover { color: var(--rost); border-color: var(--rost); }

/* ---------- About teaser / split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }
.split-media {
  aspect-ratio: 4/5;
  background: var(--patina);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,246,236,0.75);
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(150deg, var(--waldgruen), var(--patina));
}

/* ---------- Closing CTA band ---------- */
.cta-band {
  background: var(--dunkel);
  color: var(--creme);
  text-align: center;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--creme); }
.cta-band p { color: rgba(250,246,236,0.9); margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dunkel);
  color: rgba(250,246,236,0.72);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(250,246,236,0.12);
}
.footer-grid img { height: 126px; width: auto; margin-bottom: 18px; }
.footer-grid h4 {
  color: var(--creme);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { transition: color var(--transition); }
.footer-grid a:hover { color: var(--rost-light); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ---------- Inner page hero (non-video) ---------- */
.page-hero {
  padding: 200px 0 90px;
  background: var(--waldgruen-dark);
  color: var(--creme);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 85% 20%, rgba(107,143,127,0.4), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(168,69,31,0.28), transparent 50%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--creme); }
.page-hero p.lead { color: rgba(250,246,236,0.85); }
.page-hero-img {
  position: absolute; inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.leistungen-hero::before {
  background:
    linear-gradient(90deg, rgba(29,50,40,0.92) 0%, rgba(29,50,40,0.55) 45%, rgba(29,50,40,0.15) 100%);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--waldgruen-dark);
  margin-bottom: 8px;
}
input, textarea {
  width: 100%;
  border: 1px solid rgba(44,74,58,0.25);
  background: var(--creme);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dunkel);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--rost);
  box-shadow: 0 0 0 3px rgba(168,69,31,0.12);
}
textarea { resize: vertical; min-height: 140px; }
.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  min-height: 1.4em;
}
.form-status.is-success { color: var(--waldgruen-dark); }
.form-status.is-error { color: var(--rost); }

/* ---------- Contact info list ---------- */
.split.reverse.contact-split {
  grid-template-columns: 1.4fr 0.6fr;
  align-items: start;
}
@media (max-width: 980px) {
  .split.reverse.contact-split { grid-template-columns: 1fr; }
}
.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(44,74,58,0.12);
}
.info-list.compact li { padding: 10px 0; }
.info-list .label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--patina);
  min-width: 110px;
}

/* ---------- Legal pages ---------- */
.legal h2 { margin-top: 36px; }
.legal p, .legal li { color: #4A453D; }
.legal ul { padding-left: 20px; margin-bottom: 16px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==========================================================================
   Cinematic components (Alethia-inspired: sticky-scroll, glow, big type,
   case-style feature cards)
   ========================================================================== */

.display-huge {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
}

/* tight editorial headline (Alethia-Prinzip: sehr dichte Zeilen/Buchstaben) */
.title-tight {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  color: var(--waldgruen-dark);
}
.section-dark .title-tight { color: var(--creme); }

/* word-by-word scroll reveal */
.word-reveal .word { opacity: 0.16; display: inline-block; }

/* glow orbs used for depth on dark sections */
.glow-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.glow-orb.patina { background: var(--patina); width: 480px; height: 480px; }
.glow-orb.rost { background: var(--rost); width: 380px; height: 380px; opacity: 0.35; }

/* floating stat card */
.stat-card {
  position: absolute;
  background: rgba(250, 246, 236, 0.08);
  border: 1px solid rgba(250, 246, 236, 0.18);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 22px 26px;
  z-index: 3;
  color: var(--creme);
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--patina-light);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: rgba(250,246,236,0.75);
}

/* sticky-scroll feature section (pinned visual, scrolling steps) */
.sticky-feature { position: relative; }
.sticky-feature .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.sticky-visual {
  position: sticky;
  top: 110px;
  height: 64vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--waldgruen-dark), var(--patina) 130%);
}
.sticky-visual-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.sticky-visual .visual-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 34px;
}
.sticky-visual .visual-inner span {
  font-family: var(--font-display);
  color: var(--creme);
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.sticky-steps { display: flex; flex-direction: column; gap: 46vh; padding: 6vh 0 10vh; }
.sticky-step .num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--rost);
  letter-spacing: 3px;
  margin-bottom: 18px;
  display: block;
}
.sticky-step h3 { font-size: 1.8rem; margin-bottom: 14px; }
.sticky-step p { font-size: 1.02rem; }

/* case-style feature cards (Pakete) */
.case-grid { display: flex; flex-direction: column; gap: 22px; }
.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 44px;
  background: linear-gradient(160deg, var(--waldgruen-dark) 0%, var(--waldgruen) 60%, var(--patina) 140%);
  transition: transform var(--transition);
}
.case-card:hover { transform: scale(1.008); }
.case-card.alt {
  background: linear-gradient(160deg, var(--dunkel) 0%, var(--rost) 130%);
}
.case-card .glow-field { z-index: 1; }
.case-card-content { position: relative; z-index: 2; max-width: 640px; }
.case-card .eyebrow { color: var(--patina-light); }
.case-card.alt .eyebrow { color: #E8B49A; }
.case-card h3 {
  font-family: var(--font-display);
  color: var(--creme);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 14px;
}
.case-card p { color: rgba(250,246,236,0.82); margin-bottom: 22px; }
.case-card .card-link {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--creme);
  border-bottom: 1px solid rgba(250,246,236,0.5);
  padding-bottom: 4px;
}
.case-card .zoll-mark {
  position: absolute;
  top: 36px; right: 44px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: rgba(250,246,236,0.55);
  letter-spacing: 1px;
}

@media (max-width: 980px) {
  .sticky-feature .container { grid-template-columns: 1fr; }
  .sticky-visual { position: relative; top: 0; height: 40vh; margin-bottom: 30px; }
  .sticky-steps { gap: 40px; padding: 0; }
}

/* ==========================================================================
   Editorial / GSAP-driven components (aus der Referenz-Analyse übernommen,
   Inhalte durch echte FORVELL-Informationen ersetzt)
   ========================================================================== */

/* hero reveal-line headline */
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.reveal-line > span { display: block; transform: translateY(115%); }

/* organic decorative blob behind hero content */
.hero-orb {
  position: absolute;
  z-index: 1;
  border-radius: 46% 54% 58% 42% / 44% 42% 58% 56%;
  filter: blur(2px);
  opacity: 0.5;
  background: radial-gradient(circle at 35% 30%, rgba(107,143,127,0.55), transparent 45%),
              linear-gradient(135deg, var(--patina) 0%, var(--waldgruen-dark) 70%);
  width: min(30vw, 460px);
  aspect-ratio: 1.1;
  right: -6%;
  top: 8%;
}

.data-chip {
  position: absolute;
  z-index: 3;
  background: rgba(29,50,40,0.82);
  border: 1px solid rgba(250,246,236,0.2);
  backdrop-filter: blur(12px);
  padding: 16px 18px;
  width: 168px;
  border-radius: var(--radius);
  color: var(--creme);
}
.data-chip span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.68;
}
.data-chip strong { display: block; margin-top: 10px; font-size: 1.5rem; font-weight: 500; font-family: var(--font-display); }
.chip-a { top: 22%; left: 2%; }
.chip-b { right: 4%; bottom: 16%; background: var(--rost); border-color: transparent; }

.impact-text { max-width: 640px; }
.impact-section .eyebrow { color: var(--patina-light); }
.impact-section .title-tight { color: var(--creme); }
.impact-section p.lead { color: rgba(250,246,236,0.88); }

/* numbered process row list */
.step-list { border-top: 1px solid rgba(44,74,58,0.15); }
.step-row { display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid rgba(44,74,58,0.15); align-items: baseline; }
.step-row .step-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--rost); }
.step-row h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0; }
.step-row p { margin: 0; }

/* big statement lines */
.statement { padding: 16vh 0 20vh; }
.statement-line { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: 0.5px; }
.statement-line.muted { color: rgba(250,246,236,0.22); }
.statement-line.active { color: var(--creme); }

/* qualitative floating collage (truthful, no fabricated stats) */
.trust-stage { height: 100svh; position: sticky; top: 0; display: grid; place-items: center; overflow: hidden; }
.trust-section { height: 220vh; }
.trust-title { max-width: 780px; text-align: center; z-index: 3; position: relative; }
.float-card {
  position: absolute; width: 190px; min-height: 100px; padding: 18px;
  background: var(--creme); border: 1px solid rgba(44,74,58,0.12);
  box-shadow: 0 18px 50px rgba(36,30,24,0.1); border-radius: var(--radius);
  z-index: 2; display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--font-display); font-size: 0.92rem;
  color: var(--waldgruen-dark); letter-spacing: 0.3px;
}
.float-card.dark { background: var(--dunkel); color: var(--creme); }
.float-a { left: 4%; top: 12%; } .float-b { right: 6%; top: 16%; }
.float-c { left: 10%; bottom: 10%; } .float-d { right: 12%; bottom: 10%; }

@media (max-width: 980px) {
  .step-row { grid-template-columns: 50px 1fr; }
  .step-row p { grid-column: 2; }
  .float-card { transform: scale(0.78); }
}

/* ---------- illustrative artwork (replaces empty placeholder boxes) ---------- */
.card-art {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}
.card-art svg { width: 100%; height: 100%; }
.card-art circle, .card-art line { stroke: var(--creme); }

.scene-illustration {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene-illustration svg { width: 78%; height: 78%; }

.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-frame svg { width: 56%; height: auto; }
.portrait-frame .frame-ring {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(250,246,236,0.35);
  border-radius: 50%;
}

.question-ticks {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 44px;
  font-family: var(--font-display);
  letter-spacing: 1px;
  color: var(--rost);
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
}
.question-ticks a.on, .question-ticks span.on { color: var(--rost); }
.question-ticks .sep { color: var(--rost); }
.question-ticks a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}
.question-ticks a:hover, .question-ticks a:focus-visible { opacity: 0.65; text-decoration: underline; }

/* Glossary-style link: marks a term (SEO/GEO) as connected to its FAQ
   answer. Dotted underline keeps it visually distinct from a normal
   navigation link while working on both light and dark backgrounds
   via color:inherit. */
.term-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}
.term-link:hover, .term-link:focus-visible { opacity: 0.65; }

/* ---------- pinned sequence (Statement + Zoll-Showcase share this mechanic) ----------
   Each "slide" is a real 100svh block in normal document flow with native CSS scroll-
   snap — scroll-snap-stop:always is what guarantees a scroll gesture can never skip
   past one, which is a browser-native guarantee instead of a hand-rolled scroll-timing
   heuristic. Each slide is spatially separate by nature of real scroll position, so
   nothing needs JS-driven show/hide — Painpoints and Statement are pure CSS, no
   sticky layer either (Safari has a known issue where position:sticky combined with
   scroll-snap re-settles late, causing a delayed visible jump — giving each slide its
   own background instead of sharing one sticky layer sidesteps that entirely). Only
   the Zoll-Pakete showcase still uses .pin-bg, purely to keep the progress dots
   pinned on screen (an IntersectionObserver drives which dot is lit). */
html { scroll-snap-type: y proximity; }
.pin-wrap { position: relative; }
.pin-bg {
  position: sticky;
  top: 0;
  height: 100svh;
  margin-bottom: -100svh;
  z-index: 0;
}
.snap-step {
  /* the 1px overlap (not exactly 100svh) closes a hairline gap Safari can
     otherwise render between adjacent vh-sized blocks, letting the page
     background show through as a thin bar between slides */
  position: relative;
  z-index: 2;
  height: calc(100svh + 1px);
  margin-bottom: -1px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pin-progress {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}
.pin-progress .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(250,246,236,0.28);
  transition: background var(--transition), transform var(--transition);
}
.pin-progress .dot.active { background: var(--rost); transform: scale(1.3); }


/* ---------- zoll showcase ---------- */
.zoll-showcase { padding: 0; background: var(--dunkel); }
/* The package panels' text used to sit inside the same max-width, auto-
   centered .container as the rest of the site — fine for normal sections,
   but here it pulled the text noticeably away from the true left edge
   (large screens leave a wide empty margin before a centered container),
   which read as "centered" rather than a confident left-aligned column
   against the right-hand mockup. Letting .container go full-width for
   just these panels anchors the text hard to the left edge instead; the
   intro slide ("Wie groß denkst du?") still centers itself independently
   via its own flex rules further down, so it's unaffected. */
.zoll-panel .container { max-width: none; width: 100%; margin: 0; }
.zoll-panel-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(13,20,16,0.94) 0%, rgba(13,20,16,0.82) 38%, rgba(13,20,16,0.3) 68%, rgba(13,20,16,0.12) 100%);
}
.zoll-panel-content {
  position: relative; z-index: 2;
  /* width is set via max-width, not padding — everything here is
     box-sizing:border-box, so padding-based offsets shrink the actual
     text column and force extra wrapping (caused a vertical overflow
     bug in the fixed-height snap slides). margin-left offsets the block
     without eating into its own width. */
  max-width: 640px;
  margin-left: calc(((100% - 640px) / 2 + clamp(24px, 6vw, 96px)) / 2);
}
.zoll-eyebrow-row { display: flex; align-items: baseline; gap: 18px; margin-bottom: 6px; }
.zoll-huge {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: 0.92;
  color: var(--rost-light);
  letter-spacing: -0.01em;
  margin: 4px 0 6px;
}
.zoll-panel-intro .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.zoll-panel-intro h2 {
  color: var(--creme);
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.zoll-panel-content .zoll-kicker {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--creme);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  display: block;
}
.zoll-panel-content .lead { color: rgba(250,246,236,0.88); }
.zoll-features { list-style: none; margin: 22px 0 30px; }
.zoll-features li {
  padding: 9px 0 9px 22px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(250,246,236,0.82);
  border-bottom: 1px solid rgba(250,246,236,0.1);
}
.zoll-features li::before {
  content: '';
  position: absolute; left: 0; top: 17px;
  width: 7px; height: 7px;
  border: 1.4px solid var(--rost-light);
  border-radius: 50%;
}

/* website mockups (abstract, complexity grows per tier) */
.site-mockup {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 4%;
}
.mockup-frame {
  width: min(52vw, 760px);
  background: var(--beige-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0,0,0,0.5);
  transform: perspective(1400px) rotateY(-6deg) rotateX(1deg);
}
.mockup-chrome {
  height: 26px;
  background: var(--waldgruen-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.mockup-chrome span { width: 7px; height: 7px; border-radius: 50%; background: rgba(250,246,236,0.3); }
.mockup-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mb-nav { display: flex; gap: 8px; margin-bottom: 4px; }
.mb-nav i { width: 34px; height: 6px; border-radius: 3px; background: rgba(44,74,58,0.25); display: block; }
.mb-hero { height: 90px; border-radius: 6px; background: linear-gradient(135deg, var(--patina), var(--waldgruen)); }
.mb-hero.video { display: flex; align-items: center; justify-content: center; height: 130px; }
.mb-hero.video .play {
  width: 0; height: 0;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(250,246,236,0.85);
}
.mb-row { display: flex; gap: 8px; }
.mb-row .card { flex: 1; height: 44px; border-radius: 5px; background: rgba(44,74,58,0.12); }
.mb-row.blog .card { height: 58px; background: rgba(168,69,31,0.16); }
.mb-strip { height: 20px; border-radius: 4px; background: rgba(44,74,58,0.1); }
.mb-widget {
  height: 30px; border-radius: 5px; background: rgba(107,143,127,0.35);
  display: flex; align-items: center; padding: 0 10px; gap: 6px;
}
.mb-widget i { width: 12px; height: 12px; border-radius: 3px; background: var(--rost); display: block; }

@media (max-width: 980px) {
  .zoll-panel-content { max-width: 100%; margin-left: 0; padding: 0 24px; }
  .site-mockup { opacity: 0.25; justify-content: center; padding: 0; }
  .mockup-frame { width: 84vw; transform: none; }
  .pin-progress { display: none; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(44,74,58,0.14);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid rgba(44,74,58,0.14); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--waldgruen-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  line-height: 1;
  color: var(--rost);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p {
  margin: 16px 0 0;
  max-width: 65ch;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .usp-grid, .package-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav ul { display: none; }
  .main-nav .btn { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .main-nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--beige-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1050;
  }
  body.nav-open .main-nav ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  body.nav-open .main-nav a { color: var(--waldgruen-dark); font-size: 1.4rem; }
  body.nav-open .main-nav .btn { display: inline-flex; margin-top: 20px; }
  .hero-content { max-width: 100%; }
  section { padding: 74px 0; }
  .page-hero { padding: 150px 0 60px; }
  /* the desktop logos are deliberately oversized via negative margins
     (header) and 3x'd (footer) — both scaled back down here so they fit
     the much shorter mobile header/footer instead of overflowing it. */
  .logo-link { height: 36px; }
  .logo-link img { height: 70px; margin: -17px 0; }
  .footer-grid img { height: 64px; }
  /* Mobile: darken the Intro background more so the headline text over it
     stays readable on small screens (image reads much more dominant at
     this size than on desktop). */
  #intro-bg {
    background-image: linear-gradient(180deg, rgba(29,50,40,0.72) 0%, rgba(29,50,40,0.58) 40%, rgba(29,50,40,0.85) 100%), url('../img/hero-background.jpg');
  }
  /* Safari treats an ancestor's backdrop-filter as a containing block for
     position:fixed descendants, which shrinks the full-screen nav overlay
     down to the header bar when it's opened while scrolled (.is-scrolled
     has backdrop-filter). Drop the blur while the menu is open so the
     overlay fixes to the real viewport instead. */
  body.nav-open .site-header.is-scrolled { backdrop-filter: none; }
}
