/* =====================================================================
   WALED VIDEOWALLS — Design System
   CI: Primärrot #E40521 · Anthrazit-Verläufe · Apple-/The7-Bühne
   ===================================================================== */

:root {
  /* Markenfarben (CI-Kompass) */
  --red: #E40521;
  --red-bright: #FF1F3A;
  --red-soft: #FF6679;
  --red-deep: #8B0014;

  /* Anthrazit / Dark */
  --bg-0: #05070A;
  --bg-1: #0F1217;
  --bg-2: #1B1F26;
  --panel: #0E1218;
  --hairline: #272D38;

  /* Text */
  --text: #F4F5F7;
  --text-dim: #A6ACB8;
  --text-dimmer: #7A8190;

  /* Licht-Modus-Sektion */
  --light-bg: #E3E6EC;
  --light-panel: #FFFFFF;
  --light-text: #11151B;
  --light-dim: #5A626E;

  /* System */
  --maxw: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
  --topbar-h: 34px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Inter", system-ui, sans-serif;
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.6);
  --shadow-red: 0 20px 60px -15px rgba(228,5,33,.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* Typografie ---------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.display { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); display: inline-block; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-dim); max-width: 60ch; }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: .98rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--red-bright), var(--red-deep)); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 28px 70px -15px rgba(228,5,33,.6); }
.btn-ghost { border: 1px solid var(--hairline); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--red); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: #11151B; }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Topbar -------------------------------------------------------------- */
.topbar {
  height: var(--topbar-h); display: flex; align-items: center;
  background: #000; font-size: .8rem; color: var(--text-dim);
  border-bottom: 1px solid var(--hairline);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: var(--text-dim); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 20px; align-items: center; }
.topbar .tb-phone { color: #fff; font-weight: 600; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { padding: 2px 8px; border-radius: 6px; text-transform: uppercase; font-weight: 600; }
.lang-switch a.active { background: var(--red); color: #fff; }

/* Header / Nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(8,10,14,.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(6,8,11,.92); border-bottom-color: var(--hairline); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; }
.nav-main { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-main > li { height: 100%; display: flex; align-items: center; position: relative; }
.nav-main > li > a {
  padding: 10px 16px; border-radius: 10px; font-weight: 500; font-size: .96rem; color: var(--text);
  transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 6px;
}
.nav-main > li > a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-main > li > a .caret { width: 14px; height: 14px; opacity: .6; transition: transform .3s; }
.nav-main > li:hover > a .caret { transform: rotate(180deg); }
.nav-cta a { background: linear-gradient(135deg, var(--red-bright), var(--red-deep)); color: #fff !important; box-shadow: var(--shadow-red); }
.nav-cta a:hover { transform: translateY(-1px); }

/* Mega menu / dropdown ------------------------------------------------- */
.mega, .dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(14,18,24,.97); backdrop-filter: blur(20px);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px; transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.nav-main > li:hover .mega, .nav-main > li:hover .dropdown,
.nav-main > li:focus-within .mega, .nav-main > li:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); gap: 26px; width: max-content; max-width: 94vw; }
.mega-col h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.mega-link { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background .2s, transform .2s; }
.mega-link:hover { background: rgba(255,255,255,.06); transform: translateX(3px); }
.mega-thumb {
  width: 46px; height: 46px; flex: none; border-radius: 10px;
  background: radial-gradient(circle at 50% 35%, rgba(228,5,33,.18), rgba(255,255,255,.02));
  display: grid; place-items: center; overflow: hidden; border: 1px solid var(--hairline);
}
.mega-thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); transition: transform .35s var(--ease); }
.mega-link:hover .mega-thumb img { transform: scale(1.12); }
.mega-link .ml-name { font-weight: 600; font-size: .92rem; }
.mega-link .ml-tag { font-size: .76rem; color: var(--text-dimmer); }
.dropdown { display: flex; flex-direction: column; gap: 2px; min-width: 230px; }
.dropdown a { padding: 10px 14px; border-radius: 10px; font-size: .92rem; color: var(--text-dim); transition: background .2s, color .2s; }
.dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }

