/**
 * CloudBase Hosting — brand overrides (Template-Layout + blue/turquoise)
 *
 * Farb-Referenz (Hex, Verwendung, CSS-Variablen): docs/FARBEN.md
 */

/* Brand palette — Single Source of Truth (:root) */
:root {
  /* Markenfarben */
  --cb-primary: #3ee0cf;
  --cb-danger: #e03e4e;
  --cb-danger-hover: #c93341;
  --cb-success: #3ee07f;
  --cb-info: #3e9fe0;

  /* Harmonien (optional) */
  --cb-triad-violet: #cf3ee0;
  --cb-triad-yellow: #e0cf3e;
  --cb-tetrad-violet: #7f3ee0;
  --cb-tetrad-green: #9fe03e;
  --cb-split-magenta: #e03e9f;
  --cb-split-orange: #e07f3e;

  /* Neutrals & Text */
  --cb-ink: #0a1628;
  --cb-on-danger: #ffffff;
  --cb-on-teal: #ffffff;

  /* Sektions-Hintergründe (z. B. #paths, #kontakt-form, #process) */
  --cb-section-teal: #336774;

  /* Flächen — Light Mode (.bg-colorstyle / .bg-seccolorstyle, theme.css) */
  --cb-surface: #ffffff;
  --cb-surface-alt: #ebeff5;
  --cb-surface-muted: #efefef;

  /* Flächen — Dark Mode (data-background="dark") */
  --cb-page-dark: #101920;
  --cb-menu-dark: #15212a;
  --cb-surface-dark: #1d2d38;
  --cb-surface-alt-dark: #1a242e;

  /* Verläufe & Hero */
  --cb-hero-grad-dark: #0a1119;
  --cb-hero-grad-mid: #0c3546;
  --cb-hero-grad-teal: #0d3d56;
  --cb-hero-grad-teal-mid: #124a5e;

  /* Legacy Template-Akzent (Icons in Vue-Komponenten) */
  --cb-accent-light: #55bde5;

  /* Sticky-Tabellen / fixierte Nav (.menu-wrap.fixed) */
  --cb-sticky-nav-offset: 80px;
  --cb-sticky-table-gap: 1rem;

  /* Mobile: Newsbar + Nav + Puffer */
  --cb-mobile-header-offset: 112px;
}

/* Dark hero gradient (wie Original home3d, in Blau/Türkis) */
[data-color="blue"] .total-grad-pink-blue-intense {
  background: linear-gradient(240deg, #0a1119 45%, #0c3546 100%) !important;
}

/* Override template blue theme colors → palette */
[data-color="blue"] svg #svg-ico {
  fill: var(--cb-primary) !important;
}

[data-color="blue"] svg #svg-concept {
  stroke: var(--cb-primary) !important;
}

[data-color="blue"] .golink,
[data-color="blue"] .golink:hover {
  color: var(--cb-primary) !important;
}

[data-color="blue"] .bg-pink {
  background-color: var(--cb-primary) !important;
}

[data-color="blue"] .c-pink {
  color: var(--cb-primary) !important;
}

[data-color="blue"] .bb-pink {
  border-bottom: solid 1px var(--cb-primary) !important;
}

[data-color="blue"] .popover-body {
  border-color: var(--cb-primary) !important;
}

[data-color="blue"] .popover .popover-header {
  background-color: var(--cb-primary) !important;
}

[data-color="blue"] ::selection {
  background: var(--cb-primary) !important;
}

[data-color="blue"] .nav-menu .main-menu > .menu-item > .sub-menu > .menu-item a:hover,
[data-color="blue"] .nav-menu .main-menu .menu-item .menu-large .service-list .service .media-body a:hover,
[data-color="blue"] .megamenu .service-list .service .media-body a:hover,
[data-color="blue"] .megamenu-list .service-list .service .media-body a:hover {
  color: var(--cb-primary) !important;
}

[data-color="blue"] .megamenu .start-offer .inner,
[data-color="blue"] .megamenu-list .start-offer .inner {
  background-color: var(--cb-primary) !important;
}

[data-color="blue"] .megamenu .start-offer .inner .title,
[data-color="blue"] .megamenu .start-offer .inner .inner-content,
[data-color="blue"] .megamenu .start-offer .inner .inner-content span,
[data-color="blue"] .megamenu .start-offer .inner b,
[data-color="blue"] .megamenu-list .start-offer .inner .title,
[data-color="blue"] .megamenu-list .start-offer .inner .inner-content {
  color: var(--cb-ink) !important;
}

.active #nav-toggle span:before,
.active #nav-toggle span:after {
  background: var(--cb-primary) !important;
}

[data-color="blue"] .wpc-cloud-range .noUi-connect {
  background-color: var(--cb-primary) !important;
}

[data-color="blue"] .wpc-cloud-range .noUi-tooltip:before {
  border-color: var(--cb-primary) transparent transparent transparent !important;
}

[data-color="blue"] .wpc-cloud-range .noUi-tooltip {
  background-color: var(--cb-primary) !important;
}

[data-color="blue"] .wpc-cloud-range .noUi-horizontal .noUi-handle {
  background-color: var(--cb-primary) !important;
}

[data-color="blue"] .total-grad {
  background: linear-gradient(-60deg, var(--cb-info) 0%, var(--cb-primary) 100%) !important;
}

[data-color="blue"] .total-grad-inverse {
  background: linear-gradient(240deg, var(--cb-primary) 0%, var(--cb-info) 100%) !important;
}

[data-color="blue"] .menu-wrap.fixed {
  background: linear-gradient(89deg, var(--cb-primary) 3%, var(--cb-info) 98%) !important;
}

/* Home: Teal-Sektionen (einfarbiger Hintergrund, Verlauf nur über .home-section-gradient) */
#paths.sec-bg4,
#stats.sec-bg4,
#kontakt-form.sec-bg4,
[data-background="light"] .box-container #paths.sec-bg4,
[data-background="dark"] .box-container #paths.sec-bg4,
[data-background="light"] .box-container #stats.sec-bg4,
[data-background="dark"] .box-container #stats.sec-bg4,
[data-background="light"] .box-container #kontakt-form.sec-bg4,
[data-background="dark"] .box-container #kontakt-form.sec-bg4 {
  background-image: none !important;
  background-color: var(--cb-section-teal) !important;
}

#paths .section-heading,
#paths .section-subheading,
#stats .section-heading,
#stats .section-subheading,
#kontakt-form .section-heading,
#kontakt-form .section-subheading {
  color: var(--cb-on-teal) !important;
}

/* Home: weiche Übergänge zwischen Teal- und Dunkel-Sektionen (eigene Streifen) */
[data-background="dark"] .box-container .home-page section:not(.main-container):has(+ .home-section-gradient) {
  padding-bottom: 2rem !important;
}

[data-background="light"] .box-container .home-page section:not(.main-container):has(+ .home-section-gradient) {
  padding-bottom: 2rem !important;
}

[data-background="dark"] .box-container .home-page .main-container.slider + .home-section-gradient--dark-to-teal,
[data-background="dark"] .box-container .home-page .vserver-hero + .home-section-gradient--dark-to-teal {
  background: linear-gradient(
    to bottom,
    var(--cb-hero-grad-mid) 0%,
    var(--cb-section-teal) 100%
  );
}

[data-background="dark"] .box-container .home-page .home-section-gradient,
[data-background="light"] .box-container .home-page .home-section-gradient {
  display: block;
  height: 10rem;
  margin: 0;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
}

[data-background="dark"] .box-container .home-page .home-section-gradient--teal-to-dark {
  background: linear-gradient(
    to bottom,
    var(--cb-section-teal) 0%,
    var(--cb-surface-dark) 100%
  );
}

[data-background="dark"] .box-container .home-page .home-section-gradient--dark-to-teal {
  background: linear-gradient(
    to bottom,
    var(--cb-surface-dark) 0%,
    var(--cb-section-teal) 100%
  );
}

[data-background="light"] .box-container .home-page .home-section-gradient--teal-to-dark {
  background: linear-gradient(
    to bottom,
    var(--cb-section-teal) 0%,
    var(--cb-surface) 100%
  );
}

[data-background="light"] .box-container .home-page .home-section-gradient--dark-to-teal {
  background: linear-gradient(
    to bottom,
    var(--cb-surface) 0%,
    var(--cb-section-teal) 100%
  );
}

[data-background="dark"] .box-container .home-page .home-section-gradient + section.bg-colorstyle {
  display: flow-root;
  padding-top: 0 !important;
  background-color: var(--cb-surface-dark) !important;
}

[data-background="light"] .box-container .home-page .home-section-gradient + section.bg-colorstyle {
  display: flow-root;
  padding-top: 0 !important;
  background-color: var(--cb-surface) !important;
}

