/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-page: #FFFFFF;
  --brand: #1B3A5C;
  --brand-light: #2A5580;
  --brand-lighter: #E8EFF6;
  --bg-dark: #0F1923;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-on-dark: #F0EDE8;
  --accent: #1B3A5C;
  --accent-hover: #142D47;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --section-pad: 5vw;
  --content-width: 58vw;
}

html {
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
}

#loader-bar {
  width: 200px;
  height: 3px;
  background: #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

#loader-fill {
  width: 0%;
  height: 100%;
  background: var(--brand);
  border-radius: 3px;
  transition: width 0.15s ease;
}

#loader-percent {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1.25rem var(--section-pad);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-login {
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--brand);
  border-radius: 8px;
  font-weight: 600 !important;
  color: var(--brand) !important;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease !important;
}

.nav-login:hover {
  background: var(--brand);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ===== CANVAS COLUMN (right side) ===== */
.canvas-column {
  position: fixed;
  right: 0;
  top: 0;
  width: calc(100vw - var(--content-width));
  height: 100vh;
  z-index: 2;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

#canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}

/* ===== CONTENT COLUMN (left side) ===== */
.content-column {
  width: var(--content-width);
  position: relative;
  z-index: 5;
  overflow-x: visible;
}

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--section-pad) 4rem;
  width: 100vw;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-label {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-heading .word {
  display: inline-block;
  overflow: hidden;
}

.typewriter-line {
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  font-weight: 300;
  color: var(--accent);
}

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

.hero-tagline {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

/* ===== CTA BUTTONS ===== */
.cta-button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 58, 92, 0.25);
}

.cta-large {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

.cta-secondary {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brand);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.cta-secondary:hover {
  border-bottom-color: var(--brand);
}

/* ===== SCROLL SECTIONS (in content column) ===== */
.content-column .scroll-section {
  padding: 8rem var(--section-pad) 6rem;
}

.section-inner {
  max-width: 680px;
}

/* Transparent white backdrop for text readability over canvas/particle bg */
.content-column .scroll-section .section-inner {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 2rem 2.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.section-body {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.step {
  padding-left: 1.5rem;
  border-left: 2px solid var(--brand-lighter);
  transition: border-color 0.3s ease;
}

.step:hover {
  border-left-color: var(--brand);
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.05em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.25rem 0 0.4rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== MARQUEE / PARTICLE TEXT ===== */
.marquee-wrap {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  height: 40vh;
  transform: translateY(-50%);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

#particle-text-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== BELOW CANVAS (full width sections) ===== */
.below-canvas {
  position: relative;
  z-index: 5;
  background: var(--bg-page);
}

.below-canvas .scroll-section {
  padding: 7rem var(--section-pad);
}

.section-narrow {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== FUNKTIONEN SECTION ===== */
.funktionen-section {
  background: transparent;
  padding: 7rem 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.funktionen-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--section-pad);
  box-sizing: border-box;
}

.funktionen-heading {
  text-align: center;
}

.funktionen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.funktionen-card {
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(240, 241, 243, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.funktionen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 58, 92, 0.08);
  border-color: rgba(27, 58, 92, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-lighter);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--brand);
}

.funktionen-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.funktionen-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--bg-dark);
  padding: 6rem var(--section-pad);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat {
  padding: 2rem 1rem;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.stat-suffix,
.stat-prefix {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* ===== SECURITY / TRUST BADGES ===== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  background: var(--brand-lighter);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.badge:hover {
  transform: translateY(-2px);
}

.badge svg {
  flex-shrink: 0;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  background: linear-gradient(180deg, #F7F9FB 0%, var(--bg-page) 100%);
}

/* --- Pricing Toggle --- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pricing-toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-toggle-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-save-badge {
  display: inline-block;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.pricing-toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: #E0E3E8;
  border: none;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}

.pricing-toggle-switch.active {
  background: var(--brand);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.pricing-toggle-switch.active .pricing-toggle-knob {
  transform: translateX(22px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #F0F1F3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(27, 58, 92, 0.1);
}

.pricing-card-popular {
  border: 2px solid var(--brand);
  box-shadow: 0 8px 32px rgba(27, 58, 92, 0.12);
}

.pricing-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-badge {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.pricing-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--brand);
}

.pricing-cta {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: auto;
}

.pricing-cta-outline {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.pricing-cta-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ===== KONTAKT SECTION ===== */
.kontakt-section {
  background: var(--bg-page);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.kontakt-form {
  --kontakt-field-inline-padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 0.75rem var(--kontakt-field-inline-padding);
  border: 1px solid #E0E3E8;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #FAFBFC;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.kontakt-submit {
  align-self: start;
  margin-left: 3.75rem;
  margin-top: 0.35rem;
  cursor: pointer;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

.kontakt-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.kontakt-info-item svg {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 0.2rem;
}

.kontakt-info-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.kontakt-info-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.kontakt-info-item a {
  color: var(--brand);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.kontakt-info-item a:hover {
  border-bottom-color: var(--brand);
}

.kontakt-cta-box {
  margin-top: auto;
  padding: 2rem;
  background: var(--brand-lighter);
  border-radius: 16px;
}

.kontakt-cta-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.kontakt-cta-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.kontakt-cta-box .cta-button {
  display: inline-block;
  opacity: 1 !important;
  transform: none !important;
}

.below-canvas {
  background: transparent;
}

.below-canvas > *:not(.funktionen-section):not(.stats-section):not(.site-footer) {
  background: var(--bg-page);
}

@media (min-width: 769px) {
  .kontakt-cta-box .cta-button:hover {
    transform: translateY(-2px) !important;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 8rem var(--section-pad) !important;
  background: linear-gradient(180deg, var(--bg-page) 0%, #F7F9FB 100%);
}

.cta-inner {
  max-width: 700px !important;
  margin: 0 auto;
}

.cta-inner .section-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.cta-inner .section-body {
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 4rem var(--section-pad) 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  :root {
    --content-width: 58vw;
  }
}

@media (max-width: 1024px) {
  :root {
    --content-width: 60vw;
  }

  .funktionen-grid {
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --content-width: 100vw;
    --section-pad: 6vw;
  }

  .canvas-column {
    display: none !important;
  }

  /* ===== MOBILE VIDEO PEEKS ===== */
  .mobile-video-peek {
    width: calc(100% - 2 * var(--section-pad));
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 auto;
  }

  .mobile-video-peek .peek-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }

  .content-column {
    width: 100%;
  }

  .content-column .scroll-section {
    padding: 4rem var(--section-pad) 3rem;
  }

  .hero-section {
    min-height: auto;
    padding: 7rem var(--section-pad) 3rem;
    width: 100%;
    left: auto;
    transform: none;
  }

  .hero-heading {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-ctas .cta-button {
    width: 100%;
    text-align: center;
  }

  .nav-logo img {
    height: 40px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70vw;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    z-index: 55;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a:not(.nav-cta) {
    display: block;
    font-size: 1.05rem;
  }

  .nav-login {
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  .section-inner {
    max-width: 100%;
    width: 100%;
    padding: 1.5rem 1.25rem;
  }

  .funktionen-section {
    padding: 4rem 0;
  }

  .funktionen-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .funktionen-card {
    padding: 1.5rem;
  }

  .stats-section {
    padding: 4rem var(--section-pad);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat {
    padding: 1.25rem 0.5rem;
  }

  .below-canvas .scroll-section {
    padding: 4rem var(--section-pad);
  }

  .section-narrow {
    max-width: 100%;
    padding: 0;
  }

  .cta-section {
    padding: 5rem var(--section-pad) !important;
  }

  .cta-inner .section-heading {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .cta-large {
    padding: 0.95rem 2rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-links {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .footer-col {
    min-width: 120px;
  }

  .trust-badges {
    flex-wrap: wrap;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .kontakt-submit {
    margin-left: 0;
    margin-top: -2.0rem;
    width: auto;
    max-width: calc(100% - 0.1rem);
    text-align: center;
  }

  .kontakt-info {
    gap: 1.75rem;
    justify-content: flex-start;
    margin-top: 3rem;
  }

  .kontakt-cta-box {
    margin-top: 0;
  }

  .kontakt-cta-box p {
    margin-bottom: 1.0rem;
  }

  .kontakt-cta-box .cta-button {
    display: inline-block;
    width: auto;
    text-align: left;
    margin-top: -0.5rem;
  }

  .marquee-wrap {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 30vh;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
  }

  .content-column,
  .below-canvas {
    position: relative;
    z-index: 5;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .below-canvas .scroll-section:not(.funktionen-section) {
    background: var(--bg-page);
  }

  .content-column .scroll-section {
    background: transparent;
  }

  .site-footer {
    padding: 3rem var(--section-pad) 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 5vw;
  }

  .hero-section {
    padding: 6rem var(--section-pad) 2.5rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .hero-ctas {
    margin-bottom: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-suffix,
  .stat-prefix {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .section-body {
    font-size: 0.9rem;
  }

  .steps {
    margin-top: 1.5rem;
    gap: 1.5rem;
  }

  .badge {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
}
