/* 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 */
#top-produkte .product-card {
  background: #ffffff !important;
  border-color: #2B687D !important;
  color: #1a2a35 !important;
  display: flex !important;
  flex-direction: column !important;
}
#top-produkte .product-card h3 { color: #1a2a35 !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 auf dem Gradient: weißer Hintergrund, dunkler Text */
body:not(.admin-body) .card,
body:not(.admin-body) .product-card,
body:not(.admin-body) .review-card {
  background: #ffffff !important;
  color: #1a2a35 !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) .card .text-muted,
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 { color: #1a2a35 !important; }
body:not(.admin-body) .card .text-muted,
body:not(.admin-body) .product-card .text-muted { color: #5a7080 !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 aus theme.php */
body:not(.admin-body):not(.customer-body) {
  background: var(--gradient) !important;
  background-attachment: scroll !important;
}
body:not(.admin-body):not(.customer-body) .navbar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}


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

.hero-section {
  position: relative;
  min-height: 500px;
}

.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: 25%;
  top: 35%;
  left: 83%;
  height: auto;
}

.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: 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: 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: 22%;
    top: 45%;
    left: 90%;
    transform: translateX(-50%);
  }

  .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: 27%;
    top: 34%;
    left: 86%;
    transform: translateX(-50%);
  }

  .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;
}