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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #333;
}

.container {
    max-width: 1100px; /* Angepasst laut Anleitung */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.logo span {
    font-weight: 600;
    font-size: 1.8rem;
    color: #1899CD;
}

.sticky-cta-bar{
    position:fixed; top:0; left:0; right:0;
    background:linear-gradient(135deg,#1899CD,#0d7aa7);
    color:#fff; z-index:1000;
    padding:10px 20px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    transform:translateY(-100%); transition:transform .3s ease;
}
.sticky-cta-bar.show{ transform:translateY(0); }

.sticky-cta-content{
    display:grid;
    grid-template-columns:auto 1fr auto; /* Logo | Mitte (Claim) | Buttons */
    align-items:center;
    column-gap:24px;                     /* mehr Luft zwischen den Bereichen */
    min-height:56px;
}

/* Links */
.sticky-logo{ display:flex; align-items:center; gap:10px; min-width:0; }
.sticky-logo img{ width:40px; height:40px; object-fit:contain; }
.sticky-logo h2{ margin:0; font-size:1.35rem; font-weight:700; white-space:nowrap; }

/* Mitte (Claim immer mittig und sichtbar) */
.sticky-center{ display:flex; justify-content:center; }
.sticky-cta-text{
    font-weight:700; font-size:16px;
    white-space:nowrap;
    overflow:hidden; text-overflow:ellipsis;
    max-width:100%;            /* beansprucht die ganze mittlere Spalte */
    text-align:center;
}

/* Rechts (kompaktere Buttons) */
.sticky-cta-buttons{
    display:flex; align-items:center; gap:8px; justify-self:end; min-width:0;
}
.sticky-cta-buttons .btn{
    display:inline-block; border:none; border-radius:6px;
    padding:6px 12px;               /* kleiner */
    font-weight:700; font-size:14px;
    text-decoration:none; cursor:pointer;
    line-height:1.2; white-space:nowrap;
    transition:background .2s ease,color .2s ease;
}
.btn-primary{ background:#ff7a2a; color:#fff; }
.btn-primary:hover{ filter:brightness(1.05); }
.btn-secondary{ background:#fff; color:#0d7aa7; }
.btn-secondary:hover{ background:#f2f2f2; }
.or{ opacity:.85; font-size:13px; }

/* optional: max Breite */
.container{ max-width:1200px; margin:0 auto; }

/* Responsive: unter 960px umbrechen */
@media (max-width:960px){
    .sticky-cta-content{ grid-template-columns:1fr; row-gap:10px; }
    .sticky-logo{ justify-content:center; }
    .sticky-center{ order:2; }
    .sticky-cta-text{ text-align:center; }
    .sticky-cta-buttons{ justify-self:center; flex-wrap:wrap; }
}


.btn-primary {
    background-color: #fff;
    color: #0d7aa7;
}

.btn-primary:hover {
    background-color: #f0f0f0;
}

.btn-secondary {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.25);
}

.or {
    font-weight: 400;
    opacity: 0.8;
}


/* Hero Section */
.hero {
    background: #1899CD;
    color: white;
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badges {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: -40px;
    justify-content: center;
}

.badges img {
    height: 108px;
    width: auto;
    border-radius: 4px;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    line-height: 1.2;
}

.rating {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: white;
}

.stars {
    color: #fbbf24;
}

.features {
    list-style: none;
    margin-bottom: 20px;
}

.features li {
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
}

.checkmark {
    color: #22C55E !important;
    font-weight: 700;
    margin-right: 8px;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.or {
    font-size: 0.9rem;
    color: white;
}

.btn {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    font-size: 0.9rem;
    min-width: 200px;
}

.btn-primary {
    background: #f97316;
    color: white;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #f97316;
    border: 1px solid #f97316;
    font-weight: 700;
}

.btn-outline:hover {
    background: #f97316;
    color: white;
    border-color: #f97316;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.3);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Benefits Section */
.benefits {
    padding: 40px 0;
    background: white;
}

.benefits h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 0;
    color: #1e293b;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.benefit-icon.blue {
    background-color: #E3F2FD;
    color: #1976D2;
}

.benefit-icon.red {
    background-color: #FFEBEE;
    color: #D32F2F;
}

.benefit-icon.orange {
    background-color: #FFF3E0;
    color: #F57C00;
}

.benefit-icon.yellow {
    background-color: #FFFDE7;
    color: #F9A825;
}

.benefit-icon.dark {
    background-color: #F3E5F5;
    color: #7B1FA2;
}

.benefit-icon.yellow-heart {
    background-color: #FFFDE7;
    color: #F9A825;
}

.benefit-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.benefit-item p {
    color: #64748b;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 50px 0;
    background: #f8fafc;
}

.faq h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 0;
    color: #1e293b;
}

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

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 25px 30px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #1899CD;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials */
.testimonials {
    padding: 50px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
    color: #1e293b;
}

.subtitle {
    text-align: center;
    color: #1899CD;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.testimonial p {
    margin-bottom: 20px;
    color: #374151;
    font-style: italic;
}

.author {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

.author-info {
    flex: 1;
}

.author-info strong {
    color: #1e293b;
    display: block;
    margin-bottom: 4px;
}

.author-title {
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
}

.author .rating {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

/* ------------------------- */
/* 7. CTA Section - NEU nach Anleitung */
/* --------------------------------- */
.cta-section {
    background-color: #349BD0;
    padding: 50px 0;
    color: white;
}

/* a) Zentrierung von Header */
.header-section {
    text-align: center !important; /* Wichtig: Erzwingt die Zentrierung */
    margin-bottom: 40px;
}

.header-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

.header-section .cta-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* b) Erstellung des neuen Content-Containers */
.content-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.checklist-section {
    flex: 1;
    max-width: 500px;
}

.cta-checklist {
    list-style: none;
    padding-left: 0;
}

.cta-checklist li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.cta-checklist .checkmark {
    color: #22C55E;
    font-size: 1.5rem;
    margin-right: 15px;
    font-weight: bold;
}

.image-section {
    flex-shrink: 0;
    width: 400px;
}

.image-section img {
    width: 100%;
    border-radius: 8px;
    transform: rotate(5deg) scale(1.05);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

/* c) Formular-Container neu positionieren */
.form-section-wrapper {
    display: flex;
    justify-content: center;
}

.form-container {
    background-color: #4eb8da; /* Hellerer Blauton laut Anleitung */
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 550px; /* Maximale Breite laut Anleitung */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.form-container input[type="email"] {
    display: block;
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 15px; /* Abstand zum Button */
    box-sizing: border-box; /* Stellt sicher, dass Padding die Breite nicht beeinflusst */
}

.form-container .btn-primary {
    display: block;
    width: 100%;
    background-color: #F39C12 !important; /* Orange explizit gesetzt */
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box; /* Stellt sicher, dass Padding die Breite nicht beeinflusst */
}

.form-container .privacy-note {
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ------------------------- */
/* 8. Footer Section         */
/* ------------------------- */
/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content,
    .benefits-grid,
    .testimonials-grid,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .rating {
        margin-bottom: 12px;
    }
    
    /* Mobile Überschriften verkleinern */
    .benefits h2,
    .faq h2,
    .testimonials h2 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .cta-buttons .or {
        display: none; /* "oder" auf mobilen Geräten ausblenden */
    }
    
    .btn {
        text-align: center;
        min-width: auto;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    /* Rechter Button (Infopaket) kleiner machen */
    .cta-buttons .btn-secondary {
        flex: 0 0 auto;
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    /* Linker Button (Kurs buchen) nimmt mehr Platz */
    .cta-buttons .btn-primary {
        flex: 1;
        min-width: 140px;
    }
    
    /* CTA Section - Mobile: Nur Bild anzeigen, Text ausblenden */
    .content-section {
        flex-direction: column;
        align-items: center;
    }
    
    .checklist-section {
        display: none; /* Checkliste auf mobilen Geräten ausblenden */
    }
    
    .image-section {
        width: 100%;
        max-width: 300px;
    }
    
}

