/* ==========================================================================
   PORT — Lofttüren Landingpage
   Design system + sections
   ========================================================================== */

:root {
  --bg: #fafaf8;
  --bg-2: #f3f1ec;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #6b6b66;
  --line: #e7e4dd;
  --line-2: #d8d3c8;
  --accent: #b91c1c;          /* logo red — used very sparingly */
  --wa: #25d366;
  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 8px;
  --shadow-lg: 0 30px 60px -20px rgba(10, 10, 10, 0.18);
  --shadow-md: 0 12px 30px -10px rgba(10, 10, 10, 0.15);
  --font-display: Arial, Helvetica, sans-serif;
  --font-sans: Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 90px;
}
@media (max-width: 640px) { html { scroll-padding-top: 70px; } }
html, body { margin: 0; padding: 0; max-width: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  position: relative;
}
img, video { max-width: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: .7; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--ink); color: #fff; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; background: var(--ink); color: #fff;
  display: grid; place-items: center; z-index: 9999;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; place-items: center; gap: 12px; }
.loader__mark { width: 56px; height: 56px; color: #fff; }
.loader__rect { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 224; stroke-dashoffset: 224; animation: dash 1.4s var(--ease) infinite; }
.loader__line { stroke: #fff; stroke-width: 1; opacity: .35; }
.loader__label { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.3em; }
@keyframes dash { 0% {stroke-dashoffset: 224;} 50% {stroke-dashoffset: 0;} 100% {stroke-dashoffset: -224;} }

/* ---------- Header wrap (announce + nav) ---------- */
.header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  max-width: 100vw; overflow: clip;
}

/* ---------- Announce ---------- */
.announce {
  background: var(--ink); color: #ece9e1; padding: 9px 0; overflow: hidden;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: opacity .4s ease, transform .4s ease, max-height .4s ease;
}
.is-scrolled-page .announce {
  opacity: 0; transform: translateY(-100%); max-height: 0; padding: 0; pointer-events: none;
}
.announce__track {
  display: flex; gap: 28px; white-space: nowrap;
  animation: scroll 38s linear infinite;
}
.announce__track > span { opacity: .8; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Nav ---------- */
.nav {
  position: relative; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s ease;
}
.nav.is-scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__bar {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--pad);
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px;
  transition: padding .45s var(--ease);
}
.nav.is-scrolled .nav__bar { padding: 12px var(--pad); }
.nav__logo { display: inline-block; line-height: 0; }
.nav__logo img {
  height: 130px; width: auto; display: block;
  filter: brightness(0) invert(1);
  transition: height .45s var(--ease), filter .45s ease, opacity .3s ease;
}
.nav.is-scrolled .nav__logo img {
  height: 60px;
  filter: none;
}
@media (max-width: 1024px) {
  .nav__logo img { height: 100px; }
  .nav.is-scrolled .nav__logo img { height: 54px; }
}
@media (max-width: 640px) {
  .nav__bar { padding: 14px var(--pad); }
  .nav__logo img { height: 78px; }
  .nav.is-scrolled .nav__logo img { height: 48px; }
}
.nav__links { display: flex; gap: 28px; justify-self: center; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: #fff; position: relative;
  transition: color .35s ease;
}
.nav.is-scrolled .nav__links a { color: var(--ink-2); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: currentColor; transition: width .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; width: 38px; height: 38px; position: relative; }
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s, background .35s ease;
}
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 24px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 18px; transform: rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: 18px; padding: 24px var(--pad);
  border-top: 1px solid var(--line);
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: saturate(180%) blur(14px);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { font-size: 18px; font-weight: 500; color: var(--ink-2); }
/* Header CTA button — transparent variant at top, solid when scrolled */
.nav__bar > a.btn--solid.btn--small {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .25s var(--ease);
}
.nav__bar > a.btn--solid.btn--small:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}
.nav.is-scrolled .nav__bar > a.btn--solid.btn--small {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.nav.is-scrolled .nav__bar > a.btn--solid.btn--small:hover {
  background: #000;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, opacity .25s;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); flex: 0 0 16px; }
.btn:hover { opacity: 1; }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #000; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--invert { background: #fff; color: var(--ink); }
.btn--invert:hover { background: var(--bg-2); }
.btn--ghost.btn--invert { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost.btn--invert:hover { background: #fff; color: var(--ink); }
.btn--small { padding: 11px 18px; font-size: 13px; }
.btn--block { width: 100%; justify-content: center; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1eb755; }
.ico-wa { width: 18px; height: 18px; flex: 0 0 18px; }

/* ---------- Headings / typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.display em { font-style: italic; color: var(--ink); font-weight: 400; }
.display--sm { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
.display--white, .display--white em { color: #fff; }
.eyebrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.eyebrow--light { color: rgba(255,255,255,.7); }
.lede { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 620px; line-height: 1.6; }

/* ---------- Section base ---------- */
.section {
  max-width: var(--max); margin: 0 auto; padding: clamp(70px, 9vw, 140px) var(--pad);
  position: relative;
}
.section--dark {
  max-width: 100%; background: var(--ink); color: #ece9e1;
  padding-left: var(--pad); padding-right: var(--pad);
}
.section--dark .display, .section--dark .display em { color: #fff; }
.section--dark .lede, .section--dark p { color: rgba(236, 233, 225, 0.7); }
.section--dark .eyebrow { color: rgba(236, 233, 225, 0.55); }
.section--dark > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--soft { background: var(--bg-2); max-width: 100%; padding-left: var(--pad); padding-right: var(--pad); }
.section--soft > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { display: grid; gap: 14px; margin-bottom: 56px; max-width: 880px; }
.section__cta { margin-top: 56px; display: flex; justify-content: center; }
.section__cta--row { gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 240px var(--pad) 70px;
  display: grid; align-content: end;
  max-width: 100%;
  width: 100%;
  overflow: clip;
  transition: padding .45s var(--ease);
}
.hero__media { overflow: clip; }
@media (max-width: 1024px) {
  .hero { padding-top: 200px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 150px; padding-bottom: 50px; }
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); animation: heroKen 22s var(--ease) infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.14) translate(-2%, -1%); }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.1) 25%, rgba(10,10,10,.55) 70%, rgba(10,10,10,.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 50%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .06; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
}
.hero__content {
  position: relative; z-index: 2; color: #fff;
  max-width: var(--max); margin: 0 auto; width: 100%;
  display: grid; gap: 28px; align-content: end;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.hero__eyebrow .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(185, 28, 28, .6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(185, 28, 28, .6); }
  70% { box-shadow: 0 0 0 14px rgba(185, 28, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); }
}
.hero__title {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 5rem); line-height: 1.04;
  letter-spacing: -0.035em; margin: 0;
  max-width: 1100px;
}
.hero__title em { font-style: normal; font-weight: 500; opacity: .92; }
.hero__title .reveal { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .reveal > span {
  display: block; transform: translateY(110%);
  animation: titleUp 1s var(--ease) forwards;
}
.hero__title .reveal:nth-child(2) > span { animation-delay: .12s; }
.hero__title .reveal:nth-child(3) > span { animation-delay: .24s; }
@keyframes titleUp { to { transform: translateY(0); } }
.hero__sub { color: rgba(255,255,255,.82); max-width: 540px; font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.hero__cta .btn--solid { padding: 18px 30px; font-size: 16px; }
.hero__cta .btn--solid svg { width: 18px; height: 18px; flex-basis: 18px; }
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); padding: 12px 20px; font-size: 13px; }
.hero__cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__cta .btn--ghost svg { width: 15px; height: 15px; flex-basis: 15px; }
.hero__trustline {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: rgba(255,255,255,.78); font-size: 13px; letter-spacing: 0.01em;
  margin-top: 10px;
}
.hero__stars { color: #f5b921; letter-spacing: 2px; font-size: 14px; }

/* Trust block: Google badge + small chips */
.hero__proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  margin-top: 12px;
}
.grbadge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px;
  background: #fff; color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.35);
  cursor: default;
}
.grbadge__g { width: 22px; height: 22px; flex: 0 0 22px; }
.grbadge__body { display: grid; gap: 1px; line-height: 1.15; }
.grbadge__top { display: flex; align-items: center; gap: 8px; }
.grbadge__top strong {
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  color: var(--ink);
}
.grbadge__stars { color: #fbbc05; letter-spacing: 1.5px; font-size: 13px; }
.grbadge__body small { font-size: 11px; color: var(--muted); letter-spacing: 0.01em; }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  list-style: none; margin: 0; padding: 0;
}
.hero__chips li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: rgba(255,255,255,.78);
  letter-spacing: 0.01em;
}
.hero__chips svg {
  width: 16px; height: 16px; color: rgba(255,255,255,.88);
  flex: 0 0 16px;
}
@media (max-width: 640px) {
  .hero__proof { gap: 12px; }
  .grbadge { padding: 8px 14px 8px 10px; }
  .grbadge__g { width: 20px; height: 20px; flex-basis: 20px; }
  .grbadge__top strong { font-size: 14px; }
  .grbadge__body small { font-size: 10.5px; }
  .hero__chips { gap: 6px 12px; }
  .hero__chips li { font-size: 11.5px; }
}
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.95);
  letter-spacing: 0.01em;
}
.pill svg { width: 14px; height: 14px; opacity: .85; }
.hero__trust {
  display: flex; gap: 28px 32px; flex-wrap: wrap; margin-top: 18px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18);
}
.trust { display: flex; gap: 12px; align-items: center; }
.trust__stars { color: #f5b921; letter-spacing: 2px; font-size: 16px; }
.trust__text strong { display: block; font-size: 16px; font-weight: 600; color: #fff; }
.trust__text small { color: rgba(255,255,255,.65); font-size: 12px; }
.trust--badges { gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.92); font-weight: 500;
}
.section--dark .badge, .team .badge {
  border-color: var(--line); color: var(--ink-2); background: #fff;
}
.section--dark .badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.9); }