/* Mobile nav ---------------------------------------------------------- */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed; inset: 0; top: 0; z-index: 999;
  background: var(--bg-0); transform: translateX(100%); transition: transform .4s var(--ease);
  overflow-y: auto; padding: calc(var(--header-h) + 20px) 22px 60px; display: flex; flex-direction: column; gap: 6px;
}
body.menu-open .mobile-drawer { transform: translateX(0); }
.m-item > a, .m-acc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 8px; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--hairline); width: 100%; }
.m-acc-head .caret { width: 18px; height: 18px; transition: transform .3s; opacity: .7; }
.mobile-drawer .m-item > a svg { width: 22px; height: 22px; flex: none; opacity: .55; }
.m-acc.open .m-acc-head .caret { transform: rotate(180deg); }
.m-acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.m-acc.open .m-acc-body { max-height: 1400px; }
.m-sub-title { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 16px 8px 6px; }
.m-prod { display: flex; align-items: center; gap: 14px; padding: 11px 8px; border-radius: 12px; }
.m-prod:active { background: rgba(255,255,255,.05); }
.m-prod .mega-thumb { width: 42px; height: 42px; }
.m-prod .ml-name { font-size: 1rem; font-weight: 600; }
.m-prod .ml-tag { font-size: .78rem; color: var(--text-dimmer); }

/* Hero ---------------------------------------------------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5,7,10,.92) 0%, rgba(5,7,10,.6) 45%, rgba(5,7,10,.25) 100%); }
.hero-glow { position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -10vw; top: -10vw; background: radial-gradient(circle, rgba(228,5,33,.22), transparent 60%); filter: blur(40px); pointer-events: none; }
.hero-inner { padding: 60px 0; max-width: 760px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dimmer); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .mouse { width: 22px; height: 36px; border: 2px solid var(--text-dimmer); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--red); border-radius: 3px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* Sections ------------------------------------------------------------ */
section { position: relative; }
.sec { padding: clamp(70px, 10vw, 140px) 0; }
.sec-dark { background: var(--bg-0); }
.sec-darker { background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); }
.sec-light { background: var(--light-bg); color: var(--light-text); }
.sec-light .lead { color: var(--light-dim); }
.sec-light .eyebrow { color: var(--red); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* Intro split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.1fr; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.06); }

/* Feature grid (USP / Messe) */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feat-card { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px; transition: transform .4s var(--ease), border-color .4s; position: relative; overflow: hidden; }
.feat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.feat-card:hover { transform: translateY(-6px); border-color: rgba(228,5,33,.4); }
.feat-card:hover::before { transform: scaleY(1); }
.feat-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feat-card p { color: var(--text-dim); font-size: .95rem; }
.feat-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(228,5,33,.12); display: grid; place-items: center; margin-bottom: 18px; color: var(--red); }
.feat-icon svg { width: 24px; height: 24px; }

