/* NRH Shop – Design System */
/* Schrift: DM Sans (Display) + Source Serif 4 (Body) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS-VARIABLEN
   HINWEIS: --gradient, --primary, --primary-light, --primary-dark,
   --accent, --font-display werden durch theme.php aus der DB gesetzt.
   Diese dürfen hier NICHT definiert werden, sonst überschreiben sie
   die Admin-Einstellungen!
   ============================================================ */
:root {
  /* Nur Fallback-Werte für Variablen die theme.php NICHT liefert */
  --accent-light:   #f07a45;

  --bg:             transparent;
  --bg-card:        #ffffff;
  --bg-subtle:      rgba(255,255,255,0.12);
  --bg-dark:        #060e1a;
  --bg-card-dark:   #0d1829;
  --bg-subtle-dark: #0a1628;

  --text:           #ffffff;
  --text-muted:     rgba(255,255,255,0.80);
  --text-light:     rgba(255,255,255,0.60);
  --text-dark:      #e8ebe8;
  --text-muted-dark:#8a9088;

  --border:         rgba(255,255,255,0.15);
  --border-dark:    #2e332e;

  --success:        #2d7a4f;
  --warning:        #b45309;
  --danger:         #c53030;
  --info:           #1a6b8a;

  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:         0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:      0 24px 64px rgba(0,0,0,.16);

  --transition:     0.2s ease;
  --font-mono:      'DM Mono', 'Fira Code', monospace;
}

[data-theme="dark"] {
  --bg:        transparent;
  --bg-card:   rgba(10, 22, 48, 0.65);
  --bg-subtle: rgba(255,255,255,.04);
  --text:      #e8ecf4;
  --text-muted:#9aaac4;
  --text-light:#6a7a94;
  --border:    rgba(255,255,255,.1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow:    0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.6);
}

/* ============================================================
   RESET & BASIS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-display, 'DM Sans', system-ui, sans-serif);
  background: transparent;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-muted); line-height: 1.7; }

.text-sm   { font-size: .875rem; }
.text-xs   { font-size: .75rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-muted{ color: var(--text-muted); }
.text-accent{ color: var(--accent); }
.text-primary{ color: var(--primary); }
.fw-500    { font-weight: 500; }
.fw-600    { font-weight: 600; }
.fw-700    { font-weight: 700; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

.section       { padding: 5rem 0; background: transparent; }
.section-sm    { padding: 3rem 0; background: transparent; }
.section-lg    { padding: 7rem 0; background: transparent; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.gap-1         { gap: .5rem; }
.gap-2         { gap: 1rem; }
.gap-3         { gap: 1.5rem; }
.gap-4         { gap: 2rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: relative;
  top: 0;
  z-index: 100;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(35, 136, 170, 0.5));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

[data-theme="dark"] .navbar {
  background: rgba(6, 14, 26, 0.5);
  border-bottom-color: rgba(255,255,255,.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -.02em;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}

/* Logo-Bild groß genug, linksbündig */
.navbar-brand img { height: 48px; width: auto; }
.navbar-brand-text { white-space: nowrap; color: #ffffff; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: .4rem .8rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255,255,255,.12);
}

.navbar-actions { display: flex; align-items: center; gap: .6rem; }

/* Hamburger Mobile */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  border: none;
  background: none;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,107,94,.35);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover:not(:disabled) {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,98,42,.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover:not(:disabled) {
  background: var(--bg-subtle);
  color: var(--text);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.btn-sm { padding: .4rem .9rem; font-size: .8rem; }
.btn-lg { padding: .85rem 1.75rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2rem; font-size: 1.1rem; border-radius: var(--radius); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover { box-shadow: var(--shadow); }

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.card-body { padding: 1.75rem; }
.card-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ============================================================
   FORMULARE
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .65rem 1rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,94,.12);
}

.form-control::placeholder { color: var(--text-light); }
.form-control:disabled { opacity: .6; cursor: not-allowed; background: var(--bg-subtle); }

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: .3rem; }
.form-control.is-invalid { border-color: var(--danger); }

/* ============================================================
   BADGES & PILLS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.badge-primary { background: rgba(26,107,94,.12); color: var(--primary); }
.badge-accent  { background: rgba(232,98,42,.12);  color: var(--accent); }
.badge-success { background: rgba(45,122,79,.12);  color: var(--success); }
.badge-warning { background: rgba(180,83,9,.12);   color: var(--warning); }
.badge-danger  { background: rgba(197,48,48,.12);  color: var(--danger); }
.badge-muted   { background: var(--bg-subtle);     color: var(--text-muted); }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}

.alert-success { background: rgba(45,122,79,.1);  border: 1px solid rgba(45,122,79,.25);  color: var(--success); }
.alert-warning { background: rgba(180,83,9,.1);   border: 1px solid rgba(180,83,9,.25);   color: var(--warning); }
.alert-danger  { background: rgba(197,48,48,.1);  border: 1px solid rgba(197,48,48,.25);  color: var(--danger); }
.alert-info    { background: rgba(26,107,138,.1); border: 1px solid rgba(26,107,138,.25); color: var(--info); }

/* ============================================================
   TABELLEN
   ============================================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

thead th {
  padding: .85rem 1rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-subtle); }

/* ============================================================
   HERO SECTION — kompakt, Bild dominant, kein Stats-Block
   ============================================================ */
.hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Hintergrundbild vollständig sichtbar */
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}

/* Dunkler Overlay damit Text lesbar bleibt */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 15, 50, 0.80) 0%,
    rgba(10, 30, 80, 0.70) 50%,
    rgba(5, 10, 40, 0.75) 100%
  );
}

/* Inhalt über Overlay */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 3.5rem 0;
}

/* Titel weiß */
.hero-title {
  color: #ffffff !important;
  margin-bottom: .85rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* Beschreibung hell */
.hero-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Ghost-Button im Hero: weiß statt grau */
.btn-hero-ghost {
  background: transparent;
  color: rgba(255,255,255,.88);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.14);
  color: #ffffff;
  border-color: rgba(255,255,255,.7);
}

/* ============================================================
   USP-BAND — Stats links + 4 USP-Icons rechts
   ============================================================ */
.usps-band {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 2rem 0;
}

.usps-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* Stats-Block links */
.usps-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 2.5rem;
  border-right: 1px solid var(--border);
  margin-right: 2.5rem;
  flex-shrink: 0;
}

.usp-stat {
  text-align: center;
  padding: 0 1.5rem;
}

.usp-stat:first-child { padding-left: 0; }

.usp-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

.usp-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .2rem;
}

.usp-stat-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
  white-space: nowrap;
}

/* USP-Icons rechts als 4-er Grid */
.usps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  flex: 1;
}

.usp-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.usp-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: .3rem;
}

.usp-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.usp-desc {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* CTA-Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark, #0d2055), var(--primary, #1565c0));
  padding: 4rem 0;
}

.cta-title {
  color: #fff;
  margin-bottom: .75rem;
}

.cta-sub {
  color: rgba(255,255,255,.8) !important;
  margin-bottom: 2rem;
}

.btn-outline-white {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

/* Review Avatar */
.review-author {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(21,101,192,.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

.section-header h2 { margin-bottom: .75rem; }
.section-header p  { font-size: 1rem; }

/* ============================================================
   PRODUKT-CARDS
   ============================================================ */
.product-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-card:hover::before { opacity: 1; }

.product-card.is-top {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.product-card.is-top::before { opacity: 1; }

.product-badge-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 999px;
}

.product-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(26,107,94,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.product-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }

.product-card .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.03em;
  margin: 1.25rem 0;
}

.product-card .price span {
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.product-features {
  list-style: none;
  margin: 0 0 1.5rem;
  flex: 1;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
  padding: .3rem 0;
}

.product-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   BEWERTUNGEN
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}

.review-card:hover { box-shadow: var(--shadow); }

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}

.review-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   PARTNER
   ============================================================ */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: stretch;
}

/* Modernes Partner-Card Design – vertikal, Logo oben, dunkles Design */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

.partner-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .875rem;
  width: 240px;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  transition: all .25s ease;
  position: relative;
  backdrop-filter: blur(4px);
}

.partner-card:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
  color: #fff;
}

/* Kein Rahmen, kein Hintergrund – reines Bild */
.partner-card-logo {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  overflow: hidden;
}

/* Quadratische Logos zentriert, breite Banner volle Breite */
.partner-card-logo img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-card-initial {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
}

.partner-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.partner-card-url {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin: 0;
}

.partner-card-badge {
  position: absolute;
  top: .6rem;
  right: .75rem;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 999px;
  padding: .15rem .55rem;
}
.partner-card-badge--reseller {
  background: #1a6b9a;
  color: #ffffff;
  border: none;
}
.partner-card-badge--partner {
  background: #1a7a4a;
  color: #ffffff;
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

.footer-brand-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-contact-link:hover { color: var(--primary); }

.footer-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   DARK MODE TOGGLE
   ============================================================ */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  color: var(--text-muted);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.py-1 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.w-100       { width: 100%; }
.d-none      { display: none; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

/* Scroll-in Animationen */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FEHLENDE BOOTSTRAP-KOMPATIBLE UTILITIES
   ============================================================ */
.text-white        { color: #ffffff !important; }
.fw-bold           { font-weight: 700 !important; }
.fw-semibold       { font-weight: 600 !important; }
.fw-500            { font-weight: 500; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.h-100             { height: 100%; }
.w-100             { width: 100%; }
.shadow-sm         { box-shadow: 0 .125rem .25rem rgba(0,0,0,.12); }
.d-flex            { display: flex; }
.d-none            { display: none; }
.flex-column       { flex-direction: column; }
.flex-shrink-0     { flex-shrink: 0; }
.align-items-center   { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center  { justify-content: center; }
.small             { font-size: .875rem; }
.mt-auto           { margin-top: auto; }
.mb-2              { margin-bottom: .5rem !important; }
.mb-3              { margin-bottom: 1rem !important; }
.mb-5              { margin-bottom: 3rem !important; }
.mx-3              { margin-left: 1rem; margin-right: 1rem; }
.px-2              { padding-left: .5rem; padding-right: .5rem; }
.py-5              { padding-top: 3rem; padding-bottom: 3rem; }

/* ============================================================
   REVIEW & PARTNER SLIDER
   ============================================================ */
.review-slider-wrapper {
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.review-slider-wrapper::-webkit-scrollbar { display: none; }

.review-track-container {
  display: flex;
  white-space: nowrap;
}

.review-slider-track,
.review-slider-track-clone {
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  gap: 0;
}

.review-box {
  min-width: 300px;
  max-width: 300px;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #193F4C;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.review-box-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1rem;
}

.review-box .review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: .1em;
}

.review-box .review-message {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100px;
  color: #1a2a35;
  white-space: normal;
}
.review-box .review-message::-webkit-scrollbar { width: 4px; }
.review-box .review-message::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.review-box .review-message-inner {
  word-break: break-word;
  white-space: normal;
}

.review-box .review-author {
  font-size: .85rem;
  font-weight: 600;
  color: #1a2a35;
  white-space: normal;
}

@media (max-width: 768px) {
  .review-box { min-width: 260px; max-width: 260px; height: 220px; }
}


@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .usps-inner { flex-direction: column; gap: 1.5rem; }
  .usps-stats { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; justify-content: center; }
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .navbar-nav { display: none; }
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--bg);
    padding: 2rem 1.5rem;
    z-index: 99;
    border-top: 1px solid var(--border);
    gap: .5rem;
  }
  .navbar-toggle { display: flex; }
  .hero { min-height: auto; }
  .hero-content { padding: 2.5rem 0; }
  .usps-stats { flex-wrap: wrap; gap: 1rem; }
  .usp-stat { padding: 0 1rem; }
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ============================================================

/* ============================================================
   ORIGINAL NEXUSRADIO-HOSTING DESIGN
   Basierend auf der Original-Quellcode-Analyse
   ============================================================ */

/* Body: kein eigener Hintergrund - Gradient kommt von theme.php */
body {
  color: #ffffff;
  font-family: var(--font-display, 'DM Sans', 'Segoe UI', system-ui, sans-serif);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative !important;
}

.nav-link {
  color: #1a2a35 !important;
  font-weight: 500 !important;
  padding: .4rem 1rem !important;
}
.nav-link:hover, .nav-link.active {
  color: #0d3a4d !important;
  background: rgba(0,0,0,0.08) !important;
}

.navbar-brand {
  color: #1a2a35 !important;
  font-weight: 600 !important;
}
.navbar-brand-text { color: #1a2a35 !important; }

/* ── HERO ───────────────────────────────────────────────────── */
/* Original: bg-hosting.webp mit overlay rgba(0,0,0,0.5), min-height 500px */
.hero {
  position: relative !important;
  min-height: 500px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background: transparent !important;
}

.hero-bg-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
}

.hero-overlay {
  background: rgba(0,0,0,0.5) !important;
}

.hero-title {
  color: #ffffff !important;
  font-size: 2.8rem !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero-description {
  color: rgba(255,255,255,.92) !important;
  font-size: 1.6rem !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ── SEKTIONEN ──────────────────────────────────────────────── */
#top-produkte {
  background: transparent !important;
}

#bewertungen,
#partner {
  background: transparent !important;
}

.usps-band {
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.footer {
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,.1) !important;
}

/* Text auf dunklen Sektionen weiß */
#top-produkte h2,
#top-produkte .section-label,
#top-produkte p,
#bewertungen h2,
#bewertungen .section-label,
#partner h2,
#partner .section-label,
.usps-band .usp-stat-value,
.usps-band .usp-stat-label,
.usps-band .usp-title,
.usps-band .usp-desc,
.usps-band .usp-icon {
  color: #ffffff !important;
}

/* Cards auf dunklem Hintergrund — nutzen Design-Variablen */
#top-produkte .product-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  color: var(--card-text, var(--text)) !important;
  display: flex !important;
  flex-direction: column !important;
}
#top-produkte .product-card h3 { color: var(--card-text, var(--heading-color, var(--text))) !important; }
#top-produkte .product-card .text-muted { color: #5a7080 !important; }
/* Preis und Button immer unten */
#top-produkte .product-card .price {
  color: #1565c0 !important;
  margin-top: auto !important;
  padding-top: 1rem !important;
}
#top-produkte .product-card .btn { margin-top: .75rem !important; }
#top-produkte .product-card .product-features { flex: 1 !important; }
#top-produkte .product-card li { color: #2a4a5a !important; }

/* Footer-Text weiß */
.footer-brand-name,
.footer-brand-desc,
.footer-heading,
.footer-links a,
.footer-contact-link,
.footer-bottom {
  color: rgba(255,255,255,.8) !important;
}
.footer-links a:hover,
.footer-contact-link:hover {
  color: #ffffff !important;
}
.footer-bottom {
  border-top-color: rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.5) !important;
}

