/* CSS for Energiealltag */
/* Using strict class-based styling without the * selector */

.body-container {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: #0a0f18;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.ad-top-banner {
    background: linear-gradient(90deg, #16213e 0%, #0f3460 100%);
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #00ffcc;
    position: relative;
    z-index: 1000;
}

.main-header {
    background: rgba(10, 15, 24, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    letter-spacing: -1px;
}

.logo-accent {
    color: #00ffcc;
}

.main-nav {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.nav-link:hover {
    color: #00ffcc;
    transform: translateY(-2px);
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.hero-section {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-container {
    width: 100%;
    max-width: 900px;
    margin-bottom: 40px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(90deg, #00ffcc, #4d94ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #a0a0a0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card.featured {
    border-color: #00ffcc;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
}

.product-badge {
    position: absolute;
    top: -15px;
    left: 40px;
    background: #00ffcc;
    color: #0a0f18;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.product-description {
    color: #a0a0a0;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.comparison-box {
    flex-grow: 1;
}

.comp-item {
    margin-bottom: 25px;
}

.comp-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #00ffcc;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.benefit-list, .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item, .feature-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.benefit-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00ffcc;
    font-weight: bold;
}

.feature-item::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #4d94ff;
    font-size: 0.8rem;
}

.cta-button {
    display: block;
    width: 90%;
    max-width: 320px;
    margin: 30px auto 0;
    padding: 16px 24px;
    background: #00ffcc;
    color: #0a0f18;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
}

.cta-button:hover {
    background: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.2);
}

.product-card.featured .cta-button {
    background: linear-gradient(90deg, #00ffcc, #4d94ff);
}

.product-card.featured .cta-button:hover {
    background: #ffffff;
}

.decision-guide {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
}

.guide-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.guide-option {
    background: rgba(10, 15, 24, 0.5);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.option-header {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.option-text {
    color: #a0a0a0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
}

/* Table Section */
.table-section {
    margin-bottom: 80px;
}

.table-container {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(0, 255, 204, 0.05);
    color: #00ffcc;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Tips Section */
.tips-section {
    margin-bottom: 80px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.tip-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tip-card:hover {
    background: rgba(0, 255, 204, 0.05);
    transform: translateY(-5px);
    border-color: #00ffcc;
}

.tip-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 255, 204, 0.15);
    margin-bottom: -15px;
}

.tip-title {
    font-size: 1.25rem;
    color: #00ffcc;
    margin-bottom: 12px;
}

.tip-text {
    font-size: 0.95rem;
    color: #a0a0a0;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 80px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 16px;
}

.faq-question {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.faq-answer {
    color: #a0a0a0;
    font-size: 1rem;
}

.main-footer {
    background: #05080f;
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclosure {
    max-width: 1000px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00ffcc;
}

.copyright {
    color: #555;
    font-size: 0.85rem;
    margin-top: 20px;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.is-active {
    display: flex;
}

.modal-box {
    background: #101620;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

.modal-body {
    color: #e0e0e0;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #00ffcc;
}

.modal-text {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #a0a0a0;
}

.modal-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .header-content {
        padding: 0 20px;
    }
}
