/* ============================================
   Landing Page - Dark / Light Mode + Modern UI
   ============================================ */

:root {
  --lp-bg: #0f0f12;
  --lp-bg-elevated: #18181c;
  --lp-text: #f0f0f5;
  --lp-text-muted: #a0a0b0;
  --lp-accent: #6366f1;
  --lp-accent-hover: #818cf8;
  --lp-border: rgba(255,255,255,0.08);
  --lp-card: rgba(24,24,28,0.8);
  --lp-gradient-start: #6366f1;
  --lp-gradient-end: #a855f7;
  --lp-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  /* Fenster (Modal) – Dark Mode */
  --fenster-bg: #1a1a1f;
  --fenster-border: rgba(255,255,255,0.1);
  --fenster-text: #f0f0f5;
  --fenster-text-muted: #94a3b8;
  --fenster-close-bg: rgba(255,255,255,0.1);
  --fenster-close-hover: rgba(255,255,255,0.18);
  --fenster-input-bg: #25252c;
  --fenster-input-border: rgba(255,255,255,0.12);
  --fenster-block-border: rgba(255,255,255,0.06);
  --fenster-icon-pin-bg: rgba(236,72,153,0.2);
  --fenster-icon-pin-color: #f472b6;
  --fenster-icon-mail-bg: rgba(139,92,246,0.2);
  --fenster-icon-mail-color: #a78bfa;
  --fenster-icon-phone-bg: rgba(236,72,153,0.2);
  --fenster-icon-phone-color: #f472b6;
  --fenster-shadow: 0 32px 64px -12px rgba(0,0,0,0.5);
}

[data-theme="light"] {
  --lp-bg: #f8fafc;
  --lp-bg-elevated: #ffffff;
  --lp-text: #0f172a;
  --lp-text-muted: #64748b;
  --lp-accent: #4f46e5;
  --lp-accent-hover: #6366f1;
  --lp-border: rgba(0,0,0,0.08);
  --lp-card: rgba(255,255,255,0.9);
  --lp-shadow: 0 25px 50px -12px rgba(0,0,0,0.12);
  /* Fenster (Modal) – Light Mode */
  --fenster-bg: #ffffff;
  --fenster-border: rgba(0,0,0,0.08);
  --fenster-text: #1e293b;
  --fenster-text-muted: #64748b;
  --fenster-close-bg: #f1f5f9;
  --fenster-close-hover: #e2e8f0;
  --fenster-input-bg: #f8fafc;
  --fenster-input-border: #e2e8f0;
  --fenster-block-border: #f1f5f9;
  --fenster-icon-pin-bg: #fce7f3;
  --fenster-icon-pin-color: #be185d;
  --fenster-icon-mail-bg: #ede9fe;
  --fenster-icon-mail-color: #6d28d9;
  --fenster-icon-phone-bg: #fce7f3;
  --fenster-icon-phone-color: #be185d;
  --fenster-shadow: 0 32px 64px -12px rgba(0,0,0,0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background 0.4s ease, color 0.3s ease;
  overflow-x: hidden;
}

.text-muted {
  color: var(--lp-text-muted) !important;
}

/* Theme Toggle – in der Navbar neben den 3 Strichen */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.95);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.05);
}
.theme-toggle-nav {
  padding: 0;
}
[data-theme="light"] .navbar-hero .theme-toggle {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.15);
  color: #fff;
}
[data-theme="light"] .navbar-hero .theme-toggle:hover {
  background: rgba(255,255,255,0.25);
}

