/* Base Styles */
body {
    overflow-x: hidden;
    background-color: #F8F7F2;
    color: #2d3748;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Typography */
.font-display {
    font-family: Georgia, Cambria, 'Times New Roman', Times, serif;
}

/* Background Patterns */
.dot-pattern {
    background-image: radial-gradient(circle at 2px 2px, #cbd5e0 1px, transparent 0);
    background-size: 40px 40px;
}

.dot-pattern-white {
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

/* Cards */
.card-elegant {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.card-elegant:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* Hero Background */
.hero-bg {
    background: linear-gradient(135deg, #f0f4f8 0%, #F8F7F2 50%, #ffffff 100%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F8F7F2;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Accent Line */
.accent-line {
    width: 60px;
    height: 3px;
    background-color: #d4a574;
    margin-bottom: 1.5rem;
}

/* Prose Custom */
.prose-custom p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #4a5568;
}
.prose-custom strong {
    color: #1e3a5f;
    font-weight: 600;
}
.prose-custom h3 {
    color: #1e3a5f;
    font-family: Georgia, Cambria, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: #1e3a5f;
    color: white;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #2c5282;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: #1e3a5f;
    color: white;
}

/* Icon Boxes */
.icon-box {
    width: 56px;
    height: 56px;
    background-color: #f0f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a5f;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background-color: #1e3a5f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1rem;
}

/* Details/Summary (FAQ) */
details > summary {
    list-style: none;
    cursor: pointer;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: sweep 0.3s ease-in-out;
}
@keyframes sweep {
    0%    {opacity: 0; transform: translateY(-10px)}
    100%  {opacity: 1; transform: translateY(0)}
}

/* Reveal Animation Base */
.reveal-up {
    opacity: 1;
}

/* Mobile Optimierungen - Abstand zwischen Navbar und Hero-Content */
@media (max-width: 768px) {
    .hero-bg {
        padding-top: 8rem !important; /* Mehr Abstand nach oben */
    }
    
    /* Zusätzlicher Margin für das erste Element (das Badge) */
    .hero-bg .reveal-up:first-child {
        margin-top: 1.5rem;
    }
}

/* Noch mehr Abstand für sehr kleine Bildschirme wie iPhone SE */
@media (max-width: 640px) {
    .hero-bg {
        padding-top: 9rem !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        word-wrap: break-word;
    }
}