/* Teal-Sektionen: Theme-Padding (135px unten) per Kurzform ersetzen, wenn Verlaufs-Streifen folgt */
[data-background="dark"] .box-container .home-page section.sec-bg4.exapath:has(+ .home-section-gradient--teal-to-dark) {
  padding: 30px 0 2rem 0 !important;
}

[data-background="light"] .box-container .home-page section.sec-bg4.exapath:has(+ .home-section-gradient--teal-to-dark) {
  padding: 30px 0 2rem 0 !important;
}

/* Statistik → Über uns: Verlauf oben auf #about (ohne separates div, kein Bootstrap-g4-Overlap) */
[data-background="dark"] .box-container .home-page #stats.sec-bg4:has(+ #about) {
  /* Unten Platz für Karten: #about überlappt mit margin-top: -10rem */
  padding: 30px 0 calc(10rem + 2.5rem) 0 !important;
}

[data-background="light"] .box-container .home-page #stats.sec-bg4:has(+ #about) {
  padding: 30px 0 calc(10rem + 2.5rem) 0 !important;
}

[data-background="dark"] .box-container .home-page #stats + #about.bg-colorstyle {
  display: flow-root;
  margin-top: -10rem;
  padding-top: calc(10rem + 3rem) !important;
  background-color: var(--cb-surface-dark) !important;
  background-image: linear-gradient(
    to bottom,
    var(--cb-section-teal) 0,
    var(--cb-surface-dark) 10rem
  ) !important;
  background-repeat: no-repeat;
}

[data-background="light"] .box-container .home-page #stats + #about.bg-colorstyle {
  display: flow-root;
  margin-top: -10rem;
  padding-top: calc(10rem + 3rem) !important;
  background-color: var(--cb-surface) !important;
  background-image: linear-gradient(
    to bottom,
    var(--cb-section-teal) 0,
    var(--cb-surface) 10rem
  ) !important;
  background-repeat: no-repeat;
}

/* Home: "Produkte, die du direkt bestellen kannst" (ProductsOverviewSection) */
#products-overview .offer-secondary-cta,
#products-overview .service-wrap > .row.mt-4 a.btn {
  background-color: var(--cb-danger) !important;
  border-color: var(--cb-danger) !important;
  color: var(--cb-on-danger) !important;
}

#products-overview .offer-secondary-cta:hover,
#products-overview .service-wrap > .row.mt-4 a.btn:hover {
  background-color: var(--cb-danger-hover) !important;
  border-color: var(--cb-danger-hover) !important;
  color: var(--cb-on-danger) !important;
}

/* Home: "So findest du die passende Lösung" + "Wenn Standard nicht reicht" */
#process.sec-bg4,
#custom-solutions.sec-bg4,
[data-background="light"] .box-container #process.sec-bg4,
[data-background="dark"] .box-container #process.sec-bg4,
[data-background="light"] .box-container #custom-solutions.sec-bg4,
[data-background="dark"] .box-container #custom-solutions.sec-bg4 {
  background-image: none !important;
  background-color: var(--cb-section-teal) !important;
}

#process .section-heading,
#process .section-subheading,
#custom-solutions .section-heading,
#custom-solutions .section-subheading {
  color: var(--cb-on-teal) !important;
}

/* Fallback: remaining Home sec-bg4 blocks (exclude the ones we already set by id) */
.box-container .home-page section.services.sec-bg4.exapath:not(#paths):not(#stats):not(#kontakt-form):not(#products-overview):not(#custom-solutions):not(#process) {
  background-image: none !important;
  background-color: var(--cb-section-teal) !important;
}

/* Home + V-Server Help — leicht aufgehellte Content-Hintergründe (Hellblau) */
[data-background="dark"] .box-container .home-page .bg-colorstyle,
[data-background="dark"] .box-container .vserver-help.bg-colorstyle {
  background-color: var(--cb-surface-dark) !important;
}

[data-background="dark"] .box-container .home-page .bg-seccolorstyle,
[data-background="dark"] .box-container .vserver-help .help-container.bg-seccolorstyle {
  background-color: var(--cb-surface-alt-dark) !important;
}

[data-background="light"] .box-container .vserver-help.bg-colorstyle {
  background-color: var(--cb-surface) !important;
}

[data-background="light"] .box-container .vserver-help .help-container.bg-seccolorstyle {
  background-color: var(--cb-surface-alt) !important;
}

.box-container .home-page section.services.sec-bg4.exapath:not(#paths):not(#stats):not(#kontakt-form):not(#products-overview):not(#custom-solutions):not(#process) .section-heading,
.box-container .home-page section.services.sec-bg4.exapath:not(#paths):not(#stats):not(#kontakt-form):not(#products-overview):not(#custom-solutions):not(#process) .section-subheading {
  color: var(--cb-on-teal) !important;
}

/* Dark Mode — data-background="dark" */
[data-background="dark"] .box-container,
[data-background="dark"] .box-container.limit-width {
  background-color: var(--cb-page-dark);
}

[data-background="dark"] .menu-wrap.fixed {
  background: var(--cb-page-dark) !important;
  box-shadow: 0 2px 8px 0 rgb(0 0 0 / 60%) !important;
}

[data-background="dark"] .menu-wrap {
  background-color: var(--cb-menu-dark);
}

[data-background="dark"] .sec-main.bg-white {
  background-color: var(--cb-menu-dark) !important;
  color: inherit;
}

/* Komplementär statt Gelb für Primary-CTA */
[data-color="blue"] .btn-default-yellow-fill,
.btn-default-yellow-fill {
  background-color: var(--cb-danger) !important;
  border-color: var(--cb-danger) !important;
  color: var(--cb-on-danger) !important;
}

/* Back-to-top — Türkis statt Template-Gelb */
.cd-top {
  background: var(--cb-primary) !important;
  box-shadow: 0 2px 10px rgba(62, 224, 207, 0.28) !important;
}

.cd-top i {
  color: var(--cb-ink) !important;
}

.no-touch .cd-top:hover,
.cd-top:hover {
  background-color: var(--cb-info) !important;
  opacity: 1 !important;
}

/* Footer: Language switcher buttons (DE/EN) */
.footer .btn-group.btn-group-toggle .btn.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important; /* override template 0.8 */
}

.footer .btn-group.btn-group-toggle .btn.btn-secondary:hover {
  background-color: rgba(62, 224, 207, 0.18) !important;
  border-color: rgba(62, 224, 207, 0.35) !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

.footer .btn-group.btn-group-toggle .btn.btn-secondary.active {
  background-color: var(--cb-primary) !important;
  border-color: var(--cb-primary) !important;
  color: var(--cb-ink) !important;
}

[data-background="light"] .footer .btn-group.btn-group-toggle .btn.btn-secondary {
  background-color: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: rgba(0, 0, 0, 0.75) !important;
}

[data-background="light"] .footer .btn-group.btn-group-toggle .btn.btn-secondary:hover {
  background-color: rgba(62, 224, 207, 0.18) !important;
  border-color: rgba(62, 224, 207, 0.35) !important;
  color: rgba(0, 0, 0, 0.85) !important;
}

[data-background="light"] .footer .btn-group.btn-group-toggle .btn.btn-secondary.active {
  color: var(--cb-ink) !important;
}

/* Footer-Links: Türkis statt Gelb */
.footer .footer-menu .menu-item a:hover,
.footer .soc-icons a:hover,
.footer .soc-icons a:hover i,
.footer .soc-icons i:hover,
.footer .contact a:hover,
.footer .contact a:hover i,
.footer .payment-list li i:hover {
  color: var(--cb-primary) !important;
}

[data-background="light"] .box-container .footer .footer-menu .menu-item a:hover {
  color: var(--cb-primary) !important;
}

.toplang.btn-group.btn-group-toggle .btn.btn-secondary,
#drop-lng.btn-group.btn-group-toggle .btn.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
}

.toplang.btn-group.btn-group-toggle .btn.btn-secondary:hover,
#drop-lng.btn-group.btn-group-toggle .btn.btn-secondary:hover {
  background-color: rgba(62, 224, 207, 0.18) !important;
  border-color: rgba(62, 224, 207, 0.35) !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

.toplang.btn-group.btn-group-toggle .btn.btn-secondary.active,
#drop-lng.btn-group.btn-group-toggle .btn.btn-secondary.active {
  background-color: var(--cb-primary) !important;
  border-color: var(--cb-primary) !important;
  color: var(--cb-ink) !important;
}

[data-background="light"] .toplang.btn-group.btn-group-toggle .btn.btn-secondary,
[data-background="light"] #drop-lng.btn-group.btn-group-toggle .btn.btn-secondary {
  background-color: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: rgba(0, 0, 0, 0.75) !important;
}

[data-background="light"] .toplang.btn-group.btn-group-toggle .btn.btn-secondary:hover,
[data-background="light"] #drop-lng.btn-group.btn-group-toggle .btn.btn-secondary:hover {
  background-color: rgba(62, 224, 207, 0.18) !important;
  border-color: rgba(62, 224, 207, 0.35) !important;
  color: rgba(0, 0, 0, 0.85) !important;
}

