/* ===========================================================================
   Polster-Hans Manufaktur - 2px Solid High-Contrast Studio (Irpin Type)
   Durchgängig 2px markante Konturen, kraftvolles Monochrom, tiefe Schatten
   =========================================================================== */

@font-face {
  font-family: 'IrpinType';
  src: url('/_gemeinsam/fonts/IrpinType-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IrpinType';
  src: url('/_gemeinsam/fonts/IrpinType-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-stage-bg:       #ebebeb;
  --c-card-bg:        #ffffff;
  --c-surface-subtle:  #f4f4f4;
  --c-white:          #ffffff;
  
  --c-black-900:      #0a0a0a;
  --c-black-800:      #1f1f1f;
  --c-border-strong:  #b5b5b5; /* 2px prägnanter Rahmen */
  --c-border-subtle:  #dcdcdc;
  --c-text-muted:     #4d4d4d;

  --farbe-akzent: var(--c-black-900);
  --farbe-text: var(--c-black-900);
  --farbe-text-leise: var(--c-text-muted);
  --farbe-rand: var(--c-border-strong);
  --farbe-hintergrund: var(--c-stage-bg);
  --farbe-karte: var(--c-card-bg);

  --ph-schrift: 'IrpinType', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-hover: 0.7s;
  --dur-hover-slow: 0.9s;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--ph-schrift);
  color: var(--farbe-text);
  background-color: #f7f7fa;
  background-image: 
    radial-gradient(at 80% 0%, rgba(200, 200, 200, 0.25) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(220, 220, 220, 0.25) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(210, 210, 210, 0.25) 0px, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

@keyframes headerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Kopfzeile mit Glassmorphism (Top Sticky Action Bar - Sofortige Animation) --- */
.kopf {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 24px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), inset 0 -1px 0 rgba(255,255,255,0.4) !important;
  transition: all var(--dur-hover-slow) var(--ease-smooth) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  opacity: 0;
  animation: headerFadeIn 0.8s var(--ease-smooth) forwards;
  animation-delay: 0s !important;
}

.studio-burger-btn {
  margin-right: auto !important;
  flex-shrink: 0 !important;
}

/* ===========================================================================
   HERO SUB-HEADER BANNER (2X Grosse Lottie-Animation + Sofortige Einblendung)
   =========================================================================== */
.ph-hero-banner {
  width: 100%;
  max-width: 1440px;
  margin: 36px auto 28px;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  animation: headerFadeIn 0.9s var(--ease-smooth) forwards;
  animation-delay: 0.1s !important;
}

.ph-hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: left;
}

/* GW Monogram Badge Hero Logo */
.ph-hero-lottie {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.ph-hero-lottie svg,
.ph-hero-lottie img {
  display: none !important;
}

.ph-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ph-hero-title {
  margin: 0 !important;
  font-family: 'IrpinType', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--c-black-900, #0a0a0a) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.ph-hero-sub {
  margin: 6px 0 0 !important;
  font-family: 'IrpinType', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--c-text-muted, #737373) !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

/* ===========================================================================
   INHALT-ELEMENTE (Einblendung mit genau 1 Sekunde Verzögerung)
   =========================================================================== */
main.layout,
.ph-calc-wrap,
.layout {
  opacity: 0;
  animation: contentFadeIn 1.0s var(--ease-smooth) forwards;
  animation-delay: 1.0s !important;
}

/* --- Universal Glass Card --- */
.ph-glass-card, .karte, .canvas-wrapper, .steuerung, .kalk-karte, .panel {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255,255,255,0.8) !important;
  transform-style: preserve-3d;
  will-change: transform;
}

.kopf-marke {
  display: none !important;
}

.login-logo { display: block; max-width: 220px; margin: 0 auto 14px; filter: grayscale(100%); }

/* --- GRON WERKE Exclusive B2B Pilot Branding --- */
.gw-login-header {
  text-align: center;
  margin-bottom: 22px;
}
.gw-monogram-badge {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  border: 1.5px solid #374151;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.gw-monogram {
  font-family: 'IrpinType', -apple-system, sans-serif !important;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1;
  margin-left: 2px;
}
.gw-brand-name {
  font-family: 'IrpinType', -apple-system, sans-serif !important;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: #111827;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.gw-pilot-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #065f46;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.gw-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  display: inline-block;
}
.gw-module-title {
  font-family: 'IrpinType', -apple-system, sans-serif !important;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}
.gw-pilot-notice {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.45;
  max-width: 310px;
  margin: 0 auto;
}

.gw-lang-switcher {
  position: fixed;
  top: 14px;
  right: 18px;
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid #e5e7eb;
  padding: 3px;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.gw-lang-btn {
  background: transparent;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gw-lang-btn:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
}
.gw-lang-btn.aktiv {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.kopf nav {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.kopf nav a,
.kopf nav .nav-link-track {
  color: var(--c-black-900) !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--c-border-strong) !important;
  background: var(--c-surface-subtle) !important;
  transition: all var(--dur-hover) var(--ease-smooth) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.kopf nav a:hover,
.kopf nav .nav-link-track:hover {
  background: var(--c-black-900) !important;
  color: #ffffff !important;
  border-color: var(--c-black-900) !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
.kopf-benutzer {
  color: var(--c-text-muted) !important;
  font-size: 13.5px !important;
  margin: 0 8px !important;
  font-weight: 600 !important;
}

/* Universal Header Dropdown (z. B. Werkzeuge) */
.ph-dropdown-container {
  position: relative !important;
  display: inline-block !important;
}
.ph-nav-btn {
  font-family: inherit !important;
  color: var(--c-black-900) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--c-border-strong) !important;
  background: var(--c-surface-subtle) !important;
  transition: all var(--dur-hover) var(--ease-smooth) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
}
.ph-nav-btn:hover {
  background: var(--c-black-900) !important;
  color: #ffffff !important;
  border-color: var(--c-black-900) !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
.ph-nav-btn:hover svg {
  color: #ffffff !important;
}
.ph-dropdown-menu {
  display: none;
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 6px) !important;
  background: #ffffff !important;
  border: 2px solid var(--c-black-900) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
  min-width: 250px !important;
  padding: 8px !important;
  z-index: 9999999 !important;
}
.ph-dropdown-menu.aktiv {
  display: block !important;
}
.ph-dropdown-menu a,
.ph-dropdown-menu a.ph-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  border: none !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--c-black-900) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  margin: 0 !important;
}
.ph-dropdown-menu a:hover,
.ph-dropdown-menu a.ph-dropdown-item:hover {
  background: #f2f2f2 !important;
  color: #000000 !important;
  border-color: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}
.ph-dropdown-menu a svg,
.ph-dropdown-menu a.ph-dropdown-item svg {
  flex-shrink: 0 !important;
  color: var(--c-black-900) !important;
}
.ph-dropdown-menu a:hover svg,
.ph-dropdown-menu a.ph-dropdown-item:hover svg {
  color: #000000 !important;
}

.lang-switch-inline button {
  background: #ffffff !important;
  border: 1.5px solid var(--c-border-strong) !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: var(--c-black-900) !important;
  cursor: pointer !important;
  transition: all var(--dur-hover) var(--ease-smooth) !important;
}
.lang-switch-inline button:hover {
  border-color: var(--c-black-900) !important;
  background: var(--c-surface-subtle) !important;
}
.lang-switch-inline button.aktiv {
  background: var(--c-black-900) !important;
  color: #ffffff !important;
  border-color: var(--c-black-900) !important;
}

/* --- Haupt-Layout (Responsive Grid) --- */
.layout {
  max-width: 1440px;
  margin: 28px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.layout.zweispaltig {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 28px;
  align-items: start;
}

/* ===========================================================================
   RESPONSIVE BREAKPOINT SYSTEM (DESKTOP -> LAPTOP -> TABLET -> MOBILE)
   =========================================================================== */

/* 1. Laptop & Smaller Desktops (< 1280px) */
@media (max-width: 1280px) {
  .layout.zweispaltig {
    grid-template-columns: 480px 1fr;
    gap: 22px;
  }
  .layout {
    padding: 0 20px;
  }
  .kopf {
    padding: 10px 20px !important;
  }
  .kopf-sub {
    font-size: 11.5px !important;
  }
}

/* 2. Tablets (Landscape & Portrait, < 1024px) */
@media (max-width: 1024px) {
  .layout.zweispaltig {
    grid-template-columns: 1fr !important; /* Switch to single clean column */
    gap: 24px !important;
  }
  .spalte-eingabe {
    order: 1 !important;
  }
  .spalte-ergebnis {
    order: 2 !important;
  }
  .ph-hero-lottie {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
  }
  .ph-hero-title {
    font-size: 26px !important;
  }
  .ph-hero-sub {
    font-size: 14px !important;
  }
  .kopf {
    padding: 10px 16px !important;
  }
  .kopf-sub {
    display: none !important; /* Hide long subtext on tablets to avoid any crowding */
  }
  .modal-gross, .modal {
    max-width: 92vw !important;
    width: 92vw !important;
  }
}

/* 3. Small Tablets & Large Phones (< 768px) */
@media (max-width: 768px) {
  .layout {
    padding: 0 12px !important;
    margin: 16px auto !important;
  }
  .ph-hero-banner {
    margin: 20px auto 16px !important;
    padding: 0 14px !important;
  }
  .ph-hero-brand {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .ph-hero-lottie {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
  }
  .ph-hero-title {
    font-size: 22px !important;
    text-align: center !important;
  }
  .ph-hero-sub {
    font-size: 13px !important;
    text-align: center !important;
  }
  .kopf {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 12px !important;
    gap: 8px !important;
  }
  .studio-burger-btn {
    flex-shrink: 0 !important;
  }
  .kopf-marke {
    justify-content: center !important;
    margin: 0 auto !important;
    gap: 8px !important;
  }
  .lottie-logo-container {
    width: 95px !important;
    height: 30px !important;
  }
  .kopf-logo {
    height: 30px !important;
  }
  .kopf-logo-text {
    font-size: 14px !important;
  }
  .kopf-sub {
    display: none !important;
  }
  .kopf nav {
    flex-shrink: 0 !important;
    gap: 4px !important;
  }
  .kopf nav a, .kopf nav .nav-link-track {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .kopf-benutzer {
    display: none !important;
  }
  .panel {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }
  .feld2, .feld3 {
    grid-template-columns: 1fr !important; /* Stack input fields vertically */
    gap: 12px !important;
  }
  .knopfreihe {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .knopfreihe button, .knopfreihe a {
    width: 100% !important;
    justify-content: center !important;
  }
  .modal {
    padding: 20px 16px !important;
    max-height: 90vh !important;
    width: 96vw !important;
    max-width: 96vw !important;
  }
}

/* 4. Compact Mobile Phones (< 480px) */
@media (max-width: 480px) {
  .kopf-logo {
    height: 36px !important;
  }
  .kopf-logo-text {
    font-size: 16px !important;
  }
  .kopf nav a, .kopf nav .nav-link-track {
    flex: 1 1 calc(50% - 6px) !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 7px 8px !important;
    font-size: 11.5px !important;
  }
  .btn-primary, button.btn-primary, .btn-sekundaer {
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
  .feld input, .feld select {
    padding: 10px 12px !important;
    font-size: 14px !important;
  }
}

/* --- Panel & Karten mit 2px Rand --- */
.panel {
  background: var(--c-card-bg);
  border: 2px solid var(--c-border-strong);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.05);
  transition: transform var(--dur-hover-slow) var(--ease-smooth), box-shadow var(--dur-hover-slow) var(--ease-smooth), border-color var(--dur-hover) ease;
}

.panel:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 28px 64px rgba(0, 0, 0, 0.08);
  border-color: var(--c-black-900);
  transform: translateY(-2px);
}

/* Kaskadierendes Laden jeder Zeile / jedes Feldes wie in Modul 1 */
@keyframes rowFadeItem {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.panel > * {
  animation: rowFadeItem 0.75s var(--ease-smooth) both;
}
.panel > *:nth-child(1)  { animation-delay: 0.04s; }
.panel > *:nth-child(2)  { animation-delay: 0.08s; }
.panel > *:nth-child(3)  { animation-delay: 0.12s; }
.panel > *:nth-child(4)  { animation-delay: 0.16s; }
.panel > *:nth-child(5)  { animation-delay: 0.20s; }
.panel > *:nth-child(6)  { animation-delay: 0.24s; }
.panel > *:nth-child(7)  { animation-delay: 0.28s; }
.panel > *:nth-child(8)  { animation-delay: 0.32s; }
.panel > *:nth-child(9)  { animation-delay: 0.36s; }
.panel > *:nth-child(10) { animation-delay: 0.40s; }
.panel > *:nth-child(11) { animation-delay: 0.44s; }
.panel > *:nth-child(12) { animation-delay: 0.48s; }
.panel > *:nth-child(13) { animation-delay: 0.52s; }
.panel > *:nth-child(14) { animation-delay: 0.56s; }
.panel > *:nth-child(15) { animation-delay: 0.60s; }

/* Stacking Context Ausgleich bei geöffnetem Menü */
.panel:has(.custom-select-wrapper.open),
.spalte-eingabe:has(.custom-select-wrapper.open),
.layout:has(.custom-select-wrapper.open),
div:has(.custom-select-wrapper.open),
.feld:has(.custom-select-wrapper.open),
.feld2:has(.custom-select-wrapper.open),
.feld3:has(.custom-select-wrapper.open) {
  transform: none !important;
  filter: none !important;
  z-index: 999999 !important;
  position: relative !important;
}

/* --- Formular-Felder & markante 2px Rahmen --- */
.feld { 
  margin-bottom: 20px; 
  display: flex; 
  flex-direction: column; 
  gap: 7px; 
  min-width: 0; 
  position: relative;
}

.feld label { 
  font-size: 13.5px; 
  color: var(--c-black-900); 
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--dur-hover) ease;
}

.feld input, .feld select {
  padding: 12px 16px;
  border: 2px solid var(--c-border-strong);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--c-surface-subtle);
  color: var(--c-black-900);
  font-weight: 500;
  transition: all var(--dur-hover) var(--ease-smooth);
}

.feld input:hover, .feld select:hover {
  border-color: var(--c-black-900);
  background: #ffffff;
  transform: translateY(-1px);
}

.feld input:focus, .feld select:focus {
  outline: none;
  border-color: var(--c-black-900);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
  transform: translateY(-1.5px);
}

/* Checkboxes */
.feld-checkbox { justify-content: center; }
.feld-checkbox label { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  font-size: 14.5px; 
  color: var(--c-black-900); 
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
}
.feld input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  accent-color: var(--c-black-900);
  cursor: pointer;
  transition: transform var(--dur-hover) var(--ease-smooth);
}
.feld input[type="checkbox"]:hover {
  transform: scale(1.15);
}

/* --- Knöpfe mit 2px Rand --- */
.btn-primary, button.btn-primary {
  background: var(--c-black-900);
  color: #ffffff !important;
  border: 2px solid var(--c-black-900);
  border-radius: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: all var(--dur-hover) var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary *, button.btn-primary * {
  color: #ffffff !important;
}

.btn-primary svg, button.btn-primary svg {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  box-shadow: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0;
}

.btn-primary:hover, button.btn-primary:hover {
  background: #222222;
  border-color: #222222;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

.btn-primary:active, button.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  color: #ffffff !important;
}

.btn-gross {
  width: 100%;
  margin-top: 24px;
  padding: 16px 28px !important;
  font-size: 16.5px !important;
  letter-spacing: -0.01em;
}

.btn-sekundaer {
  background: var(--c-surface-subtle);
  color: var(--c-black-900);
  border: 2px solid var(--c-border-strong);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease-smooth);
}

.btn-sekundaer:hover {
  border-color: var(--c-black-900);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.sub { color: var(--c-text-muted); font-size: 14px; margin-top: -8px; }
.fehler { color: #ffffff; background: var(--c-black-900); padding: 14px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; }

h2 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-border-strong);
  color: var(--c-black-900);
}
h2:first-child { margin-top: 0; }

.feld2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.hinweis { font-size: 12.5px; color: var(--c-text-muted); display: block; margin-top: 6px; line-height: 1.55; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

/* --- Tabellenzeilen mit 2px Rahmen & Responsive Touch-Scroll --- */
.tabelle-wrapper, .tabelle-responsive, .tabelle-scroll { 
  max-height: 480px; 
  overflow-x: auto;
  overflow-y: auto; 
  -webkit-overflow-scrolling: touch;
  border: 2px solid var(--c-border-strong); 
  border-radius: 8px; 
  width: 100%;
  box-sizing: border-box;
}

/* Zuschnitt-Liste Tabelle (kein horizontaler Scrollbalken) */
.tabelle-wrapper:has(#tabelle-zuschnitte) {
  overflow-x: hidden !important;
}

#tabelle-zuschnitte {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

#tabelle-zuschnitte th,
#tabelle-zuschnitte td {
  padding: 7px 4px !important;
  font-size: 11.5px !important;
  letter-spacing: normal !important;
  border-bottom: 1px solid var(--c-border-subtle) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#tabelle-zuschnitte th {
  background: var(--c-surface-subtle) !important;
  border-bottom: 2px solid var(--c-border-strong) !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
}

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 2px solid var(--c-border-subtle); }
th { 
  background: var(--c-surface-subtle); 
  font-weight: 800; 
  position: sticky; 
  top: 0; 
  text-transform: uppercase; 
  font-size: 11.5px; 
  letter-spacing: 0.04em; 
  color: var(--c-black-900); 
}

tbody tr {
  transition: all 0.35s ease;
}

tbody tr:hover {
  background: var(--c-surface-subtle);
}

/* --- Hero Kennzahl mit 2.5px Rand --- */
.kennzahl {
  background: var(--c-card-bg);
  border: 2.5px solid var(--c-black-900);
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: all var(--dur-hover-slow) var(--ease-smooth);
}

.kennzahl:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.12);
}

.kennzahl-etikett { 
  font-size: 12px; 
  text-transform: uppercase; 
  font-weight: 800; 
  letter-spacing: 0.08em; 
  color: var(--c-text-muted); 
  display: block; 
}
.kennzahl-wert { 
  font-size: 36px; 
  font-weight: 800; 
  color: var(--c-black-900); 
  display: block; 
  margin: 6px 0; 
  letter-spacing: -0.03em; 
}
.kennzahl-neben { 
  font-size: 14px; 
  color: var(--c-text-muted); 
  font-weight: 600; 
}

.info-panel {
  white-space: pre-line;
  background: var(--c-surface-subtle);
  border: 2px solid var(--c-border-strong);
  border-radius: 10px;
  padding: 20px 22px;
  font-size: 14.5px;
  margin-bottom: 20px;
  color: var(--c-black-900);
  line-height: 1.6;
}

.warn-panel {
  background: #ffffff;
  border: 2px solid var(--c-black-900);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 20px;
  color: var(--c-black-900);
  font-size: 14px;
  font-weight: 600;
  white-space: pre-line;
}

.preset-leiste {
  background: var(--c-surface-subtle) !important;
  border: 2px solid var(--c-border-strong) !important;
  border-radius: 10px !important;
  padding: 18px !important;
  margin-bottom: 24px !important;
}

@keyframes modalPopIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-hintergrund {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: cinematicFadeIn 0.25s var(--ease-smooth);
  overscroll-behavior: contain;
}

.modal {
  background: var(--c-card-bg, #ffffff);
  border-radius: 14px;
  padding: 30px;
  width: min(620px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 2px solid var(--c-black-900, #0a0a0a);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
  animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html.modal-offen,
body.modal-offen {
  overflow: hidden !important;
  height: 100% !important;
}

.modal-hintergrund,
.ph-modal-backdrop {
  overscroll-behavior: contain !important;
  touch-action: none;
}

.modal,
.ph-modal,
.modal-inhalt,
[data-modal-scroll],
[style*="overflow-y: auto"],
[style*="overflow-y:auto"] {
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
}

/* --- Kaskadierende Staggered-Animation --- */
@keyframes cascadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-item {
  opacity: 0;
  animation: cascadeIn 0.75s var(--ease-smooth) forwards;
}

/* ===========================================================================
   Chaotische Buchstaben-Kinematik (Chaotic Kinetic Typography)
   =========================================================================== */
.letter-anim-wrap {
  display: inline-block !important;
  white-space: nowrap !important;
  overflow: visible;
  vertical-align: baseline;
}

.char-item {
  display: inline-block !important;
  white-space: pre !important;
  opacity: 0;
  will-change: transform, opacity, filter;
  animation-duration: 0.85s;
  animation-timing-function: var(--ease-smooth);
  animation-fill-mode: forwards;
}

@keyframes charChaos1 {
  0% { opacity: 0; transform: translateY(18px) rotate(-8deg) scale(0.85); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); filter: blur(0px); }
}

@keyframes charChaos2 {
  0% { opacity: 0; transform: translateY(-16px) rotate(6deg) scale(1.15); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); filter: blur(0px); }
}

@keyframes charChaos3 {
  0% { opacity: 0; transform: translateY(14px) translateX(-8px) scale(0.9); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0) translateX(0) scale(1); filter: blur(0px); }
}

@keyframes charChaos4 {
  0% { opacity: 0; transform: translateY(20px) rotateX(45deg); filter: blur(5px); }
  100% { opacity: 1; transform: translateY(0) rotateX(0deg); filter: blur(0px); }
}

.char-chaos-1 { animation-name: charChaos1; }
.char-chaos-2 { animation-name: charChaos2; }
.char-chaos-3 { animation-name: charChaos3; }
.char-chaos-4 { animation-name: charChaos4; }

/* ===========================================================================
   Custom Select Dropdown — 2px Solid Konturen
   =========================================================================== */

.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-wrapper.open {
  z-index: 10000;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-black-900);
  background: var(--c-surface-subtle);
  border: 2px solid var(--c-border-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease-smooth);
}

.custom-select-trigger:hover {
  border-color: var(--c-black-900);
  background: #ffffff;
  transform: translateY(-1px);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--c-black-900);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.custom-select-arrow {
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--c-black-900);
  border-bottom: 2.5px solid var(--c-black-900);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.4s var(--ease-smooth);
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(-135deg) translateY(-2px);
}

