/* === Shop-Konfigurator Styles === */
/* Erbt root-Tokens aus ../styles.css */

/* Brand-Logo im Shop+Cart-Header: doppelte Größe + nach links rücken */
.site-header .brand-logo {
  font-size: 42px;
  letter-spacing: -1px;
  margin-left: -8px;
}
@media (max-width: 640px) {
  .site-header .brand-logo { font-size: 30px; margin-left: -4px; }
}

/* Footer-Social-Icons stehen jetzt schon in Brand-Violett — Filter raus */
.footer-socials img { filter: none; }

.back-to-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}
.back-to-shop:hover { color: var(--brand-indigo); }

/* === Legal-Pages (Impressum / AGB / Datenschutz) === */
.legal-page {
  padding-block: 32px 80px;
  background: var(--surface-alt);
  min-height: 60vh;
}
.legal-page .container { max-width: 880px; }
.legal-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}
.legal-head .gallery-eyebrow { align-self: center; }
.legal-head h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin: 4px 0 0;
  letter-spacing: -.4px;
  color: var(--brand-indigo);
}
.legal-lead {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  font-family: var(--font-body);
  color: var(--text-strong);
  line-height: 1.7;
}
.legal-content section { margin-bottom: 30px; }
.legal-content section:last-of-type { margin-bottom: 0; }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-indigo);
  margin: 0 0 12px;
  letter-spacing: -.2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 18px 0 8px;
  letter-spacing: -.1px;
}
.legal-content p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text-strong);
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}
.legal-content a:hover {
  color: var(--brand-indigo);
  text-decoration: underline;
}
.legal-content strong { font-weight: 700; color: var(--text-strong); }
.legal-content code {
  background: var(--surface-soft, #faf9fc);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13.5px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--brand-indigo);
}
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-list li {
  font-size: 15px;
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
}
.legal-list li::before {
  content: "›";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--brand-primary);
  font-weight: 700;
}
.legal-version {
  margin: 32px 0 0 !important;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}
@media (max-width: 640px) {
  .legal-page { padding-block: 18px 60px; }
  .legal-head h1 { font-size: 26px; }
  .legal-content { padding: 22px 18px; border-radius: var(--radius); }
  .legal-content h2 { font-size: 18px; }
  .legal-content h3 { font-size: 15px; }
  .legal-content p, .legal-list li { font-size: 14px; }
}

.breadcrumb {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.breadcrumb .container {
  padding-block: 12px;
  color: var(--text-muted);
}
/* Mobile: Breadcrumb + Page-Top-Padding kleiner, damit Mockup sofort sichtbar ist */
@media (max-width: 640px) {
  .breadcrumb { font-size: 12px; }
  .breadcrumb .container { padding-block: 6px; }
  .config-page { padding-block: 8px 40px; }
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb span[aria-hidden] { margin-inline: 8px; color: var(--border); }

/* Cart-Link im Header */
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text-strong);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease;
}
.cart-link:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(111 124 255 / .3); }
.cart-link:hover .cart-icon { transform: scale(1.22); }
.cart-icon { font-size: 18px; transition: transform .16s ease; }

/* Header-Wortbildmarke als Bild (nur im Header; Footer-Brand bleibt Text) */
.site-header .brand-logo {
  display: inline-block;
  width: 248px; height: 48px;
  background: url(assets/logo-full.png) left center / contain no-repeat;
  text-indent: -9999px; overflow: hidden; white-space: nowrap;
}
@media (max-width: 640px) { .site-header .brand-logo { width: 184px; height: 36px; } }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.site-nav a.active { color: var(--brand-primary); font-weight: 600; }

/* === Shop-spezifischer Container — breiter als die Hauptseite === */
body {
  --container: 1560px;
}

/* === Konfigurator-Seite: deutlich breiter, fast Full-Width ===
   Preview ≈ 70 % der Viewport-Breite, Config-Sidebar ≈ 30 %
   (User-Wunsch 2026-05-26: mehr Bildschirmnutzung auf großen Monitoren) */
.config-page { padding-block: 32px 64px; background: var(--surface-alt); min-height: 60vh; }
/* Wider Container für den Shop (Default ist 1180px), aber MIT symmetrischem Padding
   wie überall sonst — calc(100% − 48px) + padding 0 hatte zu Asymmetrie geführt,
   weil Sub-Elemente (Sticky-Card, Scrollbar) anders messen. */
.config-page > .container {
  max-width: 1680px;
  padding-inline: 24px;
}
@media (max-width: 640px) {
  .config-page > .container { padding-inline: 14px; }
}
.config-grid {
  display: grid;
  /* 70/30-Split: Preview viel breiter, Config-Karte schmaler aber mit Mindestbreite */
  grid-template-columns: minmax(0, 7fr) minmax(360px, 3fr);
  gap: 28px;
  align-items: start;
}
/* Auf mittleren Bildschirmen das Verhältnis etwas neutraler */
@media (max-width: 1400px) {
  .config-grid { grid-template-columns: minmax(0, 5fr) minmax(360px, 3fr); }
}
/* Auf kleineren Bildschirmen Single-Column */
@media (max-width: 1080px) {
  .config-grid { grid-template-columns: 1fr; }
}

/* === Preview-Card === */
.preview-card {
  background: var(--surface);
  border: 0;
  box-shadow: 0 1px 6px rgba(0 0 0 / .06), 0 0 0 1px var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.preview-card > .preview-banner:first-child {
  margin: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Brand-Banner oben in der Preview-Card — kompakter */
.preview-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-indigo) 55%, var(--brand-teal));
  color: #fff;
  text-align: center;
}
.preview-banner-symbol {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0 0 0 / .12);
}
.preview-banner-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
.preview-banner-text strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .2px;
}
.preview-banner-text small {
  font-size: 23px;
  opacity: .9;
  margin-top: 3px;
}
@media (max-width: 640px) {
  .preview-banner { padding: 16px 14px; gap: 12px; }
  .preview-banner-symbol { width: 36px; height: 36px; padding: 4px; }
  .preview-banner-text strong { font-size: 28px; }
  .preview-banner-text small { font-size: 18px; }
}

/* Mockup-Auswahl-Leiste */
.mockup-bar {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(96 91 229 / .06), rgba(153 172 255 / .12));
  border-bottom: 1px solid var(--border);
}
.mockup-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-section);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin: 0;
  white-space: nowrap;
}
.mockup-select {
  flex: 2 1 0;
  min-width: 0;
  padding: 11px 36px 11px 14px;
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius);
  background:
    /* Pfeil-Chevron rechts */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path fill='none' stroke='%236f7cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 5l4 4 4-4'/></svg>")
    no-repeat right 12px center,
    var(--surface);
  background-size: 14px;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 1px 3px rgba(96 91 229 / .15);
}
.mockup-select:hover {
  background-color: rgba(96 91 229 / .04);
  box-shadow: 0 2px 8px rgba(96 91 229 / .25);
}
.mockup-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96 91 229 / .25);
}
.mockup-upload {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 2px dashed rgba(96 91 229 / .4);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  cursor: pointer;
  transition: all .15s;
}
.mockup-upload-plus { font-size: 16px; line-height: 1; }
.mockup-upload-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.mockup-upload-main { font-weight: 700; }
.mockup-upload-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: .65;
  margin-top: 1px;
}
.mockup-upload:hover {
  border-color: var(--brand-primary);
  border-style: solid;
  background: rgba(96 91 229 / .06);
  transform: translateY(-1px);
}
@media (max-width: 540px) {
  .mockup-upload-text { display: none; }
  .mockup-upload { padding: 11px; }
}
/* Mobile: Mockup NICHT mehr sticky — scrollt natürlich weg.
   Karte full-bleed bis zu den Display-Kanten + größere Bildfläche. */
@media (max-width: 640px) {
  .preview-card {
    position: static;
    top: auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    margin-left: -14px;
    margin-right: -14px;
  }
  .preview-stage { aspect-ratio: auto; height: 300px; }
  .mockup-bar { padding: 10px 14px; gap: 8px; }
  .mockup-label { font-size: 12px; letter-spacing: .8px; }
  .mockup-label::before { font-size: 14px; }
  .mockup-select { font-size: 13px; padding: 8px 30px 8px 10px; }
  .preview-hint { display: none; }

  /* Maß-Linien wie Referenzbild: dünne Linie, End-Ticks proportional kürzer, gut lesbares Label */
  .dim-line.dim-width .dim-tick { width: 1px; height: 12px; }
  .dim-line.dim-height .dim-tick { width: 12px; height: 1px; }
  .dim-label { font-size: 13px; }
  .dim-line.dim-height .dim-label { margin-left: 6px; }
  .dim-line.dim-width .dim-label { margin-top: 4px; }
}
.preview-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  /* Mockup-Bild wird per JS gesetzt (siehe applyMockup() in main.js) */
  background-size: cover;
  background-position: center 38%;
  background-color: #f4efe6; /* Fallback während Foto lädt */
}
#preview-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  cursor: grab;
  touch-action: none; /* Desktop: Touch-Drag bewegt das Logo. Mobile: weiter unten überschrieben. */
}
#preview-canvas:active { cursor: grabbing; }

/* Loading-Spinner-Overlay während Upload-Verarbeitung */
.preview-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: rgba(255 255 255 / .82);
  backdrop-filter: blur(6px);
  pointer-events: all;
}
.preview-loader[hidden] { display: none; }
.preview-loader-ring {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(96 91 229 / .18);
  border-top-color: var(--brand-primary);
  border-right-color: var(--brand-teal);
  border-radius: 50%;
  animation: preview-spin 0.9s linear infinite;
}
.preview-loader-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-indigo);
  letter-spacing: .3px;
}
@keyframes preview-spin {
  to { transform: rotate(360deg); }
}
/* Mobile: Touch-Gesten an die Seite durchreichen, damit das Mockup nicht den Page-Scroll blockt */
@media (max-width: 640px) {
  #preview-canvas { touch-action: auto; cursor: default; }
}

/* Wand-Layer-Container behalten wir nur als no-op (HTML hat sie noch). */
.wall-bg,
.wall-bg::before,
.wall-bg::after,
.wall-baseboard,
.wall-floor,
.wall-light {
  display: none !important;
}

/* Maß-Linien (2D-Overlay, von main.js anhand Logo-Bounds positioniert)
   Stil: dezent moderne Architektur-Anmutung — Brand-violette dashed Linien
   + Pill-Label in Brand-Farbe (kein weißer Kasten mehr). */
.dim-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.dim-line {
  position: absolute;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}
.dim-line .dim-tick {
  position: absolute;
  background: var(--brand-primary);
  border-radius: 999px;
}
.dim-line .dim-stem {
  position: absolute;
}

/* === Horizontale Breiten-Linie === */
.dim-line.dim-width {
  display: block;
  height: 10px; /* Platz für Ticks */
}
.dim-line.dim-width .dim-stem {
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  border-top: 1.5px solid var(--brand-primary);
  transform: translateY(-50%);
}
.dim-line.dim-width .dim-tick {
  top: 50%;
  width: 2px;
  height: 16px;
  transform: translateY(-50%);
}
.dim-line.dim-width .dim-tick--start { left: 0; }
.dim-line.dim-width .dim-tick--end   { right: 0; }
.dim-line.dim-width .dim-label {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 4px;
}

/* === Vertikale Höhen-Linie === */
.dim-line.dim-height {
  display: block;
  width: 10px; /* Platz für Ticks */
}
.dim-line.dim-height .dim-stem {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-left: 1.5px solid var(--brand-primary);
  transform: translateX(-50%);
}
.dim-line.dim-height .dim-tick {
  left: 50%;
  width: 16px;
  height: 2px;
  transform: translateX(-50%);
}
.dim-line.dim-height .dim-tick--start { top: 0; }
.dim-line.dim-height .dim-tick--end   { bottom: 0; }
.dim-line.dim-height .dim-label {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  margin-left: 8px;
}

/* === Label: schlicht, neutrale Body-Schrift, gleiche Farbe wie die Maß-Linie === */
.dim-label {
  background: transparent;
  color: var(--brand-primary);
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  font-family: var(--font-body);
}

/* Hinweis-Pille rechts oben */
.preview-hint {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(33 33 33 / .82);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  letter-spacing: .2px;
  backdrop-filter: blur(4px);
  transition: opacity .25s;
}
.preview-hint.fade { opacity: .35; }
.preview-hint-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-pastel);
  box-shadow: 0 0 0 3px rgba(153 172 255 / .25);
}
.preview-hint.is-real .preview-hint-dot {
  background: #6fd2a0;
  box-shadow: 0 0 0 3px rgba(111 210 160 / .25);
}

/* === Disclaimer-Box in der 3D-Preview (unteres Achtel) === */
.preview-disclaimer {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: min(62%, 450px);
  transform: translate(-50%, 8px);
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(111 124 255 / .96);
  color: #fff;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(111 124 255 / .45);
  opacity: 0;
  transition: opacity .45s ease-out, transform .45s ease-out;
  pointer-events: none;
  font-family: var(--font-body);
}
.preview-disclaimer.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.preview-disclaimer[hidden] { display: none !important; }
.preview-disclaimer { padding-right: 32px; }
.preview-disclaimer-close {
  position: absolute; top: 6px; right: 8px;
  pointer-events: auto;
  width: 22px; height: 22px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.28); color: #fff;
  font-size: 16px; line-height: 1;
  transition: background .15s ease;
}
.preview-disclaimer-close:hover { background: rgba(255,255,255,.5); }

/* === Moos: nur Schwarz/Weiß-Basisfarbe (Multi-Color-Auswahl ausgeblendet) === */
.moss-base-block { display: none; }
[data-tab-panel="farben"].moss-mode .section-question,
[data-tab-panel="farben"].moss-mode .section-help,
[data-tab-panel="farben"].moss-mode .color-count-grid,
[data-tab-panel="farben"].moss-mode .orig-colors-check,
[data-tab-panel="farben"].moss-mode .color-pick-block,
[data-tab-panel="farben"].moss-mode .color-parts-note { display: none !important; }
[data-tab-panel="farben"].moss-mode .moss-base-block { display: block; }
.moss-base-q { font-size: 15px; font-weight: 600; color: var(--text-strong); margin: 0 0 4px; }
.moss-base-help { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.45; }
.moss-base-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.moss-base-tile {
  padding: 16px; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--surface); font-family: inherit; font-weight: 600; font-size: 15px;
  color: var(--text-strong); cursor: pointer; transition: all .15s;
}
.moss-base-tile:hover { border-color: var(--brand-pastel); }
.moss-base-tile.active { border-color: var(--brand-primary); background: rgba(96 91 229 / .05); box-shadow: 0 0 0 3px rgba(96 91 229 / .12); }

/* === „Angebot als PDF"-Button === */
#offer-pdf-btn { width: 100%; justify-content: center; margin-top: 10px; gap: 8px; }
.preview-disclaimer-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255 255 255 / .25);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-style: italic;
  font-family: Georgia, serif;
  margin-top: 1px;
}
.preview-disclaimer-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255 255 255 / .98);
  font-weight: 400;
}
.preview-disclaimer-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  letter-spacing: .1px;
}
@media (max-width: 640px) {
  .preview-disclaimer { width: 88%; padding: 9px 13px; gap: 8px; }
  .preview-disclaimer-text { font-size: 11.5px; line-height: 1.4; }
  .preview-disclaimer-text strong { font-size: 12px; }
}

.cart-missing-hint {
  margin: 12px 0 0;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff6df 0%, #ffe6ad 100%);
  border: 2px solid #f5a623;
  border-radius: 10px;
  color: #8a5300;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(245 166 35 / .3);
  position: relative;
  overflow: hidden;
}
.cart-missing-hint::before {
  content: "!";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f5a623;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.cart-missing-hint strong { color: #8a5300; display: block; margin-bottom: 2px; font-size: 14px; }
.cart-missing-hint[hidden] { display: none; }
.cart-missing-hint.is-shake { animation: cartMissingShake .55s cubic-bezier(.36,.07,.19,.97); }
.cart-missing-hint .miss-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.cart-missing-hint .miss-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--brand-primary);
  color: var(--brand-indigo);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
}
@keyframes cartMissingShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-7px); }
  20%, 40%, 60%, 80%      { transform: translateX(7px); }
}

/* Pulsierender Tab-Chip wenn fehlend — Brand-Violett */
.config-tab.is-missing-pulse {
  animation: tabMissingPulse 1s ease-out 3;
  position: relative;
}
@keyframes tabMissingPulse {
  0%   { box-shadow: 0 0 0 0 rgba(111 124 255 / .55), 0 0 0 0 rgba(111 124 255 / 0); }
  60%  { box-shadow: 0 0 0 8px rgba(111 124 255 / 0), 0 0 0 2px rgba(111 124 255 / .9); }
  100% { box-shadow: 0 0 0 0 rgba(111 124 255 / 0), 0 0 0 0 rgba(111 124 255 / 0); }
}

/* Auch der Cart-Button selber zittert, wenn die Voraussetzungen fehlen */
.btn-cart.is-shake { animation: cartMissingShake .55s cubic-bezier(.36,.07,.19,.97); }

/* === Config-Card === */
.config-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
@media (max-width: 640px) {
  .config-card { padding: 16px; }
}

.config-head h1,
.config-head h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.5px;
  margin: 0 0 8px;
  color: var(--brand-primary);
}

/* === Produkt-Switcher (Wandlogo / Schriftzug) === */
.product-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px;
  background: var(--surface-soft);
  border-radius: var(--radius);
}
.product-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
  text-align: left;
  width: 100%;
}
.product-btn:hover { background: rgba(96 91 229 / .06); color: var(--text-strong); }
.product-btn.active {
  background: var(--surface);
  color: var(--text-strong);
  box-shadow: 0 1px 4px rgba(0 0 0 / .08), 0 0 0 2px var(--brand-primary);
}
.product-btn-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-pastel), var(--brand-primary));
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 14px;
}
.product-btn-icon-img { background: transparent; padding: 0; }
.product-btn-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.product-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  text-align: left;
}
.product-btn-text strong {
  font-family: var(--font-display);  /* Mitr für Hauptlabel */
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.2px;
}
.product-btn-text small {
  font-family: var(--font-body);     /* Red Hat Display für Untertitel */
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 1px;
}
.product-btn.active .product-btn-text small { color: var(--text-soft, var(--text-muted)); }

/* === Schriftzug: Text-Input + Font-Grid === */
.text-input-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.text-input-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-strong);
}
#text-input {
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-strong);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
#text-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}
.font-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
}
.font-tile {
  padding: 14px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-strong);
  font-size: 18px;
  cursor: pointer;
  transition: all .12s;
  text-align: center;
  min-height: 64px;
  display: grid;
  place-items: center;
  line-height: 1.15;
  overflow: hidden;
}
.font-tile:hover {
  border-color: var(--brand-pastel);
  background: rgba(96 91 229 / .03);
}
.font-tile.active {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .06);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}

