/* ============================================================
   FEROTEC — Relaunch Pitch Mockup
   ============================================================ */

:root {
  /* Brand */
  --green: #117A36;
  --green-deep: #0c5c28;
  --green-soft: #e8f1ea;
  --green-tint: #f3f8f4;
  --blue: #0F3D85;
  --blue-deep: #0a2a5e;
  --blue-soft: #e8edf5;

  /* Neutrals */
  --ink: #14181f;
  --ink-2: #1a1f2b;
  --ink-3: #2a3140;
  --bg: #fafaf8;
  --paper: #ffffff;
  --line: #e7e9ee;
  --line-2: #eef0f4;
  --sand: #f3ede4;
  --muted: #5a6373;
  --muted-2: #8b919c;

  /* Type */
  --sans: "Geist", "Helvetica Neue", system-ui, sans-serif;
  --serif: "Geist", "Helvetica Neue", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ===== Typography utilities ===== */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; font-variation-settings: "opsz" 72; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
}
.eyebrow-blue { color: var(--blue); }
.eyebrow-light { color: rgba(255,255,255,0.65); }
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
h1 { font-size: clamp(48px, 6.5vw, 100px); font-weight: 500; }
h2 { font-size: clamp(40px, 4.6vw, 68px); font-weight: 500; }
h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; }

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

.section { padding: 120px 0; }
.section-sm { padding: 72px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px -8px rgba(17,122,54,.5);
}
.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 30px -8px rgba(15,61,133,.55);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: white;
  border-color: var(--ink);
}
.btn-ghost-dark {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; gap: 6px; }
.btn-lg { height: 60px; padding: 0 28px; font-size: 16px; }

.btn .arrow { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s, backdrop-filter .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 130px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(0,0,0,0.05); color: var(--ink); }