.custom-options-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 2px solid var(--c-black-900) !important;
  border-radius: 10px !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0,0,0,0.1) !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  z-index: 9999999 !important;
  display: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.4s var(--ease-smooth);
}

.custom-select-wrapper.open .custom-options-menu {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.custom-option {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-black-900);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--c-border-subtle);
  background: #ffffff;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background: var(--c-black-900);
  color: #ffffff;
  padding-left: 26px;
}

.custom-option.selected {
  background: #222222 !important;
  color: var(--c-white) !important;
  font-weight: 700;
}
.custom-option.selected:hover {
  background: var(--c-black-900) !important;
}

/* ===========================================================================
   Studio Suite — Universelle Navigationsleiste & Burger-Menü
   =========================================================================== */
#studio-burger-btn,
.studio-burger-btn {
  
  background: #ffffff !important;
  border: 2px solid var(--c-black-900) !important;
  border-radius: 12px !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: all var(--dur-hover) var(--ease-smooth) !important;
  position: relative !important;
  z-index: 100000000 !important;
  margin-right: 18px !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  pointer-events: auto !important;
}

#studio-burger-btn:hover,
.studio-burger-btn:hover {
  background: var(--c-black-900) !important;
  transform: scale(1.06) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
}

#studio-burger-btn .bar,
.studio-burger-btn .bar {
  width: 28px !important;
  height: 3px !important;
  background: var(--c-black-900) !important;
  border-radius: 2px !important;
  transition: all 0.35s var(--ease-smooth) !important;
  pointer-events: none !important;
}

