/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #0f172a;
    color: #fff;
}

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

.header {
    padding: 20px 0;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 20px;
    color: #cbd5f5;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}

.primary {
    background: #3b82f6;
    color: #fff;
}

.grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.grid.small {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.card {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
}

.card:hover {
    background: #334155;
}

.calc-box {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-box input {
    padding: 10px;
    border-radius: 6px;
    border: none;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #94a3b8;
}

/* TILFØJ I style.css */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 14px;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-cta {
    margin-left: 20px;
}

.burger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.faq-item {
    border-bottom: 1px solid #334155;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #cbd5e1;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-bottom: 15px;
}

.icon {
    transition: transform 0.3s ease;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0f172a;
        flex-direction: column;
        padding: 20px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .burger {
        display: block;
    }

    .nav-cta {
        display: none;
    }
}