/* === Multi-Line-Text-Blöcke === */
.text-blocks { display: flex; flex-direction: column; gap: 16px; margin-bottom: 14px; }
.text-block {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.text-block + .text-block { margin-top: 4px; }
.text-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.text-block-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--brand-primary);
}
.text-block-remove {
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .15s;
}
.text-block-remove:hover {
  border-color: #e64949;
  color: #e64949;
}
.text-block .text-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-strong);
  outline: none;
  margin-bottom: 10px;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.text-block .text-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}

/* Pro-Block-Optionen: nutzt die gleichen .slider-row-Slider wie der globale Maße-Tab */
.block-opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  background: var(--surface-soft);
  border-radius: 10px;
}
/* Slider-Row im Block-Kontext kompakter: kein margin-bottom */
.block-opts .slider-row { margin-bottom: 0; }
.block-opts .slider-row .slider-head { margin-bottom: 4px; }

/* Lock zwischen Breite und Höhe */
.block-lock-row { display: flex; justify-content: center; margin: -4px 0; }
.block-lock {
  width: 30px; height: 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition: all .15s;
}
.block-lock:hover { border-color: var(--brand-primary); }
.block-lock.active {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .08);
  color: var(--brand-primary);
}

/* Moderner Color-Picker-Swatch-Button (öffnet Custom-Modal) */
.block-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
/* Wandlogo Farbpicker-Row (gleiche Optik wie Schriftzug-Block-Picker) */
.wand-color-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.wand-color-picker-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
}
.wand-color-clear-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.wand-color-clear-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.wand-color-picker-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.block-color-swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
}
.block-color-swatch-btn:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(96 91 229 / .15);
}
.block-color-swatch-dot {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid rgba(0 0 0 / .08);
  flex-shrink: 0;
}
.block-color-hex-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: .3px;
}
.block-color-note {
  display: flex;
  gap: 6px;
  margin: 8px 0 0;
  padding: 8px 10px;
  background: rgba(70 76 221 / .04);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
.block-color-note-icon {
  color: var(--brand-primary);
  flex-shrink: 0;
  font-weight: 700;
}

/* ============================================================
   Custom Color-Picker-Modal (mittig im Viewport, Anthrazit-Look)
   ============================================================ */
.cp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0 0 0 / .55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .18s;
}
.cp-overlay.open {
  display: flex;
  opacity: 1;
}
.cp-modal {
  position: relative;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #25262d;
  color: #e8e8ee;
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 20px 60px rgba(0 0 0 / .5), 0 0 0 1px rgba(255 255 255 / .06);
  font-family: var(--font-body);
}
.cp-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  border: 0;
  background: transparent;
  color: #b0b0bd;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all .15s;
}
.cp-close:hover { background: rgba(255 255 255 / .08); color: #fff; }
.cp-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #e8e8ee;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-body);
}
.cp-area {
  position: relative;
  height: 180px;
  border-radius: 10px;
  cursor: crosshair;
  margin-bottom: 14px;
  background:
    linear-gradient(to top, #000, transparent),
    linear-gradient(to right, #fff, hsl(240, 100%, 50%));
  touch-action: none;
  overflow: hidden;
}
.cp-cursor {
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0 0 0 / .4), inset 0 0 0 1px rgba(0 0 0 / .2);
}
.cp-hue {
  -webkit-appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 7px;
  outline: none;
  margin-bottom: 14px;
  background: linear-gradient(to right,
    hsl(0,100%,50%), hsl(60,100%,50%), hsl(120,100%,50%),
    hsl(180,100%,50%), hsl(240,100%,50%), hsl(300,100%,50%), hsl(360,100%,50%));
  cursor: pointer;
}
.cp-hue::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0 0 0 / .25);
  box-shadow: 0 2px 4px rgba(0 0 0 / .3);
  cursor: pointer;
}
.cp-hue::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0 0 0 / .25);
  cursor: pointer;
}
.cp-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cp-preview {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #6f7cff;
  border: 1px solid rgba(255 255 255 / .1);
  flex-shrink: 0;
}
.cp-hex {
  flex: 1;
  padding: 9px 12px;
  background: #1a1b21;
  border: 1px solid #3a3b44;
  border-radius: 8px;
  color: #e8e8ee;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  outline: none;
}
.cp-hex:focus { border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(111 227 218 / .15); }
.cp-apply {
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-indigo));
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s;
}
.cp-apply:hover { filter: brightness(1.1); }
.cp-note {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  background: rgba(255 255 255 / .04);
  border-radius: 6px;
  font-size: 11px;
  color: #a0a0ad;
  line-height: 1.4;
}
.cp-note-icon {
  color: var(--brand-teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* Aufklappbares Mehr-Schriftarten-Panel */
.more-fonts {
  margin-top: 10px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  overflow: hidden;
}
.more-fonts-summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .15s;
}
.more-fonts-summary::-webkit-details-marker { display: none; }
.more-fonts-summary::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  width: 20px;
  display: inline-block;
  transition: transform .2s;
}
.more-fonts[open] .more-fonts-summary::before {
  transform: rotate(45deg);
}
.more-fonts-summary:hover {
  background: rgba(96 91 229 / .04);
}
.more-fonts-grid {
  padding: 10px 12px 14px;
}

/* Plus-Button: weitere Textzeile hinzufügen */
.add-text-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px dashed rgba(96 91 229 / .4);
  background: rgba(96 91 229 / .04);
  color: var(--brand-primary);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  margin-top: 4px;
}
.add-text-line-btn:hover {
  border-style: solid;
  background: rgba(96 91 229 / .08);
}
.add-text-line-plus {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

/* === Legend mit Inline-Aktions-Button (z. B. Aspect-Lock) === */
.config-section legend.legend-with-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dim-lock {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: all .15s;
  vertical-align: middle;
}
/* hidden-Attribut muss display:inline-grid überschreiben — sonst bleibt das Schloss
   im Wandlogo-Modus sichtbar (CSS-Klasse hat höhere Spezifität als [hidden]) */
.dim-lock[hidden] { display: none; }
.dim-lock:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.dim-lock.active {
  background: rgba(96 91 229 / .10);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.dim-lock:not(.active) .dim-lock-icon { filter: grayscale(1) opacity(.55); }

/* === Farb-Tiles für Schriftzug === */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
}
.color-tile {
  position: relative;
  padding: 0;
  height: 56px;
  border: 3px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .12s;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0 0 0 / .12), inset 0 0 0 1px rgba(0 0 0 / .08);
}
.color-tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0 0 0 / .18), inset 0 0 0 1px rgba(0 0 0 / .08);
}
.color-tile.active {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .25), inset 0 0 0 1px rgba(0 0 0 / .08);
}
.color-tile-label {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0 0 0 / .4);
  letter-spacing: .3px;
}

/* === Farbauswahl Wandlogo (Original vs. Andersfarbig) === */
.section-question {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 6px;
  line-height: 1.3;
}
.section-help {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
/* Manuelle Farbanzahl-Auswahl: 5 kompakte Kästchen mit Zahl + Aufpreis */
.color-count-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.color-count-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 6px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: all .15s;
  text-align: center;
  min-height: 96px;
}
.color-count-tile:hover {
  border-color: var(--brand-pastel);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(96 91 229 / .10);
}
.color-count-tile.active {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .05);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .15);
}
.color-count-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-strong);
}
.color-count-tile.active .color-count-num { color: var(--brand-primary); }
.color-count-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.color-count-price {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 2px;
}
@media (max-width: 640px) {
  .color-count-grid { grid-template-columns: repeat(3, 1fr); }
  .color-count-num { font-size: 24px; }
  .color-count-tile { min-height: 84px; padding: 12px 4px; }
}

/* ============ Farbauswahl-Redesign: Originalfarben + Pro-Farbe-Picker ============ */
.orig-colors-check {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 18px; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 14px;
  background: var(--surface); cursor: pointer; position: relative;
  transition: border-color .15s, background .15s;
}
.orig-colors-check:hover { border-color: var(--brand-pastel); }
.orig-colors-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.orig-colors-mark {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  border: 2px solid var(--border); border-radius: 6px; background: var(--surface);
  display: grid; place-items: center; transition: all .15s;
}
.orig-colors-mark::after {
  content: ""; width: 11px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform .15s; margin-top: -2px;
}
.orig-colors-check input:checked ~ .orig-colors-mark { background: var(--brand-primary); border-color: var(--brand-primary); }
.orig-colors-check input:checked ~ .orig-colors-mark::after { transform: rotate(-45deg) scale(1); }
.orig-colors-check input:checked ~ .orig-colors-txt strong { color: var(--brand-primary); }
.orig-colors-check:has(input:checked) { border-color: var(--brand-primary); background: rgba(96 91 229 / .05); }
.orig-colors-txt { display: flex; flex-direction: column; gap: 2px; }
.orig-colors-txt strong { font-size: 14.5px; color: var(--text-strong); }
.orig-colors-txt small { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }

.color-pick-block { margin-top: 18px; }
.color-pick-title { font-size: 15px; font-weight: 700; color: var(--text-strong); margin: 0 0 4px; }
.color-pick-help { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; margin: 0 0 14px; }
.color-pick-list { display: flex; flex-direction: column; gap: 10px; }
.color-pick-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface);
}
.color-pick-rowlabel { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.color-pick-ctrls { display: flex; align-items: center; gap: 10px; }
.color-pick-swatch {
  width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: none; position: relative;
  box-shadow: 0 0 0 2px var(--border), 0 2px 6px rgba(0,0,0,.10);
  transition: box-shadow .15s, transform .15s;
}
.color-pick-swatch:hover { transform: scale(1.06); box-shadow: 0 0 0 2px var(--brand-pastel), 0 4px 10px rgba(96 91 229 /.18); }
.cps-dot {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background:
    linear-gradient(45deg,#ccc 25%,transparent 25%,transparent 75%,#ccc 75%),
    linear-gradient(45deg,#ccc 25%,#eee 25%,#eee 75%,#ccc 75%);
  background-size: 12px 12px; background-position: 0 0, 6px 6px;
}
.color-pick-swatch.is-set .cps-dot { background-image: none; }
.color-pick-swatch:not(.is-set)::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 18px; font-weight: 700; color: var(--text-muted); pointer-events: none;
}
.color-pick-eyedrop {
  width: 34px; height: 34px; padding: 0; display: grid; place-items: center;
  border: 1.5px solid var(--border); border-radius: 50%; background: var(--surface);
  cursor: pointer; color: var(--brand-primary); transition: all .15s;
}
.color-pick-eyedrop:hover { border-color: var(--brand-primary); background: rgba(96 91 229 /.06); transform: translateY(-1px); }
.color-pick-eyedrop svg { width: 18px; height: 18px; }

.color-parts-note { margin-top: 16px; }
.color-parts-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-strong); margin: 0 0 6px; }
.color-parts-opt { font-weight: 400; color: var(--text-muted); }
.color-parts-note textarea {
  width: 100%; box-sizing: border-box;
  border: 1.5px dashed var(--border); border-radius: 10px; padding: 11px 13px;
  font-family: var(--font-body); font-size: 13.5px; color: var(--text-strong);
  background: var(--surface-soft, #faf9fc); resize: vertical;
}
.color-parts-note textarea:focus { outline: none; border-color: var(--brand-primary); border-style: solid; }

/* Dynamische Pro-Farbe-Eingabefelder */
.color-inputs-block {
  margin-top: 18px;
  padding: 16px;
  background: var(--surface-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--brand-primary);
}
.color-inputs-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
}
.color-inputs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.color-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  transition: border-color .15s, box-shadow .15s;
}
.color-input-row:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}
.color-input-label {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-indigo);
  font-variant-numeric: tabular-nums;
  min-width: 56px;
}
.color-input-row input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-strong);
  outline: none;
  padding: 4px 0;
}
.color-input-preview {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e5e5ec;
  border: 1px solid rgba(0,0,0,.15);
  transition: background .15s;
}
.color-inputs-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.color-custom-input {
  margin-top: 14px;
  padding: 14px;
  background: var(--surface-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--brand-primary);
}
.color-custom-input label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.color-custom-input textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-strong);
  resize: vertical;
  background: var(--surface);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.color-custom-input textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}
.color-custom-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

/* Farbgenauigkeits-Hinweis (in allen Farbauswahl-Bereichen) */
.color-accuracy-note {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  padding: 10px 14px;
  background: rgba(70 76 221 / .05);
  border-left: 3px solid var(--brand-teal);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.color-accuracy-icon {
  color: var(--brand-primary);
  flex-shrink: 0;
  font-weight: 700;
}
.custom-color-hex {
  font-family: var(--font-body) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* === Custom-Hex-Color-Eingabe === */
.custom-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.custom-color-swatch {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0 0 0 / .12), inset 0 0 0 1px rgba(0 0 0 / .08);
  transition: transform .12s, box-shadow .15s;
}
.custom-color-swatch:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0 0 0 / .18), inset 0 0 0 1px rgba(0 0 0 / .08);
}
.custom-color-swatch input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
}
.custom-color-hex {
  flex: 0 0 110px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-family: monospace;
  font-size: 14px;
  text-transform: lowercase;
  color: var(--text-strong);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.custom-color-hex:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}
.custom-color-hint {
  font-size: 12px;
  color: var(--text-muted);
}
.config-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.stars { color: #ffd96b; letter-spacing: 1px; }
.rating-num { color: var(--text-strong); font-weight: 700; }

/* === Preis-Block === */
.price-block {
  position: relative;
  /* Deckend weiße Innenfläche + lila Umrandung — voll blickdicht, bester Kontrast */
  background: #fff;
  border: 2px solid var(--brand-primary);
  border-radius: 12px;
  padding: 20px 22px 18px;
  margin-bottom: 28px;
}
/* Spar-Badge — eigene Zeile, prominent oben */
.price-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 8px;
  background: linear-gradient(135deg, #2da06b, #6fbf94);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(45 160 107 / .35);
  animation: savings-pop .25s ease-out;
  margin-bottom: 8px;
}
.price-savings-badge[hidden] { display: none; }
.price-savings-badge strong { font-size: 13px; margin-left: 2px; }
.price-savings-check {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255 255 255 / .25);
}

/* Alter Preis — eigene Zeile, durchgestrichen, gedämpft */
.price-old-line {
  margin-bottom: 4px;
}
.price-old-line[hidden] { display: none; }
.price-old {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(120 120 120 / .55);
  text-decoration-thickness: 1.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
}

@keyframes savings-pop {
  from { transform: scale(.85); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.price-brutto {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: -0.4px;
  line-height: 1;
}
.price-block.has-discount .price-brutto {
  color: #2da06b; /* Grün bei Rabatt → "sparen"-Signal */
}
.price-brutto small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}
.price-netto {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 6px;
}
.price-netto span { font-weight: 600; color: var(--text-strong); }
.price-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px dashed rgba(96 91 229 / .2);
  padding-top: 10px;
}

/* === Quote-Block (Sondermaß) === */
.quote-block {
  background: linear-gradient(135deg, #fff5e8, #ffe8d0);
  border: 1px solid #f3c98c;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
  text-align: center;
}
.quote-icon { font-size: 32px; color: #d68a26; margin-bottom: 8px; }
.quote-block h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--text-strong);
}
.quote-block p { color: var(--text-muted); font-size: 15px; margin: 0 0 16px; }

/* === Fieldsets === */
.config-section {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}

/* === Schritt-Akkordeon === */
/* Kategorien als volle Zeilen untereinander; Klick öffnet die Auswahl direkt
   darunter (genau eine offen). Reihenfolge im DOM ist [5 Buttons][6 Panels] —
   per CSS `order` werden Button→Panel verschachtelt. Nummerierung per
   CSS-Counter (überspringt display:none → Schriftzug zählt 1·2·3 statt 1·2·5). */
.config-steps-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-primary);
}
.config-steps-progress::before { content: "📋"; font-size: 16px; }
.config-steps-progress.is-done { color: #2da06b; }
.config-steps {
  display: flex;
  flex-direction: column;
  margin: 0 0 22px;
  padding: 0;
  counter-reset: cfgstep;
}
/* Button→Panel verschachteln (DOM: alle Buttons zuerst, dann alle Panels) */
.config-tab[data-tab="einsatz"]     { order: 1; }
[data-tab-panel="einsatz"]          { order: 2; }
.config-tab[data-tab="ausfuehrung"] { order: 3; }
[data-tab-panel="ausfuehrung"]      { order: 4; }
.config-tab[data-tab="farben"]      { order: 5; }
[data-tab-panel="farben"]           { order: 6; }
.config-tab[data-tab="masse"]       { order: 7; }
[data-tab-panel="masse"]            { order: 8; }
.config-tab[data-tab="lieferzeit"]  { order: 9; }
[data-tab-panel="lieferzeit"]       { order: 10; }
/* Nummern-Badge */
.config-tab::before {
  counter-increment: cfgstep;
  content: counter(cfgstep);
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  transition: background .15s ease, color .15s ease;
}
.config-tab.active::before,
.config-tab.touched::before {
  background: var(--brand-primary);
  color: #fff;
}
.config-tab {
  position: relative;
  scroll-margin-top: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px 44px 15px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-strong);
  cursor: pointer;
  transition: all .15s ease;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0 0 0 / .04);
}
.config-tab[hidden] { display: none; }
.config-tab:hover {
  border-color: var(--brand-pastel);
  color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(96 91 229 / .12);
}
.config-tab.active {
  background: linear-gradient(135deg, rgba(96 91 229 / .06), rgba(111 227 218 / .08));
  border-color: var(--brand-primary);
  border-bottom-color: transparent;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
  color: var(--brand-primary);
  box-shadow: 0 4px 14px rgba(96 91 229 / .12);
}
.config-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--brand-indigo);
}
.config-tab.active .config-tab-icon { color: var(--brand-primary); }
.config-tab-icon svg { width: 100%; height: 100%; }
.config-tab-label {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.2;
  color: var(--text-strong);
  text-transform: none;
}
.config-tab:not(.active) .config-tab-label { color: var(--text-muted); }
.config-tab.active .config-tab-label { color: var(--brand-primary); }

/* Grüner Haken-Badge — zeigt, dass User in dieser Kategorie eine Auswahl getroffen hat */
.config-tab-check {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2da06b;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 4px rgba(45 160 107 / .35);
  opacity: 0;
  transform: translateY(-50%) scale(.6);
  transition: opacity .18s, transform .18s ease-out;
  pointer-events: none;
}
.config-tab.touched .config-tab-check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
/* Mobile: Akkordeon-Zeilen kompakter */
@media (max-width: 640px) {
  .config-tab {
    padding: 13px 40px 13px 14px;
    gap: 11px;
  }
  .config-tab::before { width: 25px; height: 25px; font-size: 13px; }
  .config-tab-icon { width: 24px; height: 24px; }
  .config-tab-label { font-size: 14.5px; }
  .config-steps-progress { font-size: 14px; }
}

/* === Akkordeon-Panels (hängen optisch an ihrer aktiven Schritt-Zeile) === */
.tab-panel {
  margin: 0 0 10px;
  padding: 18px 18px 20px;
  border: 1.5px solid var(--brand-primary);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: var(--surface);
  animation: tab-fade-in .18s ease-out;
}
.config-steps .tab-panel > legend { display: none; }
@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.config-section legend {
  display: block;
  width: 100%;
  font-family: var(--font-section);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--brand-primary);
  padding: 0 0 8px;
  margin-bottom: 8px;
  position: relative;
  margin: 0 0 14px;
}

