/*
Theme Name: Dienstrad-Finder Launch
Author: Ihr Name
Description: Ein individuelles Launch-Theme für Dienstrad-Finder.de.
Version: 6.3
*/

/* ================== LOKALE SCHRIFTARTEN ================== */
/* ================== LOKALE SCHRIFTARTEN (Poppins) ================== */
/*
 * Die Schriftartendateien werden aus dem Unterordner /fonts/ geladen.
 * Wichtig: Die Dateinamen müssen exakt mit den hier angegebenen übereinstimmen.
 */

/* Regular & Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Bold & Bold Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* SemiBold & SemiBold Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Medium & Medium Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Light & Light Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* ExtraLight & ExtraLight Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* Thin & Thin Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* ExtraBold & ExtraBold Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Black & Black Italic */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ================== GRUNDLAGEN & FARBEN ================== */
:root {
    --primary-dark: #0A2D3A;
    --accent-green: #AEE239;
    --page-bg: #F3F4F6; /* Hellgrauer Hintergrund für die ganze Seite */
    --card-bg: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #4A5568;
    --border-color: #E5E7EB;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--page-bg); /* Hier wird der graue Hintergrund gesetzt */
}

/* ================== ZENTRALE INHALTS-KARTE ================== */
.page-wrapper {
    padding: 60px 20px;
}
.main-content-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px 50px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
}

/* KORRIGIERTES STYLING FÜR LOGO & HIGHLIGHT */
.brand-logo {
    margin-bottom: 25px;
}
.headline-highlight {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
}

/* Styling für den oberen "Teaser"-Teil */
.teaser-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: var(--text-dark);
}
.teaser-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin: 0 auto;
}
.email-input {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}
.submit-button {
    padding: 16px;
    border: none;
    border-radius: 10px;
    background-color: var(--primary-dark);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.submit-button:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
}
.teaser-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Trennlinie zwischen Teaser und SEO-Text */
.content-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 60px auto;
}

/* Styling für den unteren "SEO"-Teil */
.seo-content {
    text-align: left;
}
.seo-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-green);
    display: inline-block;
}
.seo-content h2:first-of-type {
    margin-top: 0;
}
.seo-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}
.seo-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ================== RESPONSIVE ANPASSUNGEN ================== */
@media (max-width: 680px) {
    .main-content-card {
        padding: 30px 25px;
    }
    .teaser-title { font-size: 32px; }
    .teaser-features { flex-direction: column; gap: 15px; }
}
/* ================== OVERLAY/MODAL POP-UP ================== */

/* Der halb-transparente Hintergrund */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 45, 58, 0.7); /* Passt zu Ihrem --primary-dark */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
    /* Für den Fade-Effekt */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

