/* ============================================================
   Quick-Space.de — modern.css
   Extends / overrides main.css
   Bootstrap 5.3.8 · Font Awesome 7.2.0 · AOS 2.3.4 · Swiper 11
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Rubik:wght@400;500&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Brand palette */
  --brand-purple:       #5e629c;
  --brand-purple-light: #7477b8;
  --brand-purple-dark:  #44477a;
  --brand-green:        #3ecf8e;
  --brand-green-light:  #5ddba2;
  --brand-green-dark:   #28b070;
  --brand-navy:         #151948;
  --brand-navy-light:   #1e2465;

  /* Neutral */
  --white:              #ffffff;
  --gray-50:            #f8f9fa;
  --gray-100:           #f1f3f5;
  --gray-200:           #e9ecef;
  --gray-400:           #ced4da;
  --gray-600:           #6c757d;
  --gray-800:           #343a40;
  --gray-900:           #212529;
  --dark-bg:            #0a0c1a;
  --dark-card:          #111327;
  --dark-border:        #1e2240;

  /* Gradients */
  --grad-primary:       linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-navy) 100%);
  --grad-green:         linear-gradient(135deg, var(--brand-green) 0%, #1aaf73 100%);
  --grad-hero:          linear-gradient(135deg, #0d1035 0%, #1e2565 50%, #2a1b5e 100%);
  --grad-status:        linear-gradient(90deg, var(--brand-green-dark) 0%, var(--brand-green) 60%, #2dc87e 100%);

  /* Typography */
  --font-heading:       'Poppins', system-ui, sans-serif;
  --font-body:          'Rubik', system-ui, sans-serif;
  --fs-xs:              clamp(0.7rem,  1.5vw, 0.8rem);
  --fs-sm:              clamp(0.8rem,  1.8vw, 0.9rem);
  --fs-base:            clamp(0.95rem, 2vw,   1rem);
  --fs-lg:              clamp(1rem,    2.2vw, 1.125rem);
  --fs-xl:              clamp(1.25rem, 3vw,   1.5rem);
  --fs-2xl:             clamp(1.5rem,  4vw,   2rem);
  --fs-3xl:             clamp(2rem,    5vw,   2.75rem);
  --fs-4xl:             clamp(2.5rem,  6vw,   3.5rem);

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-glow: 0 0 30px rgba(94,98,156,.35);
  --shadow-green: 0 0 24px rgba(62,207,142,.30);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.25s ease;
  --t-slow:   0.4s ease;
  --t-spring: 0.35s cubic-bezier(.34,1.56,.64,1);

  /* Glassmorphism */
  --glass-bg:     rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.15);
  --glass-blur:   blur(18px);
}

/* ── Base / Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--brand-purple); transition: color var(--t-base); }
a:hover { color: var(--brand-green); }

img { max-width: 100%; height: auto; }

/* ── Keyframe Animations ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(3deg); }
  66%       { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(14px) rotate(-3deg); }
  66%       { transform: translateY(6px) rotate(2deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62,207,142,.5); }
  50%       { box-shadow: 0 0 0 12px rgba(62,207,142,0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes progressFill {
  from { width: 0; }
  to   { width: 100%; }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Scroll Progress Bar ──────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-green);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Status Bar ───────────────────────────────────────────── */
#status-bar {
  background: var(--grad-status);
  padding: var(--sp-1) 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--white);
  letter-spacing: .04em;
  position: relative;
  z-index: 1050;
}

#status-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#status-bar .status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--white);
  border-radius: 50%;
  margin-right: var(--sp-1);
  animation: pulse 2s infinite;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  background: rgba(21, 25, 72, 0.72) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--t-slow), box-shadow var(--t-slow);
  position: relative;
}

.navbar.scrolled {
  background: rgba(21, 25, 72, 0.95) !important;
  box-shadow: var(--shadow-lg);
}

.navbar-brand img,
.navbar-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--white);
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.82) !important;
  padding: var(--sp-2) var(--sp-3) !important;
  position: relative;
  transition: color var(--t-base);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--brand-green);
  border-radius: var(--radius-full);
  transition: transform var(--t-spring);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Scroll progress line inside navbar (bottom edge) */
