/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Pastel Color Palette */
    --pastel-pink: #FFE5E5;
    --pastel-blue: #E5F2FF;
    --pastel-peach: #FFE5D9;
    --pastel-lavender: #F0E5FF;
    --pastel-mint: #E5FFF0;
    --pastel-yellow: #FFF9E5;
    
    /* Main Colors */
    --primary: #FF9B9B;
    --primary-dark: #FF7B7B;
    --secondary: #A8D8EA;
    --accent: #FFABAB;
    
    /* Neutral Colors */
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #8A9BA8;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-lighter: #FAFBFC;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #FFE5E5 0%, #E5F2FF 100%);
    --gradient-2: linear-gradient(135deg, #F0E5FF 0%, #FFE5D9 100%);
    --gradient-3: linear-gradient(135deg, #E5FFF0 0%, #FFF9E5 100%);
    --gradient-hero: linear-gradient(135deg, #FFE5E5 0%, #E5F2FF 50%, #F0E5FF 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 229, 229, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(229, 242, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(240, 229, 255, 0.4) 0%, transparent 50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 155, 155, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 155, 155, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.hero-illustration {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.illustration-card {
    background: white;
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    min-height: 300px;
}

.illustration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.illustration-card i {
    font-size: 4rem;
    transition: var(--transition-smooth);
}

.illustration-card .fa-heart {
    color: var(--primary);
    animation: heartbeat 2s infinite;
}

.illustration-card .fa-plus {
    color: var(--text-light);
    font-size: 2rem;
}

.illustration-card .fa-euro-sign {
    color: var(--secondary);
    animation: pulse 2s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0.5;
    }
}

/* ===== Section Styles ===== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

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

/* ===== Methode Section ===== */
.methode {
    background: var(--bg-lighter);
}

.methode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.methode-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.methode-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.methode-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.methode-card:nth-child(2) .methode-icon {
    background: var(--gradient-2);
}

.methode-card:nth-child(3) .methode-icon {
    background: var(--gradient-3);
}

.methode-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.methode-card p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===== Checkliste Section ===== */
.checkliste {
    background: white;
}

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

.checklist-intro {
    background: var(--pastel-blue);
    padding: var(--spacing-md);
    border-radius: 15px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.checklist-intro p {
    color: var(--text-medium);
    line-height: 1.8;
}

.checklist {
    background: white;
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.checklist-item {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--bg-light);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item input[type="checkbox"] {
    display: none;
}

.checklist-item label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.checklist-item label:hover {
    background: var(--bg-lighter);
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.checklist-item input[type="checkbox"]:checked + label .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checklist-item input[type="checkbox"]:checked + label .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
}

.checklist-item input[type="checkbox"]:checked + label .text {
    text-decoration: line-through;
    color: var(--text-light);
}

.checklist-item .text {
    color: var(--text-dark);
    line-height: 1.6;
}

.checklist-progress {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    color: var(--text-medium);
    font-weight: 600;
}

/* ===== Rechner Section ===== */
.rechner {
    background: var(--gradient-1);
}

.calculator {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-intro {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.calculator-intro p {
    color: var(--text-medium);
    line-height: 1.8;
}

.calculator-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 155, 155, 0.1);
}

.calculator-result {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.calculator-result.show {
    display: block;
}

.calculator-result h3 {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.result-card {
    background: var(--bg-lighter);
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
}

.result-card h4 {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.result-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.result-percentage {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
}

.result-remaining {
    font-size: 0.9rem;
    color: var(--text-light);
}

.result-remaining span {
    color: var(--text-dark);
    font-weight: 600;
}

.result-divider {
    font-size: 2rem;
    color: var(--text-light);
}

.result-total {
    background: var(--pastel-mint);
    padding: var(--spacing-md);
    border-radius: 15px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.result-total p {
    color: var(--text-dark);
}

.result-total span {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Stimmen Section ===== */
.stimmen {
    background: white;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--bg-lighter);
    padding: var(--spacing-lg);
    border-radius: 20px;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Hilfe Section ===== */
.hilfe {
    background: var(--gradient-2);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: var(--bg-lighter);
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition-smooth);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===== Contact Form Section ===== */
.contact-form-section {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.contact-form-section h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    text-align: center;
}

.contact-form-section > p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    text-align: center;
}

.contact-form {
    display: block;
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 155, 155, 0.1);
}

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

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-lighter);
    border-radius: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: 5px;
    transition: var(--transition-smooth);
    font-weight: 400;
}

.checkbox-label:hover {
    background: white;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.privacy-checkbox {
    background: var(--pastel-blue);
    padding: var(--spacing-sm);
    border-radius: 10px;
    font-size: 0.9rem;
}

.privacy-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-large {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
    margin-top: var(--spacing-sm);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--pastel-mint);
    border-radius: 15px;
    animation: fadeInUp 0.5s ease-out;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: var(--spacing-md);
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.form-success p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

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

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    .result-divider {
        transform: rotate(90deg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: var(--spacing-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}