/*
Theme Name: Nopper Immobilien
Theme URI: https://nopper-immobilien.de
Author: WebWizr
Description: Professionelles Theme für Nopper Immobilien GmbH – Kapitalanlage-Immobilien
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nopper-immobilien
*/

/* ========================================
   GLOBAL STYLES
   ======================================== */

:root {
  --heading-size--h1: clamp(2rem, 1.5714285714285714rem + 2.142857142857143vw, 3.5rem);
  --heading-size--h2: clamp(1.75rem, 1.3928571428571428rem + 1.7857142857142856vw, 3rem);
  --heading-size--h2-small: clamp(1.5rem, 1.2857142857142858rem + 1.0714285714285714vw, 2.25rem);
  --heading-size--h3: clamp(1.25rem, 1.0357142857142858rem + 1.0714285714285714vw, 2rem);
  --heading-size--h4: clamp(1.125rem, 1.0892857142857142rem + 0.17857142857142858vw, 1.25rem);
  --heading-size--h5: clamp(1.0625rem, 1.0446428571428572rem + 0.08928571428571429vw, 1.125rem);
  --heading-size--h6: clamp(0.9375rem, 0.9196428571428571rem + 0.08928571428571429vw, 1rem);
  --font-size--base: clamp(0.9375rem, 0.9196428571428571rem + 0.08928571428571429vw, 1rem);
  --font-size--large: clamp(1rem, 0.9642857142857143rem + 0.17857142857142858vw, 1.125rem);
  --font-size--xlarge: clamp(1.125rem, 1.0892857142857142rem + 0.17857142857142858vw, 1.25rem);
  --heading-size--display-1: clamp(3rem, 1.8571428571428572rem + 5.714285714285714vw, 7rem);
  --heading-size--display-2: clamp(2rem, 1.4285714285714286rem + 2.857142857142857vw, 4rem);
  --site--horizontal-gap: clamp(1rem, 0.7142857142857143rem + 1.4285714285714286vw, 2rem);
  --neutral--black: #0f172a;
  --neutral--white: #ffffff;
  --neutral--gray-100: #f1f5f9;
  --neutral--gray-200: #e2e8f0;
  --neutral--gray-400: #94a3b8;
  --neutral--gray-600: #475569;
  --neutral--gray-800: #f1f5f9;
  --neutral--gray-900: #f8fafc;
  --theme--primary: #2563eb;
  --theme--primary-light: #3b82f6;
  --theme--primary-dark: #1d4ed8;
  --theme--accent: #10b981;
  --theme--error: #ef4444;
  --theme--gradient: linear-gradient(135deg, #2563eb, #1d4ed8);
  --hamburger--thickness: 2px;
  --hamburger--gap: 6px;
  --hamburger--rotate: 45;
  --section-padding: clamp(4rem, 3rem + 5vw, 8rem);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
* {
  backface-visibility: hidden;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--neutral--white);
  color: var(--neutral--black);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: var(--font-size--base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}
body:has(.mobile-overlay.is-open) {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
ul, ol {
  list-style: none;
}
p {
  text-wrap: pretty;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Container */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--site--horizontal-gap);
}
.container.is-small {
  max-width: 60rem;
}

/* Page Wrap */
.page-wrap {
  overflow: hidden;
  position: relative;
}

/* Section */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}
.section.overflow-hidden {
  overflow: hidden;
}
.section.is-hero {
  padding-top: clamp(8rem, 6rem + 8vw, 14rem);
  padding-bottom: var(--section-padding);
}

/* Section Spacing */
.section-spacing {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}
.section-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Section Background */
.section-bg-blur {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform, background;
}

/* Card System */
.card-wrap {
  position: relative;
}
.card {
  background-color: var(--neutral--white);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--neutral--gray-200);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
}
.card.is-cta {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #bfdbfe;
}
.card-body {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.card-body.has-gap-none {
  gap: 0;
}
.card-body.has-gap-large {
  gap: 2.5rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media screen and (max-width: 991px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media screen and (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Navbar */
.navbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}
.navbar {
  background-color: rgba(12, 14, 37, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  position: relative;
}
.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-left {
  flex-shrink: 0;
}
.navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.navbar-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-brand-image {
  height: 2rem;
  width: auto;
}
.navbar-border {
  position: absolute;
  inset: 0;
  padding: 0.0625rem;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.3), rgba(255, 255, 255, 0.1) 16%, rgba(255, 255, 255, 0.1) 84%, rgba(37, 99, 235, 0.3));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  padding: 0.5rem 1rem;
  font-size: var(--font-size--base);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  border-radius: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-link:hover,
.nav-link.is-current {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Hamburger */
.nav-menu-button {
  display: none;
  flex-direction: column;
  gap: var(--hamburger--gap);
  padding: 0.5rem;
  cursor: pointer;
}
.hamburger-line {
  width: 1.25rem;
  height: var(--hamburger--thickness);
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
.nav-menu-button.is-open .hamburger-line {
  opacity: 0;
  transform: scaleX(0);
}
.nav-menu-button.is-open .hamburger-line:first-child {
  opacity: 1;
  transform: translateY(calc(var(--hamburger--thickness) + var(--hamburger--gap))) rotate(calc(var(--hamburger--rotate) * 1deg));
}
.nav-menu-button.is-open .hamburger-line:last-child {
  opacity: 1;
  transform: translateY(calc(var(--hamburger--thickness) * -1 + var(--hamburger--gap) * -1)) rotate(calc(var(--hamburger--rotate) * -1deg));
}
@media screen and (max-width: 991px) {
  .navbar-center {
    display: none;
  }
  .nav-menu-button {
    display: flex;
    z-index: 1001;
  }
  .hide-tablet {
    display: none !important;
  }
}

/* Mobile fullscreen overlay */
.mobile-overlay {
  display: none;
}
@media screen and (max-width: 991px) {
  .mobile-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(170deg, rgb(8, 10, 28) 0%, rgb(12, 16, 42) 45%, rgb(8, 10, 28) 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(1.06);
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
  }
  .mobile-overlay.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
  }
  .mobile-overlay .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 22rem;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
  }
  .mobile-overlay .nav-item {
    border-bottom: 1px solid rgba(147, 197, 253, 0.06);
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-overlay .nav-item:last-child {
    border-bottom: none;
  }
  .mobile-overlay.is-open .nav-item {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-overlay.is-open .nav-item:nth-child(1) { transition-delay: 0.06s; }
  .mobile-overlay.is-open .nav-item:nth-child(2) { transition-delay: 0.1s; }
  .mobile-overlay.is-open .nav-item:nth-child(3) { transition-delay: 0.14s; }
  .mobile-overlay.is-open .nav-item:nth-child(4) { transition-delay: 0.18s; }
  .mobile-overlay.is-open .nav-item:nth-child(5) { transition-delay: 0.22s; }
  .mobile-overlay.is-open .nav-item:nth-child(6) { transition-delay: 0.26s; }
  .mobile-overlay .nav-link {
    font-size: var(--heading-size--h3);
    font-weight: 600;
    border: none;
    padding: 1.125rem 0.25rem;
    display: block;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.25s ease;
    letter-spacing: -0.02em;
  }
  .mobile-overlay .nav-link:hover,
  .mobile-overlay .nav-link:active {
    color: #ffffff;
  }
}

/* Button Group */
.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media screen and (max-width: 991px) {
  .button-group {
    justify-content: center;
  }
}

/* Comparison Layout */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media screen and (max-width: 767px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}
.comparison-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: var(--neutral--gray-100);
}
.comparison-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
}
.comparison-icon.is-check {
  color: var(--theme--accent);
}
.comparison-icon.is-cross {
  color: var(--theme--error);
}

/* Steps / Process */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--neutral--gray-200);
}
.step-number {
  font-size: var(--heading-size--display-2);
  font-weight: 700;
  color: var(--neutral--gray-200);
  line-height: 1;
}
.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media screen and (max-width: 767px) {
  .step-item {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }
}

/* Metrics Stack */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.metrics-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.metrics-number {
  font-size: var(--heading-size--display-2);
  font-weight: 700;
  line-height: 1;
}
.metrics-label {
  font-size: var(--font-size--base);
  color: var(--neutral--gray-400);
}
@media screen and (max-width: 991px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 479px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Case Study */
.case-study-card {
  background-color: var(--neutral--white);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-study-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.case-study-content {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}
.case-study-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.case-study-feedback {
  font-style: italic;
  color: var(--neutral--gray-600);
  border-left: 3px solid var(--theme--primary);
  padding-left: 1rem;
}
.case-study-client {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Review Quote */
.review-quote {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}
.review-quote:not(.expanded) {
  -webkit-line-clamp: 3;
  height: 4.5rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.faq-bg {
  position: absolute;
  inset: 0;
  background-color: var(--neutral--gray-100);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.faq-wrap:hover .faq-bg {
  opacity: 1;
}
.faq-inner {
  position: relative;
  z-index: 1;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: var(--font-size--large);
  gap: 1rem;
}
.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-wrap.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}
.faq-wrap.is-open .faq-answer {
  max-height: 20rem;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  color: var(--neutral--gray-400);
  font-size: var(--font-size--base);
  line-height: 1.7;
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.popup.is-visible {
  opacity: 1;
  pointer-events: all;
}
.popup-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.popup-dialog {
  position: relative;
  max-width: 28rem;
  width: calc(100% - 2rem);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  background: linear-gradient(170deg, rgb(14, 17, 42) 0%, rgb(10, 12, 32) 45%, rgb(8, 10, 28) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  color: #ffffff;
  transform: scale(0.92) translateY(1.5rem);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.popup.is-visible .popup-dialog {
  transform: scale(1) translateY(0);
}

/* Ticker */
.ticker-wrap {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: rgb(9, 12, 30);
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgb(9, 12, 30) 0%, transparent 100%);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgb(9, 12, 30) 0%, transparent 100%);
}
.ticker {
  display: flex;
}
.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  will-change: transform;
  align-items: center;
}
.ticker-item {
  font-size: var(--heading-size--h2);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.9) 0%, rgba(96, 165, 250, 0.8) 40%, rgba(59, 130, 246, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 0.75rem;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.ticker-separator {
  color: rgba(96, 165, 250, 0.2);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}
.ticker-row-2 .ticker-item {
  font-size: var(--heading-size--h3);
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.5) 0%, rgba(96, 165, 250, 0.4) 40%, rgba(59, 130, 246, 0.35) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ticker-row-2 .ticker-separator {
  color: rgba(96, 165, 250, 0.12);
  font-size: 1.25rem;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: #ffffff;
  padding: var(--section-padding) 0 2rem;
  border-top: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-tagline {
  color: #94a3b8;
  font-size: var(--font-size--base);
  max-width: 20rem;
}
.footer-heading {
  font-size: var(--font-size--base);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  color: #94a3b8;
  font-size: var(--font-size--base);
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #ffffff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  color: #64748b;
  font-size: var(--font-size--base);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}
.social-link-bg {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.social-link:hover .social-link-bg {
  opacity: 1;
}
.social-link-icon {
  position: relative;
  z-index: 1;
  width: 1.25rem;
  height: 1.25rem;
}
@media screen and (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Floating Stats */
.floating-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.floating-stat {
  background-color: #eff6ff;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size--base);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.floating-stat-number {
  font-weight: 700;
  color: var(--theme--primary);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image-wrap {
  border-radius: 1rem;
  overflow: hidden;
}
.about-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media screen and (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA Card */
.cta-card {
  text-align: center;
  padding: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.cta-card .section-content {
  align-items: center;
  max-width: 40rem;
}

/* Fixed bottom blur bar */
.bottom-blur-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 999;
  pointer-events: none;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  background: linear-gradient(
    to top,
    rgba(12, 14, 37, 0.6) 0%,
    rgba(12, 14, 37, 0.3) 30%,
    rgba(12, 14, 37, 0.08) 60%,
    transparent 100%
  );
  mask-image: linear-gradient(to top, black 0%, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 20%, transparent 100%);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1, .text-h1 { font-size: var(--heading-size--h1); }
h2, .text-h2 { font-size: var(--heading-size--h2); }
h3, .text-h3 { font-size: var(--heading-size--h3); }
h4, .text-h4 { font-size: var(--heading-size--h4); }
h5, .text-h5 { font-size: var(--heading-size--h5); }
h6, .text-h6 { font-size: var(--heading-size--h6); }

.text-h2-small { font-size: var(--heading-size--h2-small); }
.text-display-1 { font-size: var(--heading-size--display-1); line-height: 1; letter-spacing: -0.03em; }
.text-display-2 { font-size: var(--heading-size--display-2); line-height: 1.1; letter-spacing: -0.03em; }
.text-base { font-size: var(--font-size--base); }
.text-large { font-size: var(--font-size--large); }
.text-xlarge { font-size: var(--font-size--xlarge); }

/* Eyebrow */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: var(--font-size--base);
  font-weight: 600;
  color: var(--theme--primary);
}

/* Gradient Text */
.text-gradient {
  background: var(--theme--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-primary-light {
  background: linear-gradient(135deg, var(--theme--primary), var(--theme--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Font weight utilities */
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

/* Text color utilities */
.text-muted { color: var(--neutral--gray-600); }
.text-primary { color: var(--theme--primary); }
.text-white { color: var(--neutral--white); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }

strong, b { font-weight: 700; }

/* ========================================
   ANIMATIONS
   ======================================== */

/* SplitType text: visible by default, JS sets opacity 0 before animating */
[data-split='words'] {
  opacity: 1;
}
[data-split='words'] span:not(.word) {
  display: inline !important;
}
.word {
  display: inline-block;
  white-space: pre-wrap;
}

/* Border Glow Button Animation */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.button-border-glow {
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  z-index: 0;
  padding: 2px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 50%,
    var(--glow-color-soft, rgba(37, 99, 235, 0.2)) 65%,
    var(--glow-color-mid, rgba(37, 99, 235, 0.5)) 75%,
    var(--glow-color, #ffffff) 82%,
    var(--glow-color-mid, rgba(37, 99, 235, 0.5)) 90%,
    var(--glow-color-soft, rgba(37, 99, 235, 0.2)) 97%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderSpin 4s linear infinite;
}
.button-wrap.is-primary .button-border-glow {
  --glow-color: #ffffff;
  --glow-color-mid: rgba(147, 197, 253, 0.7);
  --glow-color-soft: rgba(147, 197, 253, 0.3);
  inset: -2px;
  padding: 3px;
  filter: blur(0.5px);
}
.button-wrap.is-primary .button-border-glow::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 13px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 55%,
    rgba(147, 197, 253, 0.15) 70%,
    rgba(255, 255, 255, 0.25) 85%,
    rgba(147, 197, 253, 0.15) 95%,
    transparent 100%
  );
  filter: blur(6px);
  z-index: -1;
}
.button-wrap.is-secondary .button-border-glow {
  --glow-color: rgba(37, 99, 235, 0.9);
  --glow-color-mid: rgba(37, 99, 235, 0.5);
  --glow-color-soft: rgba(37, 99, 235, 0.2);
}
@keyframes borderSpin {
  to { --border-angle: 360deg; }
}

/* Ticker Animations */
.ticker-track.will-slide-left {
  animation: tickerLeft 60s infinite linear;
}
.ticker-track.will-slide-right {
  animation: tickerRight 60s infinite linear;
}
@keyframes tickerLeft {
  from { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}
@keyframes tickerRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0%); }
}

/* Ticker Hover Pause */
[data-ticker-hover='pause']:hover .ticker-track {
  animation-play-state: paused !important;
}

/* Border Shine */
.border-shine {
  will-change: transform, background !important;
  background: radial-gradient(40% 40% at var(--border-glow--position-x) var(--border-glow--position-y), white 0%, rgba(255, 255, 255, 0) 100%);
}
.border-shine.is-alt {
  background: radial-gradient(40% 40% at var(--border-glow--position-x-alt) var(--border-glow--position-y-alt), var(--theme--primary) 0%, rgba(255, 255, 255, 0) 100%);
}
@media screen and (min-width: 62rem) {
  .border-glow {
    will-change: transform, background !important;
    background: radial-gradient(40% 40% at var(--border-glow--position-x) var(--border-glow--position-y), white 0%, rgba(255, 255, 255, 0) 100%);
  }
  .border-glow.is-alt {
    background: radial-gradient(40% 40% at var(--border-glow--position-x-alt) var(--border-glow--position-y-alt), var(--theme--primary) 0%, rgba(255, 255, 255, 0) 100%);
  }
}

/* Decorative Floating Particles */
.star-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.star {
  position: absolute;
  border-radius: 50%;
  background-color: var(--theme--primary);
  opacity: 0.12;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}
.star svg { display: none; }
.star.is-sm { width: 2px; height: 2px; }
.star.is-md { width: 3px; height: 3px; }
.star.is-lg { width: 4px; height: 4px; }
.star.is-xl { width: 5px; height: 5px; }

.star:nth-child(odd)  { animation: dotFloat1 8s ease-in-out infinite, dotFade 4s ease-in-out infinite; }
.star:nth-child(even) { animation: dotFloat2 10s ease-in-out 0.5s infinite, dotFade 5s ease-in-out 1s infinite; }
.star:nth-child(3n)   { animation: dotFloat3 12s ease-in-out 1s infinite, dotFade 6s ease-in-out 2s infinite; }
.star:nth-child(5n)   { animation: dotFloat4 9s ease-in-out 1.5s infinite, dotFade 5s ease-in-out 0.5s infinite; }
.star:nth-child(7n)   { animation: dotFloat5 11s ease-in-out 2s infinite, dotFade 7s ease-in-out 1.5s infinite; }

@keyframes dotFloat1 {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(6px, -8px); }
  50%      { transform: translate(-4px, -14px); }
  75%      { transform: translate(8px, -6px); }
}
@keyframes dotFloat2 {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(-8px, 6px); }
  50%      { transform: translate(10px, 10px); }
  75%      { transform: translate(-6px, -4px); }
}
@keyframes dotFloat3 {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(10px, 4px); }
  50%      { transform: translate(4px, -12px); }
  75%      { transform: translate(-8px, 8px); }
}
@keyframes dotFloat4 {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(-6px, -10px); }
  50%      { transform: translate(8px, 6px); }
  75%      { transform: translate(-10px, -4px); }
}
@keyframes dotFloat5 {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(4px, 10px); }
  50%      { transform: translate(-12px, -6px); }
  75%      { transform: translate(6px, -8px); }
}
@keyframes dotFade {
  0%, 100% { opacity: 0.08; }
  50%      { opacity: 0.25; }
}

/* Hero Milky Way — star twinkling */
@keyframes heroTwinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}
@keyframes heroTwinkleBright {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; box-shadow: 0 0 6px 2px rgba(147, 197, 253, 0.35); }
}

/* Section BG elements - GPU acceleration */
.section-bg-blur,
[class^="visual-"] {
  will-change: transform, background !important;
}

/* ========================================
   HOVER INTERACTIONS & GLOW EFFECTS
   ======================================== */

@media (hover: hover) and (pointer: fine) {
  [data-hover] [data-hover-target*="scale-up"],
  [data-hover] [data-hover-target*="scale-down"],
  [data-hover] [data-hover-target*="move-up"],
  [data-hover] [data-hover-target*="move-down"],
  [data-hover] [data-hover-target*="move-left"],
  [data-hover] [data-hover-target*="move-right"] {
    transition: scale .5s ease, translate .5s ease;
  }
  [data-hover-target][data-hover-delay="1"] {
    transition-delay: 100ms;
  }
  [data-hover]:hover [data-hover-target*="scale-up"] {
    scale: 1.04;
  }
  [data-hover]:hover [data-hover-target*="scale-down"] {
    scale: 0.96;
  }
  [data-hover]:hover [data-hover-target*="move-up"] {
    translate: 0% -10%;
  }
  [data-hover]:hover [data-hover-target*="move-down"] {
    translate: 0% 10%;
  }
  [data-hover]:hover [data-hover-target*="move-left"] {
    translate: -10% 0%;
  }
  [data-hover]:hover [data-hover-target*="move-right"] {
    translate: 10% 0%;
  }
  [data-hover]:hover [data-hover-target*="move-left-small"] {
    translate: -2% 0%;
  }
  [data-hover]:hover [data-hover-target*="move-right-small"] {
    translate: 2% 0%;
  }
}

/* Data-Glow Mouse-Tracking System */
@media screen and (min-width: 991px) {
  [data-glow-element] {
    position: relative;
    will-change: transform;
  }
  [data-glow-element-content] {
    position: relative;
    z-index: 10;
    will-change: transform;
  }
  [data-glow]:hover > [data-glow-element]::after {
    opacity: 1;
  }
  [data-glow] [data-glow-element]:hover::before {
    opacity: 1;
  }
  [data-glow] [data-glow-element]::before,
  [data-glow] [data-glow-element]::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 500ms;
    width: 100%;
    will-change: transform, background;
    pointer-events: none;
  }
  [data-glow] [data-glow-element]::before {
    background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.32), transparent 40%);
    z-index: 3;
  }
  [data-glow] [data-glow-element]::after {
    background: radial-gradient(340px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.40), transparent 40%);
    z-index: 1;
  }
  [data-glow] .navbar[data-glow-element]::before {
    background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
  }
  [data-glow] .navbar[data-glow-element]::after {
    background: radial-gradient(340px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.03), transparent 40%);
  }
}

/* ========================================
   UTILITIES
   ======================================== */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
[hide] { display: none !important; }
@media screen and (max-width: 991px) {
  [hide-tablet] { display: none !important; }
  [show-tablet] { display: block !important; }
}
@media screen and (max-width: 767px) {
  [hide-mobile-landscape] { display: none !important; }
  [show-mobile-landscape] { display: block !important; }
}
@media screen and (max-width: 479px) {
  [hide-mobile] { display: none !important; }
  [show-mobile] { display: block !important; }
}
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }
.gap-xl { gap: 3rem; }
.max-w-sm { max-width: 30rem; }
.max-w-md { max-width: 40rem; }
.max-w-lg { max-width: 50rem; }
.max-w-xl { max-width: 60rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ========================================
   COMPONENT: HERO SECTION
   ======================================== */

.is-dark-hero {
  background-color: rgb(12, 14, 37);
  color: #ffffff;
  padding-bottom: 0;
}
.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-centered h1 {
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.9);
}
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  border-radius: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 8px rgba(147, 197, 253, 0.15),
    0 0 20px rgba(59, 130, 246, 0.08),
    inset 0 0 8px rgba(255, 255, 255, 0.04);
}
.is-dark-hero .button-wrap.is-secondary .button-inner {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.is-dark-hero .button-wrap.is-secondary .button:hover .button-inner {
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-team-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  overflow: hidden;
  max-height: 28rem;
}
.hero-team-img {
  display: block;
  max-width: 56rem;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-team-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgb(12, 14, 37) 0%, transparent 100%);
  pointer-events: none;
}
.hero-bg-glow {
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}
@media screen and (max-width: 991px) {
  .hero-team-wrap { max-height: 20rem; }
}
@media screen and (max-width: 479px) {
  .hero-team-wrap { max-height: 14rem; margin-top: 2rem; }
}