/* Product cards (catalog) */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.prod-card { background: linear-gradient(180deg, var(--bg-2), var(--panel)); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; position: relative; overflow: hidden; }
.prod-card:hover { transform: translateY(-8px); border-color: rgba(228,5,33,.45); box-shadow: var(--shadow-lg); }
.prod-card .pc-img { height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 18px; background: rgba(0,0,0,.22); border-radius: 12px; padding: 14px; }
.prod-card .pc-img img { max-height: 152px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 14px 24px rgba(0,0,0,.55)); transition: transform .5s var(--ease); }
.prod-card:hover .pc-img img { transform: scale(1.08) translateY(-4px); }
.prod-card .pc-badge { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.prod-card h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.prod-card p { color: var(--text-dim); font-size: .9rem; margin-bottom: 16px; }
.prod-card .pc-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: .9rem; }
.prod-card .pc-link svg { width: 16px; height: 16px; transition: transform .3s; }
.prod-card:hover .pc-link svg { transform: translateX(4px); }
.pitch-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pitch-chips span { font-size: .72rem; padding: 3px 9px; border: 1px solid var(--hairline); border-radius: 100px; color: var(--text-dim); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.testi { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px; }
.testi p { font-style: italic; color: var(--text); margin-bottom: 20px; }
.testi .who { display: flex; align-items: center; gap: 14px; }
.testi .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi .who b { display: block; font-size: .95rem; }
.testi .who span { font-size: .82rem; color: var(--text-dimmer); }
.stars { color: var(--red); margin-bottom: 14px; letter-spacing: 2px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red-bright), var(--red-deep)); border-radius: var(--radius); padding: clamp(40px, 6vw, 70px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 50%); pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.9); position: relative; margin: 0 auto 28px; max-width: 56ch; }
.cta-band .btn { position: relative; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; background: linear-gradient(135deg, #fff, var(--red-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-dim); font-size: .9rem; }

/* ====================== PRODUCT PAGE ================================= */
.p-hero { position: relative; padding: calc(var(--header-h) + 60px) 0 80px; overflow: hidden; }
.p-hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -20vw; top: -20vw; background: radial-gradient(circle, rgba(228,5,33,.18), transparent 60%); filter: blur(30px); z-index: -1; }
.p-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.p-hero-grid.no-img { grid-template-columns: 1fr; max-width: 880px; }
.p-hero .badge { display: inline-block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; border: 1px solid rgba(228,5,33,.4); padding: 5px 14px; border-radius: 100px; margin-bottom: 22px; }
.p-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; margin-bottom: 12px; }
.p-hero .p-tagline { font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--text-dim); margin-bottom: 24px; font-weight: 300; }
.p-hero-img { display: grid; place-items: center; }
.p-hero-img img { max-height: 480px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 34px 60px rgba(0,0,0,.55)); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.p-pitches { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.p-pitches span { font-size: .82rem; padding: 5px 13px; border: 1px solid var(--hairline); border-radius: 100px; color: var(--text-dim); background: rgba(255,255,255,.02); }

/* Highlights big */
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 24px; }
.hl { padding: 32px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--hairline); transition: transform .4s var(--ease); }
.hl:hover { transform: translateY(-6px); }
.hl h3 { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.hl p { color: var(--text-dim); font-size: .95rem; }

/* Showcase image full bleed */
.showcase { position: relative; height: clamp(360px, 60vh, 620px); border-radius: var(--radius); overflow: hidden; }
.showcase img { width: 100%; height: 100%; object-fit: cover; }
.showcase--full { height: auto; background: transparent; padding: clamp(10px,3vw,30px); }
.showcase--full img { width: auto; max-width: 100%; height: auto; max-height: 70vh; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 30px 55px rgba(0,0,0,.5)); }
.showcase--frame { height: auto; background: transparent; padding: clamp(20px,4vw,44px); }
.showcase--frame img { width: auto; max-width: 100%; height: auto; max-height: 72vh; object-fit: contain; border-radius: 4px; margin: 0 auto; }
.showcase .sc-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 50px 40px; background: linear-gradient(0deg, rgba(5,7,10,.9), transparent); }
.yt-facade{cursor:pointer}
.yt-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:84px;height:84px;border-radius:50%;background:rgba(228,5,33,.92);color:#fff;display:grid;place-items:center;box-shadow:var(--shadow-red);transition:transform .3s var(--ease);z-index:2}
.yt-facade:hover .yt-play{transform:translate(-50%,-50%) scale(1.08)}

/* Spec table */
.spec-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table.spec { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .9rem; }
table.spec th, table.spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--hairline); }
table.spec thead th { position: sticky; top: 0; background: var(--bg-2); color: #fff; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; z-index: 2; }
table.spec thead th:first-child { left: 0; z-index: 3; }
table.spec tbody th { font-weight: 500; color: var(--text-dim); background: var(--bg-1); position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--hairline); }
@media (hover: hover) {
  table.spec tbody tr:hover td { background: rgba(228,5,33,.06); }
  /* sticky bleibt opaque, nur leichte rote Untermalung */
  table.spec tbody tr:hover th { background: var(--bg-1); }
}
/* Sticky-Spalte: nicht selektierbar (verhindert Text-Drag beim Touch-Scrollen) */
table.spec tbody th, table.spec thead th {
  -webkit-user-select: none; user-select: none;
}
.spec-wrap { touch-action: pan-x; }
table.spec td { color: var(--text); white-space: nowrap; }
.spec-note { font-size: .82rem; color: var(--text-dimmer); margin-top: 14px; }