/* Review-Cards */
.review-card {
  background: rgba(255,255,255,0.08) !important;
  border: 2px solid #193F4C !important;
  color: #ffffff !important;
}
.review-text, .review-author {
  color: rgba(255,255,255,.9) !important;
}
.review-stars { color: #f59e0b !important; }

/* Partner-Items: siehe .partner-card oben */

/* Hero: Bild als CSS background-image als Fallback wenn kein img-Tag */
.hero {
  background-image: url('/uploads/bg-hosting.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Navbar: Logo ganz links, Nav zentriert, Auth ganz rechts */
.navbar-inner {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

/* Navbar-Höhe 92px, Logo 90px */
.navbar-inner {
  height: 92px !important;
}
.navbar-brand img {
  height: 90px !important;
  width: auto !important;
  max-height: 90px !important;
}

.navbar .btn-ghost {
  color: #1a2a35 !important;
}
.navbar .btn-ghost:hover {
  background: rgba(0,0,0,0.08) !important;
  color: #0d3a4d !important;
}
.navbar .btn-outline {
  color: #1a2a35 !important;
  border-color: #1a2a35 !important;
}
.navbar .btn-outline:hover {
  background: #1a2a35 !important;
  color: #ffffff !important;
}

/* Hero: volle Breite, schlank, wie Original */
.hero {
  width: 100% !important;
  max-width: none !important;
  min-height: 280px !important;
  background-image: url('/uploads/bg-hosting.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Hero finale Höhe */
.hero { min-height: 500px !important; }

/* ============================================================
   FRONTEND/KUNDEN DESIGN — nur außerhalb des Admin-Bereichs
   ============================================================ */

/* Cards — Design-Variablen aus Admin/Design-Tab */
body:not(.admin-body) .card,
body:not(.admin-body) .product-card,
body:not(.admin-body) .review-card,
body:not(.admin-body) .review-box {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  color: var(--card-text, var(--text)) !important;
}
body:not(.admin-body) .card h1,
body:not(.admin-body) .card h2,
body:not(.admin-body) .card h3,
body:not(.admin-body) .card h4,
body:not(.admin-body) .card h5,
body:not(.admin-body) .card p,
body:not(.admin-body) .card label,
body:not(.admin-body) .product-card h3,
body:not(.admin-body) .product-card p,
body:not(.admin-body) .product-card li,
body:not(.admin-body) .review-card .review-text,
body:not(.admin-body) .review-card .review-author,
body:not(.admin-body) .review-box .review-author { color: var(--card-text, var(--text)) !important; }
body:not(.admin-body) .card .text-muted,
body:not(.admin-body) .product-card .text-muted { color: var(--text-muted) !important; }

/* Kunden-Sidebar */
body:not(.admin-body) .customer-sidebar {
  background: rgba(10,30,60,0.7) !important;
  border-right: 1px solid rgba(255,255,255,.1) !important;
}
body:not(.admin-body) .sidebar-link { color: rgba(255,255,255,.75) !important; }
body:not(.admin-body) .sidebar-link:hover { background: rgba(255,255,255,.1) !important; color: #ffffff !important; }
body:not(.admin-body) .sidebar-link.active { background: rgba(21,101,192,.3) !important; color: #ffffff !important; }
body:not(.admin-body) .sidebar-label { color: rgba(255,255,255,.5) !important; }
body:not(.admin-body) .sidebar-user { background: rgba(255,255,255,.08) !important; }
body:not(.admin-body) .sidebar-user-name { color: #ffffff !important; }
body:not(.admin-body) .sidebar-user-knr { color: rgba(255,255,255,.6) !important; }

/* Section-Labels und Headings auf Gradient */
body:not(.admin-body) .section-label { color: rgba(255,255,255,.7) !important; }
body:not(.admin-body) .section-header h2,
body:not(.admin-body) .section-header p { color: #ffffff !important; }

/* Alerts auf Gradient */
body:not(.admin-body) .alert { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.2) !important; color: #ffffff !important; }
body:not(.admin-body) .alert-success { background: rgba(45,122,79,.3) !important; border-color: rgba(45,122,79,.5) !important; }
body:not(.admin-body) .alert-danger  { background: rgba(197,48,48,.3) !important; border-color: rgba(197,48,48,.5) !important; }
body:not(.admin-body) .alert-info    { background: rgba(26,107,138,.3) !important; border-color: rgba(26,107,138,.5) !important; }
body:not(.admin-body) .alert-warning { background: rgba(180,83,9,.3) !important; border-color: rgba(180,83,9,.5) !important; }

/* Formular-Labels auf Gradient */
body:not(.admin-body) .form-group label,
body:not(.admin-body) .form-label { color: rgba(255,255,255,.9) !important; }
body:not(.admin-body) .card .form-group label,
body:not(.admin-body) .card .form-label { color: #1a2a35 !important; }

/* Tabellen auf Gradient */
body:not(.admin-body) th { color: rgba(255,255,255,.7) !important; }
body:not(.admin-body) td { color: #ffffff !important; }

/* Container/Sections: transparent */
body:not(.admin-body) .section,
body:not(.admin-body) .section-sm,
body:not(.admin-body) .section-lg { background: transparent !important; }

/* Überschriften auf Gradient */
body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3 { color: #ffffff; }
body:not(.admin-body) .card h1,
body:not(.admin-body) .card h2,
body:not(.admin-body) .card h3 { color: #1a2a35; }

/* ============================================================
   ADMIN-BODY: CSS-Variablen
   ============================================================ */

/* ── Gemeinsame Variablen für alle eingeloggten Bereiche ────── */
body.admin-body,
body.customer-body {
  --text:        #ffffff;
  --text-muted:  rgba(255,255,255,.7);
  --text-light:  rgba(255,255,255,.45);
  --bg-card:     rgba(0,0,0,.35);
  --bg-subtle:   rgba(255,255,255,.06);
  --border:      rgba(255,255,255,.15);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.35);
  --shadow:      0 4px 20px rgba(0,0,0,.45);
}

/* ── Hintergrund: Gradient aus theme.php ────────────────────── */
body.admin-body,
body.customer-body {
  background: var(--gradient) !important;
  background-attachment: scroll !important;
}

/* ── Cards & Boxen ──────────────────────────────────────────── */
body.admin-body .card,
body.admin-body .admin-card,
body.customer-body .card {
  background: rgba(0,0,0,.35) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  color: #ffffff !important;
}

/* Alle Text-Elemente innerhalb Cards */
body.admin-body .card *,
body.admin-body .admin-card *,
body.customer-body .card * {
  color: #ffffff;
}
body.admin-body .card .text-muted,
body.admin-body .admin-card .text-muted,
body.customer-body .card .text-muted {
  color: rgba(255,255,255,.6) !important;
}
body.admin-body .card .text-sm,
body.customer-body .card .text-sm {
  color: rgba(255,255,255,.75) !important;
}
body.admin-body .card a,
body.customer-body .card a {
  color: #7ec8e3 !important;
}
body.admin-body .card a:hover,
body.customer-body .card a:hover {
  color: #a8d8ea !important;
}

/* Card-Header */
body.admin-body .card-header,
body.admin-body .admin-card-header,
body.customer-body .card-header {
  color: rgba(255,255,255,.7) !important;
  border-bottom-color: rgba(255,255,255,.12) !important;
  background: rgba(0,0,0,.15) !important;
}

/* ── Tabellen ───────────────────────────────────────────────── */
body.admin-body thead th,
body.admin-body .admin-table th,
body.customer-body thead th {
  color: rgba(255,255,255,.6) !important;
  background: rgba(0,0,0,.2) !important;
  border-bottom-color: rgba(255,255,255,.12) !important;
}
body.admin-body tbody td,
body.admin-body .admin-table td,
body.customer-body tbody td {
  color: #ffffff !important;
  border-bottom-color: rgba(255,255,255,.07) !important;
}
body.admin-body tbody tr:hover td,
body.admin-body .admin-table tr:hover td,
body.customer-body tbody tr:hover td {
  background: rgba(255,255,255,.06) !important;
}

/* ── Formularfelder ─────────────────────────────────────────── */
body.admin-body .form-control,
body.admin-body .admin-input,
body.customer-body .form-control {
  background: rgba(0,0,0,.4) !important;
  border-color: rgba(255,255,255,.2) !important;
  color: #ffffff !important;
}
body.admin-body .form-control:focus,
body.admin-body .admin-input:focus,
body.customer-body .form-control:focus {
  border-color: rgba(255,255,255,.5) !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,.08) !important;
}
body.admin-body .form-control::placeholder,
body.admin-body .admin-input::placeholder,
body.customer-body .form-control::placeholder {
  color: rgba(255,255,255,.3) !important;
}
body.admin-body label,
body.admin-body .admin-form-group label,
body.admin-body .form-hint,
body.customer-body label,
body.customer-body .form-hint {
  color: rgba(255,255,255,.75) !important;
}
body.admin-body select.form-control option,
body.admin-body select.admin-input option,
body.customer-body select.form-control option {
  background: #0d2a3d;
  color: #ffffff;
}

/* ── Badges & Pills ─────────────────────────────────────────── */
body.admin-body .badge,
body.customer-body .badge {
  color: #ffffff !important;
}

/* ── Alerts ─────────────────────────────────────────────────── */
body.admin-body .alert,
body.customer-body .alert { color: #ffffff !important; }
body.admin-body .alert-success,
body.customer-body .alert-success { background: rgba(45,122,79,.35) !important; border-color: rgba(45,122,79,.5) !important; }
body.admin-body .alert-danger,
body.customer-body .alert-danger  { background: rgba(197,48,48,.35) !important; border-color: rgba(197,48,48,.5) !important; }
body.admin-body .alert-info,
body.customer-body .alert-info    { background: rgba(26,107,138,.35) !important; border-color: rgba(26,107,138,.5) !important; }
body.admin-body .alert-warning,
body.customer-body .alert-warning { background: rgba(180,83,9,.35) !important; border-color: rgba(180,83,9,.5) !important; }

/* ── Headings & Text außerhalb von Cards ────────────────────── */
body.admin-body h1, body.admin-body h2, body.admin-body h3,
body.admin-body h4, body.admin-body h5,
body.customer-body h1, body.customer-body h2, body.customer-body h3,
body.customer-body h4, body.customer-body h5 { color: #ffffff !important; }
body.admin-body p,
body.customer-body p { color: rgba(255,255,255,.8) !important; }
body.admin-body .text-muted,
body.customer-body .text-muted { color: rgba(255,255,255,.6) !important; }

/* ── Admin Stat-Cards ───────────────────────────────────────── */
body.admin-body .stat-card {
  background: rgba(0,0,0,.35) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
}
body.admin-body .stat-value { color: #ffffff !important; }
body.admin-body .stat-label { color: rgba(255,255,255,.55) !important; }

/* ── Admin Topbar ───────────────────────────────────────────── */
body.admin-body .admin-topbar { border-bottom-color: rgba(255,255,255,.1) !important; }
body.admin-body .admin-topbar h1 { color: #ffffff !important; }

/* ── Admin Sidebar ──────────────────────────────────────────── */
body.admin-body .admin-sidebar {
  background: rgba(0,0,0,.45) !important;
  border-right-color: rgba(255,255,255,.1) !important;
}
body.admin-body .admin-sidebar-head { border-bottom-color: rgba(255,255,255,.1) !important; }
body.admin-body .admin-sidebar-logo { color: #ffffff !important; }
body.admin-body .admin-nav-label { color: rgba(255,255,255,.35) !important; }
body.admin-body .admin-nav-link { color: rgba(255,255,255,.65) !important; }
body.admin-body .admin-nav-link:hover { background: rgba(255,255,255,.1) !important; color: #ffffff !important; }
body.admin-body .admin-nav-link.active { background: rgba(255,255,255,.15) !important; color: #ffffff !important; }
body.admin-body .admin-sidebar-foot { border-top-color: rgba(255,255,255,.1) !important; }

/* ── Kunden-Sidebar ─────────────────────────────────────────── */
body.customer-body .customer-sidebar {
  background: rgba(0,0,0,.3) !important;
  border-right: 1px solid rgba(255,255,255,.12) !important;
}
body.customer-body .sidebar-label { color: rgba(255,255,255,.4) !important; }
body.customer-body .sidebar-link { color: rgba(255,255,255,.75) !important; }
body.customer-body .sidebar-link:hover { background: rgba(255,255,255,.1) !important; color: #ffffff !important; }
body.customer-body .sidebar-link.active { background: rgba(255,255,255,.18) !important; color: #ffffff !important; font-weight: 600 !important; }
body.customer-body .sidebar-user { background: rgba(0,0,0,.25) !important; border-radius: var(--radius); }
body.customer-body .sidebar-user-name { color: #ffffff !important; }
body.customer-body .sidebar-user-knr { color: rgba(255,255,255,.55) !important; }

/* ── Reseller Sidebar (customer-body) ───────────────────────── */
body.customer-body .reseller-sidebar {
  background: rgba(0,0,0,.3) !important;
  border-right: 1px solid rgba(255,255,255,.12) !important;
}

/* ── Divider / Trennlinien ──────────────────────────────────── */
body.admin-body .divider,
body.customer-body .divider,
body.admin-body hr,
body.customer-body hr { border-color: rgba(255,255,255,.1) !important; }

/* ── Buttons im eingeloggten Bereich ────────────────────────── */
body.admin-body .btn-ghost,
body.customer-body .btn-ghost {
  color: rgba(255,255,255,.8) !important;
}
body.admin-body .btn-ghost:hover,
body.customer-body .btn-ghost:hover {
  background: rgba(255,255,255,.1) !important;
  color: #ffffff !important;
}
body.admin-body .btn-outline,
body.customer-body .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255,255,255,.4) !important;
}
body.admin-body .btn-outline:hover,
body.customer-body .btn-outline:hover {
  background: rgba(255,255,255,.15) !important;
  color: #ffffff !important;
}

/* ── Table-wrap border ──────────────────────────────────────── */
body.admin-body .table-wrap,
body.customer-body .table-wrap {
  border-color: rgba(255,255,255,.12) !important;
}

/* ── Billing-Option-Cards (Produktseite) ────────────────────── */
body.customer-body .billing-option-card {
  border-color: rgba(255,255,255,.2) !important;
  color: #ffffff !important;
  background: rgba(0,0,0,.2) !important;
}

/* ── Preisübersicht-Box ─────────────────────────────────────── */
body.customer-body [style*="background:var(--bg-subtle)"],
body.customer-body [style*="background: var(--bg-subtle)"] {
  background: rgba(0,0,0,.25) !important;
}


/* ============================================================
   FINALE KORREKTUREN - kein Überschreiben mehr nötig
   ============================================================ */

/* Frontend body: Gradient auf gesamte Seitenhoehe gestreckt.
   Navbar transparent darueber. Hero-Bild verdeckt seinen Bereich.
   Sections haben inline background:transparent -> zeigen body-Gradient. */
body:not(.admin-body):not(.customer-body) {
  background: var(--gradient) !important;
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
  background-size: 100% 3000px !important;
}
body:not(.admin-body):not(.customer-body) .navbar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Unterseiten (ohne Hero): Body-Hintergrundfarbe = Stop-2-Farbe auf weiß geblended
   → kein Cut zwischen Navbar-Gradient und Body-Gradient */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

/* Navi eigener Verlauf — OHNE Hero (Unterseiten) */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .navbar {
  background: var(--gradient-header), #ffffff !important;
  max-width: 100vw !important;
  overflow-x: clip !important;
}


/* ============================================================
   HERO SECTION – Exakte Rekonstruktion des Originals
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 500px;
}
/* Container in hero-section: position:static damit Logo relativ zur Section liegt */
.hero-section > .container {
  position: static !important;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.container {
  position: relative;
}

.dummy-content {
  height: 200px;
}

.header-logo {
  position: absolute;
  width: clamp(120px, 9%, 180px);
  top: 26%;
  right: 8%;
  left: auto;
  transform: none;
  height: auto;
  z-index: 2;
}

.welcome-text {
  position: absolute;
  white-space: nowrap;
  top: -4%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4.0rem;
  color: white;
  margin: 0;
}

.subline-text {
  position: absolute;
  white-space: nowrap;
  top: 136%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.7rem;
  color: white;
  margin: 0;
}

@media only screen and (max-width: 480px) {
  .header-logo {
    display: block;
    top: 35%;
    right: 3%;
    left: auto;
    width: 42%;
    transform: none;
  }

  .welcome-text {
    top: -4%;
    left: 50%;
    font-size: 1.0rem;
    text-align: center;
  }

  .subline-text {
    top: 138%;
    left: 50%;
    font-size: 0.55rem;
    text-align: center;
  }
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
  .header-logo {
    display: block;
    top: 35%;
    right: 3%;
    left: auto;
    width: 38%;
    transform: none;
  }

  .welcome-text {
    top: -4%;
    left: 50%;
    font-size: 1.7rem;
    text-align: center;
  }

  .subline-text {
    top: 138%;
    left: 50%;
    font-size: 1.1rem;
    text-align: center;
  }
}

@media only screen and (min-width: 769px) and (max-width: 991px) {
  .header-logo {
    width: clamp(90px, 9%, 150px);
    top: 26%;
    right: 8%;
    left: auto;
    transform: none;
  }

  .welcome-text {
    top: -4%;
    left: 50%;
    font-size: 2.4rem;
    text-align: left;
  }

  .subline-text {
    top: 138%;
    left: 50%;
    font-size: 1.5rem;
    text-align: left;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header-logo {
    width: clamp(100px, 9%, 160px);
    top: 26%;
    right: 8%;
    left: auto;
    transform: none;
  }

  .welcome-text {
    top: -4%;
    left: 50%;
    font-size: 3rem;
    text-align: left;
  }

  .subline-text {
    top: 138%;
    left: 50%;
    font-size: 1.8rem;
    text-align: left;
  }
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* ============================================================
   FINAL: Hero ausgespart, Verlauf ab Farbe 2 bis Seitenende/Footer
   ============================================================ */

:root {
  --nav-final-h: 92px;
  --hero-final-h: 500px;
  --gradient-start-y: calc(var(--nav-final-h) + var(--hero-final-h));
}

html {
  min-height: 100%;
  background: #ffffff;
}

body:not(.admin-body):not(.customer-body) {
  min-height: 100%;
  color: #ffffff;

  /* EIN Verlauf ab direkt nach dem Hero bis zum Seitenende */
  background-image: var(--gradient-content) !important;
  background-color: #ffffff !important;
  background-repeat: no-repeat !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

/* Navi eigener Verlauf Farbe 1 -> Farbe 2 — nur MIT Hero */
body:not(.admin-body):not(.customer-body):has(.hero-section) .navbar {
  background: var(--gradient-header), #ffffff !important;
}

/* Hero eigenes Bild, nicht im Verlauf */
body:not(.admin-body):not(.customer-body) .hero-section {
  position: relative !important;
  min-height: var(--hero-final-h) !important;
  overflow: hidden !important;
  background: #000000 !important;
}

body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  z-index: 0 !important;
}

body:not(.admin-body):not(.customer-body) .hero-section .overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.5) !important;
  z-index: 1 !important;
}

body:not(.admin-body):not(.customer-body) .hero-section .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Alle Bereiche und Footer transparent, damit BODY-Verlauf durchläuft */
body:not(.admin-body):not(.customer-body) section:not(.hero-section),
body:not(.admin-body):not(.customer-body) #top-produkte,
body:not(.admin-body):not(.customer-body) #bewertungen,
body:not(.admin-body):not(.customer-body) #partner,
body:not(.admin-body):not(.customer-body) .usps-band,
body:not(.admin-body):not(.customer-body) footer,
body:not(.admin-body):not(.customer-body) .footer,
body:not(.admin-body):not(.customer-body) .site-footer {
  background: transparent !important;
}

@media (max-width: 768px) {
  :root {
    --nav-final-h: 60px;
    --hero-final-h: 300px;
  }
}

/* ============================================================
   FINAL FIX: Hero proportional, aber ohne horizontales Verschieben
   ============================================================ */

/*
  WICHTIG:
  - Kein Element darf breiter als der Viewport werden.
  - Hero bleibt proportional, aber Mobile bekommt eigenen Bildausschnitt.
  - Das Hero-Bild wird NICHT in der Breite gezogen, sondern sauber gecroppt.
  - Texte dürfen auf Mobile umbrechen, damit kein horizontaler Scroll entsteht.
*/

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

:root {
  --nav-final-h: 92px;

  /*
    Desktop-Ratio:
    Alter Hero ca. 1920 x 500
  */
  --hero-final-h: clamp(360px, 26.0417vw, 500px);
  --gradient-start-y: calc(var(--nav-final-h) + var(--hero-final-h));
}

/* Verlauf startet erst unter Navi + Hero */
body:not(.admin-body):not(.customer-body) {
  min-height: 100%;
  color: #ffffff;

  background-image: var(--gradient-content) !important;
  background-color: #ffffff !important;
  background-repeat: no-repeat !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

/* Navi eigener Verlauf — nur MIT Hero */
body:not(.admin-body):not(.customer-body):has(.hero-section) .navbar {
  background: var(--gradient-header), #ffffff !important;
  max-width: 100vw !important;
  overflow-x: clip !important;
}

body:not(.admin-body):not(.customer-body) .navbar-inner {
  max-width: 100vw !important;
  overflow-x: clip !important;
}

/* Hero: fester Viewport-Rahmen, kein Breiterwerden */
body:not(.admin-body):not(.customer-body) .hero-section {
  position: relative !important;

  width: 100% !important;
  max-width: 100vw !important;

  height: var(--hero-final-h) !important;
  min-height: 0 !important;

  padding-top: 0 !important;
  padding-bottom: 0 !important;

  overflow: hidden !important;
  background: #000000 !important;
}

/* Hero-Hintergrundbild:
   Desktop zeigt den ähnlichen Ausschnitt wie alt.
   Kein Bild darf den Viewport verbreitern. */
body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img {
  position: absolute !important;
  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  object-fit: cover !important;
  object-position: center center !important;

  display: block !important;
  z-index: 0 !important;
}

/* Overlay */
body:not(.admin-body):not(.customer-body) .hero-section .overlay {
  position: absolute !important;
  inset: 0 !important;

  background: rgba(0,0,0,0.5) !important;
  z-index: 1 !important;
}

/* Container darf nicht breiter als Hero werden */
body:not(.admin-body):not(.customer-body) .hero-section .container {
  position: static !important;
  z-index: 2 !important;

  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;

  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

body:not(.admin-body):not(.customer-body) .hero-section .dummy-content {
  display: none !important;
}

/* Hero-Logo: Prozentposition im Hero, nicht am Body */
body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
  position: absolute !important;

  left: 74.5% !important;
  top: 43% !important;

  width: clamp(170px, 14vw, 275px) !important;
  height: auto !important;
  max-width: 22vw !important;

  transform: translate(-50%, -50%) !important;

  z-index: 3 !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Titel */
body:not(.admin-body):not(.customer-body) .hero-section .welcome-text {
  position: absolute !important;

  left: 50% !important;
  top: 8% !important;

  transform: translateX(-50%) !important;

  width: calc(100% - 2rem) !important;
  max-width: 1600px !important;

  white-space: nowrap !important;
  text-align: center !important;

  font-size: clamp(2.2rem, 3.55vw, 4.2rem) !important;
  line-height: 1.05 !important;

  color: #ffffff !important;
  margin: 0 !important;
  z-index: 4 !important;
}

/* Subline: bleibt immer sichtbar */
body:not(.admin-body):not(.customer-body) .hero-section .subline-text {
  position: absolute !important;

  left: 50% !important;
  bottom: 7% !important;
  top: auto !important;

  transform: translateX(-50%) !important;

  width: calc(100% - 2rem) !important;
  max-width: 1600px !important;

  white-space: nowrap !important;
  text-align: center !important;

  font-size: clamp(1.2rem, 2.05vw, 2.55rem) !important;
  line-height: 1.1 !important;

  color: #ffffff !important;
  margin: 0 !important;
  z-index: 4 !important;
}

/* Alles nach Hero transparent, damit Body-Verlauf durchläuft */
body:not(.admin-body):not(.customer-body) section:not(.hero-section),
body:not(.admin-body):not(.customer-body) #top-produkte,
body:not(.admin-body):not(.customer-body) #bewertungen,
body:not(.admin-body):not(.customer-body) #partner,
body:not(.admin-body):not(.customer-body) .usps-band,
body:not(.admin-body):not(.customer-body) footer,
body:not(.admin-body):not(.customer-body) .footer,
body:not(.admin-body):not(.customer-body) .site-footer {
  background: transparent !important;
}

/* Gegen horizontales Schieben durch Cards/Slider */
body:not(.admin-body):not(.customer-body) .container,
body:not(.admin-body):not(.customer-body) .grid-3,
body:not(.admin-body):not(.customer-body) .review-slider-wrapper,
body:not(.admin-body):not(.customer-body) .review-track-container {
  max-width: 100% !important;
}

/* Tablet */
@media only screen and (min-width: 769px) and (max-width: 1199px) {
  :root {
    --hero-final-h: clamp(330px, 31vw, 430px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img {
    object-position: center center !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 76% !important;
    top: 43% !important;
    width: clamp(135px, 16vw, 210px) !important;
    max-width: 22vw !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text {
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text {
    font-size: clamp(1rem, 2.4vw, 1.75rem) !important;
  }
}

/* Mobile:
   NICHT das breite Desktop-Bild in den Viewport drücken.
   Cover bleibt, aber der Ausschnitt wird auf die relevante Mitte gelegt.
*/
@media only screen and (max-width: 768px) {
  :root {
    --nav-final-h: 60px;

    /*
      Mobile Hero nicht nach 1920:500 erzwingen,
      sonst wird er viel zu flach und das Bild wirkt zu breit.
    */
    --hero-final-h: clamp(260px, 62vw, 360px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section {
    width: 100% !important;
    max-width: 100vw !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    /*
      Etwas links halten, damit der zentrale Web-Hosting Bereich
      und nicht nur die dunkle rechte Fläche sichtbar ist.
    */
    object-position: 42% center !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text {
    top: 9% !important;

    width: calc(100% - 1.5rem) !important;
    max-width: calc(100% - 1.5rem) !important;

    white-space: normal !important;
    text-align: center !important;

    font-size: clamp(1.15rem, 5.2vw, 2.05rem) !important;
    line-height: 1.1 !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text {
    bottom: 6% !important;

    width: calc(100% - 1.5rem) !important;
    max-width: calc(100% - 1.5rem) !important;

    white-space: normal !important;
    text-align: center !important;

    font-size: clamp(0.78rem, 3.15vw, 1.08rem) !important;
    line-height: 1.22 !important;
  }

  body:not(.admin-body):not(.customer-body) .product-card,
  body:not(.admin-body):not(.customer-body) .review-box {
    max-width: calc(100vw - 2rem) !important;
  }
}

/* Sehr schmale Geräte */
@media only screen and (max-width: 420px) {
  :root {
    --hero-final-h: clamp(240px, 68vw, 320px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img {
    object-position: 40% center !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text {
    font-size: clamp(1rem, 5.5vw, 1.45rem) !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text {
    font-size: clamp(0.68rem, 3.1vw, 0.9rem) !important;
  }
}

/* ============================================================
   FINAL FIX: Header-Logo im Hero-Bild immer in der rechten Box
   ============================================================ */

/*
  Das Logo sitzt jetzt relativ zur Hero-Fläche.
  Weil der Hero proportional bleibt, bleibt auch das Logo passend im Kasten.
  Keine feste px-Position, kein Wandern an den Rand.
*/

body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
  position: absolute !important;

  /* Position im rechten dunklen Kasten */
  left: 79.1% !important;
  top: 44.5% !important;

  /* Größe passend zur Hero-/Bildgröße */
  width: clamp(250px, 17vw, 390px) !important;
  max-width: 19vw !important;
  min-width: 150px !important;
  height: auto !important;

  transform: translate(-50%, -50%) !important;

  z-index: 3 !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Sehr große Monitore */
@media only screen and (min-width: 1700px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 78.8% !important;
    top: 44% !important;
    width: clamp(300px, 16vw, 430px) !important;
    max-width: 17vw !important;
  }
}

/* Normale Desktop-/Laptop-Breiten */
@media only screen and (min-width: 1200px) and (max-width: 1699px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 79.6% !important;
    top: 44.5% !important;
    width: clamp(250px, 18vw, 390px) !important;
    max-width: 19vw !important;
  }
}

/* Tablet quer / kleinere Laptops */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 80.2% !important;
    top: 45% !important;
    width: clamp(220px, 21vw, 340px) !important;
    max-width: 20vw !important;
  }
}

/* Tablet hoch */
@media only screen and (min-width: 769px) and (max-width: 991px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 81% !important;
    top: 46% !important;
    width: clamp(175px, 22vw, 240px) !important;
    max-width: 21vw !important;
  }
}

/* Mobile: ausblenden, weil die rechte Box im Bildausschnitt nicht stabil sichtbar ist */
@media only screen and (max-width: 768px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    display: none !important;
  }
}

/* ============================================================
   FINAL FIX: Logo-Größe abhängig von Hero-Höhe statt nur VW
   ============================================================ */

/*
  Warum:
  vw alleine reagiert nur auf Breite.
  Der Hero ist aber jetzt per Ratio/Höhe gesteuert.
  Deshalb skaliert das Logo jetzt mit --hero-final-h.
*/

:root {
  --hero-logo-w: clamp(220px, calc(var(--hero-final-h) * 0.72), 410px);
}

/* Desktop / Standard */
body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
  display: block !important;

  position: absolute !important;

  left: 79.4% !important;
  top: 44.5% !important;

  width: var(--hero-logo-w) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;

  transform: translate(-50%, -50%) !important;

  z-index: 3 !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Sehr große Monitore */
@media only screen and (min-width: 1700px) {
  :root {
    --hero-logo-w: clamp(280px, calc(var(--hero-final-h) * 0.70), 430px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 78.8% !important;
    top: 44.2% !important;
  }
}

/* Zwischenansichten / kleinere Desktop-Breiten */
@media only screen and (min-width: 1200px) and (max-width: 1699px) {
  :root {
    --hero-logo-w: clamp(240px, calc(var(--hero-final-h) * 0.72), 380px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 79.8% !important;
    top: 44.8% !important;
  }
}

/* Tablet quer / kleine Laptops */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  :root {
    --hero-logo-w: clamp(205px, calc(var(--hero-final-h) * 0.66), 320px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 80.5% !important;
    top: 45% !important;
  }
}

/* Tablet hoch */
@media only screen and (min-width: 769px) and (max-width: 991px) {
  :root {
    --hero-logo-w: clamp(160px, calc(var(--hero-final-h) * 0.56), 250px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 81.5% !important;
    top: 46% !important;
  }
}

/*
  Mobile:
  Rechts im Bild ist der dunkle Kasten je nach Cropping nicht zuverlässig sichtbar.
  Deshalb sitzt das Logo mobil unten mittig zwischen Titel und Subline.
  So bleibt es gut erkennbar und kollidiert nicht mit der Subline.
*/
@media only screen and (max-width: 768px) {
  :root {
    --hero-logo-w: clamp(135px, 42vw, 220px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    display: block !important;

    left: 56% !important;
    top: auto !important;
    bottom: 0.8% !important;

    width: var(--hero-logo-w) !important;
    min-width: 0 !important;
    max-width: none !important;

    transform: translateX(-50%) !important;

    opacity: 0.96 !important;
    z-index: 4 !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text {
    bottom: 1.5% !important;
  }
}

/* Sehr kleine Smartphones */
@media only screen and (max-width: 420px) {
  :root {
    --hero-logo-w: clamp(120px, 45vw, 185px);
  }

  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    bottom: 3.5% !important;
  }
}

/* ============================================================
   FINAL FIX: Mobile Welcome + Subline NIEMALS umbrechen
   ============================================================ */

@media only screen and (max-width: 768px) {
  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text {
    white-space: nowrap !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: visible !important;

    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;

    font-size: clamp(0.95rem, 5.15vw, 1.55rem) !important;
    line-height: 1.05 !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text {
    white-space: nowrap !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: visible !important;

    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;

    font-size: clamp(0.46rem, 2.35vw, 0.78rem) !important;
    line-height: 1.05 !important;

    bottom: 1.2% !important;
  }
}

@media only screen and (max-width: 420px) {
  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text {
    font-size: clamp(0.86rem, 5.05vw, 1.2rem) !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text {
    font-size: clamp(0.39rem, 2.25vw, 0.62rem) !important;
    bottom: 1% !important;
  }
}

/* ============================================================
   FINAL FIX 2: Kein Umbruch bei Welcome/Subline + 4K Logo nicht zu weit rechts
   ============================================================ */

/*
  Wichtig:
  Es werden bewusst mehrere Selektoren gesetzt, weil je nach Stand der Datei
  welcome/subline mal als .welcome-text/.subline-text und mal als h2/h3
  innerhalb .hero-section überschrieben wurden.
*/

/* 4K / Ultra-Wide: Logo nicht zu weit rechts */
@media only screen and (min-width: 2560px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 75.2% !important;
    top: 44% !important;
    width: clamp(300px, calc(var(--hero-final-h) * 0.68), 440px) !important;
    max-width: none !important;
    transform: translate(-50%, -50%) !important;
  }
}

@media only screen and (min-width: 3840px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 73.8% !important;
    top: 44% !important;
    width: clamp(340px, calc(var(--hero-final-h) * 0.66), 470px) !important;
  }
}

/* Mobile: Texte dürfen NIEMALS umbrechen */
@media only screen and (max-width: 768px) {
  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text,
  body:not(.admin-body):not(.customer-body) .hero-section h2.welcome-text,
  body:not(.admin-body):not(.customer-body) .hero-section .subline-text,
  body:not(.admin-body):not(.customer-body) .hero-section h3.subline-text {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-wrap: nowrap !important;
    hyphens: none !important;

    display: block !important;
    width: max-content !important;
    max-width: none !important;

    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;

    text-align: center !important;
    overflow: visible !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text,
  body:not(.admin-body):not(.customer-body) .hero-section h2.welcome-text {
    top: 9% !important;
    font-size: clamp(0.82rem, 4.75vw, 1.45rem) !important;
    line-height: 1.05 !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text,
  body:not(.admin-body):not(.customer-body) .hero-section h3.subline-text {
    bottom: 1.1% !important;
    top: auto !important;
    font-size: clamp(0.34rem, 2.05vw, 0.66rem) !important;
    line-height: 1.05 !important;
  }
}

/* Kleine Smartphones: noch kleiner, aber weiterhin eine Zeile */
@media only screen and (max-width: 420px) {
  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text,
  body:not(.admin-body):not(.customer-body) .hero-section h2.welcome-text {
    font-size: clamp(0.74rem, 4.65vw, 1.05rem) !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text,
  body:not(.admin-body):not(.customer-body) .hero-section h3.subline-text {
    font-size: clamp(0.30rem, 1.95vw, 0.52rem) !important;
    bottom: 0.8% !important;
  }
}

/* Sehr schmale Geräte: absolute Notbremse gegen Umbruch */
@media only screen and (max-width: 360px) {
  body:not(.admin-body):not(.customer-body) .hero-section .welcome-text,
  body:not(.admin-body):not(.customer-body) .hero-section h2.welcome-text {
    font-size: 0.72rem !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section .subline-text,
  body:not(.admin-body):not(.customer-body) .hero-section h3.subline-text {
    font-size: 0.28rem !important;
  }
}

/* ============================================================
   FINAL TUNING:
   - Mobile Subliner etwas größer
   - 4K / UltraWide Logo DEUTLICH größer
   ============================================================ */

/* Mobile Subliner größer */
@media only screen and (max-width: 768px) {
  body:not(.admin-body):not(.customer-body) .hero-section .subline-text,
  body:not(.admin-body):not(.customer-body) .hero-section h3.subline-text {
    font-size: clamp(0.48rem, 2.55vw, 0.88rem) !important;
    bottom: 1.2% !important;
  }
}

@media only screen and (max-width: 420px) {
  body:not(.admin-body):not(.customer-body) .hero-section .subline-text,
  body:not(.admin-body):not(.customer-body) .hero-section h3.subline-text {
    font-size: clamp(0.44rem, 2.45vw, 0.78rem) !important;
  }
}

/* 4K / Ultra-Wide: Logo deutlich größer */
@media only screen and (min-width: 2560px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 77% !important;
    top: 44% !important;

    width: clamp(500px, calc(var(--hero-final-h) * 1.02), 820px) !important;
    max-width: none !important;

    transform: translate(-50%, -50%) !important;
  }
}

@media only screen and (min-width: 3840px) {
  body:not(.admin-body):not(.customer-body) .hero-section .header-logo {
    left: 76% !important;
    top: 44% !important;

    width: clamp(620px, calc(var(--hero-final-h) * 1.12), 1100px) !important;
  }
}

/* ============================================================
   Produkte Button Styling
   ============================================================ */

a.btn.btn-outline.btn-lg,
.btn-outline.btn-lg {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    transition: all 0.25s ease !important;
}

a.btn.btn-outline.btn-lg:hover,
.btn-outline.btn-lg:hover {
    color: color-mix(in srgb, var(--primary) 78%, black) !important;
    border-color: color-mix(in srgb, var(--primary) 78%, black) !important;
    background: rgba(0,0,0,0.08) !important;
}

/* ============================================================
   FINAL FIX: Partner Badge, Footer-Spalten, Bewertungsboxen
   ============================================================ */

/* 1) Partner/Reseller Badge IMMER innerhalb der weißen Partner-Box */
#partner .review-box,
#partner .review-box-inner {
  position: relative !important;
}

#partner .partner-card-badge,
#partner .partner-card-badge--reseller,
#partner .partner-card-badge--partner {
  position: static !important;
  display: inline-flex !important;
  align-self: center !important;
  margin: 0 0 .65rem 0 !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 2 !important;
}

/* Falls Partner-Boxen vertikal zentriert werden, Badge oben mit in den Inhalt nehmen */
#partner .review-box-inner {
  justify-content: center !important;
  gap: .35rem !important;
}

/* 2) Footer: Rechtliches und Service möglichst IMMER nebeneinander */
.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 2fr) minmax(160px, 1fr) minmax(160px, 1fr) !important;
  gap: clamp(2rem, 5vw, 6rem) !important;
  align-items: start !important;
}

.footer-grid > * {
  min-width: 0 !important;
}

/* Erst wirklich bei wenig Platz umbrechen */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Zwischenbreiten: Brand oben, Rechtliches + Service nebeneinander darunter */
@media (min-width: 641px) and (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem 3rem !important;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1 !important;
  }
}

/* 3) Bewertungen: Boxen sollen die Höhe besser ausnutzen */
#bewertungen .review-box {
  height: clamp(250px, 17vw, 320px) !important;
}

#bewertungen .review-box-inner {
  height: 100% !important;
  padding: 1rem 1.15rem !important;
  justify-content: flex-start !important;
}

#bewertungen .review-box .review-message {
  flex: 1 1 auto !important;
  max-height: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

#bewertungen .review-box .review-message-inner {
  width: 100% !important;
}

/* Autor bleibt unten, Inhalt kann fast die ganze Box nutzen */
#bewertungen .review-box .review-author {
  margin-top: auto !important;
  padding-top: .6rem !important;
}

/* Mobile Bewertungen weiterhin kompakt, aber auch besser ausgenutzt */
@media (max-width: 768px) {
  #bewertungen .review-box {
    height: 260px !important;
  }

  #bewertungen .review-box .review-message {
    max-height: none !important;
  }
}

/* ============================================================
   FINAL FIX: Footer Rechtliches + Service bleiben nebeneinander
   ============================================================ */

/*
  Ziel:
  - Brand/Info darf oben oder links stehen
  - Rechtliches und Service bleiben IMMER nebeneinander,
    auch mobil, solange wirklich genug Platz da ist.
  - Erst bei sehr schmalen Displays untereinander.
*/

.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 2fr) minmax(120px, 1fr) minmax(120px, 1fr) !important;
  gap: clamp(1.25rem, 4vw, 5rem) !important;
  align-items: start !important;
}

.footer-grid > * {
  min-width: 0 !important;
}

/* Tablet + Mobile: Brand oben komplett, Rechtliches + Service darunter nebeneinander */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 2rem 1.5rem !important;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1 !important;
  }

  .footer-grid > :nth-child(2),
  .footer-grid > :nth-child(3) {
    grid-column: auto !important;
  }
}

/* Erst wenn es wirklich zu eng wird, untereinander */
@media (max-width: 360px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .footer-grid > :first-child,
  .footer-grid > :nth-child(2),
  .footer-grid > :nth-child(3) {
    grid-column: 1 / -1 !important;
  }
}

/* ============================================================
   FINAL FIX: Burger-Menü ab 1100px ohne eigenen Hintergrund
   ============================================================ */

/*
  - Kein eigener heller/schwarzer Menü-Hintergrund.
  - Dahinter bleibt nur der normale Seitenverlauf sichtbar.
  - Menü volle Breite.
  - Links zentriert, dunkel und gut lesbar.
  - Mein Bereich / Admin / Warenkorb müssen in home.php als burger-extra-link stehen.
*/

@media (max-width: 1100px) {

  body:not(.admin-body):not(.customer-body) .navbar {
    position: relative !important;
    overflow: visible !important;
    z-index: 300 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 92px !important;
    height: auto !important;

    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 0 1.25rem !important;
    gap: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-brand {
    order: 1 !important;
    display: flex !important;
    flex: 0 0 auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: .65rem !important;
    margin-left: auto !important;
  }

  /* Im Header bleiben nur Login/Logout sichtbar */
  body:not(.admin-body):not(.customer-body) .navbar-actions a:not([href*="login"]):not([href*="logout"]):not([href*="anmelden"]):not([href*="abmelden"]),
  body:not(.admin-body):not(.customer-body) .navbar-actions .btn:not([href*="login"]):not([href*="logout"]):not([href*="anmelden"]):not([href*="abmelden"]) {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-toggle {
    order: 3 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 48px !important;
    height: 48px !important;
    margin-left: .8rem !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-toggle span {
    display: block !important;
    width: 30px !important;
    height: 3px !important;
    margin: 3.5px 0 !important;

    background: rgba(25,45,56,.62) !important;
    border-radius: 999px !important;
  }

  /*
    Burger-Menü:
    KEIN background, KEIN Kasten.
    Es nimmt Platz ein und der normale Verlauf bleibt sichtbar.
  */
  body:not(.admin-body):not(.customer-body) .navbar-nav {
    order: 20 !important;

    flex: 0 0 100% !important;
    width: calc(100% + 2.5rem) !important;
    max-width: none !important;

    display: none !important;

    position: static !important;
    inset: auto !important;

    margin: 0 -1.25rem !important;
    padding: .75rem 0 1.7rem !important;

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    box-shadow: none !important;

    z-index: 301 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: .05rem !important;
  }

  /* Alle Links im Burger: volle Breite, zentriert, dunkel, keine Buttonoptik */
  body:not(.admin-body):not(.customer-body) .navbar-nav a,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .btn,
  body:not(.admin-body):not(.customer-body) .navbar-nav .btn-outline,
  body:not(.admin-body):not(.customer-body) .navbar-nav .btn-primary,
  body:not(.admin-body):not(.customer-body) .navbar-nav .btn-ghost,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .85rem 1.25rem !important;

    color: #183847 !important;
    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav a:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav .btn:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link:hover {
    color: #0d2633 !important;
    background: rgba(255,255,255,.20) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .active,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link.active {
    color: #0d2633 !important;
    background: rgba(255,255,255,.24) !important;
  }

  body:not(.admin-body):not(.customer-body) .hero-section {
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {

  body:not(.admin-body):not(.customer-body) .navbar-inner {
    min-height: 92px !important;
    padding: 0 .9rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    width: calc(100% + 1.8rem) !important;
    margin: 0 -.9rem !important;
    padding-bottom: 1.8rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-brand img {
    height: 86px !important;
    max-height: 86px !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .btn {
    padding: .65rem .95rem !important;
    font-size: .9rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-toggle {
    width: 46px !important;
    height: 46px !important;
    margin-left: .55rem !important;
  }
}

@media (max-width: 420px) {

  body:not(.admin-body):not(.customer-body) .navbar-brand img {
    height: 78px !important;
    max-height: 78px !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .btn {
    padding: .58rem .75rem !important;
    font-size: .82rem !important;
  }
}

/* ============================================================
   FINAL FIX: Burger-Links im Menü, Abmelden/Burger bleiben oben
   ============================================================ */

@media (max-width: 1100px) {

  /*
    Die Aktionen bleiben IMMER oben rechts.
    Auch wenn das Menü offen ist.
  */
  body:not(.admin-body):not(.customer-body) .navbar-actions {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: .65rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-toggle {
    order: 3 !important;
    flex: 0 0 auto !important;
  }

  /*
    Im Header bleibt nur Anmelden/Abmelden sichtbar.
    Mein Bereich/Admin/Warenkorb dürfen dort NICHT unten erscheinen.
  */
  body:not(.admin-body):not(.customer-body) .navbar-actions a:not([href*="login"]):not([href*="logout"]):not([href*="anmelden"]):not([href*="abmelden"]),
  body:not(.admin-body):not(.customer-body) .navbar-actions .btn:not([href*="login"]):not([href*="logout"]):not([href*="anmelden"]):not([href*="abmelden"]) {
    display: none !important;
  }

  /*
    Das Menü selbst bleibt der einzige Bereich unter dem Header.
    Die Extra-Links stehen jetzt direkt IN .navbar-nav.
  */
  body:not(.admin-body):not(.customer-body) .navbar-nav {
    order: 20 !important;

    flex: 0 0 100% !important;
    width: calc(100% + 2.5rem) !important;
    max-width: none !important;

    position: static !important;
    inset: auto !important;

    margin: 0 -1.25rem !important;
    padding: .75rem 0 1.8rem !important;

    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  /*
    Alle Links im Burger-Menü identisch:
    Produkte, Demo..., Nexus Wave, Mein Bereich, Admin, Warenkorb.
  */
  body:not(.admin-body):not(.customer-body) .navbar-nav a,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .85rem 1.25rem !important;

    color: #183847 !important;
    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav a:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link:hover {
    color: #0d2633 !important;
    background: rgba(255,255,255,.20) !important;
  }
}

@media (max-width: 768px) {

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-toggle {
    order: 3 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    width: calc(100% + 1.8rem) !important;
    margin: 0 -.9rem !important;
    padding-bottom: 1.8rem !important;
  }
}

/* ============================================================
   FINAL FIX: Per Inline-Script eingefügte Burger-Links sichtbar
   ============================================================ */

@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-extra-link {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .85rem 1.25rem !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-extra-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-extra-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-extra-link:hover {
    color: #0d2633 !important;
    background: rgba(255,255,255,.20) !important;
  }
}

/* ============================================================
   FINAL FIX: Burger Warenkorb als Icon mit Badge
   ============================================================ */

@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .95rem 1.25rem !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    line-height: 1 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link i,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .bi {
    font-size: 1.85rem !important;
    line-height: 1 !important;
    display: inline-block !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-badge {
    position: absolute !important;

    top: .42rem !important;
    left: calc(50% + .55rem) !important;
    right: auto !important;

    min-width: 1.18rem !important;
    height: 1.18rem !important;
    padding: 0 .32rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;

    background: #ef3340 !important;
    color: #ffffff !important;

    font-size: .68rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    z-index: 5 !important;
    box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link:hover {
    color: #0d2633 !important;
    background: rgba(255,255,255,.20) !important;
  }
}

@media (max-width: 768px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    padding: 1rem 1.25rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link i,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .bi {
    font-size: 2rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-badge {
    top: .35rem !important;
    left: calc(50% + .65rem) !important;

    min-width: 1.15rem !important;
    height: 1.15rem !important;
    font-size: .66rem !important;
  }
}

/* ============================================================
   FINAL FIX: Desktop-Rechtsbereich, Unterseiten, Produkte, Warenkorb
   ============================================================ */

/* 1) Desktop: Mein Bereich/Admin/Warenkorb rechts lassen.
      Falls Burger-Extras im Nav vorhanden sind, Desktop IMMER ausblenden. */
@media (min-width: 1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .65rem !important;
    margin-left: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions a,
  body:not(.admin-body):not(.customer-body) .navbar-actions .btn {
    display: inline-flex !important;
  }

  /* Warenkorb rechts als Symbol, nicht als nackte 0 */
  body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"],
  body:not(.admin-body):not(.customer-body) .navbar-actions .cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-actions .cart-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;

    font-size: 0 !important;
    color: var(--primary) !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"]::before,
  body:not(.admin-body):not(.customer-body) .navbar-actions .cart-link::before,
  body:not(.admin-body):not(.customer-body) .navbar-actions .cart-button::before {
    content: "\F242";
    font-family: "bootstrap-icons" !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
    color: var(--primary) !important;
  }

  /* Fallback, falls Bootstrap Icons im Layout nicht geladen sind */
  body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"]:not(:has(i))::before {
    content: "🛒" !important;
    font-family: system-ui, sans-serif !important;
    font-size: 1.2rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"] .cart-badge,
  body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"] .badge {
    position: absolute !important;
    top: -.35rem !important;
    right: -.35rem !important;
    min-width: 1.15rem !important;
    height: 1.15rem !important;
    padding: 0 .3rem !important;
    border-radius: 999px !important;
    background: #ef3340 !important;
    color: #fff !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* 2) Unterseiten OHNE Hero:
      Kein Platz fuer Hero freihalten. Verlauf beginnt direkt nach der Navigation. */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

/* Auf Unterseiten keine Phantom-Abstände von Hero-Logik */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) main,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page-content,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .products-page {
  margin-top: 0 !important;
}

/* 3) Produkte: rechts und links gleicher Abstand.
      Grid darf nicht direkt an den rechten Rand knallen. */
.products-layout,
.product-layout,
.shop-layout,
.products-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: clamp(1rem, 2vw, 2rem) !important;
  padding-right: clamp(1rem, 2vw, 2rem) !important;
  box-sizing: border-box !important;
}

.products-grid,
.product-grid,
.product-list,
.products-list {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.products-grid {
  padding-right: clamp(1rem, 2vw, 2rem) !important;
}

/* Wenn Sidebar + Grid nebeneinander sind */
.products-layout:has(.categories-sidebar),
.shop-layout:has(.categories-sidebar) {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
  gap: clamp(1.25rem, 2vw, 2.25rem) !important;
  align-items: start !important;
}

.products-layout:has(.categories-sidebar) .products-grid,
.shop-layout:has(.categories-sidebar) .products-grid {
  min-width: 0 !important;
  padding-right: 0 !important;
}

/* Fallback für häufige Container */
.container.products-container,
.products-container,
.shop-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(1rem, 2vw, 2rem) !important;
  padding-right: clamp(1rem, 2vw, 2rem) !important;
  box-sizing: border-box !important;
}

/* Produktkarten sollen nie über den rechten Rand laufen */
.product-card,
.card.product-card {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Mobile Produkte: Sidebar und Cards sauber untereinander */
@media (max-width: 900px) {
  .products-layout:has(.categories-sidebar),
  .shop-layout:has(.categories-sidebar) {
    grid-template-columns: 1fr !important;
  }
}

/* 4) Burger Warenkorb als Symbol + Badge */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .95rem 1.25rem !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;
    line-height: 1 !important;
    font-size: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link i,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .bi {
    font-size: 1.9rem !important;
    line-height: 1 !important;
    display: inline-block !important;
  }

  /* Fallback wenn Bootstrap Icons nicht geladen sind */
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link i.bi-cart::before {
    content: "\F242";
    font-family: "bootstrap-icons" !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-badge {
    position: absolute !important;

    top: .34rem !important;
    left: calc(50% + .65rem) !important;
    right: auto !important;

    min-width: 1.16rem !important;
    height: 1.16rem !important;
    padding: 0 .32rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;

    background: #ef3340 !important;
    color: #ffffff !important;

    font-size: .66rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    z-index: 5 !important;
    box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
  }
}

/* ============================================================
   FINAL FIX: Layout 96%, fixe Navigation, Desktop-Actions, Cart Icon
   ============================================================ */

:root {
  --page-w: 96%;
  --page-gap: 2%;
  --fixed-nav-h: 92px;
}

/* 3) Gesamte öffentliche Seite auf 96% begrenzen */
body:not(.admin-body):not(.customer-body) .navbar,
body:not(.admin-body):not(.customer-body) .hero-section,
body:not(.admin-body):not(.customer-body) main,
body:not(.admin-body):not(.customer-body) .page,
body:not(.admin-body):not(.customer-body) .page-content,
body:not(.admin-body):not(.customer-body) .products-page,
body:not(.admin-body):not(.customer-body) footer,
body:not(.admin-body):not(.customer-body) .footer,
body:not(.admin-body):not(.customer-body) .site-footer {
  width: var(--page-w) !important;
  max-width: var(--page-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* 4) Navigation fixieren */
body:not(.admin-body):not(.customer-body) .navbar {
  position: fixed !important;
  top: 0 !important;
  left: var(--page-gap) !important;
  right: var(--page-gap) !important;
  width: auto !important;
  max-width: none !important;
  z-index: 9999 !important;
}

/* Platz unter fixer Navigation */
body:not(.admin-body):not(.customer-body) {
  padding-top: var(--fixed-nav-h) !important;
}

/* Unterseiten ohne Hero: Verlauf direkt nach Navi starten */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

/* Home mit Hero: Verlauf startet unter Navi + Hero */
body:not(.admin-body):not(.customer-body):has(.hero-section) {
  --gradient-start-y-fixed: calc(var(--fixed-nav-h) + var(--hero-final-h));
  background-position: center var(--gradient-start-y-fixed) !important;
  background-size: 100% calc(100% - var(--gradient-start-y-fixed)) !important;
}

/* 1) Desktop: Mein Bereich, Admin und Warenkorb rechts */
@media (min-width: 1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .65rem !important;
    margin-left: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .desktop-extra-action {
    display: inline-flex !important;
  }
}

/* 2 + Desktop 1) Warenkorb Icon statt nackter Zahl */
.desktop-cart-link,
.burger-cart-link {
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.desktop-cart-link {
  display: inline-flex !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  border-radius: .45rem !important;
  background: transparent !important;
}

.cart-svg {
  width: 1.35rem !important;
  height: 1.35rem !important;
  display: block !important;
  fill: currentColor !important;
}

.cart-badge {
  position: absolute !important;
  top: -.45rem !important;
  right: -.45rem !important;

  min-width: 1.18rem !important;
  height: 1.18rem !important;
  padding: 0 .32rem !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: #ef3340 !important;
  color: #fff !important;

  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  z-index: 5 !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
}

/* Produkte: links/rechts gleichmäßig 2% Luft */
.products-layout,
.product-layout,
.shop-layout,
.products-wrapper,
.products-container,
.shop-container,
.container.products-container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.products-grid,
.product-grid,
.product-list,
.products-list {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.products-layout:has(.categories-sidebar),
.shop-layout:has(.categories-sidebar) {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
  gap: clamp(1.25rem, 2vw, 2.25rem) !important;
  align-items: start !important;
}

.product-card,
.card.product-card {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  .products-layout:has(.categories-sidebar),
  .shop-layout:has(.categories-sidebar) {
    grid-template-columns: 1fr !important;
  }
}

/* 5) Mobile Burger kompakter */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar {
    left: var(--page-gap) !important;
    right: var(--page-gap) !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    padding-top: .35rem !important;
    padding-bottom: .9rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav a,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link {
    padding-top: .52rem !important;
    padding-bottom: .52rem !important;
    line-height: 1.15 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    display: flex !important;
    width: 100% !important;
    padding: .6rem 1.25rem !important;
    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-svg {
    width: 1.75rem !important;
    height: 1.75rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-badge {
    top: .22rem !important;
    right: calc(50% - 1.35rem) !important;
  }
}

@media (max-width: 768px) {
  :root {
    --fixed-nav-h: 92px;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    padding-top: .25rem !important;
    padding-bottom: .8rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav a,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link {
    padding-top: .45rem !important;
    padding-bottom: .45rem !important;
  }
}

/* ============================================================
   FINAL ROLLBACK/FIX:
   - Navigation NICHT sticky/fixed
   - Hero wieder volle Breite
   - Body-Verlauf wieder sichtbar
   - Warenkorb Icon nicht doppelt
   ============================================================ */

/* 1) Sticky/Fixierung komplett zurücknehmen */
body:not(.admin-body):not(.customer-body) {
  padding-top: 0 !important;
}

body:not(.admin-body):not(.customer-body) .navbar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;

  width: 100% !important;
  max-width: 100% !important;

  margin-left: 0 !important;
  margin-right: 0 !important;

  z-index: 300 !important;
}

/* 96%-Begrenzung von Hauptseite/Hero wieder entfernen */
body:not(.admin-body):not(.customer-body) .hero-section,
body:not(.admin-body):not(.customer-body) main,
body:not(.admin-body):not(.customer-body) .page,
body:not(.admin-body):not(.customer-body) .page-content,
body:not(.admin-body):not(.customer-body) .products-page,
body:not(.admin-body):not(.customer-body) footer,
body:not(.admin-body):not(.customer-body) .footer,
body:not(.admin-body):not(.customer-body) .site-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Hero Bild wieder volle Breite */
body:not(.admin-body):not(.customer-body) .hero-section {
  width: 100% !important;
  max-width: 100% !important;
}

body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img {
  width: 100% !important;
  max-width: none !important;
}

/* Verlauf wieder normal: Home ab unter Hero, Unterseiten direkt nach Navi */
body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image: var(--gradient-content) !important;
  background-repeat: no-repeat !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

/* Produktseite: nur INHALT mit Abstand, nicht ganze Seite/Hero */
.products-layout,
.product-layout,
.shop-layout,
.products-wrapper,
.products-container,
.shop-container,
.container.products-container {
  width: 96% !important;
  max-width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* 2) Warenkorb nicht doppelt:
   Wenn SVG vorhanden ist, KEIN ::before/Pseudo-Icon zusätzlich anzeigen */
body:not(.admin-body):not(.customer-body) .desktop-cart-link::before,
body:not(.admin-body):not(.customer-body) .burger-cart-link::before,
body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"]::before,
body:not(.admin-body):not(.customer-body) .navbar-actions .cart-link::before,
body:not(.admin-body):not(.customer-body) .navbar-actions .cart-button::before {
  content: none !important;
  display: none !important;
}

/* Warenkorb SVG sichtbar und korrekt */
.desktop-cart-link .cart-svg,
.burger-cart-link .cart-svg,
.navbar-actions a[href*="warenkorb"] .cart-svg {
  display: block !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  fill: currentColor !important;
}

.burger-cart-link .cart-svg {
  width: 1.75rem !important;
  height: 1.75rem !important;
}

/* Falls irgendwo nur eine nackte Zahl im Warenkorb-Link steht, ausblenden */
.desktop-cart-link,
.burger-cart-link {
  font-size: 0 !important;
}

.desktop-cart-link .cart-badge,
.burger-cart-link .cart-badge {
  font-size: .68rem !important;
}

/* Mobile Burger bleibt im normalen Flow */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    padding-top: .25rem !important;
    padding-bottom: .8rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav a,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link {
    padding-top: .45rem !important;
    padding-bottom: .45rem !important;
  }
}

/* ============================================================
   FINAL FIX: Inhaltsbreite, Burger-Verlauf, Cart-Kasten, Abstände, Unterseiten
   ============================================================ */

/*
  1) NICHT Header/Hero begrenzen.
     Nur INHALTSBEREICHE bekommen 96% Breite.
*/

body:not(.admin-body):not(.customer-body) {
  padding-top: 0 !important;
  overflow-x: hidden !important;
}

/* Navi NICHT fixed */
body:not(.admin-body):not(.customer-body) .navbar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;

  width: 100% !important;
  max-width: 100% !important;

  margin-left: 0 !important;
  margin-right: 0 !important;

  z-index: 300 !important;
}

/* Header/Hero bleiben volle Breite */
body:not(.admin-body):not(.customer-body) .hero-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/*
  Nur Seiteninhalt begrenzen:
  wichtig für Produktseite, Warenkorb, Checkout, Account usw.
*/
body:not(.admin-body):not(.customer-body) main > .container,
body:not(.admin-body):not(.customer-body) .main-content,
body:not(.admin-body):not(.customer-body) .content,
body:not(.admin-body):not(.customer-body) .page-content,
body:not(.admin-body):not(.customer-body) .products-page,
body:not(.admin-body):not(.customer-body) .products-container,
body:not(.admin-body):not(.customer-body) .shop-container,
body:not(.admin-body):not(.customer-body) .cart-container,
body:not(.admin-body):not(.customer-body) .checkout-container,
body:not(.admin-body):not(.customer-body) .account-container,
body:not(.admin-body):not(.customer-body) section > .container:not(.hero-section .container) {
  width: 96% !important;
  max-width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Bereiche selbst bleiben voll, nur deren innerer Container wird begrenzt */
body:not(.admin-body):not(.customer-body) main,
body:not(.admin-body):not(.customer-body) section,
body:not(.admin-body):not(.customer-body) .page,
body:not(.admin-body):not(.customer-body) footer,
body:not(.admin-body):not(.customer-body) .footer,
body:not(.admin-body):not(.customer-body) .site-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Produktseite: Grid sauber innerhalb der 96%, nicht rechts an den Rand */
body:not(.admin-body):not(.customer-body) .products-layout,
body:not(.admin-body):not(.customer-body) .product-layout,
body:not(.admin-body):not(.customer-body) .shop-layout,
body:not(.admin-body):not(.customer-body) .products-wrapper {
  width: 96% !important;
  max-width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body:not(.admin-body):not(.customer-body) .products-grid,
body:not(.admin-body):not(.customer-body) .product-grid,
body:not(.admin-body):not(.customer-body) .product-list,
body:not(.admin-body):not(.customer-body) .products-list {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar),
body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
  gap: clamp(1.25rem, 2vw, 2.25rem) !important;
  align-items: start !important;
}

body:not(.admin-body):not(.customer-body) .product-card,
body:not(.admin-body):not(.customer-body) .card.product-card {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar),
  body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) {
    grid-template-columns: 1fr !important;
  }
}

/*
  2) Verlauf auf Unterseiten:
     Wenn Burger aufgeklappt ist, liegt er im normalen Flow.
     Der Verlauf darf NICHT mit fixer Höhe berechnet werden.
*/
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

/* Sobald Burger offen ist: Verlauf ab ganz oben hinter Navbar+Menü durchlaufen lassen */
body:not(.admin-body):not(.customer-body):has(.navbar-nav.open):not(:has(.hero-section)),
body:not(.admin-body):not(.customer-body):has(.navbar-nav.show):not(:has(.hero-section)),
body:not(.admin-body):not(.customer-body):has(.navbar-nav.active):not(:has(.hero-section)) {
  background-position: center 0 !important;
  background-size: 100% 100% !important;
}

/* Home mit Hero: wie gehabt erst unter Hero starten */
body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image: var(--gradient-content) !important;
  background-repeat: no-repeat !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

/*
  5) Burger-Menü kompakter:
     KEINE riesigen Abstände zwischen Nexus Wave, Mein Bereich, Admin, Warenkorb.
*/
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-inner {
    min-height: 92px !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    order: 20 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .25rem 0 .7rem !important;

    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav a,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .42rem 1rem !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav a:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link:hover {
    background: rgba(255,255,255,.18) !important;
  }
}

/*
  3) Mobil: Warenkorb mit Kasten wie oben.
     Kein nacktes Icon ohne Rahmen.
*/
.desktop-cart-link,
.burger-cart-link {
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.desktop-cart-link,
body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"] {
  position: relative !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;

  padding: 0 !important;

  color: var(--primary) !important;
  background: transparent !important;

  border: 1px solid var(--primary) !important;
  border-radius: .45rem !important;

  font-size: 0 !important;
}

/* Pseudo-Icons deaktivieren, damit es NIE doppelt wird */
.desktop-cart-link::before,
.burger-cart-link::before,
body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"]::before {
  content: none !important;
  display: none !important;
}

.cart-svg,
.desktop-cart-link .cart-svg,
.burger-cart-link .cart-svg,
body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"] .cart-svg {
  display: block !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  fill: currentColor !important;
}

/* Badge */
.cart-badge,
.desktop-cart-link .cart-badge,
.burger-cart-link .cart-badge,
body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"] .cart-badge {
  position: absolute !important;

  top: -.42rem !important;
  right: -.42rem !important;

  min-width: 1.18rem !important;
  height: 1.18rem !important;
  padding: 0 .32rem !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;

  background: #ef3340 !important;
  color: #ffffff !important;

  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  z-index: 5 !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
}

/* Burger-Cart ebenfalls als kleiner Kasten zentriert im Menü */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    display: inline-flex !important;

    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;

    margin: .35rem auto 0 !important;
    padding: 0 !important;

    color: var(--primary) !important;
    background: transparent !important;

    border: 1px solid var(--primary) !important;
    border-radius: .45rem !important;
    box-shadow: none !important;

    font-size: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-svg {
    width: 1.35rem !important;
    height: 1.35rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-badge {
    top: -.42rem !important;
    right: -.42rem !important;
    left: auto !important;
  }
}

/*
  5) Unterseiten: fehlende Burger-Links per CSS sichtbar,
     falls sie durch ältere Regeln versteckt wurden.
*/
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-extra-link {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Desktop: Zusatzlinks nur rechts, niemals in der mittleren Navigation */
@media (min-width: 1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .65rem !important;
    margin-left: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .desktop-extra-action {
    display: inline-flex !important;
  }
}

/* ============================================================
   FINAL FIX: Burger kompakt, Unterseiten-Verlauf, Textlesbarkeit
   ============================================================ */

/*
  1) Mobile Burger-Abstände kompakter.
  Der große Abstand kam durch frühere Padding/Line-Height-Regeln.
*/
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar {
    position: relative !important;
    overflow: visible !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-inner {
    min-height: 92px !important;
    height: auto !important;
    align-items: center !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: .15rem 0 .55rem !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav a,
  body:not(.admin-body):not(.customer-body) .navbar-nav .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .28rem 1rem !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link {
    padding-top: .28rem !important;
    padding-bottom: .28rem !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    display: inline-flex !important;

    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;

    margin: .22rem auto 0 !important;
    padding: 0 !important;

    color: var(--primary) !important;
    background: transparent !important;

    border: 1px solid var(--primary) !important;
    border-radius: .45rem !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 1 !important;
  }
}

/*
  2) Unterseiten-Verlauf:
  Wenn kein Hero vorhanden ist, darf der Verlauf NICHT mit Hero-Abstand berechnet werden.
  Wenn das Burger-Menü offen ist, soll der Verlauf hinter Navbar+Burger sauber durchlaufen.
*/
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image: var(--gradient-content) !important;
  background-repeat: no-repeat !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

/*
  3) Textlesbarkeit auf Unterseiten:
  Texte, die direkt auf dem Verlauf stehen, bekommen dunkleren Text bzw. leichten Schatten.
*/
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) main,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page-content,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .main-content,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .products-page {
  color: #0f2633 !important;
}

body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) h1,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) h2,
body:not(.admin-body):not(:has(.hero-section)).customer-body h1,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page-title,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .section-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.26) !important;
}

body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) p,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .muted,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .lead,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page-subtitle {
  color: rgba(15,38,51,.82) !important;
}

/* In weißen Karten bleiben Texte normal dunkel */
body:not(.admin-body):not(.customer-body) .card,
body:not(.admin-body):not(.customer-body) .product-card,
body:not(.admin-body):not(.customer-body) .cart-card,
body:not(.admin-body):not(.customer-body) .box,
body:not(.admin-body):not(.customer-body) .panel {
  color: #0f2633 !important;
}

/*
  4) Inhaltsbreite 96% nur für echte Inhalte, nicht für Navbar/Hero.
*/
body:not(.admin-body):not(.customer-body) .main-content,
body:not(.admin-body):not(.customer-body) main > .container,
body:not(.admin-body):not(.customer-body) .page-content,
body:not(.admin-body):not(.customer-body) .products-page,
body:not(.admin-body):not(.customer-body) .products-layout,
body:not(.admin-body):not(.customer-body) .product-layout,
body:not(.admin-body):not(.customer-body) .shop-layout,
body:not(.admin-body):not(.customer-body) .products-wrapper,
body:not(.admin-body):not(.customer-body) .products-container,
body:not(.admin-body):not(.customer-body) .shop-container,
body:not(.admin-body):not(.customer-body) .cart-container,
body:not(.admin-body):not(.customer-body) .checkout-container,
body:not(.admin-body):not(.customer-body) .account-container {
  width: 96% !important;
  max-width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Navbar/Hero bleiben volle Breite */
body:not(.admin-body):not(.customer-body) .navbar,
body:not(.admin-body):not(.customer-body) .hero-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/*
  5) Unterseiten Navigationslinks:
  CSS sichtbar machen, falls Script die Links ergänzt hat.
*/
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-extra-link {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Desktop: die Zusatzlinks gehören rechts in .navbar-actions, nicht in die Mitte */
@media (min-width: 1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .65rem !important;
    margin-left: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .desktop-extra-action {
    display: inline-flex !important;
  }
}

/* Warenkorb-Kasten + Badge */
.desktop-cart-link,
.burger-cart-link,
body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"] {
  position: relative !important;
}

.cart-svg,
.desktop-cart-link .cart-svg,
.burger-cart-link .cart-svg {
  display: block !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  fill: currentColor !important;
}

.cart-badge,
.desktop-cart-link .cart-badge,
.burger-cart-link .cart-badge {
  position: absolute !important;
  top: -.42rem !important;
  right: -.42rem !important;

  min-width: 1.18rem !important;
  height: 1.18rem !important;
  padding: 0 .32rem !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: #ef3340 !important;
  color: #ffffff !important;

  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  z-index: 5 !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
}

/* ============================================================
   ABSOLUT FINAL: Burger-Menü kompakt + Unterseiten-Verlauf
   direkt in app.css, keine Zusatzdatei
   ============================================================ */

/* Verlauf grundsätzlich sauber auf Body */
body:not(.admin-body):not(.customer-body) {
  background-image: var(--gradient-content) !important;
  background-color: #ffffff !important;
  background-repeat: no-repeat !important;
  background-position: center 0 !important;
  background-size: 100% 100% !important;
}

/* Home: Hero bleibt separat, danach läuft Body-Verlauf weiter */
body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image: var(--gradient-content) !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

/* Unterseiten: kein Hero-Abstand */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

/* Header/Hero volle Breite */
body:not(.admin-body):not(.customer-body) .navbar,
body:not(.admin-body):not(.customer-body) .hero-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Nur Inhaltsbereiche auf 96% begrenzen */
body:not(.admin-body):not(.customer-body) .main-content,
body:not(.admin-body):not(.customer-body) main > .container,
body:not(.admin-body):not(.customer-body) .page-content,
body:not(.admin-body):not(.customer-body) .products-page,
body:not(.admin-body):not(.customer-body) .products-layout,
body:not(.admin-body):not(.customer-body) .product-layout,
body:not(.admin-body):not(.customer-body) .shop-layout,
body:not(.admin-body):not(.customer-body) .products-wrapper,
body:not(.admin-body):not(.customer-body) .products-container,
body:not(.admin-body):not(.customer-body) .shop-container,
body:not(.admin-body):not(.customer-body) .cart-container,
body:not(.admin-body):not(.customer-body) .checkout-container,
body:not(.admin-body):not(.customer-body) .account-container {
  width: 96% !important;
  max-width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Mobile Burger: Verlauf nur MIT Hero */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body):has(.hero-section) .navbar {
    background: var(--gradient-header), transparent !important;
    overflow: visible !important;
    position: relative !important;
  }
  body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .navbar,
  body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .navbar-inner {
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-inner {
    min-height: 92px !important;
    height: auto !important;
    align-items: center !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    order: 20 !important;
    display: none !important;

    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 0 .35rem 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav > a,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .burger-extra-link {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .18rem 1rem !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    font-size: .98rem !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav > a:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .nav-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .burger-extra-link:hover {
    background: rgba(255,255,255,.16) !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open > .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show > .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active > .burger-cart-link {
    display: inline-flex !important;

    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;

    margin: .18rem auto 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    color: var(--primary) !important;
    background: transparent !important;

    border: 1px solid var(--primary) !important;
    border-radius: .45rem !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 1 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-svg {
    display: block !important;
    width: 1.3rem !important;
    height: 1.3rem !important;
    fill: currentColor !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-badge {
    position: absolute !important;
    top: -.42rem !important;
    right: -.42rem !important;
    left: auto !important;

    min-width: 1.15rem !important;
    height: 1.15rem !important;
    padding: 0 .3rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    background: #ef3340 !important;
    color: #ffffff !important;

    font-size: .66rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
  }
}

/* Unterseiten-Texte lesbar */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) h1,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) h2,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page-title,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .section-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.32) !important;
}

body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) p,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .lead,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page-subtitle {
  color: rgba(15,38,51,.86) !important;
}

/* Desktop: Zusatzlinks rechts, niemals in der mittleren Navigation */
@media (min-width: 1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .65rem !important;
    margin-left: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .desktop-extra-action {
    display: inline-flex !important;
  }
}

/* Warenkorb-Kasten + Badge */
.desktop-cart-link,
.burger-cart-link,
body:not(.admin-body):not(.customer-body) .navbar-actions a[href*="warenkorb"] {
  position: relative !important;
}

.cart-svg,
.desktop-cart-link .cart-svg,
.burger-cart-link .cart-svg {
  display: block !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  fill: currentColor !important;
}

.cart-badge,
.desktop-cart-link .cart-badge,
.burger-cart-link .cart-badge {
  position: absolute !important;
  top: -.42rem !important;
  right: -.42rem !important;

  min-width: 1.18rem !important;
  height: 1.18rem !important;
  padding: 0 .32rem !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: #ef3340 !important;
  color: #ffffff !important;

  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  z-index: 5 !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
}

/* ============================================================
   FINAL FIX: Unterseiten, Burger-Abstand, Produktkarten
   ============================================================ */

/*
  1) Navigation/Hero bleiben volle Breite.
     Nur der eigentliche Inhalt bekommt 96%.
*/
body:not(.admin-body):not(.customer-body) .navbar,
body:not(.admin-body):not(.customer-body) .hero-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Verlauf: NICHT mehr künstlich mit Hero/Nav-Offsets verschieben */
body:not(.admin-body):not(.customer-body) {
  background-color: #ffffff !important;
  background-image: var(--gradient-content) !important;
  background-repeat: no-repeat !important;
  background-position: center 0 !important;
  background-size: 100% 100% !important;
}

/* Home darf weiterhin nach dem Hero den Verlauf sauber zeigen */
body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image: var(--gradient-content) !important;
  background-repeat: no-repeat !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

/* Unterseiten: Verlauf beginnt direkt oben und läuft hinter Navigation + Burger durch */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

/*
  2) Inhaltsbreite 96% wirklich bei den Inhaltscontainern.
*/
body:not(.admin-body):not(.customer-body) .main-content,
body:not(.admin-body):not(.customer-body) main > .container,
body:not(.admin-body):not(.customer-body) .page-content,
body:not(.admin-body):not(.customer-body) .content-wrap,
body:not(.admin-body):not(.customer-body) .content-wrapper,
body:not(.admin-body):not(.customer-body) .products-page,
body:not(.admin-body):not(.customer-body) .products-layout,
body:not(.admin-body):not(.customer-body) .shop-layout,
body:not(.admin-body):not(.customer-body) .product-layout,
body:not(.admin-body):not(.customer-body) .products-wrapper,
body:not(.admin-body):not(.customer-body) .products-container,
body:not(.admin-body):not(.customer-body) .shop-container,
body:not(.admin-body):not(.customer-body) .cart-container,
body:not(.admin-body):not(.customer-body) .checkout-container,
body:not(.admin-body):not(.customer-body) .account-container {
  width: 96% !important;
  max-width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/*
  3) Produktkarten nicht zu schmal werden lassen.
     Sobald 3 Spalten zu eng werden, automatisch 2 nebeneinander.
*/
body:not(.admin-body):not(.customer-body) .products-grid,
body:not(.admin-body):not(.customer-body) .product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: clamp(1rem, 1.6vw, 1.7rem) !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body:not(.admin-body):not(.customer-body) .product-card,
body:not(.admin-body):not(.customer-body) .card.product-card {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Bei Sidebar + Produkte: rechts hat das Grid genug Platz */
body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar),
body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
  gap: clamp(1.2rem, 2vw, 2rem) !important;
  align-items: start !important;
}

@media (max-width: 1180px) {
  body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar) .products-grid,
  body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) .products-grid,
  body:not(.admin-body):not(.customer-body) .products-grid,
  body:not(.admin-body):not(.customer-body) .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar),
  body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) {
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-body):not(.customer-body) .products-grid,
  body:not(.admin-body):not(.customer-body) .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  }
}

/*
  4) Burger-Menü kompakter:
     Keine großen Abstände zwischen Nexus Wave / Mein Bereich / Admin / Warenkorb.
*/
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body):has(.hero-section) .navbar {
    background: var(--gradient-header), transparent !important;
    position: relative !important;
    overflow: visible !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-inner {
    min-height: 92px !important;
    height: auto !important;
    align-items: center !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    order: 20 !important;

    display: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 0 .35rem 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav > a,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .burger-extra-link {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .15rem 1rem !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    font-size: .98rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav > a:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .nav-link:hover,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .burger-extra-link:hover {
    background: rgba(255,255,255,.16) !important;
  }

  /* Warenkorb direkt unter Admin */
  body:not(.admin-body):not(.customer-body) .navbar-nav.open > .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show > .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active > .burger-cart-link {
    display: inline-flex !important;

    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;

    margin: .15rem auto 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    color: var(--primary) !important;
    background: transparent !important;

    border: 1px solid var(--primary) !important;
    border-radius: .45rem !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 1 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-svg {
    display: block !important;
    width: 1.3rem !important;
    height: 1.3rem !important;
    fill: currentColor !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link .cart-badge {
    position: absolute !important;
    top: -.42rem !important;
    right: -.42rem !important;
    left: auto !important;

    min-width: 1.15rem !important;
    height: 1.15rem !important;
    padding: 0 .3rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    background: #ef3340 !important;
    color: #ffffff !important;

    font-size: .66rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
  }
}

/*
  5) Unterseiten-Navigation:
     Wenn die Links auf Unterseiten fehlen, muss diese PHP-Datei wirklich das globale Layout sein.
     CSS stellt sicher, dass die per Script erzeugten Links sichtbar sind.
*/
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Desktop: Zusatzlinks rechts, niemals in der mittleren Navigation */
@media (min-width: 1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .65rem !important;
    margin-left: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .desktop-extra-action {
    display: inline-flex !important;
  }
}

/* Textlesbarkeit auf Unterseiten */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) h1,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) h2,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page-title,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .section-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.32) !important;
}

body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) p,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .lead,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .page-subtitle {
  color: rgba(15,38,51,.86) !important;
}

/* ============================================================
   HARD FINAL OVERRIDE
   Burger kompakt + Verlauf ohne Abbruch + Cards umbrechen
   ============================================================ */

/* Verlauf ohne harten Bruch zwischen Navigation/Burger/Inhalt */
body:not(.admin-body):not(.customer-body) {
  background-color: #ffffff !important;
  background-image: var(--gradient-content) !important;
  background-repeat: no-repeat !important;
  background-position: center 0 !important;
  background-size: 100% 100% !important;
}

/* Headerbereich transparent über dem normalen Verlauf, damit kein Abbruch entsteht */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar,
  body:not(.admin-body):not(.customer-body) .navbar-inner,
  body:not(.admin-body):not(.customer-body) .navbar-nav {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }
}

/* Home mit Hero bleibt wie vorher: Verlauf beginnt optisch unter Hero */
body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image: var(--gradient-content) !important;
  background-repeat: no-repeat !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

/* Unterseiten: Verlauf darf NICHT mit Hero-Abstand rechnen */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

/* Inhalt 96%, aber Header/Hero NICHT anfassen */
body:not(.admin-body):not(.customer-body) .main-content,
body:not(.admin-body):not(.customer-body) main > .container,
body:not(.admin-body):not(.customer-body) .page-content,
body:not(.admin-body):not(.customer-body) .content-wrap,
body:not(.admin-body):not(.customer-body) .content-wrapper,
body:not(.admin-body):not(.customer-body) .products-page,
body:not(.admin-body):not(.customer-body) .products-layout,
body:not(.admin-body):not(.customer-body) .shop-layout,
body:not(.admin-body):not(.customer-body) .product-layout,
body:not(.admin-body):not(.customer-body) .products-wrapper,
body:not(.admin-body):not(.customer-body) .products-container,
body:not(.admin-body):not(.customer-body) .shop-container,
body:not(.admin-body):not(.customer-body) .cart-container,
body:not(.admin-body):not(.customer-body) .checkout-container,
body:not(.admin-body):not(.customer-body) .account-container {
  width: 96% !important;
  max-width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Header/Hero volle Breite */
body:not(.admin-body):not(.customer-body) .navbar,
body:not(.admin-body):not(.customer-body) .hero-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Burger: wirklich kompakt, auch burger-extra-link */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-inner {
    min-height: 92px !important;
    height: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    order: 20 !important;
    display: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 .25rem 0 !important;
    gap: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    row-gap: 0 !important;
    gap: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav > a,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.open > a,
  body:not(.admin-body):not(.customer-body) .navbar-nav.open > .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.open > .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show > a,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show > .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show > .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active > a,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active > .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active > .burger-extra-link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: .08rem 1rem !important;

    min-height: 0 !important;
    height: auto !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;

    font-size: .98rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open > .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show > .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active > .burger-cart-link {
    display: inline-flex !important;

    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;

    margin: .08rem auto 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    color: var(--primary) !important;
    background: transparent !important;

    border: 1px solid var(--primary) !important;
    border-radius: .45rem !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 1 !important;
  }
}

/* Produktkarten: nie schmal quetschen, sondern umbrechen */
body:not(.admin-body):not(.customer-body) .products-grid,
body:not(.admin-body):not(.customer-body) .product-grid,
body:not(.admin-body):not(.customer-body) .products-list,
body:not(.admin-body):not(.customer-body) .product-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: clamp(1rem, 1.6vw, 1.7rem) !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar),
body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
  gap: clamp(1.2rem, 2vw, 2rem) !important;
  align-items: start !important;
}

body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar) .products-grid,
body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
}

body:not(.admin-body):not(.customer-body) .product-card,
body:not(.admin-body):not(.customer-body) .card.product-card {
  min-width: 250px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1180px) {
  body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar) .products-grid,
  body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) .products-grid,
  body:not(.admin-body):not(.customer-body) .products-grid,
  body:not(.admin-body):not(.customer-body) .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar),
  body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) {
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-body):not(.customer-body) .products-grid,
  body:not(.admin-body):not(.customer-body) .product-grid {
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-body):not(.customer-body) .product-card,
  body:not(.admin-body):not(.customer-body) .card.product-card {
    min-width: 0 !important;
  }
}

/* Desktop: Zusatzlinks rechts; Mitte bleibt sauber */
@media (min-width: 1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .65rem !important;
    margin-left: auto !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .desktop-extra-action {
    display: inline-flex !important;
  }
}

/* Cart Icon */
.cart-svg,
.desktop-cart-link .cart-svg,
.burger-cart-link .cart-svg {
  display: block !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  fill: currentColor !important;
}

.cart-badge,
.desktop-cart-link .cart-badge,
.burger-cart-link .cart-badge {
  position: absolute !important;
  top: -.42rem !important;
  right: -.42rem !important;

  min-width: 1.18rem !important;
  height: 1.18rem !important;
  padding: 0 .32rem !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: #ef3340 !important;
  color: #ffffff !important;

  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  z-index: 5 !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
}

/* ============================================================
   FINAL OVERRIDE: Mobile Nav Verlauf, Unterseiten Cut, Cards
   ============================================================ */

/* 1 + 3) Verlauf: Navbar darf mobil keinen weißen Block erzeugen.
   Unterseiten laufen direkt mit demselben Verlauf durch. */
body:not(.admin-body):not(.customer-body) {
  background-color: #ffffff !important;
  background-image: var(--gradient-content) !important;
  background-repeat: no-repeat !important;
  background-position: center 0 !important;
  background-size: 100% 100% !important;
}

body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}

body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image: var(--gradient-content) !important;
  background-position: center var(--gradient-start-y) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
}

/* Header bekommt denselben Start wie Verlauf, nicht weiß */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar,
  body:not(.admin-body):not(.customer-body) .navbar-inner {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.98) 0%,
        rgba(200,230,240,.96) 42%,
        rgba(141,199,215,.96) 100%
      ) !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    margin: 0 !important;
    padding: .1rem 0 .45rem 0 !important;

    gap: 0 !important;
    row-gap: 0 !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    row-gap: 0 !important;
  }

  /* 1) burger-extra-link darf keine riesigen Abstände erzeugen */
  body:not(.admin-body):not(.customer-body) .navbar-nav > a,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav > .burger-extra-link {
    display: block !important;

    margin: 0 !important;
    padding: .08rem 1rem !important;

    min-height: unset !important;
    height: auto !important;

    line-height: 1 !important;
    font-size: .98rem !important;
    font-weight: 700 !important;

    color: #183847 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
  }

  /* 2) etwas mehr Abstand zwischen Admin und Warenkorb */
  body:not(.admin-body):not(.customer-body) .navbar-nav.open > .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show > .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active > .burger-cart-link {
    display: inline-flex !important;

    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;

    margin: .42rem auto 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    color: var(--primary) !important;
    background: transparent !important;

    border: 1px solid var(--primary) !important;
    border-radius: .45rem !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 1 !important;
  }
}

/* 5) Unterseiten: Links sichtbar, sofern das Script im globalen Layout vorhanden ist */
@media (max-width: 1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* 4) Cards wirklich umbrechen:
   Mit Sidebar: maximal 2 Spalten, bevor es zu schmal wird.
   Ohne Sidebar: responsive mit Mindestbreite. */
body:not(.admin-body):not(.customer-body) .products-layout,
body:not(.admin-body):not(.customer-body) .shop-layout {
  width: 96% !important;
  max-width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar),
body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
  gap: clamp(1.2rem, 2vw, 2rem) !important;
  align-items: start !important;
}

body:not(.admin-body):not(.customer-body) .products-grid,
body:not(.admin-body):not(.customer-body) .product-grid,
body:not(.admin-body):not(.customer-body) .products-list,
body:not(.admin-body):not(.customer-body) .product-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: clamp(1rem, 1.6vw, 1.7rem) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* WICHTIG: in Layouts mit Sidebar NIE 3 gequetschte Spalten */
body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar) .products-grid,
body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) .products-grid,
body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar) .product-grid,
body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) .product-grid {
  grid-template-columns: repeat(2, minmax(320px, 1fr)) !important;
}

body:not(.admin-body):not(.customer-body) .product-card,
body:not(.admin-body):not(.customer-body) .card.product-card {
  min-width: 320px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Wenn für 2 Spalten zu wenig Platz ist -> 1 Spalte */
@media (max-width: 1150px) {
  body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar) .products-grid,
  body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) .products-grid,
  body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar) .product-grid,
  body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) .product-grid {
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-body):not(.customer-body) .product-card,
  body:not(.admin-body):not(.customer-body) .card.product-card {
    min-width: 0 !important;
  }
}

@media (max-width: 900px) {
  body:not(.admin-body):not(.customer-body) .products-layout:has(.categories-sidebar),
  body:not(.admin-body):not(.customer-body) .shop-layout:has(.categories-sidebar) {
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-body):not(.customer-body) .products-grid,
  body:not(.admin-body):not(.customer-body) .product-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Desktop: Extra Links nur rechts */
@media (min-width: 1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    display: none !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-actions .desktop-extra-action {
    display: inline-flex !important;
  }
}

/* Cart */
.cart-svg,
.desktop-cart-link .cart-svg,
.burger-cart-link .cart-svg {
  display: block !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  fill: currentColor !important;
}

.cart-badge,
.desktop-cart-link .cart-badge,
.burger-cart-link .cart-badge {
  position: absolute !important;
  top: -.42rem !important;
  right: -.42rem !important;

  min-width: 1.18rem !important;
  height: 1.18rem !important;
  padding: 0 .32rem !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: #ef3340 !important;
  color: #ffffff !important;

  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  z-index: 5 !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
}

/* ── 5. GRID-3 auf Unterseiten: umbrechen ── */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.2rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Mobil: 2 Spalten, sehr klein: 1 Spalte */
@media (max-width: 700px) {
  body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .grid-3 {
    grid-template-columns: 1fr !important;
  }
}
/* ═══════════════════════════════════════════════════════
   FINALER BLOCK — EIN EINZIGER OVERRIDE FÜR ALLES
   ═══════════════════════════════════════════════════════ */

/* ── Unterseiten: Content-Gradient am Body, Navbar bekommt Header-Gradient ── */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
}


/* ── Placeholder weiß ── */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .form-control::placeholder,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) input::placeholder,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) textarea::placeholder {
  color: rgba(255,255,255,.55) !important;
  opacity: 1 !important;
}