#studio-burger-btn:hover .bar,
.studio-burger-btn:hover .bar {
  background: #ffffff !important;
}

#studio-burger-btn.open,
.studio-burger-btn.open {
  background: var(--c-black-900) !important;
}
#studio-burger-btn.open .bar,
.studio-burger-btn.open .bar {
  background: #ffffff !important;
}
#studio-burger-btn.open .bar:nth-child(1),
.studio-burger-btn.open .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg) !important;
}
#studio-burger-btn.open .bar:nth-child(2),
.studio-burger-btn.open .bar:nth-child(2) {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}
#studio-burger-btn.open .bar:nth-child(3),
.studio-burger-btn.open .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg) !important;
}

/* Modal Flyout Menü für die 3 Module */
#studio-flyout-overlay,
.studio-flyout-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 99999999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.4s var(--ease-smooth) !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 80px 32px 32px !important;
  pointer-events: none !important;
}

#studio-flyout-overlay.active,
.studio-flyout-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.studio-flyout-menu {
  background: #ffffff;
  border: 2px solid var(--c-black-900);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  width: min(390px, 92vw);
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  padding: 20px;
  transform: translateY(-20px) scale(0.96);
  transition: all 0.4s var(--ease-smooth);
}

.studio-flyout-overlay.active .studio-flyout-menu {
  transform: translateY(0) scale(1);
}

