/* ============================================================
   thorstenschwab.com – Custom CSS
   Tailwind wird per CDN geladen. Hier nur was Tailwind
   nicht nativ abdeckt.
   ============================================================ */

html { scroll-behavior: smooth; }

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

.fade-in-up { opacity: 0; animation: fadeInUp 0.7s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

/* Scroll-Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Hero Overlay ---- */
.hero-overlay {
    background: linear-gradient(
        125deg,
        rgba(28,39,53,0.92) 0%,
        rgba(28,39,53,0.78) 55%,
        rgba(28,39,53,0.55) 100%
    );
}

/* ---- Scroll-Bounce (Hero-Indikator) ---- */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50%       { transform: translateY(8px) translateX(-50%); }
}
.scroll-bounce {
    position: absolute;
    left: 50%;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ---- Navigation ---- */
.header-scrolled {
    box-shadow: 0 2px 24px rgba(28, 39, 53, 0.14);
}

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C3317D;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ---- Cards ---- */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(28, 39, 53, 0.12);
}

/* ---- Icon Badges ---- */
.icon-teal    { background: linear-gradient(135deg, #00BFA6, #008f7a); }
.icon-magenta { background: linear-gradient(135deg, #C3317D, #9a1f5f); }
.icon-yellow  { background: linear-gradient(135deg, #F9C74F, #e6a800); }

/* ---- Zitat / Quote ---- */
.quote-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* ---- Formulare ---- */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #D1D3D4;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #1C2735;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.form-input:focus {
    border-color: #C3317D;
    box-shadow: 0 0 0 3px rgba(195, 49, 125, 0.10);
}
.form-input.error {
    border-color: #e53e3e;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1C2735;
    margin-bottom: 6px;
}

.form-required { color: #C3317D; margin-left: 2px; }

/* ---- Prozess-Schritte ---- */
.process-step { position: relative; padding-left: 52px; }
.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0; top: 0;
    width: 36px; height: 36px;
    background: #C3317D; color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    flex-shrink: 0;
}
.process-step-line {
    position: absolute;
    left: 17px; top: 36px; bottom: -20px;
    width: 2px; background: #D1D3D4;
}

/* ---- Modul-Timeline ---- */
.modul-line {
    position: absolute;
    left: 22px; top: 44px; bottom: -24px;
    width: 2px;
    background: linear-gradient(to bottom, #C3317D, #D1D3D4);
}
.modul-line-last { display: none; }

/* ---- Preis-Badge ---- */
.price-badge {
    background: linear-gradient(135deg, #1C2735 0%, #2a3a4e 100%);
}

/* ---- Sticky CTA (Mobile) ---- */
@media (max-width: 767px) {
    .sticky-cta {
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
        background: white;
        box-shadow: 0 -4px 20px rgba(28, 39, 53, 0.15);
        padding: 12px 16px;
    }
}
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---- Feedback-Banner ---- */
#form-success, #form-error { display: none; }
#form-success.show, #form-error.show { display: block; }

/* ---- Section-Separator ---- */
.section-divider {
    width: 60px;
    height: 3px;
    background: #C3317D;
    margin: 0 auto 24px;
    border-radius: 2px;
}

/* ---- Admin (grundlegende Styles, falls ohne Tailwind genutzt) ---- */
.admin-badge-offen      { background: #d1fae5; color: #065f46; }
.admin-badge-warteliste { background: #fef3c7; color: #92400e; }
.admin-badge-ausgebucht { background: #fee2e2; color: #991b1b; }
.admin-badge-abgesagt   { background: #f3f4f6; color: #6b7280; }