/* ========================================
   COMPONENT: BUTTON
   ======================================== */

.button-wrap {
  position: relative;
  display: inline-flex;
}
.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
}
.button-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  font-size: var(--font-size--base);
  padding: 0.75rem 1.5rem;
}
.button:hover .button-inner {
  transform: translateY(-2px);
}
.button-inner.is-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.button:hover .button-inner.is-primary {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.button-inner.is-secondary {
  background: transparent;
  color: var(--neutral--black);
  border: 1px solid var(--neutral--gray-200);
}
.button:hover .button-inner.is-secondary {
  border-color: var(--neutral--gray-400);
}
.button-inner.is-small {
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size--base);
}
.button-icon {
  display: flex;
  align-items: center;
  width: 0.625rem;
  height: 0.625rem;
}

/* ========================================
   COMPONENT: SECTION HEADER
   ======================================== */

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section-header.is-center {
  text-align: center;
  align-items: center;
}
.section-header .eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.875rem;
  border-radius: 3rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  background-color: rgba(37, 99, 235, 0.04);
}
.section-header .subheading {
  color: var(--neutral--gray-600);
  font-size: var(--font-size--large);
  max-width: 40rem;
}

/* ========================================
   COMPONENT: REVIEWS SECTION
   ======================================== */

.reviews-bg {
  background-color: rgb(12, 14, 37);
}
.reviews-header {
  margin-bottom: 3rem;
}
.reviews-bg .eyebrow-wrap,
.reviews-bg .eyebrow {
  color: rgba(147, 197, 253, 0.85) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  background: rgba(59, 130, 246, 0.08) !important;
}
.reviews-bg h2 {
  color: rgba(255, 255, 255, 0.92) !important;
}
.marquee-wrap {
  width: 100%;
}
.marquee-fade {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.marquee {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: fit-content;
  will-change: transform;
}
.marquee-left {
  animation: marquee-left 40s linear infinite;
}
.marquee-right {
  animation: marquee-right 40s linear infinite;
}
.marquee-left:hover,
.marquee-right:hover {
  animation-play-state: paused;
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.rcard {
  flex-shrink: 0;
  width: 22rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: background 0.2s, border-color 0.2s;
  cursor: default;
}
.rcard:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(59, 130, 246, 0.35);
}
.rcard-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rcard-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.rcard-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}
.rcard-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
}
.rcard-role {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}
.rcard-google {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.rcard-stars {
  display: flex;
  gap: 0.1rem;
}
.rcard-stars svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #f59e0b;
}
.rcard-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ========================================
   COMPONENT: STATEMENT SECTION
   ======================================== */