/* hero countdown */
.hero__countdown {
  position: absolute; right: var(--pad); top: 230px; z-index: 3;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; border-radius: var(--r-md); padding: 16px 18px; width: 280px;
  box-shadow: var(--shadow-lg);
}
.cd__head { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.cd__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.cd__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cd__grid > div { background: rgba(255,255,255,.07); border-radius: 8px; padding: 10px 4px; text-align: center; }
.cd__grid strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.03em; line-height: 1; transition: transform .4s var(--ease); }
.cd__grid strong.tick { animation: tickFlip .5s var(--ease); }
@keyframes tickFlip { 0% { transform: translateY(-6px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.cd__grid small { display: block; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 4px; }
.cd__text { font-size: 11.5px; color: rgba(255,255,255,.75); margin: 12px 0 0; line-height: 1.45; }

/* ---------- Trustbar (unter Hero) ---------- */
.trustbar {
  background: var(--ink); color: rgba(255,255,255,.85);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trustbar__inner {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--pad);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px;
}
.trustbar__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.trustbar__stats > div {
  display: flex; align-items: baseline; gap: 6px;
  padding-right: 14px; border-right: 1px solid rgba(255,255,255,.1);
}
.trustbar__stats > div:last-child { border-right: none; }
.trustbar__stats strong {
  font-family: var(--font-sans); font-weight: 600; font-size: 24px;
  letter-spacing: -0.025em; color: #fff; font-feature-settings: "tnum";
}
.trustbar__stats span { font-size: 13px; color: rgba(255,255,255,.6); white-space: nowrap; }

.trustbar__cd {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding-left: 32px; border-left: 1px solid rgba(255,255,255,.1);
}
.trustbar__cdLabel {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.trustbar__cdGrid { display: flex; gap: 6px; }
.trustbar__cdGrid > span {
  display: flex; align-items: baseline; gap: 3px;
  padding: 4px 8px; background: rgba(255,255,255,.06); border-radius: 4px;
}
.trustbar__cdGrid strong {
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  color: #fff; font-feature-settings: "tnum"; line-height: 1; letter-spacing: -0.02em;
  transition: transform .4s var(--ease);
}
.trustbar__cdGrid strong.tick {
  animation: tickFlip .5s var(--ease);
}
.trustbar__cdGrid small {
  font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.trustbar__cdNote {
  display: block; font-size: 11.5px; color: rgba(255,255,255,.6);
  letter-spacing: 0.01em; margin-top: 4px;
}
@media (max-width: 1024px) {
  .trustbar__inner { grid-template-columns: 1fr; gap: 18px; padding: 18px var(--pad); }
  .trustbar__cd { padding-left: 0; border-left: none; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); align-items: center; }
  .trustbar__cdNote { text-align: center; }
}
@media (max-width: 640px) {
  .trustbar__stats { grid-template-columns: repeat(2, 1fr); gap: 14px 8px; }
  .trustbar__stats > div { padding-right: 0; border-right: none; }
  .trustbar__stats strong { font-size: 20px; }
  .trustbar__cdGrid strong { font-size: 13px; }
  .trustbar__cd { gap: 8px; }
}

/* hero stats */
.hero__stats {
  position: relative; z-index: 2; max-width: var(--max);
  margin: 60px auto 0; width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.06); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md); padding: 22px; gap: 8px;
}
.hero__stats > div { color: #fff; text-align: left; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.15); }
.hero__stats > div:first-child { border-left: none; }
.hero__stats strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.025em; display: block; line-height: 1; }
.hero__stats small { display: block; font-size: 11.5px; letter-spacing: 0.06em; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ==========================================================================
   PROJEKTE — gallery + before/after
   ========================================================================== */
.gallery { position: relative; }
.gal__track {
  display: flex; gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 0 28px;
  scrollbar-width: thin;
}
.gal__track::-webkit-scrollbar { height: 6px; }
.gal__track::-webkit-scrollbar-track { background: transparent; }
.gal__track::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.card {
  flex: 0 0 min(78vw, 520px);
  scroll-snap-align: start;
  display: grid; gap: 14px;
}
.card__img {
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md);
  background: var(--bg-2);
}
.card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .8s ease;
}
.card:hover .card__img img { transform: scale(1.04); }
.card__meta h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0; letter-spacing: -0.01em; }
.card__meta p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.gal__btn {
  position: absolute; top: 38%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; z-index: 5;
  transition: transform .25s var(--ease), background .25s;
  box-shadow: var(--shadow-md);
}
.gal__btn:hover { background: var(--ink); color: #fff; }
.gal__btn svg { width: 18px; height: 18px; }
.gal__btn--prev { left: -10px; }
.gal__btn--next { right: -10px; }
@media (max-width: 720px) { .gal__btn { display: none; } }

/* Before / After */
.ba { margin-top: 96px; }
.ba__head { text-align: center; display: grid; gap: 12px; margin-bottom: 28px; }
.ba__head .eyebrow { justify-self: center; }
.ba__compare {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-lg); user-select: none; -webkit-user-select: none;
  cursor: ew-resize; touch-action: none; background: #000;
}
.ba__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; user-select: none; -webkit-user-select: none;
  -webkit-user-drag: none; user-drag: none;
}
.ba__img--after { clip-path: inset(0 0 0 50%); will-change: clip-path; }
.ba__handle { will-change: left; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: #fff; transform: translateX(-50%); pointer-events: none;
}
.ba__line { position: absolute; inset: 0; box-shadow: 0 0 20px rgba(0,0,0,.4); }
.ba__knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.ba__knob svg { width: 22px; height: 22px; }
.ba__tag {
  position: absolute; bottom: 18px; padding: 6px 14px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(0,0,0,.55); color: #fff; border-radius: 4px;
  backdrop-filter: blur(6px);
}
.ba__tag--before { left: 18px; }
.ba__tag--after { right: 18px; }

/* ==========================================================================
   ECHTE PROJEKTE — multi-row marquee + lightbox
   ========================================================================== */
.section--real {
  max-width: 100%;
  background: var(--bg-2);
  padding-left: 0; padding-right: 0;
  overflow: hidden;
}
.section--real > .section__head { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 0 var(--pad); }
.section--real > .section__cta { padding: 0 var(--pad); }
.section--real > .ba { max-width: var(--max); margin: 96px auto 0; padding: 0 var(--pad); }
.section__head--center { text-align: center; justify-items: center; }
.section__head--center .eyebrow { justify-self: center; }
.section__head--center .lede { max-width: 640px; margin-left: auto; margin-right: auto; }
.section--real .section__head strong#rgCount {
  font-family: var(--font-display); color: var(--ink); font-weight: 500;
  font-size: 1.2em; letter-spacing: -0.02em;
}

