
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}
html {
    scroll-padding-top: 110px;
}
html,
body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI',sans-serif;
    background: #f8f5ef;
    color: #333;
}
.app-navbar {
    background: #2f2f2f;
    padding: 14px 24px;
    box-shadow: 0 4px 18px rgba(0,0,0,.22);
    position: relative;
    z-index: 20;
}

    .app-navbar .navbar-brand {
        color: #ffffff;
        font-weight: 600;
        letter-spacing: .3px;
    }

        .app-navbar .navbar-brand:hover {
            color: #ffffff;
        }

    .app-navbar .nav-link {
        color: #eeeeee;
        padding: 10px 16px;
        text-decoration: none;
    }

        .app-navbar .nav-link:hover,
        .app-navbar .nav-link:focus,
        .app-navbar .nav-link:active {
            color: #eeeeee;
            background: transparent;
            text-decoration: none;
        }

    .app-navbar .navbar-toggler {
        border-color: rgba(255,255,255,.35);
    }

        .app-navbar .navbar-toggler:focus {
            box-shadow: none;
        }

    .app-navbar .navbar-toggler-icon {
        filter: invert(1);
    }

.nav-reset {
    opacity: .65;
}
.app-navbar .nav-link {
    color: #eeeeee;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: 14px;
    transition: background-color .25s ease, transform .20s ease, box-shadow .25s ease;
}


    .app-navbar .nav-link:hover {
        color: white;
        background: rgba(255,255,255,.14);
        box-shadow: 0 6px 18px rgba(0,0,0,.20);
        transform: translateY(-1px);
        text-decoration: none;
    }
@media (max-width: 991px) {

    .app-navbar {
        position: relative;
        z-index: 50;
    }

        .app-navbar .navbar-collapse,
        .app-navbar .navbar-collapse.collapsing,
        .app-navbar .navbar-collapse.show {
            position: absolute !important;
            top: 100%;
            left: 12px;
            right: 12px;
            background: #2f2f2f;
            border-radius: 0 0 24px 24px;
            padding: 16px;
            box-shadow: 0 20px 45px rgba(0,0,0,.40);
            z-index: 100;
        }

            .app-navbar .navbar-collapse.collapsing {
                height: auto !important;
                display: block !important;
                transition: none !important;
            }

            .app-navbar .navbar-collapse.show {
                animation: menuSlideDown .22s ease-out;
            }

        .app-navbar .navbar-nav {
            gap: 8px;
        }

        .app-navbar .nav-link {
            margin: 5px 0;
            padding: 14px 18px;
            border-radius: 16px;
            color: #eeeeee;
            display: flex;
            align-items: center;
        }

            .app-navbar .nav-link:hover {
                background: rgba(255,255,255,.15);
                color: white;
                transform: none;
            }

            .app-navbar .nav-link i {
                width: 24px;
                margin-right: 10px;
                text-align: center;
            }

    @keyframes menuSlideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
.content-page {
    width: 70%;
    margin: 0 auto;
    padding: 48px 0;
}

.section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 36px;
}

    .section-nav a {
        padding: 12px 18px;
        border-radius: 999px;
        background: #ffffff;
        color: #333;
        text-decoration: none;
        box-shadow: 0 8px 22px rgba(0,0,0,.08);
        transition: transform .15s ease, box-shadow .15s ease;
    }

        .section-nav a:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(0,0,0,.14);
        }

.info-section-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-section-card {
    scroll-margin-top: 120px;
    display: flex;
    overflow: hidden;
    border-radius: 28px;
    background: white;
    box-shadow: 0 18px 45px rgba(0,0,0,.10);

}

.info-section-image {
    width: 34%;
    min-height: 220px;
    object-fit: cover;
}

.info-section-content {
    padding: 34px;
    flex: 1;
}

    .info-section-content h2 {
        margin-bottom: 14px;
    }

@media (max-width: 768px) {
    .content-page {
        width: 100%;
        padding: 28px 16px;
    }

    .section-nav {
        justify-content: center;
    }

    .info-section-card {
        flex-direction: column;
    }

    .info-section-image {
        width: 100%;
        min-height: 190px;
    }
}
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('/images/sommerhus.jpg');
    background-size: cover;
}

