/* --- Mobile Horizontal Scroll --- */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- NEU: Modul-Slider Mobile --- */
@media (max-width: 767px) {
    .module-view-toggle {
        display: flex;
    }
}
@media (min-width: 768px) {
    #modules-slider-basis,
    #modules-slider-tennis,
    #modules-slider-musik,
    #module-view-toggle-wrapper {
        display: none !important;
    }
    /* NEU: Das hier erzwingt die Listenansicht am Desktop - egal was passiert! */
    #modules-list-basis,
    #modules-list-tennis,
    #modules-list-musik {
        display: block !important;
    }
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slider-slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.slider-outer {
    width: 100%;
    overflow: hidden;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: #cbd5e1;
    transition: background-color 0.2s, transform 0.2s;
}

.slider-dot.active {
    background-color: #3b82f6;
    transform: scale(1.3);
}


/* --- GRÜNDER-NETZWERK SEKTION (Nico & Michael) --- */
.gründer-section {
    padding: 8rem 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.g-header {
    max-width: 900px;
    margin: 0 auto 8rem;
    padding: 0 1.5rem;
    text-align: center;
}
.g-sub-header {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}
.g-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #1c3144;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.g-canvas {
    max-width: 1200px; /* Etwas kompakter für 2 Personen */
    margin: 0 auto;
    position: relative;
    height: auto;
}

.g-profile {
    position: relative;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 992px) {
    .g-profile {
        position: absolute;
        width: 40%;
        margin-bottom: 0;
        align-items: flex-start;
    }
}

.g-photo-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 2rem;
}
@media (min-width: 992px) {
    .g-photo-wrap {
        width: 340px;
        height: 340px;
    }
}

.g-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; 
    box-shadow: 0 10px 40px rgba(15,23,42,0.08);
    transition: all 0.5s ease;
}
.g-photo-wrap:hover .g-photo {
    border-radius: 60% 40% 50% 50% / 60% 50% 40% 50%;
}

.g-insight-bubble {
    background-color: #f1f5f9;
    padding: 1.75rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    transition: all 0.3s ease;
    max-width: 420px;
}
.g-insight-bubble::after {
    content: "";
    position: absolute;
    bottom: -15px; left: 50px;
    width: 30px; height: 15px;
    background-color: #f1f5f9;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.g-name {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    color: #1c3144;
    margin-top: 2rem;
    margin-bottom: 0.25rem;
}
.g-role {
    display: block;
    font-size: 0.9rem;
    color: #3b82f6;
    font-weight: 600;
}

/* Die Staggered-Positionen für NICO & MICHAEL */
@media (min-width: 992px) {
    .g-canvas { height: 750px; } /* Reduzierte Höhe für 2 Profile */

    /* Nico - links, hoch */
    .g-nico { top: 0; left: 5%; }
    .g-nico .g-insight-bubble { margin-left: -2rem; }

    /* Michael - rechts, mittig, reversed */
    .g-michael { top: 220px; right: 5%; flex-direction: row-reverse; }
    .g-michael .g-photo-wrap { margin-bottom: 0; margin-left: 2rem; }
    .g-michael .g-details { text-align: right; }
    .g-michael .g-insight-bubble { margin-right: -2rem; }
    .g-michael .g-insight-bubble::after { left: auto; right: 50px; }
}

@keyframes networkGlow {
    0% { transform: scale(1); opacity: 0.03; }
    50% { transform: scale(1.05); opacity: 0.05; }
    100% { transform: scale(1); opacity: 0.03; }
}
.network-glow {
    position: absolute;
    top: 50px; left: -100px;
    width: 1200px; height: 800px;
    border-radius: 50%;
    border: 4px dashed #3b82f6;
    pointer-events: none;
    animation: networkGlow 12s infinite ease-in-out;
}

/* --- PERSPEKTIVEN SEKTION (Bulletproof) --- */
.perspektiven-section {
    padding: 6rem 1.5rem;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.p-watermark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 900;
    color: #f8fafc; /* Sehr helles, unsichtbares Grau */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.p-watermark-left { left: -2%; }
.p-watermark-right { right: -2%; }

.p-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
    margin-bottom: 6rem;
}
@media (min-width: 768px) {
    .p-row { flex-direction: row; gap: 5rem; margin-bottom: 8rem; }
    .p-row-reverse { flex-direction: row-reverse; }
    .p-col { width: 50%; }
}

.p-icon-box {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}
.p-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    animation: blob 8s infinite ease-in-out;
}
.p-blob-gray {
    background-color: #f1f5f9;
    width: 100%; height: 100%; top: 0; left: 0;
}
.p-blob-blue {
    background-color: rgba(59, 130, 246, 0.15);
    width: 100%; height: 100%; top: 20px; left: 20px;
    animation-delay: 2s;
}
.p-icon {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem; /* Große Icons */
    color: #3b82f6;
    z-index: 2;
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 15px) scale(0.95); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* --- FAQ Premium Akkordeon --- */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}
.faq-item.is-open .faq-content {
    opacity: 1;
}
.faq-icon-wrapper {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s, color 0.3s;
}
.faq-item.is-open .faq-icon-wrapper {
    transform: rotate(135deg); /* Macht aus dem Plus ein X */
    background-color: #3b82f6;
    color: white;
}