.rgallery {
  position: relative;
  display: grid; gap: 14px;
  padding: 14px 0;
  margin-top: 56px;
  touch-action: pan-y;
}
.rgallery__row {
  display: flex; gap: 14px;
  width: max-content;
  will-change: transform;
  animation: rg-marquee 90s linear infinite;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.rgallery__row[data-speed="slow"] { animation-duration: 130s; }
.rgallery__row--right { animation-direction: reverse; }
.rgallery:hover .rgallery__row { animation-play-state: paused; }
.rgallery__row.is-manual { animation: none !important; }
.rgallery__row.is-dragging { cursor: grabbing; }
.rgallery__row.is-resetting { transition: transform .6s var(--ease); }
.rgallery__row.is-manual .rgallery__item { cursor: inherit; }
.rgallery__row.is-dragging .rgallery__item img { pointer-events: none; }

@keyframes rg-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.rgallery__item {
  flex: 0 0 auto;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
  position: relative;
  box-shadow: 0 4px 14px -6px rgba(10,10,10,.12);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.rgallery__item:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -10px rgba(10,10,10,.22); }
.rgallery__item img {
  height: 100%; width: auto; display: block;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  -webkit-user-drag: none; user-drag: none;
}
.rgallery__item:hover img { transform: scale(1.04); }

/* Fade masks on left/right edges */
.rgallery__fade {
  position: absolute; top: 0; bottom: 0; width: clamp(40px, 6vw, 100px); z-index: 2;
  pointer-events: none;
}
.rgallery__fade--l { left: 0; background: linear-gradient(90deg, var(--bg-2) 0%, transparent 100%); }
.rgallery__fade--r { right: 0; background: linear-gradient(270deg, var(--bg-2) 0%, transparent 100%); }

@media (max-width: 1024px) {
  .rgallery__item { height: 220px; }
  .rgallery__row { animation-duration: 70s; }
  .rgallery__row[data-speed="slow"] { animation-duration: 100s; }
}
@media (max-width: 640px) {
  .rgallery { gap: 10px; padding: 10px 0; }
  .rgallery__row { gap: 10px; animation-duration: 55s; }
  .rgallery__row[data-speed="slow"] { animation-duration: 80s; }
  .rgallery__item { height: 180px; border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .rgallery__row { animation: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,10,.95);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s linear 0s; }
.lightbox__stage {
  position: relative; margin: 0; padding: 0;
  width: min(92vw, 1400px); max-height: 88vh;
  display: grid; place-items: center; gap: 12px;
}
.lightbox__stage img {
  max-width: 100%; max-height: 82vh; width: auto; height: auto;
  border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  -webkit-user-drag: none; user-drag: none;
}
.lightbox__stage figcaption {
  color: rgba(255,255,255,.6); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.lightbox__close { top: 22px; right: 22px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.18); transform: scale(1.05); }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 640px) {
  .lightbox__close, .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__close { top: 14px; right: 14px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

/* ==========================================================================
   WARUM PORT
   ========================================================================== */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.15); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
}
.feature {
  background: var(--ink); padding: 36px 30px; display: grid; gap: 12px;
  transition: background .4s var(--ease), transform .4s var(--ease);
  position: relative;
}
.feature:hover { background: #131313; }
.feature__num {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.16em;
  color: rgba(255,255,255,.4); font-feature-settings: "tnum";
}
.feature h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-weight: 500; color: #fff; margin: 0; letter-spacing: -0.01em; }
.feature p { color: rgba(255,255,255,.7); margin: 0; font-size: 14.5px; line-height: 1.6; }
.feature::after {
  content: ""; position: absolute; left: 30px; right: 30px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.4), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.feature:hover::after { transform: scaleX(1); }

.material {
  margin-top: 90px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.material img { border-radius: var(--r-lg); aspect-ratio: 1 / 1; object-fit: cover; }
.material__txt { display: grid; gap: 16px; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.ticks li {
  position: relative; padding-left: 30px; color: rgba(255,255,255,.85);
  font-size: 15px; line-height: 1.5;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 18px; height: 9px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.team__img { position: relative; }
.team__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.team__caption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  font-size: 12px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line);
}
.team__txt { display: grid; gap: 32px; }
.quote { position: relative; padding-left: 0; }
.quote svg { width: 28px; height: 28px; color: var(--ink); margin-bottom: 10px; }
.quote p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.25; letter-spacing: -0.015em; margin: 0; font-weight: 400; }
.quote cite { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 14px; letter-spacing: 0.04em; }
.team__badges { display: flex; flex-wrap: wrap; gap: 14px; }
.tbadge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 16px -10px rgba(10,10,10,.25);
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.tbadge:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(10,10,10,.3); }
.tbadge__icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; }
.tbadge__text { display: grid; gap: 1px; line-height: 1.2; }
.tbadge__text strong {
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  color: var(--ink-2); letter-spacing: -0.005em;
}
.tbadge__text small { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 640px) {
  .team__badges { gap: 10px; }
  .tbadge { padding: 8px 14px 8px 10px; gap: 10px; }
  .tbadge__icon { width: 38px; height: 38px; flex-basis: 38px; }
  .tbadge__text strong { font-size: 13px; }
  .tbadge__text small { font-size: 10.5px; }
}

