/* Bookable.de - Custom Styles */

/* Local Font: Inter - swap für schnelleres LCP */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/inter-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('/assets/fonts/inter-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/fonts/inter-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('/assets/fonts/inter-bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url('/assets/fonts/inter-extrabold.woff2') format('woff2');
}

/* CSS Custom Properties */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
  --secondary: #059669;
  --secondary-dark: #047857;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --text-primary: #1e293b;
  --text-muted: #475569;
  --text-light: #cbd5e1;
  --border: #e2e8f0;
  --success: #16a34a;
  --warning: #d97706;
  --error: #dc2626;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Lucide Icon Placeholders - prevent layout shift */
[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}

[data-lucide].w-4, [data-lucide].h-4 { min-width: 1rem; min-height: 1rem; width: 1rem; height: 1rem; }
[data-lucide].w-5, [data-lucide].h-5 { min-width: 1.25rem; min-height: 1.25rem; width: 1.25rem; height: 1.25rem; }
[data-lucide].w-6, [data-lucide].h-6 { min-width: 1.5rem; min-height: 1.5rem; width: 1.5rem; height: 1.5rem; }
[data-lucide].logo-icon { min-width: 2rem; min-height: 2rem; width: 2rem; height: 2rem; }
[data-lucide].w-8, [data-lucide].h-8 { min-width: 2rem; min-height: 2rem; width: 2rem; height: 2rem; }
[data-lucide].w-10, [data-lucide].h-10 { min-width: 2.5rem; min-height: 2.5rem; width: 2.5rem; height: 2.5rem; }

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
}

.fill-current {
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States for Accessibility */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
}