[data-background="light"] .toplang.btn-group.btn-group-toggle .btn.btn-secondary.active,
[data-background="light"] #drop-lng.btn-group.btn-group-toggle .btn.btn-secondary.active {
  color: var(--cb-ink) !important;
}

/* Hero-Slider: auf kleinen Screens keine abgeschnittenen Headlines */
/* Zusätzlich: Laptop/Responsive-Typografie (z. B. MacBook) */
.main-container.slider .silder-container .slider-content h1 {
  font-size: clamp(38px, 5.2vw, 72px) !important;
  line-height: 1.05 !important;
  letter-spacing: clamp(0.5px, 0.25vw, 3px) !important;
  overflow-wrap: anywhere;
}

.main-container.slider .silder-container .slider-content p {
  font-size: clamp(16px, 1.25vw, 20px) !important;
  line-height: 1.55 !important;
}

/* Hero-Illustration: immer mit skalieren (kein fixes 500px) */
.main-container.slider .silder-container .img-right > img,
.main-container.slider .silder-container img.custom-element-right {
  width: min(520px, 92vw) !important;
  height: auto !important;
  max-width: 100% !important;
}

@media (max-width: 1199px) {
  .main-container.slider .silder-container .img-right {
    width: 46% !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: var(--cb-mobile-header-offset);
  }

  #settings {
    display: none !important;
  }

  .menu-wrap.mobile .nav-menu {
    justify-content: flex-end;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .menu-wrap.mobile.active .nav-menu .main-menu {
    width: 100vw;
    left: 0;
  }

  .menu-wrap.mobile .main-menu .mobile-lang-item {
    border: none;
    padding: 16px 0 8px;
  }

  .menu-wrap.mobile .main-menu .toplang--mobile-menu {
    position: static;
    right: auto;
    top: auto;
    width: auto;
    display: inline-flex;
    justify-content: center;
    margin: 0 auto;
  }

  .main-container.slider .silder-container {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-top: var(--cb-mobile-header-offset);
    padding-bottom: 40px;
  }

  .main-container.slider .carousel-cell {
    height: auto !important;
    min-height: calc(100dvh - var(--cb-mobile-header-offset));
  }

  .main-container.slider .silder-container .slider-content {
    position: relative !important;
    top: auto !important;
    transform: none !important;
  }

  .main-container.slider .silder-container .slider-content h1 {
    line-height: 1.05 !important;
    margin-bottom: 16px !important;
  }

  .main-container.slider .silder-container .slider-content p {
    line-height: 1.5 !important;
    margin-bottom: 28px !important;
  }

  .header-main-slider .flickity-page-dots {
    position: relative;
    bottom: auto;
    margin-top: 24px;
  }

  .main-container.slider .slider-content .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-container.slider .slider-content .container > img.custom-element-right {
    order: -1;
    align-self: center;
  }

  .main-container.slider .silder-container img.custom-element-right {
    display: block !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 auto 20px;
    width: min(320px, 78vw) !important;
    max-height: none !important;
    opacity: 0.9;
    pointer-events: none;
  }
}

@media (max-width: 575px) {
  .main-container.slider .silder-container {
    padding-top: var(--cb-mobile-header-offset);
  }

  .main-container.slider .silder-container .slider-content h1 {
    font-size: 36px !important;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    margin-right: 0 !important;
  }
}


[data-color="blue"] .btn-default-yellow-fill:hover,
.btn-default-yellow-fill:hover {
  background-color: var(--cb-danger-hover) !important;
  border-color: var(--cb-danger-hover) !important;
  color: var(--cb-on-danger) !important;
}

/* Badge auf "gelbem" Hintergrund: Komplementär + helle Schrift */
.bg-yellow {
  background-color: var(--cb-danger) !important;
}

.bg-purple {
  background-color: var(--cb-triad-violet) !important;
}

.badge.bg-yellow.badge-pro,
.plans.badge.bg-yellow.badge-pro,
.menu.badge.bg-yellow.badge-pro {
  color: var(--cb-on-danger) !important;
}

/* Badges überall: komplett rund (Pill) */
.plans.badge.feat,
.menu.badge.feat,
.badge.feat {
  border-radius: 999px !important;
}

/* Header-Navigation: Badge vertikal zentrieren + Abstand zum Text */
#header .nav-menu .main-menu > .menu-item > .badge,
#header .nav-menu .main-menu > .menu-item > .menu.badge,
#header .nav-menu .main-menu > .menu-item > .plans.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 2px 8px;
  line-height: 1;
  vertical-align: middle;
  margin-left: 10px;
  transform: translateY(-1px); /* optische Zentrierung zur Schrift */
}

/* Dropdown soll schließen, sobald man die Box verlässt:
   Entfernt "leere" Hover-Fläche durch das Default-Padding der Sub-Menu-Box. */
#header .nav-menu .main-menu > .menu-item > .sub-menu.megamenu-list {
  padding: 0 !important;
  background: transparent !important;
}

/* Dropdown: unsichtbare Rand-Fläche deaktivieren — schließt beim seitlichen Verlassen */
@media (min-width: 768px) {
  #header .menu-wrap:not(.mobile) .main-menu > .menu-item-has-children > .sub-menu.megamenu-list,
  #header .menu-wrap:not(.mobile) .main-menu > .menu-item-has-children > .sub-menu.megamenu {
    pointer-events: none;
  }

  #header .menu-wrap:not(.mobile) .main-menu > .menu-item-has-children > .sub-menu.megamenu-list .service-list,
  #header .menu-wrap:not(.mobile) .main-menu > .menu-item-has-children > .sub-menu.megamenu-list .start-offer,
  #header .menu-wrap:not(.mobile) .main-menu > .menu-item-has-children > .sub-menu.megamenu .service-list,
  #header .menu-wrap:not(.mobile) .main-menu > .menu-item-has-children > .sub-menu.megamenu .start-offer {
    pointer-events: auto;
  }

  /* Lücke zwischen Nav-Link und Dropdown */
  #header .menu-wrap:not(.mobile) .main-menu > .menu-item-has-children > a {
    position: relative;
  }

  #header .menu-wrap:not(.mobile) .main-menu > .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    height: 14px;
    pointer-events: auto;
  }
}

/* Nav — animierter Hintergrund-Blur bei geöffnetem Mega-Menü */
#header {
  position: relative;
  z-index: 900;
}

.nav-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  background-color: rgba(10, 22, 40, 0);
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease,
    backdrop-filter 0.38s ease,
    -webkit-backdrop-filter 0.38s ease,
    background-color 0.32s ease;
}

@media (min-width: 768px) {
  .box-container:has(#header .menu-wrap:not(.mobile) .menu-item-has-children:hover) .nav-menu-backdrop {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(10, 22, 40, 0.2);
  }

  /* Nach Klick: Dropdown und Blur schließen, auch wenn Maus noch darüber ist */
  body.nav-menu-dismissed #header .menu-wrap:not(.mobile) .menu-item-has-children > .sub-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
  }

  body.nav-menu-dismissed .nav-menu-backdrop {
    opacity: 0 !important;
    visibility: hidden !important;
    backdrop-filter: blur(0) !important;
    -webkit-backdrop-filter: blur(0) !important;
    background-color: rgba(10, 22, 40, 0) !important;
  }

  #header .menu-wrap:not(.mobile) .main-menu > .menu-item > .sub-menu {
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.28s ease,
      top 0.2s ease;
    transform: translateY(8px);
  }

  #header .menu-wrap:not(.mobile) .main-menu > .menu-item:hover > .sub-menu {
    transform: translateY(0);
  }
}

/* Auth-Dropdown — gleiches Design wie Mega-Menü (dunkel + Backdrop-Blur) */
#header .auth-menu {
  position: relative;
}

#header .auth-menu > .sub-menu.auth-menu__dropdown {
  left: auto !important;
  right: 0 !important;
  width: auto !important;
  min-width: 0;
  margin-left: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#header .auth-menu .auth-menu__panel {
  padding: 1.25rem 1.5rem;
  min-width: 210px;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px 0 rgb(0 0 0 / 50%);
}

[data-background="dark"] #header .auth-menu .auth-menu__panel {
  background-color: var(--cb-menu-dark) !important;
}

#header .auth-menu .auth-menu__link {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  margin-bottom: 1rem;
}

#header .auth-menu .auth-menu__link:hover {
  color: var(--cb-primary) !important;
}

#header .auth-menu .auth-menu__logout {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  text-decoration: underline;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

#header .auth-menu .auth-menu__logout:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: var(--cb-primary);
}