.statement-section {
  overflow: visible;
  background-color: rgb(12, 14, 37);
}
.statement-card-perspective {
  perspective: 1400px;
}
.statement-card-wrap {
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.statement-card {
  position: relative;
  border-radius: 1.5rem;
  background-color: rgb(15, 18, 48);
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  text-align: center;
  overflow: hidden;
}
.statement-bg-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.statement-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform, opacity;
}
.statement-orb-1 {
  width: 55%; height: 70%;
  background: rgba(96, 165, 250, 0.3);
  top: 10%; left: 5%;
  animation: orbDrift1 16s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
.statement-orb-2 {
  width: 45%; height: 60%;
  background: rgba(147, 197, 253, 0.22);
  top: 15%; right: 5%;
  animation: orbDrift2 20s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
.statement-orb-3 {
  width: 35%; height: 50%;
  background: rgba(191, 219, 254, 0.18);
  bottom: 5%; left: 30%;
  animation: orbDrift3 18s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  30%       { transform: translate(12%, -8%) scale(1.06); opacity: 1; }
  60%       { transform: translate(20%, 4%) scale(0.97); opacity: 0.75; }
  80%       { transform: translate(8%, 8%) scale(1.03); opacity: 0.9; }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.75; }
  35%       { transform: translate(-15%, 8%) scale(1.05); opacity: 0.95; }
  65%       { transform: translate(-8%, -12%) scale(1.08); opacity: 1; }
  85%       { transform: translate(8%, -4%) scale(0.96); opacity: 0.8; }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.65; }
  40%       { transform: translate(-10%, -15%) scale(1.1); opacity: 1; }
  70%       { transform: translate(15%, -8%) scale(0.94); opacity: 0.75; }
}
.statement-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.statement-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  border-radius: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 8px rgba(147, 197, 253, 0.1), 0 0 20px rgba(59, 130, 246, 0.06);
}
.statement-text {
  font-size: var(--heading-size--h1);
  font-weight: 700;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.9);
  width: 100%;
  margin: 0;
  padding: 0;
}
.statement-border-glow {
  position: absolute;
  inset: -2px;
  border-radius: 1.5rem;
  z-index: 1;
  padding: 3px;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 35%, rgba(96, 165, 250, 0.5) 48%, rgba(147, 197, 253, 0.8) 60%, rgba(255, 255, 255, 0.7) 70%, rgba(147, 197, 253, 0.8) 80%, rgba(96, 165, 250, 0.5) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderSpin 6s linear infinite;
  pointer-events: none;
}
.statement-border-glow::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 1.5rem;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 40%, rgba(96, 165, 250, 0.25) 55%, rgba(147, 197, 253, 0.35) 70%, rgba(96, 165, 250, 0.25) 85%, transparent 100%);
  filter: blur(12px);
  z-index: -1;
  animation: borderSpin 6s linear infinite;
}
@media screen and (max-width: 767px) {
  .statement-text { font-size: var(--heading-size--h2); }
}