/* Breadcrumb */
.crumb { font-size: .82rem; color: var(--text-dimmer); padding: 14px 0; }
.crumb a:hover { color: var(--red); }

/* ====================== CONFIGURATOR ================================= */
.cfg-wrap { max-width: 820px; margin: 0 auto; }
.cfg-steps { display: flex; gap: 8px; margin-bottom: 36px; }
.cfg-steps .st { flex: 1; height: 5px; border-radius: 4px; background: var(--hairline); overflow: hidden; position: relative; }
.cfg-steps .st.done, .cfg-steps .st.active { background: var(--red); }
.cfg-step { display: none; animation: fadeUp .5s var(--ease); }
.cfg-step.active { display: block; }
.cfg-step h3 { font-size: 1.5rem; margin-bottom: 6px; }
.cfg-step .step-sub { color: var(--text-dim); margin-bottom: 26px; }
.cfg-field { margin-bottom: 22px; }
.cfg-field label { display: block; font-weight: 600; margin-bottom: 8px; }
.cfg-field .hint { font-weight: 400; color: var(--text-dimmer); font-size: .85rem; }
.cfg-field input[type=text], .cfg-field input[type=email], .cfg-field input[type=tel], .cfg-field input[type=number], .cfg-field textarea, .cfg-field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--hairline); color: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.cfg-field input:focus, .cfg-field textarea:focus, .cfg-field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,5,33,.18); }
.cfg-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt label { display: flex; align-items: center; gap: 10px; padding: 16px; border: 1px solid var(--hairline); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; margin: 0; font-weight: 500; }
.opt input:checked + label { border-color: var(--red); background: rgba(228,5,33,.1); }
.opt label .tick { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--hairline); flex: none; display: grid; place-items: center; }
.opt input:checked + label .tick { background: var(--red); border-color: var(--red); }
.cfg-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.cfg-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cfg-success, .cfg-error { display: none; padding: 24px; border-radius: var(--radius); margin-top: 20px; }
.cfg-success { background: rgba(40,180,99,.12); border: 1px solid rgba(40,180,99,.4); }
.cfg-error { background: rgba(228,5,33,.12); border: 1px solid rgba(228,5,33,.4); }

/* Footer -------------------------------------------------------------- */
.site-footer { background: #04060A; border-top: 1px solid var(--hairline); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.foot-grid h5 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dimmer); margin-bottom: 16px; }
.foot-grid a { color: var(--text-dim); font-size: .9rem; display: block; padding: 5px 0; transition: color .2s; }
.foot-grid a:hover { color: var(--red); }
.foot-brand img { height: 32px; margin-bottom: 18px; }
.foot-brand p { color: var(--text-dimmer); font-size: .88rem; max-width: 34ch; }
.foot-bottom { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--text-dimmer); }

/* Cookie -------------------------------------------------------------- */
.cookie { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 480px; z-index: 1200; background: rgba(14,18,24,.97); backdrop-filter: blur(16px); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); transform: translateY(150%); transition: transform .5s var(--ease); }
.cookie.show { transform: translateY(0); }
.cookie p { font-size: .85rem; color: var(--text-dim); margin-bottom: 14px; }
.cookie .ck-btns { display: flex; gap: 10px; }