/* ========== Top Bar (oben, Dark/Light anpassbar) ========== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 1060;
  background: #1e0a2e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
[data-theme="light"] .top-bar {
  background: #e0e7ff;
  border-bottom-color: rgba(0,0,0,0.06);
}
.top-bar-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.top-bar-link:hover {
  color: #fff;
}
[data-theme="light"] .top-bar-link {
  color: #3730a3;
}
[data-theme="light"] .top-bar-link:hover {
  color: #1e1b4b;
}
.top-bar-link svg {
  flex-shrink: 0;
  opacity: 0.85;
}
@media (max-width: 767px) {
  .top-bar-left .top-bar-link span,
  .top-bar-link { font-size: 0.75rem; }
  .top-bar .container { flex-wrap: wrap; justify-content: center; gap: 0.5rem; padding-top: 0.35rem; padding-bottom: 0.35rem; }
  .top-bar { height: auto; min-height: 40px; }
}

/* ========== Hero Wrapper (Violett → Blau → Türkis, Dark/Light) ========== */
.hero-wrapper {
  position: relative;
  background: linear-gradient(135deg, #5b21b6 0%, #4c1d95 25%, #3730a3 50%, #1e40af 75%, #0d9488 100%);
  min-height: 82vh;
}
[data-theme="light"] .hero-wrapper {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 30%, #3b82f6 60%, #0d9488 100%);
}
.navbar-hero.fixed-top {
  top: 40px;
}
.hero-wrapper .hero-gradient {
  min-height: 82vh;
  padding-top: 5rem;
  padding-bottom: 3rem;
  position: relative;
  color: #fff;
}
[data-theme="light"] .hero-wrapper .hero-gradient {
  color: #fff;
}
[data-theme="light"] .navbar-hero .nav-link-hero,
[data-theme="light"] .navbar-hero .nav-link-icon,
[data-theme="light"] .navbar-hero .dropdown-toggle {
  color: rgba(255,255,255,0.95) !important;
}
[data-theme="light"] .navbar-hero .nav-link-hero:hover,
[data-theme="light"] .navbar-hero .nav-link-icon:hover {
  color: #fff !important;
}
[data-theme="light"] .btn-nav-hamburger {
  color: rgba(255,255,255,0.95) !important;
}
[data-theme="light"] .hero-content-spec .hero-headline,
[data-theme="light"] .hero-features-spec,
[data-theme="light"] .hero-price-value {
  color: #fff;
}
[data-theme="light"] .hero-features-spec li::before {
  background: rgba(255,255,255,0.9);
}
[data-theme="light"] .hero-price-marker {
  opacity: 0.9;
}
[data-theme="light"] .btn-hero-dashboard {
  color: #fff !important;
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
[data-theme="light"] .btn-hero-dashboard:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.3);
}
.hero-diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: #fff;
  clip-path: polygon(0 100%, 0 40%, 100% 0, 100% 100%);
}
[data-theme="dark"] .hero-diagonal { background: var(--lp-bg); }
[data-theme="light"] .hero-diagonal { background: #f8fafc; }
.main-content { background: #fff; }
[data-theme="dark"] .main-content { background: var(--lp-bg); }

/* Navbar auf Hero (weiße Schrift) */
.navbar-hero {
  align-items: center;
}
.navbar-hero .navbar-brand-hero {
  color: #fff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar-hero .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  background: transparent;
  mix-blend-mode: lighten;
}
.navbar-brand-hero .navbar-logo-img {
  background: none;
}
.navbar-hero .brand-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.5);
}
.navbar-hero .brand-name { font-weight: 700; font-size: 1.25rem; }
.navbar-hero .brand-tagline { font-size: 0.7rem; opacity: 0.9; font-weight: 500; }
.navbar-hero .nav-link-hero { color: rgba(255,255,255,0.95) !important; font-weight: 500; font-size: 1.05rem; }
.navbar-hero .nav-link-hero:hover { color: #fff !important; }
.navbar-hero .nav-link-icon { color: rgba(255,255,255,0.9) !important; padding: 0.2rem 0.3rem; }
.navbar-hero .dropdown-toggle::after { margin-left: 0.35em; vertical-align: 0.2em; }

/* Navbar: Logo links, Links mittig (bezogen auf gesamte Breite), Icons rechts */
@media (min-width: 992px) {
  .navbar-collapse-centered {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
  }
  .navbar-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .navbar-nav-center .nav-link {
    padding: 0.35rem 0.45rem;
    white-space: nowrap;
  }
  .navbar-nav-right {
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  .navbar-hero .nav-link-icon svg {
    width: 22px;
    height: 22px;
  }
  .navbar-hero .hamburger-icon {
    width: 26px;
    height: 22px;
  }
  .navbar-hero .hamburger-icon span {
    height: 2.5px;
  }
  .navbar-hero .theme-toggle {
    width: 44px;
    height: 44px;
  }
}

/* Hamburger (3 Striche) in der Nav */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 20px;
}
.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-nav-hamburger {
  color: rgba(255,255,255,0.95) !important;
  cursor: pointer;
}
.btn-nav-hamburger:hover {
  color: #fff !important;
}
.d-lg-none .hamburger-icon span { background: #fff; }

.navbar-toggler-light .navbar-toggler-icon { filter: brightness(0) invert(1); }
.navbar-toggler-light { border-color: rgba(255,255,255,0.4); }

/* Hosting Dropdown (Mega-Menu) */
.dropdown-menu-hosting {
  min-width: 520px;
  padding: 0;
  border: 1px solid var(--lp-border);
  border-radius: 0.75rem;
  box-shadow: var(--lp-shadow);
  margin-top: 0.5rem;
  background: var(--lp-bg-elevated);
}
.dropdown-hosting-inner {
  padding: 1rem;
}
.dropdown-item-service {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  color: var(--lp-text);
  text-decoration: none;
  transition: background 0.2s;
  white-space: normal;
}
.dropdown-item-service:hover {
  background: rgba(99,102,241,0.12);
  color: var(--lp-text);
}
.dropdown-item-service .service-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.dropdown-item-service .service-icon::after {
  width: 20px;
  height: 20px;
}
.dropdown-item-service strong { font-size: 0.95rem; }
.dropdown-item-service .text-muted { font-size: 0.8rem; line-height: 1.3; }
@media (max-width: 991.98px) {
  .dropdown-menu-hosting { min-width: 100%; }
  .dropdown-hosting-inner .row { flex-direction: column; }
}

.btn-hero-cta {
  background: #fff;
  color: #5b21b6 !important;
  border: 2px solid rgba(255,255,255,0.8);
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-cta:hover {
  background: rgba(255,255,255,0.95);
  color: #5b21b6 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Banner Section (xs-banner) */
.xs-banner { color: #fff; }
.xs-banner-content { padding-right: 1rem; }
.banner-sub-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.banner-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.banner-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}
.xs-btn-wraper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-banner-primary {
  background: #007bff !important;
  border-color: #007bff !important;
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 0.4rem;
}
.btn-banner-primary:hover {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #fff !important;
}
.btn-banner-outline {
  border: 2px solid rgba(255,255,255,0.9);
  color: #fff !important;
  background: transparent !important;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 0.4rem;
}
.btn-banner-outline:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: #fff !important;
  color: #fff !important;
}
.btn-banner-start {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
}
.btn-banner-start.icon-right svg {
  transition: transform 0.2s;
}
.btn-banner-start:hover.icon-right svg {
  transform: translateX(4px);
}

/* Banner v7 (Company-website Layout): Bensch + Minecraft */
.xs-banner.banner-v7 {
  position: relative;
  overflow: visible;
  min-height: 660px;
}
.xs-banner.banner-v7 .hero-row-height {
  min-height: 70vh;
}
.xs-banner.banner-v7 .xs-banner-image {
  position: relative;
  pointer-events: none;
  z-index: 2;
  transform: translateX(-12%);
}
.xs-banner.banner-v7 .xs-banner-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.xs-banner.banner-v7 .welcome-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  max-width: 720px;
  height: 85%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.xs-banner.banner-v7 .welcome-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
}
.xs-banner.banner-v7 .xs-banner-image {
  position: relative;
  z-index: 2;
}
.xs-banner.banner-v7 .container {
  position: relative;
  z-index: 2;
}
.xs-banner.skew-bg {
  position: relative;
}
.xs-banner.skew-bg .hero-diagonal {
  display: none;
}
.xs-banner.skew-bg::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: #fff;
  clip-path: polygon(0 100%, 0 35%, 100% 0, 100% 100%);
  z-index: 1;
  pointer-events: none;
}
[data-theme="dark"] .xs-banner.skew-bg::after { background: var(--lp-bg); }
[data-theme="light"] .xs-banner.skew-bg::after { background: #f8fafc; }
/* Hero Content (Spec): Headline + Preis-Marker + Liste + CTA */
.hero-content-spec {
  padding-right: 0.75rem;
}
.hero-content-spec .hero-headline {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero-price-wrap {
  position: relative;
  display: inline-block;
}
.hero-price-value {
  position: relative;
  z-index: 1;
  color: #fef08a;
}
.hero-price-marker {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: 0;
  height: 16px;
  z-index: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 16'%3E%3Cline x1='0' y1='8' x2='140' y2='8' stroke='%2394f5f5' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 16px;
  opacity: 0.95;
}
.hero-features-spec {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1.25rem;
  max-width: 380px;
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
}
.hero-features-spec li {
  padding-left: 1.35rem;
  position: relative;
}
.hero-features-spec li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
}
.hero-cta-wrap { margin-top: 0.25rem; }
.btn-hero-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #fff !important;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-hero-dashboard:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.btn-hero-dashboard .btn-arrow {
  font-size: 1.2em;
  transition: transform 0.2s;
}
.btn-hero-dashboard:hover .btn-arrow { transform: translateX(4px); }

.banner-6-content .banner-sub-title {
  color: #2cd3d9;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.banner-6-content .banner-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.banner-6-content .xs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255,255,255,0.95);
}
.banner-6-content .xs-list.bullet li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.banner-6-content .xs-list.bullet li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
}
@media (max-width: 991px) {
  .xs-banner.banner-v7 .xs-banner-image { display: none; }
  .xs-banner.banner-v7 .welcome-bg { display: none; }
  .xs-banner.skew-bg::after { display: none; }
  .hero-features-spec { grid-template-columns: 1fr; }
}