/* Die sichtbare Klasse, die per JS hinzugefügt wird */
.custom-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* Die eigentliche Pop-up-Box */
.custom-modal-box {
    background: var(--card-bg, #FFFFFF);
    padding: 40px 50px;
    border-radius: 24px; /* Passt zum Stil Ihrer .main-content-card */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 90%;
    width: 500px;
    
    /* Für den Slide-in-Effekt */
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.custom-modal-overlay.visible .custom-modal-box {
    transform: translateY(0);
}

/* Der Text im Pop-up */
.custom-modal-box p {
    font-size: 18px;
    color: var(--text-light, #4A5568);
    line-height: 1.6;
    margin: 0 0 25px 0;
}

/* Der Schließen-Button */
.custom-modal-box .close-button {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    background-color: var(--primary-dark, #0A2D3A);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-modal-box .close-button:hover {
    background-color: var(--text-dark, #1F2937);
}


/* ================== FOOTER ================== */

.site-footer {
    padding: 40px 20px;
    background-color: var(--page-bg); /* Gleicher hellgrauer Hintergrund wie die Seite */
    color: var(--text-light);
    font-size: 14px;
}

.footer-content {
    max-width: 800px; /* Gleiche Breite wie die zentrale Inhalts-Karte */
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Abstand zwischen Navigation und Copyright-Text */
}

.footer-nav {
    display: flex;
    gap: 25px; /* Abstand zwischen den Links */
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

/* Keine separate responsive Anpassung nötig, da das Design bereits flexibel ist */



.privacy-notice {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 15px;
    line-height: 1.5;
}
.privacy-notice a {
    color: var(--text-dark);
    text-decoration: underline;
}
.privacy-notice a:hover {
    color: var(--primary-dark);
}

/* ================== COOKIE CONSENT BANNER (ANGEPASST) ================== */

/* Der Overlay-Hintergrund */
#cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Hintergrundfarbe von deinem bestehenden Modal übernommen */
    background: rgba(10, 45, 58, 0.7); 
    z-index: 9999;
    display: none; /* Wird per JS auf 'flex' geändert */
    justify-content: center;
    align-items: center;
}

/* Die eigentliche Inhalts-Box, im Stil deiner .main-content-card */
.cookie-consent-content {
    font-family: 'Poppins', sans-serif;
    background-color: var(--card-bg);
    /* Der markante Radius deiner Haupt-Karte */
    border-radius: 24px; 
    /* Ein etwas stärkerer Schatten, damit es über dem Overlay schwebt */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
    /* Großzügiges Padding wie bei deiner Haupt-Karte */
    padding: 40px 50px; 
    max-width: 550px;
    width: 100%;
    text-align: center;
    /* Animation für sanftes Erscheinen */
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.cookie-consent-content h3 {
    font-size: 24px; /* Passend zu .seo-content h2 */
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px 0;
}

.cookie-consent-content p {
    font-size: 16px; /* Etwas kleiner für bessere Lesbarkeit im Modal */
    color: var(--text-light);
    line-height: 1.7; /* Etwas mehr Zeilenabstand */
    margin: 0 0 30px 0;
}

.cookie-consent-content a {
    color: var(--primary-dark); /* Deine Haupt-Akzentfarbe für Links */
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-consent-content a:hover {
    color: var(--text-dark);
}

/* Container für die Buttons */
.cookie-consent-buttons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Wie bei deinem Newsletter-Formular */
    flex-wrap: wrap; /* Für kleinere Bildschirme */
}

/* Allgemeiner Button-Style, angepasst an .submit-button */
.cookie-consent-buttons button {
    font-family: 'Poppins', sans-serif;
    border: 1px solid transparent;
    padding: 14px 28px;
    border-radius: 10px; /* Wie bei deinen anderen Buttons */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-consent-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* "Akzeptieren"-Button (Primäraktion), im Stil deines .submit-button */
#cookie-accept-btn {
    background-color: var(--primary-dark);
    color: white;
}

#cookie-accept-btn:hover {
    background-color: var(--text-dark); /* Dein Hover-Effekt */
}

/* "Ablehnen"-Button (Sekundäraktion), dezent gestaltet */
#cookie-reject-btn {
    background-color: var(--card-bg);
    color: var(--text-light);
    border-color: var(--border-color); /* Deine Standard-Rahmenfarbe */
}

#cookie-reject-btn:hover {
    background-color: var(--page-bg); /* Dein hellgrauer Seitenhintergrund */
    color: var(--text-dark);
    border-color: #d1d5db; /* Etwas dunklerer Rahmen bei Hover */
}


/* ================== RESPONSIVE ANPASSUNG (KORRIGIERT) ================== */

@media (max-width: 680px) {
    /* Passt das Padding des Popups an */
    .cookie-consent-content {
        padding: 30px 25px;
		margin-left: 20px;
		margin-right: 20px;
    }

    /* Stellt die Buttons untereinander */
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }

    /* * KORREKTUR: Diese Regel wurde hinzugefügt.
     * Sie sorgt dafür, dass die Buttons im gestapelten Zustand 
     * die volle verfügbare Breite einnehmen.
    */
    .cookie-consent-buttons button {
        width: 100%;
    }
}