/* --- Verrückte Wechsel-Section --- */
.switch-section {
  padding: 7rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
}
.switch-section::before {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.switch-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 1rem;
}
.switch-section .section-label::before,
.switch-section .section-label::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: #3b82f6;
  opacity: 0.45;
}

.switch-section .section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #1c3144;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.switch-section .section-heading em {
  font-style: normal;
  color: #3b82f6;
}

.switch-section .section-sub {
  font-size: 1rem;
  color: #64748b;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Bühne */
.switch-section .stage {
  position: relative;
  max-width: 920px;
  margin: 4rem auto 0;
}
.switch-section .connector-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.switch-section .steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  align-items: start;
}

/* Karten */
.switch-section .step-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 22px;
  border: 1.5px solid #e8eef4;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05), 0 12px 32px rgba(15,23,42,0.04);
  transition:
    transform 0.35s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
    border-color 0.25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.switch-section .step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.switch-section .step-card:hover::before {
  opacity: 1;
}
.switch-section .step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.09), 0 28px 56px rgba(15,23,42,0.07);
  border-color: #cbd5e1;
}

/* leichte Versetzung */
.switch-section .step-card--1 { margin-top: 2.5rem; }
.switch-section .step-card--2 { margin-top: 0; }
.switch-section .step-card--3 { margin-top: 2.5rem; }

/* Hero-Karte (Schritt 3) */
.switch-section .step-card--hero {
  background: linear-gradient(148deg, #0f2235 0%, #1c3144 100%);
  border: 1.5px solid rgba(59,130,246,0.25);
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.1),
    0 8px 32px rgba(59,130,246,0.14),
    0 32px 64px rgba(15,23,42,0.28);
  margin-top: 0;
}
.switch-section .step-card--hero::before {
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.7), transparent);
  opacity: 1;
}
.switch-section .step-card--hero:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.35),
    0 16px 48px rgba(59,130,246,0.2),
    0 48px 80px rgba(15,23,42,0.35);
  border-color: rgba(59,130,246,0.4);
}

/* Kopfzeilen in den Karten */
.switch-section .step-num-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.switch-section .step-num {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #94a3b8;
}
.switch-section .step-card--hero .step-num {
  color: #60a5fa;
}
.switch-section .step-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px 9px;
}
.switch-section .step-card--hero .step-tag {
  color: #1e3a8a;
  background: #3b82f6;
}

/* Icons */
.switch-section .step-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  background: #f1f5f9;
  color: #475569;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.switch-section .step-card:hover .step-icon {
  transform: scale(1.1) rotate(-5deg);
}
.switch-section .step-card--hero .step-icon {
  background: rgba(59,130,246,0.15);
  color: #3b82f6;
}

/* Texte */
.switch-section .step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1c3144;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.switch-section .step-card--hero .step-title {
  color: #f0f6ff;
}
.switch-section .step-desc {
  font-size: 0.845rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}
.switch-section .step-card--hero .step-desc {
  color: #94a3b8;
}

/* Glow in Hero-Karte */
.switch-section .hero-glow {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Unterer Trust/CTA-Block */
.switch-section .bottom-strip {
  max-width: 920px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.switch-section .trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.switch-section .trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05);
}
.switch-section .trust-pill i {
  color: #3b82f6;
}
.switch-section .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.9rem 2.25rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(59,130,246,0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.switch-section .cta-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.38);
}

/* Scroll-Reveal (optional, nur Browser mit animation-timeline) */
@supports (animation-timeline: scroll()) {
  .switch-section .step-card {
    opacity: 0;
    animation: switchCardReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 65%;
  }
}
@keyframes switchCardReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Mobile */
@media (max-width: 768px) {
  .switch-section .steps-grid {
    grid-template-columns: 1fr;
  }
  .switch-section .step-card--1,
  .switch-section .step-card--2,
  .switch-section .step-card--3 {
    margin-top: 0;
  }
  .switch-section .connector-svg {
    display: none;
  }
}

/* Dynamische Tarif-Auswahl (Bulletproof) */
.tarif-box:has(input:checked) {
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.08) !important;
}
.tarif-box:has(input:checked) .tarif-titel {
    color: #3b82f6 !important;
}
.tarif-box:has(input:checked) .radio-ring {
    border-color: #3b82f6 !important;
}
.tarif-box:has(input:checked) .radio-punkt {
    opacity: 1 !important;
    transform: scale(1) !important;
}

@media (max-width: 640px) {
    #hilfe-panel {
        left: 50% !important;
        right: auto !important; /* Hebt das right: 24px aus dem Inline-Style auf */
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: translateX(-50%) !important; /* Zieht das Element genau in die Mitte */
        width: 90vw !important; /* Damit es etwas Abstand zum Bildschirmrand hat */
    }
}

html {scroll-behavior: smooth;}
/* --- LOKALE SCHRIFTART "INTER" (DSGVO KONFORM) --- */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); }

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
}
.color-primary { color: #1c3144; }
.bg-primary { background-color: #1c3144; }
.border-primary { border-color: #1c3144; }
.color-accent { color: #3b82f6; }
.bg-accent { background-color: #3b82f6; }
.bg-accent-hover { background-color: #2563eb; }

/* Custom tab styles */
.tab-content { display: none; }
.tab-content.active { display: block; }