.navbar-scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: var(--scroll-pct, 0%);
  background: var(--grad-green);
  transition: width 0.1s linear;
  border-radius: 0 2px 0 0;
  pointer-events: none;
}

.navbar-toggler {
  border: 1px solid var(--glass-border);
  padding: var(--sp-1) var(--sp-2);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ── Hero Section ─────────────────────────────────────────── */
#hero,
.hero-section {
  position: relative;
  background: var(--grad-hero);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--sp-24) 0 var(--sp-16);
}

/* Animated background shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
  pointer-events: none;
}

.hero-shape-1 {
  width: clamp(200px, 40vw, 520px);
  height: clamp(200px, 40vw, 520px);
  background: radial-gradient(circle, var(--brand-purple-light), transparent);
  top: -10%;
  right: -8%;
  animation: float 9s ease-in-out infinite;
}

.hero-shape-2 {
  width: clamp(150px, 28vw, 380px);
  height: clamp(150px, 28vw, 380px);
  background: radial-gradient(circle, var(--brand-green), transparent);
  bottom: 5%;
  left: -6%;
  animation: floatReverse 11s ease-in-out infinite;
}

.hero-shape-3 {
  width: clamp(80px, 16vw, 200px);
  height: clamp(80px, 16vw, 200px);
  background: radial-gradient(circle, #a78bfa, transparent);
  top: 40%;
  left: 55%;
  animation: float 7s ease-in-out infinite 2s;
}

/* Overlay gradient */
#hero::before,
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,12,26,.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(62,207,142,.15);
  border: 1px solid rgba(62,207,142,.3);
  border-radius: var(--radius-full);
  padding: var(--sp-1) var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  animation: fadeInUp .7s ease both;
}

.hero-title {
  font-size: var(--fs-4xl);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  animation: fadeInUp .7s ease .15s both;
}

.hero-title .highlight {
  color: var(--brand-green);
  position: relative;
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.72);
  max-width: 52ch;
  margin-bottom: var(--sp-8);
  animation: fadeInUp .7s ease .25s both;
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--brand-green);
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 2px;
  animation: blink .8s step-end infinite;
}

.hero-cta {
  animation: fadeInUp .7s ease .35s both;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.btn-hero-primary {
  background: var(--grad-green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  transition: transform var(--t-spring), box-shadow var(--t-base);
  animation: pulse 3s ease infinite 1s;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-green);
  color: var(--white);
}

.btn-hero-secondary {
  background: var(--glass-bg);
  color: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  backdrop-filter: var(--glass-blur);
  transition: background var(--t-base), transform var(--t-spring);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
  color: var(--white);
}

/* ── Features Strip ───────────────────────────────────────── */
#features-strip {
  background: var(--white);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.features-strip-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--sp-3);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.features-strip-inner::-webkit-scrollbar { display: none; }

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-spring);
  cursor: default;
  white-space: nowrap;
}

.feature-badge i {
  color: var(--brand-green);
  font-size: 1em;
}

.feature-badge:hover {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--brand-purple), var(--shadow-md);
  transform: translateY(-2px);
  background: linear-gradient(var(--white), var(--white)) padding-box,
              var(--grad-primary) border-box;
}

/* ── Stats Section ────────────────────────────────────────── */
#stats {
  background: var(--grad-hero);
  padding: var(--sp-16) 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  position: relative;
  z-index: 1;
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(62,207,142,.15);
  border: 1px solid rgba(62,207,142,.25);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-green);
  margin-bottom: var(--sp-4);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.stat-number .stat-suffix {
  color: var(--brand-green);
}

.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .04em;
}

/* ── How It Works ─────────────────────────────────────────── */
#how-it-works {
  background: var(--gray-50);
  padding: var(--sp-24) 0;
}

.section-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: var(--fs-3xl);
  color: var(--gray-900);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--gray-600);
  max-width: 52ch;
  margin: 0 auto var(--sp-12);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
  position: relative;
}

