:root {
    --dark: #123b3e;
    --dark-2: #183f42;
    --green: #4d9a91;
    --green-dark: #397f78;
    --light-green: #edf7f5;
    --cream: #f7f8f7;
    --text: #18383d;
    --muted: #52676b;
    --white: #fff;
    --border: #e3e8e7;
    --shadow: 0 5px 18px rgba(20, 55, 58, .10);
    --radius: 9px;

    /* Ny hovedbredde */
    --page-width: 1450px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 90px;
    background: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eef0ef;
}

.header-inner {
    width: min(var(--page-width), calc(100% - 70px));
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 285px;
}

.logo-paw {
    width: 55px;
    height: 55px;
    color: var(--dark);
    flex: 0 0 auto;
}

.logo-name {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1.3px;
    line-height: 1;
    color: var(--dark);
}

.logo-name span {
    color: var(--green);
    font-weight: 500;
}

.logo-tagline {
    margin-top: 5px;
    font-size: 12px;
    color: #53676a;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 14px;
    color: #263f42;
}

.main-nav a {
    padding: 9px 0;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav .active {
    color: var(--dark);
}

.main-nav .active {
    border-bottom: 1px solid var(--dark);
}
.nav-dropdown {
    position: relative;
}

/* Selve "Racer"-knappen */
.nav-dropdown-button {
    appearance: none;
    -webkit-appearance: none;

    border: 0;
    background: transparent;

    margin: 0;
    padding: 9px 0;

    font-family: inherit;
    font-size: 14px;
    line-height: normal;

    color: #263f42;

    cursor: pointer;
}

.nav-dropdown-button:hover {
    color: var(--dark);
}


/* Den lille pil */
.dropdown-arrow {
    display: inline-block;

    margin-left: 5px;

    font-size: 13px;
    line-height: 1;

    transition: transform .2s ease;
}


/* Dropdown-menuen */
.race-dropdown {
    position: absolute;

    top: 100%;
    left: 50%;

    width: 210px;

    margin-top: 6px;

    transform: translateX(-50%);

    background: #fff;

    border: 1px solid #e1e7e5;
    border-radius: 8px;

    box-shadow: 0 8px 24px rgba(20, 55, 58, .16);

    padding: 7px 0;

    display: none;

    z-index: 1000;
}


/* Når menuen er åben */
.nav-dropdown.open .race-dropdown {
    display: block;
}


/* Pil drejes når menuen er åben */
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}


/* Punkterne */
.race-dropdown a {
    display: block;

    padding: 10px 17px;

    color: var(--dark);

    font-size: 13px;
    line-height: 1.2;

    white-space: nowrap;
}

.race-dropdown a:hover {
    background: var(--light-green);
    color: var(--green-dark);
}




.nav-dropdown {
    position: relative;
}

.nav-dropdown-button {
    border: 0;
    background: none;
    padding: 9px 0;

    font-family: inherit;
    font-size: 14px;
    color: #263f42;

    cursor: pointer;
}

.nav-dropdown-button:hover {
    color: var(--dark);
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: 14px;

    transition: transform .2s ease;
}


/* Dropdown-menu */

/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-nav {
    display: none;
}

.mobile-menu {
    display: none;

    border: 0;
    background: transparent;

    padding: 5px;

    font-size: 29px;
    line-height: 1;

    color: var(--dark);

    cursor: pointer;
}


/* Kun på mindre skærme */

@media (max-width: 850px) {

    .mobile-menu {
        display: block;
    }

    .mobile-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;

        background: #fff;

        border-top: 1px solid #eef0ef;
        border-bottom: 1px solid #dfe6e4;

        box-shadow: 0 8px 20px rgba(20, 55, 58, .12);

        z-index: 2000;

        display: none;
    }

    .mobile-nav.open {
        display: block;
    }

    .mobile-nav > a,
    .mobile-racer-button {
        display: block;

        width: 100%;

        padding: 14px 25px;

        border: 0;
        border-bottom: 1px solid #edf0ef;

        background: #fff;

        color: var(--dark);

        font-family: inherit;
        font-size: 14px;

        text-align: left;

        cursor: pointer;
    }

    .mobile-nav > a:hover,
    .mobile-racer-button:hover {
        background: var(--light-green);
    }


    /* Racer */

    .mobile-racer-button {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-racer-button span {
        font-size: 15px;
        transition: transform .2s ease;
    }

    .mobile-racer.open .mobile-racer-button span {
        transform: rotate(180deg);
    }

    .mobile-race-list {
        display: none;

        background: #f7faf9;
    }

    .mobile-racer.open .mobile-race-list {
        display: block;
    }

    .mobile-race-list a {
        display: block;

        padding: 11px 25px 11px 42px;

        color: #496064;

        font-size: 13px;

        border-bottom: 1px solid #e8edeb;
    }

    .mobile-race-list a:hover {
        background: #edf7f5;
        color: var(--dark);
    }


    /* Log ind / opret profil */

    .mobile-actions {
        display: flex;

        gap: 10px;

        padding: 18px 25px;
    }

    .mobile-actions .btn {
        flex: 1;
        white-space: nowrap;
    }
}