/* ── Produkt-Detail Layout ── */
.product-detail-layout { display:grid; grid-template-columns:1fr 380px; gap:3rem; align-items:start; }
.product-order-col { position:sticky; top:80px; }
@media (max-width:900px) { .product-detail-layout { grid-template-columns:1fr 300px; gap:2rem; } }
@media (max-width:700px) {
  .product-detail-layout { display:flex !important; flex-direction:column !important; gap:1.5rem !important; }
  .product-order-col { order:-1 !important; position:static !important; width:100% !important; }
}

/* ── Checkout Layout ── */
.checkout-layout { display:grid; grid-template-columns:1fr 380px; gap:3rem; align-items:start; }
.checkout-order-col { position:sticky; top:80px; }
@media (max-width:900px) { .checkout-layout { grid-template-columns:1fr 300px; gap:2rem; } }
@media (max-width:700px) {
  .checkout-layout { display:flex !important; flex-direction:column !important; gap:1.5rem !important; }
  .checkout-order-col { order:-1 !important; position:static !important; width:100% !important; }
}

/* ── 1. Desktop >= 1101px: Burger-Extras ausblenden ── */
@media (min-width:1101px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-separator,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link { display:none !important; }
}

/* ── 2. Mobil <= 1100px: Burger-Menü ── */
@media (max-width:1100px) {
  body:not(.admin-body):not(.customer-body) .navbar-nav:not(.open):not(.show):not(.active) .burger-separator,
  body:not(.admin-body):not(.customer-body) .navbar-nav:not(.open):not(.show):not(.active) .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav:not(.open):not(.show):not(.active) .burger-cart-link { display:none !important; }
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .nav-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-extra-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-extra-link { padding-top:.35rem !important; padding-bottom:.35rem !important; }
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-separator {
    display:block !important; list-style:none !important; width:70% !important;
    height:1px !important; background:rgba(0,0,0,.15) !important; margin:.3rem auto !important; padding:0 !important; border:none !important;
  }
  body:not(.admin-body):not(.customer-body) .navbar-nav.open .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active .burger-cart-link,
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link {
    position:relative !important; display:flex !important; align-items:center !important;
    justify-content:center !important; width:100% !important; padding:.5rem 1.25rem !important;
    margin-top:.25rem !important; border-top:1px solid rgba(0,0,0,.13) !important;
    text-decoration:none !important; box-sizing:border-box !important;
  }
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link > i { font-size:1.4rem !important; color:#183847 !important; display:block !important; }
  body:not(.admin-body):not(.customer-body) .navbar-nav .burger-cart-link > .cart-badge { top:0rem !important; left:calc(50% + 1rem) !important; right:auto !important; }
  body:not(.admin-body):not(.customer-body) div:has(> div > .grid-3) { display:grid !important; grid-template-columns:1fr !important; }
  body:not(.admin-body):not(.customer-body) div:has(> div > .grid-3) > div:first-child { width:100% !important; min-width:0 !important; }
}

/* ── 3. Produkte-Grid: max 4 Spalten ── */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .grid-3 {
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:1.2rem !important; width:100% !important; min-width:0 !important; overflow:visible !important;
}
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .grid-3 > * { min-width:0 !important; box-sizing:border-box !important; }
@media (max-width:1100px) { body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)) !important; } }
@media (max-width:750px)  { body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width:480px)  { body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .grid-3 { grid-template-columns:1fr !important; } }