/* === Upload === */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .05);
}
.upload-icon {
  color: var(--brand-primary);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.upload-icon svg { display: block; }
.upload-primary { font-weight: 600; color: var(--text-strong); font-size: 15px; }
.upload-formats { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }

.upload-status {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.upload-status .ok { color: var(--brand-primary); font-weight: 600; }
.upload-status .filename { color: var(--text-strong); font-weight: 500; flex: 1; }
.upload-status .change-btn {
  border: 0; background: transparent;
  color: var(--brand-primary); font-weight: 600;
  cursor: pointer; font-size: 13px;
}
.upload-status .change-btn:hover { text-decoration: underline; }

.color-swatches {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.swatches-label { font-size: 13px; color: var(--text-muted); }
.swatches-list { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0 0 0 / .1);
  cursor: help;
  transition: transform .12s ease;
}
.swatch:hover { transform: scale(1.15); }
.swatch-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0 0 0 / .1);
  flex-shrink: 0;
}
.upload-note {
  margin-top: 10px;
  padding: 10px 14px;
  font-size: 13px;
  background: #fff5e8;
  border: 1px solid #f3c98c;
  border-radius: 8px;
  color: #8a5a14;
}

/* === Radio-Tiles === */
.radio-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.radio-tile { cursor: pointer; display: flex; }
.radio-tile input { position: absolute; opacity: 0; pointer-events: none; }
.radio-tile-inner {
  flex: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  min-height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all .15s;
}
.radio-tile input:checked + .radio-tile-inner {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .05);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}
.radio-tile-inner strong { color: var(--text-strong); font-size: 15px; line-height: 1.2; }
.radio-tile-inner small { color: var(--text-muted); font-size: 12px; line-height: 1.3; }

/* Ausführung: 4 Optionen → 2-spaltiges Grid */
.execution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.execution-grid .radio-tile-inner,
.placement-grid .radio-tile-inner {
  position: relative;
  min-height: 92px;
  padding: 16px 58px 14px 16px;  /* rechts mehr Platz für das (jetzt größere) Eck-Icon */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
/* Einsatzort-Icons größer als Ausführung-Icons */
.placement-grid .exec-icon-corner {
  width: 36px;
  height: 36px;
  top: 16px;
  right: 14px;
}
.placement-grid .exec-icon-corner svg {
  width: 32px;
  height: 32px;
}
.execution-grid .radio-tile-inner small,
.placement-grid .radio-tile-inner small {
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Icon oben rechts in der Tile-Ecke, ohne Hintergrund */
.exec-icon-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  transition: color .15s;
}
.radio-tile input:checked + .radio-tile-inner .exec-icon-corner {
  color: var(--brand-indigo);
}
/* PNG-Icon-Variante: Maske + currentColor → Violett. Sitzt im exec-icon-corner. */
.exec-icon-mask {
  background-color: currentColor;
  -webkit-mask: var(--mask) center / contain no-repeat;
          mask: var(--mask) center / contain no-repeat;
}
.exec-meta {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(96 91 229 / .1);
  color: var(--brand-primary);
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: .3px;
  text-transform: uppercase;
  vertical-align: middle;
}
@media (max-width: 640px) {
  .execution-grid { grid-template-columns: 1fr; }
}

/* === Slider === */
.slider-row { margin-bottom: 22px; }
.slider-row:last-child { margin-bottom: 0; }
.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.slider-head label { font-weight: 500; color: var(--text-strong); font-size: 15px; }
.slider-value { font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.slider-value strong { color: var(--brand-primary); font-size: 18px; font-weight: 700; margin-right: 2px; }

/* Editierbares Maß-Eingabefeld — sieht wie der fette Brand-Wert aus, wird bei Fokus interaktiv */
.slider-value-input {
  width: 60px;
  margin-right: 2px;
  padding: 2px 6px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-primary);
  background: transparent;
  /* Dezente Lila-Umrandung immer sichtbar — signalisiert: editierbar */
  border: 1px solid rgba(96 91 229 / .30);
  border-radius: 6px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  cursor: text;
  transition: border-color .12s, background .12s, box-shadow .15s;
  -moz-appearance: textfield;
}
.slider-value-input::-webkit-inner-spin-button,
.slider-value-input::-webkit-outer-spin-button {
  -webkit-appearance: none; margin: 0;
}
.slider-value-input:hover {
  border-color: rgba(96 91 229 / .55);
  background: rgba(96 91 229 / .03);
}
.slider-value-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .08);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  /* Füllung wird per JS auf den aktuellen Slider-Anteil gesetzt — macht die
     Position des Thumbs eindeutig sichtbar ("links = wenig, rechts = viel") */
  background: linear-gradient(to right, var(--brand-primary) 0%, var(--brand-primary) 0%, var(--border) 0%, var(--border) 100%);
  outline: none;
  accent-color: var(--brand-primary);
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(96 91 229 / .35);
  cursor: pointer;
  transition: transform .1s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(96 91 229 / .35);
  cursor: pointer;
}
.slider-disabled {
  opacity: .55;
  cursor: not-allowed;
}
.slider-disabled::-webkit-slider-thumb { background: var(--text-muted); cursor: not-allowed; }
.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.slider-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 6px 0 0;
  font-style: italic;
}

/* Höhen-Info nach Maße-Slidern */
.height-info {
  margin: 16px 0 0;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface-soft);
  border-left: 3px solid var(--brand-pastel);
  border-radius: 6px;
  line-height: 1.4;
}
.height-info #height-current {
  display: block;
  margin-top: 4px;
  color: var(--text-strong);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* === Lieferzeit-Tiles === */
.delivery-grid {
  display: grid;
  /* minmax(0, 1fr) statt 1fr: erlaubt den Tiles bei langem Text zu schrumpfen,
     statt das Grid über den Container hinaus zu sprengen. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  /* Innen-Padding gegen den Active-Tile-Schatten, damit er nicht am
     rechten Card-Rand abgeschnitten wird. */
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1320px) {
  .delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.delivery-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 10px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
  text-align: center;
  /* GLEICHE Höhe für alle 4 Tiles, egal wie viel Text drin steht */
  min-height: 170px;
  /* Verhindert Grid-Overflow bei langem Text */
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  /* Damit innere Spans nicht "rauslaufen" */
  overflow: hidden;
}
.delivery-tile:hover {
  border-color: var(--brand-pastel);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(96 91 229 / .10);
}
.delivery-tile.active {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .05);
  /* Schwächerer Innen-Glow statt 3px-Outer-Shadow — bleibt sauber im Container */
  box-shadow: inset 0 0 0 1px var(--brand-primary), 0 2px 8px rgba(96 91 229 / .15);
}
.delivery-illustration {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}
.delivery-illustration svg,
.delivery-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.delivery-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.delivery-label strong {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.2;
}
.delivery-label small {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
}
.delivery-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}
.delivery-tag--discount   { background: #e8f7ef; color: #2da06b; }
.delivery-tag--surcharge  { background: #fff4e6; color: #d68a26; }
.delivery-tag--request    { background: #f4f0ff; color: var(--brand-primary); }

/* === Stepper === */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stepper-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
  cursor: pointer;
  transition: all .15s;
}
.stepper-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.stepper-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-body);
}
.stepper-input::-webkit-inner-spin-button,
.stepper-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-input { -moz-appearance: textfield; }
.stepper-hint {
  font-size: 14px;
  color: #2da06b;
  font-weight: 600;
  margin: 10px 0 0;
}
.stepper-hint.active {
  color: #218a58;
  background: #e8f7ef;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
}

/* === CTA-Row === */
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
/* === Primär-CTA „In den Warenkorb" — CI-Gradient, premium, klare Hierarchie === */
.btn-cart {
  width: 100%;
  justify-content: center;
  gap: 11px;
  padding: 17px 30px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-indigo) 54%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  box-shadow:
    0 16px 34px -8px rgba(99, 92, 229, .58),
    0 6px 14px -4px rgba(111, 124, 255, .48),
    inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: transform .18s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-cart:hover {
  color: #fff;
  filter: brightness(.96);
  transform: translateY(-2px);
  box-shadow:
    0 24px 46px -8px rgba(99, 92, 229, .64),
    0 8px 18px -4px rgba(111, 124, 255, .52),
    inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-cart:active {
  transform: translateY(0);
  filter: brightness(.9);
  box-shadow:
    0 8px 18px -10px rgba(70, 76, 221, .5),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  transition-duration: .06s;
}
.btn-cart:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--surface, #fff),
    0 0 0 5px var(--brand-primary),
    0 14px 30px -10px rgba(70, 76, 221, .5);
}
.btn-cart-ico { flex: none; opacity: .96; margin-top: -1px; }
.btn-cart-label { line-height: 1; }

/* Sekundär-CTA „Angebot als PDF speichern" — sichtbar auf Weiß, aber klar untergeordnet */
.btn-offer-pdf {
  background: var(--surface-soft, #f4f4f4);
  border: 1px solid #d6d6e2;
  color: var(--text-strong);
  box-shadow: 0 1px 2px rgba(20, 20, 60, .05);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-offer-pdf:hover {
  background: #eceaf6;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.btn-offer-pdf:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--surface, #fff), 0 0 0 5px var(--brand-primary);
}
.shipping-hint {
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  margin: 0;
}
.anfrage-link-hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  text-align: center;
  color: var(--text-muted);
  padding: 12px 14px;
  background: var(--surface-soft, #faf9fc);
  border: 1px dashed var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.anfrage-link-hint-line {
  display: block;
}
.anfrage-link-hint a {
  display: block;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.anfrage-link-hint a:hover {
  color: var(--brand-indigo);
  text-decoration: underline;
}

/* === Info-Tabs (Beschreibung / Technische Daten / FAQ) — drei nebeneinander === */
/* === Montage-Sektion zwischen Konfigurator und Info-Tabs === */
.montage-card {
  margin-top: 36px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0 0 0 / .05);
  border: 1px solid var(--border);
}
.montage-grid {
  display: grid;
  /* Drei Spalten: Video | Steps | Galerie. Material kommt als eigene Zeile darunter. */
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 36px;
  box-sizing: border-box;
}
/* material-section-head wurde entfernt — Eyebrow + Title sitzen jetzt pro Karte */
.montage-media {
  background: linear-gradient(135deg, var(--brand-indigo), var(--brand-primary) 55%, var(--brand-teal));
  padding: 5px;        /* exakt 5 px Gradient-Rahmen rundherum (auch links/rechts!) */
  border-radius: 13px;
  align-self: center;  /* vertikal mittig — gleichmäßiger Abstand oben/unten */
  justify-self: center;
  width: fit-content;
}
.montage-video-wrap {
  /* Feste Breite — der Gradient-Rahmen sitzt mit 5 px exakt drumherum */
  width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0 0 0 / .25);
  background: #000;
}
.montage-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.montage-info {
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;  /* vertikal mittig im Row, gleichmäßiger Abstand */
}
.montage-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-teal);
  background: rgba(111 227 218 / .12);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.montage-title,
.gallery-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 0;
  letter-spacing: -.2px;
  color: var(--brand-indigo);
  line-height: 1.15;
}
.montage-lead {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 16px;
  font-family: var(--font-body);
}
.montage-steps {
  list-style: none;
  padding: 0;
  margin: 14px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.montage-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.montage-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-indigo));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(96 91 229 / .35);
}
.montage-step-text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-strong);
}
.montage-step-text strong {
  color: var(--text-strong);
  font-weight: 600;
  font-size: 17px;
}
.montage-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-indigo));
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
  transition: all .15s;
  box-shadow: 0 2px 8px rgba(96 91 229 / .25);
}
.montage-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(96 91 229 / .35);
  color: #fff;
}
.montage-download-icon {
  display: grid;
  place-items: center;
}
/* === Material-Panel (PLA-Infos mit Mais-Hintergrund) === */
/* === Material-Reihe unter Video+Steps+Galerie === */
.montage-material.material-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 36px;
  box-sizing: border-box;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--brand-teal), var(--brand-primary), transparent) 1;
  margin-top: 8px;
  border-left: 0;
  align-items: stretch;
}
.material-row .material-sub {
  position: relative;
  padding: 24px 26px;
  background: #fff;
  border-radius: 14px;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;  /* Texte oben bündig */
}
.material-row .material-sub > * { position: relative; z-index: 2; }
.material-row .material-divider { display: none; }
/* Fallback wenn keine .material-row Klasse (z. B. cached HTML) */
.montage-material {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
/* Material-Sub-Bereiche: drei Stapel vertikal mit Trennlinien dazwischen */
.material-sub {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  flex: 1 1 0;
  justify-content: center;
}
.material-sub-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.material-sub-head .gallery-title {
  font-size: 24px;
  margin: 4px 0 0;
  line-height: 1.18;
}
.material-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
  margin: 4px 0;
}
.material-list-mini {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.material-list-mini li {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-strong);
  padding-left: 32px;
  position: relative;
}
.material-list-mini li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(111 227 218 / .18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23289ca8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.material-list-mini strong { color: var(--text-strong); font-weight: 700; }
.material-text {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-strong);
}
/* Mais-PNG ist entfernt — PLA-Karte ohne Hintergrund-Watermark */
.material-pla { position: relative; overflow: hidden; }
/* Moos-Karte: 2-Spalten-Layout — Text links, kleines Foto rechts daneben */
.material-moos {
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 18px;
}
.moos-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.moos-photo {
  flex: 0 0 52%;
  max-width: 330px;
  align-self: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0 0 0 / .15);
  background: #fff;
}
.moos-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 700px) {
  .material-moos { flex-direction: column !important; }
  .moos-photo { flex: 1 1 auto; max-width: none; height: 200px; }
}
/* Granulat-Detail mittig im PLA-Kasten: großer Kreis mit Lupe-Effekt + Text darunter */
.pla-surface-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 20px auto 4px;
  position: relative;
  z-index: 2;
  width: 100%;
}
/* PLA-Karte: Inhalt mittig vertikal verteilen, damit der Kreis optisch zentral wirkt */
.material-row .material-sub.material-pla {
  justify-content: space-between;
}
.pla-surface-detail .surface-circle {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0 0 0 / .15);
  cursor: zoom-in;
  position: relative;
  border: 1.5px solid var(--brand-teal);
}
.pla-surface-text {
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-strong);
}
.pla-surface-text strong { font-weight: 600; color: var(--text-strong); }
/* Abstand PLA → Moos kompakter, damit die Sub-Bereiche enger zusammenrücken */
.material-divider { margin: 6px 0; }
.montage-material { gap: 10px; }
/* Untergrund-Bild — größer, damit Bereich gleichmäßig gefüllt ist */
.material-untergrund-img {
  width: 100%;
  height: auto;
  max-height: 130px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 6px;
  filter: brightness(.95);
}

/* === Kundenbeispiel-Galerie rechts === */
.montage-gallery {
  position: relative;
  border-left: 1px solid;
  border-image: linear-gradient(to bottom, transparent 0%, var(--brand-teal) 20%, var(--brand-primary) 80%, transparent 100%) 1;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* "Zur Galerie"-Button unter dem Kundenbilder-Slider (Web + Mobil) */
.gallery-cta-row {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  margin-top: 6px;
}
.gallery-cta-btn { white-space: nowrap; }
.gallery-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.gallery-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--brand-teal);
  background: rgba(111 227 218 / .12);
  padding: 3px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
/* .gallery-title oben mit .montage-title zusammengefasst — gleiche Größe für alle Headlines */
.gallery-viewport {
  position: relative;
  flex: 1;
  min-height: 540px;
  max-height: 620px;
  overflow: hidden;
  border-radius: 0;
  /* Sanftes Ein- und Ausblenden oben und unten — wirkt edler */
  mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.gallery-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: gallery-loop 45s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
.gallery-track img {
  width: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0 0 0 / .12);
  cursor: pointer;
}
@keyframes gallery-loop {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@media (max-width: 1100px) {
  .montage-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .montage-gallery {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid;
    border-image: linear-gradient(to right, transparent, var(--brand-teal), var(--brand-primary), transparent) 1;
    padding-left: 0;
    padding-top: 24px;
    margin-top: 12px;
  }
  .montage-material.material-row { grid-template-columns: 1fr; padding: 8px 24px 28px; gap: 18px; }
  .material-section-head { padding: 4px 24px 8px; }
  .material-bg-icon { right: -10px; bottom: -10px; width: 140px; height: 200px; }
  .gallery-viewport {
    min-height: auto;
    max-height: 380px;
  }
  .gallery-track {
    flex-direction: row;
    animation: gallery-loop-h 25s linear infinite;
  }
  .gallery-track img {
    height: 320px;
    width: auto;
    flex-shrink: 0;
  }
  @keyframes gallery-loop-h {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .gallery-viewport {
    mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  }
}
@media (max-width: 900px) {
  .montage-grid { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .montage-media { justify-self: center; padding: 6px; width: 100%; max-width: 280px; }
  .montage-video-wrap { width: 100%; max-width: 260px; }
  .montage-info { padding: 0; }
  .montage-title { font-size: 22px; }
  .gallery-viewport { max-height: 280px; }
  .gallery-track img { height: 250px; }
}

/* === Vergleichs-Slider-Sektion (Vorher/Nachher + Oberflächen-Detail) === */
.compare-card {
  margin-top: 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0 0 0 / .05);
  overflow: hidden;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding: 44px 40px;
  align-items: start;
  justify-items: center;
}
.compare-main,
.compare-real,
.compare-side {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
/* Eyebrow-Pille ÜBER dem Bild zentriert — etwas größer für Calculator-Look */
.compare-col-eyebrow {
  align-self: center;
  margin-bottom: 0;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  padding: 5px 14px;
}
/* Compare-Arrow ist entfernt (3-Spalten-Layout ohne Pfeil) */
.compare-side-text {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-strong);
  text-align: center;
  max-width: 360px;
}
/* Dritte Spalte (Untergründe) nutzt jetzt das real-photo-Styling — aber etwas schmaler im Format */
.real-photo.surface-photo {
  background: #fff;
}
.real-photo {
  width: 100%;
  border-radius: 14px;
  border: 2.5px solid var(--brand-primary);
  box-shadow: 0 6px 20px rgba(96 91 229 / .22), 0 0 0 4px rgba(96 91 229 / .08);
  background: #fff;
  overflow: hidden;
  line-height: 0;
}
.real-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.ba-slider {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #000;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  border: 2.5px solid var(--brand-primary);
  box-shadow: 0 6px 20px rgba(96 91 229 / .22), 0 0 0 4px rgba(96 91 229 / .08);
}
.ba-image-back, .ba-image-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-image-front {
  clip-path: inset(0 50% 0 0);
  transition: clip-path .04s linear;
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.5px;
  background: linear-gradient(to bottom, transparent, #fff 12%, #fff 88%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0 0 0 / .2);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0 0 0 / .3), 0 0 0 2px rgba(0 0 0 / .08);
  pointer-events: none;
}
/* Range nur für a11y/Keyboard — pointer-events durchlassen, damit der Slider-div
   die Klicks bekommt und der Vorher/Nachher-Drag zuverlässig läuft. */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

/* Oberflächen-Detail rechts daneben */
.compare-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 340px;
}
.compare-side .compare-col-head { margin-bottom: 4px; }
.surface-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0 0 0 / .12);
  cursor: zoom-in;
}
.surface-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease-out;
  transform-origin: center;  /* wird per JS bei Maus-Move überschrieben */
  will-change: transform;
  transform: scale(1.12);     /* schiebt dunkle Bildränder aus dem sichtbaren Kreis */
}
.surface-circle:hover img { transform: scale(3.2); }
.surface-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 rgba(96 91 229 / 0);
  transition: box-shadow .35s;
}
.surface-circle:hover::after {
  box-shadow: inset 0 0 0 3px rgba(96 91 229 / .55), inset 0 0 30px rgba(0 0 0 / .25);
}
.compare-side-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 1100px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 32px 28px;
  }
  .compare-side { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .compare-grid {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 32px;
  }
  .compare-main, .compare-real, .compare-side { max-width: 420px; }
}

