/**
 * CloudBase Hosting — brand overrides (Template-Layout + blue/turquoise)
 */

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

[data-color="blue"] .menu-wrap.fixed {
  background: linear-gradient(89deg, #1697bf 3%, #55bde5 98%) !important;
}

/* Dark Mode — data-background="dark" */
[data-background="dark"] .box-container,
[data-background="dark"] .box-container.limit-width {
  background-color: #101920;
}

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

[data-background="dark"] .menu-wrap {
  background-color: #15212a;
}

[data-background="dark"] .sec-main.bg-white {
  background-color: #15212a !important;
  color: inherit;
}

/* Türkis statt Gelb für Primary-CTA */
[data-color="blue"] .btn-default-yellow-fill,
.btn-default-yellow-fill {
  background-color: #40E0D0 !important;
  border-color: #40E0D0 !important;
  color: #0a1628 !important;
}

[data-color="blue"] .btn-default-yellow-fill:hover,
.btn-default-yellow-fill:hover {
  background-color: #2ec4b6 !important;
  border-color: #2ec4b6 !important;
  color: #0a1628 !important;
}

.division-ontop path {
  fill: #40E0D0 !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: #55bde5;
}

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

.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 #55bde5;
}

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

.logo-brand-line--short {
  width: 28%;
  border-top-color: #40E0D0;
  box-shadow: 0 0 8px rgba(64, 224, 208, 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;
  }
}

/* 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: #fdd700 !important;
  border-color: #fdd700 !important;
  color: #121e25 !important;
}

.products-grid.pricing .wrapper .top-content .btn-default-yellow-fill:hover {
  background-color: #e6c200 !important;
  border-color: #e6c200 !important;
  color: #121e25 !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;
  }
}

/* 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;
}