.header-right { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: flex; gap: 2px;
  background: rgba(0,0,0,0.04);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
}
.lang-switch button {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 5px;
}
.lang-switch button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.flag {
  display: inline-block;
  width: 14px; height: 10px;
  border-radius: 2px;
  background: linear-gradient(to bottom, #000 33%, #d00 33% 66%, #fc0 66%);
  transition: transform .35s cubic-bezier(.4,1.5,.5,1);
}
.flag.fr { background: linear-gradient(to right, #002654 33%, #fff 33% 66%, #ED2939 66%); }
.flag.en {
  background:
    linear-gradient(45deg, transparent 47%, #fff 47% 53%, transparent 53%) ,
    linear-gradient(-45deg, transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(45deg, transparent 46%, #C8102E 46% 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #C8102E 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(90deg, transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(0deg, transparent 44%, #C8102E 44% 56%, transparent 56%),
    linear-gradient(90deg, transparent 44%, #C8102E 44% 56%, transparent 56%),
    #012169;
  background-blend-mode: normal;
}
.lang-switch button.active .flag { transform: rotateY(0); }
.lang-switch button:not(.active) .flag { transform: rotateY(180deg); opacity: .6; }

.portal-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: white;
  transition: all .2s;
}
.portal-btn:hover { border-color: var(--ink); }
.portal-btn .avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 0 60px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #fcfcfa 0%, #f6f7f4 100%);
}

/* Animated gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.hero-blob.b1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(17,122,54,0.45), rgba(17,122,54,0) 70%);
  top: -10%; left: -8%;
  animation: blobMove1 22s ease-in-out infinite alternate;
}
.hero-blob.b2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(15,61,133,0.32), rgba(15,61,133,0) 70%);
  top: 10%; right: -12%;
  animation: blobMove2 28s ease-in-out infinite alternate;
}
.hero-blob.b3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(243,237,228,1), rgba(243,237,228,0) 70%);
  bottom: -15%; left: 30%;
  animation: blobMove3 26s ease-in-out infinite alternate;
}
@keyframes blobMove1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes blobMove2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, 60px) scale(0.9); }
}
@keyframes blobMove3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, -100px) scale(1.1); }
}

/* Subtle dot field overlay */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(20,24,31,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 80%);
}

/* Marquee strip below hero */
.hero-marquee {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.hero-marquee::before,
.hero-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero-marquee::before { left: 0; background: linear-gradient(to right, #f6f7f4, transparent); }
.hero-marquee::after  { right: 0; background: linear-gradient(to left, #f6f7f4, transparent); }
.hero-marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.hero-marquee-track span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.hero-marquee-track .sep {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  opacity: .6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 6.4vw, 104px);
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.hero-copy h1 em {
  font-style: normal;
  font-weight: 300;
  color: var(--green);
  position: relative;
}
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.05em;
  height: 3px;
  background: var(--green);
  opacity: 0.18;
  transform-origin: left;
  animation: underlineSweep 1.4s 0.6s cubic-bezier(.2,.7,.2,1) backwards;
}
@keyframes underlineSweep {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-copy h1 .blue-strike {
  position: relative;
  display: inline-block;
}
.hero-copy .lede {
  margin-top: 28px;
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 40px;
  display: flex; align-items: center; gap: 24px;
  font-size: 13px; color: var(--muted);
}
.hero-meta .live-pulse {
  display: inline-flex; align-items: center; gap: 8px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: #22c55e;
  opacity: .3;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Floating spec annotation on hero visual */
.hero-spec {
  position: absolute;
  top: 36%;
  left: 16px;
  z-index: 3;
  display: flex; align-items: center; gap: 0;
  animation: specFloat 5s ease-in-out infinite;
}
.hero-spec-line {
  width: 50px; height: 1px;
  background: linear-gradient(to right, white, rgba(255,255,255,0.3));
  margin-right: -6px;
}
.hero-spec-tag {
  background: white;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.18);
  white-space: nowrap;
}
.hero-spec-tag::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.hero-spec-tag sub { font-size: 9px; vertical-align: baseline; }
@keyframes specFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Image carousel dots */
.hero-img-dots {
  position: absolute;
  bottom: 20px; right: 24px;
  z-index: 3;
  display: flex; gap: 6px;
}
.img-dot {
  width: 24px; height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s, width 0.4s;
  cursor: pointer;
}
.img-dot.active {
  background: white;
  width: 36px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 30px 60px -20px rgba(20,24,31,0.25),
    0 60px 120px -40px rgba(15,61,133,0.18);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.02) translate(0,0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}

.hero-badge {
  position: absolute;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
  font-size: 13px;
  display: flex; align-items: center; gap: 12px;
}
.hero-badge-tr {
  top: 24px; right: 24px;
}
.hero-badge-bl {
  bottom: 24px; left: 24px;
  max-width: 260px;
}
.hero-badge .icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-badge strong { font-weight: 700; font-size: 14px; }
.hero-badge .sub { color: var(--muted); font-size: 12px; margin-top: 1px; }

/* Stars */
.stars { display: inline-flex; gap: 1px; color: #f59e0b; }
.stars svg { width: 14px; height: 14px; }

/* ===== Trust bar ===== */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  background: white;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-cell {
  display: flex; flex-direction: column; gap: 4px;
}
.trust-cell .num {
  font-family: var(--serif);
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.trust-cell .num .suffix { color: var(--green); }
.trust-cell .label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ===== Services ===== */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.services-head h2 { font-family: var(--serif); }
.services-head p { color: var(--muted); font-size: 17px; max-width: 460px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-2);
}
.service-card:nth-child(3n+1) { grid-column: span 1; }
.service-card.wide { aspect-ratio: 8 / 5; grid-column: span 2; }
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.service-card:hover img { transform: scale(1.06); }
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.05) 45%, transparent 70%);
}
.service-card-body {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  z-index: 2;
  color: white;
}
.service-card-body h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}
.service-card-body .desc {
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.85;
  max-width: 280px;
}
.service-card-arrow {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  color: white;
  transition: all .3s cubic-bezier(.2,.7,.2,1);
}
.service-card:hover .service-card-arrow {
  background: var(--green);
  transform: rotate(-45deg);
}
.service-card .accent-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: var(--green);
  transition: width .6s cubic-bezier(.2,.7,.2,1);
  z-index: 3;
}
.service-card:hover .accent-line { width: 100%; }

/* ===== Digital story (dark sticky scroll) ===== */
.digital {
  background: var(--ink-2);
  color: white;
  position: relative;
  padding: 140px 0 160px;
  overflow: hidden;
}
.digital::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  opacity: .04;
}
.digital-head { margin-bottom: 80px; max-width: 720px; }
.digital-head h2 {
  font-family: var(--serif);
  color: white;
}
.digital-head h2 em { font-style: italic; color: #82d699; }
.digital-head p { color: rgba(255,255,255,0.65); font-size: 18px; margin-top: 16px; max-width: 540px; }

.digital-sticky {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: flex-start;
}
.digital-steps {
  display: flex; flex-direction: column;
  gap: 8px;
}
.digital-step {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: opacity .4s;
  cursor: pointer;
  opacity: 0.4;
}
.digital-step:hover { opacity: 0.7; }
.digital-step.active { opacity: 1; }
.digital-step-num {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #82d699;
  margin-bottom: 12px;
}
.digital-step-num .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(130,214,153,0.3);
  font-size: 13px;
  font-family: var(--serif);
  letter-spacing: 0;
}
.digital-step.active .digital-step-num .num {
  background: #82d699; color: var(--ink-2); border-color: #82d699;
}
.digital-step h3 {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: white;
}
.digital-step p {
  margin-top: 10px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  font-size: 15px;
}

.digital-visual-wrap {
  position: sticky;
  top: 100px;
  height: 620px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  display: grid; place-items: center;
  perspective: 1200px;
}

/* Phone mockup */
.phone {
  width: 280px;
  aspect-ratio: 9 / 19.5;
  background: #0b0d12;
  border-radius: 38px;
  padding: 8px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 0 0 1px rgba(255,255,255,0.05),
    0 30px 60px -20px rgba(0,0,0,0.5),
    0 0 80px -10px rgba(130,214,153,0.15);
  position: relative;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.phone-screen {
  width: 100%; height: 100%;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px;
  background: #0b0d12;
  border-radius: 999px;
  z-index: 10;
}

/* Phone screens */
.phs {
  position: absolute;
  inset: 0;
  padding: 38px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
  background: white;
  color: var(--ink);
  font-size: 11px;
  opacity: 0;
  transition: opacity .5s;
}
.phs.active { opacity: 1; }
.phs-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: var(--muted);
  margin-bottom: 4px;
}
.phs h4 { font-family: var(--serif); font-size: 18px; line-height: 1.1; letter-spacing: -0.02em; }
.phs-sub { color: var(--muted); font-size: 10px; margin-top: 2px; }

/* Step 1 — calendar */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 8px;
}
.cal-cell {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--bg);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.cal-cell.available { background: white; border: 1px solid var(--line); color: var(--ink); }
.cal-cell.selected { background: var(--green); color: white; }
.cal-cell.today { font-weight: 700; color: var(--ink); border: 1px solid var(--green); background: var(--green-soft); }
.cal-slot {
  margin-top: 4px;
  padding: 8px 10px;
  background: var(--green-soft);
  border-radius: 8px;
  font-size: 11px; font-weight: 600;
  color: var(--green-deep);
  display: flex; justify-content: space-between; align-items: center;
}

/* Step 2 — Aufmaß */
.aufmass {
  background: var(--ink-2);
  border-radius: 10px;
  height: 130px;
  position: relative;
  overflow: hidden;
}
.aufmass::before {
  content: "";
  position: absolute; inset: 16px;
  border: 1.5px dashed rgba(130,214,153,0.8);
  border-radius: 4px;
}
.aufmass-label {
  position: absolute;
  background: #82d699; color: var(--ink-2);
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}
.aufmass-w { top: 8px; left: 50%; transform: translateX(-50%); }
.aufmass-h { left: -2px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.aufmass-vals {
  margin-top: 8px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px;
  font-size: 10px;
}
.aufmass-vals div { background: var(--bg); padding: 4px 6px; border-radius: 4px; }
.aufmass-vals strong { display: block; font-size: 11px; color: var(--ink); }

/* Step 3 — Angebot */
.angebot-line {
  display: flex; justify-content: space-between;
  font-size: 11px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.angebot-line:last-child { border-bottom: none; font-weight: 700; padding-top: 8px; }
.angebot-line .price { color: var(--ink); font-weight: 600; }
.angebot-total { color: var(--green) !important; font-size: 14px; }

/* Step 4 — Tracking */
.track-bar {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin: 4px 0 8px;
}
.track-fill { height: 100%; background: var(--green); width: 65%; border-radius: 999px; }
.track-steps {
  display: flex; flex-direction: column; gap: 6px;
}
.track-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px;
}
.track-step .check {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); color: white;
  display: grid; place-items: center;
  font-size: 8px;
  flex-shrink: 0;
}
.track-step.current .check { background: white; border: 2px solid var(--green); color: var(--green); }
.track-step.pending .check { background: var(--line); color: var(--muted-2); }
.track-step .when { margin-left: auto; color: var(--muted); font-size: 9px; }

/* Step 5 — Abnahme */
.signature {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
  border: 1px dashed var(--line);
}
.abnahme-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 6px;
}
.abnahme-photo {
  aspect-ratio: 1;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}

/* ===== Konfigurator ===== */
.konfig {
  background: white;
  padding: 120px 0;
}
.konfig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.konfig-copy h2 { font-family: var(--serif); }
.konfig-copy p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 460px; }
.konfig-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 36px;
}
.konfig-feature {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px;
}
.konfig-feature .check {
  width: 22px; height: 22px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.konfig-feature strong { display: block; }
.konfig-feature span.muted { color: var(--muted); font-size: 13px; }

.konfig-preview {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
}
.konfig-door {
  background: white;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  background-image: url("assets/haustueren.jpg");
  background-size: cover; background-position: center;
}
.konfig-door::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.4));
}
.konfig-door-label {
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  color: white; z-index: 2;
}
.konfig-controls {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.konfig-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.konfig-row .lbl { color: var(--muted); }
.konfig-swatches { display: flex; gap: 6px; }
.swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform .2s;
}
.swatch.active { box-shadow: 0 0 0 2px var(--green); }
.swatch:hover { transform: scale(1.1); }

