/* ============================================
   CONFERA WEBSITE - COMPLETE STYLESHEET
   ============================================ */

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */

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

/* ============================================
   APPLE-STYLE PALETTE & TYPOGRAPHY (GLOBAL)
   ============================================ */

:root {
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --surface: #ffffff;
  --surface-alt: #f5f5f7;
  --border: #d2d2d7;
  --accent: #0071e3;
  --accent-hover: #005bb5;
  --success: #34c759;

  /* Brand (für Menü-Aktivzustände & leichte Verläufe) */
  --brand-pink: #ec4899;
  --brand-pink-dark: #db2777;
  --brand-tint: #fdf2f8;
}

/* Confera Brand Name - Rosa Einfärbung */
.brand-name,
.confera-brand {
  color: var(--brand-pink);
  font-weight: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

/* ============================================
   SCROLL SNAP (Startseite + Funktionen)
   - "proximity" = spürbar, aber nicht „klebrig“
   - Wenn du es stärker willst: "proximity" -> "mandatory"
   ============================================ */

html.page-index,
html.page-funktionen {
  scroll-snap-type: y proximity;
}

/* Startseite: nur fixe Nav */
html.page-index {
  scroll-padding-top: 120px;
}

html.page-index section,
html.page-index footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 120px;
}

/* Funktionen-Seite: Nav + Quick-Nav */
html.page-funktionen {
  scroll-padding-top: 160px;
}

html.page-funktionen .funktionen-hero,
html.page-funktionen .feature-category {
  scroll-snap-align: start;
  /* auf Funktionen bewusst weicher, um „Wackeln“ zu vermeiden */
  scroll-snap-stop: normal;
  scroll-margin-top: 160px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text-primary);
}

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

/* Reduziere übermäßige Betonung */
strong {
  font-weight: 600;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   2. NAVIGATION (BEM Notation)
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav--scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 20px;
}

.nav__logo-img {
  height: 60px;
  width: auto;
}

.nav__logo-text {
  color: var(--text-primary);
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav__link {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--brand-pink);
}

.nav__button {
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav__button:hover {
  background: var(--accent-hover);
  color: white;
}

/* App Store Badge (offizielles Apple „Download on the App Store“-Badge) */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  vertical-align: middle;
}

.app-store-badge:hover {
  opacity: 0.92;
}

.app-store-badge:focus-visible {
  outline: 2px solid var(--brand-pink, #ec4899);
  outline-offset: 3px;
  border-radius: 4px;
}

.app-store-badge__img {
  width: min(160px, 42vw);
  height: auto;
  display: block;
}

.app-store-badge--hero .app-store-badge__img {
  width: min(200px, 55vw);
}

.nav__app-store {
  display: flex;
  align-items: center;
  list-style: none;
}

@media (max-width: 768px) {
  .nav__app-store {
    justify-content: center;
    width: 100%;
    padding-top: 8px;
  }
}

.hero__app-store {
  margin-top: 4px;
}

.footer__app-store {
  margin-top: 16px;
  margin-bottom: 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav__mobile-toggle {
    display: flex;
  }
  
  .nav__menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================
   3. HERO SECTION (BEM Notation)
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--brand-tint) 0%, var(--surface) 100%);
  margin-top: 80px;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__overline {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
}

/* Schulformen Highlight */
.schulformen-highlight {
  background: var(--surface-alt);
  padding: 80px 20px;
}

.schulformen-highlight__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.schulformen-highlight__headline {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.schulformen-highlight__text {
  font-size: 1.25rem;
  color: #6e6e73;
  margin-bottom: 40px;
  line-height: 1.4;
}

.schulformen-highlight__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.schulformen-highlight__item {
  background: #ffffff;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  padding: 18px 16px;
  color: #1d1d1f;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .schulformen-highlight__grid {
    grid-template-columns: 1fr;
  }
}

/* Value Proposition Section - Apple Style */
.value-proposition {
  background: #ffffff;
  padding: 120px 20px;
}

.value-proposition__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Intro */
.value-intro {
  text-align: center;
  margin-bottom: 120px;
}