.info-tabs-card {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0 0 0 / .04);
}
.info-tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(135deg, rgba(70 76 221 / .06), rgba(111 227 218 / .08));
  border-bottom: 1px solid var(--border);
}
.info-tab-btn {
  position: relative;
  border: 0;
  background: transparent;
  padding: 22px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .3px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
}
.info-tab-btn:not(:last-child)::before {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--border);
}
.info-tab-btn:hover {
  color: var(--brand-primary);
  background: rgba(96 91 229 / .05);
}
.info-tab-btn.active {
  color: var(--brand-primary);
  background: var(--surface);
}
/* Aktiv-Akzent — kräftige Brand-Lila-Unterstreichung */
.info-tab-btn::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.info-tab-btn.active::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-teal));
}

.info-tab-panel {
  padding: 32px 36px 36px;
  animation: info-tab-fade .2s ease-out;
}
@keyframes info-tab-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.info-tab-panel[hidden] { display: none; }
/* Mobile: Info-Tabs untereinander statt 3-spaltig — sonst wird "Häufige Fragen" abgeschnitten */
@media (max-width: 640px) {
  .info-tabs-card { margin-top: 12px; }
  .info-tabs-nav { grid-template-columns: 1fr; }
  .info-tab-btn { padding: 14px 16px; font-size: 15px; text-align: left; }
  .info-tab-btn:not(:last-child)::before {
    top: auto; bottom: 0; left: 16px; right: 16px;
    width: auto; height: 1px;
  }
  .info-tab-btn::after { left: 16px; right: 16px; }
  .info-tab-panel { padding: 20px 16px 24px; }
  .info-tab-panel h3 { font-size: 18px; }
}
.info-tab-panel h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 18px;
  color: var(--brand-indigo);
  letter-spacing: -.2px;
}
.info-tab-panel h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-teal));
  border-radius: 2px;
  margin-top: 8px;
}
.info-tab-panel ul { padding-left: 0; list-style: none; margin: 0; }
.info-tab-panel li {
  position: relative;
  padding: 8px 0 8px 30px;
  margin-bottom: 6px;
  color: var(--text-strong);
  line-height: 1.55;
}
/* Brand-Symbol als Listen-Bullet (statt einfacher Punkt) */
.info-tab-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background-image: url('assets/brand-symbol.png?v=opt0606');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* FAQ-Items mit dezentem Akzent — neutraler Hintergrund, mehr Innenabstand */
.faq-item {
  border-left: 4px solid var(--brand-primary);
  margin-bottom: 8px;
  border-radius: 0 10px 10px 0;
  background: var(--surface-soft);
  padding: 16px 20px 16px 48px;   /* Mehr Luft links — Text nicht mehr an die Linie gequetscht */
  transition: all .15s;
}
.faq-item:hover {
  background: rgba(70 76 221 / .04);
}
.faq-item[open] {
  background: rgba(70 76 221 / .05);
  border-left-color: var(--brand-indigo);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--brand-primary);
  font-size: 20px;
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 10px; color: var(--text-muted); }
/* FAQ-Gruppen-Überschrift (Bestellung, Datei, Material, Versand, Montage) */
.faq-group {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--brand-dark); text-transform: uppercase; letter-spacing: .5px;
  margin: 26px 0 12px; padding-top: 16px; border-top: 1px solid var(--border);
}
.faq-group:first-of-type { margin-top: 10px; padding-top: 0; border-top: none; }
/* Technische-Daten Definition-Liste */
.info-tab-panel dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 0;
  margin: 0;
}
.info-tab-panel dt {
  padding: 12px 16px;
  font-weight: 600;
  color: var(--brand-indigo);
  background: rgba(70 76 221 / .04);
  border-bottom: 1px solid var(--border);
}
.info-tab-panel dd {
  padding: 12px 16px;
  margin: 0;
  color: var(--text-strong);
  border-bottom: 1px solid var(--border);
}
.info-tab-panel dt:last-of-type, .info-tab-panel dd:last-of-type { border-bottom: 0; }
.info-tab-panel p {
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.6;
}

/* Veraltete FAQ-Item-Doppeldefinition entfernt — Styles kommen nun aus der
   neueren .faq-item-Regel weiter oben (mit border-left + Brand-Lila + padding-left). */
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
  position: relative;
  padding-right: 28px;
  font-family: var(--font-body);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: var(--brand-primary);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 10px; line-height: 1.6; }
.faq-item summary:hover { color: var(--brand-primary); }

/* .check-list erbt jetzt das Brand-Symbol-Bullet aus .info-tab-panel li::before */
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }

.tech-dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px 24px;
  margin: 0;
}
.tech-dl dt { font-weight: 600; color: var(--text-strong); }
.tech-dl dd { margin: 0; color: var(--text-muted); }
@media (max-width: 640px) {
  .tech-dl { grid-template-columns: 1fr; gap: 4px 0; }
  .tech-dl dd { margin-bottom: 12px; }
}

.tab-panel details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.tab-panel details:last-child { border-bottom: 0; }
.tab-panel summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.tab-panel summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: var(--brand-primary);
  transition: transform .2s;
}
.tab-panel details[open] summary::after { transform: rotate(45deg); }
.tab-panel details p { margin-top: 10px; }

/* === Anfrage-Seite (Sondermaß / Sonderwunsch) === */
.anfrage-page { padding-block: 32px 80px; background: var(--surface-alt); min-height: 60vh; }
.anfrage-page .container { max-width: 1240px; }
.anfrage-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}
.anfrage-head .gallery-eyebrow { align-self: center; }
.anfrage-head h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin: 4px 0 0;
  letter-spacing: -.4px;
  color: var(--brand-indigo);
}
.anfrage-lead { margin: 0; max-width: 600px; color: var(--text-muted); font-size: 16px; line-height: 1.55; }

#anfrage-form .config-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 18px;
}
#anfrage-form .config-section legend {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-indigo);
  padding: 0 8px;
  margin-left: -8px;
}

.anfrage-size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.anfrage-num label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.anfrage-num input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  background: var(--surface);
}
.anfrage-num input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}

.anfrage-delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.delivery-pill .radio-tile-inner {
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  min-height: auto;
}
.delivery-pill .radio-tile-inner strong { font-size: 14px; }
.delivery-pill .radio-tile-inner small { font-size: 11.5px; }

.anfrage-color { margin-top: 16px; }
.anfrage-color label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.anfrage-color textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--surface);
  resize: vertical;
  min-height: 80px;
}
.anfrage-color textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}

.anfrage-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.anfrage-contact-grid > div { display: flex; flex-direction: column; }
.anfrage-contact-grid label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.anfrage-contact-grid input {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--surface);
}
.anfrage-contact-grid input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}

.anfrage-dsgvo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--surface-soft, #faf9fc);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.anfrage-dsgvo input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--brand-primary);
}
.anfrage-dsgvo a { color: var(--brand-primary); text-decoration: underline; }

.anfrage-cta {
  text-align: center;
  margin-top: 24px;
}
.anfrage-cta .btn-primary {
  width: 100%;
  max-width: 420px;
  justify-content: center;
  padding: 16px 28px;
  font-size: 17px;
}
.anfrage-status {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-soft, #faf9fc);
}
.anfrage-status.is-success {
  background: rgba(45 160 107 / .12);
  color: #1d6b46;
  font-weight: 600;
}
.anfrage-status.is-warn {
  background: rgba(196 122 20 / .12);
  color: #8a5a14;
  font-weight: 600;
}
.anfrage-status[hidden] { display: none; }
.anfrage-hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: italic;
}

/* Lieferzeit-Kacheln mit Illustration (gleicher Look wie auf der Shop-Seite) */
.anfrage-delivery-tile {
  cursor: pointer;
  display: block;
}
.anfrage-delivery-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.anfrage-delivery-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all .15s;
  height: 100%;
  text-align: center;
}
.anfrage-delivery-tile input:checked + .anfrage-delivery-inner {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .05);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}
.anfrage-delivery-illustration {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}
.anfrage-delivery-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.anfrage-delivery-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.anfrage-delivery-label strong {
  font-size: 14px;
  color: var(--text-strong);
}
.anfrage-delivery-label small {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Quelle-Tiles (Wie sind Sie auf uns gekommen?) */
.anfrage-source-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.anfrage-source-tile {
  cursor: pointer;
  display: block;
}
.anfrage-source-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.anfrage-source-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  transition: all .15s;
  color: var(--text-muted);
  min-height: 92px;
}
.anfrage-source-tile:hover .anfrage-source-inner {
  border-color: var(--brand-pastel);
  transform: translateY(-2px);
}
.anfrage-source-tile input:checked + .anfrage-source-inner {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .05);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}
.anfrage-source-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.anfrage-source-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.anfrage-source-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
}
/* Brand-Farben pro Tile: Icon nimmt seine eigene Markenfarbe an */
.anfrage-source-tile[data-source="empfehlung"] .anfrage-source-icon { color: #ff6b9d; }
.anfrage-source-tile[data-source="instagram"]  .anfrage-source-icon { color: #e1306c; }
.anfrage-source-tile[data-source="google"]     .anfrage-source-icon { color: #4285f4; }
.anfrage-source-tile[data-source="facebook"]   .anfrage-source-icon { color: #1877f2; }
.anfrage-source-tile[data-source="pinterest"]  .anfrage-source-icon { color: #e60023; }
.anfrage-source-tile[data-source="sonstiges"]  .anfrage-source-icon { color: var(--text-muted); }

/* Prominente Alternativ-Kontakt-Sektion unter dem Submit-Button */
.anfrage-contact-alt {
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(96 91 229 / .04), rgba(111 227 218 / .06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.anfrage-contact-alt-head {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-indigo);
}
.anfrage-contact-alt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.anfrage-contact-alt-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-strong) !important;
  transition: all .15s;
}
.anfrage-contact-alt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0 0 0 / .08);
  border-color: var(--brand-primary);
}
.anfrage-contact-alt-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.anfrage-contact-alt-mail .anfrage-contact-alt-icon { background: linear-gradient(135deg, var(--brand-primary), var(--brand-indigo)); }
.anfrage-contact-alt-whatsapp .anfrage-contact-alt-icon { background: #25d366; }
.anfrage-contact-alt-phone .anfrage-contact-alt-icon { background: var(--brand-teal); }
.anfrage-contact-alt-icon svg { width: 20px; height: 20px; display: block; }
.anfrage-contact-alt-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}
.anfrage-contact-alt-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}
.anfrage-contact-alt-text small {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 920px) {
  .anfrage-source-grid { grid-template-columns: repeat(3, 1fr); }
  .anfrage-contact-alt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .anfrage-head h1 { font-size: 28px; }
  #anfrage-form .config-section { padding: 18px 18px; }
  .anfrage-size-grid { grid-template-columns: 1fr 1fr; }
  .anfrage-delivery-grid { grid-template-columns: 1fr 1fr; }
  .anfrage-contact-grid { grid-template-columns: 1fr; }
  .anfrage-source-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .anfrage-source-inner { min-height: 80px; padding: 12px 6px; }
  .anfrage-source-icon { width: 26px; height: 26px; }
  .anfrage-source-label { font-size: 12px; }
  .anfrage-contact-alt { padding: 18px; }
  .anfrage-delivery-illustration { width: 44px; height: 44px; }
  .anfrage-delivery-label strong { font-size: 13px; }
}

/* === Cart-Page === */
.cart-page { padding-block: 48px 80px; background: var(--surface-alt); min-height: 60vh; }
.cart-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.cart-grid[hidden] { display: none !important; }
.cart-empty[hidden] { display: none !important; }
.cart-grid {
  align-items: start;
}
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } }

.cart-items {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-thumb {
  width: 110px; height: 110px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1.5px solid var(--brand-pastel);
  display: grid;
  place-items: center;
  font-size: 36px;
  color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(96 91 229 / .15);
  overflow: hidden;
}
.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-item-info h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cart-item-qty-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-indigo));
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(96 91 229 / .35);
}
.cart-item-info { display: flex; flex-direction: column; gap: 6px; }
.cart-item-info h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-indigo);
  letter-spacing: -.2px;
}
.cart-item-info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-strong);
}
.cart-item-info p strong { color: var(--brand-primary); }
/* Maße-Pille hervorgehoben */
.cart-item-dims {
  display: inline-block;
  background: rgba(96 91 229 / .1);
  color: var(--brand-indigo);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  font-variant-numeric: tabular-nums;
}
.cart-item-meta {
  font-size: 14px;
  color: var(--text-muted);
}
.cart-item-meta strong { color: var(--brand-indigo); font-weight: 600; }
/* Lieferzeit als Inline-Select */
.cart-item-delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-delivery-select {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-indigo);
  background: rgba(96 91 229 / .08);
  border: 1.5px solid var(--brand-primary);
  padding: 4px 30px 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a45d2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.cart-delivery-select:focus { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.cart-item-colornote {
  margin-top: 6px !important;
  padding: 8px 12px;
  background: rgba(96 91 229 / .08);
  border-left: 3px solid var(--brand-primary);
  border-radius: 6px;
  font-size: 13px !important;
  color: var(--text-strong) !important;
}
.cart-item-colornote strong { color: var(--brand-primary); }
.cart-item-price {
  text-align: right;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
}
.cart-item-unitprice {
  text-align: right;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: -4px;
  font-variant-numeric: tabular-nums;
}
.cart-item-remove {
  display: block;
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: var(--accent-warn);
  font-size: 13px;
  cursor: pointer;
}
.cart-item-remove:hover { text-decoration: underline; }

/* Mengen-Stepper im Warenkorb */
.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cart-item-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface-soft);
  border: 1.5px solid var(--brand-pastel);
  border-radius: 999px;
  padding: 3px;
}
.cart-item-qty-stepper button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-indigo);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cart-item-qty-stepper button:hover:not([disabled]) {
  background: var(--brand-primary);
  color: #fff;
}
.cart-item-qty-stepper button[disabled] {
  opacity: .4;
  cursor: not-allowed;
}
.cart-item-qty-value {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-indigo);
  font-variant-numeric: tabular-nums;
}

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.cart-summary h3 {
  font-family: var(--font-section);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin: 0 0 16px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-muted);
}
/* hidden-Override — `.summary-row { display: flex }` würde sonst das Browser-
   Default `[hidden] { display: none }` schlagen und Zeilen wie Mengenrabatt
   blieben sichtbar trotz `hidden=true`. */
.summary-row[hidden] { display: none !important; }
.summary-row.discount { color: #2da06b; font-weight: 600; }
.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  font-family: var(--font-display);
}

/* ============================================================
   === MOBILE-FIXES (Session 2026-05-28 Phase 13 — v3 brute) ===
   ALLE Regeln mit !important damit kein älterer Block sie killt.
   ============================================================ */
