/* LEUCHTTURM THEME - CUSTOM STYLES */

:root {
    --primary-color: #f39c12;
    --secondary-color: #e67e22;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --light-text: #ffffff;
    --gray-text: #a8a8a8;
}

/* Hero Section */
.leuchtturm-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--light-text);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.leuchtturm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(243, 156, 18, 0.1) 0%, transparent 70%);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-lighthouse {
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 0 20px rgba(243, 156, 18, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background: var(--light-text);
    color: var(--dark-bg);
}

/* Feature Grid */
.feature-grid {
    padding: 5rem 2rem;
    background: #fff;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Latest Posts */
.latest-posts {
    padding: 5rem 2rem;
    background: #fafafa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-bg);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.post-card-image-link {
    display: block;
    overflow: hidden;
}

.post-card-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.post-card:hover .post-card-image {
    transform: scale(1.05);
}

.post-card-content {
    padding: 2rem;
}

.post-card-tags {
    margin-bottom: 0.8rem;
}

.post-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.post-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-card-title a {
    color: var(--dark-bg);
    text-decoration: none;
    transition: color 0.3s;
}

.post-card-title a:hover {
    color: var(--primary-color);
}

.post-card-excerpt {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.post-card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--light-text);
    padding: 5rem 2rem;
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

[data-members-form] {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-input {
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    width: 100%;
    max-width: 350px;
    transition: all 0.3s;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.btn-newsletter {
    padding: 1.2rem 2.5rem;
    background: var(--primary-color);
    color: var(--light-text);
}

.newsletter-note {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* Stats Section */
.stats-section {
    padding: 5rem 2rem;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-card {
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    [data-members-form] {
        flex-direction: column;
    }
    
    .newsletter-input,
    .btn-newsletter {
        width: 100%;
    }
}

/* Stats Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number {
    animation: countUp 0.8s ease-out;
}
/* NEWSLETTER FREQUENCY SELECTOR */

.newsletter-frequency {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.frequency-option {
    display: block;
    cursor: pointer;
}

.frequency-option input[type="radio"] {
    display: none;
}

.frequency-label {
    display: block;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s;
    min-width: 180px;
    text-align: center;
}

.frequency-label strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.frequency-label small {
    display: block;
    opacity: 0.8;
    font-size: 0.9rem;
}

.frequency-option input[type="radio"]:checked + .frequency-label {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* SHOP BUTTON */
.btn-tertiary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-tertiary:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .newsletter-frequency {
        flex-direction: column;
    }
    
    .frequency-label {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input,
    .btn-newsletter {
        width: 100%;
    }
}