/* På desktop skal mobilmenuen være helt væk */

@media (min-width: 851px) {
    .mobile-nav {
        display: none !important;
    }
}


/* Dropdown links */

.race-dropdown a {
    display: block;

    padding: 10px 17px;

    color: var(--dark);

    font-size: 13px;

    white-space: nowrap;
}

.race-dropdown a:hover {
    background: var(--light-green);
    color: var(--green-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 28px;
    padding: 13px 23px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-outline {
    background: #fff;
    border: 1px solid #6e9c99;
    color: var(--dark);
}

.btn-green {
    background: var(--green);
    color: #fff;
}

.loggedin-btn {
	border: 0;
    cursor: pointer;
    border-radius: 28px;
    padding: 13px 23px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s ease;
}

.loggedin-btn-outline {
	background: #fff;
    border: 1px solid #6e9c99;
    color: var(--dark);
}
.loggedin-btn-green {
	background: var(--green);
    color: #fff;
}

.btn-green:hover {
    background: var(--green-dark);
}

.user-icon {
    width: 18px;
    height: 18px;
}

.mobile-menu {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
    color: var(--dark);
    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 460px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(16, 39, 32, .84) 0%,
            rgba(17, 41, 33, .70) 34%,
            rgba(17, 41, 33, .08) 75%
        ),
        url("./images/banner.jpg")
        center 42% / cover no-repeat;
}

.hero-inner {
    width: min(var(--page-width), calc(100% - 70px));
    min-height: 460px;
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.hero-content {
    width: 650px;
    color: #fff;
    padding: 30px 0;
}

.hero h1 {
    margin: 0 0 10px;

    font-size: clamp(48px, 4.3vw, 68px);
    line-height: .98;
    letter-spacing: -2px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(25px, 2.3vw, 36px);
    line-height: 1.15;
    margin-bottom: 18px;
    font-weight: 400;
}

.hero-text {
    font-size: 18px;
    line-height: 1.45;

    max-width: 570px;
    margin: 0 0 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 14px 24px;
    font-size: 14px;
}

.hero .btn-green {
    background: #4fa69d;
}

.hero .btn-white {
    background: #fff;
    color: var(--dark);
}

.arrow {
    font-size: 20px;
    line-height: 1;
}


/* =========================================================
   BREEDS
   ========================================================= */

.breeds {
    padding: 35px 0 40px;
    background: #fff;
}

.section-inner {
    width: min(var(--page-width), calc(100% - 70px));
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0 0 11px;

    color: var(--dark);
    font-size: 34px;
    letter-spacing: -.8px;
}

.section-heading p {
    margin: 0;

    color: #566b70;
    font-size: 16px;
}

.breed-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.breed-card {
    overflow: hidden;

    background: #fff;
    border: 1px solid #e3e6e5;
    border-radius: 9px;

    box-shadow: var(--shadow);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.breed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(20, 55, 58, .15);
}

.breed-image {
    width: 100%;

    aspect-ratio: 1.25 / 1;

    object-fit: cover;
}

.breed-info {
    padding: 12px 13px 13px;
}

.breed-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.breed-title {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.breed-arrow {
    font-size: 20px;
    color: var(--dark);
}

.breed-counts {
    margin-top: 8px;

    font-size: 12px;
    white-space: nowrap;
    color: #4e6266;
}

.male {
    color: #3189c2;
    font-weight: 700;
}

.female {
    color: #e04d8d;
    font-weight: 700;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features {
    background: #edf7f5;
    padding: 34px 0 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature {
    min-height: 145px;

    padding: 0 45px;
    text-align: center;

    border-right: 1px solid rgba(40, 89, 89, .10);
}

.feature:last-child {
    border-right: 0;
}

.feature-icon {
    width: 44px;
    height: 44px;

    margin: 0 auto 10px;

    color: var(--dark);
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.feature p {
    margin: 0 auto;

    max-width: 270px;

    color: #52686b;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
    padding: 25px 0 28px;
}

.about-inner {
    display: grid;

    grid-template-columns: 450px 1fr;

    align-items: center;

    gap: 45px;
}

.about-image {
    width: 100%;
    height: 190px;

    object-fit: cover;

    border-radius: 9px;
}

.about-copy h2 {
    margin: 0 0 10px;

    font-size: 27px;
    letter-spacing: -.4px;
}

.about-copy p {
    margin: 0 0 16px;

    color: #52666a;

    font-size: 14px;
    line-height: 1.6;

    max-width: 820px;
}

.about-copy .btn {
    padding: 12px 21px;
    font-size: 13px;
}


/* =========================================================
   FOOTER
   ========================================================= */

/* =========================================================
   MINIMAL FOOTER
   ========================================================= */

footer {
    background: var(--dark);
    color: #fff;
    padding: 28px 0 14px;
}

.footer-inner {
    width: min(var(--page-width), calc(100% - 70px));
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* Logo */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #fff;
}

.footer-logo .logo-paw {
    width: 38px;
    height: 38px;
    color: #fff;
}

.footer-logo-name {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.5px;
}

.footer-logo-name span {
    color: #74aaa4;
    font-weight: 500;
}

.footer-logo-tagline {
    margin-top: 4px;

    color: #b9cfcd;
    font-size: 9px;
}


/* Navigation */

.footer-nav {
    display: flex;
    align-items: center;
    gap: 25px;

    font-size: 11px;
    color: #dce8e7;
}

.footer-nav a {
    transition: color .15s ease;
}

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


/* Nederste tekst */

.footer-notice {
    width: min(var(--page-width), calc(100% - 70px));
    margin: 22px auto 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.10);
    text-align: center;
    color: #91aaa8;
    font-size: 12px;
    line-height: 1.4;
}

/* =========================================================
   MOBILE FOOTER
   ========================================================= */

@media (max-width: 700px) {

    .footer-inner {
        width: calc(100% - 30px);

        flex-direction: column;
        align-items: center;

        gap: 22px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
    }

    .footer-notice {
        width: calc(100% - 30px);
    }
}

.social svg {
    width: 22px;
    height: 22px;
}


/* =========================================================
   LARGE SCREENS
   ========================================================= */

/*
   Ved skærme omkring 1600 px eller større bruger siden
   op til 1450 px. Der kommer derfor ca. 75 px luft på
   hver side på en 1600 px skærm.
*/

@media (min-width: 1500px) {

    .header-inner,
    .hero-inner,
    .section-inner,
    .footer-inner {
        width: 1450px;
    }
}


/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1150px) {

    .breed-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        min-height: 430px;
    }

    .hero-inner {
        min-height: 430px;
    }

    .hero-content {
        width: 600px;
    }

    .main-nav {
        gap: 22px;
    }

    .about-inner {
        grid-template-columns: 380px 1fr;
        gap: 30px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .site-header {
        height: 76px;
    }

    .header-inner,
    .section-inner,
    .footer-inner,
    .hero-inner {
        width: calc(100% - 40px);
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: 440px;

        background:
            linear-gradient(
                90deg,
                rgba(13, 37, 31, .86),
                rgba(13, 37, 31, .42)
            ),
            url("https://images.unsplash.com/photo-1518791841217-8f162f1e1131?auto=format&fit=crop&w=1500&q=85")
            center / cover no-repeat;
    }

    .hero-inner {
        min-height: 440px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 27px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .feature:nth-child(2) {
        border-right: 0;
    }

    .feature:nth-child(-n+2) {
        border-bottom: 1px solid rgba(40, 89, 89, .10);
        padding-bottom: 22px;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 240px;
    }

    .footer-inner {
        flex-direction: column;
        padding: 22px 0;
        gap: 16px;
    }
}

/* =========================================================
   LOGIN OVERLAY
   ========================================================= */

.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 35, 34, .62);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 5000;
}
.login-overlay.open {
    display: flex;
}
/* Login-boksen */
.login-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 35px 38px 32px;
    background: #fff;
    border-radius: 10px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .25);
    animation: loginAppear .18s ease-out;
}

@keyframes loginAppear {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Luk-knap */
.login-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #607274;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.login-close:hover {
    color: var(--dark);
}
/* Overskrift */
.login-box h2 {
    margin: 0 0 6px;
    color: var(--dark);
    font-size: 27px;
    letter-spacing: -.5px;
}
.login-intro {
    margin: 0 0 25px;
    color: #66777a;
    font-size: 13px;
}
/* Labels */
.login-box label {
    display: block;
    margin: 0 0 6px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
}
/* Inputfelter */
.login-box input {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 12px 13px;
    border: 1px solid #ccd8d6;
    border-radius: 6px;
    background: #fff;
    color: var(--dark);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}
.login-box input:focus {
    border-color: var(--green);

    box-shadow: 0 0 0 3px rgba(77, 154, 145, .12);
}
.login-box input::placeholder {
    color: #9aa8a9;
}
/* Login-knap */
.login-submit {
    width: 100%;
    margin-top: 3px;
    padding: 13px;
    border: 0;
    border-radius: 25px;
    background: var(--green);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}
.login-submit:hover {
    background: var(--green-dark);
}
/* Glemt adgangskode */

.forgot-password {
    display: block;
    margin-top: 17px;
    text-align: center;
    color: var(--green-dark);
    font-size: 12px;
}



/* Lille skærm */

@media (max-width: 480px) {

    .login-box {
        padding: 32px 25px 27px;
    }
}





/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .header-inner,
    .section-inner,
    .footer-inner,
    .hero-inner {
        width: calc(100% - 30px);
    }

    .logo {
        min-width: 0;
    }

    .logo-paw {
        width: 45px;
        height: 45px;
    }

    .logo-name {
        font-size: 25px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .breed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .breed-info {
        padding: 9px;
    }

    .breed-title {
        font-size: 13px;
    }

    .breed-counts {
        font-size: 10px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .hero {
        min-height: 460px;
    }

    .hero-inner {
        min-height: 460px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-subtitle {
        font-size: 23px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature {
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .breed-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   OPRET PROFIL
   ========================================================= */

.profile-page {
    padding: 50px 20px 60px;
}

.profile-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 28px;
}

.profile-header h1 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 36px;
    letter-spacing: -.8px;
}

.profile-header p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(20, 55, 58, .08);
    padding: 38px 42px 40px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section:last-of-type {
    margin-bottom: 10px;
}

.form-section h2 {
    margin: 0 0 17px;
    padding-bottom: 9px;
    color: var(--dark);
    font-size: 19px;
    border-bottom: 1px solid #e8edeb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.address-row {
    grid-template-columns: 120px 1fr;
}

.address-row .postal-code input {
    width: 100%;
}

.address-row .city input {
    width: 100%;
}

@media (max-width: 850px) {
    .address-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
}

.required {
    color: #c34f61;
}

.form-group input {
    display: block;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #ccd8d6;
    border-radius: 6px;
    background: #fff;
    color: var(--dark);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(77, 154, 145, .12);
}

.form-help {
    margin: 6px 0 0;
    color: #819091;
    font-size: 11px;
    line-height: 1.4;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.checkbox-row input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: var(--green);
}

.checkbox-row label {
    color: #52666a;
    font-size: 12px;
    line-height: 1.45;
}

.checkbox-row a {
    color: var(--green-dark);
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid #e8edeb;
}

.form-submit .btn {
    min-width: 230px;
    padding: 14px 25px;
    font-size: 14px;
}

.existing-account {
    margin: 20px 0 0;
    text-align: center;
    color: #697a7c;
    font-size: 12px;
}

.existing-account a {
    color: var(--green-dark);
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .profile-page {
        padding-top: 35px;
    }

    .profile-header h1 {
        font-size: 31px;
    }

    .profile-card {
        padding: 30px 25px 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


@media (max-width: 500px) {

    .profile-page {
        padding: 28px 15px 40px;
    }

    .profile-header h1 {
        font-size: 28px;
    }

    .profile-header p {
        font-size: 14px;
    }

    .profile-card {
        padding: 25px 20px 28px;
    }

    .form-section h2 {
        font-size: 18px;
    }

    .form-submit .btn {
        width: 100%;
    }
}

/* =========================================================
   BESKED / MESSAGE SIDE
   ========================================================= */

.message-page {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fff;
}

.message-box {
    width: 100%;
    max-width: 650px;
    padding: 45px 50px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(20, 55, 58, .08);
    text-align: center;
}

.message-box h1 {
    margin: 0 0 18px;
    color: var(--dark);
    font-size: 32px;
    letter-spacing: -.5px;
}

.message-box p {
    margin: 0 auto 30px;
    max-width: 520px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.message-box .btn {
    display: inline-block;
    text-decoration: none;
}

/* Mobil */
@media (max-width: 600px) {
    .message-page {
        min-height: 450px;
        padding: 40px 15px;
    }

    .message-box {
        padding: 35px 25px;
    }

    .message-box h1 {
        font-size: 28px;
    }

    .message-box p {
        font-size: 14px;
    }
}


/* =========================================================
   MIN SIDE
   ========================================================= */

.my-page {
    padding: 50px 20px 70px;
}

.my-page-container {
    width: min(var(--page-width), calc(100% - 70px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 35px;

    align-items: start;
}


/* =========================================================
   BRUGERPROFIL
   ========================================================= */

.user-profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(20, 55, 58, .08);
    padding: 30px;
}

.user-profile-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #e8edeb;
}

.user-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-green);
    color: var(--green-dark);
    font-size: 21px;
    font-weight: 600;
}

.user-profile-header h1 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 21px;
}

.user-profile-header p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.user-profile-info {
    padding: 10px 0;
}

.user-info-item {
    padding: 13px 0;
    border-bottom: 1px solid #eef1f0;
}

.user-info-item:last-child {
    border-bottom: none;
}

.user-info-label {
    display: block;
    margin-bottom: 4px;

    color: #849294;
    font-size: 11px;
}

.user-info-value {
    display: block;

    color: var(--dark);
    font-size: 13px;
    word-break: break-word;
}

.user-profile-actions {
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid #e8edeb;
    text-align: center;
}

.user-profile-actions .btn {
    display: inline-block;
    text-decoration: none;
}


/* =========================================================
   KATTE
   ========================================================= */

.cats-section {
    min-width: 0;
}

.cats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.cats-header h2 {
    margin: 0 0 6px;
    color: var(--dark);
    font-size: 27px;
    letter-spacing: -.4px;
}

.cats-header p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.cats-header .btn {
    flex: 0 0 auto;
    text-decoration: none;
}


/* Kattekort */

.cats-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.cat-card {
    display: flex;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(20, 55, 58, .06);
}

.cat-image {
    width: 160px;
    min-width: 160px;
    background: var(--light-green);
}

.cat-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cat-content {
    min-width: 0;
    padding: 20px;
}

.cat-content h3 {
    margin: 0 0 3px;
    color: var(--dark);
    font-size: 18px;
}

.cat-breed {
    margin: 0 0 15px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 600;
}

.cat-details {
    display: flex;
    flex-direction: column;
    gap: 5px;

    color: var(--muted);
    font-size: 11px;
}

.cat-actions {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #edf0ef;
}

.cat-link {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.cat-link:hover {
    text-decoration: underline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .my-page-container {
        width: calc(100% - 40px);
        grid-template-columns: 280px 1fr;
    }

    .cats-list {
        grid-template-columns: 1fr;
    }

    .cat-image {
        width: 180px;
        min-width: 180px;
    }
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 850px) {

    .my-page {
        padding: 35px 0 50px;
    }

    .my-page-container {
        width: calc(100% - 30px);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .user-profile-card {
        padding: 25px;
    }

    .cats-header {
        align-items: flex-start;
    }

    .cats-header h2 {
        font-size: 24px;
    }

    .cats-header .btn {
        white-space: nowrap;
    }
}


@media (max-width: 550px) {

    .cats-header {
        flex-direction: column;
    }

    .cats-header .btn {
        width: 100%;
        text-align: center;
    }

    .cat-card {
        flex-direction: column;
    }

    .cat-image {
        width: 100%;
        min-width: 0;
        height: 220px;
    }

    .cat-content {
        padding: 18px;
    }
}


/* =========================================================
   OPRET KAT
   ========================================================= */

.cat-create-page {
    padding: 50px 20px 70px;
}

.cat-create-container {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.cat-create-header {
    text-align: center;
    margin-bottom: 30px;
}

.cat-create-header h1 {
    margin: 0 0 9px;
    color: var(--dark);
    font-size: 36px;
    letter-spacing: -.7px;
}

.cat-create-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}
/* =========================================================
   FORMULARKORT
   ========================================================= */

.cat-form-card {
    margin-bottom: 25px;
    padding: 30px 35px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(20, 55, 58, .06);
}

.cat-form-card h2 {
    margin: 0 0 23px;
    padding-bottom: 11px;
    color: var(--dark);
    font-size: 20px;
    border-bottom: 1px solid #e8edeb;
}

/* =========================================================
   FELTER
   ========================================================= */

.cat-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.cat-form-group {
    margin-bottom: 18px;
}

.cat-form-group label,
.health-card label {
    display: block;
    margin-bottom: 6px;

    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
}

.cat-form-group input,
.cat-form-group select,
.cat-form-group textarea,
.health-card input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #ccd8d6;
    border-radius: 6px;
    background: #fff;
    color: var(--dark);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.cat-form-group input:focus,
.cat-form-group select:focus,
.cat-form-group textarea:focus,
.health-card input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(77, 154, 145, .12);
}

.cat-form-group textarea {
    resize: vertical;
    line-height: 1.5;
}

.cat-form-short {
    max-width: 280px;
}

/* =========================================================
   SUNDHED
   ========================================================= */

.health-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.health-card {
    padding: 22px;

    background: #f8fbfa;
    border: 1px solid #e1eae8;
    border-radius: 8px;
}

.health-card h3 {
    margin: 0 0 3px;

    color: var(--dark);
    font-size: 16px;
}

.health-card p {
    margin: 0 0 18px;

    color: var(--muted);
    font-size: 11px;
}

.health-card label {
    font-size: 11px;
}

.health-card input {
    margin-bottom: 14px;
    padding: 9px 11px;
    font-size: 13px;
}

/* =========================================================
   BILLEDER
   ========================================================= */

.cat-image-info {
    margin: 0;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================================
   KNAPPER
   ========================================================= */

.cat-form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    padding-top: 5px;
}

.cat-form-buttons .btn {
    min-width: 125px;
    text-align: center;
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .cat-create-page {
        padding: 35px 15px 50px;
    }

    .cat-create-header h1 {
        font-size: 30px;
    }

    .cat-form-card {
        padding: 25px 22px;
    }

    .cat-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .health-grid {
        grid-template-columns: 1fr;
    }

    .cat-form-short {
        max-width: none;
    }

    .cat-form-buttons {
        flex-direction: column-reverse;
    }

    .cat-form-buttons .btn {
        width: 100%;
    }
}

.cat-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.cat-image-card {
    position: relative;
    overflow: hidden;
    background: #f8fbfa;
    border: 1px solid #e1eae8;
    border-radius: 8px;
}

.cat-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cat-image-delete {
    display: block;
    padding: 8px;
    background: #fff;
    color: #b34b4b;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-top: 1px solid #e1eae8;
}

.cat-image-delete:hover {
    background: #fdf4f4;
}

.upload-box {
    position: relative;
    margin-top: 10px;
    padding: 35px 20px;
    border: 2px dashed #cbdad7;
    border-radius: 8px;
    background: #f8fbfa;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.upload-box:hover,
.upload-box.dragover {
    border-color: var(--green);
    background: var(--light-green);
}

.upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    margin-bottom: 10px;
}

.upload-icon .icon {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    color: var(--green);
}

.upload-icon svg {
    width: 100%;
    height: 100%;
}

.upload-content h3 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 15px;
}

.upload-content p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
}

.upload-content small {
    color: #899897;
    font-size: 11px;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.image-preview-item {
    position: relative;
}

.image-preview-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 7px;
    border: 1px solid #dce6e4;
}

@media (max-width: 700px) {

    .cat-images-grid,
    .image-preview {
        grid-template-columns: repeat(2, 1fr);
    }

}

.cats-page {
    padding: 50px 20px 70px;
}

.cats-container {
    width: min(100%, 1100px);
    margin: 0 auto;
}

.cats-header {
    text-align: center;
    margin-bottom: 35px;
}

.cats-header h1 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 36px;
}

.cats-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.cats-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cat-list-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 220px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(20, 55, 58, .06);
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

.cat-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(20, 55, 58, .10);
}

.cat-list-image {
    height: 100%;
    min-height: 220px;
    background: #f3f7f6;
}

.cat-list-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #8b9b99;
    font-size: 13px;
}