@media (max-width: 768px) {

  /* === 0. Horizontaler Overflow killen === */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  body { scrollbar-gutter: auto !important; }
  .container { max-width: 100% !important; box-sizing: border-box !important; }
  .montage-card, .info-tabs-card, .config-card, .preview-card,
  .montage-grid, .material-row {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* === 0a. Disclaimer auf Mobile KOMPLETT AUSBLENDEN === */
  .preview-disclaimer {
    display: none !important;
  }

  /* === 0b. Preview-Card EDGE-TO-EDGE + nach OBEN gezogen via negativer Margin === */
  .config-page {
    padding-block: 0 !important;
    margin-top: -56px !important;  /* zieht die GANZE Section weit unter den Header */
  }
  .config-page > .container { padding-inline: 0 !important; max-width: 100% !important; padding-top: 0 !important; }
  .config-grid {
    gap: 14px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    grid-template-columns: 1fr !important;
  }
  .preview-card {
    margin: 0 !important;
    position: static !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 1px 6px rgba(0 0 0 / .06) !important;
  }
  /* Banner + mockup-bar voll breit ohne abgerundete Ecken */
  .preview-card > .preview-banner:first-child {
    border-radius: 0 !important;
    margin: 0 !important;
  }
  .mockup-bar {
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Sichtbarer Stage (Mockup-Vorschau) auch voll breit */
  .preview-stage {
    border-radius: 0 !important;
    width: 100% !important;
  }
  /* Rest der Seite kriegt wieder Container-Padding */
  .config-card,
  .montage-card,
  .info-tabs-card {
    margin-left: 14px !important;
    margin-right: 14px !important;
  }
  /* Trust-Bar Container nicht beeinflussen */
  .trust-bar .container,
  .site-header .container { padding-inline: 14px !important; }

  /* 1. Disclaimer-Box auf ca. 25 % der vorherigen Größe */
  .preview-disclaimer {
    width: auto !important;
    max-width: 60% !important;
    bottom: 8px !important;
    padding: 5px 9px !important;
    gap: 6px !important;
    border-radius: 8px !important;
  }
  .preview-disclaimer-icon { width: 14px !important; height: 14px !important; font-size: 9px !important; }
  .preview-disclaimer-text { font-size: 9.5px !important; line-height: 1.3 !important; }
  .preview-disclaimer-text strong { font-size: 10px !important; margin-bottom: 1px !important; }

  /* 2. Preview-Banner kompakter — Mockup nach oben */
  .preview-banner { padding: 18px 12px !important; gap: 10px !important; }   /* Kästchen nochmal +10 % höher, Text bleibt mittig */
  .preview-banner-symbol { width: 40px !important; height: 40px !important; padding: 5px !important; border-radius: 9px !important; }   /* Logo links größer */
  .preview-banner-text strong { font-size: 26px !important; }
  .preview-banner-text small  { font-size: 20px !important; }

  .config-page { padding-block: 0 32px !important; }
  .config-grid { gap: 14px !important; }
  .mockup-bar { padding: 8px 12px !important; gap: 6px !important; }

  /* 4. Video MIT FLEXBOX zentrieren — Grid + justify-self funktionierte nicht zuverlässig */
  .montage-card { margin-top: 18px !important; }
  .montage-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 22px !important;
    padding: 22px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .montage-media {
    width: 280px !important;
    max-width: calc(100% - 32px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 5px !important;
    align-self: center !important;
    flex-shrink: 0 !important;
  }
  .montage-video-wrap {
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto !important;
  }
  .montage-info { width: 100% !important; max-width: 100% !important; }
  .montage-gallery { width: 100% !important; max-width: 100% !important; }

  /* 5. Montage-Text untereinander, kleiner — WORD-WRAP ERZWINGEN damit nix mehr rechts rausläuft */
  .montage-info { padding: 0 !important; gap: 10px !important; min-width: 0 !important; max-width: 100% !important; }
  .montage-title,
  .gallery-title { font-size: 19px !important; line-height: 1.2 !important; word-wrap: break-word !important; overflow-wrap: anywhere !important; }
  .montage-lead { font-size: 14px !important; overflow-wrap: anywhere !important; }
  .montage-steps { gap: 14px !important; margin-top: 8px !important; padding: 0 !important; }
  .montage-steps li { gap: 12px !important; align-items: flex-start !important; min-width: 0 !important; }
  .montage-step-num { width: 30px !important; height: 30px !important; font-size: 14px !important; flex-shrink: 0 !important; }
  .montage-step-text { min-width: 0 !important; flex: 1 !important; }
  .montage-step-text,
  .montage-step-text strong { font-size: 14px !important; line-height: 1.4 !important; overflow-wrap: anywhere !important; word-wrap: break-word !important; }
  .montage-download { width: 100% !important; box-sizing: border-box !important; justify-content: center !important; padding: 10px 16px !important; font-size: 13px !important; }

  .montage-material.material-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 22px 16px !important;
    margin-top: 4px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .material-row .material-sub { padding: 18px !important; max-width: 100% !important; box-sizing: border-box !important; overflow: hidden !important; }
  .material-sub-head .gallery-title { font-size: 19px !important; overflow-wrap: anywhere !important; }
  .material-list-mini li { font-size: 14px !important; padding-left: 28px !important; overflow-wrap: anywhere !important; }
  .material-list-mini li::before { width: 18px !important; height: 18px !important; background-size: 12px 12px !important; }
  .material-moos { flex-direction: column !important; gap: 14px !important; max-width: 100% !important; }
  /* Moos-Bild MUSS in seinen Container passen */
  .moos-photo {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 280px !important;
    align-self: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .moos-photo img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }
  .pla-surface-detail .surface-circle { max-width: 200px !important; }
  .pla-surface-text { font-size: 12.5px !important; overflow-wrap: anywhere !important; }

  /* 6. Galerie 3× schneller — 80s → 22s, horizontaler Loop ERZWUNGEN */
  @keyframes gallery-loop-h-mobile {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .gallery-viewport {
    max-height: 220px !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .gallery-track {
    display: flex !important;
    flex-direction: row !important;
    animation: gallery-loop-h-mobile 5s linear infinite !important;
    will-change: transform !important;
  }
  .gallery-track img {
    height: 180px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }

  /* 7. Info-Tabs Section ebenfalls deutlich nach OBEN gezogen (negativer Margin) */
  .info-tabs-card {
    margin-top: -56px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
  }
  .info-tabs-nav { padding: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  .info-tab-btn {
    padding: 16px 10px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
  }
  .info-tab-btn .info-tab-label { font-size: 17px !important; font-weight: 700 !important; }
  .info-tab-panel { padding: 14px 16px !important; max-width: 100% !important; box-sizing: border-box !important; }
  .info-tab-panel h3 {
    font-size: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }
  .info-tab-panel p, .info-tab-panel li, .info-tab-panel dt, .info-tab-panel dd {
    font-size: 14px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere !important;
  }
  .faq-item summary { font-size: 14.5px !important; padding: 12px 0 !important; overflow-wrap: anywhere !important; }

  .site-header .brand-logo { font-size: 26px !important; margin-left: 0 !important; }
  .trust-bar .container { padding-block: 6px !important; }
}

.summary-row.netto-line {
  font-size: 13px;
  color: var(--text-muted);
}
.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

/* B2B-Checkbox in Cart */
.b2b-toggle {
  margin: 20px 0;
  padding: 16px;
  background: var(--surface-soft);
  border-radius: var(--radius);
}
.b2b-toggle label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-strong);
  font-weight: 500;
}
.b2b-toggle input { width: 18px; height: 18px; accent-color: var(--brand-primary); }
.b2b-fields {
  margin-top: 14px;
  display: none;
}
.b2b-toggle.active .b2b-fields { display: block; }
.b2b-fields input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
}
.b2b-fields p { font-size: 12px; color: var(--text-muted); margin: 6px 0 0; }
.b2b-hint { font-size: 12px; color: var(--text-muted); margin: 8px 0 0 !important; line-height: 1.45; }

/* UID-Live-Status (VIES-Prüfung) */
.uid-status {
  margin-top: 10px; padding: 11px 13px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.5;
  border: 1px solid var(--border); background: var(--surface);
}
.uid-status.is-checking { color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.uid-status.is-ok   { background: #e8f7ef; border-color: #b6e6cb; color: #1c7a4b; }
.uid-status.is-warn { background: #fff4e6; border-color: #ffd9a6; color: #a25b15; }
.uid-status.is-err  { background: #fdecec; border-color: #f5c2c2; color: #b42323; }
.uid-status.is-info { background: var(--surface-soft, #faf9fc); color: var(--text-muted); }
.uid-status strong { color: inherit; }
.uid-facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.uid-facts li { position: relative; padding-left: 16px; }
.uid-facts li::before { content: "•"; position: absolute; left: 4px; }
.uid-spinner {
  flex: none; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(96,91,229,.25); border-top-color: var(--brand-primary);
  animation: uidspin .7s linear infinite;
}
@keyframes uidspin { to { transform: rotate(360deg); } }
.total-tax-note { font-weight: 400; font-size: .8em; color: var(--text-muted); }

/* AT-Lieferadresse-Popup */
.uid-modal { position: fixed; inset: 0; z-index: 9600; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.uid-modal.is-open { opacity: 1; }
.uid-modal[hidden] { display: none; }
.uid-modal-backdrop { position: absolute; inset: 0; background: rgba(20,18,40,.55); }
.uid-modal-card {
  position: relative; z-index: 1; width: min(92vw, 460px); box-sizing: border-box;
  background: var(--surface); border-radius: 18px; padding: 28px 26px 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35); text-align: center;
  transform: translateY(12px); transition: transform .2s;
}
.uid-modal.is-open .uid-modal-card { transform: translateY(0); }
.uid-modal-close { position: absolute; top: 12px; right: 14px; width: 30px; height: 30px; border: 0; background: var(--surface-soft); border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--text-muted); }
.uid-modal-icon { font-size: 38px; margin-bottom: 6px; }
.uid-modal-card h3 { font-family: var(--font-display); font-size: 21px; margin: 0 0 10px; color: var(--text-strong); }
.uid-modal-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0 0 20px; }
.uid-modal-ctas { display: flex; justify-content: center; }

/* Lieferland-Auswahl (steuert Mindestbestellwert) */
.cart-country { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 0; }
.cart-country label { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.cart-country select {
  flex: 0 0 auto; min-width: 160px; font-family: var(--font-body); font-size: 14px;
  padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--text-strong); cursor: pointer;
}
.cart-country select:focus { outline: none; border-color: var(--brand-primary); }

/* Mindestbestellwert-Hinweis */
.min-order-hint {
  margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.45;
  background: #fff6df; border: 1px solid #f5a623; color: #8a5a08;
}
.min-order-hint[hidden] { display: none; }

/* Checkout-Button gesperrt (z. B. Mindestbestellwert nicht erreicht) */
#checkout-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; filter: grayscale(.3); }

/* === Toast === */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-indigo) 100%);
  color: #fff;
  padding: 14px 22px 14px 48px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2px;
  box-shadow: 0 12px 32px rgba(96 91 229 / .35), 0 2px 8px rgba(0 0 0 / .15);
  border: 1.5px solid rgba(255 255 255 / .25);
  border-left: 4px solid var(--brand-teal);
  z-index: 100;
  transition: transform .35s cubic-bezier(.2, .8, .25, 1), opacity .35s;
  opacity: 0;
  position: fixed;
}
.toast::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: var(--brand-indigo);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================================
   === MOBILE-FIXES Cart-Seite (Session 2026-05-30 v2 — brute) ===
   ============================================================ */
@media (max-width: 768px) {
  /* Hartes Cap auf Viewport-Breite — KEINE Element darf darüber hinaus */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .cart-page,
  .cart-page * {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  .cart-page {
    padding-block: 24px 60px !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .cart-page > .container {
    padding-inline: 14px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-inline: 0 !important;
  }
  .cart-page h1 {
    font-size: 22px !important;
    margin: 0 0 16px !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }
  .cart-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .cart-items,
  .cart-summary {
    padding: 14px !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .cart-summary {
    position: static !important;
    top: auto !important;
  }
  .cart-item {
    display: grid !important;
    grid-template-columns: 72px 1fr !important;
    grid-template-areas:
      "thumb info"
      "actions actions" !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
    padding: 14px 0 !important;
    width: 100% !important;
  }
  .cart-item-thumb {
    grid-area: thumb !important;
    width: 72px !important;
    height: 72px !important;
    font-size: 24px !important;
  }
  .cart-item-info {
    grid-area: info !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .cart-item-info h4 {
    font-size: 16px !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }
  .cart-item-info p,
  .cart-item-meta {
    font-size: 13px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .cart-item-dims {
    font-size: 12.5px !important;
    padding: 3px 10px !important;
  }
  /* Preis + Entfernen-Button rutschen in eine eigene Zeile unter dem Info-Block */
  .cart-item > div:last-child {
    grid-area: actions !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 8px !important;
    border-top: 1px dashed var(--border) !important;
  }
  .cart-item-price {
    text-align: left !important;
    font-size: 18px !important;
  }
  .cart-item-remove {
    display: inline-block !important;
    margin-top: 0 !important;
    font-size: 13px !important;
  }
  /* Breadcrumb auch sauber */
  .breadcrumb,
  .breadcrumb .container {
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

/* ============================================================
   === Express-Anfrage Modal (Iteration 2026-05-31) ===
   Wird gezeigt wenn User "unter 1–2 Wochen" als Lieferzeit wählt.
   ============================================================ */
.express-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .22s ease;
}
/* KRITISCH: hidden-Attribut MUSS display:none erzwingen, sonst liegt das
   unsichtbare Modal über der ganzen Seite und blockt jeden Klick. */
.express-modal[hidden] { display: none !important; }
.express-modal.is-open { opacity: 1; }
.express-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,20,30,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.express-modal-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(20,20,40,.25);
  max-width: 460px;
  width: 100%;
  padding: 36px 32px 28px;
  text-align: center;
  transform: translateY(20px) scale(.98);
  transition: transform .25s cubic-bezier(.2,.8,.25,1);
}
.express-modal.is-open .express-modal-card {
  transform: translateY(0) scale(1);
}
.express-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: 0;
  background: var(--surface-soft);
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.express-modal-close:hover {
  background: var(--surface-alt);
  color: var(--text-strong);
}
.express-modal-icon {
  font-size: 44px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(255,138,76,.35));
}
.express-modal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--text-strong);
  margin: 0 0 12px;
  letter-spacing: -.3px;
}
.express-modal p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}
.express-modal-sub {
  font-size: 14px !important;
  padding: 12px 16px;
  background: var(--surface-soft);
  border-radius: 10px;
  margin: 0 0 22px !important;
}
.express-modal-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.express-modal-ctas .btn { width: 100%; justify-content: center; }
@media (max-width: 480px) {
  .express-modal-card { padding: 28px 22px 22px; }
  .express-modal h3 { font-size: 20px; }
}

/* ============================================================
   Erklär-Sektion über dem Konfigurator ("Was ist das + 3 Schritte")
   ============================================================ */
.intro-explainer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #2f329e 0%, var(--brand-indigo) 28%, var(--brand-primary) 58%, var(--brand-dark) 100%);
  background-size: 180% 180%;
  animation: introShift 16s ease-in-out infinite;
}
.intro-explainer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(640px circle at 82% -25%, rgba(111,227,218,.42), transparent 60%),
    radial-gradient(520px circle at 6% 125%, rgba(153,172,255,.35), transparent 60%);
  pointer-events: none;
}
@keyframes introShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.intro-inner {
  position: relative;
  max-width: 1680px;
  margin: 0 auto;
  padding: 58px 24px 52px;
  text-align: center;
  animation: introUp .8s ease both;
}
@keyframes introUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-explainer, .intro-inner { animation: none; }
}
.intro-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -1.2px;
  color: #fff;
  margin: 0 auto;
  max-width: 20ch;
  text-shadow: 0 4px 30px rgba(0,0,0,.18);
}
.intro-title span {
  color: var(--brand-teal);
  white-space: nowrap;
  /* 3D-Extrusion (Block-Buchstaben nach unten) + weicher Schlagschatten */
  text-shadow:
    0 1px 0 #57c9c0,
    0 2px 0 #46b8af,
    0 3px 0 #38a79e,
    0 4px 0 #2b958d,
    0 5px 0 #20847d,
    0 6px 1px rgba(0,0,0,.18),
    0 8px 12px rgba(0,0,0,.35);
}
.intro-sub {
  font-size: clamp(16px, 1.7vw, 21px);
  color: rgba(255,255,255,.92);
  max-width: 62ch;
  margin: 18px auto 0;
  line-height: 1.5;
}
.intro-steps {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1000px;
}
.intro-step {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 15px 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex: 1 1 250px;
  max-width: 310px;
}
.intro-step-num {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-primary); font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.intro-step-txt { display: flex; flex-direction: column; line-height: 1.25; }
.intro-step-txt strong { font-size: 16px; color: #fff; }
.intro-step-txt small { font-size: 13px; color: rgba(255,255,255,.82); }
.intro-gallery-link {
  display: inline-block;
  margin-top: 30px;
  background: #fff;
  color: var(--brand-dark);
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.intro-gallery-link:hover {
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.26);
}
.intro-examples {
  display: block;
  margin: 30px auto 0;
  width: 100%;
  max-width: 1680px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.intro-examples:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(0,0,0,.3);
}
.intro-examples img { display: block; width: 100%; height: auto; }

@media (max-width: 768px) {
  /* fängt den negativen margin-top (-56px) von .config-page ab,
     damit der Konfigurator nicht in die Erklär-Sektion / das Banner-Video gezogen wird */
  .intro-explainer, .banner-video-section { margin-bottom: 64px; }
  .intro-inner { padding: 40px 18px 34px; }
}
@media (max-width: 640px) {
  .intro-inner { padding: 30px 16px 28px; }
  .intro-title { font-size: clamp(24px, 7vw, 32px); letter-spacing: -.5px; max-width: 16ch; }
  .intro-title span { text-shadow: 0 1px 0 #46b8af, 0 2px 0 #2f9d96, 0 3px 0 #20847d, 0 4px 8px rgba(0,0,0,.3); }
  .intro-sub { font-size: 14.5px; margin-top: 11px; }
  .intro-steps { flex-direction: column; align-items: center; gap: 8px; margin-top: 20px; max-width: 300px; }
  .intro-step { flex: 0 0 auto; width: 100%; max-width: 300px; padding: 10px 14px; gap: 11px; border-radius: 13px; }
  .intro-step-num { width: 30px; height: 30px; font-size: 14px; }
  .intro-step-txt strong { font-size: 14px; }
  .intro-step-txt small { font-size: 12px; }
  .intro-gallery-link { margin-top: 22px; padding: 11px 22px; font-size: 14px; }
}

/* ============================================================
   Galerie-Seite (galerie.html) — Echtfotos, lazy-loaded
   ============================================================ */
.gallery-hero {
  text-align: center;
  padding: 54px 0 46px;
  color: #fff;
  background: linear-gradient(120deg, #2f329e 0%, var(--brand-indigo) 30%, var(--brand-primary) 62%, var(--brand-dark) 100%);
}
.gallery-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px); color: #fff; margin: 0 0 12px;
  letter-spacing: -.5px; text-shadow: 0 3px 20px rgba(0,0,0,.18);
}
.gallery-hero p { color: rgba(255,255,255,.92); max-width: 60ch; margin: 0 auto; font-size: 16.5px; line-height: 1.55; }
.gallery-wrap { padding-bottom: 64px; background: var(--surface-alt); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px;
  padding: 28px 0 18px;
}
.gal-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-soft);
  box-shadow: 0 6px 20px rgba(20 20 50 / .12);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gal-item:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20 20 50 / .2); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 10px; font-size: 13px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
/* Platzhalter, falls Foto (noch) fehlt — wird per onerror gesetzt */
.gal-empty img { display: none; }
.gal-empty::after {
  content: "📷 Foto folgt";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--text-body); font-size: 14px; font-weight: 600;
  background: repeating-linear-gradient(45deg, var(--surface-soft), var(--surface-soft) 12px, #efefef 12px, #efefef 24px);
}
.gallery-cta { text-align: center; padding: 34px 16px 6px; }
.gallery-cta-title { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); color: var(--text-strong); margin: 0 0 16px; }
.gallery-back {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff; font-weight: 700; font-size: 16px;
  padding: 15px 34px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(111 124 255 / .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gallery-back:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(111 124 255 / .45); }

/* --- Lightbox (Klick auf Galeriebild) --- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 12, 30, .93);
  display: none; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 86vh;
  border-radius: 10px; box-shadow: 0 14px 60px rgba(0,0,0,.55);
  user-select: none; -webkit-user-drag: none;
}
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .15s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer;
}
.lb-count {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: .3px;
}
@media (max-width: 640px) {
  .lb-btn { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 14px; font-size: 34px; }
  .lightbox img { max-width: 96vw; max-height: 82vh; }
}

/* --- Dezente Rechts-/Produkthinweise --- */
.config-fineprint {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.config-fineprint .fp-warn { color: #8a5300; font-weight: 600; }
.checkout-legal {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.checkout-legal strong { color: var(--text-strong); }
.checkout-legal a { color: var(--brand-primary); text-decoration: underline; }
.checkout-note-start {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #fff6df;
  border: 1px solid #f5c26b;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #8a5300;
}
.checkout-note-start strong { display: block; margin-bottom: 2px; }

/* Header-Aktionen (Nav-Link + Warenkorb rechts gruppiert) */
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-nav-link {
  font-weight: 600; font-size: 15px; color: var(--text-strong);
  padding: 8px 4px; white-space: nowrap; transition: color .14s ease;
}
.header-nav-link:hover { color: var(--brand-primary); }
@media (max-width: 480px) {
  .header-actions { gap: 10px; }
  .header-nav-link { font-size: 13.5px; }
  .header-actions .cart-link .cart-label { display: none; }
}

/* ============================================================
   Fertig-Schilder (schilder.html) — Katalog mit Fixpreisen
   ============================================================ */
/* Kein horizontales Scrollen/„Schwimmen" auf der Schilder-Seite (scoped,
   damit Sticky-Verhalten anderer Seiten unberührt bleibt). */
html.page-fertig, html.page-fertig body { overflow-x: hidden; max-width: 100%; }

.fertig-hero {
  text-align: center;
  padding: 48px 0 42px;
  color: #fff;
  background: linear-gradient(120deg, #2f329e 0%, var(--brand-indigo) 30%, var(--brand-primary) 62%, var(--brand-dark) 100%);
}
.fertig-hero-inner { max-width: 720px; }
.fertig-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 4vw, 40px); color: #fff; margin: 0 0 12px;
  letter-spacing: -.5px; text-shadow: 0 3px 20px rgba(0,0,0,.18);
}
.fertig-hero p { color: rgba(255,255,255,.94); font-size: 16px; line-height: 1.55; margin: 0 auto; }
.fertig-hero strong { color: var(--brand-teal); }

.fertig-page { padding: 40px 0 64px; background: var(--surface-alt); }

/* Kategorie-Filter */
.fertig-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.fertig-chip {
  font: inherit; font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: #fff; border: 1.5px solid var(--border); color: var(--text-strong);
  transition: border-color .14s ease, background .14s ease, color .14s ease;
}
.fertig-chip:hover { border-color: var(--brand-pastel); }
.fertig-chip.active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

.fertig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

/* Produkt-Kachel */
.fertig-card {
  display: flex; flex-direction: column;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 0 16px;
  overflow: hidden;
  cursor: pointer;
  font: inherit; color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.fertig-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20 20 50 / .14);
  border-color: var(--brand-pastel);
}
.fertig-card-thumb {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--surface-soft);
  overflow: hidden;
  margin-bottom: 14px;
}
.fertig-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--brand-teal); color: #06403c;
  font-size: 11px; font-weight: 800; letter-spacing: .3px;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0,0,0,.14);
}
.fertig-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fertig-card-thumb.is-ph {
  background: linear-gradient(135deg, rgba(111 124 255 / .12), rgba(111 227 218 / .14));
}
.fertig-ph-icon { font-size: 52px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(70 76 221 / .18)); }
.fertig-card-cat {
  font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: var(--brand-primary); padding: 0 16px;
}
.fertig-card-name {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  color: var(--text-strong); margin: 4px 0 8px; padding: 0 16px; line-height: 1.25;
}
.fertig-card-price { font-size: 14.5px; color: var(--text-muted); padding: 0 16px; margin-top: auto; }
.fertig-card-price strong { color: var(--text-strong); font-size: 17px; }