/* Connector arrow between steps (desktop) */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-green) 100%);
  z-index: 0;
}

@media (max-width: 767px) {
  .steps-grid::before { display: none; }
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform var(--t-spring), box-shadow var(--t-base);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--sp-2);
}

.step-desc {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.65;
}

/* ── Pricing Cards ────────────────────────────────────────── */
.webplaene-table {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-spring), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.webplaene-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--t-base);
}

.webplaene-table:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-purple-light);
}

.webplaene-table:hover::before { opacity: 1; }

/* Featured / popular card */
.webplaene-table.featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              var(--grad-primary) border-box;
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.webplaene-table.featured::before { opacity: 1; }

.beliebt-badge {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: var(--grad-green);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}

.plan-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--gray-900);
  margin-bottom: var(--sp-1);
}

.plan-price {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.plan-price sup {
  font-size: var(--fs-base);
  top: -1em;
  font-weight: 500;
}

.plan-price span.period {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  font-weight: 400;
}

.plan-desc {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  margin-bottom: var(--sp-6);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-6);
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li i {
  color: var(--brand-green);
  margin-top: 2px;
  flex-shrink: 0;
}

.plan-features li.unavailable {
  color: var(--gray-400);
  text-decoration: line-through;
}

.plan-features li.unavailable i {
  color: var(--gray-400);
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: transform var(--t-spring), box-shadow var(--t-base);
}

.btn-plan-primary {
  background: var(--grad-primary);
  color: var(--white);
  border: none;
}

.btn-plan-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--white);
}

.btn-plan-outline {
  background: transparent;
  color: var(--brand-purple);
  border: 2px solid var(--brand-purple);
}

.btn-plan-outline:hover {
  background: var(--brand-purple);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Testimonials / Swiper ────────────────────────────────── */
#testimonials {
  background: var(--gray-50);
  padding: var(--sp-24) 0;
  overflow: hidden;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  height: auto;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: var(--fs-base);
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 2em;
  color: var(--brand-purple);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-purple-light);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-base);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--gray-900);
  margin: 0;
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--gray-600);
  margin: 0;
}

/* Swiper overrides */
.swiper-pagination-bullet {
  background: var(--brand-purple);
  opacity: .3;
  transition: opacity var(--t-base), transform var(--t-base);
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.3);
  background: var(--brand-green);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-purple) !important;
  background: var(--white);
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  box-shadow: var(--shadow-md);
  transition: background var(--t-base), color var(--t-base);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: .9rem !important;
  font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--brand-purple);
  color: var(--white) !important;
}

/* ── Contact Section ──────────────────────────────────────── */
#kontakt {
  padding: var(--sp-24) 0;
  background: var(--white);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-12) var(--sp-12);
  border: 1px solid var(--gray-200);
}

/* Floating label form */
.form-floating-custom {
  position: relative;
  margin-bottom: var(--sp-4);
}

.form-floating-custom input,
.form-floating-custom textarea,
.form-floating-custom select {
  width: 100%;
  padding: var(--sp-6) var(--sp-4) var(--sp-2);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
}

.form-floating-custom input:focus,
.form-floating-custom textarea:focus,
.form-floating-custom select:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(94,98,156,.15);
}

.form-floating-custom label {
  position: absolute;
  top: 50%;
  left: var(--sp-4);
  transform: translateY(-50%);
  font-size: var(--fs-sm);
  color: var(--gray-600);
  pointer-events: none;
  transition: all var(--t-base);
  background: var(--white);
  padding: 0 var(--sp-1);
}

.form-floating-custom textarea ~ label { top: var(--sp-4); transform: none; }

.form-floating-custom input:focus ~ label,
.form-floating-custom input:not(:placeholder-shown) ~ label,
.form-floating-custom textarea:focus ~ label,
.form-floating-custom textarea:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%);
  font-size: var(--fs-xs);
  color: var(--brand-purple);
  font-weight: 600;
}

