:root {
    --green-900: #122c1c;
    --green-800: #1c3f29;
    --green-700: #2a5a3b;
    --green-600: #3c7550;
    --green-100: #e7f0e9;
    --green-50: #f4f8f4;
    --sand: #f6f1e7;
    --ink: #1f2420;
    --muted: #5d675f;
    --line: #dbe3dc;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(18, 44, 28, .08);
    --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-900); }

h1, h2, h3 { line-height: 1.2; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--green-900);
    color: var(--white);
    padding: .75rem 1rem;
    z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

main#main { flex: 1 0 auto; }
.site-header, .site-footer { flex-shrink: 0; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.15;
}

.brand__logo { max-height: 52px; width: auto; }
.brand__name { font-size: 1.35rem; font-weight: 700; color: var(--green-900); letter-spacing: -.01em; }
.brand__tagline { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green-600); }

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    align-items: center;
}

.main-nav__link {
    padding: .5rem .7rem;
    border-radius: 8px;
    color: var(--green-900);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
}

.main-nav__link:hover { background: var(--green-50); }
.main-nav__link.is-active { background: var(--green-100); color: var(--green-800); }

/* Hero */
.hero {
    background-color: var(--green-900);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.hero--plain {
    background-image:
        radial-gradient(circle at 15% 20%, rgba(94, 150, 110, .45), transparent 45%),
        linear-gradient(135deg, var(--green-900), var(--green-700));
}

.hero h1 { color: var(--white); max-width: 18ch; }
.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem;
    color: #cfe3d5;
    margin: 0 0 1rem;
}

.hero__lead {
    max-width: 56ch;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: #e9f2eb;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Buttons */
.button {
    display: inline-block;
    padding: .8rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}
.button:hover { transform: translateY(-1px); }

.button--primary { background: var(--white); color: var(--green-900); }
.button--primary:hover { background: var(--green-100); color: var(--green-900); }

.button--secondary { background: var(--green-100); color: var(--green-900); }
.button--secondary:hover { background: #d8e8dd; }

.button--ghost { border-color: rgba(255, 255, 255, .65); color: var(--white); }
.button--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section--muted { background: var(--green-50); border-block: 1px solid var(--line); }
.section__header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section__title { margin-bottom: 1.5rem; }

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, .9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.fact-box {
    background: var(--green-50);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.6rem 1.2rem;
}
.fact-box h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; }
.fact-box ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.card--link { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(18, 44, 28, .13); }

.card__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__body h3, .card__body h2 { margin-bottom: .2rem; }
.card__body p { margin: 0; color: var(--muted); }
.card__meta { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-600); }
.card__more { margin-top: auto; padding-top: .75rem; font-weight: 600; color: var(--green-700); }