/* Back to top */
.to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; z-index: 1100; opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .3s, transform .3s; box-shadow: var(--shadow-red); }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Scroll reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal-x { opacity: 0; transform: translateX(-50px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-x.right { transform: translateX(50px); }
.reveal-x.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.9); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Parallax helper */
.parallax { will-change: transform; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .split, .split.rev, .p-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .nav-main, .topbar .tb-left .tb-hours { display: none; }
  .nav-toggle { display: flex; }
  .p-hero-img { order: -1; }
  .p-hero-img img { max-height: 320px; }
  .cfg-grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .reveal-x, .reveal-scale { opacity: 1; transform: none; }
}

/* ===== Info / Rechtsseiten (prose) ===== */
.container--narrow { max-width: 860px; }
.prose { color: var(--text-dim); font-size: 1.06rem; line-height: 1.75; }
.prose h2, .prose h3, .prose h4 { color: var(--text); line-height: 1.3; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.45rem; font-weight: 650; }
.prose h4 { font-size: 1.15rem; font-weight: 600; }
.prose h2:first-child, .prose h3:first-child, .prose h4:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { color: var(--red); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.prose figcaption { margin-top: .6em; font-size: .9rem; color: var(--text-dimmer); text-align: center; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 2em 0; }

/* ===== Standort-Detail Sektionen ===== */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 6px; }
.loc-block h3 { color: var(--text); font-size: 1.15rem; font-weight: 650; margin: 0 0 12px; }
.loc-list { list-style: none; padding: 0; margin: 0; }
.loc-list li { padding: 10px 14px; background: var(--panel); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; margin-bottom: 8px; color: var(--text-dim); font-size: .98rem; }

/* ===== Produkt: "Mehr zum Thema" ===== */
.info-link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.info-link-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; background: var(--panel); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 600; transition: transform .35s var(--ease), border-color .35s; }
.info-link-card:hover { transform: translateY(-3px); border-color: rgba(228,5,33,.55); }
.info-link-card .ilc-arrow svg { width: 18px; height: 18px; color: var(--red); }
.info-link-card .ilc-title { font-size: 1rem; }

/* ===== Mega-Menü Hover-Bridge =====
   Schließt den 6-16px Gap zwischen Top-Link und Submenü, damit die Maus stabil
   nach unten gleiten kann ohne :hover zu verlieren. Wirkt nur bei Items mit
   Submenü (Mega oder Dropdown). */
.nav-main > li:has(.mega)::after,
.nav-main > li:has(.dropdown)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
  /* nicht sichtbar, aber empfängt Hover und hält :hover des li aktiv */
}
/* Submenü etwas schneller öffnen, Schließverzögerung gegen Flackern */
.mega, .dropdown {
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .18s;
}
.nav-main > li:hover .mega, .nav-main > li:hover .dropdown,
.nav-main > li:focus-within .mega, .nav-main > li:focus-within .dropdown {
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s 0s;
}

/* ===== Feature-Blöcke (Brochüren-Style auf Produktseiten) ===== */
.fb-sec { padding-top: 30px; padding-bottom: 30px; }
.fb-sec--single { padding: 60px 0; }
.fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.fb-sec--single .fb-row { padding: 0; border-bottom: 0; }
.fb-row:last-child { border-bottom: 0; }
.fb-row.fb-right { direction: rtl; }
.fb-row.fb-right > * { direction: ltr; }
.fb-media { display: flex; align-items: center; justify-content: center; }
.fb-media img { max-width: 100%; height: auto; max-height: 460px; object-fit: contain; filter: drop-shadow(0 10px 28px rgba(0,0,0,.5)); }
.fb-text { padding: 10px 0; }
.fb-title { color: var(--text); font-size: clamp(1.5rem,2.6vw,2.2rem); font-weight: 700; line-height: 1.2; margin: 0 0 18px; }
.fb-body { color: var(--text-dim); font-size: 1.05rem; line-height: 1.7; margin: 0 0 16px; }
.fb-bullets { list-style: none; padding: 0; margin: 0; }
.fb-bullets li { padding: 8px 0 8px 28px; color: var(--text-dim); position: relative; font-size: 1rem; line-height: 1.55; }
.fb-bullets li::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--red-bright,#ff2e4a), var(--red-deep,#b8001a)); }
/* Helle Variante: schwarzer Text, dezenter Shadow */
.sec-light .fb-title { color: var(--light-text); }
.sec-light .fb-body  { color: var(--light-dim); }
.sec-light .fb-bullets li { color: var(--light-dim); }
.sec-light .fb-media img { filter: drop-shadow(0 10px 28px rgba(0,0,0,.18)); }
@media (max-width: 880px) {
  .fb-row, .fb-row.fb-right { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; direction: ltr; }
  .fb-media img { max-height: 320px; }
}

