/* =========================================
   1. BASIS & RESET
   ========================================= */
:root {
    --bg-color: #f4f4f4;
    --text-color: #333;
    --card-bg: #fff;
    --primary-color: #3E5245;
    /* Das markante Pink/Rot */
    --secondary-color: #2a2a2a;
    /* Dunkles Grau für Kontraste */
    --border-color: #e0e0e0;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--secondary-color);
    line-height: 1.2;
}

h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
}

/* =========================================
   2. LAYOUT-CONTAINER
   ========================================= */
.main-container {
    max-width: 800px;
    margin: 0 auto;
}

.center {
    text-align: left;
}

/* =========================================
   3. CARD-DESIGN (Die Kacheln)
   ========================================= */
.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Mobil: Untereinander */
    border: 1px solid var(--border-color);
}

.card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.card-txt {
    padding: 20px;
}

/* Desktop-Ansicht (ab 600px) */
@media (min-width: 600px) {
    .card {
        flex-direction: row;
        /* Nebeneinander */
        align-items: flex-start;
        /* WICHTIG: Bild klebt OBEN, nicht Mitte */
    }

    .card-img {
        width: 40%;
        max-width: 300px;
        align-self: stretch;
        /* Bild zieht sich auf volle Höhe, wenn nötig */
        min-height: 100%;
    }

    /* Quadratische Bilder bleiben quadratisch */
    .card-img-square {
        width: 300px;
        height: 300px;
        align-self: flex-start;
        /* Quadrat klebt oben links */
        flex-shrink: 0;
        /* Verhindert Stauchen */
    }

    .card-txt {
        width: 60%;
        padding: 30px 40px;
    }
}

/* =========================================
   4. SOCIAL MEDIA BUTTONS (Bunte Icons)
   ========================================= */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff !important;
    /* Textzwang auf Weiß */
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.2s, opacity 0.2s;
}

.social-btn svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    fill: currentColor;
}

.social-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
    text-decoration: none;
}

/* Farben */
.btn-home {
    background-color: #444;
}

.btn-instagram {
    background-color: #E1306C;
}

.btn-youtube {
    background-color: #FF0000;
}

.btn-tiktok {
    background-color: #000;
}

.btn-whatsapp {
    background-color: #25D366;
}

/* =========================================
   5. CTA ACTION BAR (Newsletter & Orakel)
   ========================================= */
.cta-action-bar {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    padding: 0;
}

.cta-inner-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    /* Mobil umbrechen */
}

/* Basis-Button-Style für die CTA-Bar */
.cta-button {
    flex: 1;
    /* Beide Buttons gleich breit */
    min-width: 220px;
    padding: 12px 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cta-button svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: currentColor;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Primär: Newsletter (Pink) */
.primary-action {
    background-color: var(--primary-color);
    color: #fff !important;
    border: 2px solid var(--primary-color);
}

/* Sekundär: Orakel (Weiß mit Pinkem Rand) */
.secondary-action {
    background-color: #fff;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.secondary-action:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* =========================================
   7. IN-CONTENT BUTTONS
   ========================================= */
.cta-mail,
.cta-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.cta-mail {
    background-color: var(--primary-color);
    color: #fff !important;
    border: 2px solid var(--primary-color);
}

.cta-mail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.cta-link {
    background-color: #fff;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.cta-link:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

.card-txt {
    padding: 20px;
}

/* Desktop-Ansicht (ab 600px) */
@media (min-width: 600px) {
    .card {
        flex-direction: row;
        /* Nebeneinander */
        align-items: flex-start;
        /* WICHTIG: Bild klebt OBEN, nicht Mitte */
    }

    .card-img {
        width: 40%;
        max-width: 300px;
        align-self: stretch;
        /* Bild zieht sich auf volle Höhe, wenn nötig */
        min-height: 100%;
    }

    /* Quadratische Bilder bleiben quadratisch */
    .card-img-square {
        width: 300px;
        height: 300px;
        align-self: flex-start;
        /* Quadrat klebt oben links */
        flex-shrink: 0;
        /* Verhindert Stauchen */
    }

    .card-txt {
        width: 60%;
        padding: 30px 40px;
    }
}

/* =========================================
   4. SOCIAL MEDIA BUTTONS (Bunte Icons)
   ========================================= */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff !important;
    /* Textzwang auf Weiß */
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.2s, opacity 0.2s;
}

.social-btn svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    fill: currentColor;
}

.social-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
    text-decoration: none;
}

/* Farben */
.btn-home {
    background-color: #444;
}

.btn-instagram {
    background-color: #E1306C;
}

.btn-youtube {
    background-color: #FF0000;
}

.btn-tiktok {
    background-color: #000;
}

.btn-whatsapp {
    background-color: #25D366;
}

/* =========================================
   5. CTA ACTION BAR (Newsletter & Orakel)
   ========================================= */
.cta-action-bar {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    padding: 0;
}

.cta-inner-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    /* Mobil umbrechen */
}

/* Basis-Button-Style für die CTA-Bar */
.cta-button {
    flex: 1;
    /* Beide Buttons gleich breit */
    min-width: 220px;
    padding: 12px 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cta-button svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: currentColor;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Primär: Newsletter (Pink) */
.primary-action {
    background-color: var(--primary-color);
    color: #fff !important;
    border: 2px solid var(--primary-color);
}

/* Sekundär: Orakel (Weiß mit Pinkem Rand) */
.secondary-action {
    background-color: #fff;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.secondary-action:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* =========================================
   7. IN-CONTENT BUTTONS
   ========================================= */
.cta-mail,
.cta-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.cta-mail {
    background-color: var(--primary-color);
    color: #fff !important;
    border: 2px solid var(--primary-color);
}

.cta-mail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.cta-link {
    background-color: #fff;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.cta-link:hover {
    background-color: var(--primary-color);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* =========================================
   6. FOOTER & SPECIALS
   ========================================= */
/* Footer zwingend zentriert und untereinander */
#main-footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    gap: 15px;
}

.footer-links {
    margin-bottom: 5px;
}

#main-footer a {
    margin: 0 8px;
    color: #666;
    font-size: 0.9rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

.footer-disclaimer {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #888;
    max-width: 600px;
    opacity: 0.8;
}