.studio-flyout-header {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-border-strong);
}

.studio-modul-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  min-height: 68px;
  height: auto;
  box-sizing: border-box;
  border: 2px solid var(--c-border-subtle);
  border-radius: 10px;
  text-decoration: none;
  color: var(--c-black-900);
  margin-bottom: 8px;
  background: var(--c-surface-subtle);
  transition: all var(--dur-hover) var(--ease-smooth);
}

.studio-modul-link:hover {
  background: #ffffff;
  border-color: var(--c-black-900);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.studio-modul-link.current {
  background: var(--c-surface-subtle);
  color: var(--c-black-900);
  border-color: var(--c-border-subtle);
}

.studio-modul-link.current .modul-icon {
  filter: none;
}

.studio-modul-link.current .modul-desc {
  color: var(--c-text-muted);
}

.modul-icon {
  font-size: 24px;
  line-height: 1;
}

.modul-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modul-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.modul-desc {
  font-size: 12.5px;
  color: var(--c-text-muted);
  font-weight: 500;
}

/* Lottie Player Container — Doppelte Größe */
.lottie-logo-container {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#kopf-lottie-logo.lottie-logo-container {
  width: 280px !important;
  height: 80px !important;
  max-width: 50vw !important;
}

#kopf-lottie-logo svg {
  width: 100% !important;
  height: 100% !important;
  transform: scale(1.35) !important;
  transform-origin: center center !important;
}

