/**
 * Styling für die dynamische Landingpage
 */

/* ===== Grundlegende Styles ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: #333333;
    background-color: #f7f7f7;
}
input, select, button {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}


/* Footer ganz unten positionieren */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 2;
}

.footer {
    margin-top: 80px; /* Großer Abstand zum Hauptinhalt */
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    margin-bottom: 20px;
    font-weight: normal;
    color: #080d11;
}

h1 {
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 10px!important;
}

/* Promo-Text über der Hauptüberschrift */
.book-promo {
    font-family: 'Inter', sans-serif;
    color: rgb(212, 175, 55);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 500;
}

p {
    margin-bottom: 20px;
    text-align: center;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* ===== Header ===== */
.header {
    background: linear-gradient(180deg, #252d5d 0%, #243167 100%);
    color: #ffffff;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    padding: 15px 0 10px 0;
}

.logo{
    align-items: center;
    display: flex;
}

.logo a {
    color: #ffffff;
    text-decoration: none;
}

.logo img {
    height: 20px;
    width: auto;
    align-items: center;
    margin-top: 0 auto;
}

.navigation {
    display: flex;
    align-items: center;
}

/* ===== Hauptbereich ===== */
.main-content {
    padding: 10px 0;
}

.headline-section {
    margin-bottom: 10px;
    text-align: center;
}

.teaser {
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}

.call-to-action {
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 0;
}

.limited-offer-text {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #656565;
    font-weight: bold;
}

.limited-offer-text b {
    color: #0f8b3a;
}

/* ===== Formular ===== */
.form-container {
    margin: 0 auto;
}

.form-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #575757;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.phone-container {
    display: flex;
    width: 100%;
    transition: all 0.3s ease;
}

/* Flag Emojis im Dropdown größer darstellen */
select option {
    font-size: 1.2rem;
}

/* Pulsierende Animation für den Button */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 215, 0, 0.4);
    }
    
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(253, 215, 0, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 215, 0, 0);
    }
}

.submit-button {
    background: linear-gradient(180deg, #FFE057 0%, #FDD700 100%);
    color: #000000;
    border: 1px solid #eccf4f;
    border-radius: 4px;
    padding: 25px 25px;
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'DM Serif Display', serif;
    font-weight: 600;
    width: 100%;
    animation: pulse 2s infinite;
}

.submit-button:hover {
    background: linear-gradient(180deg, #FDD700 30%,rgb(250, 197, 105) 100%);    
    border: 1px solid #ffc739;    
    animation: none;
}

/* ===== Meldungen ===== */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #2ecc71;
    color: #ffffff;
}

.alert-danger {
    background-color: #e74c3c;
    color: #ffffff;
}

/* ===== Footer ===== */
.footer {
    background-color: #f7f7f7;
    color: #858585;
    padding: 30px 0;
    text-align: left;
    margin-top: 150px;
    font-size: 14px;
    line-height: 1.5;
}

.footer a {
    color: #858585;
    text-decoration: none;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #007bff;
    text-decoration: underline;
}

.footer-disclaimer {
    margin-top: 10px;
}

.collapsible-content {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid #ddd;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    max-height: 300px;
    overflow-y: auto;
}

.toggle-disclaimer {
    cursor: pointer;
}

.copyright {
    margin-bottom: 15px;
    font-weight: bold;
}

.disclaimer-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.disclaimer-text, .sms-disclaimer {
    margin-bottom: 15px;
}

.disclaimer-link {
    color: #adadad;
    text-decoration: none;
}

.disclaimer-link:hover {
    text-decoration: underline;
}

.bonus-info {
    font-style: italic;
    margin-top: 15px;
}


/* ===== Responsive Styles ===== */
@media screen and (max-width: 767px) {

    html {
        height: 100%;
    }
    
    body {
        min-height: 100%;
        position: relative;
    }
    
    .footer {
        width: 100%;
        margin-top: 150px;
        text-align: left;
        position: relative;
        bottom: 0;
        font-size: 14px;
    }

    h1 {
        font-size: 1.6rem;
    }
    .header-container {
        padding: 8px 0 5px 0;
    }
    
    .navigation a {
        margin-left: 10px;
        margin-right: 10px;
    }

    .teaser {
        font-size: 1rem;
    }
    .call-to-action {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 10px;
    }
}
/* Zweispaltiges Layout */
.main-content .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Erste Spalte für das Bild */
.image-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.report-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Zweite Spalte für Text und Formular */
.content-column {
    flex: 1;
}


/* Responsive Design für mobile Geräte */
@media (max-width: 768px) {
    .main-content .container {
        flex-direction: column;
    }
    
    .image-column, .content-column {
        flex: 1 1 100%;
        width: 100%;
    }
}


/* Zusätzlicher Abstand auf Mobilgeräten */
@media (max-width: 768px) {
    .footer {
        margin-top: 100px;
    }
    .report-image {
        max-width: 250px;
    }
    .main-content .container {
        gap: 5px;
        padding-top: 10px;
    }
    .form-container, .content-column {
        max-width: 500px;
    }
}

/* ===== Zentriertes Layout für Newsletter ===== */
.centered-container {
    max-width: 600px !important;
    flex-direction: column;
    gap: 30px;
}

.centered-content {
    width: 100%;
    max-width: 600px;
}

.centered-content .headline-section {
    margin-bottom: 30px;
}

.centered-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px !important;
}

.centered-content .teaser {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Profilbild Styling */
.profile-image-container {
    text-align: center;
    margin-bottom: 25px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Double-Opt-In Hinweis */
.double-optin-notice {
    margin-top: 15px;
    text-align: center;
    color: #666;
    line-height: 1.4;
}

.double-optin-notice small {
    font-size: 0.85rem;
}

/* Hilfetext unter Eingabefeldern (analog page-home.hbs) */
.help-text {
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
    display: none;
}

/* Hilfe anzeigen, wenn die Gruppe fokussiert ist */
.form-group:focus-within .help-text {
    display: block;
}

/* Hilfe bei Fehlerzustand ausblenden */
.form-group.error .help-text {
    display: none !important;
}

/* Abonnenten-Info Styling */
.subscriber-info {
    margin-top: 25px;
    text-align: center;
}

.subscriber-info p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* Responsive für zentriertes Layout */
@media (max-width: 768px) {
    .centered-content h1 {
        font-size: 2rem;
    }
    
    .centered-content .teaser {
        font-size: 1.1rem;
    }
    
    .subscriber-info p {
        font-size: 1rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .double-optin-notice small {
        font-size: 0.8rem;
    }
}

/* ===== Erfolg-Only Ansicht nach Eintragung ===== */
.success-only {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.success-content h1,
.success-content h2 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    margin-bottom: 20px;
    font-size: 2rem;
    line-height: 1.2;
}

.success-content p {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin-bottom: 12px;
    color: #333;
}

.success-content .tip {
    background-color: #f5f7fa;
    padding: 12px 16px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 16px;
}