@media (min-width: 768px) {
  #header .menu-wrap:not(.mobile) .auth-menu.menu-item-has-children:hover > .sub-menu.auth-menu__dropdown {
    top: 100% !important;
    margin-top: 10px;
  }

  #header .menu-wrap:not(.mobile) .auth-menu.menu-item-has-children > .sub-menu.auth-menu__dropdown {
    pointer-events: none;
  }

  #header .menu-wrap:not(.mobile) .auth-menu.menu-item-has-children > .sub-menu.auth-menu__dropdown .auth-menu__panel {
    pointer-events: auto;
  }

  #header .menu-wrap:not(.mobile) .auth-menu.menu-item-has-children > .auth-menu__trigger {
    position: relative;
  }

  #header .menu-wrap:not(.mobile) .auth-menu.menu-item-has-children > .auth-menu__trigger::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    height: 14px;
    pointer-events: auto;
  }
}

.division-ontop path {
  fill: var(--cb-primary) !important;
}

.spinner-txt {
  visibility: hidden;
  position: relative;
}

.spinner-txt::after {
  content: "CloudBase...";
  visibility: visible;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
}

.pricing .wrapper .top-content .pricing-card-icon {
  display: block;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--cb-info);
}

.pricing.special .list-info li i {
  font-size: 52px;
  min-width: 52px;
  margin-right: 18px;
  line-height: 1;
}

/* Dedicated — kein sec-uping-Overlap (Hero ist kürzer als E-Mail/Webserver) */
.dedicated-pricing {
  margin-top: 0 !important;
  position: relative;
  z-index: 2;
}

.dedicated-pricing .wrapper {
  margin-top: 0;
}

/* V-Server Paket-Übersicht — gleiches Kartenlayout wie Dedicated */
.vserver-pricing.dedicated-pricing {
  margin-top: 0 !important;
}

.vserver-pricing__custom-row {
  margin-top: 0.5rem;
}

.vserver-pricing__custom-price {
  font-size: 1.25rem;
  font-weight: 600;
}

.vserver-pricing__price-loader {
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
}

.vserver-pricing__bounce1,
.vserver-pricing__bounce2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--cb-primary);
  opacity: 0.75;
  animation: sk-bounce 2s infinite ease-in-out;
}

.vserver-pricing__bounce2 {
  animation-delay: -1s;
}

.vserver-pricing__error-banner {
  margin-bottom: 1.5rem;
}

/* Dedicated — gleiche Kartenhöhe pro Zeile (min-height per JS aus Maximalwert) */
.dedicated-pricing__grid > [class*="col-"] {
  display: flex;
}

.dedicated-pricing__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0;
  overflow: hidden;
}

.dedicated-pricing__top {
  display: flex;
  flex-direction: column;
}

.dedicated-pricing__top .btn {
  margin-top: auto;
}

.dedicated-pricing__setup-slot {
  margin-top: 10px;
  min-height: 2.75rem;
}

.dedicated-pricing__specs {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  padding: 0;
}

.dedicated-pricing.special .dedicated-pricing__specs.list-info {
  padding: 0;
}

.dedicated-pricing__spec-row {
  margin: 0;
  padding: 0 !important;
  border-top: 1px solid color-mix(in srgb, #fff 14%, transparent);
  overflow: hidden;
}

.dedicated-pricing__spec-row:first-child {
  border-top: none;
}

.dedicated-pricing__spec-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
}

.dedicated-pricing.special .list-info .dedicated-pricing__spec-icon {
  float: none !important;
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px !important;
  max-width: 40px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 28px !important;
  line-height: 1;
  color: #fff !important;
}

.dedicated-pricing__spec-content {
  flex: 1 1 auto;
  min-width: 0;
}

.dedicated-pricing__spec-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.dedicated-pricing__spec-title {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
  opacity: 0.88;
  white-space: nowrap;
}

.dedicated-pricing__spec-primary {
  flex: 1 1 8rem;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.dedicated-pricing__spec-extra {
  margin-top: 6px;
  padding-left: 0;
}

.dedicated-pricing__spec-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  word-break: break-word;
}

.dedicated-pricing__spec-extra .dedicated-pricing__spec-line + .dedicated-pricing__spec-line {
  margin-top: 4px;
}

.dedicated-pricing__spec-line--empty {
  opacity: 0.45;
}

.pricing.special .dedicated-pricing__spec-row {
  font-weight: inherit;
  color: inherit;
}

.pricing.special .dedicated-pricing__spec-inner {
  text-align: left;
}

.pricing.special .dedicated-pricing__spec-row span,
.pricing.special .dedicated-pricing__spec-row p {
  font-size: inherit;
  font-weight: inherit;
}

@media (max-width: 575px) {
  .dedicated-pricing__spec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

[data-background="dark"] .box-container .dedicated-pricing .wrapper {
  background-color: transparent;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25);
}

[data-background="light"] .box-container .dedicated-pricing .wrapper {
  background-color: #fff;
}

.dedicated-filter.cd-main-content {
  margin-bottom: 0;
}

.dedicated-filter__drawer .container {
  max-width: 1180px;
}

.dedicated-filter__panel {
  border: 1px solid color-mix(in srgb, var(--cb-primary) 24%, transparent);
  border-radius: 14px;
  padding: 22px 22px 18px;
  margin-top: 8px;
  background: color-mix(in srgb, var(--cb-bg-elevated, #141c26) 88%, transparent);
}

.dedicated-filter__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.dedicated-filter__header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.dedicated-filter__results-count {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cb-primary);
  white-space: nowrap;
}

.dedicated-filter__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.dedicated-filter__subtitle {
  font-size: 0.88rem;
  line-height: 1.45;
}

.dedicated-filter__active-count {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--cb-primary);
  background: color-mix(in srgb, var(--cb-primary) 16%, transparent);
}

.dedicated-filter__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.dedicated-filter__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid color-mix(in srgb, var(--cb-text-muted, #8899aa) 24%, transparent);
  border-radius: 12px;
  padding: 16px;
  background: color-mix(in srgb, var(--cb-bg-elevated, #1a2430) 72%, transparent);
}

.dedicated-filter__card--setup {
  border-color: color-mix(in srgb, var(--cb-tetrad-green, #3edf9f) 42%, transparent);
  background: color-mix(in srgb, var(--cb-tetrad-green, #3edf9f) 7%, transparent);
}

.dedicated-filter__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.dedicated-filter__card-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dedicated-filter__card-hint {
  font-size: 0.76rem;
  line-height: 1.4;
  margin: 0 0 12px;
  opacity: 0.82;
}

.dedicated-filter__link-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cb-primary) !important;
  text-decoration: underline;
  cursor: pointer;
}

.dedicated-filter__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.dedicated-filter__chip {
  margin: 0;
  cursor: pointer;
}

.dedicated-filter__chip-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dedicated-filter__chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--cb-primary) 45%, transparent);
  background: color-mix(in srgb, var(--cb-primary) 10%, transparent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dedicated-filter__chip--active span,
.dedicated-filter__chip-input:checked + span {
  background: var(--cb-primary);
  border-color: var(--cb-primary);
  color: #fff;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cb-primary) 28%, transparent);
}

.dedicated-filter__dual {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: center;
  gap: 10px;
}

.dedicated-filter__dual-readout {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cb-primary) 12%, transparent);
}

.dedicated-filter__dual-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cb-primary);
  white-space: nowrap;
}

.dedicated-filter__dual-sep {
  font-size: 0.85rem;
  opacity: 0.7;
}

.dedicated-filter__dual-track-wrap {
  position: relative;
  height: 36px;
}

.dedicated-filter__dual-track,
.dedicated-filter__dual-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 999px;
  pointer-events: none;
}

.dedicated-filter__dual-track {
  left: 9px;
  right: 9px;
  width: auto;
  background: color-mix(in srgb, var(--cb-primary) 22%, transparent);
}

.dedicated-filter__dual-fill {
  left: 9px;
  background: var(--cb-primary);
  box-shadow: 0 0 12px color-mix(in srgb, var(--cb-primary) 45%, transparent);
}

.dedicated-filter__dual-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}

.dedicated-filter__dual-input--max {
  z-index: 2;
}

.dedicated-filter__dual-input--min {
  z-index: 3;
}

.dedicated-filter__dual-input::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border: none;
}

.dedicated-filter__dual-input::-moz-range-track {
  height: 6px;
  background: transparent;
  border: none;
}

.dedicated-filter__dual-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--cb-primary);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  cursor: grab;
}

.dedicated-filter__dual-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--cb-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  cursor: grab;
}

.dedicated-filter__dual-ends {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  opacity: 0.7;
}

.dedicated-filter__setup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--cb-tetrad-green, #3edf9f) 32%, transparent);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dedicated-filter__setup-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dedicated-filter__setup-toggle-label {
  font-size: 0.78rem;
  font-weight: 600;
}

.dedicated-filter__setup-copy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.dedicated-filter__setup {
  position: relative;
}