/* ── 4. Badge gold ── */
.product-badge-top { background:linear-gradient(135deg,#f5a623,#e08800) !important; font-size:.6rem !important; padding:.18rem .5rem !important; top:.6rem !important; right:.6rem !important; }

/* ── 5. Preise auf Unterseiten ── */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .product-card .price { color:var(--primary) !important; opacity:1 !important; }

/* ── 6. Footer-Text weiß ── */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .footer p,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .footer .footer-brand-desc,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) footer p,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) footer .footer-brand-desc { color:rgba(255,255,255,.8) !important; }

/* ── 7. "Alle Produkte ansehen" Button ── */
a.btn.btn-outline.btn-lg[href="/produkte"] { background:var(--primary) !important; color:var(--text) !important; border-color:var(--primary) !important; }
/* ══════════════════════════════════════════════════════════════════
   UNTERSEITEN BACKGROUND — EINZIGER FINALER OVERRIDE
   Body: voller Gradient über gesamte Seitenhöhe, Farbe #0a0a0a als
   background-color (= letzter Stop) damit nach dem Gradient schwarz bleibt.
   Navbar: transparent → Gradient läuft nahtlos vom ganz oben.
   ══════════════════════════════════════════════════════════════════ */
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) {
  background-image: var(--gradient) !important;
  background-color: #ffffff !important;
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
  background-position: 0 0 !important;
  background-size: 100% 100% !important;
}
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .navbar,
body:not(.admin-body):not(.customer-body):not(:has(.hero-section)) .navbar-inner {
  background: transparent !important;
  box-shadow: none !important;
}
/* ============================================================
   FINAL FIX 2026-05-19
   Ziel:
   - ALLES aus der Originaldatei bleibt vorhanden
   - Navi + Hero volle Breite
   - Content-Bereiche 96% Breite
   - KEINE fixed Navi
   - KEIN schwarzer Hintergrund unter Hero oder Verlauf
   - Unterseiten: KEIN harter Cut zwischen Navi und Inhalt
   - Verlauf wird aus DB-Variablen genutzt, NICHT neu erfunden

   Logik:
   1) body malt oben den Header-Verlauf aus --gradient-header
   2) body malt darunter den Content-Verlauf aus --gradient-content
   3) Unterseiten starten den Content-Verlauf direkt unter der Navi
   4) Startseite startet den Content-Verlauf direkt unter Navi + Hero
   5) Der Verlauf wird immer auf die reale Seitenhöhe gestreckt
   ============================================================ */