.cat-list-content {
    padding: 28px 32px;
}

.cat-list-content h2 {
    margin: 0 0 6px;
    color: var(--dark);
    font-size: 24px;
}

.cat-list-breed {
    margin-bottom: 18px;
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
}

.cat-list-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-list-details span {
    padding: 6px 10px;
    background: var(--light-green);
    border-radius: 5px;
    color: var(--dark);
    font-size: 12px;
}

.cat-list-more {
    margin-top: 25px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 650px) {

    .cats-page {
        padding: 35px 15px 50px;
    }

    .cats-header h1 {
        font-size: 30px;
    }

    .cat-list-card {
        grid-template-columns: 130px 1fr;
        min-height: 150px;
    }

    .cat-list-image {
        min-height: 150px;
    }

    .cat-list-content {
        padding: 18px;
    }

    .cat-list-content h2 {
        font-size: 19px;
    }

    .cat-list-breed {
        margin-bottom: 12px;
    }

    .cat-list-more {
        margin-top: 15px;
    }
}

.cat-detail-page {
    padding: 35px 20px 70px;
}

.cat-detail-container {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.cat-back {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cat-back:hover {
    text-decoration: underline;
}

.cat-detail-header {
    margin-bottom: 30px;
}

.cat-detail-header h1 {
    margin: 0 0 6px;
    color: var(--dark);
    font-size: 38px;
}

.cat-detail-breed {
    color: var(--green);
    font-size: 15px;
    font-weight: 600;
}

.cat-detail-card {
    margin-bottom: 25px;
    padding: 30px 35px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(20, 55, 58, .06);
}

.cat-detail-card h2 {
    margin: 0 0 23px;
    padding-bottom: 11px;
    color: var(--dark);
    font-size: 20px;
    border-bottom: 1px solid #e8edeb;
}


/* Galleri */

.cat-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.cat-gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    background: #f3f7f6;
}

.cat-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .2s ease;
}

