/**
 * LIRENO — Market polish (visuell only)
 * Keine Layout-/Positions-Änderungen — nur Schatten, Verläufe, Glow, Blur.
 */

/* ── Hero: leichte Glass-Card links ───────────────────────── */
.hero-left {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(247, 245, 240, 0.52) 55%,
    rgba(236, 253, 245, 0.28) 100%
  );
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 40px rgba(13, 17, 23, 0.06);
}

.hero::before {
  background: linear-gradient(
    160deg,
    var(--cream) 0%,
    #f3efe6 42%,
    rgba(220, 252, 231, 0.35) 100%
  );
}

.hero-badge {
  background: linear-gradient(180deg, #ffffff 0%, #f8faf6 100%);
  box-shadow: 0 2px 12px rgba(13, 17, 23, 0.05);
}

/* ── Telefon: grüner Ambient Glow ─────────────────────────── */
.tb-hero-device {
  position: relative;
}

.tb-hero-device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(26, 107, 60, 0.28) 0%,
    rgba(26, 107, 60, 0.1) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.tb-hero-device .phone-mockup {
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 48px rgba(26, 107, 60, 0.22),
    0 0 96px rgba(26, 107, 60, 0.1),
    40px 40px 80px rgba(0, 0, 0, 0.12),
    -10px -10px 30px rgba(255, 255, 255, 0.55);
}

/* ── Buttons: subtile Lichtkante ──────────────────────────── */
.btn-primary,
.nav-cta,
.tb-mod-cta:not(.tb-mod-cta--secondary),
.plan-btn-filled,
.btn-cta-booking {
  background: linear-gradient(180deg, #1a2330 0%, var(--ink) 52%, #0a0e14 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 1px 2px rgba(255, 255, 255, 0.06) inset,
    0 8px 22px rgba(13, 17, 23, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover,
.nav-cta:hover,
.tb-mod-cta:not(.tb-mod-cta--secondary):hover,
.plan-btn-filled:hover,
.btn-cta-booking:hover {
  background: linear-gradient(180deg, #228b4a 0%, var(--accent) 55%, #14532d 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 28px rgba(26, 107, 60, 0.28);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Shell-Nav (style.css Variablen) */
.tb-topnav .nav-cta,
#tb-landing-nav .nav-cta,
#tb-site-shell-nav .nav-cta {
  background: linear-gradient(180deg, #1a2330 0%, var(--ink, #0d1117) 52%, #0a0e14 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 8px 22px rgba(13, 17, 23, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Karten: feine Schatten + sanfte Verläufe ─────────────── */
.tb-mod-card,
.tb-feat-card,
.tb-problem-card,
.tb-why-card,
.tb-pricing-teaser,
.tb-mod-roadmap-block {
  background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
  box-shadow:
    0 1px 2px rgba(13, 17, 23, 0.04),
    0 4px 14px rgba(13, 17, 23, 0.05),
    0 12px 32px rgba(13, 17, 23, 0.03);
}

.tb-mod-card--core {
  background: linear-gradient(145deg, #ffffff 0%, #f6faf7 100%);
  box-shadow:
    0 1px 2px rgba(13, 17, 23, 0.04),
    0 6px 20px rgba(13, 17, 23, 0.06),
    0 16px 40px rgba(26, 107, 60, 0.05);
}

.tb-mod-card--dev {
  background: linear-gradient(180deg, #fafaf8 0%, #f3f4f6 100%);
}

.plan {
  background: linear-gradient(165deg, #111827 0%, #0d1117 55%, #0a1628 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 28px rgba(0, 0, 0, 0.22);
}

.plan.featured {
  background: linear-gradient(165deg, #132a1f 0%, #0d1117 45%, #0a1628 100%);
  box-shadow:
    0 0 0 1px rgba(26, 107, 60, 0.35),
    0 12px 36px rgba(26, 107, 60, 0.12);
}

/* ── Shell-Seiten: dezente Hero-Card ───────────────────────── */
.tb-main .tb-hero {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(247, 245, 240, 0.6) 100%
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(214, 208, 196, 0.65);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 28px rgba(13, 17, 23, 0.05);
}

@media (prefers-reduced-motion: reduce) {
  .hero-left,
  .tb-main .tb-hero {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 900px) {
  .hero-left {
    border-radius: 16px;
  }

  .tb-hero-device::before {
    width: 260px;
    height: 480px;
  }
}

/* ── KITech SuperNav: fester rechter Abstand + kein Overflow ── */
:root {
  --lireno-nav-right-space: 48px;
}

#tb-site-shell-nav.tb-topnav,
#tb-landing-nav.tb-topnav {
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

#tb-site-shell-nav .tb-nav-inner,
#tb-landing-nav .tb-nav-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-right: var(--lireno-nav-right-space) !important;
}

#tb-site-shell-nav .tb-nav-inner--landing .tb-nav-trailing,
#tb-landing-nav .tb-nav-inner--landing .tb-nav-trailing,
#tb-site-shell-nav .tb-nav-slot,
#tb-landing-nav .tb-nav-slot,
#tb-site-shell-nav .nav-links--pages-slot,
#tb-landing-nav .nav-links--pages-slot,
#tb-site-shell-nav .nav-links__pages,
#tb-landing-nav .nav-links__pages {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 901px) {
  #tb-site-shell-nav .tb-nav-inner.tb-nav-inner--landing,
  #tb-landing-nav .tb-nav-inner.tb-nav-inner--landing {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(12px, 2vw, 20px);
    row-gap: 6px;
    width: 100%;
    flex-wrap: unset !important;
  }

  #tb-site-shell-nav .tb-nav-inner--landing .tb-brand-block,
  #tb-landing-nav .tb-nav-inner--landing .tb-brand-block {
    grid-column: 1;
    grid-row: 1;
  }

  #tb-site-shell-nav .tb-nav-inner--landing .tb-nav-langs-inline,
  #tb-landing-nav .tb-nav-inner--landing .tb-nav-langs-inline {
    grid-column: 2;
    grid-row: 1;
    flex-shrink: 0;
  }

  #tb-site-shell-nav .tb-nav-inner--landing .tb-nav-trailing,
  #tb-landing-nav .tb-nav-inner--landing .tb-nav-trailing {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0 !important;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  #tb-site-shell-nav .tb-nav-inner--landing .tb-nav-slot,
  #tb-landing-nav .tb-nav-inner--landing .tb-nav-slot {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    justify-content: flex-end !important;
  }
}

#tb-site-shell-nav .nav-links__pages .lmm-nav-container,
#tb-landing-nav .nav-links__pages .lmm-nav-container {
  position: static !important;
  z-index: auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#tb-site-shell-nav .nav-links__pages,
#tb-landing-nav .nav-links__pages {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

#tb-site-shell-nav .nav-links__pages ul.lmm-nav-container,
#tb-landing-nav .nav-links__pages ul.lmm-nav-container,
#tb-site-shell-nav .nav-links__pages .lmm-nav-container > ul,
#tb-landing-nav .nav-links__pages .lmm-nav-container > ul,
#tb-site-shell-nav .nav-links__pages ul.tb-main-top-menu,
#tb-landing-nav .nav-links__pages ul.tb-main-top-menu {
  height: auto !important;
  min-height: 0;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 4px clamp(8px, 1.2vw, 16px);
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#tb-site-shell-nav .nav-links__pages .lmm-nav-container > ul > li,
#tb-landing-nav .nav-links__pages .lmm-nav-container > ul > li,
#tb-site-shell-nav .nav-links__pages ul.tb-main-top-menu > li,
#tb-landing-nav .nav-links__pages ul.tb-main-top-menu > li {
  flex: 0 1 auto;
  max-width: 100%;
}

#tb-site-shell-nav .nav-links__pages .lmm-nav-container a.lmm-nav-link,
#tb-landing-nav .nav-links__pages .lmm-nav-container a.lmm-nav-link,
#tb-site-shell-nav .nav-links__pages > a,
#tb-landing-nav .nav-links__pages > a {
  padding: 2px clamp(4px, 0.6vw, 10px);
  height: auto;
  font-size: clamp(12px, 1.1vw, 14px);
  white-space: nowrap;
}

#tb-site-shell-nav .nav-links--pages-slot,
#tb-landing-nav .nav-links--pages-slot {
  width: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  justify-content: flex-end;
  overflow: visible;
  flex-wrap: wrap !important;
}

/* LDS: versehentlich doppelte Blöcke im Editor ausblenden (PHP dedupe ist primär) */
body.tb-lds-page-content .entry-content > .lds-page ~ .lds-page,
body.tb-lds-page-content .entry-content .lds-page ~ .lds-page {
  display: none !important;
}

/* LDS-Produktseiten: doppelten WP-Seitentitel ausblenden (Hero hat eigenes h1) */
body.tb-lds-page-content .tb-lireno-standart-page-header,
body.tb-lds-page-content .tb-main .tb-hero {
  display: none;
}