/* Eigenes-Logo-CTA unter dem Raster */
.fertig-custom-cta {
  text-align: center;
  margin-top: 44px; padding: 34px 20px;
  background: #fff; border: 1px dashed var(--brand-pastel); border-radius: 16px;
}
.fertig-custom-cta h3 { font-family: var(--font-display); font-size: 22px; color: var(--text-strong); margin: 0 0 8px; }
.fertig-custom-cta p { color: var(--text-muted); margin: 0 0 18px; }

/* Detail-Overlay */
.fertig-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fertig-modal[hidden] { display: none; }
.fertig-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 12, 30, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fertig-modal-card {
  position: relative; z-index: 1;
  width: min(820px, 100%); max-height: 90vh; overflow: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(10 12 40 / .4);
}
.fertig-modal-close {
  position: absolute; top: 10px; right: 14px; z-index: 2;
  background: none; border: 0; font-size: 32px; line-height: 1; color: var(--text-muted); cursor: pointer;
}
.fertig-modal-close:hover { color: var(--text-strong); }
.fertig-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.fertig-detail-media { display: grid; place-items: center; background: var(--surface-soft); min-height: 320px; }
.fertig-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.fertig-detail-media.is-ph { background: linear-gradient(135deg, rgba(111 124 255 / .12), rgba(111 227 218 / .14)); }
.fertig-detail-media .fertig-ph-icon { font-size: 96px; }
.fertig-detail-info { padding: 30px 30px 26px; }
.fertig-detail-info h2 { font-family: var(--font-display); font-size: 26px; color: var(--text-strong); margin: 4px 0 10px; line-height: 1.2; }
.fertig-detail-desc { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; }

.fertig-field { margin-bottom: 18px; }
.fertig-field-label { display: block; font-weight: 600; font-size: 13.5px; color: var(--text-strong); margin-bottom: 8px; }
.fertig-sizes { display: flex; flex-direction: column; gap: 8px; }
.fertig-size {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px;
  text-align: left; background: #fff; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 14px; cursor: pointer; font: inherit; transition: border-color .14s ease, background .14s ease;
}
.fertig-size:hover { border-color: var(--brand-pastel); }
.fertig-size.active { border-color: var(--brand-primary); background: rgba(111 124 255 / .06); }
.fertig-size-label { font-weight: 600; color: var(--text-strong); }
.fertig-size-dims { grid-column: 1; font-size: 12.5px; color: var(--text-muted); }
.fertig-size-price { grid-column: 2; grid-row: 1 / span 2; font-weight: 700; color: var(--text-strong); font-size: 16px; }

.fertig-qtyrow { display: flex; align-items: center; gap: 16px; }
.fertig-qtyrow .fertig-field-label { margin-bottom: 0; }
.fertig-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; }
.fertig-qty button {
  width: 38px; height: 38px; background: var(--surface-soft); border: 0; font-size: 20px; cursor: pointer; color: var(--text-strong);
}
.fertig-qty button:disabled { opacity: .4; cursor: default; }
.fertig-qty button:hover:not(:disabled) { background: rgba(111 124 255 / .12); }
.fertig-qty-val { min-width: 40px; text-align: center; font-weight: 700; }

.fertig-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.fertig-detail-total { display: flex; flex-direction: column; line-height: 1.2; }
.fertig-detail-total span { font-size: 13px; color: var(--text-muted); }
.fertig-detail-total strong { font-size: 26px; color: var(--text-strong); font-family: var(--font-display); }
.fertig-detail-total small { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.fertig-add { padding: 14px 26px; }
.fertig-detail-note { font-size: 11.5px; color: var(--text-muted); margin: 16px 0 0; line-height: 1.5; }

/* Mini-Konfigurator (konfigurierbare 3D-Symbole) */
.sym-val {
  float: right; font-weight: 700; color: var(--brand-primary);
  background: rgba(111 124 255 / .1); border-radius: 8px; padding: 1px 9px; font-size: 13px;
}
.sym-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--border);
  outline: none; cursor: pointer; margin: 4px 0 6px;
}
.sym-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-primary); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(70 76 221 / .35); cursor: pointer;
}
.sym-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-primary); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(70 76 221 / .35); cursor: pointer;
}
.sym-dims { display: block; font-size: 12.5px; color: var(--text-muted); }
.sym-part-warn { display: block; font-size: 12px; color: #c47a14; margin-top: 6px; line-height: 1.4; }
.sym-part-warn[hidden] { display: none; }

/* Wand-Vorschau (Mockup mit live skalierendem Symbol) */
.sym-stage {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 380px; overflow: hidden; padding: 20px;
}
.sym-art { display: block; filter: drop-shadow(0 6px 14px rgba(0 0 0 / .3)); transition: width .08s linear; }
.sym-dims-label {
  background: rgba(18 20 40 / .72); color: #fff; font-size: 13px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .3px; pointer-events: none; white-space: nowrap;
}

/* Farb-Tiles + Spektrum-Picker (eine Farbe) */
.sym-tiles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sym-tile {
  width: 30px; height: 30px; border-radius: 8px; padding: 0; cursor: pointer;
  border: 2px solid var(--border); transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.sym-tile:hover { transform: translateY(-2px); }
.sym-tile.active { border-color: var(--brand-primary); box-shadow: 0 0 0 2px rgba(111 124 255 / .35); }
.sym-custom-color { display: flex; align-items: center; gap: 10px; }
.sym-custom-swatch {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; cursor: pointer;
  border: 1.5px solid var(--border); position: relative; overflow: hidden;
}
.sym-custom-swatch input[type="color"] {
  position: absolute; inset: -6px; width: 160%; height: 160%; border: 0; padding: 0; cursor: pointer; opacity: 0;
}
.sym-color-hex {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 9px 12px;
  border: 1.5px solid var(--border); border-radius: 10px; color: var(--text-strong); background: #fff;
}
.sym-color-hex:focus { outline: none; border-color: var(--brand-primary); }
.sym-custom-hint { flex: 0 0 auto; font-size: 12px; color: var(--text-muted); }
.sym-color-note { font-size: 12px; color: var(--text-muted); margin: 10px 0 0; line-height: 1.45; }
.sym-color-note strong { color: var(--text-strong); }
/* Preis in Brand-Lila + Mengenrabatt-Anzeige (durchgestrichen + Ersparnis) */
#sym-total { color: var(--brand-primary); }
.sym-price-row { display: inline-flex; align-items: baseline; gap: 10px; }
.sym-orig { color: var(--text-muted); font-size: 16px; font-weight: 600; text-decoration: line-through; }
.sym-orig[hidden] { display: none; }
.sym-disc {
  display: inline-block; margin-top: 4px; align-self: flex-start;
  background: rgba(47 158 68 / .12); color: #1e7a35; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.sym-disc[hidden] { display: none; }

/* Hausnummer: Zahl-Eingabe + Schriftart-Tiles */
.sym-text-input {
  width: 100%; font: inherit; font-size: 20px; font-weight: 700; letter-spacing: 1px;
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 10px; color: var(--text-strong); background: #fff;
}
.sym-text-input:focus { outline: none; border-color: var(--brand-primary); }
.sym-font-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.sym-font-tile {
  font-size: 17px; line-height: 1; cursor: pointer; padding: 9px 14px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--border); color: var(--text-strong);
  transition: border-color .14s ease, background .14s ease;
}
.sym-font-tile:hover { border-color: var(--brand-pastel); }
.sym-font-tile.active { border-color: var(--brand-primary); background: rgba(111 124 255 / .06); }

/* "Spektrum wählen"-Button öffnet den HSV-Picker */
.sym-color-open {
  flex: 0 0 auto; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--brand-primary);
  background: rgba(111 124 255 / .08); color: var(--brand-primary);
}
.sym-color-open:hover { background: rgba(111 124 255 / .16); }
.sym-custom-swatch { padding: 0; }

/* Toast */
.fertig-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--text-strong); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; box-shadow: 0 10px 30px rgba(10 12 40 / .35);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 1100; max-width: 90vw;
}
.fertig-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  /* Katalog: immer 2 Produkte pro Reihe (minmax 0 → kein Overflow durch Min-Content) */
  .fertig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fertig-card-cat { font-size: 10px; padding: 0 12px; }
  .fertig-card-name { font-size: 14.5px; padding: 0 12px; line-height: 1.2; }
  .fertig-card-price { font-size: 12.5px; padding: 0 12px; }
  .fertig-card-price strong { font-size: 14.5px; }
  .fertig-ph-icon { font-size: 40px; }

  /* Detail-Fenster: passt vollständig auf den Screen, kein horizontales Schwimmen */
  .fertig-modal { padding: 10px; }
  .fertig-modal-card {
    width: 100%; max-width: 100%; max-height: 94vh;
    overflow-x: hidden; overflow-y: auto; box-sizing: border-box;
  }
  .fertig-detail { grid-template-columns: 1fr; }
  .fertig-detail-media, .sym-stage { min-height: 190px; max-height: 240px; }
  .fertig-detail-info { padding: 20px 16px; box-sizing: border-box; min-width: 0; }
  .fertig-detail-footer { flex-direction: column; align-items: stretch; }
  .fertig-add { width: 100%; justify-content: center; }

  /* Bedienelemente umbrechen statt überzulaufen */
  .fertig-field { min-width: 0; }
  .sym-custom-color { flex-wrap: wrap; }
  .sym-color-hex { flex: 1 1 130px; }
  .sym-tiles, .sym-font-tiles { gap: 6px; }
}

/* ============================================================
   Aktions-Seite "Foto/Video hochladen & Gutschein" (mitmachen.html)
   ============================================================ */
.aktion-hero { padding: 50px 0 44px; }
.aktion-badge {
  display: inline-block; margin: 0 auto 14px;
  background: rgba(255,255,255,.18); color: #fff;
  font-weight: 600; font-size: 14px; letter-spacing: .3px;
  padding: 7px 16px; border-radius: 999px;
  backdrop-filter: blur(2px);
}
.aktion-wrap {
  background: var(--surface-alt);  /* einheitlich wie alle anderen Shop-Seiten */
  padding: 44px 0 72px;
}

/* Belohnungs-Karten */
.aktion-rewards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; max-width: 760px; margin: 0 auto;
  align-items: stretch;
}
.aktion-reward {
  position: relative;
  background: #fff; border: 1px solid #e7e7f2; border-radius: 16px;
  padding: 28px 24px; text-align: center;
  box-shadow: 0 8px 26px rgba(40,40,90,.07);
}
/* hervorgehobene Karte (Foto + Video) */
.aktion-reward--best {
  background: linear-gradient(180deg, #ffffff 0%, #f5f4ff 100%);
  border: 2px solid var(--brand-primary);
  box-shadow: 0 14px 36px rgba(111,124,255,.22);
}
.aktion-reward-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(111,124,255,.4);
}
.aktion-reward-emoji { font-size: 40px; line-height: 1; margin-bottom: 10px; }
.aktion-reward-amount {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 42px); color: var(--brand-primary);
  line-height: 1;
}
.aktion-reward-label { font-weight: 700; font-size: 15px; margin: 8px 0 10px; color: var(--text-strong); }
.aktion-reward p { font-size: 14px; color: #666; line-height: 1.5; margin: 0; }

/* Überschriften */
.aktion-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 3vw, 30px); color: var(--text-strong);
  text-align: center; margin: 56px 0 28px;
}

/* So funktioniert's */
.aktion-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; max-width: 900px; margin: 0 auto;
}
.aktion-step {
  background: #fff; border: 1px solid #ececf3; border-radius: 14px;
  padding: 24px 20px; text-align: center;
}
.aktion-step-num {
  width: 44px; height: 44px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  box-shadow: 0 6px 16px rgba(111,124,255,.35);
}
.aktion-step h3 { font-size: 16px; margin: 0 0 8px; color: var(--text-strong); }
.aktion-step p { font-size: 14px; color: #666; line-height: 1.5; margin: 0; }

/* Qualitäts-Checkliste — als hervorgehobenes Panel */
.aktion-requirements {
  max-width: 700px; margin: 0 auto;
  background: #fff;
  border: 2px solid var(--brand-primary);
  border-radius: 18px;
  padding: 26px 28px 18px;
  box-shadow: 0 12px 34px rgba(111,124,255,.16);
}
.aktion-req-intro {
  font-size: 16.5px; font-weight: 700; color: var(--brand-dark);
  margin: 0 0 18px; line-height: 1.5;
}
.aktion-checklist {
  margin: 0; padding: 0; list-style: none;
}
.aktion-checklist li {
  position: relative; padding: 13px 4px 13px 42px;
  border-bottom: 1px solid #eef0f7;
  font-size: 16px; color: #333; line-height: 1.5;
}
.aktion-checklist li:last-child { border-bottom: none; }
.aktion-checklist li strong { color: var(--text-strong); }
.aktion-checklist li::before {
  content: "✓"; position: absolute; left: 4px; top: 11px;
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 3px 8px rgba(111,124,255,.35);
}

/* CTA-Button */
.aktion-cta { text-align: center; margin-top: 48px; }
.aktion-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff; font-weight: 700; font-size: 18px;
  padding: 18px 42px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(111,124,255,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.aktion-cta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(111,124,255,.5); }
.aktion-cta-fine { max-width: 620px; margin: 26px auto 0; font-size: 12.5px; color: #999; line-height: 1.5; text-align: center; }

/* ---- Upload-Bereich: Fotos intern + Video per WeTransfer ---- */
.aktion-upload-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; max-width: 900px; margin: 0 auto;
  align-items: stretch;
}
.aktion-up-card {
  background: #fff; border: 1px solid #e7e7f2; border-radius: 16px;
  padding: 24px 22px; box-shadow: 0 8px 26px rgba(40,40,90,.07);
  display: flex; flex-direction: column;
}
.aktion-up-card--video { background: linear-gradient(180deg, #ffffff 0%, #f6f5ff 100%); border-color: #e0e0f5; }
.aktion-up-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--text-strong); margin-bottom: 16px;
}
.aktion-up-emoji { font-size: 24px; }
.aktion-up-tag {
  margin-left: auto; background: rgba(111,124,255,.12); color: var(--brand-primary);
  font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.aktion-up-tag--best { background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark)); color: #fff; }

/* Formular */
.aktion-form { display: flex; flex-direction: column; gap: 14px; }
.aktion-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.aktion-field > span { font-size: 13.5px; font-weight: 600; color: #444; }
.aktion-field > span em { color: var(--accent-warn); font-style: normal; }
.aktion-field > span small { font-weight: 400; color: #999; }
.aktion-field input[type=email],
.aktion-field input[type=text] {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #e2e2ee; border-radius: 10px; padding: 11px 13px;
  font-size: 15px; font-family: inherit; color: var(--text-strong);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.aktion-field input:focus {
  outline: none; border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(111,124,255,.14);
}
.aktion-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aktion-file {
  font-size: 14px; padding: 10px; border: 1.5px dashed #cdcde6; border-radius: 10px;
  background: #fafaff; cursor: pointer; width: 100%; box-sizing: border-box;
}
.aktion-consent {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: #555; line-height: 1.45; cursor: pointer;
}
.aktion-consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--brand-primary); flex-shrink: 0; }
.aktion-submit {
  margin-top: 4px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff; font-weight: 700; font-size: 16px; font-family: inherit;
  padding: 14px 20px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(111,124,255,.35);
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.aktion-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(111,124,255,.45); }
.aktion-submit:disabled { opacity: .65; cursor: default; }
.aktion-progress { height: 8px; background: #ececf6; border-radius: 999px; overflow: hidden; }
.aktion-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-primary), var(--brand-teal)); transition: width .2s; }
.aktion-status { font-size: 13.5px; line-height: 1.45; }
.aktion-status--err { color: var(--accent-warn); font-weight: 600; }
.aktion-success {
  background: #eafaf1; border: 1px solid #b8e8cd; color: #1c7a45;
  border-radius: 12px; padding: 18px 18px; font-size: 15px; line-height: 1.5;
}