.cat-gallery-item:hover img {
    transform: scale(1.04);
}


/* Information */

.cat-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cat-info-grid > div {
    padding: 14px 16px;
    background: #f8fbfa;
    border: 1px solid #e1eae8;
    border-radius: 7px;
}

.cat-info-grid span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
}

.cat-info-grid strong {
    color: var(--dark);
    font-size: 14px;
}

.cat-text-block {
    margin-top: 25px;
}

.cat-text-block h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 14px;
}

.cat-text-block p,
.cat-description {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}


/* Sundhed */

.health-display-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.health-display {
    padding: 20px;
    background: #f8fbfa;
    border: 1px solid #e1eae8;
    border-radius: 8px;
}

.health-display h3 {
    margin: 0 0 3px;
    color: var(--dark);
    font-size: 16px;
}

.health-display p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 11px;
}

.health-display strong {
    display: block;
    color: var(--green-dark);
    font-size: 14px;
}

.health-display small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}


@media (max-width: 700px) {

    .cat-detail-page {
        padding: 25px 15px 50px;
    }

    .cat-detail-header h1 {
        font-size: 30px;
    }

    .cat-detail-card {
        padding: 25px 22px;
    }

    .cat-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-info-grid,
    .health-display-grid {
        grid-template-columns: 1fr;
    }
}
.cat-filters {
    margin-bottom: 30px;
    padding: 22px 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(20, 55, 58, .06);
}