.form-floating-custom input::placeholder,
.form-floating-custom textarea::placeholder { color: transparent; }

.btn-send {
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: transform var(--t-spring), box-shadow var(--t-base);
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--white);
}

.btn-send i { transition: transform var(--t-base); }
.btn-send:hover i { transform: translateX(4px); }

/* ── Datacenter Cards ─────────────────────────────────────── */
.datacenter-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  cursor: pointer;
}

.datacenter-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--t-slow);
  display: block;
}

.datacenter-card:hover img {
  transform: scale(1.07);
}

.datacenter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(21,25,72,.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4);
  transition: background var(--t-slow);
}

.datacenter-card:hover .datacenter-overlay {
  background: linear-gradient(180deg, rgba(21,25,72,.2) 0%, rgba(21,25,72,.9) 100%);
}

.datacenter-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--white);
  margin: 0 0 var(--sp-1);
}

.datacenter-meta {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* ── Footer ───────────────────────────────────────────────── */
footer,
#footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,.72);
  padding: var(--sp-16) 0 var(--sp-8);
  position: relative;
}

footer::before,
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--white);
  margin-bottom: var(--sp-3);
  display: block;
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-4);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: var(--sp-2); }

.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--t-base), padding-left var(--t-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--brand-green);
  padding-left: var(--sp-2);
}

.footer-social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: background var(--t-base), color var(--t-base), transform var(--t-spring);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--brand-purple);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: var(--sp-8) 0 var(--sp-4);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
}

.footer-bottom a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--brand-green); }

/* ── Back to Top ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transform: translateY(16px) scale(.8);
  transition: opacity var(--t-base), transform var(--t-spring);
  cursor: pointer;
  z-index: 1040;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

/* ── Section Generic Padding ──────────────────────────────── */
.section-pad {
  padding: var(--sp-24) 0;
}

/* ── Dark Mode ────────────────────────────────────────────── */
body.dark-mode {
  background: var(--dark-bg);
  color: rgba(255,255,255,.82);
}

/* Variables override in dark mode */
body.dark-mode {
  --white:    #111327;
  --gray-50:  #0e1020;
  --gray-100: #141728;
  --gray-200: var(--dark-border);
  --gray-300: #2a2e50;
  --gray-400: #3d4270;
  --gray-600: #8891c0;
  --gray-700: #9da5cc;
  --gray-800: #c4c9e4;
  --gray-900: #e8eaf6;
}

body.dark-mode #status-bar { filter: brightness(.9); }

body.dark-mode .navbar {
  background: rgba(10,12,26,.82) !important;
  border-color: var(--dark-border);
}

body.dark-mode .navbar.scrolled {
  background: rgba(10,12,26,.97) !important;
}

body.dark-mode #features-strip { background: var(--dark-card); border-color: var(--dark-border); }
body.dark-mode .feature-badge  { background: var(--dark-card); border-color: var(--dark-border); color: rgba(255,255,255,.75); }

body.dark-mode .step-card { background: var(--dark-card); border: 1px solid var(--dark-border); }
body.dark-mode #how-it-works { background: #0c0e1f; }

body.dark-mode .webplaene-table {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: rgba(255,255,255,.82);
}

body.dark-mode .webplaene-table.featured {
  background: linear-gradient(var(--dark-card), var(--dark-card)) padding-box,
              var(--grad-primary) border-box;
}

body.dark-mode .plan-name,
body.dark-mode .plan-price { color: var(--white); }

body.dark-mode .plan-features li { border-color: var(--dark-border); color: rgba(255,255,255,.72); }

body.dark-mode .testimonial-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

body.dark-mode .testimonial-quote { color: rgba(255,255,255,.75); }
body.dark-mode .testimonial-name  { color: rgba(255,255,255,.9); }

body.dark-mode #testimonials { background: #0c0e1f; }

body.dark-mode .contact-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

body.dark-mode .form-floating-custom input,
body.dark-mode .form-floating-custom textarea,
body.dark-mode .form-floating-custom select {
  background: #0e1020;
  border-color: var(--dark-border);
  color: rgba(255,255,255,.88);
}