/* Hero Content (Kundenlayout, Legacy) */
.hero-intro {
  font-size: 1.1rem;
  color: #2cd3d9;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0;
}
.hero-price {
  display: inline-block;
  position: relative;
}
.hero-price::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 4px;
  background: #60a5fa;
  border-radius: 2px;
  opacity: 0.95;
}
.hero-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
}
.hero-features-list li {
  padding: 0.25rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.hero-features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
}
.btn-hero-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #5b21b6 !important;
  border: 2px solid #8b5cf6;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-main:hover {
  color: #5b21b6 !important;
  background: rgba(255,255,255,0.98);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.btn-arrow { font-size: 1.2em; }

/* Hero Illustration (modern, kein Cartoon) */
.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 380px;
}
.hero-ill-bg {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}
.hero-ill-card {
  position: relative;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}
.hero-ill-screen {
  height: 200px;
  border-radius: 0.5rem;
  background: linear-gradient(160deg, rgba(96,165,250,0.4) 0%, rgba(139,92,246,0.3) 100%);
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-ill-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

/* Main Content (unterhalb der Diagonale) */
.main-content {
  margin-top: -1px;
  position: relative;
  z-index: 1;
}

/* ========== Services Block (off-white Karte, 2 Spalten) ========== */
.services-block {
  padding: 0 0 4rem;
  margin-top: -2rem;
}
.services-card {
  background: #f1f5f9;
  border-radius: 1rem 1rem 0 0;
  padding: 2.5rem 2rem;
  max-width: 100%;
  border: 1px solid rgba(0,0,0,0.06);
  border-bottom: none;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
}
[data-theme="dark"] .services-card,
body[data-theme="dark"] .services-card {
  background: var(--lp-bg-elevated);
  border-color: var(--lp-border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--lp-text);
  transition: background 0.2s, transform 0.2s;
  border: 1px solid transparent;
}
.service-item:hover {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.2);
  color: var(--lp-text);
}
[data-theme="dark"] .service-item:hover,
body[data-theme="dark"] .service-item:hover {
  background: rgba(99,102,241,0.12);
}
.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon::after {
  content: '';
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}
.service-icon-webspace::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3Crect x='4' y='12' width='4' height='4'/%3E%3Crect x='10' y='12' width='4' height='4'/%3E%3Crect x='16' y='12' width='4' height='4'/%3E%3C/svg%3E");
}
.service-icon-plesk::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h4'/%3E%3Cpath d='M14 4v4M10 16l2 4M14 16l-2 4'/%3E%3C/svg%3E");
}
.service-icon-vps::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2'%3E%3Crect x='2' y='4' width='8' height='16' rx='1'/%3E%3Crect x='14' y='4' width='8' height='16' rx='1'/%3E%3Cpath d='M6 10v4M18 10v4'/%3E%3C/svg%3E");
}
.service-icon-gameserver::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2'%3E%3Crect x='4' y='6' width='16' height='12' rx='1'/%3E%3Cpath d='M9 10v4M15 10v4M12 9v6'/%3E%3Ccircle cx='8' cy='16' r='1'/%3E%3Ccircle cx='16' cy='16' r='1'/%3E%3C/svg%3E");
}
.service-icon-nextcloud::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3Crect x='7' y='11' width='10' height='8' rx='1'/%3E%3Cpath d='M10 14h4'/%3E%3C/svg%3E");
}
.service-icon-domain::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}
.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--lp-text);
}
.service-desc {
  font-size: 0.9rem;
  color: var(--lp-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ========== Legacy Hero (falls wo referenziert) & Buttons ========== */
.hero {
  display: flex;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lp-accent);
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--lp-gradient-start), var(--lp-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-primary-custom {
  background: linear-gradient(135deg, var(--lp-gradient-start), var(--lp-gradient-end));
  border: none;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px var(--lp-accent);
  color: #fff;
}
.btn-outline-custom {
  border: 2px solid var(--lp-border);
  background: transparent;
  color: var(--lp-text);
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-custom:hover {
  border-color: var(--lp-accent);
  background: rgba(99,102,241,0.1);
  color: var(--lp-text);
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--lp-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Feature Cards */
.feature-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  backdrop-filter: blur(12px);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lp-shadow);
  border-color: rgba(99,102,241,0.3);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--lp-gradient-start), var(--lp-gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* CTA / Newsletter */
.cta-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.2));
  border: 1px solid var(--lp-border);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
}
.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg-elevated);
  color: var(--lp-text);
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder {
  color: var(--lp-text-muted);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}