#moebel-lottie-logo.lottie-logo-container {
  width: 480px !important;
  height: 130px !important;
  max-width: 90vw !important;
}

#moebel-lottie-logo svg {
  width: 100% !important;
  height: 100% !important;
  transform: scale(1.3) !important;
  transform-origin: center center !important;
}

.lottie-logo-container dotlottie-player,
.lottie-logo-container lottie-player {
  width: 320px;
  height: 90px;
  max-width: 55vw;
}

.lottie-logo-container.vertikal dotlottie-player,
.lottie-logo-container.vertikal lottie-player {
  width: 240px;
  height: 180px;
}

/* ===========================================================================
   Spatial Glass UI & 3D Interactive Cards
   =========================================================================== */
.upload-zone,
.spatial-glass-card {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border: 2px dashed var(--c-black-900) !important;
  border-radius: 16px !important;
  box-shadow: 
    0 12px 36px 0 rgba(0, 0, 0, 0.08),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.8) !important;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), background 0.4s var(--ease-smooth) !important;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.upload-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.upload-zone:hover::after {
  opacity: 1;
}

.upload-zone:hover {
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 
    0 18px 48px 0 rgba(0, 0, 0, 0.12),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
  border-style: solid !important;
}

.foto-tipps,
.erklaerung {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 2px solid var(--c-border-strong) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
  transition: all var(--dur-hover) var(--ease-smooth) !important;
}