/* ==========================================================================
   ABLAUF — steps
   ========================================================================== */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 0; counter-reset: step;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 38px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent);
}
.step {
  position: relative; padding: 0 18px;
  display: grid; gap: 8px; text-align: left;
}
.step__num {
  display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  position: relative; z-index: 2;
  transition: background .3s var(--ease), color .3s, transform .3s var(--ease);
}
.step:hover .step__num { background: var(--ink); color: #fff; transform: scale(1.05); }
.step h3 { font-family: var(--font-display); font-size: 17px; font-weight: 500; margin: 16px 0 0; letter-spacing: -0.01em; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews { position: relative; }
.reviews__viewport { overflow: hidden; }
.reviews__track {
  display: flex; gap: 24px; transition: transform .55s var(--ease);
  will-change: transform;
}
.review {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; margin: 0; display: grid; gap: 16px; position: relative;
  box-shadow: var(--shadow-md);
}
.review__stars { color: #f5b921; letter-spacing: 4px; font-size: 15px; }
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.review figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption strong { font-size: 14px; }
.review figcaption small { font-size: 12px; color: var(--muted); }
.review__src {
  position: absolute; top: 22px; right: 22px;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.review--wa { background: #e7f8e9; border-color: #cdebcf; }
.review__wahead { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #128a3a; }
.review__wahead svg { width: 18px; height: 18px; }

/* WhatsApp screenshot review card — echte Chat-Screenshots */
.review--shot {
  background: #0b141a; border-color: #0b141a;
  color: #e9edef; padding: 14px; gap: 12px;
}
.review--shot .review__src { color: rgba(255,255,255,.55); }
.review--shot figcaption { border-top-color: rgba(255,255,255,.12); padding-top: 14px; }
.review--shot figcaption strong { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 15px; letter-spacing: -0.005em; }
.review--shot figcaption small { color: rgba(255,255,255,.6); }
.shot__img {
  position: relative; display: block; padding: 0; border: 0;
  background: #0b141a;
  border-radius: 10px; overflow: hidden; cursor: zoom-in;
  width: 100%; height: 380px;
}
.shot__img::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
}
.shot__img img {
  width: 100%; height: 100%; display: block;
  object-fit: contain; object-position: center;
  background: #0b141a;
  transition: transform .8s var(--ease);
}
.shot__img:hover img { transform: scale(1.025); }
@media (max-width: 1024px) {
  .shot__img { height: 340px; }
}
@media (max-width: 640px) {
  .shot__img { height: 380px; }
}
.reviews__nav { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 36px; }
.reviews__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: #fff; display: grid; place-items: center; transition: background .2s, color .2s;
}
.reviews__btn:hover { background: var(--ink); color: #fff; }
.reviews__btn svg { width: 18px; height: 18px; }
.reviews__dots { display: flex; gap: 6px; }
.reviews__dots span { width: 18px; height: 2px; background: var(--line-2); border-radius: 1px; transition: background .3s; }
.reviews__dots span.is-active { background: var(--ink); width: 32px; }
@media (max-width: 640px) {
  .reviews__dots { max-width: 160px; flex-wrap: nowrap; overflow: hidden; }
  .reviews__dots span { width: 12px; flex: 0 0 12px; }
  .reviews__dots span.is-active { width: 22px; flex-basis: 22px; }
  .reviews__nav { gap: 14px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500;
  letter-spacing: -0.005em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--muted); }
.faq__plus { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
  transition: transform .3s var(--ease);
}
.faq__plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__plus::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq details[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq details p {
  padding: 0 0 24px; margin: 0; color: var(--muted);
  max-width: 720px; line-height: 1.65;
  animation: faqIn .35s var(--ease);
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   KONFIGURATOR
   ========================================================================== */
.section--cfg { padding-bottom: clamp(80px, 10vw, 160px); }
.cfg {
  max-width: 880px; margin: 0 auto;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Live 3D preview pane ---------- */
.cfg__preview {
  position: relative;
  margin: calc(-1 * clamp(24px, 4vw, 44px)) calc(-1 * clamp(24px, 4vw, 44px)) clamp(20px, 2vw, 32px);
  height: clamp(260px, 36vh, 380px);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 35%, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  isolation: isolate;
}
.cfg__preview canvas {
  display: block; width: 100%; height: 100%;
}
.cfg__preview.is-loading::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.06) 0, transparent 40%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.2) 100%);
  pointer-events: none;
  animation: cfgPreviewShimmer 2s ease-in-out infinite;
}
@keyframes cfgPreviewShimmer {
  0%, 100% { opacity: .35; }
  50% { opacity: .65; }
}
.cfg__previewHint {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  pointer-events: none; z-index: 2;
}
.cfg__previewDot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(185, 28, 28, .55);
  animation: pulse 2s infinite;
}
.cfg__preview noscript p {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.4); font-size: 13px; margin: 0;
}
.cfg__preview--hidden {
  height: 0; opacity: 0; pointer-events: none;
  margin-bottom: 0;
  transition: height .4s var(--ease), opacity .3s ease, margin .4s var(--ease);
}
.cfg__preview--ready { animation: cfgPreviewFadeIn .8s var(--ease); }
@keyframes cfgPreviewFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 640px) {
  .cfg__preview { height: clamp(220px, 38vh, 300px); }
  .cfg__previewHint { top: 10px; left: 10px; font-size: 10px; padding: 5px 9px; }
}
.cfg__head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.cfg__progress { flex: 1; height: 3px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.cfg__progressFill {
  display: block; height: 100%; width: 14.28%; background: #fff;
  transition: width .55s var(--ease);
}
.cfg__count { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.04em; color: rgba(255,255,255,.7); white-space: nowrap; }
.cfg__nextHint {
  font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.12em;
  color: rgba(255,255,255,.5); text-transform: uppercase;
  margin: -16px 0 14px;
}
.cfg__nextHint[hidden] { display: none; }
.cfg__helper {
  font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.65);
  margin: -4px 0 4px; max-width: 560px;
}
.cfg__fieldHelper {
  display: block; font-size: 12.5px; color: rgba(255,255,255,.6);
  margin-top: 6px; line-height: 1.5;
}
.cfg__form { display: grid; gap: 28px; }
.cfg__step { display: none; border: none; padding: 0; margin: 0; opacity: 0; transition: opacity .4s var(--ease); }
.cfg__step.is-active { display: grid; gap: 18px; opacity: 1; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.cfg__step legend {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500;
  letter-spacing: -0.015em; color: #fff; padding: 0; margin: 0 0 6px;
}
.cfg__opts { display: grid; gap: 14px; }
.cfg__opts[hidden], legend[hidden] { display: none !important; }
.cfg__opts--2 { grid-template-columns: 1fr 1fr; }
.cfg__opts--3 { grid-template-columns: repeat(3, 1fr); }
.cfg__opts--text { grid-template-columns: 1fr 1fr; }
.cfg__opts--3-text { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .cfg__opts--3, .cfg__opts--3-text { grid-template-columns: 1fr 1fr; }
}
.opt {
  position: relative; display: grid; gap: 12px;
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-md);
  padding: 14px; cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease);
  background: rgba(255,255,255,.03);
}
.opt:hover { border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__img { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #000; }
.opt__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.opt:hover .opt__img img { transform: scale(1.06); }
.opt > span { font-size: 14px; font-weight: 500; color: #fff; }
.opt small { color: rgba(255,255,255,.6); font-size: 12.5px; line-height: 1.45; display: block; }
.opt:has(input:checked) {
  border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px);
}
.opt:has(input:checked)::after {
  content: "✓"; position: absolute; top: 10px; right: 12px;
  width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.opt--text { padding: 22px 20px; }
.opt--text .opt__ico { width: 36px; height: 36px; display: grid; place-items: center; }
.opt--text .opt__ico svg { width: 24px; height: 24px; color: #fff; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: 0.02em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 16px; padding: 14px 16px; border-radius: 10px;
  font-family: inherit; transition: border-color .25s, background .25s;
}
.field input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.1); }
.field--check { grid-template-columns: auto 1fr; align-items: center; }
.field--check input { width: 18px; height: 18px; accent-color: #fff; }
.field--check span { font-size: 13.5px; color: rgba(255,255,255,.8); }
.field--check a { text-decoration: underline; }
.cfg__summaryWrap {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md);
  background: rgba(255,255,255,.02);
  padding: 14px 20px 18px; margin: 4px 0 8px;
}
.cfg__summary {
  display: grid; grid-template-columns: max-content 1fr;
  gap: 8px 22px; margin: 0;
}
.cfg__summary dt {
  font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0;
  align-self: center;
}
.cfg__summary dd { font-size: 14px; color: #fff; margin: 0; align-self: center; }
.cfg__summary--title {
  font-size: 11px; letter-spacing: 0.18em; font-weight: 600;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  padding: 0 0 8px; margin: 0 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cfg__nav { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; gap: 12px; }
.cfg__nav .btn { padding: 14px 22px; min-height: 44px; }
.cfg__done { text-align: center; padding: 12px 0; }
.cfg__doneInner { display: grid; gap: 16px; justify-items: center; }
.cfg__check { color: #fff; }
.cfg__check svg { width: 80px; height: 80px; }
.cfg__check circle, .cfg__check path { animation: checkDraw 1s var(--ease) forwards; stroke-dasharray: 200; stroke-dashoffset: 200; }
.cfg__check path { animation-delay: .35s; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.cfg__doneInner p { color: rgba(255,255,255,.75); max-width: 480px; }
.cfg__telBtn { margin-top: 4px; }
.cfg__trust {
  font-size: 12px; letter-spacing: 0.08em; color: rgba(255,255,255,.55);
  margin-top: 10px !important;
}

/* ==========================================================================
   STANDORT — Google Maps + Kontakt-Card
   ========================================================================== */
.standort {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.standort__map {
  position: relative; min-height: 480px;
  background: var(--bg-2);
}
.standort__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
  filter: grayscale(35%) contrast(1.05);
  transition: filter .35s ease;
}
.standort__map:hover iframe { filter: none; }
.standort__info {
  padding: clamp(28px, 3.5vw, 44px);
  display: grid; gap: 26px;
  align-content: start;
}
.standort__info h3 {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 500; margin: 0 0 12px; letter-spacing: -0.015em;
}
.standort address {
  font-style: normal;
}
.standort__line {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink-2);
  text-decoration: none;
  transition: color .2s;
}
.standort__line:hover { color: var(--accent); opacity: 1; }
.standort__line svg {
  width: 18px; height: 18px; flex: 0 0 18px;
  color: var(--muted); margin-top: 1px;
}
.standort__line:hover svg { color: var(--accent); }
.standort__contact {
  display: grid; gap: 12px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.standort__hours {
  padding-top: 22px; border-top: 1px solid var(--line);
  display: grid; gap: 4px;
}
.standort__hours strong {
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 6px;
}
.standort__hours p { margin: 0; font-size: 14px; color: var(--muted); }
.standort__info .btn { justify-self: start; margin-top: 4px; }

@media (max-width: 900px) {
  .standort { grid-template-columns: 1fr; }
  .standort__map { min-height: 320px; aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.finalcta {
  position: relative; padding: clamp(80px, 12vw, 160px) var(--pad); overflow: hidden;
  color: #fff;
}
.finalcta__bg { position: absolute; inset: 0; z-index: 0; }
.finalcta__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); animation: heroKen 24s var(--ease) infinite alternate;
}
.finalcta__veil {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.85), rgba(10,10,10,.6) 50%, rgba(10,10,10,.85));
}
.finalcta__content {
  position: relative; z-index: 1; max-width: 820px; margin: 0 auto;
  text-align: center; display: grid; gap: 24px; justify-items: center;
}
.finalcta__content p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; }
.finalcta__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px var(--pad) 28px; }
.foot__top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.foot__brand img { height: 64px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.foot__brand p { max-width: 320px; font-size: 14px; line-height: 1.6; }
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col h4 { font-family: var(--font-display); font-size: 14px; color: #fff; font-weight: 500; margin: 0 0 4px; letter-spacing: 0.04em; }
.foot__col a { font-size: 14px; }
.foot__bottom {
  max-width: var(--max); margin: 20px auto 0;
  display: flex; justify-content: space-between; gap: 16px; padding-top: 28px;
  font-size: 12px; color: rgba(255,255,255,.5); flex-wrap: wrap;
}
@media (max-width: 640px) {
  .foot__bottom { padding-bottom: 70px; }
  .foot__bottom small:first-child { padding-right: 0; }
}
.foot__bottom a:hover { color: #fff; opacity: 1; }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
  transition: transform .25s var(--ease);
}
@media (max-width: 640px) {
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}
.wa-float:hover { transform: scale(1.08); opacity: 1; }
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ==========================================================================
   KONFIGURATOR — CTA-Kachel auf der Hauptseite
   ========================================================================== */
.section--cfgcta { padding-bottom: clamp(80px, 10vw, 160px); }
.cfgcta {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 60px);
  align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.04) 0%, transparent 60%),
    linear-gradient(180deg, #161616 0%, #0c0c0c 100%);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.12);
  position: relative; overflow: hidden;
}
.cfgcta__text { display: grid; gap: 18px; max-width: 540px; }
.cfgcta__text .display { color: #fff; }
.cfgcta__text .display em { color: var(--accent); font-style: normal; font-weight: inherit; }
.cfgcta__text .lede { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.6; }
.cfgcta__feats {
  list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px;
  color: rgba(255,255,255,.85); font-size: 14px;
}
.cfgcta__feats li {
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.4;
}
.cfgcta__feats li::before {
  content: ""; width: 14px; height: 7px; flex: 0 0 14px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg); margin-top: 4px;
}
.cfgcta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.cfgcta__actions .btn { min-height: 50px; padding: 14px 22px; font-size: 14px; }
.cfgcta__actions .btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.5); }
.cfgcta__actions .btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Right visual: stylized 3D door card */
.cfgcta__visual {
  position: relative; aspect-ratio: 4 / 5;
  background:
    radial-gradient(100% 80% at 50% 40%, rgba(255,255,255,.08) 0%, transparent 60%),
    linear-gradient(180deg, #1d1d1d 0%, #0a0a0a 100%);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  display: grid; place-items: center;
}
.cfgcta__badge {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.85); z-index: 2;
}
.cfgcta__badgeDot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(185,28,28,.55); animation: pulse 2s infinite;
}
.cfgcta__door {
  position: relative; width: 56%; aspect-ratio: 1 / 2;
  animation: cfgctaFloat 4.2s var(--ease) infinite alternate;
}
@keyframes cfgctaFloat {
  from { transform: translateY(-1.5%) rotateY(-3deg); }
  to   { transform: translateY(1.5%) rotateY(3deg); }
}
.cfgcta__doorFrame {
  position: absolute; inset: 0; border: 4px solid #1a1a1a;
  background: rgba(200,210,216,.12);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.08),
    0 24px 60px -20px rgba(0,0,0,.6);
  display: grid; place-items: center;
}
.cfgcta__doorGrid {
  position: absolute; inset: 6px;
  background:
    linear-gradient(#1a1a1a 0 0) center / 100% 2px no-repeat,
    linear-gradient(#1a1a1a 0 0) center 25% / 100% 2px no-repeat,
    linear-gradient(#1a1a1a 0 0) center 75% / 100% 2px no-repeat,
    linear-gradient(#1a1a1a 0 0) 33% center / 2px 100% no-repeat,
    linear-gradient(#1a1a1a 0 0) 66% center / 2px 100% no-repeat,
    radial-gradient(60% 70% at 50% 30%, rgba(255,255,255,.16), transparent 70%);
}
.cfgcta__doorFrame::after {
  content: ""; position: absolute; right: -8%; top: 50%;
  width: 4px; height: 28px; background: #0a0a0a;
  border-radius: 2px; transform: translateY(-50%);
}

@media (max-width: 900px) {
  .cfgcta { grid-template-columns: 1fr; padding: 32px 24px; }
  .cfgcta__visual { aspect-ratio: 5 / 3; max-width: 340px; justify-self: center; }
  .cfgcta__door { aspect-ratio: 1 / 1.8; }
}

/* ==========================================================================
   KONFIGURATOR — dedizierte Unterseite (/konfigurator.html)
   ========================================================================== */
.cfgpage-body {
  background: #ffffff;
  color: var(--ink);
  height: 100vh; height: 100dvh;
  overflow: hidden;
  /* Blockt iOS Pull-to-Refresh — sonst lädt Safari die Seite neu wenn der
     User den Panel-Body über den Anfang hinaus zieht und alle Konfigurator-
     Einstellungen sind weg (Alper, 06.06.2026). */
  overscroll-behavior: contain;
  overscroll-behavior-y: none;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

/* ---- Splash ---- */
.cfgsplash {
  position: fixed; inset: 0; z-index: 1000;
  background: #0a0a0a; color: #fff;
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.cfgsplash.is-hidden { opacity: 0; visibility: hidden; }
.cfgsplash__inner {
  display: grid; gap: 18px; justify-items: center; padding: 24px;
  max-width: 420px; text-align: center;
}
.cfgsplash__logo {
  width: 120px; height: auto; opacity: 0;
  filter: brightness(0) invert(1);
  animation: cfgSplashLogo 1.2s var(--ease) forwards;
}
@keyframes cfgSplashLogo {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cfgsplash__title {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: -0.02em; margin: 12px 0 0;
}
.cfgsplash__hint { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }
.cfgsplash__bar {
  width: 260px; max-width: 80vw; height: 2px;
  background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden;
  margin-top: 8px;
}
.cfgsplash__bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,.55));
  transition: width .35s var(--ease);
}
.cfgsplash__step {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: 4px;
}

/* ---- Page header ---- */
.cfgpage__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
  background: #fff;
  z-index: 5;
}
.cfgpage__logo img { height: 38px; display: block; }
.cfgpage__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink-2);
  text-decoration: none; padding: 8px 12px; border-radius: 999px;
  transition: background .2s;
}
.cfgpage__back:hover { background: var(--bg-2); opacity: 1; }
.cfgpage__back svg { width: 16px; height: 16px; }

/* ---- Step tabs ---- */
.cfgtabs {
  display: flex; gap: 10px; align-items: center;
  padding: 14px clamp(16px, 2.5vw, 32px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  z-index: 4;
}
.cfgtabs::-webkit-scrollbar { display: none; }
.cfgtab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2);
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.cfgtab:hover { border-color: var(--ink); transform: translateY(-1px); }
.cfgtab.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.cfgtab.is-done {
  background: #fff; color: var(--ink); border-color: var(--ink);
}
.cfgtab__num {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-2); color: var(--ink); font-weight: 600;
  font-size: 12px;
}
.cfgtab.is-active .cfgtab__num { background: #fff; color: var(--ink); }
.cfgtab.is-done .cfgtab__num { background: var(--ink); color: #fff; }
.cfgtab__label { font-size: 13.5px; letter-spacing: -0.005em; }

/* ---- Main (3D viewer + options panel) ---- */
.cfgpage__main {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  min-height: 0; /* allow children to scroll */
  background: #ffffff;
}
.cfgviewer {
  position: relative;
  /* Solid #FEFEFE per customer spec (Alper, 05.06.2026) — der Renderer
     läuft mit alpha:true, daher scheint diese CSS-Farbe durch wo das
     3D-Material sie nicht überdeckt. Vorher: radial-gradient cream. */
  background: #ffffff;
  overflow: hidden;
  isolation: isolate;
}
/* touch-action: none lässt OrbitControls Wischen + Pinch verarbeiten,
   ohne dass die Seite mitscrollt — wichtig für Mobile-3D-Rotation. */
.cfgviewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }

/* Toolbar floats on left edge of viewer */
.cfgviewer__toolbar {
  position: absolute; top: 24px; left: 24px; z-index: 3;
  display: grid; gap: 6px;
  padding: 8px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -10px rgba(10,10,10,.2);
}
.cfgtool {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: transparent; border: 1px solid transparent;
  color: var(--ink-2); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.cfgtool:hover { background: var(--bg-2); color: var(--ink); }
.cfgtool.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cfgtool[disabled], .cfgtool.is-disabled { opacity: .35; cursor: not-allowed; }
.cfgtool svg { width: 18px; height: 18px; }
.cfgtool__sep { height: 1px; background: var(--line); margin: 4px 6px; }

/* Status indicator bottom-left */
.cfgviewer__status {
  position: absolute; bottom: 22px; left: 24px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.9); border: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.cfgstatus__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, .55);
  animation: pulse 2s infinite;
}

/* ---- Right panel ---- */
.cfgpanel {
  background: #fff;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
}
.cfgpanel__head {
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
}
.cfgpanel__eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 6px;
}
.cfgpanel__title {
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em;
  margin: 0; color: var(--ink);
}
.cfgpanel__body {
  padding: 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Verhindert dass die Rubber-Band-Geste an den Body-Container weiterleitet
     und damit iOS Pull-to-Refresh auslöst. */
  overscroll-behavior: contain;
}
.cfgpanel__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.cfgpanel__foot .btn { min-height: 44px; padding: 12px 18px; font-size: 13.5px; }
.cfgpanel__foot .btn--solid { padding: 12px 20px; }
.cfgpanel__foot .btn[disabled] { opacity: .35; cursor: not-allowed; }

