 :root{--bg:#080b0f;--card:#111827;--line:#2b3748;--text:#f4f7fb;--muted:#aeb8c6;--orange:#f97316}
*{box-sizing:border-box}html{height:100%;scroll-behavior:smooth;overflow:hidden}body{height:100%;margin:0;background:linear-gradient(180deg,#080b0f,#0b1017);color:var(--text);font-family:Arial,Helvetica,sans-serif;overflow:hidden}.wrap{max-width:1600px;height:100vh;margin:0 auto;padding:16px 20px 0;display:flex;flex-direction:column}.header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:14px;border-bottom:1px solid #202a36;margin-bottom:14px}.header h1{margin:0 0 8px;font-size:26px}.company-info{font-size:12px;color:#e2e8f0}.brand{margin-left:auto;display:flex;align-items:flex-start;justify-content:flex-end;min-width:350px}.brand img{display:block;width:100%;max-width:350px;height:auto;object-fit:contain}.config-nav-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.config-nav-btn{padding:7px 10px;border-radius:6px;background:#f97316;color:#fff;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}.grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;flex:1;min-height:0;overflow:hidden}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.35)}.variants-card,.preview-card{height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:16px}.top-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.preview-content{border:1px dashed #354255;border-radius:16px;padding:16px}.preview-content h2{font-size:22px;margin:2px 0 14px}.variant{border:1px solid #314760;border-radius:13px;margin-bottom:10px;overflow:hidden;background:linear-gradient(90deg,#16253a 0%,#1d2c42 50%,#182538 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.variant-header{width:100%;min-height:52px;border:0;background:linear-gradient(90deg,#21324b 0%,#1d2d43 52%,#1a293d 100%);color:#fff;padding:8px 13px;font-weight:700;font-size:16px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;text-align:left}.variant-no{display:inline;color:var(--orange);font-size:18px;font-weight:800;margin-right:4px}.variant-no::before{content:"Variante "}.variant-no::after{content:" -"}.variant-body{display:none;padding:12px;background:#0e151f}.variant.open .variant-body{display:block}.option-list{display:grid;gap:9px}.option{display:grid;grid-template-columns:22px minmax(0,1fr) 80px;align-items:center;gap:9px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#182130;cursor:pointer}.option:hover,.option.selected{border-color:#0ea5e9;background:#133248}.option input{accent-color:#0ea5e9}.option-title{font-weight:700;font-size:13px;line-height:1.35}.meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px;font-size:12px}.article{color:#e5e7eb}.price{font-weight:700}.info-btn{width:19px;height:19px;border:0;border-radius:50%;background:#ef233c;color:#fff;font-size:11px;font-weight:800;cursor:pointer}.thumb{width:76px;height:56px;object-fit:contain}.preview-stage{height:460px;min-height:360px;background:radial-gradient(circle at 50% 42%,#202a37 0,#141c27 58%,#101720 100%);border:1px solid #202b39;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#8f9bad;padding:10px;text-align:center;overflow:hidden}.preview-stage img{display:block;object-fit:contain}.preview-stage img.product-preview{width:132%;height:132%;max-width:none;max-height:none}.preview-stage img.welcome-preview{width:100%;height:100%;object-fit:cover}.welcome-screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:10px;background:linear-gradient(180deg,#10283b 0%,#102536 43%,#0d171d 44%,#101820 100%);display:flex;align-items:center;justify-content:center}.welcome-screen[hidden]{display:none}.welcome-road{position:absolute;left:50%;bottom:-2%;width:78%;height:49%;transform:translateX(-50%);background:linear-gradient(90deg,transparent 0 48.6%,#555d61 48.6% 51.4%,transparent 51.4%),linear-gradient(180deg,#2d363b,#171f24);clip-path:polygon(22% 0,78% 0,100% 100%,0 100%);opacity:.92}.welcome-road:before,.welcome-road:after{content:"";position:absolute;top:15%;width:6%;height:25%;background:#d8690a;border-radius:4px}.welcome-road:before{left:2%}.welcome-road:after{right:2%}.welcome-content{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;min-width:0;max-width:100%;padding:18px 24px;text-align:center;transform:none;text-shadow:0 3px 3px rgba(0,0,0,.72);overflow:hidden}.welcome-line{width:100%;max-width:100%;font-weight:900;line-height:1}.welcome-small{font-size:clamp(26px,3vw,42px);color:#fff;margin-bottom:10px}.welcome-orange{font-size:clamp(38px,4.25vw,58px);color:#ff6d0a;white-space:nowrap}.welcome-divider{flex:0 0 auto;width:110px;height:3px;background:#ff6d0a;margin:18px auto 17px}.welcome-instruction{width:100%;max-width:620px;font-size:clamp(22px,2.45vw,34px);line-height:1.18;font-weight:800;color:#fff}.badge{margin:9px 0 20px;color:var(--muted);font-size:12px}.sum-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.sum-row b{font-size:13px}.sum-row small{display:block;color:var(--muted);margin-top:4px}.sum-side{text-align:right}.summary-qty-select{min-width:66px;margin-top:6px;padding:5px;border:1px solid #334155;border-radius:8px;background:#172235;color:#fff}.selection-card{margin-top:14px;border:1px solid var(--line);border-radius:16px;background:#0d1420;padding:15px}.selection-title{font-size:14px;font-weight:800;margin-bottom:14px}.selection-title span{font-weight:400}.totals>div{display:flex;justify-content:space-between;padding:5px 0}.totals .grand{border-top:1px solid var(--line);margin-top:8px;padding-top:12px;font-size:18px}.total-note{color:var(--muted);font-size:12px;padding-top:8px}.btn{border:0;border-radius:14px;padding:11px 16px;font-weight:700;cursor:pointer;min-height:42px}.btn.secondary{background:#1d2938;color:#fff}.btn.pdf{background:#20a9df;color:#fff}.accessory-action{background:#8d1f25!important;color:#efb0b3!important}.accessory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.accessory-item{padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:14px;text-align:center}.accessory-thumb-wrap{aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden}.accessory-thumb{width:100%;height:100%;object-fit:contain}.accessory-caption{font-size:12px;line-height:1.35}.accessory-empty{color:var(--muted);font-size:12px}.accessory-card.has-items .accessory-empty{display:none}.accessory-card:not(.has-items) .accessory-grid{display:none}.with-scroll-top{display:flex;justify-content:space-between;align-items:center}.scroll-top-btn{width:30px;height:30px;border-radius:50%;border:1px solid #334155;background:#182131;color:#94a3b8}.offer-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.offer-form-grid .full-width{grid-column:1/-1}.offer-form-grid label{font-size:12px}.offer-form-grid input,.offer-form-grid textarea{display:block;width:100%;margin-top:6px;background:#171f2d;color:#fff;border:1px solid #2d394b;border-radius:13px;padding:12px}.offer-form-grid textarea{min-height:86px}.required-mark,.offer-required-hint,.privacy-consent-label{color:#ff4d5a}.privacy-consent-label{display:flex;gap:9px;font-size:12px;line-height:1.5}.offer-actions{display:grid;grid-template-columns:1fr 1.18fr;gap:16px;margin-top:22px}.send-offer{background:#2e59d1;color:#fff}.send-offer small{display:block}.save-restore-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;border-top:1px solid var(--line);margin-top:16px;padding-top:15px}.save-restore-btn{min-height:48px;border:1px solid #34507a;border-radius:24px;background:#203e68;color:#fff;font-weight:700}.save-restore-btn.danger{background:#d91f26}.save-restore-note{color:var(--muted);font-size:11px;margin-top:13px}.overlay{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:50;display:flex;align-items:center;justify-content:center;padding:20px}.overlay[hidden]{display:none}.modal{position:relative;background:#fff;color:#111;border-radius:14px;padding:24px;max-width:720px;width:100%;max-height:90vh;overflow:auto}.close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:28px}.tooltip-modal h2,.tooltip-modal #tooltipText{color:var(--orange)}.muted{color:var(--muted)}
@media(max-width:980px){html,body{height:auto;overflow:auto}.wrap{height:auto;min-height:100vh;padding:10px}.grid{grid-template-columns:1fr;overflow:visible}.variants-card,.preview-card{height:auto;overflow:visible}.header{flex-direction:column}.brand{margin-left:0;justify-content:flex-start;min-width:0}.brand img{max-width:260px}.preview-stage{height:340px}}@media(max-width:600px){.welcome-content{padding:12px}.welcome-small{font-size:25px}.welcome-orange{font-size:34px}.welcome-instruction{font-size:21px}.config-nav-btn{width:100%;text-align:center}.option{grid-template-columns:20px 1fr}.thumb{grid-column:2;width:100%;height:120px}.accessory-grid,.offer-form-grid,.offer-actions,.save-restore-row{grid-template-columns:1fr}.offer-form-grid .full-width{grid-column:auto}.preview-stage{height:260px}.top-actions .btn{width:100%}}

/* Korrektur 6: eigenständige Startvorschau; bewusst neue Klassennamen gegen Browser-Cache/Altregeln */
.industry-welcome-v6{
  position:relative !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:10px;
  background:linear-gradient(180deg,#10283b 0%,#102536 43%,#0d171d 44%,#101820 100%);
}
.industry-welcome-v6[hidden]{display:none !important}
.industry-road-v6{
  position:absolute;
  left:11%;
  right:11%;
  bottom:-2%;
  height:49%;
  margin:0;
  background:linear-gradient(90deg,transparent 0 48.6%,#555d61 48.6% 51.4%,transparent 51.4%),linear-gradient(180deg,#2d363b,#171f24);
  clip-path:polygon(22% 0,78% 0,100% 100%,0 100%);
  opacity:.92;
}
.industry-road-v6:before,.industry-road-v6:after{
  content:"";position:absolute;top:15%;width:6%;height:25%;background:#d8690a;border-radius:4px
}
.industry-road-v6:before{left:2%}.industry-road-v6:after{right:2%}
.industry-welcome-text-v6{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:18px 18px !important;
  z-index:2;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  transform:none !important;
  translate:none !important;
  overflow:hidden !important;
  text-shadow:0 3px 3px rgba(0,0,0,.72);
}
.industry-welcome-small-v6{
  display:block;width:100%;margin:0 0 8px;padding:0;
  color:#fff;font-weight:900;line-height:1.0;
  font-size:clamp(24px,2.6vw,39px);
  white-space:nowrap;
}
.industry-welcome-orange-v6{
  display:block;width:100%;margin:0;padding:0;
  color:#ff6d0a;font-weight:900;line-height:.98;
  font-size:clamp(34px,3.7vw,54px);
  white-space:nowrap;
}
.industry-divider-v6{
  width:110px;height:3px;min-height:3px;background:#ff6d0a;margin:16px auto 14px;flex:0 0 auto
}
.industry-instruction-v6{
  display:block;width:100%;max-width:620px;margin:0 auto;padding:0;
  color:#fff;font-weight:800;line-height:1.15;
  font-size:clamp(20px,2.15vw,31px);
  white-space:normal;
}
@media(max-width:600px){
  .industry-welcome-text-v6{padding:10px !important}
  .industry-welcome-small-v6{font-size:22px}
  .industry-welcome-orange-v6{font-size:31px}
  .industry-divider-v6{margin:11px auto 10px;width:80px}
  .industry-instruction-v6{font-size:19px}
}

/* Korrektur 7: hidden-Vorschaubild darf im Flex-Layout keinerlei Platz belegen */
.preview-stage #previewImg[hidden],
.preview-stage .product-preview[hidden],
.preview-stage [hidden] {
  display:none !important;
}

/* Korrektur 12: "Industrie" in der Startvorschau rot */
.industry-welcome-red-v6 {
  display:block;width:100%;margin:0;padding:0;
  color:#ff2b2b;font-weight:900;line-height:.98;
  font-size:clamp(34px,3.7vw,54px);
  white-space:nowrap;
}
@media(max-width:760px){.industry-welcome-red-v6{font-size:31px}}

/* Korrektur 15: Pflichtfelder / Datenschutz wie Verkehrsinsel Classic */
.offer-required-hint{font-size:12px;line-height:1.35;color:#ff4d5a;margin-top:4px}
.privacy-consent-label{font-size:12px;line-height:1.5;color:#ff4d5a}
.privacy-consent-label a{color:#38bdf8;text-decoration:underline}

/* Korrektur 16/17: Startvorschau wie Verkehrsinsel Classic */
.industry-welcome-small-v6{font-size:clamp(26px,3vw,42px)!important}
.industry-welcome-red-v6{font-size:clamp(38px,4.25vw,58px)!important}
.industry-welcome-orange-v6{font-size:clamp(38px,4.25vw,58px)!important}
.industry-instruction-v6{font-size:clamp(22px,2.45vw,34px)!important}

/* Die beiden angedeuteten Schranken links/rechts wie beim Classic */
.industry-welcome-v6::before,
.industry-welcome-v6::after{
  content:"";
  position:absolute;
  z-index:3;
  top:68%;
  width:38px;
  height:69px;
  background:#d45d00;
  border-radius:4px;
  transform:translateY(-50%);
  pointer-events:none;
}
.industry-welcome-v6::before{left:24px}
.industry-welcome-v6::after{right:24px}

@media(max-width:600px){
  .industry-welcome-small-v6{font-size:25px!important}
  .industry-welcome-red-v6{font-size:34px!important}
  .industry-welcome-orange-v6{font-size:34px!important}
  .industry-instruction-v6{font-size:21px!important}
  .industry-welcome-v6::before{left:14px}
  .industry-welcome-v6::after{right:14px}
  .industry-welcome-v6::before,.industry-welcome-v6::after{width:30px;height:55px}
}

/* Korrektur 18: Startvorschau Schriftgrößen exakt an Classic angenähert */
.industry-welcome-small-v6{
  font-size:clamp(30px,3.35vw,46px) !important;
}
.industry-welcome-red-v6{
  font-size:clamp(44px,4.95vw,66px) !important;
}
.industry-welcome-orange-v6{
  font-size:clamp(44px,4.95vw,66px) !important;
}
.industry-instruction-v6{
  font-size:clamp(25px,2.8vw,38px) !important;
  max-width:680px !important;
}

@media(max-width:600px){
  .industry-welcome-small-v6{font-size:27px !important}
  .industry-welcome-red-v6{font-size:38px !important}
  .industry-welcome-orange-v6{font-size:38px !important}
  .industry-instruction-v6{font-size:23px !important}
}

/* Korrektur 19: Hinweistext wieder exakt zweizeilig halten */
.industry-instruction-v6{
  font-size:clamp(24px,2.55vw,34px) !important;
  max-width:none !important;
  width:100% !important;
  white-space:nowrap !important;
}
@media(max-width:600px){
  .industry-instruction-v6{
    font-size:21px !important;
    white-space:normal !important;
  }
}


/* Korrektur 30: fünf Buttons in einer Zeile, Logo bleibt an ursprünglicher Position */
@media (min-width: 900px){
  .config-nav-buttons{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    width:auto !important;
    max-width:calc(100% - 360px) !important;
  }
  .config-nav-btn{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    padding:7px 9px !important;
    font-size:12px !important;
  }

  /* ursprüngliche Header-/Logo-Geometrie beibehalten */
  .header{
    position:relative !important;
  }
  .brand{
    position:absolute !important;
    right:18px !important;
    top:12px !important;
    margin:0 !important;
  }
}

/* Symbol wie beim Verkehrsinsel-Handschranken-Konfigurator */
.variant-header > *:last-child{
  min-width:22px;
  margin-left:12px;
  text-align:center;
  color:var(--orange);
  font-size:0 !important;
  font-weight:400;
  line-height:1;
}
.variant-header > *:last-child::before{
  content:"+";
  font-size:16px;
}
.variant.open .variant-header > *:last-child::before{
  content:"−";
  font-size:16px;
}


/* Korrektur 20: Startvorschau komplett eingefärbt und stärker abgerundet wie beim Verkehrsinsel-Handschranken-Konfigurator */
.industry-welcome-v6{
  border-radius:14px !important;
  background:linear-gradient(180deg,#12344d 0%,#112f46 52%,#102a3f 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.industry-road-v6{
  opacity:.86 !important;
}
.preview-stage{
  border-radius:14px !important;
}