.dedicated-filter__setup-input {
  position: absolute;
  top: 14px;
  left: 12px;
  width: 44px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.dedicated-filter__setup-control {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cb-text-muted, #8899aa) 45%, transparent);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
  pointer-events: none;
}

.dedicated-filter__setup-control::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.dedicated-filter__setup--active .dedicated-filter__setup-control,
.dedicated-filter__setup:has(.dedicated-filter__setup-input:checked) .dedicated-filter__setup-control {
  background: var(--cb-tetrad-green, #3edf9f);
}

.dedicated-filter__setup--active .dedicated-filter__setup-control::after,
.dedicated-filter__setup:has(.dedicated-filter__setup-input:checked) .dedicated-filter__setup-control::after {
  transform: translateX(20px);
}

.dedicated-filter__setup--active,
.dedicated-filter__setup:has(.dedicated-filter__setup-input:checked) {
  border-color: var(--cb-tetrad-green, #3edf9f);
  background: color-mix(in srgb, var(--cb-tetrad-green, #3edf9f) 12%, transparent);
}

.dedicated-filter__setup--active .dedicated-filter__setup-text strong,
.dedicated-filter__setup:has(.dedicated-filter__setup-input:checked) .dedicated-filter__setup-text strong {
  color: var(--cb-tetrad-green, #3edf9f);
}

.dedicated-filter__setup-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.dedicated-filter__setup-text strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dedicated-filter__setup-text small {
  display: block;
  font-size: 0.74rem;
  line-height: 1.35;
  color: color-mix(in srgb, #fff 72%, transparent);
  overflow-wrap: anywhere;
}

.dedicated-filter__setup-icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--cb-tetrad-green, #3edf9f);
  font-size: 1.15rem;
}

.dedicated-filter__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--cb-text-muted, #8899aa) 22%, transparent);
}

.dedicated-filter__reset-btn {
  border: 1px solid var(--cb-primary) !important;
  color: var(--cb-primary) !important;
  background: color-mix(in srgb, var(--cb-primary) 8%, transparent) !important;
  font-weight: 600;
}

.dedicated-filter__reset-btn:hover,
.dedicated-filter__reset-btn:focus {
  color: #fff !important;
  background: var(--cb-primary) !important;
  border-color: var(--cb-primary) !important;
}

@media (max-width: 1199px) {
  .dedicated-filter__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dedicated-pricing__results-count {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  background: color-mix(in srgb, var(--cb-primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--cb-primary) 28%, transparent);
}

@media (max-width: 575px) {
  .dedicated-filter__header-meta {
    align-items: flex-start;
    width: 100%;
  }

  .dedicated-filter__grid {
    grid-template-columns: 1fr;
  }

  .dedicated-filter__chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dedicated-filter__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .dedicated-filter__footer .btn {
    width: 100%;
  }
}

.dedicated-pricing__setup-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cb-tetrad-green, #3edf9f);
  padding: 6px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cb-tetrad-green, #3edf9f) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cb-tetrad-green, #3edf9f) 40%, transparent);
}

.dedicated-pricing__setup-free i {
  font-size: 0.95rem;
}

.dedicated-pricing__setup-paid {
  opacity: 0.85;
}

.services.maping .svg .st1 {
  opacity: 0.35;
}

.services.maping .svg .st2 {
  stroke: #808080;
}

[data-background="dark"] .services.maping .svg .st1 {
  opacity: 0.5;
}

[data-background="dark"] .services.maping .svg .st2 {
  stroke: #9aa8b3;
}

/* Logo + Markenname mit animierter Linie */
.logo-col {
  overflow: visible;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  max-width: 100%;
}

.logo-brand-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.logo-brand-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.logo-brand-accent {
  position: relative;
  display: block;
  width: 100%;
  max-width: 148px;
  height: 2px;
}

.logo-brand-line {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  border-top: 2px solid var(--cb-info);
}

.logo-brand-line--long {
  position: relative;
  width: 100%;
  opacity: 0.55;
}

.logo-brand-line--short {
  width: 28%;
  border-top-color: var(--cb-primary);
  box-shadow: 0 0 8px rgba(62, 224, 207, 0.45);
  animation: logoBrandLineSlide 2.8s ease-in-out infinite;
}

@keyframes logoBrandLineSlide {
  0%,
  100% {
    left: 0;
    width: 22%;
  }
  50% {
    left: 78%;
    width: 22%;
  }
}

.menu-wrap.fixed .logo-brand-name {
  font-size: 14px;
}

.menu-wrap.fixed .logo-brand-accent {
  max-width: 132px;
}

@media (max-width: 575px) {
  .logo-brand {
    gap: 0;
  }

  .menu-wrap.mobile .logo-brand-name {
    font-size: 12px;
    letter-spacing: 0;
  }

  .menu-wrap.mobile .logo-brand-accent {
    max-width: 110px;
  }

  .menu-wrap.mobile .logo-brand {
    gap: 8px;
  }
}

/* Logo optisch größer, Navbar-Höhe unverändert (Original-Padding bleibt) */
.menu-wrap .logo-col,
.menu-wrap .col-2,
.menu-wrap .col-md-2,
.menu-wrap.mobile .col-6:first-child {
  overflow: visible;
}

.menu-wrap .logo-menu.logo-icon {
  width: auto !important;
  max-height: 47px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  transform: scale(1.15);
  transform-origin: left center;
}

.menu-wrap.fixed .logo-menu.logo-icon {
  max-height: 42px;
  transform: scale(1.1);
}

.menu-wrap.mobile .logo-menu.logo-icon {
  max-height: 40px;
  transform: scale(1.1);
}

.menu-wrap .logo-menu:not(.logo-icon) {
  width: auto !important;
  max-height: 47px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  transform: scale(1.35);
  transform-origin: left center;
}

.menu-wrap.fixed .logo-menu:not(.logo-icon) {
  max-height: 42px;
  transform: scale(1.3);
}

.menu-wrap.mobile .logo-menu:not(.logo-icon) {
  max-height: 40px;
  transform: scale(1.25);
}

.footer .logo-footer {
  width: auto !important;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

/* Produktkarten — einheitliche Höhe, kein weißer Wrapper-Hintergrund */
.products-grid__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .products-grid__cards {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 580px;
  }
}

@media (min-width: 992px) {
  .products-grid__cards {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 580px;
  }
}

.products-grid__item {
  display: flex;
  min-width: 0;
  height: 100%;
}

.products-grid.pricing .wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin-top: 0;
  background: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  overflow: hidden;
}

.products-grid.pricing .wrapper .top-content {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
}

.products-grid.pricing .wrapper .top-content .pricing-card-icon {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.products-grid.pricing .wrapper .top-content .title {
  flex-shrink: 0;
  min-height: 2.6em;
  max-height: 2.6em;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 22px;
}

.products-grid.pricing .wrapper .top-content .product-desc {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-height: 4.35em;
  max-height: 4.35em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.products-grid.pricing .wrapper .top-content .price-block {
  flex: 0 0 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.products-grid.pricing .wrapper .top-content .price-block .fromer {
  margin-bottom: 2px;
  line-height: 1.2;
}

.products-grid.pricing .wrapper .top-content .price-block .price {
  font-size: 28px;
  line-height: 1.15;
}

.products-grid.pricing .wrapper .top-content .price-block .plans.badge {
  position: static;
  display: inline-block;
  width: fit-content;
  margin-bottom: 6px;
}

.products-grid.pricing .wrapper .top-content .btn {
  flex-shrink: 0;
  margin-top: 0;
  width: 100%;
  text-align: center;
}

.products-grid.pricing .wrapper .top-content .btn-default-yellow-fill {
  background-color: var(--cb-danger) !important;
  border-color: var(--cb-danger) !important;
  color: var(--cb-on-danger) !important;
}

.products-grid.pricing .wrapper .top-content .btn-default-yellow-fill:hover {
  background-color: var(--cb-danger-hover) !important;
  border-color: var(--cb-danger-hover) !important;
  color: var(--cb-on-danger) !important;
}

.products-grid.pricing .list-info {
  flex: 0 0 236px;
  height: 236px;
  padding: 20px 24px 24px;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.products-grid.pricing .list-info li {
  padding: 0;
  min-height: 0;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  margin: 0;
}

.products-grid.pricing .list-info li i {
  font-size: 32px;
  min-width: 40px;
  margin-right: 12px;
  flex-shrink: 0;
}

.products-grid.pricing .list-info li div {
  line-height: 1.25;
}

@media (max-width: 767px) {
  .products-grid__cards {
    grid-auto-rows: auto;
  }

  .products-grid.pricing .wrapper {
    min-height: 580px;
  }
}

/* Service-Karten — gleiche Höhe pro Zeile (FeaturesGrid, SolutionPaths, CustomSolutions) */
.services .service-wrap .row.service-cards-equal > [class*="col-"]:has(.service-section) {
  display: flex;
}

.services .service-wrap .row.service-cards-equal .service-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.services .service-wrap .row.service-cards-equal .service-section .subtitle {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.services .service-wrap .row.service-cards-equal .service-section a.btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Homepage — Process (3 Schritte) */
.home-process .home-process__step {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.home-process .home-process__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.home-process .home-process__number {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: #7c4dff;
  opacity: 0.35;
  font-variant-numeric: tabular-nums;
}

.home-process .home-process__icon {
  flex-shrink: 0;
}

.home-process .home-process__icon .svg {
  display: block;
  width: 40px;
  height: 40px;
}

.home-process .home-process__label {
  position: static;
  display: inline-block;
  margin-bottom: 10px;
}

.home-process .home-process__step .title {
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .home-process .home-process__track {
    position: relative;
  }

  .home-process .home-process__track::before {
    content: "";
    position: absolute;
    top: 3.25rem;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(124, 77, 255, 0.25) 15%,
      rgba(124, 77, 255, 0.35) 50%,
      rgba(124, 77, 255, 0.25) 85%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 0;
  }

  .home-process .home-process__step {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 767px) {
  .home-process .home-process__track::before {
    display: none;
  }
}

/* Nav — Produkt-Links mit New-Badge */
.main-menu .product-link-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.main-menu .product-link-row .menu.badge.feat {
  position: static;
  font-size: 10px;
  padding: 3px 8px;
  line-height: 1.2;
}

.product--coming-soon {
  opacity: 0.55;
  cursor: not-allowed;
}

.product--coming-soon .mergecolor,
.product--coming-soon .title,
.product--coming-soon .subtitle,
.product--coming-soon .product-desc {
  color: var(--cb-text-muted, #8a96a8) !important;
}

.product-nav-link--disabled {
  color: var(--cb-text-muted, #8a96a8);
  cursor: not-allowed;
  pointer-events: none;
}

.btn--coming-soon {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.85;
}

.btn--coming-soon:hover,
.btn--coming-soon:focus {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
}

/* Seiten-Hero (V-Server, Kontakt, Domains) — mehrschichtiger Verlauf */
.vserver-hero,
.contact-hero,
.domains-hero,
.dedicated-hero {
  position: relative;
  overflow: hidden;
  background-color: #0a1628;
}

.vserver-hero__bg,
.contact-hero__bg,
.domains-hero__bg,
.dedicated-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%, rgba(62, 224, 207, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 90% 25%, rgba(62, 159, 224, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 60% 100%, rgba(224, 62, 78, 0.16) 0%, transparent 45%),
    linear-gradient(125deg, #0a1628 0%, #0d3d56 42%, #124a5e 72%, var(--cb-primary) 100%);
}

.vserver-hero__bg::after,
.contact-hero__bg::after,
.domains-hero__bg::after,
.dedicated-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(255, 255, 255, 0.03) 12px,
    rgba(255, 255, 255, 0.03) 13px
  );
  pointer-events: none;
}

.vserver-hero .container,
.contact-hero .container,
.domains-hero .container,
.dedicated-hero .container {
  position: relative;
  z-index: 1;
}

/* Domains — Tabellenkopf bleibt beim Scrollen sichtbar (unter fixierter Nav) */
.domains-pricing-table .table-responsive-lg {
  overflow: visible;
}

.domains-pricing-table .table.compare thead .domains-thead-gap th {
  height: var(--cb-sticky-table-gap);
  padding: 0 !important;
  line-height: 0;
  font-size: 0;
  border: none !important;
  vertical-align: top;
  background-color: var(--cb-surface);
  position: sticky;
  top: var(--cb-sticky-nav-offset);
  z-index: 31;
}

.domains-pricing-table .table.compare thead .domains-thead-labels th {
  position: sticky;
  top: calc(var(--cb-sticky-nav-offset) + var(--cb-sticky-table-gap));
  z-index: 30;
  padding-top: 1.25rem !important;
  background-color: var(--cb-surface);
  box-shadow: 0 6px 14px rgba(10, 22, 40, 0.12);
}

[data-background="dark"] .box-container .domains-pricing-table .table.compare thead .domains-thead-gap th,
[data-background="dark"] .box-container .domains-pricing-table .table.compare thead .domains-thead-labels th {
  background-color: var(--cb-page-dark);
}

[data-background="dark"] .box-container .domains-pricing-table .table.compare thead .domains-thead-labels th {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

@media (max-width: 991.98px) {
  .domains-pricing-table .table-responsive-lg {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }
}

.domains-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.domains-price-cell {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.35;
}

.domains-price-primary {
  line-height: 1.35;
}

.domains-price-meta {
  display: block;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--cb-text-muted, #6c757d);
}

.domains-price-meta--sub {
  font-size: 0.72rem;
  opacity: 0.9;
}

.domains-price-period {
  display: block;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--cb-text-muted, #6c757d);
}

.domains-price-yearly {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  line-height: 1.25;
  color: var(--cb-text-muted, #6c757d);
}

.domains-pricing-error {
  border-radius: 0.5rem;
}

.domains-pricing-loading {
  font-size: 0.9rem;
  color: var(--cb-text-muted, #6c757d);
}

.domains-pricing-skeleton {
  display: block;
  height: 1rem;
  width: 70%;
  border-radius: 0.25rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.06) 75%);
  background-size: 200% 100%;
  animation: domains-pricing-shimmer 1.4s ease-in-out infinite;
}

.domains-pricing-skeleton-row td .domains-pricing-skeleton,
.domains-pricing-skeleton-row th .domains-pricing-skeleton {
  width: 55%;
}

@keyframes domains-pricing-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

[data-background="dark"] .domains-pricing-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.06) 75%);
  background-size: 200% 100%;
}

@media (max-width: 575.98px) {
  .domains-price-meta--annual,
  .domains-price-period {
    display: none;
  }

  .domains-pricing-table .table.compare td,
  .domains-pricing-table .table.compare th {
    font-size: 0.92rem;
  }
}

/* Domains — Feature-Illustrationen (SVG sichtbar auf Dark Mode) */
.domains-features .domains-feature-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: 1rem 0;
}

.domains-features .domains-feature-illustration .svg,
.domains-features .domains-feature-illustration img.svg,
.domains-features .domains-feature-illustration svg {
  width: 100%;
  max-width: 28rem;
  height: auto;
  display: block;
  margin: 0 auto;
}

[data-background="dark"] .domains-features .domains-feature-illustration svg :is(
  .domainmanage0,
  .api0,
  .api3,
  .api4,
  .controlpanel0,
  .support3,
  .performance0,
  .st0,
  .st1
) {
  stroke: rgba(255, 255, 255, 0.42) !important;
}

[data-background="dark"] .domains-features .domains-feature-illustration svg :is(
  .domainmanage2,
  .domainmanage3,
  .domainmanage4,
  .api1,
  .api2,
  .controlpanel1,
  .support0,
  .support2,
  .support4,
  .st2,
  .st3
),
[data-background="dark"] .domains-features .domains-feature-illustration svg #svg-concept {
  stroke: var(--cb-primary) !important;
}

[data-background="dark"] .domains-features .domains-feature-illustration svg :is(
  .domainmanage4,
  .support5
),
[data-background="dark"] .domains-features .domains-feature-illustration svg #svg-ico {
  fill: var(--cb-primary) !important;
}

.domains-features .tabs-header i {
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cb-primary);
}

/* V-Server — Slider: volle Breite, keine Template-Labels (16GB/256GB via ::before/::after) */
.vserver-page .vserver-config-slider .cd-filter-content {
  width: 100%;
  text-align: left;
}

.vserver-page .vserver-range {
  --ratio: 0;
  --thumb-size: 18px;
  --thumb-left: calc((var(--ratio) * (100% - var(--thumb-size))) + (var(--thumb-size) / 2));

  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 8px;
  padding-top: 40px;
  box-sizing: border-box;
}

.vserver-page .vserver-range::before,
.vserver-page .vserver-range::after,
.vserver-page .vserver-config-slider .range-slider::before,
.vserver-page .vserver-config-slider .range-slider::after {
  content: none !important;
  display: none !important;
}

.vserver-page .vserver-config-slider .range-slider-input {
  display: block;
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  height: 32px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  z-index: 2;
}

.vserver-page .vserver-config-slider .range-slider-input::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: rgba(62, 159, 224, 0.35);
}

.vserver-page .vserver-config-slider .range-slider-input::-moz-range-track {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: rgba(62, 159, 224, 0.35);
}

.vserver-page .vserver-config-slider .range-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--thumb-size);
  height: var(--thumb-size);
  margin-top: -6px;
  border-radius: 50%;
  background: var(--cb-primary);
  box-shadow: 0 0 0 3px rgba(62, 224, 207, 0.25);
  cursor: grab;
}

.vserver-page .vserver-config-slider .range-slider-input::-moz-range-thumb {
  width: var(--thumb-size);
  height: var(--thumb-size);
  border: none;
  border-radius: 50%;
  background: var(--cb-primary);
  box-shadow: 0 0 0 3px rgba(62, 224, 207, 0.25);
  cursor: grab;
}

.vserver-page .vserver-config-minmax {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.75;
}

.vserver-page .vserver-slider-bubble {
  position: absolute;
  top: 0;
  left: var(--thumb-left);
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(16, 25, 32, 0.92);
  border: 1px solid rgba(62, 224, 207, 0.35);
  color: #eaf3fb;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.vserver-page .vserver-slider-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid rgba(16, 25, 32, 0.92);
}

.vserver-page .vserver-config-ticks {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.2;
}

.vserver-page .vserver-config-ticks span {
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.vserver-page .vserver-config-ticks span.active {
  opacity: 1;
  color: var(--cb-primary);
  font-weight: 600;
}

/* V-Server — IP-Optionen mit Preis */
.vserver-page .vserver-ip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.vserver-page .vserver-ip-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}

.vserver-page .vserver-ip-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  cursor: pointer;
}

.vserver-page .vserver-option-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--cb-primary);
  line-height: 1.2;
}