/* Contact Form */
.contact-form .form-control,
.contact-form .form-select {
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
  background: var(--lp-bg-elevated);
  color: var(--lp-text);
}
.contact-form label {
  color: var(--lp-text-muted);
  font-weight: 500;
}

/* Navbar */
.navbar-custom {
  background: transparent;
  transition: background 0.3s;
}
.navbar-custom.scrolled {
  background: var(--lp-card);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
}
.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: var(--lp-text) !important;
  font-weight: 500;
}
.navbar-custom .nav-link:hover {
  color: var(--lp-accent) !important;
}

/* Footer */
.footer-custom {
  border-top: 1px solid var(--lp-border);
  padding: 2rem 0;
  color: var(--lp-text-muted);
  font-size: 0.9rem;
}

/* Alerts */
.alert-custom {
  border-radius: 0.5rem;
  border: 1px solid transparent;
}
.alert-success { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: #22c55e; }
.alert-danger  { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: #ef4444; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
}
.animate-on-scroll.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* Decorative grid */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--lp-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--lp-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
}

/* HDC-Host24 specific */
.brand-logo {
  font-weight: 900;
  background: linear-gradient(135deg, var(--lp-gradient-start), var(--lp-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1em;
}

/* Hero glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: var(--lp-gradient-start);
}
.hero-glow-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  background: var(--lp-gradient-end);
}
[data-theme="light"] .hero-glow {
  opacity: 0.12;
}

/* Hero trust badges */
.hero-trust {
  animation: fadeInUp 0.6s ease 0.25s both;
}
.trust-badge {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  display: inline-flex;
  align-items: center;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: inline-block;
}
.hero-server-icon {
  font-size: 8rem;
  line-height: 1;
  filter: drop-shadow(0 0 40px rgba(99,102,241,0.4));
  animation: float 4s ease-in-out infinite;
}
.hero-pulse {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid var(--lp-accent);
  opacity: 0.3;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(0.95); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.15; }
}

/* Product cards */
.product-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  backdrop-filter: blur(12px);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--lp-shadow);
  border-color: rgba(99,102,241,0.4);
}
.product-card.featured {
  border-color: rgba(99,102,241,0.5);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.2), var(--lp-shadow);
}
.product-card.featured:hover {
  box-shadow: 0 0 40px -10px var(--lp-accent), var(--lp-shadow);
}
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}
.product-price {
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-price .price-old {
  text-decoration: line-through;
  color: var(--lp-text-muted);
  font-size: 0.9rem;
}
.product-price .price-current {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--lp-gradient-start), var(--lp-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-price .price-period {
  color: var(--lp-text-muted);
  font-size: 0.9rem;
}
.product-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--lp-text-muted);
}
.product-features li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