/* ===== Konfigurator v2: Pfad-Tiles, Promise-Box, Live-Vorschläge ===== */
.cfg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 8px; }
.cfg-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; background: var(--panel); border: 1.5px solid rgba(255,255,255,.06); border-radius: 14px; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.cfg-tile:hover { transform: translateY(-2px); border-color: rgba(228,5,33,.4); }
.cfg-tile input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-tile input:checked + .ct-title { color: #fff; }
.cfg-tile:has(input:checked) { border-color: var(--red); background: linear-gradient(180deg, rgba(228,5,33,.10), rgba(228,5,33,.02)); }
.ct-title { font-weight: 650; font-size: 1.05rem; color: var(--text); line-height: 1.25; }
.ct-sub { font-size: .86rem; color: var(--text-dimmer); line-height: 1.4; }


.cfg-suggest { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.07); display: none; }
.cfg-suggest.visible { display: block; }
.cfg-suggest .cs-title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dimmer); margin-bottom: 14px; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cs-card { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--panel); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; text-decoration: none; transition: transform .25s, border-color .25s; }
.cs-card:hover { transform: translateY(-2px); border-color: rgba(228,5,33,.4); }
.cs-img { width: 60px; height: 60px; flex: none; border-radius: 10px; background: rgba(0,0,0,.25); display: grid; place-items: center; overflow: hidden; }
.cs-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.cs-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cs-name { font-weight: 600; font-size: .92rem; color: var(--text); }
.cs-badge { font-size: .72rem; color: var(--text-dimmer); }
.cs-short { font-size: .78rem; color: var(--text-dimmer); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== Konfigurator Submit-Button + Upload + Misc (war verloren beim v2-Umbau) ===== */
.btn-submit {
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 18px 36px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-red);
  animation: pulseBtnRed 2.2s infinite;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 28px 70px -15px rgba(228,5,33,.7); }
.btn-submit.loading { pointer-events: none; animation: none; }
.btn-submit.loading .cs-label { opacity: .5; }
.cs-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; margin-left: 8px; }
.btn-submit.loading .cs-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseBtnRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228,5,33,.55); }
  50%      { box-shadow: 0 0 0 18px rgba(228,5,33,0); }
}
@media (prefers-reduced-motion: reduce) { .btn-submit { animation: none; } }

.dropzone { border: 2px dashed var(--hairline); border-radius: var(--radius); padding: 34px; text-align: center; color: var(--text-dim); transition: border-color .2s, background .2s; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dropzone.drag { border-color: var(--red); background: rgba(228,5,33,.06); }
.dropzone svg { color: var(--red); }
.dz-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.dz-note { font-size: .8rem; color: var(--text-dimmer); }
.file-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.file-row { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--hairline); border-radius: 10px; padding: 8px 12px; font-size: .88rem; }
.file-row img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.file-row .fr-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row button { color: var(--text-dimmer); font-size: 1.2rem; line-height: 1; background: none; border: 0; cursor: pointer; }
.cfg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-dim); margin-top: 4px; }
.cfg-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); }

/* ===== WALED Dot-Pattern + rote Akzente (Schwarz aufbrechen) =====
   Dezentes 44x44 SVG-Tile mit 5 roten Quadraten (WALED-Logo-Anlehnung)
   und radiale Rot-Glows für ausgewählte Sektionen. */
:root {
  --waled-dots: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='84' viewBox='0 0 18 84'><g fill='%23E40521'><rect x='3' y='3' width='6' height='6'/><rect x='3' y='21' width='6' height='6'/><rect x='3' y='39' width='6' height='6'/></g></svg>");
}
.has-dots { position: relative; isolation: isolate; }
.has-dots::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--waled-dots);
  background-size: 18px 84px;
  opacity: .06;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.has-glow { position: relative; isolation: isolate; overflow: hidden; }
.has-glow::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 100% 0%, rgba(228,5,33,.18), transparent 60%),
    radial-gradient(ellipse 800px 500px at 0% 100%, rgba(228,5,33,.10), transparent 65%);
}
.has-glow-soft::after {
  background:
    radial-gradient(ellipse 400px 300px at 50% 0%, rgba(228,5,33,.12), transparent 65%);
}