.language-card {
    display: block;
    margin: 15px;
    padding: 25px;
    background: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 10px 30px #ddd;
}

.card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    margin: 20px;
}

.language-footer,
.site-footer {
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.language-footer {
    height: 100px;
    min-height: 100px;
    background: #2f2f2f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.site-footer {
    min-height: 55px;
    background: #1f1f1f;
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
}

.flag-button {
    width: 52px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .flag-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0,0,0,.35);
    }

    .flag-button.active {
        outline: 3px solid white;
        transform: scale(1.12);
    }
.page-hero::before,
.login-hero::before {
    pointer-events: none;
}

.page-hero {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: clip;
    display: block;
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient( rgba(255,255,255,.55), rgba(255,255,255,.55) ), var(--hero-image);
        background-size: cover;
        background-position: center;
        transform: scale(1);
        animation: kenburns 15s ease-out forwards;
        z-index: 0;
    }

    .page-hero > * {
        position: relative;
        z-index: 1;
    }
.info-inline-image {
    display: block;
    width: min(100%, 720px);
    height: auto;
    margin: 26px auto;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

.info-text {
    white-space: pre-line;
}
.login-hero {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


    .login-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient( rgba(255,255,255,.55), rgba(255,255,255,.55) ), var(--hero-image);
        background-size: cover;
        background-position: center;
        animation: kenburns 15s ease-out forwards;
        z-index: 0;
    }


    .login-hero > * {
        position: relative;
        z-index: 1;
    }

/* Loginboksen skal ligge ovenpå */
.login-box {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 420px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    text-align: center;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 620px;
}

    .contact-form .form-control {
        border-radius: 14px;
        padding: 14px 16px;
    }
.contact-success {
    max-width: 500px;
    margin: 30px auto;
    padding: 35px;
    text-align: center;
    background: rgba(255,255,255,.85);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
}


    .contact-success i {
        font-size: 48px;
        margin-bottom: 18px;
    }

/* Bevægelsen */
@keyframes kenburns {


    0% {
        transform: scale(1);
        background-position: center center;
    }


    100% {
        transform: scale(1.12);
        background-position: 55% 45%;
    }
}
.contact-success {
    animation: successPop .5s ease-out;
}


@keyframes successPop {

    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.waste-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}


    .waste-list li {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-bottom: 18px;
        padding: 16px 20px;
        background: rgba(0,0,0,.035);
        border-radius: 18px;
    }


    .waste-list img {
        width: 54px;
        height: 54px;
        object-fit: contain;
        flex-shrink: 0;
    }


    .waste-list strong {
        font-size: 18px;
    }
.info-map-box {
    margin: 28px auto;
    width: min(100%, 820px);
}

    .info-map-box iframe {
        width: 100%;
        height: 420px;
        border: 0;
        border-radius: 24px;
        box-shadow: 0 14px 36px rgba(0,0,0,.16);
    }

.info-map-description {
    margin-top: 12px;
    text-align: center;
    font-size: 15px;
    opacity: .8;
}
.info-map-box {
    overflow: hidden;
    border-radius: 24px;
}

    .info-map-box iframe {
        margin-top: -70px;
        height: 500px;
    }
.privacy-link {
    color: #ddd;
    text-decoration: none;
}

    .privacy-link:hover {
        color: #fff;
        text-decoration: underline;
    }

.privacy-modal {
    border-radius: 24px;
    overflow: hidden;
}

.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    max-width: 860px;
    margin: 0 auto;
    background: rgba(31,31,31,.96);
    color: #fff;
    padding: 18px 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

    .cookie-consent a {
        color: #fff;
        text-decoration: underline;
    }

    .cookie-consent button {
        border: 0;
        border-radius: 999px;
        padding: 10px 24px;
        background: white;
        color: #222;
        font-weight: 600;
    }

@media(max-width: 600px) {
    .cookie-consent {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}