/* Contact cards */
.contact-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  transition: transform 0.2s, border-color 0.2s;
  backdrop-filter: blur(12px);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.3);
}
.contact-card a {
  color: var(--lp-accent) !important;
  font-weight: 500;
}
.contact-card a:hover {
  text-decoration: underline !important;
}
.contact-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* ========== Fenster mittig (Modal) – Dark/Light mit Variablen ========== */
.modal-dialog-fenster {
  max-width: 420px;
  margin: 1.75rem auto;
}
.sidebar-fenster {
  background: var(--fenster-bg);
  border: 1px solid var(--fenster-border);
  border-radius: 1.25rem;
  box-shadow: var(--fenster-shadow);
}

.sidebar-fenster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--fenster-block-border);
}
.sidebar-fenster-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sidebar-fenster-logo-img {
  max-width: 280px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  /* Schwarze Flächen der PNG durch Hintergrund ersetzen */
  mix-blend-mode: lighten;
}
.sidebar-fenster-logo {
  background: none;
}
.sidebar-fenster-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--lp-accent) 0%, #0ea5e9 100%);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}
.sidebar-fenster-logo-text {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--fenster-text);
  letter-spacing: -0.02em;
}
.sidebar-fenster-close {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: var(--fenster-close-bg) !important;
  border-radius: 50%;
  opacity: 1;
  background-size: 0.55em !important;
  transition: background 0.2s;
}
.sidebar-fenster-close:hover {
  background: var(--fenster-close-hover) !important;
}
.sidebar-fenster-close {
  color: var(--fenster-text);
  opacity: 0.85;
}
.sidebar-fenster-close:hover {
  opacity: 1;
}

