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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.82) 100%), url('hintergrund.jpg');
    background-size: cover;
    background-position: bottom;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 1px solid #334155;
    min-height: 450px;
}
.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content Layout */
.content {
    padding: 50px 0;
}

.intro-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.intro-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.intro-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.product-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.intro-text {
    flex: 1.5;
    min-width: 280px;
}

.intro-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1f2937;
}

.intro-text p {
    margin-bottom: 15px;
    color: #4b5563;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.2s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    background: #1d4ed8;
}

.cta-button.large {
    font-size: 1.1rem;
    padding: 16px 32px;
}

/* Grid Cards (3er Spalten) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #2563eb;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #1f2937;
}

.card p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* Highlight Box */
.highlight-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.highlight-box h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.highlight-box ul {
    list-style-type: none;
}

.highlight-box li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: #1f2937;
}

.highlight-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Target Section (Für wen geeignet) */
.target-section {
    margin-bottom: 50px;
}

.target-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1f2937;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.target-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.target-box.yes {
    border-top: 4px solid #10b981;
}

.target-box.no {
    border-top: 4px solid #ef4444;
}

.target-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.target-box.yes h3 { color: #047857; }
.target-box.no h3 { color: #b91c1c; }

.target-box ul {
    list-style-type: disc;
    padding-left: 20px;
}

.target-box li {
    margin-bottom: 10px;
    color: #4b5563;
}

/* Final CTA Container */
.cta-container {
    background: #1f2937;
    color: #ffffff;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
}

.cta-container h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-container p {
    max-width: 600px;
    margin: 0 auto 20px auto;
    color: #9ca3af;
}

.affiliate-notice {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 25px;
}

/* Footer */
footer {
    background: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================
   MODAL OVERLAY & POPUP STYLING
   ========================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #ffffff;
    padding: 40px 30px 30px 30px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #4b5563;
    line-height: 1;
}

.modal-close:hover {
    color: #111827;
}

/* Rechts- / Legal-Text Styles innerhalb des Modals */
.legal-text h1 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #111827;
}

.legal-text h2 {
    font-size: 1.25rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #1f2937;
}

.legal-text h3 {
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #374151;
}

.legal-text h4 {
    font-size: 1rem;
    margin-top: 12px;
    margin-bottom: 6px;
    color: #4b5563;
}

.legal-text p {
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 0.95rem;
}

.legal-text ul {
    margin-bottom: 12px;
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 6px;
    color: #4b5563;
    font-size: 0.95rem;
}