/* ==========================================
   Heidschnucke.net - Modern Glassmorphism Design
   ========================================== */

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

:root {
    --primary-color: #5a7d3f;
    --secondary-color: #7a6150;
    --accent-color: #c4976d;
    --text-dark: #1a1a1a;
    --text-light: #ECF0F1;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --white: #FFFFFF;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-gradient);
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================
   Glassmorphism Utility Classes
   ========================================== */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* ==========================================
   Header & Navigation
   ========================================== */

header {
    background: rgba(90, 125, 63, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(90, 125, 63, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    margin-top: 70px;
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('../images/hero-heidschnucken.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    font-weight: 300;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 3rem;
    background: rgba(196, 151, 109, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: rgba(196, 151, 109, 1);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   Sections
   ========================================== */

section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================
   Info Cards with Glassmorphism
   ========================================== */

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.5);
}

.info-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* ==========================================
   Content with Image
   ========================================== */

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

.content-box {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.content-text h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-text p {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.content-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-text li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #555;
}

.content-text li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.content-image {
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

/* ==========================================
   E-Book Promo with Glassmorphism
   ========================================== */

.ebook-promo {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    padding: 4rem;
    color: white;
    text-align: center;
    margin: 5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.ebook-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: pulse 15s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

.ebook-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.ebook-promo h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.ebook-promo p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.ebook-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.ebook-feature {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.ebook-feature i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 2rem 0;
}

.price-tag .old-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1.5rem;
}

/* ==========================================
   Products with Glassmorphism
   ========================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.5);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.affiliate-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(196, 151, 109, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.product-content {
    padding: 1.5rem;
}

.product-content h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.product-button:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* ==========================================
   Blog Cards with Glassmorphism
   ========================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.5);
}

.blog-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.blog-meta i {
    margin-right: 0.3rem;
}

.blog-content h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 1rem;
}

/* ==========================================
   AdSense Placeholder
   ========================================== */

.ad-space {
    background: rgba(245, 245, 245, 0.6);
    backdrop-filter: blur(10px);
    border: 2px dashed #ccc;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
    color: #888;
}

/* ==========================================
   Newsletter with Glassmorphism
   ========================================== */

.newsletter {
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(31, 38, 135, 0.3);
    margin: 5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.newsletter-form button {
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* ==========================================
   Gallery with Glassmorphism
   ========================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ==========================================
   Footer with Glassmorphism
   ========================================== */

footer {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
}

/* ==========================================
   Animations
   ========================================== */

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* ==========================================
   Responsive Design - Tablet
   ========================================== */

@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .content-with-image {
        gap: 3rem;
    }
    
    .ebook-promo {
        padding: 3rem 2rem;
    }
    
    .ebook-promo h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 968px) {
    nav {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(90, 125, 63, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .subtitle {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-with-image.reverse {
        direction: ltr;
    }
    
    .content-image {
        height: 350px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .ebook-features {
        gap: 1.5rem;
    }
}

/* ==========================================
   Responsive Design - Mobile
   ========================================== */

@media (max-width: 600px) {
    section {
        padding: 3rem 1.5rem;
    }
    
    .hero {
        height: 80vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .info-card,
    .product-card,
    .blog-card {
        padding: 1.5rem;
    }
    
    .content-text h3 {
        font-size: 1.8rem;
    }
    
    .content-text p,
    .content-text li {
        font-size: 1rem;
    }
    
    .ebook-promo {
        padding: 2rem 1.5rem;
    }
    
    .ebook-promo h2 {
        font-size: 2rem;
    }
    
    .ebook-promo p {
        font-size: 1.1rem;
    }
    
    .ebook-features {
        gap: 1rem;
    }
    
    .price-tag {
        font-size: 2rem;
    }
    
    .newsletter {
        padding: 2rem 1.5rem;
    }
    
    .newsletter h3 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 280px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .product-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Print Styles
   ========================================== */

@media print {
    header,
    .cta-buttons,
    .ad-space,
    .newsletter,
    footer {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .glass,
    .glass-strong {
        background: white;
        border: 1px solid #ddd;
    }
}