:root {
  --nrh-nav-h-final: 92px;
  --nrh-hero-h-final: clamp(360px, 26.0417vw, 500px);
  --nrh-page-w-final: 96%;
}

html {
  min-height: 100% !important;
  background: transparent !important;
}

html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body:not(.admin-body):not(.customer-body) {
  min-height: 100vh !important;
  padding-top: 0 !important;
  color: #ffffff !important;

  /* KEIN Schwarz/Weiß unter dem Verlauf */
  background-color: transparent !important;
  background-blend-mode: normal !important;

  /* Unterseiten-Default: Header-Verlauf oben, Content-Verlauf direkt darunter */
  background-image:
    var(--gradient-header, var(--gradient)),
    var(--gradient-content, var(--gradient)) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, scroll !important;
  background-position:
    0 0,
    0 var(--nrh-nav-h-final) !important;
  background-size:
    100% var(--nrh-nav-h-final),
    100% calc(100% - var(--nrh-nav-h-final)) !important;
}

/* Startseite / Seiten MIT Hero:
   Content-Verlauf beginnt erst direkt UNTER Hero, nicht darunter schwarz. */
body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image:
    var(--gradient-header, var(--gradient)),
    var(--gradient-content, var(--gradient)) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, scroll !important;
  background-position:
    0 0,
    0 calc(var(--nrh-nav-h-final) + var(--nrh-hero-h-final)) !important;
  background-size:
    100% var(--nrh-nav-h-final),
    100% calc(100% - var(--nrh-nav-h-final) - var(--nrh-hero-h-final)) !important;
  background-color: transparent !important;
}