/* ---- Footer (product label + actions) ---- */
.cfgpage__footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 2.5vw, 32px);
  border-top: 1px solid var(--line);
  background: #fff;
}
.cfgfooter__product { display: grid; gap: 0; line-height: 1.15; }
.cfgfooter__product small {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.cfgfooter__product strong {
  font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
  color: var(--ink);
}
.cfgfooter__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cfgfooter__actions .btn { min-height: 42px; padding: 11px 16px; font-size: 13.5px; }
.cfgfooter__actions .btn--request {
  background: var(--accent); color: #fff;
}
.cfgfooter__actions .btn--request:hover { background: #a01919; }

/* ---- WhatsApp-Beratungs-Pop-up (Kundenwunsch Alper, 05.06.2026) ----
   Erscheint nach 8s Inaktivität. Desktop: unten links. Mobile: oben,
   sliding-in von oben wie eine Push-Notification. */
.cfgwapop {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  padding: 14px 16px 16px 16px;
  box-shadow: 0 18px 42px -14px rgba(10, 10, 10, 0.28),
              0 4px 12px -6px rgba(10, 10, 10, 0.12);
  display: flex;
  gap: 12px;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.cfgwapop.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cfgwapop__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--wa, #25d366);
  display: grid; place-items: center;
}
.cfgwapop__icon svg { width: 22px; height: 22px; }
.cfgwapop__body { flex: 1; min-width: 0; }
.cfgwapop__body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
  padding-right: 20px; /* Platz für X */
}
.cfgwapop__body p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2, #555);
  margin: 0 0 10px;
}
.cfgwapop__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wa, #25d366);
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.cfgwapop__cta:hover { background: #1eb755; }
.cfgwapop__close {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  background: transparent;
  border: none;
  color: #9a9a9a;
  cursor: pointer;
  display: grid; place-items: center;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.cfgwapop__close:hover { background: rgba(0,0,0,.06); color: #333; }
.cfgwapop__close svg { width: 16px; height: 16px; }

/* Mobile: Pop-up kommt von oben rein wie eine Push-Notification.
   Schwebt frei, blockiert nichts darunter. */
@media (max-width: 900px) {
  .cfgwapop {
    top: 10px;
    bottom: auto;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    transform: translateY(calc(-100% - 20px));
    border-radius: 14px;
  }
  .cfgwapop.is-open {
    transform: translateY(0);
  }
}

/* ---- Step content shared styles ---- */
.cfgopts { display: grid; gap: 10px; }
.cfgopts--2 { grid-template-columns: 1fr 1fr; }
.cfgopts--3 { grid-template-columns: 1fr 1fr 1fr; }
.cfgopt {
  position: relative;
  display: grid; gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
  text-align: left;
}
.cfgopt:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -6px rgba(10,10,10,.15);
}
.cfgopt.is-selected {
  border-color: var(--ink);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--ink);
}
.cfgopt__icon {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: var(--bg-2);
  border-radius: 8px;
  overflow: hidden;
}
.cfgopt__icon svg { width: 70%; height: 70%; }
.cfgopt__label {
  font-size: 12.5px; font-weight: 500;
  color: var(--ink); letter-spacing: -0.005em;
  text-align: center;
}

/* Range row */
.cfgrange {
  display: grid; gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
}
.cfgrange__head {
  display: flex; justify-content: space-between; align-items: baseline;
}
.cfgrange__label { font-size: 13px; font-weight: 500; color: var(--ink); }
.cfgrange__value {
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  color: var(--ink); font-feature-settings: "tnum";
}
.cfgrange__row {
  display: grid; grid-template-columns: 1fr 76px; gap: 10px; align-items: center;
}
.cfgrange input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 24px;
  background: transparent;
  cursor: pointer;
}
.cfgrange input[type=range]::-webkit-slider-runnable-track {
  height: 4px; background: var(--line); border-radius: 2px;
}
.cfgrange input[type=range]::-moz-range-track {
  height: 4px; background: var(--line); border-radius: 2px;
}
.cfgrange input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; margin-top: -8px;
  background: var(--ink); border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 2px 6px rgba(10,10,10,.25);
}
.cfgrange input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--ink); border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 2px 6px rgba(10,10,10,.25);
}
.cfgrange input[type=number] {
  width: 100%; padding: 8px 10px;
  font-family: var(--font-sans); font-size: 13.5px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); text-align: right;
  font-feature-settings: "tnum";
}
.cfgrange input[type=number]:focus { outline: none; border-color: var(--ink); }
.cfgrange__unit {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-top: 2px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  /* Mobile: 3D-Viewer Default 48vh, schrumpft auf 22vh sobald der User
     im Options-Panel scrollt — gibt den Optionen Luft (iPhone 13 mini hatte
     sonst nur ~90px für den Panel-Body). Per Kundenwunsch (Alper, 05.06.2026):
     "wenn man im Menü runter scrollt, soll das 3D-Modell sich verkleinern". */
  .cfgpage__main { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .cfgviewer {
    height: 48vh;
    min-height: 320px;
    transition: height .28s cubic-bezier(.2,.8,.2,1),
                min-height .28s cubic-bezier(.2,.8,.2,1);
  }
  .cfgviewer.is-compact {
    height: 22vh;
    min-height: 170px;
  }
  .cfgpanel { border-left: none; border-top: 1px solid var(--line); }
  /* Toolbar bleibt mobil sichtbar — schmaler + scrollbar wenn voll */
  .cfgviewer__toolbar {
    top: 12px; left: 12px; gap: 4px; padding: 6px; border-radius: 12px;
    max-height: calc(100% - 24px);
    overflow-y: auto;
  }
  .cfgtool { width: 36px; height: 36px; }
  .cfgtool svg { width: 16px; height: 16px; }
  .cfgviewer__status { bottom: 12px; left: 12px; padding: 5px 10px; font-size: 10.5px; }
  .cfgtabs { padding: 10px 14px; gap: 6px; }
  .cfgtab { padding: 6px 12px 6px 6px; font-size: 12.5px; }
  .cfgtab__num { width: 22px; height: 22px; font-size: 11px; }
  .cfgpage__header { padding: 10px 14px; }
  .cfgpage__logo img { height: 32px; }
  .cfgpage__footer { padding: 12px 14px; gap: 10px; }
  .cfgfooter__product strong { font-size: 15px; }
  .cfgopts--3 { grid-template-columns: 1fr 1fr; }
  /* Panel-Body etwas knapper für mehr Inhalt pro Bildschirm */
  .cfgpanel__head { padding: 16px 18px 10px; }
  .cfgpanel__body { padding: 14px 18px; }
  .cfgpanel__title { font-size: 1.05rem; }
  /* Slider-Daumen größer für Touch */
  .cfgrange input[type=range]::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -10px; }
  .cfgrange input[type=range]::-moz-range-thumb { width: 24px; height: 24px; }
  .cfgrange input[type=range] { height: 32px; }
}
@media (max-width: 480px) {
  /* Tab-Pillen kompakt, aber mit Label sichtbar — Nummern allein waren
     zu kryptisch (Alper, 05.06.2026). Horizontaler Scroll fängt Überlauf. */
  .cfgtab { padding: 5px 10px 5px 5px; gap: 6px; }
  .cfgtab__num { width: 20px; height: 20px; font-size: 10.5px; }
  .cfgtab__label { font-size: 11.5px; }
  .cfgtabs { gap: 6px; padding: 10px 12px; }
  /* Day-2 fix: hide footer's "Produkt anfragen" on small screens — the
     panel's primary CTA ("Weiter mit ..." / "Konfiguration prüfen") already
     serves the same intent, and the global footer was visually colliding
     with it. Save Draft remains visible. */
  .cfgpage__footer { flex-direction: column; align-items: stretch; padding: 10px 12px; }
  .cfgfooter__actions { justify-content: center; }
  .cfgfooter__actions #cfgRequest { display: none; }
  .cfgfooter__product { display: none; }
}