.cat-filter-group + .cat-filter-group {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8edeb;
}

.cat-filter-title {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
}

.cat-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.cat-filter-options label {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
}

.cat-filter-options input[type="radio"] {
    margin: 0;
    accent-color: var(--green);
    cursor: pointer;
}

.cat-filter-options label:has(input:checked) {
    color: var(--dark);
    font-weight: 600;
}

@media (max-width: 700px) {

    .cat-filters {
        padding: 20px;
    }

    .cat-filter-options {
        gap: 10px 16px;
    }

}
.cat-list-details .cat-gender {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    padding: 0;
    border-radius: 5px;
}

.cat-gender svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cat-gender.male {
    color: #397fba;
    background: #edf5fc;
}

.cat-gender.female {
    color: #bd668e;
    background: #fbedf3;
}

/* Lightbox overlay */
.cat-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    padding: 50px 70px;
    box-sizing: border-box;
}

.cat-lightbox.active {
    display: flex;
}

/* Stort billede */
.cat-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Luk-knap */
.cat-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    border: 0;
    background: transparent;
    color: white;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    padding: 5px 10px;
}

/* Frem- og tilbage-pile */
.cat-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 60px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.cat-lightbox-prev {
    left: 15px;
}

.cat-lightbox-next {
    right: 15px;
}