/* ========================================
   COMPONENT: COMPARISON
   ======================================== */

.comparison-heading {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--neutral--gray-800);
}
.comparison-heading.is-negative {
  color: var(--theme--error);
}
.comparison-heading.is-positive {
  color: var(--theme--accent);
}

/* ========================================
   COMPONENT: PROBLEMS (Risk Callout)
   ======================================== */

.risk-callout {
  margin-top: 2rem;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 1rem;
  padding: clamp(2rem, 1.5rem + 2vw, 4rem);
  border: 1px solid #bfdbfe;
}
.risk-callout-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 50rem;
}

/* ========================================
   COMPONENT: SOLUTION
   ======================================== */

.solution-icon {
  width: 3rem;
  height: 3rem;
  color: var(--theme--primary);
}
.solution-icon svg {
  width: 100%;
  height: 100%;
}

/* ========================================
   COMPONENT: STATS BANNER
   ======================================== */

.stats-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--neutral--gray-900), var(--neutral--gray-800));
  border-radius: 1rem;
  border: 1px solid var(--neutral--gray-800);
}
.stats-banner-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.stats-banner-number {
  font-size: var(--heading-size--display-2);
  font-weight: 700;
  line-height: 1;
  color: var(--theme--primary);
}
.stats-banner-unit {
  font-size: var(--heading-size--h3);
  font-weight: 700;
  color: var(--theme--primary);
}
.stats-banner-label {
  font-size: var(--font-size--base);
  color: var(--neutral--gray-400);
  margin-top: 0.5rem;
}
.stats-banner-divider {
  width: 1px;
  height: 4rem;
  background-color: var(--neutral--gray-800);
}
@media screen and (max-width: 767px) {
  .stats-banner { flex-direction: column; gap: 2rem; }
  .stats-banner-divider { width: 4rem; height: 1px; }
}