.value-intro__headline {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: #1d1d1f;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.value-intro__text {
  font-size: 1.5rem;
  color: #6e6e73;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Value Items */
.value-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 160px;
}

.value-item--reverse {
  direction: rtl;
}

.value-item--reverse > * {
  direction: ltr;
}

.value-content {
  max-width: 500px;
}

.value-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.value-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #6e6e73;
  margin-bottom: 20px;
}

.value-metric {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid #d2d2d7;
}

.value-metric__number {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.value-metric__label {
  display: block;
  font-size: 1rem;
  color: #6e6e73;
}

/* Visual Placeholder */
.value-visual {
  position: relative;
  min-height: 400px;
}

.value-visual__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  border-radius: 18px;
  padding: 40px;
}

.visual-placeholder {
  font-size: 1.25rem;
  color: #6e6e73;
  text-align: center;
}

/* Summary */
.value-summary {
  text-align: center;
  padding: 80px 40px;
  background: #f5f5f7;
  border-radius: 18px;
  margin-top: 80px;
}

.value-summary__headline {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 60px;
}

.value-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.value-summary__item {
  text-align: center;
}

.value-summary__number {
  display: block;
  font-size: 3rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.value-summary__label {
  font-size: 1.125rem;
  color: #6e6e73;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .value-item {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 100px;
  }
  
  .value-item--reverse {
    direction: ltr;
  }
  
  .value-content {
    max-width: 100%;
  }
  
  .value-visual {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .value-intro__headline {
    font-size: 2.5rem;
  }
  
  .value-intro__text {
    font-size: 1.25rem;
  }
  
  .value-title {
    font-size: 2rem;
  }
  
  .value-description {
    font-size: 1.125rem;
  }
  
  .value-summary__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .value-summary__number {
    font-size: 2.5rem;
  }
}

.hero__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  filter: drop-shadow(0 40px 80px rgba(0, 113, 227, 0.18));
  cursor: pointer;
}

/* Hero Section für Legal/Support Pages */
.hero-section {
  background: var(--text-primary);
  padding: 180px 0 120px;
  text-align: center;
  color: white;
  margin-top: 80px;
}

.hero-section h1 {
  font-size: 64px;
  font-weight: bold;
  margin: 0 auto 20px;
  line-height: 1.1;
  max-width: 900px;
}

