

:root {
    --af-accent: #0071e3;
    --af-paa-accent: #ffffff;
    --af-tekst: #1d1d1f;
    --af-tekst-2: #6e6e73;
    --af-tekst-3: #86868b;
    --af-link: #0066cc;
    --af-graa: #f5f5f7;
    --af-streg: #d2d2d7;
    --af-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --af-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    background: #fff;
    color: var(--af-tekst);
    font-family: var(--af-font);
    font-size: 17px;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }

.af-wrap { width: 100%; max-width: 1068px; margin: 0 auto; padding: 0 22px; }

.af-spring {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 10px 16px; border-radius: 10px; background: var(--af-tekst); color: #fff; text-decoration: none;
}
.af-spring:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(0, 125, 250, .6); outline-offset: 2px; border-radius: 6px;
}


.af-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 251, 253, .8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
}
.af-nav__ind { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 52px; }
.af-nav__navn { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--af-display); font-size: 21px; font-weight: 600; letter-spacing: .011em; text-decoration: none; }
.af-nav__navn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-nav__logo { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); }
.af-nav__links { display: flex; align-items: center; gap: 22px; flex-shrink: 0; font-size: 12px; letter-spacing: -0.01em; }
.af-nav__links a { color: var(--af-tekst); opacity: .8; text-decoration: none; }
.af-nav__links a:hover { opacity: 1; color: var(--af-link); }
.af-nav__links .af-nav__koeb { opacity: 1; padding: 4px 11px; border-radius: 980px; background: var(--af-accent); color: var(--af-paa-accent); }
.af-nav__links .af-nav__koeb:hover { color: var(--af-paa-accent); filter: brightness(1.08); }
@media (max-width: 600px) {
    .af-nav__navn { font-size: 19px; }
    .af-nav__links a:not(.af-nav__koeb) { display: none; }
}


.af-knap {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 11px 22px; border: 0; border-radius: 980px;
    background: var(--af-accent); color: var(--af-paa-accent);
    font: inherit; font-size: 17px; font-weight: 400; letter-spacing: -0.022em; line-height: 1.18;
    text-decoration: none; cursor: pointer; transition: filter .2s ease;
}
.af-knap:hover { filter: brightness(1.08); }
.af-knap:disabled { opacity: .5; cursor: not-allowed; }
.af-knap--sek { background: #e8e8ed; color: var(--af-tekst); }
.af-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 0; border: 0; background: none; color: var(--af-link);
    font: inherit; letter-spacing: inherit; text-decoration: none; cursor: pointer;
}
.af-link:hover { text-decoration: underline; }
.af-pil { width: 7px; height: 12px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }


.af-hero { padding: 76px 0 28px; text-align: center; }
.af-hero__ind { display: flex; flex-direction: column; align-items: center; }
.af-hero__ikon {
    width: 96px; height: 96px; margin-bottom: 26px; border-radius: 22.5%; object-fit: cover;
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 8px 24px rgba(0, 0, 0, .1);
}
.af-hero__titel {
    display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 14px;
    font-family: var(--af-display); font-size: clamp(40px, 6.6vw, 80px); font-weight: 600;
    line-height: 1.05; letter-spacing: -0.015em;
}
.af-badge { width: .5em; height: .5em; flex-shrink: 0; }
.af-hero__tekst {
    max-width: 680px; margin-top: 18px;
    font-family: var(--af-display); font-size: clamp(19px, 2.2vw, 24px); font-weight: 400;
    line-height: 1.33; letter-spacing: .009em; color: var(--af-tekst-2);
}
.af-hero__handling { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; margin-top: 34px; }
.af-hero__medie { margin-top: 64px; }
.af-hero__billede { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; border-radius: 28px; background: var(--af-graa); }
@media (max-width: 640px) {
    .af-hero { padding: 52px 0 20px; }
    .af-hero__billede { aspect-ratio: 4 / 3; border-radius: 20px; }
    .af-hero__medie { margin-top: 44px; }
}


.af-sektion { padding: 84px 0 96px; }
.af-sektion--tight { padding-top: 0; }
.af-sektion--graa { background: var(--af-graa); }
.af-sektion__titel {
    font-family: var(--af-display); font-size: clamp(32px, 4.4vw, 48px); font-weight: 600;
    line-height: 1.08; letter-spacing: -0.003em;
}
@media (max-width: 640px) { .af-sektion { padding: 60px 0 68px; } }