.cat-lightbox-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
}

.cat-lightbox-arrow:disabled {
    opacity: 0.2;
    cursor: default;
}

/* Mobil */
@media (max-width: 600px) {
    .cat-lightbox {
        padding: 45px 42px;
    }

    .cat-lightbox-prev {
        left: 3px;
    }

    .cat-lightbox-next {
        right: 3px;
    }

    .cat-lightbox-arrow {
        width: 36px;
        height: 50px;
        font-size: 28px;
    }

    .cat-lightbox-close {
        top: 10px;
        right: 10px;
    }
}

.cat-contact-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
}

.cat-contact-table th,
.cat-contact-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.cat-contact-table th {
    width: 200px;
    color: var(--muted);
    font-weight: 600;
}

.cat-contact-table td {
    color: var(--text);
    overflow-wrap: anywhere;
}

.cat-contact-table a {
    color: var(--green-dark);
    text-decoration: none;
}

.cat-contact-table a:hover {
    text-decoration: underline;
}

.cat-contact-table tr:last-child th,
.cat-contact-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 600px) {
    .cat-contact-table th {
        width: 100px;
    }

    .cat-contact-table th,
    .cat-contact-table td {
        padding: 10px 8px;
    }
}


/* Juridiske informationssider */
.legal-page {
    background: #f7f9f8;
    padding: 35px 20px 70px;
    min-height: 60vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Brødkrummesti */
.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.88rem;
    color: var(--muted);
}