/* ==========================================================================
   KONFIGURATOR — Step 6 Farbe (RAL Classic Palette)
   ========================================================================== */
.cfgsub {
  margin: 22px 0 10px;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
}
.cfgopt--swatch .cfgopt__icon { aspect-ratio: 1 / 1; border-radius: 8px; }
.cfgopt__icon--circle { border-radius: 50% !important; }
.cfgopts--ral4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cfgopts--ral4 .cfgopt { padding: 8px; }
.cfgopts--ral4 .cfgopt__icon {
  aspect-ratio: 1 / 1; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.08);
  position: relative;
}
.cfgopts--ral4 .cfgopt.is-selected .cfgopt__icon::after {
  content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.95); font-size: 18px; font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.cfgopts--ral4 .cfgopt__label { font-size: 11px; padding: 0 2px; }
.cfgral__more { background: #fafaf8 !important; border-style: dashed !important; }
.cfgral__moreIcon {
  background: var(--bg-2); display: grid; place-items: center;
  font-weight: 600; color: var(--muted); font-size: 13px;
}
.cfgral__back {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: none; color: var(--muted);
  font-size: 12px; padding: 0 0 12px; cursor: pointer;
}
.cfgral__back:hover { color: var(--ink); }
.cfgral__back svg { width: 14px; height: 14px; }
.cfgral__toolbar {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  margin-bottom: 10px;
}
.cfgral__search { position: relative; display: flex; align-items: center; }
.cfgral__search svg {
  position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted);
  pointer-events: none;
}
.cfgral__search input {
  width: 100%; padding: 10px 12px 10px 36px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-sans); font-size: 13.5px;
  background: #fafaf8; color: var(--ink);
}
.cfgral__search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.cfgral__view {
  display: flex; gap: 4px; padding: 4px;
  background: var(--bg-2); border-radius: 999px;
}
.cfgral__viewBtn {
  width: 30px; height: 30px; border-radius: 999px;
  border: none; background: transparent;
  display: grid; place-items: center; cursor: pointer;
  color: var(--muted);
}
.cfgral__viewBtn:hover { color: var(--ink); }
.cfgral__viewBtn.is-active { background: var(--ink); color: #fff; }
.cfgral__viewBtn svg { width: 14px; height: 14px; }
.cfgral__families {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 4px 0 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.cfgral__fam {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 12px; color: var(--ink-2); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.cfgral__fam:hover { border-color: var(--ink); }
.cfgral__fam.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cfgral__famDot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
}
.cfgral__meta { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.cfgral__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cfgral__tile {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 0; cursor: pointer; overflow: hidden;
  display: grid; gap: 0;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cfgral__tile:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 4px 10px -6px rgba(0,0,0,.18); }
.cfgral__tile.is-selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cfgral__sw { display: block; width: 100%; aspect-ratio: 1 / 1; position: relative; }
.cfgral__tile.is-selected .cfgral__sw::after {
  content: "✓"; position: absolute; top: 4px; right: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.cfgral__label {
  display: grid; gap: 0; padding: 4px 6px;
  font-size: 10px; line-height: 1.2; color: var(--ink-2); text-align: left;
}
.cfgral__label strong { font-size: 10px; font-weight: 600; }
.cfgral__label small { font-size: 9.5px; color: var(--muted); }
.cfgral__list { display: grid; gap: 4px; }
.cfgral__row {
  display: grid; grid-template-columns: 28px 80px 1fr; gap: 10px;
  align-items: center;
  padding: 6px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; text-align: left;
  transition: background .15s, border-color .15s;
}
.cfgral__row:hover { border-color: var(--ink); }
.cfgral__row.is-selected { background: var(--bg-2); border-color: var(--ink); }
.cfgral__rowSw {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.08);
}
.cfgral__rowCode {
  font-family: var(--font-sans); font-weight: 600; font-size: 12.5px;
  color: var(--ink); font-feature-settings: "tnum";
}
.cfgral__rowName { font-size: 13px; color: var(--ink-2); }
@media (max-width: 480px) {
  .cfgral__grid { grid-template-columns: repeat(3, 1fr); }
  .cfgral__toolbar { grid-template-columns: 1fr; }
  .cfgral__view { justify-self: end; }
}

/* ==========================================================================
   KONFIGURATOR — AR-Ansicht (model-viewer Modal)
   ========================================================================== */
.cfgar {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(10,10,10,.85);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.cfgar.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s linear 0s; }
.cfgar__inner {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  width: min(960px, 100%);
  height: min(720px, 90vh);
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden;
}
.cfgar__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.95); border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
}
.cfgar__close:hover { background: var(--bg-2); }
.cfgar__close svg { width: 16px; height: 16px; }
.cfgar__stage {
  position: relative;
  /* Gleicher Hintergrund wie die normale 3D-Vorschau (#fefefe) per Kundenwunsch
     Alper, 08.06.2026 — vorher #f6f4ef (warmer Cream) hat einen sichtbaren
     Unterschied gemacht beim Wechsel zwischen normaler Ansicht und AR-Preview. */
  background: #ffffff;
  display: grid; place-items: center;
  overflow: hidden;
}
.cfgar__stage model-viewer { width: 100%; height: 100%; }
.cfgar__loading, .cfgar__error {
  text-align: center; padding: 32px; color: var(--muted);
}
.cfgar__error strong { display: block; color: var(--ink); margin-bottom: 8px; }
.cfgar__hint {
  padding: 14px 20px;
  font-size: 12.5px; color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fafaf8;
  text-align: center;
}
.cfgar__hint strong { color: var(--ink); }
.cfgar__btn {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; border: none;
  padding: 12px 22px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.5);
}
.cfgar__btn svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .cfgar { padding: 0; align-items: end; }
  .cfgar__inner { border-radius: var(--r-lg) var(--r-lg) 0 0; height: 88vh; }
}