p {
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn-success {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-success:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

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

.card--static:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.card-bordered {
  border: 1px solid var(--border);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s;
}

.mobile-menu-btn:active {
  background-color: var(--bg-light);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  height: calc(100vh - 4.5rem);
  height: calc(100dvh - 4.5rem);
  background-color: var(--white);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.mobile-nav.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 0.75rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  border-radius: 0.5rem;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s, color 0.15s;
}

.mobile-nav-link:active {
  background-color: var(--bg-light);
}

.mobile-nav-link[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

.mobile-nav-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.mobile-nav-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-cta .btn {
  justify-content: center;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

@media (min-width: 768px) {
  .hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
  }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title--landing {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .hero-title--landing {
    font-size: 3.5rem;
  }
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-trust {
    grid-template-columns: repeat(4, 1fr);
    max-width: 40rem;
    gap: 1rem;
  }
}

.hero-trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.hero-trust-card i,
.hero-trust-card svg {
  color: var(--primary);
}

/* Hero Image */
.hero-image {
  margin-top: 3rem;
  position: relative;
}

.hero-image-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.hero-image-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: var(--text-light);
}

.section-gray {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Target Groups Slider */
.target-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .target-groups {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .target-groups {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .target-groups {
    grid-template-columns: repeat(6, 1fr);
  }
}

.target-group-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background-color: var(--white);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
}

.target-group-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.target-group-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
  color: var(--primary);
}

.target-group-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Feature Cards */
.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  text-align: center;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 0.75rem;
  color: var(--white);
  margin: 0 auto 1.5rem;
}

.feature-title {
  margin-bottom: 0.75rem;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* How It Works */
.steps {
  display: grid;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.step-title {
  margin-bottom: 0.75rem;
}

.step-description {
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(50% + 3rem);
    width: calc(100% - 6rem);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pricing-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  display: inline-block;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.pricing-amount--updating {
  opacity: 0;
  transform: translateY(-4px);
}

.pricing-period {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.pricing-toggle {
  display: inline-flex;
  position: relative;
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.25rem;
}

.pricing-toggle__btn {
  position: relative;
  z-index: 1;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.pricing-toggle__btn:hover {
  color: var(--text-primary);
}

.pricing-toggle__btn--active {
  color: var(--white);
}

.pricing-toggle__btn--active:hover {
  color: var(--white);
}

.pricing-toggle__slider {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  height: calc(100% - 0.5rem);
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.pricing-toggle__badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  background-color: var(--secondary-dark);
  border-radius: 9999px;
  color: var(--white);
  line-height: 1.3;
}

.pricing-toggle__btn--active .pricing-toggle__badge {
  background-color: var(--secondary-dark);
  color: var(--white);
}

/* Pricing Savings Badge */
.pricing-savings {
  min-height: 1.5rem;
  margin-top: 0.375rem;
  margin-bottom: 0.25rem;
  text-align: center;
}

.pricing-savings__badge {
  display: inline-block;
  padding: 0.125rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #065f46;
  background-color: rgba(16, 185, 129, 0.15);
  border-radius: 9999px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pricing-savings__badge--hidden {
  opacity: 0;
  transform: scale(0.9);
}

/* Table Price in Header */
.pricing-table__price {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: 0.25rem;
  transition: opacity 0.15s ease;
}

.pricing-table__price--updating {
  opacity: 0;
}

@media (max-width: 639px) {
  .pricing-toggle__btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .pricing-toggle__badge {
    display: none;
  }
}

.pricing-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.pricing-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-feature i {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.pricing-cta {
  margin-top: auto;
}

.pricing-cta .btn {
  width: 100%;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-content {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--warning);
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  fill: currentColor;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-title {
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.footer-column h4,
.footer-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-made {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.footer-made i {
  color: var(--error);
}

/* Page Header */
.page-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  text-align: center;
}

@media (min-width: 768px) {
  .page-header {
    padding-top: 10rem;
    padding-bottom: 4rem;
  }
}

.page-header-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-header-title {
    font-size: 2.5rem;
  }
}

.page-header-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Detail Sections */
.feature-detail {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .feature-detail {
    grid-template-columns: 1fr 1fr;
  }

  .feature-detail.reverse {
    direction: rtl;
  }

  .feature-detail.reverse > * {
    direction: ltr;
  }
}

.feature-detail-content {
  max-width: 500px;
}

.feature-detail-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 1rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.feature-detail-title {
  margin-bottom: 1rem;
}

.feature-detail-description {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-detail-list {
  list-style: none;
}

.feature-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.feature-detail-list i {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-detail-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.feature-detail-image:has(.feature-slider),
.feature-detail-image--slider {
  border: none;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
}

.feature-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-detail-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* Feature Slider */
.feature-slider {
  position: relative;
}

.feature-slider__track {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  touch-action: pan-y pinch-zoom;
}

.feature-slider__slides {
  display: flex;
  will-change: transform;
}

.feature-slider__slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
}

.feature-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-slider__slide picture {
  display: block;
}

.feature-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
  z-index: 2;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.feature-slider__btn:hover {
  background: var(--bg-light);
  box-shadow: var(--shadow-lg);
}

.feature-slider__btn:active {
  transform: translateY(-50%) scale(0.92);
}

.feature-slider__btn--prev {
  left: 0.5rem;
}

.feature-slider__btn--next {
  right: 0.5rem;
}

.feature-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.feature-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.feature-slider__dot--active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Feature Slider - Mobile adjustments */
@media (max-width: 767px) {
  .feature-slider__btn {
    width: 2.25rem;
    height: 2.25rem;
    opacity: 0.85;
  }

  .feature-slider__btn--prev {
    left: 0.375rem;
  }

  .feature-slider__btn--next {
    right: 0.375rem;
  }

  .feature-slider__dots {
    gap: 0.625rem;
  }

  .feature-slider__dot {
    width: 0.625rem;
    height: 0.625rem;
  }
}

/* Coming Soon Badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #f59e0b, var(--warning));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-left: 0.75rem;
  vertical-align: middle;
}

/* Trust Badges (Sicherheit & Datenschutz) */
.trust-badges {
  aspect-ratio: 1000/558;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.trust-badges__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 22rem;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.trust-badge__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 0.75rem;
  color: var(--white);
}

.trust-badge__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.feature-detail-placeholder--coming-soon {
  aspect-ratio: 1000/558;
}

.feature-detail-placeholder--coming-soon span {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox-overlay--active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay--active .lightbox-image {
  transform: scale(1);
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav--prev {
  left: 1rem;
}

.lightbox-nav--next {
  right: 1rem;
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

.feature-slider__slide img,
.feature-detail-image > picture img {
  cursor: zoom-in;
}

/* Pricing Table */
.pricing-table {
  position: relative;
  overflow-x: auto;
  margin-top: 3rem;
  -webkit-overflow-scrolling: touch;
}

.pricing-table::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3rem;
  background: linear-gradient(to right, transparent, var(--white));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s;
}

.pricing-table.is-scrolled-end::after {
  opacity: 0;
}

.pricing-table-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: opacity 0.3s;
}

.pricing-table-hint.is-visible {
  display: flex;
}

.pricing-table-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.pricing-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background-color: var(--bg-light);
  font-weight: 600;
}

.pricing-table td:first-child {
  font-weight: 500;
}

.pricing-table .check {
  color: var(--secondary);
}

.pricing-table .cross {
  color: var(--text-light);
}

.pricing-table .table-category td {
  background-color: var(--bg-light);
  font-weight: 600;
  padding-top: 1.25rem;
}

.pricing-info {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--primary);
}

.form-checkbox label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-feedback {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.form-feedback--success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback--error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-feedback i,
.form-feedback svg {
  flex-shrink: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  text-align: center;
  padding: 2rem;
}

.team-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  overflow: hidden;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-name {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
    padding-right: 0;
    width: 50%;
  }

  .timeline-item:nth-child(odd) {
    margin-left: auto;
    padding-left: 3rem;
  }

  .timeline-item:nth-child(even) {
    padding-right: 3rem;
    text-align: right;
  }
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-marker {
    left: -1rem;
  }

  .timeline-item:nth-child(even) .timeline-marker {
    right: -1rem;
    left: auto;
  }
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.timeline-description {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Values Grid */
.values-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 0.75rem;
  color: var(--white);
  flex-shrink: 0;
}

.value-content {
  flex: 1;
}

.value-title {
  margin-bottom: 0.5rem;
}

.value-description {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

/* Contact Info */
.contact-info {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  border-radius: 0.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ Categories */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.faq-category-btn {
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-category-btn:hover,
.faq-category-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Navigation TOC */
.toc {
  background-color: var(--bg-light);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
}

.toc-list a {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list a:hover {
  color: var(--primary);
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }

@media (max-width: 767px) {
  .hide-mobile { display: none; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none; }
}

/* Social Proof Bar */
.social-proof-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.social-proof-bar strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Problem Icon (warning/red variant) */
.problem-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}