/* Konfigurator-Sektion freundlicher: warmer Glow, dezenter Dot-Background, gerundete Karte */
.cfg-wrap {
  position: relative; padding: 36px clamp(20px, 4vw, 44px); border-radius: 24px;
  background: linear-gradient(180deg, rgba(228,5,33,.04), rgba(255,255,255,0.012) 30%);
  border: 1px solid rgba(255,255,255,.05);
  overflow: hidden; isolation: isolate;
}
.cfg-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--waled-dots);
  background-size: 18px 84px;
  opacity: .08;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.cfg-wrap::after {
  content: ""; position: absolute; top: -180px; right: -160px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(228,5,33,.24), transparent 65%);
  pointer-events: none; z-index: -1; filter: blur(28px);
}
@media (max-width: 900px) {
  .cfg-wrap::after { width: 420px; height: 420px; top: -120px; right: -100px; filter: blur(22px); }
}

/* Schritt-Indikatoren wärmer: aktive Stufe leuchtet rot */
.cfg-steps .st.active { background: var(--red); box-shadow: 0 0 14px rgba(228,5,33,.6); }
.cfg-steps .st.done { background: linear-gradient(90deg, var(--red), var(--red-deep)); opacity: .8; }

/* Schritt-Überschriften wärmer */
.cfg-step h3 { color: #fff; font-size: 1.6rem; }
.cfg-step h3::before {
  content: ""; display: inline-block; width: 10px; height: 10px; background: var(--red);
  border-radius: 3px; margin-right: 12px; vertical-align: middle;
  box-shadow: 0 0 12px rgba(228,5,33,.65);
}
.cfg-step .step-sub { color: var(--text-dim); margin-bottom: 18px; }

/* ===== Spec-Tabelle: mobiler Scroll-Hinweis ===== */
.spec-wrap { position: relative; }
.spec-wrap::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 56px;
  background: linear-gradient(90deg, transparent, rgba(8,11,15,.95));
  pointer-events: none;
  opacity: 1;
  transition: opacity .35s var(--ease);
  border-top-right-radius: var(--radius); border-bottom-right-radius: var(--radius);
}
.spec-wrap.scroll-end::after, .spec-wrap.no-overflow::after { opacity: 0; }
.spec-hint {
  display: none;
  text-align: center;
  font-size: .82rem; color: var(--text-dimmer);
  margin-top: 10px;
  letter-spacing: .04em;
}
.spec-hint .arrow { display: inline-block; transform: translateX(0); animation: hintBounce 1.8s ease-in-out infinite; }
@keyframes hintBounce { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (max-width: 760px) {
  .spec-wrap:not(.no-overflow) + .spec-hint { display: block; }
}
/* Peek-Animation: kurzes Wackeln, einmalig beim Einscrollen */
.spec-wrap.peek { animation: specPeek 1.4s cubic-bezier(.32,.72,.32,.95) 1; }
@keyframes specPeek {
  0%   { transform: translateX(0); }
  18%  { transform: translateX(-16px); }
  44%  { transform: translateX(-4px); }
  70%  { transform: translateX(-10px); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .spec-wrap.peek { animation: none; }
  .spec-hint .arrow { animation: none; }
}

/* ===== Datenblatt-Download-Button ===== */
.db-download {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 26px;
  background: linear-gradient(135deg, rgba(228,5,33,.10), rgba(255,255,255,.02));
  border: 1px solid rgba(228,5,33,.35);
  border-radius: 14px;
  text-decoration: none; color: var(--text);
  margin: 18px 0;
  transition: transform .25s, border-color .25s, background .25s;
}
.db-download:hover { transform: translateY(-2px); border-color: var(--red); background: linear-gradient(135deg, rgba(228,5,33,.18), rgba(255,255,255,.04)); }
.db-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:10px; background:var(--red); color:#fff; flex:none; }
.db-icon svg { width:22px; height:22px; }
.db-text { flex:1; display:flex; flex-direction:column; gap:2px; }
.db-title { font-weight:650; font-size:1.05rem; }
.db-sub { font-size:.85rem; color: var(--text-dimmer); letter-spacing:.04em; text-transform:uppercase; }
.db-arrow { color: var(--red); font-weight:700; font-size:1.4rem; }