/* V-Server — Hostname-Feld mit Globe-Icon */
.vserver-page .vserver-hostname-field {
  position: relative;
  width: 100%;
}

.vserver-page .vserver-hostname-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cb-info);
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.vserver-page .cd-filter-block .vserver-hostname-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 12px 42px !important;
  border-radius: 8px;
  border: 1px solid #414142;
  background-color: #101920;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
}

.vserver-page .vserver-hostname-input:focus {
  outline: none;
  border-color: var(--cb-info);
  box-shadow: 0 0 0 2px rgba(62, 159, 224, 0.25);
}

[data-background="light"] .vserver-page .vserver-hostname-input {
  background-color: #ffffff;
  border-color: #ced4da;
  color: #212122;
}

/* V-Server — Sidebar: Preisaufschlüsselung */
.vserver-page .vserver-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.vserver-page .vserver-summary-list li {
  margin-bottom: 0.5rem;
}

.vserver-page .vserver-summary .ordersummary .vserver-order-price {
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}

.vserver-page .vserver-summary .ordersummary .vserver-order-subtotal-row td {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.75rem;
}

.vserver-page .vserver-summary .ordersummary .vserver-order-discount {
  color: var(--cb-primary);
}

/* V-Server — Bestellübersicht (Lesbare Aufschlüsselung) */
.vserver-page .vserver-order-breakdown {
  margin-top: 0.25rem;
}