/* ==========================================================================
   KONFIGURATOR — Anfrage-Modal
   ========================================================================== */
.cfgmodal {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(10,10,10,.75);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.cfgmodal.is-open {
  opacity: 1; visibility: visible;
  transition: opacity .3s ease, visibility 0s linear 0s;
}
.cfgmodal__inner {
  background: #fff; border-radius: var(--r-lg);
  width: min(960px, 100%); max-height: 90vh;
  display: grid; grid-template-columns: 360px 1fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
  transform: translateY(20px); transition: transform .35s var(--ease);
}
.cfgmodal.is-open .cfgmodal__inner { transform: translateY(0); }
.cfgmodal__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
}
.cfgmodal__close:hover { background: var(--bg-2); }
.cfgmodal__close svg { width: 16px; height: 16px; }
.cfgmodal__summary {
  background: #fafaf8; border-right: 1px solid var(--line);
  padding: 28px 24px; overflow-y: auto;
  display: grid; gap: 16px; align-content: start;
}
.cfgmodal__summary h3 {
  margin: 0 0 4px; font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em;
}
.cfgmodal__summary p { margin: 0; font-size: 13px; color: var(--muted); }
.cfgmodal__sumGrid {
  display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px;
  padding-top: 14px; border-top: 1px solid var(--line); margin: 0;
}
.cfgmodal__sumGrid dt {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin: 0; align-self: center;
}
.cfgmodal__sumGrid dd {
  font-size: 13.5px; color: var(--ink-2); margin: 0; align-self: center;
}
.cfgmodal__sumSw {
  display: inline-block; width: 14px; height: 14px; border-radius: 3px;
  vertical-align: middle; margin-right: 6px; border: 1px solid rgba(0,0,0,.1);
}
.cfgmodal__form { padding: 28px 28px 24px; overflow-y: auto; }
.cfgmodal__form h2 {
  margin: 0 0 6px; font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em;
}
.cfgmodal__lede { margin: 0 0 18px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cfgmodal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cfgmodal__grid label { display: grid; gap: 5px; }
.cfgmodal__grid label.full { grid-column: 1 / -1; }
.cfgmodal__grid span.lbl {
  font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em;
}
.cfgmodal__grid span.hint {
  font-size: 11.5px; color: var(--accent); margin-top: 2px;
}
.cfgmodal__grid input[type=text],
.cfgmodal__grid input[type=email],
.cfgmodal__grid input[type=tel],
.cfgmodal__grid textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fafaf8; font-family: var(--font-sans); font-size: 13.5px;
  color: var(--ink);
}
.cfgmodal__grid input:focus, .cfgmodal__grid textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.cfgmodal__grid textarea { min-height: 70px; resize: vertical; }
.cfgmodal__check {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  align-items: start; padding-top: 8px;
}
.cfgmodal__check input { width: 16px; height: 16px; accent-color: var(--ink); margin-top: 2px; }
.cfgmodal__check span { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.cfgmodal__check a { color: var(--ink); text-decoration: underline; }
.cfgmodal__submit {
  background: var(--accent); color: #fff;
  border: none; border-radius: 999px;
  padding: 14px 22px; font-size: 14px; font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer; transition: background .2s, transform .2s var(--ease);
  display: inline-flex; align-items: center; gap: 10px;
  width: 100%; justify-content: center;
  min-height: 50px; margin-top: 14px;
}
.cfgmodal__submit:hover { background: #a01919; transform: translateY(-1px); }
.cfgmodal__submit svg { width: 18px; height: 18px; }
.cfgmodal__trust {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted);
  flex-wrap: wrap;
}
.cfgmodal__trust strong { color: var(--ink); font-weight: 600; }
.cfgmodal__trust .star { color: #f5b921; }
.cfgmodal__success {
  padding: 36px 24px; text-align: center; display: grid; gap: 16px; place-items: center;
}
.cfgmodal__success svg.check { width: 64px; height: 64px; color: #2ecc71; }
.cfgmodal__success h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.cfgmodal__success p { color: var(--muted); margin: 0; max-width: 360px; }
.cfgmodal__success .btn { margin-top: 8px; }
@media (max-width: 720px) {
  .cfgmodal { padding: 0; align-items: end; }
  .cfgmodal__inner {
    grid-template-columns: 1fr;
    max-height: 92vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    /* Auf Mobile EIN gemeinsamer Scroll-Container — die nested Scrolls
       von Summary + Form fingen auf kleinen Screens nicht alle Felder
       ab, dadurch konnte der Kunde Datenschutz-Checkbox + Submit-Button
       nicht erreichen (Alper, 08.06.2026). */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .cfgmodal__summary {
    border-right: none; border-bottom: 1px solid var(--line);
    padding: 22px 20px 18px;
    overflow: visible;
  }
  .cfgmodal__form { padding: 22px 20px; overflow: visible; }
  .cfgmodal__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ========================================================================== */
.legal-body { background: var(--bg); color: var(--ink); }
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: 100%;
}
.legal-nav__logo img { height: 48px; display: block; }
.legal-nav__back { font-size: 13.5px; color: var(--ink-2); }
.legal {
  max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pad) 80px;
}
.legal__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 20px;
}
.legal__lede { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0 0 36px; max-width: 660px; }
.legal__section { margin-bottom: 36px; }
.legal__section h2 {
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.legal__section p, .legal__section ul { color: var(--ink-2); font-size: 15px; line-height: 1.65; margin: 0 0 12px; }
.legal__section ul { padding-left: 18px; }
.legal__section ul li { margin-bottom: 6px; }
.legal__section a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal__small { font-size: 12px; color: var(--muted); margin-top: 32px; }
.legal-foot {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding: 22px var(--pad); text-align: center;
}
.legal-foot small { color: var(--muted); font-size: 12px; }
.legal-foot a { color: var(--ink-2); text-decoration: underline; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 200; max-width: 720px; margin: 0 auto;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px rgba(10,10,10,.35);
  padding: 18px 20px;
  transform: translateY(140%); opacity: 0;
  transition: transform .5s var(--ease), opacity .35s ease;
  pointer-events: none;
}
.cookie.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie__inner {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
}
.cookie__text strong {
  display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.cookie__text p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cookie__text a { color: var(--ink); text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie .btn--small { padding: 12px 18px; font-size: 13px; min-height: 44px; }

/* Slim-bar mode: when konfigurator is in viewport, shrink the banner so it never
   covers form controls. User can still expand via the toggle button. */
.cookie.is-slim { transform: translateY(0); }
.cookie.is-slim .cookie__text p,
.cookie.is-slim .cookie__text strong { display: none; }
.cookie.is-slim .cookie__inner { grid-template-columns: 1fr auto; gap: 10px; }
.cookie.is-slim::before {
  content: "Cookies — wir benötigen deine Zustimmung."; font-size: 12.5px; color: var(--muted);
}
.cookie.is-slim .cookie__text { display: none; }

@media (max-width: 640px) {
  .cookie { bottom: 12px; left: 12px; right: 12px; padding: 14px; max-height: 60vh; overflow: auto; }
  .cookie__inner { grid-template-columns: 1fr; gap: 12px; }
  .cookie__actions { justify-content: flex-end; }
  .cookie .btn--small { padding: 14px 18px; min-height: 44px; }
  .cookie.is-slim { padding: 10px 14px; }
}

/* ==========================================================================
   REVEAL ANIMATIONS (scroll-triggered)
   ========================================================================== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade-up.is-in { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .08s; }
.fade-up.delay-2 { transition-delay: .16s; }
.fade-up.delay-3 { transition-delay: .24s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__bar { grid-template-columns: 1fr auto auto; }
  .nav__bar .btn { display: none; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .material { grid-template-columns: 1fr; gap: 32px; }
  .team { grid-template-columns: 1fr; gap: 32px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .steps::before { display: none; }

  .review { flex-basis: calc((100% - 24px) / 2); }

  .hero__countdown { position: relative; right: auto; top: auto; width: 100%; margin-top: 28px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero__stats > div { border-left: none; }

  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { text-align: left; padding-left: 90px; min-height: 80px; }
  .step__num { position: absolute; left: 0; top: 0; width: 64px; height: 64px; font-size: 19px; }

  .cfg__opts--2, .cfg__opts--3, .cfg__opts--text, .cfg__opts--3-text { grid-template-columns: 1fr; }
  .cfg__summary { grid-template-columns: 1fr; gap: 2px 0; padding: 14px 16px; }
  .cfg__summary dd { margin-bottom: 8px; }
  .cfg__nav {
    position: sticky; bottom: 0; z-index: 5;
    background: rgba(10,10,10,.92); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin: 0 calc(var(--cfg-pad, 24px) * -1) calc(var(--cfg-pad, 24px) * -1);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .cfg__nextHint { font-size: 11px; }
  .review { flex-basis: 85%; }
  .hero__stats { grid-template-columns: 1fr 1fr; padding: 16px; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .foot__bottom { flex-direction: column; }

  .ba__compare { aspect-ratio: 4 / 3; }
  .gal__btn { display: none; }

  .hero { min-height: 92vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
