/* ==========================================================================
   KRYPTOMIT.DE - THE SOFT, RELAXED THEME
   ========================================================================== */

:root {
    /* Soft Pastel Palette */
    --bg-main: #f0f9ff; /* Very soft sky blue */
    --bg-card: #ffffff;
    --text-main: #334155; /* Slate grey, softer than black */
    --text-muted: #64748b;
    --accent-yellow: #fbbf24; /* Warm sun yellow */
    --accent-blue: #38bdf8;
    
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100vw;
}

p, h1, h2, h3, h4, h5, h6, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

body {
    overflow-x: clip;
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

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

.text-center {
    text-align: center;
}

/* --- HEADER --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
}

.site-logo-img {
    height: 40px; 
    width: auto;  
    display: block;
}

/* Mobile tweak for the logo */
@media (max-width: 768px) {
    .site-logo-img {
        height: 32px; 
    }
}

/* ==========================================================================
   SEO REVIEWS (LONG FORM)
   ========================================================================== */
.seo-reviews-section {
    padding: 60px 0 100px 0;
    background-color: var(--bg-main); /* Hält den Hintergrund weich */
}

.seo-review-article {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    border-top: 4px solid var(--accent-blue);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.review-header h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin: 0;
}

.text-link {
    font-weight: 800;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 10px;
    background-color: #f0f9ff;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.text-link:hover {
    background-color: #e0f2fe;
}

.review-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.review-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   FAT FOOTER & CONTACT FORM
   ========================================================================== */
.expanded-footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-about h3, .footer-contact h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Light Contact Form Styling */
.lite-contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lite-contact-form input,
.lite-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    background-color: #f8fafc;
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lite-contact-form input:focus,
.lite-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    background-color: #ffffff;
}

.submit-btn {
    background-color: var(--accent-blue);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #0284c7;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.mt-3 {
    margin-top: 20px;
}

.form-status {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.form-status.success {
    color: #10b981; /* Entspanntes, weiches Grün */
    background-color: #d1fae5;
    padding: 10px;
    border-radius: 8px;
}

.form-status.error {
    color: #ef4444; /* Weiches Rot */
    background-color: #fee2e2;
    padding: 10px;
    border-radius: 8px;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 40px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    margin-left: 20px;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--accent-blue);
}

/* --- HERO --- */
.hero-section {
    padding: 80px 0 60px 0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- IMAGES --- */
.photo-break {
    padding: 20px 0;
}

.rounded-image {
    width: 100%;
    border-radius: var(--radius-xl);
    display: block;
    object-fit: cover;
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

/* --- SECTIONS --- */
.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 40px;
}

.bg-light-blue {
    background-color: #e0f2fe; /* Slightly darker than main bg for contrast */
    border-radius: 40px;
    margin: 0 10px;
}

/* --- CARDS --- */
.text-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.text-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--accent-blue);
}

.text-card p {
    margin-bottom: 25px;
}

.text-card p:last-child {
    margin-bottom: 0;
}

/* --- RADAR GRID --- */
.radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.weather-card {
    background-color: var(--bg-card);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.weather-card:hover {
    transform: translateY(-5px);
}

.weather-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.weather-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.weather-status {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    background-color: #fef9c3;
    padding: 4px 10px;
    border-radius: 20px;
}

/* --- PASTEL AD BANNERS (BROKERS) --- */
.pastel-ad-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.pastel-ad-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.15);
}

.ad-logo {
    flex: 0 0 120px;
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-logo img {
    max-width: 100%;
    height: auto;
}

.ad-text {
    flex: 1;
}

.ad-text h4 {
    color: var(--text-main);
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.ad-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.ad-cta {
    font-weight: 800;
    color: var(--accent-blue);
    font-size: 0.9rem;
}

/* --- FOOTER --- */
.site-footer {
    padding: 60px 0 40px 0;
    margin-top: 40px;
}

.site-footer h3 {
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 700;
}

.disclaimer {
    font-size: 0.8rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    /* Hide desktop nav */
    .main-nav {
        display: none; 
    }

    /* Shrink Hero & Headers */
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 50px 0 30px 0; /* Reduced from 80px */
    }

    /* Shrink massive vertical section paddings */
    .content-section {
        padding: 50px 0;
    }
    .seo-reviews-section {
        padding: 40px 0 60px 0;
    }
    .expanded-footer {
        padding: 40px 0 20px 0;
    }

    /* Fix the "Padding Trap" on Cards */
    .text-card, 
    .seo-review-article,
    .weather-card {
        padding: 20px; /* Reduced from 40px/30px to save horizontal space */
    }

    /* Fix the Light Blue Section Margin Trap */
    .bg-light-blue {
        margin: 0;
        border-radius: 20px; /* Softer curve on mobile */
    }

    /* Stack the Ad Banners neatly */
    .pastel-ad-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .ad-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }

    /* Stack Footer and SEO Reviews */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Give the grid items a bit less gap on small screens */
    .radar-grid {
        gap: 15px;
    }
}