body.dark-mode .form-floating-custom label { background: #0e1020; color: rgba(255,255,255,.55); }

body.dark-mode #kontakt { background: var(--dark-bg); }

body.dark-mode .section-title,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3 { color: rgba(255,255,255,.92); }

body.dark-mode .section-subtitle,
body.dark-mode .stat-label { color: rgba(255,255,255,.55); }

/* Dark mode toggle button */
.dark-mode-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  transition: background var(--t-base), transform var(--t-spring);
}

.dark-mode-toggle:hover { background: rgba(255,255,255,.2); transform: rotate(20deg); }

/* ── AOS Overrides ────────────────────────────────────────── */
[data-aos] { will-change: transform, opacity; }

/* ── Utility Classes ──────────────────────────────────────── */
.text-brand-purple { color: var(--brand-purple) !important; }
.text-brand-green  { color: var(--brand-green)  !important; }
.text-brand-navy   { color: var(--brand-navy)   !important; }
.bg-brand-navy     { background: var(--brand-navy) !important; }
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .contact-card { padding: var(--sp-8) var(--sp-6); }
  .steps-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 767px) {
  .hero-title   { font-size: clamp(2rem, 8vw, 2.75rem); }
  .stat-card    { padding: var(--sp-6) var(--sp-2); }
  .section-pad  { padding: var(--sp-12) 0; }
  .contact-card { padding: var(--sp-6) var(--sp-4); }
  .steps-grid   { grid-template-columns: 1fr; }
  #back-to-top  { bottom: var(--sp-4); right: var(--sp-4); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta       { flex-direction: column; }
  .btn-hero-primary,
  .btn-hero-secondary { width: 100%; text-align: center; }
  .features-strip-inner { gap: var(--sp-2); }
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-shape,
  .typing-cursor { animation: none !important; }
}

/* === Dark-Mode Kontrast-Fixes (2026-07) – dunkle Texte auf dunklen Flächen === */
body.dark-mode #webplaene .webplaene-table .plan-name,
body.dark-mode #webplaene .webplaene-table h2,
body.dark-mode #webplaene .webplaene-table .plan-price,
body.dark-mode #webplaene .webplaene-table h1 { color:#ffffff !important; }
body.dark-mode #webplaene .webplaene-table .plan-type,
body.dark-mode #webplaene .webplaene-table h3 { color:#b9c0e6 !important; }
body.dark-mode #webplaene .webplaene-table small,
body.dark-mode #webplaene .webplaene-table .text-muted { color:rgba(255,255,255,.62) !important; }
body.dark-mode #how-it-works h4 { color:#ffffff !important; }
body.dark-mode #how-it-works p,
body.dark-mode #how-it-works .text-muted { color:rgba(255,255,255,.70) !important; }
body.dark-mode #contact h5, body.dark-mode #kontakt h5 { color:#ffffff !important; }
body.dark-mode #contact p, body.dark-mode #contact .text-muted,
body.dark-mode #kontakt p, body.dark-mode #kontakt .text-muted { color:rgba(255,255,255,.70) !important; }
body.dark-mode #contact input::placeholder, body.dark-mode #contact textarea::placeholder,
body.dark-mode #kontakt input::placeholder, body.dark-mode #kontakt textarea::placeholder { color:rgba(255,255,255,.50) !important; }
body.dark-mode #footer .footer-heading { color:#ffffff !important; }
body.dark-mode #footer p, body.dark-mode #footer li a, body.dark-mode #footer .text-muted { color:rgba(255,255,255,.68) !important; }