.vserver-page .vserver-order-lines {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vserver-page .vserver-order-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.vserver-page .vserver-order-line + .vserver-order-line {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vserver-page .vserver-order-line__label {
  flex: 1 1 auto;
  min-width: 0;
  opacity: 0.92;
}

.vserver-page .vserver-order-line__price {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.vserver-page .vserver-order-line__price--included {
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.75;
}

.vserver-page .vserver-order-totals {
  margin-top: 1rem;
}

.vserver-page .vserver-order-grand-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(62, 224, 207, 0.14) 0%, rgba(62, 224, 207, 0.06) 100%);
  border: 1px solid rgba(62, 224, 207, 0.28);
}

.vserver-page .vserver-order-grand-total__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.vserver-page .vserver-order-grand-total__price {
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--cb-primary, #3ee0cf);
  white-space: nowrap;
}

.vserver-page .vserver-order-tax-note {
  margin: 0.65rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.72;
  text-align: center;
}

[data-background="light"] .vserver-page .vserver-order-lines {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-background="light"] .vserver-page .vserver-order-line + .vserver-order-line {
  border-top-color: rgba(0, 0, 0, 0.06);
}

[data-background="light"] .vserver-page .vserver-order-grand-total {
  background: linear-gradient(135deg, rgba(62, 224, 207, 0.12) 0%, rgba(62, 224, 207, 0.04) 100%);
  border-color: rgba(62, 224, 207, 0.35);
}

[data-background="light"] .vserver-page .vserver-order-grand-total__label {
  color: #1a2a32;
}

/* V-Server — Zusammenfassung rechts oben (ohne Template-#sidebar fixed/sticky.js) */
.vserver-page .vserver-summary {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  width: 100% !important;
}

@media (min-width: 992px) {
  .vserver-page > .container > .row {
    align-items: stretch;
  }

  .vserver-page .vserver-summary-col {
    position: relative;
  }

  .vserver-page .vserver-summary-sticky {
    position: sticky !important;
    top: 6.5rem !important;
    bottom: auto !important;
    z-index: 5;
  }

  .vserver-page .vserver-summary-sticky .vserver-summary {
    max-height: calc(100vh - 7.5rem);
    overflow-y: auto;
  }

  /* Legal / Rechtliches — Sidebar links wie V-Server Sticky-Wrapper */
  .legal-page > .container > .row {
    align-items: stretch;
  }

  .legal-page .legal-sidebar-col {
    position: relative;
  }

  .legal-page .legal-sidebar-sticky {
    position: sticky !important;
    top: 6.5rem !important;
    bottom: auto !important;
    z-index: 5;
  }

  /* Summary: Inhalt scrollt, CTA bleibt unterhalb sichtbar (ohne Overlap) */
  .vserver-page .vserver-summary-sticky .vserver-summary {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .vserver-page .vserver-summary .vserver-summary-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding-bottom: 14px;
  }

  /* Scrollbar sichtbar/hervorgehoben (Summary) */
  .vserver-page .vserver-summary .vserver-summary-scroll {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(62, 224, 207, 0.7) rgba(255, 255, 255, 0.08); /* thumb / track */
  }

  .vserver-page .vserver-summary .vserver-summary-scroll::-webkit-scrollbar {
    width: 10px;
  }

  .vserver-page .vserver-summary .vserver-summary-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
  }

  .vserver-page .vserver-summary .vserver-summary-scroll::-webkit-scrollbar-thumb {
    background: rgba(62, 224, 207, 0.65);
    border-radius: 10px;
    border: 2px solid rgba(16, 25, 32, 0.9); /* trennt Thumb vom Track (dark bg) */
  }

  .vserver-page .vserver-summary .vserver-summary-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(62, 224, 207, 0.85);
  }

  /* Scroll-Hint: sitzt im Scroll-Container (kein Overlap mit CTA) */
  .vserver-page .vserver-summary .vserver-summary-scroll-hint {
    position: sticky;
    bottom: 0;
    height: 44px;
    margin-top: -44px; /* legt sich über den unteren Rand des Scroll-Contents */
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
      to bottom,
      rgba(16, 25, 32, 0) 0%,
      rgba(16, 25, 32, 0.85) 65%,
      rgba(16, 25, 32, 0.95) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6px;
  }

  .vserver-page .vserver-summary .vserver-summary-scroll-hint__arrow {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(62, 224, 207, 0.35);
    background: rgba(16, 25, 32, 0.65);
    color: rgba(62, 224, 207, 0.95);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    animation: vserverScrollHintBounce 1.35s ease-in-out infinite;
  }

  @keyframes vserverScrollHintBounce {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(-6px); opacity: 1; }
  }

  .vserver-page .vserver-summary .vserver-summary-cta {
    flex: 0 0 auto;
    margin-top: 0;
    width: 100%;
    text-align: center;
  }
}

