/* ============================================================
   KUHNERT LOFTTÜREN — Dark Industrial Design System
   ============================================================ */
/* Lokal eingebundene Schriften (DSGVO-konform, kein Google-CDN) */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2212;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2212;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2212;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2212;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2212;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2212;
}

:root {
  --bg: #0d0e10;
  --bg-2: #131518;
  --bg-3: #1a1d21;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eceae5;
  --muted: #a3a19a;
  --faint: #6d6c66;
  --accent: #c9a15c;
  --accent-soft: rgba(201, 161, 92, 0.14);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #101010; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 42px; height: 1px; background: var(--accent); }

.lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, border-color 0.35s, height 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.solid {
  background: rgba(13, 14, 16, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 13px; flex-shrink: 0;
  color: var(--text);
  transition: color 0.3s;
}
.brand:hover { color: var(--accent); }
.logo-mark { height: 46px; width: auto; display: block; }
.logo-word { height: 15px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 6px; }
.brand-text small {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.foot-brand { display: block; }
.foot-brand .logo-full { height: 120px; width: auto; display: block; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu > li { position: relative; }
.menu > li > a {
  display: block;
  padding: 10px 9px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
  white-space: nowrap;
}
.menu > li > a:hover, .menu > li > a.active { color: var(--text); }
.menu > li > a.active { color: var(--accent); }
.has-sub > a::after {
  content: "▾";
  margin-left: 7px;
  font-size: 0.7em;
  color: var(--accent);
}
.sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 8px;
  min-width: 320px;
  background: #16181c;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  list-style: none;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s var(--ease);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub a {
  display: block;
  padding: 11px 22px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.sub a b { display: block; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.sub a small { font-size: 0.78rem; color: var(--faint); }
.sub a:hover { background: rgba(255, 255, 255, 0.04); border-left-color: var(--accent); }
.sub a:hover b { color: var(--accent); }
.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 10px 16px !important;
  margin-left: 6px;
  transition: all 0.25s !important;
}
.nav-cta:hover { background: var(--accent); color: #101010 !important; }
.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  position: relative; z-index: 950;
}
.burger span {
  display: block; width: 26px; height: 2px;
  background: var(--text);
  margin: 6px auto;
  transition: all 0.3s var(--ease);
}
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Scrollytelling hero (Start) ---------- */
.scrolly { height: 380vh; }
.scrolly-stage {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
}
.seq-wrap { position: absolute; inset: 0; }
.seq-poster, .seq-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.seq-canvas { opacity: 0; transition: opacity 0.4s; }
.seq-canvas.ready { opacity: 1; }
.seq-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,14,16,0.55) 0%, rgba(13,14,16,0.12) 40%, rgba(13,14,16,0.72) 100%);
  pointer-events: none;
}
.frame {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity, transform;
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform;
}
.frame.on { opacity: 1; }
.frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,14,16,0.55) 0%, rgba(13,14,16,0.15) 40%, rgba(13,14,16,0.72) 100%);
}
.scrolly-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 5;
  padding: 0 0 11vh;
}
.scrolly-copy .caption {
  position: absolute;
  bottom: 11vh;
  left: 24px; right: 24px;
  max-width: 1240px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
  pointer-events: none;
}
.scrolly-copy .caption.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.caption h1, .caption h2 { max-width: 900px; text-shadow: 0 4px 40px rgba(0,0,0,0.5); }
.caption p {
  margin-top: 16px;
  max-width: 540px;
  color: rgba(236, 234, 229, 0.85);
  font-size: 1.05rem;
}
.scroll-progress {
  position: absolute;
  right: 30px; top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex; flex-direction: column; gap: 14px;
}
.scroll-progress i {
  width: 2px; height: 34px;
  background: rgba(255,255,255,0.22);
  transition: background 0.3s;
}
.scroll-progress i.on { background: var(--accent); }
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  animation: hint 2.4s infinite;
}
@keyframes hint {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 70px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-hero.tall { min-height: 78vh; }
.page-hero .bg {
  position: absolute; inset: 0; z-index: -1;
}
.page-hero .bg img {
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}
.page-hero .bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,14,16,0.62), rgba(13,14,16,0.28) 45%, var(--bg) 100%);
}
.page-hero .wrap { width: 100%; }
.page-hero h1 { max-width: 880px; }
.page-hero .lead { margin-top: 18px; }
.crumbs {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 22px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 8px; color: var(--accent); }