.hero-section .hero-intro {
  font-size: 28px;
  font-weight: 600;
  opacity: 0.95;
  margin: 20px auto 30px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.hero-section .subheadline {
  font-size: 24px;
  opacity: 0.95;
  margin: 20px auto 30px;
  max-width: 800px;
}

.breadcrumb {
  font-size: 16px;
  opacity: 0.8;
  margin-top: 30px;
}

.breadcrumb a {
  text-decoration: underline;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 1;
}

/* Mobile Hero */
@media (max-width: 768px) {
  .hero {
    padding: 40px 24px;
  }
  
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__title {
    font-size: 32px;
  }
  
  .hero__buttons {
    justify-content: center;
  }
  
  .hero-section {
    padding: 120px 0 80px;
  }
  
  .hero-section h1 {
    font-size: 40px;
  }
  
  .hero-section .hero-intro {
    font-size: 22px;
  }
  
  .hero-section .subheadline {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 64px;
  }
  
  .hero__subtitle {
    font-size: 18px;
  }
}

/* ============================================
   4. STATS SECTION (BEM Notation)
   ============================================ */

.stats {
  background: var(--surface-alt);
  padding: 120px 24px;
}

.stats__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stats__headline {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.stats__subheadline {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.stats__item {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stats__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stats__number {
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.stats__label {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.stats__percent {
  font-size: 18px;
  font-weight: 600;
  color: var(--success);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Stats */
@media (min-width: 640px) {
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats__headline {
    font-size: 48px;
  }
  
  .stats__subheadline {
    font-size: 20px;
  }
  
  .stats__number {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
  
  .stats__headline {
    font-size: 24px;
  }
}

/* ============================================
   5. FEATURE SECTIONS (BEM Notation)
   ============================================ */

.konferenzen-section,
.praesentation-section,
.beschluesse-section,
.protokolle-section,
.backups-section,
.weitere-features-section {
  padding: 120px 24px;
  background: white;
}

.backups-section__images {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 60px 0;
}

.backups-section__images img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.backups-section__images img:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .backups-section__images {
    flex-direction: column;
    gap: 30px;
  }
  
  .backups-section__images img {
    max-width: 100%;
  }
}

.konferenzen-section__container,
.praesentation-section__container,
.beschluesse-section__container,
.protokolle-section__container,
.backups-section__container,
.weitere-features-section__container {
  max-width: 1200px;
  margin: 0 auto;
}

.konferenzen-section__headline,
.praesentation-section__headline,
.beschluesse-section__headline,
.protokolle-section__headline,
.backups-section__headline,
.weitere-features-section__headline {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
}

/* Subheadline: dezente Hervorhebung */
.subheadline-emphasis {
  color: var(--text-primary);
  font-weight: 600;
}

/* Präsentation-Section: Subheadline direkt unter Überschrift, mittig & fett */
.praesentation-section__headline {
  margin-bottom: 16px;
}

.praesentation-section__subheadline {
  text-align: center;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto 60px;
}

.praesentation-section__subheadline .subheadline-emphasis {
  font-weight: 700;
}


.subsection {
  margin-bottom: 80px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}

.two-column.reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}

.two-column.reverse .image-column {
  order: 2;
}

.two-column.reverse .text-column {
  order: 1;
}

.text-column h3 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.text-column p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-column .feature-number {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.text-column .feature-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.text-column .feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.text-column .feature-benefits {
  margin-top: 24px;
}

.text-column .feature-benefits h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.text-column .feature-benefits ul {
  list-style: none;
  padding: 0;
}

.text-column .feature-benefits li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

.text-column .feature-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 18px;
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Hub Section */
.hub-section {
  padding: 120px 24px;
  background: white;
}

.hub-section__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hub-section__headline {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hub-section__subheadline {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hub-section__images {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 60px 0;
}

.hub-section__images img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-section__images img:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.hub-section__text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .hub-section__headline {
    font-size: 32px;
  }
  
  .hub-section__subheadline {
    font-size: 18px;
  }
  
  .hub-section__images {
    flex-direction: column;
    gap: 30px;
  }
  
  .hub-section__images img {
    max-width: 100%;
  }
}

/* Datenschutz Highlight */
.datenschutz-highlight {
  background: var(--surface-alt);
  padding: 120px 24px;
}

.datenschutz-highlight__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.datenschutz-highlight__content {
  display: flex;
  flex-direction: column;
}

.datenschutz-highlight__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.datenschutz-highlight__image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.datenschutz-highlight__image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.datenschutz-highlight__headline {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.datenschutz-highlight__subheadline {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.datenschutz-highlight__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.datenschutz-highlight__item {
  display: flex;
  align-items: start;
  gap: 16px;
}

.datenschutz-highlight__check {
  font-size: 24px;
  color: var(--success);
}

.datenschutz-highlight__text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Mobile Two Column */
@media (max-width: 968px) {
  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .two-column.reverse .image-column,
  .two-column.reverse .text-column {
    order: initial;
  }
  
  .datenschutz-highlight__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .datenschutz-highlight__image {
    order: -1;
  }
}

@media (min-width: 1024px) {
  .konferenzen-section__headline,
  .praesentation-section__headline,
  .beschluesse-section__headline,
  .protokolle-section__headline,
  .backups-section__headline,
  .weitere-features-section__headline {
    font-size: 48px;
  }
  
  .datenschutz-highlight__headline {
    font-size: 40px;
  }
}

/* ============================================
   6. BUTTONS (BEM Notation)
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--brand-pink-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.btn--secondary {
  background: transparent;
  color: var(--brand-pink);
  border: 2px solid var(--brand-pink);
}

.btn--secondary:hover {
  background: var(--brand-pink);
  color: white;
}

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

.btn--white:hover {
  background: var(--surface-alt);
  color: var(--brand-pink-dark);
}

.btn--large {
  padding: 18px 36px;
  font-size: 18px;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Mobile Feature Cards */
@media (max-width: 968px) {
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   7. SCREENSHOTS / IMAGES
   ============================================ */

.feature-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.feature-screenshot:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.hero-image {
  max-width: 600px;
  margin: 0 auto;
  filter: drop-shadow(0 40px 80px rgba(0, 113, 227, 0.18));
}

/* Mobile Images */
@media (max-width: 768px) {
  .hero-image {
    max-width: 100%;
    margin-top: 40px;
  }
}

/* ============================================
   8. FUNKTIONEN PAGE STYLES
   ============================================ */

.funktionen-hero {
  background: linear-gradient(135deg, var(--brand-tint) 0%, var(--surface) 100%);
  color: var(--text-primary);
  padding: 120px 24px 72px;
  text-align: center;
  position: relative;
  z-index: 1;
  scroll-snap-align: none;
}

.funktionen-hero__container {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.funktionen-hero__headline {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 24ch;
  text-wrap: balance;
}

.funktionen-hero__breadcrumb {
  font-size: 16px;
  opacity: 0.8;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.funktionen-hero__breadcrumb a {
  color: var(--accent);
  text-decoration: underline;
}

.funktionen-hero__breadcrumb span {
  margin: 0 8px;
}

/* Quick Navigation */
.quick-nav {
  position: sticky;
  top: 80px;
  background: white;
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-nav__container::-webkit-scrollbar {
  display: none;
}

.quick-nav__link {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.quick-nav__link:hover {
  background: var(--surface-alt);
  color: var(--text-primary);
}

.quick-nav__link.active {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-dark));
  color: white;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.25);
}

.quick-nav__mobile {
  display: none;
}

.funktionen-main {
  padding: 120px 24px;
  background-color: var(--surface-alt);
}

/* Feature Category */
.feature-category {
  margin-bottom: 120px;
  scroll-snap-align: start;
  scroll-margin-top: 140px;
}

.feature-category__container {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-category__headline {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-align: center;
}

.feature-category__subheadline {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-category__divider {
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 0 auto 60px;
  border-radius: 2px;
}

/* Mobile Quick Nav */
@media (max-width: 768px) {
  .quick-nav__container {
    display: none;
  }
  
  .quick-nav__mobile {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
  }
  
  .funktionen-hero {
    padding: 96px 24px 56px;
  }
  
  .funktionen-hero__headline {
    font-size: 32px;
  }
}

/* Quick-Nav auf Desktop mittig ausrichten */
@media (min-width: 1024px) {
  html.page-funktionen .quick-nav__container {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .funktionen-hero__headline {
    font-size: 56px;
  }
  
  .feature-category__headline {
    font-size: 48px;
  }
  
  .feature-category__subheadline {
    font-size: 20px;
  }
}

/* ============================================
   9. FEATURE DETAIL CARDS (Funktionen-Seite)
   ============================================ */

.feature-category {
  scroll-snap-align: start;
  scroll-margin-top: 140px;
  padding: 80px 0;
}

.category-header {
  text-align: center;
  margin-bottom: 60px;
}

.category-header h2 {
  font-size: 48px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.category-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.category-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
}

.feature-detail-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 60px;
}

.feature-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-image {
  width: 100%;
}

.feature-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.feature-number {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.feature-benefits h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-benefits ul {
  list-style: none;
  padding: 0;
}

.feature-benefits li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

.feature-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 18px;
}

/* Mobile Feature Detail Cards */
@media (max-width: 968px) {
  .feature-detail-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 20px;
  }
  
  .category-header h2 {
    font-size: 36px;
  }
}

/* ============================================
   10. LIGHTBOX
   ============================================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 48px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  padding: 20px 30px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 16px;
  text-align: center;
  max-width: 80%;
}

/* Mobile Lightbox */
@media (max-width: 768px) {
  .lightbox-image {
    max-width: 95%;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 36px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    font-size: 36px;
    padding: 10px 15px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
}

/* ============================================
   11. PRICING SECTION (BEM Notation)
   ============================================ */

.pricing {
  background: var(--surface-alt);
  padding: 120px 24px;
  text-align: center;
}

.pricing__container {
  max-width: 600px;
  margin: 0 auto;
}

.pricing__headline {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.pricing__subheadline {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.pricing__card {
  background: var(--surface);
  padding: 80px 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
}

.pricing__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.pricing__amount {
  font-size: 56px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing__frequency {
  font-size: 18px;
  color: var(--text-secondary);
}

.pricing__divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

.pricing__tagline {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.pricing__features {
  list-style: none;
  text-align: left;
  margin-bottom: 40px;
}

.pricing__features li {
  padding: 12px 0;
  color: var(--text-primary);
  font-size: 16px;
}

.pricing__app-store {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.pricing__app-store .app-store-badge__img {
  width: min(180px, 50vw);
}

.pricing__subtext {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing__link {
  color: var(--accent);
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .pricing__headline {
    font-size: 48px;
  }
  
  .pricing__amount {
    font-size: 72px;
  }
}

/* ============================================
   14. FAQ SECTION (BEM Notation)
   ============================================ */

.faq {
  background: var(--surface);
  padding: 120px 24px;
}

.faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq__headline {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.faq__subheadline {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
  font-size: 16px;
}

.faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq__item {
  background: var(--surface-alt);
  border-radius: 12px;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: inherit;
}

.faq__icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq__item[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
}

.faq__item[aria-expanded="true"] .faq__answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

.faq__answer p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq__answer a {
  color: var(--accent);
  font-weight: 600;
}

.faq__answer a:hover {
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .faq__headline {
    font-size: 48px;
  }
}

/* ============================================
   15. CTA SECTION (BEM Notation)
   ============================================ */

.cta {
  padding: 80px 24px;
  background: var(--text-primary);
  color: white;
  text-align: center;
}

.cta__container {
  max-width: 800px;
  margin: 0 auto;
}

.cta__headline {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.cta__subheadline {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .cta__headline {
    font-size: 48px;
  }
  
  .cta__subheadline {
    font-size: 20px;
  }
}

/* ============================================
   16. FOOTER (BEM Notation)
   ============================================ */

.footer {
  background-color: var(--text-primary);
  color: #9ca3af;
  padding: 60px 24px;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer__column {
  text-align: center;
}

.footer__title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer__text {
  font-size: 14px;
  line-height: 1.7;
  color: #9ca3af;
  margin-bottom: 12px;
}

.footer__copyright {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.footer__app-store .app-store-badge__img {
  margin-left: auto;
  margin-right: auto;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--accent);
}

.footer__bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(156, 163, 175, 0.2);
  font-size: 12px;
  opacity: 0.6;
}

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

/* Fußnoten (am Ende des Dokuments) */
.footnotes {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  font-size: 0.875rem;
  color: var(--text-secondary, #6b7280);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footnotes p {
  margin: 0;
  line-height: 1.5;
}

.footnotes a[href="#fnref1"] {
  margin-left: 0.25em;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
   14. SCROLL TO TOP BUTTON
   ============================================ */

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--brand-pink);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.scroll-top:hover {
  background: var(--brand-pink-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Pfeil exakt mittig (JS setzt display: flex beim Einblenden) */
.scroll-top {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   15. SCROLL ANIMATIONS
   ============================================ */

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   16. IMAGE STACK (für mehrere Screenshots)
   ============================================ */

.image-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-stack img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-stack img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ============================================
   17. UTILITY CLASSES
   ============================================ */

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

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* ============================================
   END OF STYLESHEET
   ============================================ */

/* ============================================
   18. LEGAL & SUPPORT PAGES STYLING
   ============================================ */

/* Legal Pages Styling (datenschutz.html, impressum.html) */
.legal-content {
  background: white;
  padding: 60px 0 100px;
}

.legal-content .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.last-updated {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 60px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.legal-content ul {
  margin: 20px 0 20px 30px;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-content a:hover {
  color: var(--accent-hover);
}

.legal-content strong {
  font-weight: 600;
  color: var(--text-primary);
}

.legal-content em {
  font-style: italic;
  color: var(--text-secondary);
}

/* Support Page Styling (support.html) */
.support-content {
  background: var(--surface-alt);
  padding: 60px 0 100px;
}

.support-content .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.support-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.support-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--surface-alt);
  border-radius: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.support-card:hover .support-icon {
  transform: scale(1.1);
  background: var(--surface);
}

.support-icon svg {
  width: 48px;
  height: 48px;
}

.support-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.support-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}


.contact-info {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.contact-info em {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Mobile Responsive für Legal & Support Pages */
@media (max-width: 768px) {
  .legal-content .container,
  .support-content .container {
    padding: 0 20px;
  }
  
  .legal-content h2 {
    font-size: 26px;
    margin-top: 40px;
  }
  
  .legal-content h3 {
    font-size: 20px;
  }
  
  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }
  
  .support-card {
    padding: 30px 20px;
  }
  
  .support-icon {
    font-size: 48px;
  }
  
  .support-card h2 {
    font-size: 24px;
  }
  
  .contact-info {
    padding: 30px 20px;
  }
}

/* ============================================
   BETA MODAL STYLES
   ============================================ */

.beta-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beta-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.beta-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: betaModalSlideIn 0.3s ease-out;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

@keyframes betaModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.beta-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  transition: color 0.2s;
}

.beta-modal-close:hover {
  color: #000;
}

.beta-modal-content h2 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #1d1d1f;
  font-size: 28px;
  font-weight: 600;
}

.beta-modal-content p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 16px;
}

.beta-modal-info {
  background: #f0f9ff;
  border-left: 4px solid #3b82f6;
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 4px;
}

.beta-modal-info p {
  margin: 0;
  color: #1e40af;
}

.beta-modal-requirements {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.beta-modal-requirements li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  color: #4b5563;
}

.beta-modal-requirements li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ec4899;
  font-size: 20px;
  line-height: 1;
}

.beta-modal-cta {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  margin: 24px 0;
  border-radius: 4px;
}

.beta-modal-cta p {
  margin: 0;
  color: #92400e;
}


.beta-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.beta-modal-btn-primary,
.beta-modal-btn-secondary {
  flex: 1;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-family: inherit;
}

.beta-modal-btn-primary {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
  color: white;
}

.beta-modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
}

.beta-modal-btn-primary:active {
  transform: translateY(0);
}

.beta-modal-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.beta-modal-btn-secondary:hover {
  background: #e5e7eb;
}


/* Responsive */
@media (max-width: 640px) {
  .beta-modal-content {
    padding: 24px;
  }
  
  .beta-modal-buttons {
    flex-direction: column;
  }
  
  .beta-modal-content h2 {
    font-size: 24px;
  }
}

/* ============================================
   KEY SUMMARY / HIGHLIGHTS (VERSTECKT - ZUM TESTEN)
   ============================================ */

.key-summary {
  padding: 100px 24px;
  background: var(--surface);
}

.key-summary--hidden {
  display: none; /* VERSTECKT - Zum Testen: Entferne diese Klasse aus dem HTML */
}

.key-summary__container {
  max-width: 1200px;
  margin: 0 auto;
}

.key-summary__headline {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.key-summary__subtitle {
  font-size: 22px;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.key-summary__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.key-summary__item {
  background: var(--surface-alt);
  padding: 0;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  overflow: hidden;
}

.key-summary__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.key-summary__image {
  width: 100%;
  overflow: hidden;
  background: var(--surface-alt);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-summary__image img {
  width: 60%;
  max-width: 200px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.key-summary__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 24px 12px 24px;
}

.key-summary__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 24px 24px 24px;
}

.key-summary__cta {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .key-summary {
    padding: 60px 20px;
  }
  
  .key-summary__headline {
    font-size: 36px;
  }
  
  .key-summary__subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .key-summary__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
  
  .key-summary__image {
    padding: 16px;
  }
  
  .key-summary__image img {
    width: 50%;
    max-width: 150px;
  }
  
  .key-summary__title {
    margin: 20px 20px 12px 20px;
    font-size: 20px;
  }
  
  .key-summary__text {
    margin: 0 20px 20px 20px;
    font-size: 15px;
  }
}