/* Gameserver page — reuses .vserver-page configurator styles; hero tint only */
.gameserver-page .gameserver-hero__bg {
  background: linear-gradient(
    135deg,
    var(--cb-hero-grad-start, #0a1119) 0%,
    var(--cb-hero-grad-end, #0c3546) 55%,
    #1a2f1a 100%
  ) !important;
}

/* Web-App Entwicklung */
.entwicklung-page .entwicklung-hero .wrapper {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.entwicklung-page .entwicklung-hero__badge {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

.entwicklung-page .entwicklung-hero__subtitle {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.entwicklung-page .entwicklung-hero__specs-row {
  margin-top: 2rem;
  row-gap: 1rem;
}

.entwicklung-page .entwicklung-hero__spec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 1.35rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-sizing: border-box;
}

.entwicklung-page .entwicklung-hero__spec-card i {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.85rem;
  color: var(--cb-primary);
}

.entwicklung-page .entwicklung-hero__spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}

.entwicklung-page .entwicklung-hero__spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.entwicklung-page .entwicklung-hero__cta {
  margin-top: 2rem;
}

.entwicklung-page .entwicklung-hero__bg {
  background:
    radial-gradient(ellipse 55% 65% at 18% 45%, rgba(124, 77, 255, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 50% 55% at 88% 28%, rgba(62, 224, 207, 0.22) 0%, transparent 50%),
    linear-gradient(125deg, #0a1628 0%, #1a1535 38%, #0d3d56 72%, #124a5e 100%) !important;
}

.entwicklung-page .entwicklung-usecases {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.entwicklung-page .entwicklung-usecases__grid {
  margin-top: 0.5rem;
}

.entwicklung-page .entwicklung-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.entwicklung-page .entwicklung-card__icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--cb-primary);
  margin-bottom: 1rem;
}

.entwicklung-page .entwicklung-process {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.entwicklung-page .entwicklung-process .home-process__number {
  color: var(--cb-primary);
  opacity: 0.55;
}

.entwicklung-page .entwicklung-process__track {
  margin-top: 1.5rem;
}

.entwicklung-page .entwicklung-cta-row {
  margin-top: 3rem;
}

.entwicklung-page .entwicklung-cta-panel {
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(62, 224, 207, 0.28);
  background-color: var(--cb-surface-alt-dark, rgba(255, 255, 255, 0.04));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

[data-background="light"] .box-container .entwicklung-page .entwicklung-hero__spec-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-background="light"] .box-container .entwicklung-page .entwicklung-hero__spec-label {
  color: rgba(18, 30, 37, 0.55);
}

[data-background="light"] .box-container .entwicklung-page .entwicklung-hero__spec-value {
  color: var(--cb-text-primary, #121e25);
}

[data-background="light"] .box-container .entwicklung-page .entwicklung-cta-panel {
  background-color: var(--cb-surface-alt, #f4f8fb);
  border-color: rgba(62, 224, 207, 0.45);
}

/* Sonderlösungen */
.sonderloesungen-page .sonderloesungen-hero .wrapper {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.sonderloesungen-page .sonderloesungen-hero__badge {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

.sonderloesungen-page .sonderloesungen-hero__subtitle {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.sonderloesungen-page .sonderloesungen-hero__specs-row {
  margin-top: 2rem;
  row-gap: 1rem;
}

.sonderloesungen-page .sonderloesungen-hero__spec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 1.35rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-sizing: border-box;
}

.sonderloesungen-page .sonderloesungen-hero__spec-card i {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.85rem;
  color: var(--cb-primary);
}

.sonderloesungen-page .sonderloesungen-hero__spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}

.sonderloesungen-page .sonderloesungen-hero__spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.sonderloesungen-page .sonderloesungen-hero__cta {
  margin-top: 2rem;
}

.sonderloesungen-page .sonderloesungen-hero__bg {
  background:
    radial-gradient(ellipse 55% 65% at 18% 45%, rgba(255, 193, 7, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 55% at 88% 28%, rgba(124, 77, 255, 0.24) 0%, transparent 50%),
    linear-gradient(125deg, #1a1208 0%, #2a1f35 38%, #3d2a0d 72%, #4a3512 100%) !important;
}

.sonderloesungen-page .sonderloesungen-usecases {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.sonderloesungen-page .sonderloesungen-usecases__grid {
  margin-top: 0.5rem;
}

.sonderloesungen-page .sonderloesungen-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.sonderloesungen-page .sonderloesungen-card__icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--cb-primary);
  margin-bottom: 1rem;
}

.sonderloesungen-page .sonderloesungen-process {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.sonderloesungen-page .sonderloesungen-process .home-process__number {
  color: var(--cb-primary);
  opacity: 0.55;
}

.sonderloesungen-page .sonderloesungen-process__track {
  margin-top: 1.5rem;
}

.sonderloesungen-page .sonderloesungen-cta-row {
  margin-top: 3rem;
}

.sonderloesungen-page .sonderloesungen-cta-panel {
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 193, 7, 0.35);
  background-color: var(--cb-surface-alt-dark, rgba(255, 255, 255, 0.04));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

[data-background="light"] .box-container .sonderloesungen-page .sonderloesungen-hero__spec-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-background="light"] .box-container .sonderloesungen-page .sonderloesungen-hero__spec-label {
  color: rgba(18, 30, 37, 0.55);
}

[data-background="light"] .box-container .sonderloesungen-page .sonderloesungen-hero__spec-value {
  color: var(--cb-text-primary, #121e25);
}

[data-background="light"] .box-container .sonderloesungen-page .sonderloesungen-cta-panel {
  background-color: var(--cb-surface-alt, #f4f8fb);
  border-color: rgba(255, 193, 7, 0.55);
}

/* Nextcloud — Nutzerfeld: Theme setzt .config input.form-control auf 65px */
.nextcloud-page .config.cd-main-content input.nextcloud-users-input {
  width: 100%;
  max-width: 7rem;
  min-width: 4.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--cb-text-primary, #e8eef4);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.nextcloud-page .config.cd-main-content input.nextcloud-users-input:focus {
  outline: none;
  border-color: var(--cb-primary, #3ee0cf);
  box-shadow: 0 0 0 2px rgba(62, 224, 207, 0.25);
}

/* 404 — Seite nicht gefunden */
.not-found-page {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
}

.not-found-page__grad {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.not-found-page .container {
  position: relative;
  z-index: 1;
}

.not-found-page__illustration {
  max-width: 520px;
  margin: 0 auto;
  display: block;
}

.not-found-page__code {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
}

.not-found-page__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.not-found-page__text {
  line-height: 1.75;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.not-found-page__text .golink {
  color: var(--cb-primary, #3ee0cf);
  text-decoration: underline;
}

.not-found-page__text .golink:hover {
  color: #fff;
}

[data-background="light"] .box-container .not-found-page__code {
  color: rgba(18, 30, 37, 0.2);
}

[data-background="light"] .box-container .not-found-page__title {
  color: var(--cb-text-primary, #121e25);
}

[data-background="light"] .box-container .not-found-page__text {
  color: var(--cb-text-secondary, #4a5c66);
}

/* 503 — Wartungsarbeiten */
.maintenance-page {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
}

.maintenance-page__grad {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.maintenance-page .container {
  position: relative;
  z-index: 1;
}

.maintenance-page__illustration {
  max-width: 520px;
  margin: 0 auto;
  display: block;
}

.maintenance-page__code {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
}

.maintenance-page__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.maintenance-page__text {
  line-height: 1.75;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.maintenance-page__text .golink {
  color: var(--cb-primary, #3ee0cf);
  text-decoration: underline;
}

.maintenance-page__text .golink:hover {
  color: #fff;
}

.maintenance-page__retry {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

[data-background="light"] .box-container .maintenance-page__code {
  color: rgba(18, 30, 37, 0.2);
}

[data-background="light"] .box-container .maintenance-page__title {
  color: var(--cb-text-primary, #121e25);
}

[data-background="light"] .box-container .maintenance-page__text {
  color: var(--cb-text-secondary, #4a5c66);
}

[data-background="light"] .box-container .maintenance-page__retry {
  color: var(--cb-text-secondary, #4a5c66);
}

/* Auth — Login / 2FA */
.auth-page__section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 14rem);
}

.auth-page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.auth-page__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(255, 255, 255, 0.03) 12px,
    rgba(255, 255, 255, 0.03) 13px
  );
  pointer-events: none;
}

.auth-page__section .container {
  position: relative;
  z-index: 1;
}

.auth-page__card {
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(62, 224, 207, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
}

[data-background="dark"] .box-container .auth-page__card {
  background-color: var(--cb-surface-dark) !important;
}

[data-background="light"] .box-container .auth-page__card {
  background-color: var(--cb-surface) !important;
  border-color: rgba(62, 224, 207, 0.35);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.14);
}

.auth-page__title {
  font-size: 1.75rem;
  font-weight: 700;
}

.auth-page__tabs.btn-group .btn.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
}

.auth-page__tabs.btn-group .btn.btn-secondary.active {
  background-color: var(--cb-primary) !important;
  border-color: var(--cb-primary) !important;
  color: var(--cb-ink) !important;
}

.auth-page__tabs.btn-group .btn.btn-secondary.auth-page__tab-disabled {
  opacity: 0.55 !important;
  cursor: not-allowed;
}

[data-background="light"] .auth-page__tabs.btn-group .btn.btn-secondary {
  background-color: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: rgba(0, 0, 0, 0.75) !important;
}

[data-background="light"] .auth-page__tabs.btn-group .btn.btn-secondary.active {
  color: var(--cb-ink) !important;
}

.auth-page__field {
  position: relative;
}

.auth-page__field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cb-info);
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  margin: 0;
}

.auth-page__field input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 12px 42px !important;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
}

.auth-page__field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.auth-page__field input:focus {
  outline: none;
  border-color: var(--cb-primary);
  box-shadow: 0 0 0 2px rgba(62, 224, 207, 0.25);
}

[data-background="light"] .auth-page__field input {
  background-color: #ffffff;
  border-color: #ced4da;
  color: #212122;
}

[data-background="light"] .auth-page__field input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.auth-page__form .alert-danger {
  border-radius: 8px;
  font-size: 0.9rem;
}