.sidebar-fenster-body {
  padding: 1.5rem 1.5rem 1.75rem;
  color: var(--fenster-text);
}
.sidebar-fenster-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--fenster-text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--fenster-block-border);
}

.sidebar-fenster-block {
  margin-bottom: 1.5rem;
}
.sidebar-fenster-block-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lp-accent);
  margin-bottom: 0.75rem;
}

.sidebar-fenster-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--fenster-block-border);
}
.sidebar-fenster-contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-fenster-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-fenster-icon svg {
  flex-shrink: 0;
}
.sidebar-fenster-icon-pin {
  background: var(--fenster-icon-pin-bg);
  color: var(--fenster-icon-pin-color);
}
.sidebar-fenster-icon-mail {
  background: var(--fenster-icon-mail-bg);
  color: var(--fenster-icon-mail-color);
}
.sidebar-fenster-icon-phone {
  background: var(--fenster-icon-phone-bg);
  color: var(--fenster-icon-phone-color);
}
.sidebar-fenster-contact-item > div {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--fenster-text);
  min-width: 0;
}
.sidebar-fenster-link {
  color: var(--fenster-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.sidebar-fenster-link:hover {
  color: var(--lp-accent);
}
.sidebar-fenster-meta {
  font-size: 0.8125rem;
  color: var(--fenster-text-muted);
  margin-top: 0.15rem;
}
.sidebar-fenster-accent {
  color: var(--lp-accent);
  font-weight: 500;
}

.sidebar-fenster-newsletter {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fenster-input-border);
  background: var(--fenster-input-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sidebar-fenster-newsletter:focus-within {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.sidebar-fenster-newsletter-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--fenster-text);
}
.sidebar-fenster-newsletter-input::placeholder {
  color: var(--fenster-text-muted);
}
.sidebar-fenster-newsletter-input:focus {
  outline: none;
}
.sidebar-fenster-newsletter-btn {
  flex-shrink: 0;
  width: 52px;
  border: none;
  background: var(--lp-accent);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sidebar-fenster-newsletter-btn:hover {
  background: var(--lp-accent-hover);
  color: #fff;
}

.sidebar-fenster-social-wrap {
  margin-bottom: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fenster-block-border);
}
.sidebar-fenster-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sidebar-fenster-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sidebar-fenster-social-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  color: #fff;
}
.sidebar-fenster-social-fb { background: #1877f2; }
.sidebar-fenster-social-tw { background: #000; }
.sidebar-fenster-social-in { background: #0a66c2; }
.sidebar-fenster-social-ig { background: linear-gradient(145deg, #f09433, #e6683c, #dc2743, #cc2366); }