#foto-preview > div {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  border: 2px solid var(--c-black-900) !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
  transition: all var(--dur-hover) var(--ease-smooth) !important;
}

#foto-preview > div:hover {
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15) !important;
}

/* ===========================================================================
   Studio Suite — Universelles Confirm & Alert Dialog Modal (2px Solid Design)
   =========================================================================== */
.ph-confirm-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 100000005 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.35s var(--ease-smooth) !important;
  pointer-events: none !important;
}

.ph-confirm-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.ph-confirm-modal {
  background: #ffffff !important;
  border: 2px solid var(--c-black-900) !important;
  border-radius: 16px !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35) !important;
  width: min(440px, 92vw) !important;
  padding: 28px 26px !important;
  box-sizing: border-box !important;
  transform: translateY(16px) scale(0.95) !important;
  transition: all 0.35s var(--ease-smooth) !important;
  text-align: left !important;
}

.ph-confirm-overlay.active .ph-confirm-modal {
  transform: translateY(0) scale(1) !important;
}

.ph-confirm-icon {
  font-size: 32px !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
  display: inline-block !important;
}

.ph-confirm-title {
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--c-black-900) !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.ph-confirm-text {
  font-size: 13.5px !important;
  color: var(--c-text-muted) !important;
  line-height: 1.6 !important;
  margin: 0 0 24px 0 !important;
}

.ph-confirm-actions {
  display: flex !important;
  gap: 12px !important;
  justify-content: flex-end !important;
}

.ph-confirm-btn-cancel {
  flex: 1 !important;
  background: var(--c-surface-subtle) !important;
  color: var(--c-black-900) !important;
  border: 2px solid var(--c-border-strong) !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all var(--dur-hover) var(--ease-smooth) !important;
  text-align: center !important;
}

.ph-confirm-btn-cancel:hover {
  background: #ffffff !important;
  border-color: var(--c-black-900) !important;
  transform: translateY(-1.5px) !important;
}

.ph-confirm-btn-ok {
  flex: 1.3 !important;
  background: var(--c-black-900) !important;
  color: #ffffff !important;
  border: 2px solid var(--c-black-900) !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all var(--dur-hover) var(--ease-smooth) !important;
  text-align: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

.ph-confirm-btn-ok:hover {
  background: #262626 !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25) !important;
}

/* ===========================================================================
   Lenis Smooth Scroll Standard-CSS
   =========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Punkt C: Gegenprobe mm/cm unter jedem Maßfeld (Hans 07.09.2026) */
.gegenprobe-hinweis {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ph-text-gedaempft, #64748b);
  margin-top: 3px;
  letter-spacing: 0.15px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