/* Navi: 100%, NICHT fixed, kein eigener Hintergrund-Cut.
   Der Header-Verlauf kommt vom body und läuft sauber darunter. */
body:not(.admin-body):not(.customer-body) .navbar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  z-index: 100 !important;

  background: transparent !important;
  background-color: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body:not(.admin-body):not(.customer-body) .navbar-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Hero: 100% Breite, KEIN schwarzer Hintergrund.
   Positionen der bestehenden Header-Elemente werden NICHT neu gesetzt. */
body:not(.admin-body):not(.customer-body) .hero-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  height: var(--nrh-hero-h-final) !important;
  min-height: var(--nrh-hero-h-final) !important;
  max-height: none !important;
  position: relative !important;
  overflow: hidden !important;
  background-color: transparent !important;
}

body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img,
body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  z-index: 0 !important;
}

/* Overlay bleibt erlaubt, aber nur im Hero, nicht als Seitenhintergrund. */
body:not(.admin-body):not(.customer-body) .hero-section .overlay,
body:not(.admin-body):not(.customer-body) .hero-section .hero-overlay {
  z-index: 1 !important;
}

body:not(.admin-body):not(.customer-body) .hero-section > .container,
body:not(.admin-body):not(.customer-body) .hero-section .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Content 96%, aber Navi + Hero bleiben 100%. */
body:not(.admin-body):not(.customer-body) main,
body:not(.admin-body):not(.customer-body) .page,
body:not(.admin-body):not(.customer-body) .page-content,
body:not(.admin-body):not(.customer-body) .products-page,
body:not(.admin-body):not(.customer-body) footer,
body:not(.admin-body):not(.customer-body) .footer,
body:not(.admin-body):not(.customer-body) .site-footer {
  width: var(--nrh-page-w-final) !important;
  max-width: var(--nrh-page-w-final) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Alle Inhaltsbereiche transparent, damit der BODY-Verlauf ohne Cut durchgeht. */
body:not(.admin-body):not(.customer-body) section:not(.hero-section),
body:not(.admin-body):not(.customer-body) .section,
body:not(.admin-body):not(.customer-body) .section-sm,
body:not(.admin-body):not(.customer-body) .section-lg,
body:not(.admin-body):not(.customer-body) #top-produkte,
body:not(.admin-body):not(.customer-body) #bewertungen,
body:not(.admin-body):not(.customer-body) #partner,
body:not(.admin-body):not(.customer-body) .usps-band,
body:not(.admin-body):not(.customer-body) .cta-banner {
  background: transparent !important;
  background-color: transparent !important;
}

/* Mobile: gleiche Logik, nur andere Höhen. */
@media (max-width: 768px) {
  :root {
    --nrh-nav-h-final: 60px;
    --nrh-hero-h-final: 300px;
  }

  body:not(.admin-body):not(.customer-body) .hero-section {
    height: var(--nrh-hero-h-final) !important;
    min-height: var(--nrh-hero-h-final) !important;
  }

  body:not(.admin-body):not(.customer-body) .navbar-nav.open,
  body:not(.admin-body):not(.customer-body) .navbar-nav.show,
  body:not(.admin-body):not(.customer-body) .navbar-nav.active {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--nrh-nav-h-final) !important;
    width: 100% !important;
    background: var(--gradient-header, var(--gradient)) !important;
    border-top: 0 !important;
    z-index: 99 !important;
  }
}