/* ========================================
   COMPONENT: SERVICES
   ======================================== */

.service-icon {
  width: 3rem;
  height: 3rem;
  color: var(--theme--primary);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}

/* ========================================
   COMPONENT: ABOUT (placeholder image)
   ======================================== */

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--neutral--gray-900), var(--neutral--gray-800));
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--neutral--gray-600);
  font-size: var(--font-size--large);
  font-weight: 600;
}
.about-image-placeholder svg {
  width: 4rem;
  height: 4rem;
}

/* ========================================
   COMPONENT: NAVBAR (scoped)
   ======================================== */

.nav-logo-wrap {
  position: relative;
  display: inline-flex;
}
.nav-logo-shimmer {
  position: absolute;
  inset: -2px;
  border-radius: 52px;
  z-index: 0;
  padding: 2px;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 40%, rgba(96, 165, 250, 0.5) 52%, rgba(147, 197, 253, 0.8) 62%, rgba(255, 255, 255, 0.7) 70%, rgba(147, 197, 253, 0.8) 78%, rgba(96, 165, 250, 0.5) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderSpin 4s linear infinite;
  pointer-events: none;
}
.navbar-logo {
  position: relative;
  z-index: 1;
  height: 2.5rem;
  width: auto;
  display: block;
  border-radius: 50px;
}
.nav-cta-wrap {
  position: relative;
  display: inline-flex;
}
.nav-cta-shimmer {
  position: absolute;
  inset: -2px;
  border-radius: 15px;
  z-index: 0;
  padding: 2px;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 40%, rgba(96, 165, 250, 0.5) 52%, rgba(147, 197, 253, 0.8) 62%, rgba(255, 255, 255, 0.7) 70%, rgba(147, 197, 253, 0.8) 78%, rgba(96, 165, 250, 0.5) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderSpin 4s linear infinite;
  pointer-events: none;
}
.nav-cta-wrap .button-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  color: #ffffff;
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size--base);
  transition: transform 0.2s ease;
  white-space: nowrap;
}
.nav-cta-wrap .button:hover .button-inner {
  transform: translateY(-2px);
}
.mobile-bar-cta {
  display: none;
}
@media screen and (max-width: 991px) {
  .mobile-bar-cta { display: block; }
  .mobile-bar-cta .nav-cta-wrap .button-inner { padding: 0.45rem 0.875rem; font-size: 0.8rem; gap: 0; border-radius: 10px; }
  .mobile-bar-cta .nav-cta-shimmer { border-radius: 12px; }
}
.menu-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              background 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
  z-index: 10;
}
.menu-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.mobile-overlay.is-open .menu-close-btn {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.mobile-menu-cta {
  margin-top: 2.5rem;
  opacity: 0;
  transform: translateY(1.5rem) scale(0.95);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.38s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
  position: relative;
  z-index: 2;
}
.mobile-overlay.is-open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.mobile-menu-cta .nav-cta-wrap .button-inner {
  padding: 0.875rem 2rem;
  font-size: var(--font-size--large);
}
.overlay-glow {
  position: absolute;
  width: 60%;
  height: 50%;
  top: 18%;
  left: 20%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08) 0%, rgba(96, 165, 250, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
}
.mobile-overlay.is-open .overlay-glow {
  opacity: 1;
}

/* ========================================
   COMPONENT: TICKER (scoped)
   ======================================== */

.ticker-divider {
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(96, 165, 250, 0.15) 20%, rgba(147, 197, 253, 0.25) 50%, rgba(96, 165, 250, 0.15) 80%, transparent 100%);
}
.ticker-divider:first-child {
  margin-bottom: 2.5rem;
}
.ticker-divider:last-child {
  margin-top: 2.5rem;
}
[data-animation="ticker-row"] {
  opacity: 0;
}