/* Page header */
.page-header {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    background: var(--green-900);
    background-size: cover;
    background-position: center;
    color: var(--white);
}
.page-header h1 { color: var(--white); }
.page-header__lead { max-width: 60ch; color: #e9f2eb; font-size: 1.12rem; }
.page-header__lead > :first-child { margin-top: 0; }
.page-header__lead > :last-child { margin-bottom: 0; }
.page-header__lead p { color: inherit; }
.page-header--plain {
    background-image:
        radial-gradient(circle at 85% 0%, rgba(94, 150, 110, .35), transparent 45%),
        linear-gradient(135deg, var(--green-900), var(--green-700));
}

/* Prose */
.prose { max-width: 72ch; }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose li { color: #374039; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose img { border-radius: 10px; margin: 1.5rem 0; }
.prose blockquote {
    margin: 1.5rem 0;
    padding: .75rem 1.25rem;
    border-left: 4px solid var(--green-600);
    background: var(--green-50);
    color: var(--green-900);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .65rem .8rem; text-align: left; }
.prose th { background: var(--green-50); color: var(--green-900); }
.prose--small { font-size: .92rem; color: #4d574f; }

.article-image { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; max-height: 520px; object-fit: cover; }

/* News list */
.stack { display: grid; gap: 1.5rem; }
.news-row { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.news-row h2 { margin-bottom: .25rem; }
.news-row p { margin: .25rem 0; color: var(--muted); }

/* Rentals */
.card-grid--units { margin: 2rem 0; }
.fact-row { display: flex; gap: 1rem; margin-bottom: 2rem; }
.fact {
    background: var(--green-50);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.4rem;
    min-width: 140px;
}
.fact strong { display: block; font-size: 1.8rem; color: var(--green-900); line-height: 1; }
.fact span { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

.empty-state { color: var(--muted); font-style: italic; }

/* Footer */
.site-footer {
    background: var(--green-900);
    color: #dce9df;
    padding: 3.5rem 0 1.5rem;
    margin-top: 3rem;
}
.site-footer a { color: #dce9df; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}
.site-footer__heading {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    color: #a9c9b3;
    margin: 0 0 .9rem;
}
.site-footer address { display: grid; gap: .35rem; font-style: normal; }
.site-footer address span { white-space: pre-line; }
.site-footer__grid > div:last-child { display: flex; flex-direction: column; gap: .35rem; }
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    font-size: .85rem;
    color: #a9c9b3;
}

@media (max-width: 820px) {
    .site-header__inner { flex-direction: column; align-items: flex-start; padding: .9rem 0; }
    .main-nav { gap: .1rem; }
    .intro-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* Map */
.map {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.price-table-scroll { overflow-x: auto; }
.price-table-scroll table { min-width: 38rem; }

/* Navigation groups use native disclosures, including keyboard support. */
.brand { flex-shrink: 0; }
.brand__tagline { max-width: 22ch; }
.site-menu { margin-left: auto; }
.site-menu > summary { display: none; }
.site-menu > .main-nav { display: flex; flex-wrap: nowrap; gap: .1rem; }
.main-nav__link { white-space: nowrap; }
.nav-group { position: relative; }
.nav-group > summary { cursor: pointer; list-style: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "⌄"; margin-left: .45rem; }
.nav-group__items {
    position: absolute;
    top: calc(100% + .65rem);
    left: 0;
    min-width: 15rem;
    padding: .5rem;
    display: grid;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.main-nav__booking, .main-nav__booking.is-active {
    background: var(--green-800);
    color: white;
    margin-left: .4rem;
}
.main-nav__booking:hover { background: var(--green-700); color: white; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--green-600);
    outline-offset: 4px;
}
main { scroll-margin-top: 6rem; }

/* Strong actions on light surfaces; light actions over photographs. */
.button--primary { background: var(--green-800); color: white; }
.button--primary:hover { background: var(--green-700); color: white; }
.hero .button--primary { background: white; color: var(--green-900); }
.hero .button--primary:hover { background: var(--green-100); color: var(--green-900); }
.page-header { padding: clamp(2rem, 4vw, 3rem) 0; }
.page-header__lead { margin-bottom: 0; }
.section { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.site-footer { margin-top: 1.5rem; }
.site-footer .prose, .site-footer .prose p, .site-footer .prose li { color: #dce9df; }
.contact-address { white-space: pre-line; }
.prose--prices { max-width: none; }
.price-table-scroll { margin-block: 1.5rem; border: 1px solid var(--line); border-radius: 10px; }
.price-table-scroll table { margin: 0; }
.price-table-scroll caption { padding: .8rem; text-align: left; font-weight: 600; }
.price-table-scroll tbody tr:nth-child(even) { background: var(--green-50); }
.page-rentalPage .page-header, .page-rentalUnit .page-header:not(.page-header--image) {
    background-image: linear-gradient(90deg, rgba(18,44,28,.9), rgba(18,44,28,.4)), url('/images/port-arthur-centret.jpg');
    background-position: center 60%;
    padding-block: clamp(3rem, 6vw, 5rem);
}
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.fact-row { flex-wrap: wrap; }

@media (max-width: 1050px) {
    .site-header__inner { flex-direction: row; align-items: center; padding-block: .75rem; min-height: 76px; }
    .site-menu > summary {
        display: block; cursor: pointer; padding: .6rem 1rem;
        border: 1px solid var(--line); border-radius: 8px;
        font-weight: 600; color: var(--green-900); list-style: none;
    }
    .site-menu > summary::-webkit-details-marker { display: none; }
    .site-menu > summary::after { content: " ☰"; }
    .site-menu[open] > summary::after { content: " ×"; }
    .site-menu:not([open]) > .main-nav { display: none; }
    .site-menu[open] > .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        display: flex; flex-direction: column; align-items: stretch;
        padding: 1rem 1.25rem; gap: .3rem; background: white;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        max-height: calc(100dvh - 90px); overflow-y: auto;
    }
    .nav-group__items { position: static; margin: .3rem 0 .6rem .8rem; box-shadow: none; min-width: 0; }
    .main-nav__booking { margin-left: 0; text-align: center; }
}
@media (max-width: 480px) {
    .container { width: calc(100% - 2rem); }
    .brand__tagline { font-size: .65rem; }
    .hero { padding: 3.5rem 0; background-position: 60% center; }
    .card-grid, .gallery { grid-template-columns: minmax(0, 1fr); }
    .section__header { gap: .5rem; }
    .price-table-scroll { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

.table-hint { display: none; }
@media (max-width: 680px) { .table-hint { display: block; color: var(--muted); font-size: .85rem; } }

.card--link .card__body { min-height: 12rem; }
.card--link:focus-visible { outline-offset: 4px; }

.shortcuts-section {
    width: min(calc(100% - 2.5rem), calc(var(--container) + 4rem));
    margin: 1rem auto;
    padding-inline: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.shortcuts-section > .container { width: 100%; }
@media (max-width: 680px) {
    .shortcuts-section { width: calc(100% - 2rem); padding-inline: 1rem; }
}

.booking-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:3rem; align-items:start; }
.public-booking-form { min-width:0; }
.public-booking-form fieldset { border:0; border-bottom:1px solid var(--line); margin:0 0 2rem; padding:0 0 1.5rem; min-width:0; }
.public-booking-form legend { font-size:1.4rem; font-weight:600; color:var(--green-900); margin-bottom:1rem; padding:0; }
.booking-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1.25rem; }
.booking-field { display:grid; gap:.4rem; margin-bottom:1.25rem; }
.booking-field label { font-weight:600; color:var(--green-900); }
.booking-field input, .booking-field select, .booking-field textarea { width:100%; min-width:0; padding:.8rem; font:inherit; border:1px solid #9aa99e; border-radius:8px; background:white; }
.booking-field input:focus-visible, .booking-field select:focus-visible, .booking-field textarea:focus-visible { outline:3px solid var(--green-600); outline-offset:2px; }
.booking-check { display:flex; gap:.7rem; align-items:start; margin:1rem 0; }
.booking-check input { width:1.2rem; height:1.2rem; flex-shrink:0; margin-top:.2rem; accent-color:var(--green-700); }
.booking-help { color:var(--muted); font-size:.87rem; }
.booking-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.booking-errors.validation-summary-errors { padding:1rem; background:#fff2f2; border-left:3px solid #a22424; color:#a22424; margin-bottom:2rem; }
.public-booking-form button { font:inherit; font-weight:600; cursor:pointer; }
.booking-aside p:last-child { margin-bottom:0; }
.booking-receipt { max-width:700px; padding:clamp(1.5rem,4vw,3rem); border:1px solid var(--line); border-radius:var(--radius); background:var(--green-50); margin:2rem auto; }
.booking-receipt .hero__eyebrow { color:var(--green-600); }
.calendar-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:2rem; }
.calendar-toolbar h2 { margin:0; text-transform:capitalize; }
.public-calendar-scroll { overflow-x:auto; border:1px solid var(--line); border-radius:12px; }
.public-calendar { width:100%; min-width:560px; border-collapse:collapse; text-align:left; }
.public-calendar caption { text-align:left; padding:1rem; font-weight:600; }
.public-calendar th, .public-calendar td { padding:.75rem 1rem; border-bottom:1px solid var(--line); }
.public-calendar thead { background:var(--green-50); }
.calendar-free { color:var(--green-700); font-size:.9rem; }
.calendar-busy { display:block; color:#85400f; font-size:.9rem; background:#fff0db; border-radius:5px; padding:.2rem .5rem; margin:.15rem 0; }
@media(max-width:820px) { .booking-grid { grid-template-columns:1fr; gap:2rem; } }
@media(max-width:520px) { .booking-fields { grid-template-columns:1fr; } .calendar-toolbar h2 { font-size:1.2rem; } .calendar-toolbar { gap:.5rem; font-size:.85rem; } }

.calendar-notice { padding:1rem 1.25rem; border-left:4px solid #b37d27; background:#fff6e6; border-radius:6px; font-size:.9rem; margin-block:1.5rem; }

.calendar-legend { display:flex; flex-wrap:wrap; gap:.7rem 1.5rem; font-size:.9rem; color:var(--muted); }
.calendar-legend > span { display:flex; align-items:center; gap:.5rem; }
.occupancy-mark { display:block; width:12px; height:4px; border-radius:2px; background:transparent; }
.occupancy-mark--a { background:#b56412; }
.occupancy-mark--b { background:#3869a5; }
.months-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; margin:2rem 0; }
.month-card { background:white; border:1px solid var(--line); border-radius:14px; padding:1.2rem .8rem; min-width:0; }
.month-card h3 { margin:0 .4rem 1rem; text-transform:capitalize; font-size:1.2rem; }
.month-card h3 span { color:var(--muted); font-weight:400; font-size:.9rem; margin-left:.3rem; }
.month-table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:2px; }
.month-table th { font-size:.73rem; font-weight:500; color:var(--muted); padding-bottom:.5rem; text-align:center; }
.month-table td { padding:0; text-align:center; vertical-align:top; }
.month-weekend { background:var(--green-50); border-radius:7px; }
.month-day { position:relative; display:flex; min-height:48px; flex-direction:column; justify-content:center; align-items:center; gap:5px; text-decoration:none; border:1px solid transparent; border-radius:7px; color:var(--green-900); font-size:.9rem; }
.month-day[href]:hover, .month-day:focus-visible { background:var(--green-100); color:var(--green-900); z-index:3; }
.month-day.is-today { border-color:var(--green-600); font-weight:700; background:var(--green-50); }
.month-day.is-past .month-day__number { color:#828a83; }
.month-day__marks { display:flex; gap:3px; height:4px; }
.day-tooltip { display:none; position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%); width:180px; padding:.6rem; border-radius:8px; background:var(--green-900); color:white; box-shadow:var(--shadow); font-size:.75rem; font-weight:400; line-height:1.5; pointer-events:none; z-index:5; }
.month-day:hover .day-tooltip, .month-day:focus-visible .day-tooltip { display:block; }
.month-table td:first-child .day-tooltip { left:0; transform:none; }
.month-table td:last-child .day-tooltip { left:auto; right:0; transform:none; }
@media(max-width:1000px) { .months-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .months-grid { grid-template-columns:1fr; } .month-day { min-height:52px; } }

.centre-video { margin-bottom: 3rem; }
.centre-video__intro { max-width: 65ch; margin-bottom: 1.5rem; }
.centre-video__intro p { color: var(--muted); }
.centre-video__player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--green-900); box-shadow: var(--shadow); }
.centre-video__caption { margin-top: .7rem; color: var(--muted); font-size: .9rem; }

.hero--video { position:relative; isolation:isolate; overflow:hidden; }
.hero__video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:-2; opacity:0; transition:opacity .6s ease; pointer-events:none; }
.hero__video.is-ready { opacity:1; }
.hero__shade { position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(90deg,rgba(10,30,18,.8),rgba(10,30,18,.25)); }
.hero--video .hero__inner { position:relative; z-index:1; }
.hero__video-toggle { position:absolute; bottom:1rem; right:max(1rem,calc((100% - var(--container))/2)); z-index:2; padding:.5rem .9rem; border:1px solid rgba(255,255,255,.6); border-radius:99px; background:rgba(10,30,18,.65); color:white; font:inherit; font-size:.8rem; cursor:pointer; }
.hero__video-toggle:hover { background:var(--green-900); }
.hero__video-toggle:focus-visible { outline:3px solid white; outline-offset:3px; }
.hero__video-toggle[hidden] { display:none; }
@media(prefers-reduced-motion:reduce) { .hero__video { display:none; } }

.album-videos { margin-block: 3rem; }
.album-videos__intro { color:var(--muted); margin-bottom:1.5rem; }
.video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; }
.video-card { min-width:0; margin:0; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--green-50); }
.video-card__player { display:block; width:100%; height:auto; aspect-ratio:16/9; background:var(--green-900); }
.video-card__caption { padding:1.2rem 1.4rem; }
.video-card__caption h3 { margin:0 0 .5rem; }
.video-card__caption p { margin:0 0 .75rem; color:var(--muted); }
.video-card__duration { font-size:.8rem; color:var(--muted); }
.activity-video { max-width:800px; margin-block:2rem; }
@media(max-width:680px) { .video-grid { grid-template-columns:minmax(0,1fr); } }

/* ------------------------------------------------------------------
   Visuel finpudsning: typografi, hero, kort, lister og footer.
   Skrift-stakken bruger kun systemskrifter (ingen eksterne fonte).
   ------------------------------------------------------------------ */
:root {
    --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --surface: var(--white);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow-lift: 0 18px 40px rgba(18, 44, 28, .14);
}

::selection { background: var(--green-100); color: var(--green-900); }

h1, h2, h3, .brand__name, .public-booking-form legend {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.01em;
}
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
a { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }

.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow, .card:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 20px rgba(18, 44, 28, .05); }
.brand__name { font-size: 1.5rem; }
.main-nav__link { transition: background .2s ease, color .2s ease; }
.main-nav__booking { box-shadow: 0 4px 12px rgba(18, 44, 28, .2); }

/* Hero */
.hero { min-height: clamp(440px, 74vh, 700px); display: flex; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.05; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero__lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 1.25rem;
    border-radius: 2px;
    background: var(--green-100);
}

/* Buttons */
.button { transition: transform .2s var(--ease), background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:active { transform: translateY(0); }
.button--primary { box-shadow: 0 6px 18px rgba(18, 44, 28, .18); }
.button--primary:hover { box-shadow: 0 10px 24px rgba(18, 44, 28, .24); }
.button--ghost { backdrop-filter: blur(4px); }

/* Fact box med tjekmærker i stedet for punkttegn */
.fact-box { box-shadow: var(--shadow); }
.fact-box h2 { font-family: inherit; font-size: .9rem; letter-spacing: .1em; }
.fact-box ul { list-style: none; padding-left: 0; display: grid; gap: .55rem; }
.fact-box li { position: relative; padding-left: 1.8rem; }
.fact-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--green-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}

/* Kort: hele kortet er klikbart, billeder zoomer blødt */
.card { position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease; }
.card:has(.card__more):hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--green-600); }
.card .card__more { text-decoration: none; }
.card a.card__more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__image { transition: transform .6s var(--ease); }
.card:hover .card__image { transform: scale(1.04); }
.card__meta { font-weight: 600; }

/* Genveje: kompakte fliser i stedet for høje, tomme kort */
.card--link .card__body { min-height: 0; }
.shortcuts-section .card-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.shortcuts-section .card__body { padding: 1.3rem 1.4rem 1.2rem; }
.shortcuts-section .card__body h3 { font-size: 1.3rem; }
.shortcuts-section .card__more { padding-top: 1rem; }

/* Sektionshoveder */
.section__header .section__title { margin-bottom: 1.5rem; }
.section__link { font-weight: 600; text-decoration: none; }
.section__link:hover { text-decoration: underline; }

/* Sidehoved */
.page-header h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: .35em; }

/* Nyheds- og arrangementslister som klikbare rækker */
.stack { gap: 1rem; }
.news-row {
    position: relative;
    padding: 1.4rem 1.6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.news-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--green-600); }
.news-row h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: .1rem 0 .3rem; }
.news-row h2 a { color: var(--green-900); text-decoration: none; }
.news-row h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-row:focus-within { outline: 3px solid var(--green-600); outline-offset: 3px; }
.news-row h2 a:focus-visible { outline: none; }
.news-row .card__meta { margin: 0; }

/* Galleri */
.gallery img { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gallery figure:hover img { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* Formularer */
.booking-field input, .booking-field select, .booking-field textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.booking-field input:hover, .booking-field select:hover, .booking-field textarea:hover { border-color: var(--green-600); }

/* Footer */
.site-footer { border-top: 4px solid var(--green-600); }
.site-footer a { text-decoration: none; width: fit-content; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid > div:first-child .site-footer__heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--white);
}
.site-footer__heading { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    .card:hover, .news-row:hover, .card:hover .card__image, .gallery figure:hover img { transform: none; }
}
@media (max-width: 1050px) and (min-width: 481px) {
    .shortcuts-section .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Datoer og overlinjer i mørke sidehoveder skal kunne læses. */
.page-header .card__meta, .page-header .hero__eyebrow { color: var(--green-100); }