/* WeTransfer-Karte */
.aktion-up-text { font-size: 14.5px; color: #555; line-height: 1.55; margin: 0 0 14px; }
.aktion-wt-steps { margin: 0 0 18px; padding-left: 20px; font-size: 14px; color: #555; line-height: 1.6; }
.aktion-wt-steps li { margin-bottom: 6px; }
.aktion-wt-btn {
  display: inline-block; text-align: center;
  background: linear-gradient(135deg, #409fff, #1f6fe5);
  color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(31,111,229,.32);
  transition: transform .15s, box-shadow .15s;
}
.aktion-wt-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,111,229,.42); }
.aktion-wt-mail { font-size: 13px; color: #777; margin: 12px 0 0; }

@media (max-width: 640px) {
  .aktion-rewards { grid-template-columns: 1fr; }
  .aktion-steps { grid-template-columns: 1fr; }
  .aktion-upload-grid { grid-template-columns: 1fr; }
  .aktion-cta-btn { font-size: 16px; padding: 16px 30px; width: 100%; box-sizing: border-box; }
}

/* Chevron nur in der Mobil-Akkordeon-Ansicht sichtbar (Desktop = Tab-Leiste) */
.info-tab-chevron { display: none; }

/* ============================================================
   MOBIL: Info-Tabs als Akkordeon. Bewusst OHNE display:contents/order
   (das überlief die Karte über den Viewport und schnitt das Chevron ab) —
   die 3 Buttons bleiben in der Nav (1-spaltiges Grid) als volle Zeilen mit
   Chevron rechts. JS startet alle zugeklappt (setInfoTab(null)); Klick öffnet
   die Kategorie, deren Panel direkt unter der Nav erscheint, Chevron dreht sich.
   ============================================================ */
@media (max-width: 768px) {
  /* Karte hart an den Viewport koppeln (der Eltern-Container ist breiter → sonst
     überläuft die Karte rechts und das Chevron wird abgeschnitten). Edge-to-edge. */
  .info-tabs-card {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }
  .info-tabs-nav {
    grid-template-columns: 1fr !important;   /* Buttons stapeln als Zeilen */
    gap: 0 !important;
    background: transparent !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .info-tab-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 18px !important;
    text-align: left !important;
    font-family: var(--font-display) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--brand-indigo) !important;
    border-bottom: 1px solid var(--border) !important;
    background: linear-gradient(135deg, rgba(70 76 221 / .05), rgba(111 227 218 / .07)) !important;
    transition: background .15s, color .15s !important;
  }
  .info-tabs-nav .info-tab-btn:last-child { border-bottom: 0 !important; }
  .info-tab-btn .info-tab-label { font-size: 16px !important; font-weight: 700 !important; }
  .info-tab-btn.active {
    color: var(--brand-primary) !important;
    background: linear-gradient(135deg, rgba(96 91 229 / .12), rgba(111 227 218 / .14)) !important;
  }
  /* ::before-Divider + Aktiv-Unterstrich (::after am Button) aus */
  .info-tab-btn::before, .info-tab-btn::after { display: none !important; }
  /* Dreieck als CSS-Border (kein Font-Glyph) via ::after am LABEL, direkt rechts
     neben dem Text. (Die rechte Karten-/Button-Kante liegt aus einem Alt-Layout-
     Grund außerhalb des Viewports → ein „ganz rechts"-Dreieck würde abgeschnitten.) */
  .info-tab-btn { position: relative !important; }
  .info-tab-label { position: relative !important; padding-right: 22px !important; }
  .info-tab-label::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-top: 7px solid currentColor !important;   /* ▼ zugeklappt */
    transform: translateY(-50%) !important;
    transition: transform .22s ease !important;
    pointer-events: none !important;
  }
  .info-tab-btn.active .info-tab-label::after { transform: translateY(-50%) rotate(180deg) !important; } /* ▲ offen */
}