/* ===== Gallery ===== */
.gallery-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 40px;
}
.gallery-head h2 { font-family: var(--serif); }
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  background: white;
  transition: all .2s;
}
.filter-chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.filter-chip:hover:not(.active) { border-color: var(--ink); color: var(--ink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--ink-2);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.size-a { grid-column: span 6; aspect-ratio: 16 / 11; }
.gallery-item.size-b { grid-column: span 3; aspect-ratio: 1; }
.gallery-item.size-c { grid-column: span 3; aspect-ratio: 1; }
.gallery-item.size-d { grid-column: span 4; aspect-ratio: 4 / 5; }
.gallery-item.size-e { grid-column: span 4; aspect-ratio: 4 / 5; }
.gallery-item.size-f { grid-column: span 4; aspect-ratio: 4 / 5; }

.gallery-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: all .35s;
}
.gallery-item:hover .gallery-tag { opacity: 1; transform: translateY(0); }

/* Before/after slider */
.beforeafter {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: var(--ink-2);
  grid-column: span 12;
  margin-top: 24px;
}
.beforeafter img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.beforeafter .after-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  width: 50%;
}
.beforeafter .after-wrap img { width: 200%; max-width: none; }
.beforeafter .handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: white;
  left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.beforeafter .handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.beforeafter .handle::before {
  content: "↔";
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.beforeafter .label {
  position: absolute;
  top: 16px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
}
.beforeafter .label.before { left: 16px; }
.beforeafter .label.after { right: 16px; background: var(--green); }

/* ===== About / Timeline ===== */
.about {
  background: var(--sand);
  padding: 140px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-copy h2 { font-family: var(--serif); }
.about-copy h2 em { font-style: italic; color: var(--green); }
.about-quote {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 32px 0 24px;
  color: var(--ink);
}
.about-author { display: flex; align-items: center; gap: 14px; }
.about-author .photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid; place-items: center;
  color: white; font-weight: 700; font-family: var(--serif); font-size: 22px;
}
.about-author .who strong { display: block; }
.about-author .who span { color: var(--muted); font-size: 13px; }

.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid rgba(20,24,31,0.15);
}
.tl-item { padding: 22px 0 22px 4px; position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -38px; top: 30px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--green);
}
.tl-item.now::before {
  background: var(--green); width: 14px; height: 14px; left: -39px; top: 29px;
}
.tl-year {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--green);
  letter-spacing: -0.02em;
}
.tl-title { font-weight: 600; font-size: 15px; margin-top: 2px; }
.tl-desc { color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 360px; }