/* ========================================
   WORDPRESS: Contact Page
   ======================================== */

.kontakt-section {
  padding: clamp(8rem, 6rem + 8vw, 14rem) 0 var(--section-padding);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media screen and (max-width: 767px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}
.kontakt-form input,
.kontakt-form textarea,
.kontakt-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral--gray-200);
  border-radius: 0.5rem;
  font-size: var(--font-size--base);
  font-family: inherit;
  background: var(--neutral--white);
  transition: border-color 0.2s ease;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus,
.kontakt-form select:focus {
  outline: none;
  border-color: var(--theme--primary);
}
.kontakt-form textarea {
  min-height: 8rem;
  resize: vertical;
}

/* ========================================
   CONTACT PAGE (matches Astro kontakt.astro)
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--neutral--gray-400);
}
.contact-info-item svg {
  flex-shrink: 0;
  color: var(--theme--primary);
}
.contact-info-item a {
  color: var(--neutral--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-info-item a:hover {
  color: var(--theme--primary);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: var(--font-size--base);
  font-weight: 500;
  color: var(--neutral--gray-400);
}
.form-input {
  background-color: var(--neutral--gray-800);
  border: 1px solid var(--neutral--gray-800);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: var(--font-size--base);
  color: var(--neutral--white);
  font-family: inherit;
  transition: border-color 0.2s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: var(--theme--primary);
}
.form-input::placeholder {
  color: var(--neutral--gray-600);
}
.form-textarea {
  resize: vertical;
  min-height: 6rem;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  border-radius: 13px;
  font-weight: 600;
  font-size: var(--font-size--base);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  font-family: inherit;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}
@media screen and (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ========================================
   LEGAL PAGES (Impressum, Datenschutz)
   ======================================== */
.legal-content {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.legal-content h2 {
  margin-top: 1rem;
}
.legal-content h3 {
  margin-top: 0.5rem;
}
.legal-content p {
  color: var(--neutral--gray-400);
  line-height: 1.7;
}