/* ============================================================
   FINAL PATCH: HERO IMMER 100% VIEWPORT-BREITE
   Problem: Wenn .hero-section innerhalb von main/.page liegt, wurde sie
   durch die 96%-Content-Regel mit verkleinert.
   Lösung: Hero bricht aus dem Content-Wrapper aus, Navi/Hero bleiben 100%,
   Content darunter bleibt 96%.
   ============================================================ */

body:not(.admin-body):not(.customer-body) .hero-section {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: transparent !important;
  background-color: transparent !important;
}

body:not(.admin-body):not(.customer-body) .hero-section .hero-bg,
body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img,
body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-image,
body:not(.admin-body):not(.customer-body) .hero-section picture,
body:not(.admin-body):not(.customer-body) .hero-section picture img {
  width: 100% !important;
  max-width: 100% !important;
}

body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-img,
body:not(.admin-body):not(.customer-body) .hero-section .hero-bg-image,
body:not(.admin-body):not(.customer-body) .hero-section picture img {
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Der Container im Hero darf die Hintergrundbreite NICHT begrenzen.
   Die absolute Header-Positionen bleiben aus deiner Originaldatei erhalten. */
body:not(.admin-body):not(.customer-body) .hero-section > .container,
body:not(.admin-body):not(.customer-body) .hero-section .container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Falls der Hero in einem 96%-Wrapper steckt, darf genau dieser Hero trotzdem
   über die volle Viewportbreite laufen. */
body:not(.admin-body):not(.customer-body) main > .hero-section,
body:not(.admin-body):not(.customer-body) .page > .hero-section,
body:not(.admin-body):not(.customer-body) .page-content > .hero-section,
body:not(.admin-body):not(.customer-body) .products-page > .hero-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* ── Warenkorb-Button Navbar (Font-Awesome Icon Fix) ─────────────────────── */
/* Das CSS setzt font-size:0 auf den Anker (für SVG-Icons).
   Damit das FA-Icon trotzdem korrekt angezeigt wird, wird dessen font-size
   explizit gesetzt und der Button als sichtbarer Kasten definiert. */
.cart-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  color: var(--primary, #1565c0) !important;
  background: transparent !important;
  border: 1px solid var(--primary, #1565c0) !important;
  border-radius: .45rem !important;
  text-decoration: none !important;
  font-size: 0 !important; /* Text-Knoten verstecken */
}

.cart-btn i,
.cart-btn svg {
  font-size: 1.3rem !important; /* FA-Icon sichtbar machen */
  display: block !important;
  line-height: 1 !important;
}

.cart-btn .cart-badge {
  position: absolute !important;
  top: -.42rem !important;
  right: -.42rem !important;
  min-width: 1.18rem !important;
  height: 1.18rem !important;
  padding: 0 .32rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #ef3340 !important;
  color: #ffffff !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  z-index: 5 !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important;
}


/* ============================================================
   FIXES 2026-06-01
   ============================================================ */

/* 1. Startseite: Gradient startet nach Hero (nav + hero Höhe).
      Vollen Gradient verwenden statt content-Gradient damit kein
      weißer Stich entsteht. background-color auf subpage-bg damit
      der Bereich unterhalb des Gradienten nicht weiß aufblitzt. */
body:not(.admin-body):not(.customer-body):has(.hero-section) {
  background-image: var(--gradient) !important;
  background-color: var(--subpage-bg, #193d49) !important;
  background-size: 100% calc(100% - var(--gradient-start-y)) !important;
  background-position: center var(--gradient-start-y) !important;
}

/* 2. Checkout-Schritte: dezente Textfarbe aus Admin-Einstellung */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.checkout-step.is-active {
  color: #ffffff;
  font-weight: 700;
}
.checkout-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
}
.checkout-step.is-active .checkout-step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.checkout-step.is-done .checkout-step-num {
  background: var(--success);
  border-color: var(--success);
  color: #ffffff;
}
.checkout-step-label {
  color: var(--text-muted);
}
.checkout-step.is-active .checkout-step-label {
  color: #ffffff;
}
.checkout-step.is-done .checkout-step-label {
  color: var(--text-muted);
}
.checkout-step-line {
  width: 60px;
  height: 2px;
  background: var(--text-muted);
  opacity: .4;
  margin: 0 .5rem;
  margin-bottom: 1.35rem;
}
.checkout-step-line.is-done {
  background: var(--primary);
  opacity: 1;
}

/* 3. Laufzeit-Buttons: NUR der gewählte bekommt Rahmen, alle anderen keinen */
.billing-option-card {
  border: 2px solid transparent !important;
  border-radius: var(--radius-sm) !important;
  padding: .6rem .75rem !important;
  text-align: center !important;
  transition: border-color .18s, background .18s !important;
  cursor: pointer !important;
}
.billing-radio:checked + .billing-option-card {
  border-color: var(--primary) !important;
  background: rgba(26,107,94,.12) !important;
  color: #ffffff !important;
}