/* ---------- Sections ---------- */
.sec { padding: 110px 0; }
.sec.tight { padding: 70px 0; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 56px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .kicker::before { display: none; }
.sec-head p { margin-top: 16px; color: var(--muted); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.card .thumb { overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .thumb img { transform: scale(1.07); }
.card .thumb .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(13, 14, 16, 0.82);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  padding: 6px 12px;
}
.card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card .body h3 { margin-bottom: 10px; }
.card .body p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.card .body .go {
  margin-top: 20px;
  color: var(--accent);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  display: inline-flex; align-items: center; gap: 10px;
}
.card .body .go::after { content: "→"; transition: transform 0.3s; }
.card:hover .body .go::after { transform: translateX(6px); }

/* Feature list */
.feature {
  border: 1px solid var(--line);
  background: var(--bg-3);
  padding: 30px 28px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.feature:hover { border-color: var(--accent); transform: translateY(-5px); }
.feature .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.rev .media { order: 2; }
.split .media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.split .media img { width: 100%; transition: transform 0.9s var(--ease); }
.split .media:hover img { transform: scale(1.05); }
.split .media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  z-index: 2;
  pointer-events: none;
}
.split h2 { margin-bottom: 20px; }
.split p { color: var(--muted); margin-bottom: 14px; }

/* Checklist */
.ticks { list-style: none; margin: 22px 0; }
.ticks li {
  padding: 10px 0 10px 36px;
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.ticks li:last-child { border-bottom: none; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.ticks li b { color: var(--text); }

/* Spec table */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.spec th, .spec td {
  text-align: left;
  padding: 14px 18px;
  border: 1px solid var(--line);
}
.spec th {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--accent);
  background: var(--bg-3);
  white-space: nowrap;
}
.spec td { color: var(--muted); }
.spec td b { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.86rem;
  padding: 16px 34px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn::after { content: "→"; transition: transform 0.3s; }
.btn:hover { background: var(--accent); color: #101010; }
.btn:hover::after { transform: translateX(5px); }
.btn.solid { background: var(--accent); color: #101010; }
.btn.solid:hover { background: #dcb56e; border-color: #dcb56e; }
.btn.ghost { border-color: var(--line-strong); color: var(--text); }
.btn.ghost:hover { border-color: var(--text); background: var(--text); color: #101010; }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; }

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.stat {
  padding: 44px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .val {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.stat .val em { color: var(--accent); font-style: normal; }
.stat .lab {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Steps (Ablauf) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step {
  padding: 40px 30px 30px;
  border-left: 1px solid var(--line);
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: -5px;
  width: 9px; height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
}
.step .n {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Gallery */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-bar button:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar button.active { background: var(--accent); border-color: var(--accent); color: #101010; }
.masonry { columns: 3; column-gap: 22px; }
.shot {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
}
.shot img { transition: transform 0.7s var(--ease); width: 100%; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(0deg, rgba(10,10,12,0.85), transparent);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s;
  text-align: left;
}
.shot:hover figcaption { opacity: 1; transform: translateY(0); }
.shot.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1200;
  background: rgba(8, 8, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}
.lightbox.open { display: flex; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 88vh; border: 1px solid var(--line-strong); }
.lightbox .lb-cap {
  position: absolute; bottom: 4vh; left: 0; right: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lightbox button {
  position: absolute;
  background: none; border: 1px solid var(--line-strong);
  color: var(--text);
  width: 52px; height: 52px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.25s;
}
.lightbox button:hover { background: var(--accent); border-color: var(--accent); color: #101010; }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- Konfigurator ---------- */
.konfig {
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.konfig-head {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.konfig-head .kstep {
  flex: 1;
  padding: 18px 10px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  border-right: 1px solid var(--line);
  position: relative;
}
.konfig-head .kstep:last-child { border-right: none; }
.konfig-head .kstep.on { color: var(--accent); background: var(--accent-soft); }
.konfig-head .kstep.done { color: var(--text); }
.konfig-head .kstep.done::after { content: " ✓"; color: var(--accent); }
.konfig-body { padding: 46px 46px 40px; min-height: 420px; }
.konfig-body h3 { margin-bottom: 8px; }
.konfig-body .hint { color: var(--faint); font-size: 0.9rem; margin-bottom: 30px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.opt-grid.g4 { grid-template-columns: repeat(4, 1fr); }
.opt {
  border: 1px solid var(--line-strong);
  background: var(--bg-3);
  padding: 24px 22px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}
.opt:hover { border-color: var(--accent); transform: translateY(-3px); }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.opt.sel::after {
  content: "✓";
  position: absolute;
  top: 10px; right: 14px;
  color: var(--accent);
  font-weight: 700;
}
.opt b {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.06rem;
  margin-bottom: 6px;
}
.opt small { color: var(--muted); font-size: 0.84rem; line-height: 1.5; display: block; }
.opt .oimg { aspect-ratio: 16/10; overflow: hidden; margin: -24px -22px 16px; border-bottom: 1px solid var(--line); }
.opt .oimg img { width: 100%; height: 100%; object-fit: cover; }
.konfig-nav {
  display: flex;
  justify-content: space-between;
  padding: 24px 46px;
  border-top: 1px solid var(--line);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.summary {
  background: var(--bg);
  border: 1px solid var(--accent);
  padding: 30px;
  margin-top: 10px;
}
.summary h4 {
  color: var(--accent);
  letter-spacing: 0.2em;
  font-size: 1rem;
  margin-bottom: 16px;
}
.summary dl { display: grid; grid-template-columns: 180px 1fr; row-gap: 10px; font-size: 0.94rem; }
.summary dt { color: var(--faint); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.12em; padding-top: 3px; }
.summary dd { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 110px 0;
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta-band .bg { position: absolute; inset: 0; z-index: -1; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(13, 14, 16, 0.82);
}
.cta-band h2 { max-width: 720px; margin: 0 auto 18px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: #0a0b0c;
  padding: 80px 0 36px;
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.foot-grid h4 {
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 20px;
}
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--muted); transition: color 0.2s; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid p { color: var(--muted); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--faint);
  font-size: 0.82rem;
}
.foot-bottom a { color: var(--muted); margin-left: 18px; }
.foot-bottom a:hover { color: var(--accent); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.ph {
  background: rgba(201, 161, 92, 0.16);
  border: 1px dashed var(--accent);
  color: var(--accent);
  padding: 1px 8px;
  font-style: normal;
  white-space: nowrap;
}
.legal-note {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  padding: 20px 24px;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* ---------- Kundenbewertungen ---------- */
.gbadge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  border: 1px solid var(--line-strong);
  background: var(--bg-3);
  padding: 12px 22px;
}
.gbadge .gscore {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
}
.gbadge .gstars { color: var(--accent); font-size: 1.15rem; letter-spacing: 2px; }
.gbadge .gcount { color: var(--muted); font-size: 0.86rem; }
.review {
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  margin: 0;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.review:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.review .rstars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; }
.review blockquote {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 20px;
}
.review figcaption {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review figcaption b { font-size: 0.94rem; }
.review figcaption span {
  color: var(--faint);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Reveal animations ---------- */
.rv { opacity: 0; transform: translateY(42px); transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.rv.vis { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }
.rv-d4 { transition-delay: 0.4s; }

/* Divider grid motif */
.grid-motif {
  height: 120px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 120px 60px;
  opacity: 0.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .menu { display: none; }
  .burger { display: block; }
  .menu.mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 13, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 940;
  }
  .menu.mobile-open > li > a { font-size: 1.3rem; padding: 12px 20px; }
  .menu.mobile-open .sub {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: none; border: none; box-shadow: none;
    text-align: center;
    display: none;
    padding: 0;
  }
  .menu.mobile-open .has-sub.open .sub { display: block; }
  .menu.mobile-open .sub a { padding: 8px; }
  .menu.mobile-open .sub a small { display: none; }
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .masonry { columns: 2; }
  .opt-grid, .opt-grid.g4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sec { padding: 70px 0; }
  .logo-mark { height: 38px; }
  .logo-word { height: 12px; }
  .brand-text small { font-size: 0.5rem; letter-spacing: 0.16em; }
  .foot-brand .logo-full { height: 96px; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .opt-grid, .opt-grid.g4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .konfig-body { padding: 28px 22px; }
  .konfig-nav { padding: 18px 22px; }
  .konfig-head .kstep { font-size: 0.62rem; padding: 12px 4px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .scroll-progress { display: none; }
  .summary dl { grid-template-columns: 1fr; row-gap: 2px; }
  .summary dt { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .frame img { transition: none; }
}