/* ===== Region ===== */
.region {
  padding: 120px 0;
  background: white;
}
.region-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.region-copy h2 { font-family: var(--serif); }
.region-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.region-cell strong { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.region-cell .pct {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}
.region-cell span.lbl { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.region-map {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.map-dot.hq {
  width: 14px; height: 14px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(15,61,133,0.2);
}
.map-dot.hq::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .25;
  animation: pulse 2.5s ease-out infinite;
}
.map-label {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  background: white;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* ===== Reviews ===== */
.reviews {
  padding: 120px 0;
  background: var(--bg);
}
.reviews-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 48px;
}
.reviews-head h2 { font-family: var(--serif); max-width: 600px; }
.reviews-summary { display: flex; align-items: center; gap: 16px; }
.reviews-score {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.reviews-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.reviews-meta .stars { color: #f59e0b; }
.reviews-meta .stars svg { width: 18px; height: 18px; }
.reviews-meta span { color: var(--muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
}
.review-stars { margin-bottom: 14px; }
.review-text { font-size: 15px; color: var(--ink); line-height: 1.55; flex: 1; }
.review-text::before { content: "\201C"; font-family: var(--serif); font-size: 36px; color: var(--green); line-height: 0; position: relative; top: 12px; margin-right: 4px; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-author .pic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: var(--green);
  border: 1px solid var(--line);
}
.review-author strong { font-size: 13px; display: block; }
.review-author span { font-size: 12px; color: var(--muted); }

/* ===== Contact ===== */
.contact {
  padding: 120px 0;
  background: var(--ink);
  color: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-head h2 { font-family: var(--serif); color: white; }
.contact-head h2 em { font-style: italic; color: #82d699; }
.contact-head p { color: rgba(255,255,255,0.6); font-size: 17px; margin-top: 16px; max-width: 460px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
  transition: all .25s;
}
.contact-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.contact-card .lbl { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-card .val { font-family: var(--serif); font-size: 22px; }
.contact-card .meta { font-size: 12px; color: #82d699; display: flex; align-items: center; gap: 6px; margin-top: 2px; }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.contact-form h3 { font-family: var(--serif); font-size: 24px; color: white; }
.form-row { margin-top: 16px; }
.form-row label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-family: inherit;
  font-size: 14px;
  border-radius: 10px;
  transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: #82d699; }
.form-row textarea { resize: vertical; min-height: 80px; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.chip {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { color: white; border-color: rgba(255,255,255,0.3); }
.chip.active { background: #82d699; color: var(--ink); border-color: #82d699; }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand img { width: 140px; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { margin-top: 20px; font-size: 14px; max-width: 280px; line-height: 1.5; }
.footer-col h4 { color: white; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col li a { transition: color .2s; }
.footer-col li a:hover { color: white; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-claim {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: white;
  margin-top: 32px;
  letter-spacing: -0.01em;
}
.footer-claim::before { content: "—\00a0"; color: var(--green); font-style: normal; }

/* ===== WhatsApp floating ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.5);
  z-index: 40;
  transition: all .25s cubic-bezier(.2,.7,.2,1);
  animation: floatIn 0.6s 1s cubic-bezier(.2,.7,.2,1) backwards;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: .4;
  animation: pulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes floatIn {
  0% { opacity: 0; transform: translateY(20px) scale(.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.whatsapp-fab .badge {
  position: absolute;
  top: -2px; right: -2px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* ===== Responsive (lightweight; primary target is desktop pitch) ===== */
@media (max-width: 980px) {
  .hero-grid, .services-head, .konfig-grid, .about-grid, .region-grid, .digital-sticky, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .digital-visual-wrap { position: relative; top: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.wide { grid-column: span 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