/* === Icon-Buttons oben rechts (Cookie-Einstellungen + Dark-Mode) === */
.icon-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; padding:0;
  border:1px solid rgba(0,0,0,.15); border-radius:10px;
  background:transparent; color:inherit; cursor:pointer;
  font-size:1rem; line-height:1; -webkit-appearance:none; appearance:none;
  transition:background .15s ease, border-color .15s ease;
}
.icon-btn:hover{ background:rgba(0,0,0,.06); }
.icon-btn:focus-visible{ outline:2px solid #6b5bff; outline-offset:2px; }
body.dark-mode .icon-btn{ border-color:rgba(255,255,255,.22); color:#e8eaf6; }
body.dark-mode .icon-btn:hover{ background:rgba(255,255,255,.12); }

/* Fußnote unter den Preisen im Dark Mode lesbar */
body.dark-mode #webplaene .text-muted { color:rgba(255,255,255,.62) !important; }

/* === Light-Mode-Fixes: sichtbare Buttons + weiße Icon-Buttons (Navbar ist dunkel) === */
body:not(.dark-mode) .icon-btn { color:#ffffff !important; border-color:rgba(255,255,255,.35) !important; }
body:not(.dark-mode) .icon-btn:hover { background:rgba(255,255,255,.14) !important; }
body:not(.dark-mode) .btn-plan,
body:not(.dark-mode) .btn-plan--primary { background:var(--grad-primary); color:#ffffff !important; border:none; }
body:not(.dark-mode) .btn-plan:hover { color:#ffffff !important; }
body:not(.dark-mode) .btn-outline-secondary { color:#495057 !important; border-color:#adb5bd !important; }
body:not(.dark-mode) .btn-outline-secondary:hover { background:#495057 !important; color:#ffffff !important; border-color:#495057 !important; }

/* FIX: Eyebrow Whitemode – heller Text war auf hellem Grund unsichtbar */
body:not(.dark-mode) .section-eyebrow { color: var(--brand-purple) !important; }

/* FIX: Hero-Secondary Button – weisser Text war auf hellem Verlauf-Ende unsichtbar */
.btn-hero-secondary { background: rgba(255,255,255,.20) !important; border-color: rgba(255,255,255,.55) !important; text-shadow: 0 1px 4px rgba(15,18,45,.55); }
.btn-hero-secondary:hover { background: rgba(255,255,255,.30) !important; border-color: rgba(255,255,255,.75) !important; }

/* FIX: Torn-Paper-Effekt fuer das Hero-Dashboard-Bild */
.hero-img-wrapper { position: relative; }
.hero-img {
  clip-path: polygon(0.0% 0.67%, 7.14% 1.29%, 14.29% 1.09%, 21.43% 0.89%, 28.57% 0.56%, 35.71% 0.61%, 42.86% 1.39%, 50.0% 0.78%, 57.14% 1.86%, 64.29% 1.68%, 71.43% 1.09%, 78.57% 1.95%, 85.71% 0.49%, 92.86% 1.68%, 100.0% 0.83%, 100.0% 98.79%, 92.86% 98.84%, 85.71% 99.53%, 78.57% 98.1%, 71.43% 98.98%, 64.29% 98.65%, 57.14% 98.18%, 50.0% 98.7%, 42.86% 98.39%, 35.71% 98.25%, 28.57% 98.79%, 21.43% 98.14%, 14.29% 99.27%, 7.14% 99.03%, 0.0% 98.38%);
  filter: drop-shadow(0 18px 34px rgba(15,18,45,.28));
}
.hero-img-wrapper::before {
  content: "";
  position: absolute; inset: 0;
  clip-path: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, rgba(0,0,0,0) 2px 5px),
    repeating-linear-gradient(25deg, rgba(0,0,0,.04) 0 1px, rgba(0,0,0,0) 1px 6px);
  mix-blend-mode: overlay;
}

/* FIX: Hero-Bild im Darkmode abdunkeln, damit es zum Theme passt */
.hero-img-wrapper { isolation: isolate; }
body.dark-mode .hero-img { filter: brightness(.80) contrast(1.06) saturate(1.05); }
body.dark-mode .hero-img-wrapper::after {
  content: "";
  position: absolute; inset: 0;
  clip-path: inherit;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(10,12,26,.55) 0%, rgba(17,19,39,.32) 50%, rgba(10,12,26,.6) 100%);
  mix-blend-mode: multiply;
}