.af-filter { display: flex; gap: 10px; margin-top: 28px; overflow-x: auto; scrollbar-width: none; }
.af-filter::-webkit-scrollbar { display: none; }
.af-filter button {
    flex-shrink: 0; padding: 8px 18px; border: 0; border-radius: 980px;
    background: var(--af-graa); color: var(--af-tekst);
    font: inherit; font-size: 14px; letter-spacing: -0.016em; cursor: pointer; transition: background-color .2s ease;
}
.af-filter button:hover { background: #e8e8ed; }
.af-filter button[aria-pressed="true"] { background: var(--af-tekst); color: #fff; }


.af-gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 52px 26px; margin-top: 46px; }
.af-kort { min-width: 0; }
.af-kort__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.af-kort__medie { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--af-graa); isolation: isolate; }
.af-kort__medie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.25, .1, .25, 1); }
.af-kort__link:hover .af-kort__medie img { transform: scale(1.035); }
.af-kort__dato { margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--af-tekst-2); }
.af-kort__flere { font-weight: 400; text-transform: none; letter-spacing: -0.01em; color: var(--af-tekst-3); }
.af-kort__titel { margin-top: 8px; font-family: var(--af-display); font-size: 24px; font-weight: 600; line-height: 1.17; letter-spacing: .009em; overflow-wrap: anywhere; }
.af-kort__sted { margin-top: 6px; color: var(--af-tekst-2); }
.af-kort__note { margin-top: 6px; font-size: 14px; color: #b64400; letter-spacing: -0.016em; }
.af-kort__bund { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.af-kort__pris { font-size: 17px; color: var(--af-tekst); }
.af-koeb {
    flex-shrink: 0; padding: 6px 15px; border-radius: 980px;
    background: var(--af-accent); color: var(--af-paa-accent);
    font-size: 14px; letter-spacing: -0.016em; transition: filter .2s ease;
}
.af-kort__link:hover .af-koeb { filter: brightness(1.08); }
.af-koeb--udsolgt { background: #e8e8ed; color: var(--af-tekst-2); }


.af-kalender { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--af-graa); }
.af-kalender__ikon {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 104px; height: 104px; border-radius: 23px; background: #fff;
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .08);
    transition: transform .6s cubic-bezier(.25, .1, .25, 1);
}
.af-kort__link:hover .af-kalender__ikon { transform: scale(1.04); }
.af-kalender__dag { font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: .01em; text-transform: lowercase; color: #ff3b30; }
.af-kalender__tal { margin-top: 4px; font-family: var(--af-display); font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--af-tekst); }
.af-kalender__md { font-size: 13px; font-weight: 500; color: var(--af-tekst-2); }

.af-tom { margin-top: 36px; padding: 44px 32px; border-radius: 18px; background: var(--af-graa); text-align: center; color: var(--af-tekst-2); display: grid; gap: 10px; }


.af-medlemmer { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.af-medlem__link {
    display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 30px 30px 28px;
    border-radius: 18px; background: var(--af-graa); color: inherit; text-decoration: none; transition: background-color .2s ease;
}
.af-medlem__link:hover { background: #ededf0; }
.af-medlem__navn { font-family: var(--af-display); font-size: 24px; font-weight: 600; line-height: 1.17; letter-spacing: .009em; }
.af-medlem__pris { color: var(--af-tekst-2); }
.af-medlem__link .af-link { margin-top: 14px; }


.af-om__ind { display: grid; gap: 22px 60px; }
@media (min-width: 860px) { .af-om__ind { grid-template-columns: 5fr 7fr; } }
.af-om__tekst { font-family: var(--af-display); font-size: 21px; line-height: 1.38; letter-spacing: .011em; color: var(--af-tekst); white-space: pre-line; overflow-wrap: anywhere; }
.af-om__links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 26px; }
.af-om__links:first-child { margin-top: 6px; }


.af-fod { padding: 20px 0 26px; background: var(--af-graa); color: var(--af-tekst-2); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.af-fod a { color: #424245; text-decoration: none; }
.af-fod a:hover { text-decoration: underline; }
.af-fod__tekst { padding-bottom: 16px; border-bottom: 1px solid var(--af-streg); }
.af-fod__bund { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; }
.af-fod__nav { display: flex; flex-wrap: wrap; }
.af-fod__nav a + a::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 10px; background: var(--af-streg); vertical-align: -1px; }
.af-om + .af-fod .af-fod__tekst { padding-top: 0; }


.af-dialog {
    width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0;
    border-radius: 20px; color: var(--af-tekst); background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.af-dialog::backdrop { background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.af-form { display: grid; gap: 14px; padding: 32px; }
.af-form__titel { font-family: var(--af-display); font-size: 28px; font-weight: 600; line-height: 1.14; letter-spacing: .007em; }
.af-form__hjaelp { margin-top: -4px; color: var(--af-tekst-2); }
.af-felt { display: grid; gap: 6px; font-size: 14px; color: var(--af-tekst-2); letter-spacing: -0.016em; }
.af-felt input, .af-felt textarea {
    width: 100%; padding: 13px 15px; border: 1px solid var(--af-streg); border-radius: 12px;
    background: #fff; color: var(--af-tekst); font: inherit; font-size: 17px; letter-spacing: -0.022em;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.af-felt input:focus, .af-felt textarea:focus { outline: none; border-color: var(--af-accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, .2); }
.af-felt textarea { min-height: 120px; resize: vertical; }
.af-form__knapper { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.af-form__besked:empty { display: none; }
.af-form__besked { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.af-form__besked--ok { background: #eef8f0; color: #1d6b32; }
.af-form__besked--fejl { background: #fff1f0; color: #b4000f; }