.legal-breadcrumb a {
    color: var(--green-dark);
    text-decoration: none;
}

.legal-breadcrumb a:hover {
    text-decoration: underline;
}

/* Sidens overskrift */
.legal-header {
    padding: 35px 40px;
    background: var(--dark);
    color: var(--white);
    border-radius: 12px 12px 0 0;
}

.legal-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #b9ded8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.legal-header h1 {
    margin: 0 0 15px;
    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.2;
}

.legal-header p {
    max-width: 650px;
    margin: 0;
    color: #e0eeec;
    font-size: 1.02rem;
    line-height: 1.7;
}

/* Indhold */
.legal-content {
    padding: 20px 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 20px rgba(18, 59, 62, 0.04);
}

.legal-content section {
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.legal-content section:last-child {
    border-bottom: none;
}

.legal-content h2 {
    margin: 0 0 12px;
    color: var(--dark);
    font-size: 1.25rem;
    line-height: 1.4;
}

.legal-content p,
.legal-content li {
    color: var(--text);
    font-size: 0.97rem;
    line-height: 1.85;
}

.legal-content p {
    margin: 0 0 12px;
}

.legal-content ul {
    padding-left: 22px;
}

.legal-content li {
    padding-left: 4px;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--green-dark);
}

/* Kontaktlink */
.legal-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--light-green);
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 600;
}

.legal-contact-link:hover {
    background: #dcefeb;
}

/* Opdateringsdato */
.legal-updated {
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: right;
}

/* Mobil */
@media (max-width: 600px) {
    .legal-page {
        padding: 25px 14px 45px;
    }

    .legal-breadcrumb {
        margin-bottom: 20px;
    }

    .legal-header {
        padding: 28px 22px;
    }

    .legal-content {
        padding: 10px 22px;
    }

    .legal-content section {
        padding: 22px 0;
    }
}