/* ===================== Sticky Preis-/Aktionsleiste ===================== */
.sticky-price-bar{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px max(16px, calc((100% - 1180px) / 2));
  padding-bottom: calc(11px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 26px rgba(10,12,40,.10);
  transform: translateY(112%); opacity: 0;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  pointer-events: none;
}
.sticky-price-bar.is-visible{ transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-price-info{ display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sticky-price-main{
  font-family: var(--font-display); font-size: 25px; font-weight: 700;
  color: var(--brand-primary); white-space: nowrap;
}
.sticky-price-main small{ font-size: 12px; font-weight: 500; color: var(--text-muted); margin-left: 2px; }
.sticky-price-sub{
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: #1c7a4b; margin-top: 2px;
}
.sticky-price-check{
  display: inline-grid; place-items: center; width: 15px; height: 15px;
  border-radius: 50%; background: #1c7a4b; color: #fff; font-size: 10px; line-height: 1;
}
.sticky-price-cta{ white-space: nowrap; flex: 0 0 auto; }
.sticky-price-cta.is-disabled, .sticky-price-cta:disabled{ opacity: .5; cursor: not-allowed; }
@media (max-width: 768px){
  .sticky-price-bar{ gap: 10px; padding: 9px 13px; padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px)); }
  .sticky-price-main{ font-size: 20px; }
  .sticky-price-main small{ display: none; }   /* spart Platz; der Warenkorb zeigt die MwSt-Aufschluesselung */
  .sticky-price-sub{ font-size: 11.5px; }
  .sticky-price-bar .sticky-price-cta{ padding: 11px 15px; font-size: 14px; }
}
@media (max-width: 340px){
  .sticky-price-bar .sticky-price-cta{ padding: 10px 12px; font-size: 13px; }
}
/* Acryl-Tile: "5 mm" in einer Zeile neben "Acrylglas" (kein Umbruch) */
.exec-title-nowrap{ white-space: nowrap; }

/* Preis-Block bleibt beim Konfigurieren sichtbar — klebt auf Desktop in der rechten Spalte */
@media (min-width: 1081px){
  .price-block{ position: sticky; top: 96px; z-index: 6; }
}
/* ===== Einheitliche Info-Kästchen im Konfigurator (Referenz: .height-info) ===== */
.height-info,
.color-accuracy-note{
  position: relative;
  display: block;
  margin: 16px 0 0;
  padding: 14px 16px 14px 26px;
  background: var(--surface-soft, #f4f4f7);
  border: none;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.height-info::before,
.color-accuracy-note::before{
  content: "";
  position: absolute;
  left: 10px; top: 11px; bottom: 11px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-primary, #6f7cff), var(--brand-indigo, #464cdd));
}
/* das ⓘ-Icon entfällt zugunsten des einheitlichen Akzentbalkens */
.color-accuracy-icon{ display: none; }
/* ===== UI-Feinschliff 2026-06-05 ===== */
/* Lieferzeit: Wochenangaben + Tags einzeilig (kein Umbruch) */
.delivery-label strong, .delivery-tag{ white-space: nowrap; }

/* Cart-Button: dezenter heller Kreis hinter dem Einkaufswagen-Emoji (auf dunklem Button sichtbar) */
.btn-cart > span[aria-hidden="true"]{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.22);
}

/* Maßlinien minimal dünner; Tick-Enden gleich dünn wie die lange Hauptlinie */
.dim-line.dim-width .dim-stem{ border-top-width: 1px; }
.dim-line.dim-height .dim-stem{ border-left-width: 1px; }
.dim-line.dim-width .dim-tick{ width: 1px; }
.dim-line.dim-height .dim-tick{ height: 1px; }

/* "Mehr Kundenfotos"-Button: stylischer, mit Kamera-Icon, zentriert unter dem Bild */
.intro-gallery-link{
  display: flex !important;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin: 22px auto 0;
  font-weight: 700;
  color: var(--brand-dark, #4a45d2);
  border: 1px solid rgba(111,124,255,.25);
  box-shadow: 0 8px 22px rgba(20,18,50,.16);
}
.intro-gallery-link:hover{ color: var(--brand-primary, #6f7cff); box-shadow: 0 12px 30px rgba(20,18,50,.28); }
.intro-gallery-cam{ flex: 0 0 auto; color: var(--brand-primary, #6f7cff); }
/* ===== PLA-Oberflächen-Detail: Kreis linksbündig + Bogen-Label + Bullet-Fakten ===== */
.pla-surface-detail{ align-items: flex-start; }
.surface-figure{ position: relative; width: 100%; max-width: 270px; margin: 6px 0 2px; }
.surface-arc{ display: block; width: 84%; height: auto; margin: 0 0 -58px; overflow: visible; }
.surface-arc text{
  font-family: var(--font-display);
  font-size: 30px; font-weight: 600; letter-spacing: 1px;
  fill: var(--brand-primary);
}
.pla-surface-list{
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 7px; align-self: stretch;
}
.pla-surface-list li{
  position: relative; padding-left: 18px;
  font-size: 13.5px; line-height: 1.4; color: var(--text-strong);
}
.pla-surface-list li::before{
  content: ""; position: absolute; left: 2px; top: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary, #6f7cff), var(--brand-indigo, #464cdd));
}

/* Mobil: Produkt-Switcher-Schrift kleiner, damit Labels einzeilig nebeneinander passen */
@media (max-width: 768px){
  .product-btn{ gap: 8px; padding: 10px; }
  .product-btn-icon{ width: 32px; height: 32px; }
  .product-btn-text strong{ font-size: 13px; white-space: nowrap; letter-spacing: -0.3px; }
  .product-btn-text small{ font-size: 10.5px; white-space: nowrap; }
}
/* ===================== Batch 2026-06-05 (FAQ + Mobil-Feinschliff) ===================== */
/* FAQ-Kästchen im selben Ton wie Technische Daten (statt Grau) */
.faq-item{ background: rgba(70 76 221 / .05); }

/* "Zur Galerie"-Button: Kamera-Icon + Icon-/Text-Ausrichtung (wie "Mehr Kundenfotos") */
.gallery-cta-btn{ display: inline-flex; align-items: center; gap: 8px; }
.gallery-cta-cam{ flex: 0 0 auto; }

/* Desktop: FAQ nebeneinander (2 Spalten) statt alles untereinander */
@media (min-width: 760px){
  .info-tab-panel[data-info-tab-panel="faq"]{ column-count: 2; column-gap: 30px; }
  .info-tab-panel[data-info-tab-panel="faq"] .faq-item,
  .info-tab-panel[data-info-tab-panel="faq"] .faq-group{ break-inside: avoid; }
  .info-tab-panel[data-info-tab-panel="faq"] .faq-group:first-of-type{ margin-top: 0; }
}

/* ---- Handy-Feinschliff ---- */
@media (max-width: 640px){
  /* Banner-Untertitel kleiner + einzeilig */
  .preview-banner-text small{ font-size: 12px !important; white-space: nowrap !important; }
  .preview-banner-text strong{ font-size: 24px !important; }

  /* Montage-/Galerie-Überschriften etwas größer */
  .montage-title, .gallery-title{ font-size: 24px !important; }

  /* Kundenbilder-Loop größer + Ecken nicht abrunden */
  .gallery-viewport{ max-height: 280px !important; border-radius: 0 !important;
    -webkit-mask-image: none !important; mask-image: none !important; }
  .gallery-track img{ height: 250px !important; border-radius: 0 !important; }

  /* Moos-Foto nicht mehr abgeschnitten (feste Höhe raus) */
  .moos-photo{ height: auto !important; max-width: 300px !important; }
  .moos-photo img{ height: auto !important; object-fit: contain !important; }

  /* Info-Tabs (Beschreibung/Technik/FAQ) größer & luftiger */
  .info-tab-panel{ padding: 18px 16px 22px !important; }
  .info-tab-panel h3{ font-size: 22px !important; }
  .info-tab-panel p, .info-tab-panel li, .info-tab-panel dt, .info-tab-panel dd{ font-size: 15px !important; line-height: 1.55 !important; }
  .faq-item{ padding: 14px 16px 14px 44px !important; }
  .faq-item summary{ font-size: 15.5px !important; }
  .faq-group{ font-size: 15px !important; }

  /* Mockup "+"-Button mit Text wie auf der Webseite */
  .mockup-upload-text{ display: flex !important; }
  .mockup-upload-main{ font-size: 12.5px !important; }
  .mockup-upload-sub{ font-size: 10px !important; }

  /* Proportionen wie im Screenshot: schmaler WAND-Dropdown, breiter „Eigenes Wandfoto"-Button. */
  .mockup-bar{ align-items: stretch !important; }
  .mockup-select{
    flex: 1 1 0 !important;
    align-self: stretch !important;
    height: auto !important;
    padding: 10px !important;
    /* „Leere"-Text aus → CI-Tausch-Icon (Teal→Lila-Gradient) zentriert. Dropdown bleibt funktional. */
    color: transparent !important;
    text-shadow: none !important;
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%2320bdd6'/><stop offset='.55' stop-color='%236f7cff'/><stop offset='1' stop-color='%234a45d2'/></linearGradient></defs><path fill='url(%23g)' d='M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 26px !important;
  }
  .mockup-select option{ color: #1a1a2e; }   /* Dropdown-Liste lesbar (Text war transparent) */
  .mockup-upload{
    flex: 2.8 1 0 !important;
    padding: 9px 12px !important;
    align-self: stretch !important;
  }
  /* Button-Text sauber umbrechen statt rechts abschneiden */
  .mockup-upload-text{ text-align: center !important; }
  .mockup-upload-main{ white-space: normal !important; line-height: 1.15 !important; }
}
/* ===== Montage-Video: kein schwarzer Rand + Handy-Rahmen gleichmäßig ===== */
/* Video füllt den Rahmen randlos (statt contain → letterbox-Schwarz) */
.montage-video{ object-fit: cover !important; background: transparent !important; }
.montage-video-wrap{ background: transparent !important; }

/* Handy: Gradient-Rahmen rundum gleich dick (Wrap füllt den Innenraum exakt,
   Media hugged den Wrap mit 5px Padding ringsum → oben/unten = links/rechts) */
@media (max-width: 640px){
  .montage-media{ width: fit-content !important; max-width: calc(100vw - 24px) !important; padding: 5px !important; margin: 0 auto !important; }
  .montage-video-wrap{ width: min(270px, 80vw) !important; max-width: none !important; }
}
/* ===== Preis-Block auch auf dem Handy sticky ===== */
/* overflow:hidden (Config-Card + body) bricht position:sticky. overflow:clip
   schneidet horizontalen Überlauf genauso ab, erzeugt aber KEINEN Scroll-
   Container → Sticky funktioniert wieder. */
@media (max-width: 640px){
  html, body{ overflow-x: clip !important; }
  .config-card{ overflow: clip !important; }
  /* Sticky-Preis: kompakt (−50 % ggü. vorher) */
  .price-block{ position: sticky !important; top: 6px; z-index: 6; margin-bottom: 16px; padding: 12px 14px 11px !important; }
  .price-brutto{ font-size: 23px !important; }
  .price-brutto small{ font-size: 11px !important; }
}
/* ===== Handy: geklebter Preis — NUR dezenter Glas-Hintergrund, KEINE Größen-/Höhen-
   änderung (sonst zittert der sticky Preis beim Scrollen durch Layout-Rückkopplung) ===== */
@media (max-width: 640px){
  .price-block.is-stuck{
    background: #fff !important;   /* voll blickdicht */
    border-color: var(--brand-primary) !important;
    box-shadow: 0 6px 18px rgba(10,12,40,.12) !important;
  }
}
/* Disclaimer-Box: Schließen-× exakt mittig (CSS-gezeichnet statt Text-Glyph) */
.preview-disclaimer-close{ font-size: 0 !important; line-height: 0 !important; }
.preview-disclaimer-close::before,
.preview-disclaimer-close::after{
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 1.6px; background: #fff; border-radius: 2px;
}
.preview-disclaimer-close::before{ transform: translate(-50%,-50%) rotate(45deg); }
.preview-disclaimer-close::after{ transform: translate(-50%,-50%) rotate(-45deg); }
/* ===== Hero-Schritte 1-2-3 auffälliger ===== */
.intro-steps{ gap: 14px !important; align-items: stretch !important; }
.intro-step{
  position: relative;
  background: rgba(255,255,255,.16) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  box-shadow: 0 10px 28px rgba(20,18,50,.22) !important;
  padding: 16px 22px !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.intro-step:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.22) !important;
  box-shadow: 0 16px 36px rgba(20,18,50,.30) !important;
}
.intro-step-num{
  width: 44px !important; height: 44px !important;
  font-size: 19px !important;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-indigo)) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.25), 0 0 0 3px rgba(255,255,255,.45) !important;
}
.intro-step-txt strong{ font-size: 16.5px !important; }
/* Verbindungs-Pfeil zwischen den Schritten (Desktop: nach rechts) */
.intro-step:not(:last-child)::after{
  content: "";
  position: absolute; right: -19px; top: 50%; z-index: 2;
  width: 11px; height: 11px;
  border-top: 2.5px solid rgba(255,255,255,.7);
  border-right: 2.5px solid rgba(255,255,255,.7);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 640px){
  .intro-steps{ gap: 26px !important; }
  /* Mobil (Spalte): Pfeil nach unten */
  .intro-step:not(:last-child)::after{
    right: auto; left: 50%; top: auto; bottom: -18px;
    transform: translateX(-50%) rotate(135deg);
  }
}
/* Korrektur Hero-Schritte: Nummernkreis wieder clean weiß (Gradient wirkte komisch),
   Verbindungspfeile entfernt (ragten über den Rand → wirkten abgeschnitten) */
.intro-step-num{
  background: #fff !important;
  color: var(--brand-primary) !important;
  box-shadow: 0 6px 16px rgba(20,18,50,.22) !important;
}
.intro-step::after{ content: none !important; display: none !important; }
/* Nummernkreise 1-2-3 stärker hervorheben (clean weiß, kein Gradient) */
.intro-step-num{
  width: 48px !important; height: 48px !important;
  font-size: 21px !important; font-weight: 800 !important;
  background: #fff !important;
  color: var(--brand-primary) !important;
  box-shadow: 0 6px 18px rgba(20,18,50,.30), 0 0 0 6px rgba(255,255,255,.16) !important;
}
.intro-step{ background: rgba(255,255,255,.18) !important; }
@media (max-width: 640px){
  .intro-step-num{ width: 40px !important; height: 40px !important; font-size: 18px !important; }
}
/* "Mehr Kundenfotos"-Button vertikal mittig zwischen Bild und Sektionsende
   (oberer Abstand = unteres Sektion-Padding) */
.intro-gallery-link{ margin-top: 52px !important; }
@media (max-width: 768px){ .intro-gallery-link{ margin-top: 34px !important; } }
@media (max-width: 640px){ .intro-gallery-link{ margin-top: 28px !important; } }
/* Geklebtes Preis-Kästchen: Konfigurator-Inhalt dahinter/darunter leicht verschwommen
   (Frosted Glass, kleiner Blur-Radius) — Desktop UND Handy, nur im geklebten Zustand */
.price-block.is-stuck{
  background: #fff !important;   /* voll blickdicht statt Frosted-Glass */
}
/* Handy: Hero-Titel größer + weiter oben, Punkte 1-2-3 etwas kleiner */
@media (max-width: 640px){
  .intro-inner{ padding-top: 16px !important; }
  .intro-title{ font-size: clamp(30px, 9vw, 44px) !important; max-width: 18ch !important; }
  .intro-steps{ margin-top: 16px !important; }
  .intro-step{ padding: 9px 13px !important; gap: 10px !important; }
  .intro-step-num{
    width: 33px !important; height: 33px !important; font-size: 15px !important;
    box-shadow: 0 4px 12px rgba(20,18,50,.26), 0 0 0 4px rgba(255,255,255,.15) !important;
  }
  .intro-step-txt strong{ font-size: 13.5px !important; }
}
/* Korrektur Handy-Titel: "3D Wandlogo" eigene Zeile (nicht abgeschnitten), trotzdem groß */
@media (max-width: 640px){
  .intro-title{ font-size: clamp(28px, 8vw, 40px) !important; max-width: 20ch !important; line-height: 1.08 !important; }
  .intro-title span{ display: block !important; }
}
/* Korrektur 2 Handy-Titel: natürlicher Umbruch (keine ch-Begrenzung), nichts abgeschnitten */
@media (max-width: 640px){
  .intro-title{ font-size: clamp(26px, 7.4vw, 38px) !important; max-width: none !important; padding: 0 6px !important; line-height: 1.1 !important; }
  .intro-title span{ display: block !important; }
}
/* Handy-Hero: Titel größer, mehr Abstand zu den Punkten, weiter rauf */
@media (max-width: 640px){
  .intro-inner{ padding-top: 8px !important; }
  .intro-title{ font-size: clamp(30px, 8.6vw, 46px) !important; }
  .intro-steps{ margin-top: 30px !important; }
}
/* 1) Farb-Hinweis wirklich ausblenden bei execution != pla (Moos/Acryl/Wandfolie):
   das display:block aus dem Info-Box-Redesign überschrieb sonst das [hidden]-Attribut */
.color-accuracy-note[hidden], .height-info[hidden]{ display: none !important; }

/* 2) Cart-Emoji-Hintergrund: größer, abgerundetes Rechteck, etwas deckender */
.btn-cart > span[aria-hidden="true"]{
  width: 32px !important; height: 28px !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.32) !important;
}

/* 3) Fortschritts-Satz "Noch N Schritte ..." in Orange (Done-Zustand bleibt grün) */
.config-steps-progress{ color: #e8821e !important; }
.config-steps-progress.is-done{ color: #2da06b !important; }
/* Eigene Pipette aktiv: Fadenkreuz + Rahmen auf der Vorschau */
.preview-stage.eyedrop-active, .preview-stage.eyedrop-active *{ cursor: crosshair !important; }
.preview-stage.eyedrop-active::after{
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  box-shadow: inset 0 0 0 3px rgba(111,124,255,.75);
  border-radius: inherit;
}
/* ===== Batch 2026-06-05b ===== */
/* 1) Oberfläche: Kreis links, Bullets rechts daneben, "Oberfläche" parallel zum Kreis */
.pla-surface-detail{ display:flex !important; flex-direction:row !important; align-items:center !important; gap:22px !important; }
.surface-figure{ position:relative; width:100%; max-width:190px; flex:0 0 auto; margin:0; }
.surface-arc{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.surface-arc text{ font-family:var(--font-display); font-size:27px; font-weight:600; fill:var(--brand-primary); letter-spacing:.5px; paint-order:stroke; stroke:#fff; stroke-width:5px; stroke-linejoin:round; }
.pla-surface-list{ flex:1 1 auto; align-self:center; }

/* 2) "In Originalfarben"-Kästchen lila umranden */
.orig-colors-check{ border:2px solid var(--brand-primary) !important; border-radius:12px !important; padding:14px 16px !important; }

/* 3) "Zur Galerie"-Button wie "Mehr Kundenfotos" (weißes Pill + Kamera) */
.gallery-cta-btn{ display:inline-flex; align-items:center; gap:9px; background:#fff !important; color:var(--brand-dark,#4a45d2) !important; border:1px solid rgba(111,124,255,.25) !important; box-shadow:0 8px 22px rgba(20,18,50,.16) !important; font-weight:700 !important; }
.gallery-cta-btn:hover{ color:var(--brand-primary,#6f7cff) !important; box-shadow:0 12px 30px rgba(20,18,50,.26) !important; }
.gallery-cta-cam{ flex:0 0 auto; color:var(--brand-primary,#6f7cff); }

/* 4) Gradient-Linie unter Tab-Labels so lang wie der Text */
.info-tab-btn::after{ display:none !important; }
.info-tab-label{ position:relative; display:inline-block; padding-bottom:7px; }
.info-tab-label::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3px; border-radius:2px; background:transparent; transition:background .2s; }
.info-tab-btn.active .info-tab-label::after{ background:linear-gradient(90deg, var(--brand-primary), var(--brand-teal)); }

/* 5) Desktop: FAQ 3-spaltig kompakt; FAQ-Gruppen-Überschriften größer; Panel-h3 größer */
@media (min-width: 980px){
  .info-tab-panel[data-info-tab-panel="faq"]{ column-count:3 !important; column-gap:26px !important; }
}
.info-tab-panel h3{ font-size:26px !important; }
.faq-group{ font-size:15.5px !important; }

/* 6) Handy: Überschriften größer/gleich, Kundenbilder-Headline 1 Zeile, Oberfläche kompakter */
@media (max-width: 640px){
  .pla-surface-detail{ gap:14px !important; }
  .surface-figure{ max-width:128px; }
  .surface-arc text{ font-size:23px; }
  .pla-surface-list li{ font-size:13px !important; }
  .material-sub-head .gallery-title{ font-size:20px !important; }
  .gallery-title:not(.montage-title) br{ display:none !important; }
  .gallery-title:not(.montage-title){ font-size:20px !important; white-space:normal !important; }
  /* „Unsere 3D-Logos im Einsatz" so groß wie „In 3 einfachen Montageschritten" (24px) */
  .montage-gallery .gallery-title{ font-size:24px !important; white-space:normal !important; }
  .info-tab-panel h3{ font-size:23px !important; }
  .faq-group{ font-size:15px !important; }
}
/* FAQ: jede Gruppe (Überschrift + Fragen) zusammenhalten → neue Spalte beginnt nur mit Überschrift */
.info-tab-panel[data-info-tab-panel="faq"] .faq-col-group{ break-inside: avoid; }
.faq-col-group .faq-group:first-of-type{ margin-top: 0; padding-top: 0; border-top: none; }
.faq-group{ display: flex; align-items: center; gap: 7px; }
/* Gradient-Linie unter Panel-Überschrift auf volle Textlänge (h3 schrumpft auf Text) */
.info-tab-panel h3{ display: inline-block !important; }
.info-tab-panel h3::after{ width: 100% !important; }
/* Aktiv-Tab-Gradientlinie oben entfernen (Mobil-Dreieck unberührt, da Border-basiert) */
.info-tab-btn.active .info-tab-label::after{ background: transparent !important; }
/* Farbauswahl-Warnung (kompakt, orange) */
.color-count-warn{
  display: flex; gap: 7px; align-items: flex-start;
  margin: -4px 0 14px; padding: 9px 12px;
  background: rgba(232,130,30,.08); border: 1px solid rgba(232,130,30,.35);
  border-radius: 9px; font-size: 11.5px; line-height: 1.45; color: #c2691a;
}
.color-count-warn span{ color: #e8821e; font-size: 13px; line-height: 1; flex: 0 0 auto; }

/* Warenkorb-Hinweis (dezent) */
.checkout-hinweis{
  margin: 14px 0 0; padding: 11px 13px;
  background: var(--surface-soft, #faf9fc);
  border-left: 3px solid var(--brand-pastel, #99acff);
  border-radius: 8px; font-size: 11.5px; line-height: 1.5; color: var(--text-muted);
}
.checkout-hinweis strong{ color: var(--text-strong); }
/* Fix: Mobil-Aufklapp-Dreieck wieder rechts neben dem Text (das left:0 aus der
   Desktop-Tab-Linie hatte es nach links über den ersten Buchstaben geschoben) */
@media (max-width: 768px){
  .info-tab-label::after{ left: auto !important; }
  .info-tab-label{ padding-bottom: 0 !important; display: inline-block !important; }
}

/* ===================== Vollflächiges Banner-Video mit Text-Overlay (Hero, ersetzt intro-explainer) ===================== */
.banner-video-section{
  position: relative;
  display: grid;
  place-items: center stretch;              /* vertikal mittig; Inhalt füllt Breite → zentrierter Container darin */
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  min-height: clamp(660px, 63vw, 930px);
  background: #000;
}
.banner-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Poster-Overlay über dem Video, bis das Video spielt → kein schwarzer Refresh-Blitz */
.banner-poster-overlay{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;                /* über dem Video (0), unter dem Scrim/Inhalt */
  opacity: 1;
  transition: opacity .5s ease;
  pointer-events: none;
}
.banner-video-section.video-playing .banner-poster-overlay{ opacity: 0; }
/* Dunkles Verlaufs-Overlay übers Video — LINKS stärker (Text bleibt lesbar), rechts klar */
.banner-video-scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,10,28,.86) 0%, rgba(8,10,28,.62) 30%, rgba(8,10,28,.22) 62%, rgba(8,10,28,0) 100%),
    linear-gradient(180deg, rgba(8,10,28,.45) 0%, rgba(8,10,28,.10) 30%, rgba(8,10,28,.30) 100%);
}
/* Hero-Inhalt im GLEICHEN Container wie der Konfigurator → linke Kante immer bündig
   (max-width + padding identisch zu `.config-page > .container`). */
.banner-video-section .intro-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
/* Textblock linksbündig im Container; begrenzte Breite für saubere Zeilen */
.hero-content{ max-width: 1000px; }
.hero-eyebrow{
  margin: 0 0 18px;
  font-family: var(--font-section);
  font-size: clamp(14px, 1.32vw, 17px);     /* +50 %, dann −20 % */
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--brand-primary);              /* CI: Brand-Lila */
}
.hero-title{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(41px, 6.4vw, 84px);      /* +50 %, dann −20 % */
  line-height: 1.04;
  letter-spacing: -1.2px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
/* Akzentwort im CI-Gradient (Pastell → Lila → Teal) — Desktop-Akzent + Mobil-Hauptzeile */
.hero-title .hero-accent,
.hero-title-mobile .ht-line-main{
  white-space: nowrap;
  background: linear-gradient(95deg, var(--brand-pastel) 0%, var(--brand-primary) 48%, var(--brand-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 3px 16px rgba(0,0,0,.4));
}
/* Standard (Desktop): nur die Desktop-Variante zeigen */
.hero-title-mobile{ display: none; }
.hero-sub{
  margin: 24px 0 0;
  font-size: clamp(18px, 1.8vw, 24px);      /* +50 %, dann −20 % */
  line-height: 1.45;
  color: rgba(255,255,255,.92);
  max-width: 46ch;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-actions{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;                        /* Buttons NEBENEINANDER, nicht gestapelt */
  gap: 18px 32px;
  margin-top: 44px;
}
.hero-btn-primary{
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));  /* CI-Gradient */
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;                          /* +50 %, dann −20 % */
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 2px;                       /* eckig wie im Screenshot */
  box-shadow: 0 12px 34px rgba(111,124,255,.38);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.hero-btn-primary:hover{
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(111,124,255,.5);
  color: #fff;
}
.hero-btn-ghost{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;                          /* +50 %, dann −20 % */
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 8px 2px;
  border-bottom: 3px solid rgba(255,255,255,.55);
  transition: border-color .15s ease, color .15s ease;
}
.hero-btn-ghost svg{ width: 18px; height: 18px; transition: transform .15s ease; }
.hero-btn-ghost:hover{ color: var(--brand-pastel); border-bottom-color: var(--brand-pastel); }
.hero-btn-ghost:hover svg{ transform: translate(2px, -2px); }
/* Ghost-Button-Label: Desktop „Kundenbilder ansehen", Mobile „Zur Galerie" */
.ghost-label-mobile{ display: none; }

@media (max-width: 768px){
  /* Mobile-Hero: Überschrift im OBEREN Drittel, Text + Buttons im UNTEREN Drittel,
     beides horizontal zentriert. Inhalt füllt die Videohöhe. */
  /* grid-template-columns: minmax(0,1fr) + min-width:0 → Spalte/Inhalt kann NIE breiter
     als der Bildschirm werden (sonst läuft die Überschrift seitlich raus). */
  .banner-video-section{ display: flex; flex-direction: column; }   /* statt Grid → kein Min-Content-Überlauf */
  .banner-video-section .intro-inner{
    max-width: 100vw;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    text-align: center;
  }
  .hero-content{
    max-width: 100%; width: 100%; min-width: 0;
    display: flex; flex-direction: column; flex: 1 1 auto;
    padding: 2px 0 40px;             /* Überschrift weiter nach oben gerückt */
  }
  /* Auf dem Handy (Hochformat-Video) gleichmäßig dunkler für Lesbarkeit */
  .banner-video-scrim{
    background:
      linear-gradient(180deg, rgba(8,10,28,.42) 0%, rgba(8,10,28,.30) 45%, rgba(8,10,28,.66) 100%);
  }
  /* +20 % größer; langes Wort bricht bei Bedarf sauber um (weicher Trennstrich + Silbentrennung).
     overflow-wrap/word-break als harte Absicherung → kann NIE seitlich überlaufen. */
  .hero-title{
    width: 100%; min-width: 0;
    max-width: calc(100vw - 20px);        /* HARTE Viewport-Grenze → kann nie überlaufen */
    margin-inline: auto;
    box-sizing: border-box;
    /* Größe so, dass das längste Wort „BEEINDRUCKENDES" auch OHNE Umbruch auf jede
       gängige Handybreite (320–430px) passt → kann nie seitlich abschneiden. */
    font-size: clamp(27px, 8.4vw, 50px);
    letter-spacing: -1.4px;
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .hero-sub, .hero-actions{ width: 100%; min-width: 0; max-width: calc(100vw - 20px); margin-inline: auto; }
  /* Letzte Absicherung: nichts ragt seitlich aus dem Video */
  .banner-video-section{ overflow-x: hidden; }

  /* === Mobile-Hero-Titel: dreizeilig, zentriert, „3D Wandlogo" im Fokus === */
  .hero-title-desktop{ display: none; }            /* Desktop-Fließtext aus */
  .hero-title-mobile{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    line-height: 1.0;
    text-align: center;
  }
  .hero-title-mobile .ht-line{ display: block; max-width: calc(100vw - 20px); }
  /* Hauptzeile „3D Wandlogo" — groß, im CI-Gradient, klar dominant */
  /* Größen messbasiert: „3D Wandlogo" ≈ 7,25·fontSize px breit → 11,5vw passt 320–430px sicher */
  .ht-line-main{
    font-size: clamp(38px, 11.5vw, 60px);
    letter-spacing: -1.6px;
    line-height: 1.0;
    margin-bottom: 5px;
  }
  /* Unterzeilen „beeindruckend" / „inszeniert" — klar kleiner, weiß, dezent getrackt */
  .hero-title-mobile .ht-line:not(.ht-line-main){
    font-size: clamp(25px, 7vw, 40px);
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #fff;
  }
  .hero-sub{ overflow-wrap: anywhere; }
  .hero-eyebrow{ font-size: 13px; }
  .hero-sub{ font-size: 15px; max-width: none; margin: auto auto 0; }   /* margin-top:auto → unten, zentriert */
  .hero-actions{ margin: 16px auto 0; gap: 12px; flex-wrap: nowrap; justify-content: center; }   /* mittig, nebeneinander */
  .hero-btn-primary, .hero-btn-ghost{ font-size: 11px; letter-spacing: .6px; white-space: nowrap; }   /* −20 % */
  .hero-btn-primary{ padding: 10px 16px; }
  .hero-btn-ghost{ padding: 8px 0; gap: 7px; }
  /* Button-Text: mobil „Zur Galerie" statt „Kundenbilder ansehen" */
  .ghost-label-desktop{ display: none; }
  .ghost-label-mobile{ display: inline; }
}
/* Visuell ausgeblendet, aber für Screenreader/SEO vorhanden */
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Sentinel für die Sticky-Preis-Erkennung — unsichtbar, 0 Höhe (kein Layout-Einfluss) */
.price-sticky-sentinel{ height: 0; margin: 0; padding: 0; pointer-events: none; }

/* ===== Mobil: lila „Deine 3D-Visualisierung"-Banner DIREKT unter dem Video ===== */
/* Entfernt den weißen Abstand zwischen Banner-Video und Konfigurator (nur Handy). */
@media (max-width: 768px){
  .banner-video-section{ margin-bottom: 0 !important; }
  .config-page{ margin-top: 0 !important; padding-top: 0 !important; }
  .config-page > .container{ padding-top: 0 !important; margin-top: 0 !important; }
  .config-grid{ padding-top: 0 !important; margin-top: 0 !important; }
  .preview-card{ margin-top: 0 !important; padding-top: 0 !important; }
}

/* ===== Header-Hauptmenü — mittig zwischen Logo & Warenkorb, CI-Stil ===== */
.site-header .container{ position: relative; }
.site-nav{
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav a{
  position: relative;
  color: var(--brand-primary);              /* Standard-Lila (überall verwendet) */
  font-family: var(--font-display);         /* Mitr */
  font-weight: 600;
  font-size: 19px;                           /* größer */
  letter-spacing: .3px;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .15s ease;
}
.site-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-nav a:hover{ color: var(--brand-dark); }
.site-nav a:hover::after{ transform: scaleX(1); }

/* Hamburger-Button — nur auf schmalen Screens */
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 9px;
  background: none; border: 0; cursor: pointer;
  border-radius: 8px;
}
.nav-toggle span{
  display: block; height: 2.5px; width: 100%;
  background: var(--brand-primary); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px){
  .nav-toggle{ display: flex; }
  /* Menü wird zum Dropdown unter dem Header */
  .site-nav{
    position: absolute;
    top: 100%; left: 0; right: 0;
    transform: translateY(-8px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(10,12,40,.14);
    padding: 6px 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 200;
  }
  .site-header.nav-open .site-nav{
    visibility: visible; opacity: 1; transform: translateY(0);
  }
  .site-nav a{
    padding: 15px 24px;
    font-size: 21px;
  }
  .site-nav a::after{ display: none; }
}

/* Farb-Aufpreis nur bei klassischem 3D-Druck (PLA): bei Acryl/Wandfolie/Moos die
   Preis-Badges (+€25 …) und den Aufpreis-Hinweis ausblenden. Auswahl der Farbanzahl bleibt. */
[data-tab-panel="farben"].no-color-charge .color-count-price,
[data-tab-panel="farben"].no-color-charge .color-surcharge-help { display: none; }

/* Acryl/Wandfolie: nur zwei Optionen (Originalfarben / andere Farbe) statt Farbanzahl.
   PLA-Anzahl-UI in diesem Modus ausblenden, eigenen Block einblenden. */
.acryl-color-block { display: none; }
[data-tab-panel="farben"].acryl-mode .acryl-color-block { display: block; }
[data-tab-panel="farben"].acryl-mode > .section-question,
[data-tab-panel="farben"].acryl-mode .color-count-warn,
[data-tab-panel="farben"].acryl-mode .color-count-grid,
[data-tab-panel="farben"].acryl-mode .orig-colors-check { display: none; }
.acryl-color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
@media (max-width: 560px){ .acryl-color-grid { grid-template-columns: 1fr; } }
.acryl-color-tile {
  display: flex; flex-direction: column; gap: 5px; text-align: left;
  font-family: var(--font-body);          /* CI-Schrift (Buttons erben sie sonst nicht) */
  padding: 16px 18px; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--surface); cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.acryl-color-tile strong { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--text-strong); }
.acryl-color-tile small  { font-family: var(--font-body); font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.acryl-color-tile:hover  { border-color: var(--brand-pastel); }
.acryl-color-tile.active {
  border-color: var(--brand-primary);
  background: rgba(96 91 229 / .05);
  box-shadow: 0 0 0 3px rgba(96 91 229 / .12);
}
