/* ============================================
   Sorthøjshave Boliger — Frontend Styles
   Design: Nordisk premium, inspireret af
   aahusetaalborg.dk & karolinehaven.dk
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --shh-primary: #1a1f2e;
    --shh-accent: #b8956a;
    --shh-accent-hover: #a07d56;
    --shh-bg: #fafaf8;
    --shh-bg-alt: #f5f2ee;
    --shh-text: #2c344a;
    --shh-text-light: #6b7280;
    --shh-border: #e5e0d8;
    --shh-status-ledig: #2e7d52;
    --shh-status-reserveret: #c8961e;
    --shh-status-udlejet: #c0392b;
    --shh-status-ejer: #9e9e9e;
    --shh-accent-text: #7a5c3e;
    --shh-radius: 6px;
    --shh-radius-lg: 12px;
    --shh-max-width: 1170px;
    --shh-shadow: 0 15px 30px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.05);
    --shh-shadow-lg: 0 25px 50px rgba(0,0,0,0.12), 0 10px 20px rgba(0,0,0,0.06);
    --shh-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --shh-font-heading: 'Lora', Georgia, serif;
}

/* ---- Reset for plugin scope ---- */
.shh-hero *, .shh-section *, .shh-modal *, .shh-kontakt-section *,
.shh-nav *, .shh-footer *, .shh-lightbox *, .shh-galleri *, .shh-omraade-lightbox * {
    box-sizing: border-box;
}

/* ---- Forside page body reset ---- */
/* overflow-x: clip on html — unlike hidden, does not clip position:fixed children */
html:has(body.shh-forside-page) {
    overflow-x: clip;
}
body.shh-forside-page {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body.shh-forside-page {
    background: var(--shh-bg);
    font-family: var(--shh-font-body);
    color: var(--shh-text);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Navigation
   ============================================ */
.shh-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.shh-nav.scrolled {
    background: var(--shh-primary);
    padding: 14px 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.shh-nav__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.shh-nav__logo {
    height: 38px;
    width: auto;
    display: block;
}

@media (max-width: 600px) {
    .shh-nav { padding: 10px 18px; }
    .shh-nav.scrolled { padding: 8px 18px; }
    .shh-nav__logo { height: 32px; }
}

.shh-nav__links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shh-nav__links a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-family: var(--shh-font-body);
    transition: color 0.2s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.shh-nav__links a:hover,
.shh-nav__links a.active {
    color: #fff;
    border-bottom-color: var(--shh-accent);
}

.shh-nav__links a:focus-visible {
    outline: 2px solid var(--shh-accent);
    outline-offset: 4px;
    border-radius: 2px;
}

.shh-nav__brand:focus-visible {
    outline: 2px solid var(--shh-accent);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Mobile nav toggle */
.shh-nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.shh-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ============================================
   Page header (subpages)
   ============================================ */
/* First section on subpages — extra top padding to clear fixed nav */
.shh-section--first {
    padding-top: 140px;
}

.shh-section--fill {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensure no white gap below content on short pages */
.shh-forside-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.shh-forside-page #shh-main-content {
    flex: 1;
}

.shh-forside-page #shh-main-content > section:last-child {
    flex: 1;
}

/* ============================================
   Footer
   ============================================ */
.shh-footer {
    background: var(--shh-primary);
    color: rgba(255,255,255,0.7);
    font-family: var(--shh-font-body);
}

.shh-footer__inner {
    max-width: var(--shh-max-width);
    margin: 0 auto;
    padding: 60px 30px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.shh-footer__brand h3 {
    font-family: var(--shh-font-heading);
    font-size: 24px;
    color: #fff;
    margin: 0 0 8px;
    font-weight: 400;
}

.shh-footer__brand p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.shh-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shh-footer__links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
    letter-spacing: 0.5px;
}

.shh-footer__links a:hover {
    color: var(--shh-accent);
}

.shh-footer__partner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.shh-footer__partner-logo {
    max-width: 50px;
    height: auto;
    flex-shrink: 0;
}

.shh-footer__partner-info p {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 400;
}

.shh-footer__partner-info a {
    color: var(--shh-accent);
    text-decoration: none;
}

.shh-footer__partner-info a:hover {
    text-decoration: underline;
}

.shh-footer__contact p {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 400;
}

.shh-footer__contact a {
    color: var(--shh-accent);
    text-decoration: none;
}

.shh-footer__contact a:hover {
    text-decoration: underline;
}

.shh-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px 30px;
}

.shh-footer__bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.shh-footer__legal {
    margin-top: 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.shh-footer__legal a {
    color: rgba(255,255,255,0.55);
    text-decoration: underline;
}

.shh-footer__legal a:hover,
.shh-footer__cookie-reset:hover {
    color: rgba(255,255,255,0.85);
}

.shh-footer__cookie-reset {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--shh-font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    text-decoration: underline;
}

/* ---- Cookiepolitik ---- */
.shh-cookiepolitik__content {
    max-width: 720px;
    margin: 0 auto;
    font-family: var(--shh-font-body);
    color: var(--shh-text);
    line-height: 1.7;
}

.shh-cookiepolitik__content h3 {
    font-family: var(--shh-font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--shh-primary);
    margin: 36px 0 10px;
}

.shh-cookiepolitik__content p { margin: 0 0 12px; }

.shh-cookiepolitik__content a { color: var(--shh-accent-text); }

.shh-cookiepolitik__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 12px 0 24px;
}

.shh-cookiepolitik__table th,
.shh-cookiepolitik__table td {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--shh-border);
}

.shh-cookiepolitik__table th {
    background: var(--shh-bg-alt);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--shh-text-light);
}

.shh-cookiepolitik__table code {
    font-size: 12px;
    background: var(--shh-bg-alt);
    padding: 2px 6px;
    border-radius: 3px;
}

.shh-cookiepolitik__reset-btn {
    margin-top: 8px;
}

/* ---- Base ---- */
.shh-section {
    padding: 80px 30px;
    max-width: calc(var(--shh-max-width) + 60px);
    margin: 0 auto;
}

.shh-section-alt {
    background: var(--shh-bg-alt);
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.shh-section-alt > * {
    max-width: var(--shh-max-width);
    margin-left: auto;
    margin-right: auto;
}

.shh-section-title {
    font-family: var(--shh-font-heading);
    font-size: 38px;
    font-weight: 400;
    color: var(--shh-primary);
    text-align: center;
    margin: 0 auto 12px;
    line-height: 1.2;
}

.shh-section-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--shh-accent-text);
    text-align: center;
    font-weight: 600;
    margin: 0 auto 12px;
    font-family: var(--shh-font-body);
}

.shh-section-title + .shh-intro,
.shh-section-title + .shh-omraade,
.shh-section-title + .shh-arkitektur-grid,
.shh-section-title + .shh-beboer-grid,
.shh-section-title + .shh-boligvaelger,
.shh-section-title + .shh-boligtabel-wrap {
    margin-top: 48px;
}

/* Section divider line */
.shh-section-divider {
    width: 50px;
    height: 2px;
    background: var(--shh-accent);
    margin: 16px auto 40px;
}

/* ---- Buttons ---- */
.shh-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-family: var(--shh-font-body);
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.shh-btn-primary {
    background: var(--shh-primary);
    color: #fff;
    border-color: var(--shh-primary);
}

.shh-btn-primary:hover {
    background: transparent;
    color: var(--shh-primary);
}

.shh-btn-outline {
    border: 2px solid var(--shh-primary);
    color: var(--shh-primary);
    background: transparent;
}

.shh-btn-outline:hover {
    background: var(--shh-primary);
    color: #fff;
}

.shh-btn-accent {
    background: var(--shh-accent);
    color: #fff;
    border-color: var(--shh-accent);
}

.shh-btn-accent:hover {
    background: var(--shh-primary);
    border-color: var(--shh-primary);
}

.shh-btn:focus-visible {
    outline: 3px solid var(--shh-accent);
    outline-offset: 3px;
}

/* ============================================
   Hero
   ============================================ */
.shh-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--shh-primary);
}

.shh-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    opacity: 0.7;
}

.shh-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(26,31,46,0.3) 0%,
        rgba(26,31,46,0.5) 50%,
        rgba(26,31,46,0.7) 100%
    );
    z-index: 1;
}

.shh-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    max-width: 800px;
}

.shh-hero__label {
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--shh-accent);
    font-weight: 500;
    margin: 0 0 44px;
    font-family: var(--shh-font-body);
}

.shh-hero__title {
    font-family: var(--shh-font-body);
    font-size: 58px;
    font-weight: 300;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 44px;
}

.shh-hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 52px;
    font-weight: 300;
    font-family: var(--shh-font-body);
    line-height: 1.6;
}

.shh-hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero intro section — dark background below hero */
.shh-hero-intro {
    background: var(--shh-primary);
    padding: 100px 24px;
}

.shh-hero-intro__inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 48px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(4px);
}

.shh-hero-intro__inner p {
    margin: 0 0 24px;
    color: rgba(255,255,255,0.82);
    font-size: 17px;
    font-family: var(--shh-font-body);
    font-weight: 300;
    line-height: 1.85;
}

.shh-hero-intro__inner p:last-child {
    margin-bottom: 0;
}

.shh-hero__cta .shh-btn-accent {
    padding: 16px 40px;
    font-size: 14px;
}

.shh-hero__cta .shh-btn-outline {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    padding: 16px 40px;
    font-size: 14px;
}

.shh-hero__cta .shh-btn-outline:hover {
    background: #fff;
    color: var(--shh-primary);
    border-color: #fff;
}

/* Scroll indicator */
.shh-hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    font-family: var(--shh-font-body);
}

.shh-hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    margin: 10px auto 0;
    animation: shh-scroll-line 2s ease-in-out infinite;
}

@keyframes shh-scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   Intro / Om
   ============================================ */
.shh-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: var(--shh-max-width);
    margin: 0 auto;
}

.shh-intro__text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--shh-text);
    margin: 0 0 20px;
    font-family: var(--shh-font-body);
    font-weight: 400;
}

.shh-intro__text p:first-child {
    font-size: 18px;
    color: var(--shh-primary);
    font-weight: 400;
}

.shh-intro__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.shh-highlight {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: var(--shh-radius-lg);
    box-shadow: var(--shh-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shh-highlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shh-shadow-lg);
}

.shh-highlight__number {
    display: block;
    font-family: var(--shh-font-heading);
    font-size: 40px;
    color: var(--shh-accent);
    margin-bottom: 6px;
    line-height: 1;
}

.shh-highlight__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--shh-text-light);
    font-family: var(--shh-font-body);
    font-weight: 500;
}

/* ============================================
   Boligvælger (Image Map)
   ============================================ */
.shh-boligvaelger {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--shh-radius-lg);
    overflow: hidden;
    box-shadow: var(--shh-shadow);
}

.shh-boligvaelger__tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid var(--shh-border);
}

.shh-boligvaelger__tab {
    padding: 14px 28px;
    font-size: 13px;
    font-family: var(--shh-font-body);
    letter-spacing: 0.5px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--shh-text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.shh-boligvaelger__tab:hover {
    color: var(--shh-primary);
}

.shh-boligvaelger__tab.active {
    color: var(--shh-primary);
    border-bottom-color: var(--shh-accent);
    font-weight: 600;
}

.shh-boligvaelger__image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: none;
}

.shh-boligvaelger__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.shh-boligvaelger__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    touch-action: none;
    cursor: default;
}

/* Touch hint — injected by JS only on touch devices */
.shh-boligvaelger__touch-hint {
    font-size: 12px;
    color: var(--shh-text-light);
    text-align: center;
    margin: 0 0 8px;
}

/* Zoom reset button */
.shh-boligvaelger__zoom-reset {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 150;
    background: var(--shh-primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-family: var(--shh-font-body);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: background 0.15s;
}
.shh-boligvaelger__zoom-reset:hover {
    background: var(--shh-accent);
}

/* ── Fullscreen map viewer ──────────────────────────────────────── */
.shh-bv-fs-open {
    display: block;
    width: 100%;
    max-width: 820px;
    margin: 10px auto 0;
    padding: 13px 16px;
    -webkit-appearance: none;
    background: var(--shh-primary);
    color: #fff;
    border: none;
    border-radius: var(--shh-radius);
    font-family: var(--shh-font-body);
    font-size: 15px;
    cursor: pointer;
    letter-spacing: 0.01em;
}
.shh-bv-fs-open:hover { background: var(--shh-accent); }

.shh-bv-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #0c1118;
    display: none;
    flex-direction: column;
}
.shh-bv-fullscreen.active { display: flex; }

.shh-bv-fullscreen__header {
    flex-shrink: 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: var(--shh-primary);
    color: #fff;
    gap: 12px;
}
.shh-bv-fullscreen__title {
    font-family: var(--shh-font-heading);
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shh-bv-fullscreen__close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shh-bv-fullscreen__close:hover { background: rgba(255,255,255,0.22); }

.shh-bv-fullscreen__map {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* inline-block so canvas can be position:absolute and match the image exactly */
.shh-bv-fullscreen__wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
    touch-action: none;
}

.shh-bv-fullscreen__img {
    display: block;
    max-width: 100vw;
    max-height: calc(100dvh - 52px);
    width: auto;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.shh-bv-fullscreen__canvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto;
    cursor: default;
}

.shh-boligvaelger__tooltip {
    position: absolute;
    background: var(--shh-primary);
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--shh-radius);
    font-size: 13px;
    font-family: var(--shh-font-body);
    line-height: 1.5;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.15s ease;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.shh-boligvaelger__tooltip.active {
    opacity: 1;
}

.shh-boligvaelger__tooltip strong {
    color: var(--shh-accent);
}

/* Etage picker menu */
.shh-boligvaelger__picker {
    position: absolute;
    background: #fff;
    border-radius: var(--shh-radius-lg);
    box-shadow: var(--shh-shadow-lg);
    z-index: 200;
    min-width: 260px;
    max-width: 320px;
    display: none;
    overflow: hidden;
}

.shh-boligvaelger__picker.active {
    display: block;
}

.shh-picker__title {
    font-family: var(--shh-font-heading);
    font-size: 20px;
    color: var(--shh-primary);
    padding: 20px 24px 4px;
    font-weight: 400;
}

.shh-picker__subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--shh-text-light);
    padding: 0 24px 16px;
    font-family: var(--shh-font-body);
}

.shh-picker__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--shh-font-body);
    border-top: 1px solid var(--shh-border);
    transition: all 0.2s ease;
}

.shh-picker__item:hover {
    background: var(--shh-bg-alt);
    padding-left: 28px;
}

.shh-picker__item:focus-visible {
    outline: 2px solid var(--shh-accent);
    outline-offset: -2px;
}

.shh-picker__item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--shh-primary);
    white-space: nowrap;
}

.shh-picker__item-info {
    font-size: 12px;
    color: var(--shh-text-light);
    flex: 1;
    white-space: nowrap;
}

.shh-picker__item .shh-status {
    font-size: 10px;
    padding: 3px 10px;
}

.shh-boligvaelger__legend {
    display: flex;
    gap: 28px;
    justify-content: center;
    padding: 18px;
    font-size: 13px;
    color: var(--shh-text-light);
    font-family: var(--shh-font-body);
    border-top: 1px solid var(--shh-border);
    background: #fafaf8;
}

.shh-boligvaelger__legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shh-boligvaelger__legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

/* ============================================
   Boligtabel
   ============================================ */
.shh-boligtabel-wrap {
    max-width: var(--shh-max-width);
    margin: 0 auto;
}

.shh-boligtabel-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.shh-boligtabel-filters select,
.shh-boligtabel-filters input {
    padding: 10px 16px;
    border: 1px solid var(--shh-border);
    border-radius: 9999px;
    font-size: 13px;
    font-family: var(--shh-font-body);
    color: var(--shh-text);
    background: #fff;
    min-width: 150px;
    transition: border-color 0.2s ease;
}

.shh-boligtabel-filters select:focus,
.shh-boligtabel-filters input:focus {
    outline: none;
    border-color: var(--shh-accent);
    box-shadow: 0 0 0 3px rgba(184,149,106,0.15);
}

.shh-footer__links a:focus-visible {
    outline: 2px solid var(--shh-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.shh-boligtabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: var(--shh-font-body);
    border-radius: var(--shh-radius-lg);
    overflow: hidden;
    box-shadow: var(--shh-shadow);
}

.shh-boligtabel thead {
    background: var(--shh-primary);
    color: #fff;
}

.shh-boligtabel th {
    padding: 16px 18px;
    text-align: left;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.shh-boligtabel td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--shh-border);
    color: var(--shh-text);
}

.shh-boligtabel tbody tr {
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.shh-boligtabel tbody tr:hover {
    background: var(--shh-bg-alt);
}

.shh-boligtabel tbody tr[data-ejerbolig="true"] {
    opacity: 0.5;
    cursor: default;
}

/* Status badges */
.shh-status {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    font-family: var(--shh-font-body);
}

.shh-status--ledig       { background: var(--shh-status-ledig); }
.shh-status--reserveret  { background: var(--shh-status-reserveret); }
.shh-status--udlejet     { background: var(--shh-status-udlejet); }
.shh-status--ejerbolig   { background: #bbb; color: #fff; }

.shh-plantegning-lb__img {
    max-height: 80vh;
    max-width: 45%;
}

/* Plantegning link (button reset) */
.shh-plantegning-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--shh-accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: inherit;
}

.shh-plantegning-link:hover {
    color: var(--shh-accent-hover);
    text-decoration: underline;
}

.shh-plantegning-link:focus-visible {
    outline: 2px solid var(--shh-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ============================================
   Bolig Modal
   ============================================ */
.shh-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(26, 31, 46, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shh-modal-overlay.active {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.shh-modal {
    background: #fff;
    border-radius: var(--shh-radius-lg);
    max-width: 840px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shh-shadow-lg);
}

.shh-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    border-bottom: 1px solid var(--shh-border);
}

.shh-modal__title {
    font-family: var(--shh-font-heading);
    font-size: 26px;
    color: var(--shh-primary);
    margin: 0;
    font-weight: 400;
}

.shh-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--shh-text-light);
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    line-height: 1;
}

.shh-modal__close:hover {
    color: var(--shh-primary);
}

.shh-modal__close:focus-visible {
    outline: 2px solid var(--shh-accent);
    outline-offset: 2px;
    border-radius: var(--shh-radius);
}

.shh-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.shh-modal__info {
    padding: 32px;
}

.shh-modal__contact {
    padding: 32px;
    background: var(--shh-bg-alt);
    border-left: 1px solid var(--shh-border);
}

.shh-modal__data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.shh-modal__data-item label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--shh-text-light);
    margin-bottom: 6px;
    font-family: var(--shh-font-body);
    font-weight: 500;
}

.shh-modal__data-item span {
    font-size: 20px;
    color: var(--shh-primary);
    font-family: var(--shh-font-heading);
}

.shh-modal__plantegning {
    margin-top: 20px;
    border-radius: var(--shh-radius);
}

.shh-modal__plantegning-btn {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 1px solid var(--shh-border);
    border-radius: var(--shh-radius);
    background: none;
    cursor: zoom-in;
    overflow: hidden;
    position: relative;
    -webkit-tap-highlight-color: rgba(0,0,0,0.05);
}

.shh-modal__plantegning-btn + .shh-modal__plantegning-btn {
    margin-top: 8px;
}

.shh-modal__plantegning-btn img {
    width: 100%;
    display: block;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.shh-modal__plantegning__empty {
    color: #999;
    font-size: 14px;
}

.shh-modal__plantegning-btn:hover img {
    opacity: 0.88;
}

.shh-modal__plantegning-item {
    margin-bottom: 12px;
}

.shh-modal__plantegning-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--shh-primary);
    margin: 0 0 6px 0;
    padding: 6px 12px;
    background: var(--shh-bg-light, #f5f5f5);
    border-radius: var(--shh-radius) var(--shh-radius) 0 0;
    border: 1px solid var(--shh-border);
    border-bottom: none;
    font-family: var(--shh-font-heading);
}

.shh-modal__plantegning-item .shh-modal__plantegning-btn {
    border-radius: 0 0 var(--shh-radius) var(--shh-radius);
    margin-top: 0;
}

.shh-modal__plantegning__hint {
    font-size: 11px;
    color: var(--shh-text-light);
    text-align: center;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* Plantegning lightbox titles */
.shh-plantegning-lb__item {
    text-align: center;
}

.shh-plantegning-lb__title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
    font-family: var(--shh-font-heading);
}

/* ============================================
   Område
   ============================================ */
.shh-omraade {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: var(--shh-max-width);
    margin: 0 auto;
    align-items: start;
}

.shh-omraade__text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--shh-text);
    margin: 0 0 20px;
    font-family: var(--shh-font-body);
    font-weight: 400;
}

.shh-omraade__distances {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.shh-distance {
    padding: 20px;
    background: #fff;
    border-radius: var(--shh-radius-lg);
    box-shadow: var(--shh-shadow);
    transition: transform 0.2s ease;
}

.shh-distance:hover {
    transform: translateY(-2px);
}

.shh-distance__icon {
    width: 28px;
    height: 28px;
    color: var(--shh-accent);
    margin-bottom: 8px;
}

.shh-distance strong {
    display: block;
    font-size: 24px;
    color: var(--shh-accent);
    font-family: var(--shh-font-heading);
    margin-bottom: 4px;
}

.shh-distance span {
    font-size: 13px;
    color: var(--shh-text-light);
    font-family: var(--shh-font-body);
}

.shh-omraade__map {
    border-radius: var(--shh-radius-lg);
    overflow: hidden;
    box-shadow: var(--shh-shadow);
    align-self: start;
}

/* Område galleri */
.shh-omraade-galleri {
    margin-top: 56px;
    max-width: var(--shh-max-width);
    margin-left: auto;
    margin-right: auto;
}
.shh-omraade-galleri__title {
    font-family: var(--shh-font-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    margin: 0 auto 12px;
    color: var(--shh-primary);
}
.shh-omraade-galleri__divider {
    width: 50px;
    height: 2px;
    background: var(--shh-accent);
    margin: 12px auto 28px;
}
.shh-omraade-galleri__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.shh-omraade-galleri__item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--shh-radius-lg);
    box-shadow: var(--shh-shadow);
    cursor: zoom-in;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shh-omraade-galleri__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.shh-omraade-galleri__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.shh-omraade-galleri__item:hover img {
    transform: scale(1.06);
}
@media (max-width: 768px) {
    .shh-omraade-galleri__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .shh-omraade-galleri { margin-top: 48px; }
}

/* Område lightbox */
.shh-omraade-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}
.shh-omraade-lightbox.is-open { display: flex; }
.shh-omraade-lightbox__img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.shh-omraade-lightbox__close,
.shh-omraade-lightbox__prev,
.shh-omraade-lightbox__next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.shh-omraade-lightbox__close:hover,
.shh-omraade-lightbox__prev:hover,
.shh-omraade-lightbox__next:hover {
    background: rgba(255,255,255,0.25);
}
.shh-omraade-lightbox__close { top: 20px; right: 20px; font-size: 32px; }
.shh-omraade-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.shh-omraade-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .shh-omraade-lightbox__prev { left: 8px; }
    .shh-omraade-lightbox__next { right: 8px; }
}

/* ============================================
   Arkitektur cards
   ============================================ */
.shh-arkitektur-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: var(--shh-max-width);
    margin: 0 auto;
}

.shh-arkitektur-card {
    border-radius: var(--shh-radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shh-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shh-arkitektur-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shh-shadow-lg);
}

.shh-arkitektur-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.shh-arkitektur-card:hover img {
    transform: scale(1.03);
}

.shh-arkitektur-card__text {
    padding: 28px;
}

.shh-arkitektur-card__text h3 {
    font-family: var(--shh-font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--shh-primary);
    margin: 0 0 10px;
}

.shh-arkitektur-card__text p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--shh-text-light);
    margin: 0;
    font-family: var(--shh-font-body);
    font-weight: 400;
}

/* ============================================
   Galleri
   ============================================ */
.shh-galleri {
    max-width: var(--shh-max-width);
    margin: 0 auto;
}

.shh-galleri__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.shh-galleri__item {
    overflow: hidden;
    border-radius: var(--shh-radius-lg);
    cursor: pointer;
    aspect-ratio: 16/10;
    box-shadow: var(--shh-shadow);
}

.shh-galleri__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shh-galleri__item:hover img {
    transform: scale(1.08);
}

/* Lightbox (generic — used by plantegning) */
.shh-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 31, 46, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.shh-lightbox.active { display: flex; }

.shh-lightbox__content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    max-height: 90vh;
    overflow-y: auto;
}

.shh-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--shh-radius);
}

.shh-lightbox__close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 100000;
    line-height: 1;
    padding: 0;
}
.shh-lightbox__close:hover { background: rgba(0,0,0,0.7); }
.shh-lightbox__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- Galleri lightbox overlay ---- */
.shh-galleri-lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000001;
    background: rgba(10, 10, 10, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.shh-galleri-lightbox.active { display: flex; }
.shh-galleri-lightbox.no-nav .shh-galleri-lightbox__prev,
.shh-galleri-lightbox.no-nav .shh-galleri-lightbox__next { display: none; }

/* The fixed frame */
.shh-galleri-lightbox__frame {
    position: relative;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    width: min(90vw, 1100px);
    height: min(80vh, 700px);
    box-shadow: 0 32px 100px rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image inside frame */
.shh-galleri-lightbox__img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 72px;
    box-sizing: border-box;
    overflow: hidden;
    touch-action: none;
}
.shh-galleri-lightbox__img-wrap img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.18s ease;
    transform-origin: 0 0;
    will-change: transform;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Close button — top right of frame */
.shh-galleri-lightbox__close {
    position: absolute;
    top: 12px; right: 12px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none; border-radius: 50%;
    color: #fff; cursor: pointer;
    transition: background 0.2s ease;
    z-index: 3;
}
.shh-galleri-lightbox__close:hover { background: rgba(255,255,255,0.22); }
.shh-galleri-lightbox__close:focus-visible,
.shh-galleri-lightbox__prev:focus-visible,
.shh-galleri-lightbox__next:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Nav arrows inside frame, vertically centered */
.shh-galleri-lightbox__prev,
.shh-galleri-lightbox__next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none; border-radius: 50%;
    color: #fff; cursor: pointer;
    transition: background 0.2s ease;
    z-index: 3;
}
.shh-galleri-lightbox__prev:hover,
.shh-galleri-lightbox__next:hover { background: rgba(255,255,255,0.22); }
.shh-galleri-lightbox__prev { left: 12px; }
.shh-galleri-lightbox__next { right: 12px; }

/* Counter below the frame */
.shh-galleri-lightbox__counter {
    position: absolute;
    bottom: -32px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.65);
    font-size: 13px; letter-spacing: 1px;
    font-family: var(--shh-font-body);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .shh-galleri-lightbox { padding: 12px; }
    .shh-galleri-lightbox__frame {
        width: 100%;
        height: min(70vh, 500px);
    }
    .shh-galleri-lightbox__img-wrap { padding: 12px 56px; }
    .shh-galleri-lightbox__prev,
    .shh-galleri-lightbox__next { width: 44px; height: 44px; }
    .shh-galleri-lightbox__prev { left: 8px; }
    .shh-galleri-lightbox__next { right: 8px; }
}

/* ============================================
   Beboer info
   ============================================ */
.shh-beboer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--shh-max-width);
    margin: 0 auto;
}

.shh-beboer-card {
    padding: 36px;
    background: #fff;
    border-radius: var(--shh-radius-lg);
    box-shadow: var(--shh-shadow);
    transition: transform 0.3s ease;
}

.shh-beboer-card:hover {
    transform: translateY(-4px);
}

.shh-beboer-card h3 {
    font-family: var(--shh-font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--shh-primary);
    margin: 0 0 14px;
}

.shh-beboer-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--shh-text-light);
    margin: 0;
    font-family: var(--shh-font-body);
    font-weight: 400;
}

.shh-beboer-card a {
    color: var(--shh-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.shh-beboer-card a:hover {
    color: var(--shh-accent-hover);
}

/* Beboer hero banner */
.shh-beboer-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shh-beboer-hero__bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.shh-beboer-hero__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26,31,46,0.6);
    z-index: 1;
}

.shh-beboer-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px 40px;
}

.shh-beboer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: var(--shh-max-width);
    margin: 0 auto;
}

.shh-beboer-contact-card {
    margin-top: 16px;
    padding: 20px;
    background: var(--shh-bg-alt);
    border-radius: var(--shh-radius);
    font-size: 14px;
    line-height: 1.8;
    color: var(--shh-text-light);
}

.shh-beboer-contact-card a {
    color: var(--shh-accent);
    text-decoration: none;
}

.shh-beboer-contact-card a:hover {
    text-decoration: underline;
}

/* ============================================
   Kontaktsektion (forside)
   ============================================ */
.shh-kontakt-section {
    background: var(--shh-bg-alt);
    padding: 80px 30px;
    text-align: center;
}

.shh-kontakt-section__title {
    font-family: var(--shh-font-heading);
    font-size: 38px;
    font-weight: 400;
    color: var(--shh-primary);
    text-align: center;
    margin: 0 auto 12px;
    line-height: 1.2;
}

.shh-kontakt-section__intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--shh-text-light);
    font-size: 15px;
    line-height: 1.7;
}

.shh-kontakt-section__intro p {
    margin: 0 0 12px;
}

.shh-kontakt-section__partner-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 8px;
    border-radius: 6px;
}

.shh-kontakt-section__layout {
    max-width: 860px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
    text-align: left;
}

.shh-kontakt-section__form-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 32px rgba(26,31,46,0.07);
    border-top: 3px solid var(--shh-accent);
}

.shh-kontakt-section__form {
    display: grid;
    gap: 20px;
}

.shh-kontakt__required-note {
    font-size: 11px;
    color: var(--shh-text-light);
    font-family: var(--shh-font-body);
    margin: 0;
    letter-spacing: 0.3px;
    text-align: right;
}

.shh-kontakt-section__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.shh-kontakt-section__form .shh-kontakt__field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--shh-text-light);
    margin-bottom: 8px;
    font-family: var(--shh-font-body);
    font-weight: 500;
}

.shh-kontakt-section__form .shh-kontakt__field label span {
    color: var(--shh-accent);
}

.shh-kontakt-section__form .shh-kontakt__field input,
.shh-kontakt-section__form .shh-kontakt__field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--shh-border);
    border-radius: var(--shh-radius);
    font-size: 16px;
    font-family: var(--shh-font-body);
    color: var(--shh-text);
    background: var(--shh-bg);
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shh-kontakt-section__form .shh-kontakt__field input:focus,
.shh-kontakt-section__form .shh-kontakt__field textarea:focus {
    outline: none;
    border-color: var(--shh-accent);
    box-shadow: 0 0 0 3px rgba(184,149,106,0.15);
}

.shh-kontakt-section__form .shh-kontakt__field:focus-within label {
    color: var(--shh-accent-text);
}

.shh-kontakt-section__form .shh-kontakt__field textarea {
    resize: vertical;
    min-height: 110px;
}

.shh-kontakt-section__form .shh-kontakt__field-hint {
    display: block;
    font-size: 12px;
    color: var(--shh-text-light);
    font-family: var(--shh-font-body);
    line-height: 1.5;
    margin-top: 6px;
}

.shh-kontakt-section__btn {
    width: 100%;
    padding: 15px;
    margin-top: 4px;
}

.shh-kontakt-section__success {
    display: none;
    padding: 40px 24px;
    text-align: center;
    font-family: var(--shh-font-body);
}

.shh-kontakt-section__success svg {
    color: var(--shh-accent);
    display: block;
    margin: 0 auto 16px;
}

.shh-kontakt-section__success strong {
    display: block;
    font-size: 20px;
    font-family: var(--shh-font-heading);
    font-weight: 400;
    color: var(--shh-primary);
    margin-bottom: 8px;
}

.shh-kontakt-section__success p {
    color: var(--shh-text-light);
    margin: 0;
    font-size: 14px;
}

.shh-kontakt-section__aside {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.shh-kontakt-section__contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shh-kontakt-section__contact-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--shh-accent);
    font-family: var(--shh-font-body);
    font-weight: 600;
}

.shh-kontakt-section__contact-value {
    font-size: 14px;
    color: var(--shh-text);
    font-family: var(--shh-font-body);
    text-decoration: none;
    line-height: 1.5;
}

a.shh-kontakt-section__contact-value:hover {
    color: var(--shh-accent);
}

.shh-kontakt-section__note {
    font-size: 12px;
    color: var(--shh-text-light);
    font-family: var(--shh-font-body);
    line-height: 1.7;
    padding-top: 12px;
    border-top: 1px solid var(--shh-border);
}

/* Modal form (unchanged, standalone kontakt) */
.shh-kontakt {
    max-width: 600px;
    margin: 0 auto;
}

.shh-kontakt__form {
    display: grid;
    gap: 18px;
}

.shh-kontakt__field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--shh-text-light);
    margin-bottom: 8px;
    font-family: var(--shh-font-body);
    font-weight: 500;
}

.shh-kontakt__field input,
.shh-kontakt__field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--shh-border);
    border-radius: var(--shh-radius);
    font-size: 16px;
    font-family: var(--shh-font-body);
    color: var(--shh-text);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shh-kontakt__field input:focus,
.shh-kontakt__field textarea:focus {
    outline: none;
    border-color: var(--shh-accent);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.15);
}

.shh-kontakt__field textarea {
    resize: vertical;
    min-height: 120px;
}

.shh-kontakt__success {
    background: rgba(184,149,106,0.1);
    color: var(--shh-primary);
    border: 1px solid var(--shh-accent);
    padding: 20px;
    border-radius: var(--shh-radius);
    text-align: center;
    display: none;
    font-family: var(--shh-font-body);
}

/* ============================================
   Features banner
   ============================================ */
.shh-features-banner {
    background: var(--shh-primary);
    padding: 56px 40px;
}

.shh-features-banner__list {
    max-width: var(--shh-max-width);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 48px;
}

.shh-features-banner__list li {
    font-family: var(--shh-font-body);
    font-size: 15px;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
    padding-left: 28px;
    position: relative;
}

.shh-features-banner__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--shh-accent);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .shh-features-banner { padding: 40px 20px; }
    .shh-features-banner__list { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================
   Cookie banner
   ============================================ */
.shh-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--shh-primary);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.shh-cookie-banner--visible {
    transform: translateY(0);
    opacity: 1;
}

.shh-cookie-banner__inner {
    max-width: var(--shh-max-width);
    margin: 0 auto;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.shh-cookie-banner__text {
    font-family: var(--shh-font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}

.shh-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.shh-cookie-banner__btn {
    font-family: var(--shh-font-body);
    font-size: 13px;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: var(--shh-radius);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.shh-cookie-banner__btn:hover { opacity: 0.85; }

.shh-cookie-banner__btn--accept {
    background: var(--shh-accent);
    color: #fff;
}

.shh-cookie-banner__btn--decline {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
}

.shh-cookie-banner__link {
    color: var(--shh-accent);
    text-decoration: underline;
}

/* ============================================
   Map placeholder
   ============================================ */
.shh-map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--shh-bg-alt);
    border-radius: var(--shh-radius);
    border: 1px solid var(--shh-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shh-map-placeholder__inner {
    text-align: center;
    color: var(--shh-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.shh-map-placeholder__inner svg {
    color: var(--shh-accent);
    opacity: 0.7;
}

.shh-map-placeholder__inner p {
    font-family: var(--shh-font-body);
    font-size: 14px;
    margin: 0;
    color: var(--shh-text-light);
}

.shh-map-placeholder__btn {
    font-family: var(--shh-font-body);
    font-size: 13px;
    font-weight: 500;
    padding: 9px 22px;
    background: var(--shh-accent);
    color: #fff;
    border: none;
    border-radius: var(--shh-radius);
    cursor: pointer;
    transition: background 0.2s;
}

.shh-map-placeholder__btn:hover { background: var(--shh-accent-hover); }

@media (max-width: 600px) {
    .shh-cookie-banner__inner { padding: 14px 20px; gap: 14px; }
    .shh-cookie-banner__actions { width: 100%; }
    .shh-cookie-banner__btn { flex: 1; text-align: center; }
}

/* ============================================
   Fade-in animation
   ============================================ */
.shh-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.shh-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .shh-fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   Smooth scroll
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    /* Mobile nav */
    .shh-nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--shh-primary);
        flex-direction: column;
        padding: 20px 30px;
        gap: 16px;
    }
    .shh-nav__links.open { display: flex; }
    .shh-nav__toggle { display: block; }
    .shh-nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .shh-nav__toggle.open span:nth-child(2) { opacity: 0; }
    .shh-nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .shh-kontakt-section { padding: 60px 20px; }
    .shh-kontakt-section__layout { grid-template-columns: 1fr; gap: 32px; }
    .shh-kontakt-section__title { font-size: 30px; }
    .shh-kontakt-section__form-card { padding: 28px 20px; }
    .shh-kontakt-section__row { grid-template-columns: 1fr; }
    .shh-kontakt-section__aside { padding-top: 0; }

    .shh-footer__inner { grid-template-columns: 1fr; gap: 28px; }

    .shh-hero { min-height: 75vh; }
    .shh-hero__title { font-size: 36px; }
    .shh-hero__subtitle { font-size: 15px; margin-bottom: 28px; }
    .shh-hero__label { font-size: 11px; letter-spacing: 3px; }
    .shh-hero__cta .shh-btn { padding: 14px 28px; font-size: 14px; }

    .shh-section { padding: 50px 20px; }
    .shh-section--first { padding-top: 110px; }
    .shh-kontakt-section.shh-section--first { padding-top: 110px; }
    .shh-section-title { font-size: 28px; }

    .shh-intro { grid-template-columns: 1fr; gap: 40px; }
    .shh-omraade { grid-template-columns: 1fr; gap: 32px; }
    .shh-arkitektur-grid { grid-template-columns: 1fr; }
    .shh-beboer-grid { grid-template-columns: 1fr; }
    .shh-beboer-layout { grid-template-columns: 1fr; }

    .shh-hero__description { font-size: 14px; }

    .shh-kontakt-section__intro { font-size: 14px; }

    .shh-footer__inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
    .shh-footer__links { justify-content: center; }
    .shh-footer__partner { flex-direction: column; align-items: center; gap: 8px; }
    .shh-footer__brand { text-align: center; }

    .shh-hero-intro { padding: 50px 16px; }
    .shh-hero-intro__inner { padding: 32px 24px; }
    .shh-hero-intro__inner p { font-size: 15px; }

    .shh-boligtabel-filters { flex-direction: column; }

    /* Table → cards on mobile */
    .shh-boligtabel { box-shadow: none; }
    .shh-boligtabel thead { display: none; }
    .shh-boligtabel tbody tr {
        display: block;
        margin-bottom: 16px;
        border-radius: var(--shh-radius-lg);
        padding: 20px;
        background: #fff;
        box-shadow: var(--shh-shadow);
    }
    .shh-boligtabel td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #f0ede8;
    }
    .shh-boligtabel td:last-child {
        border-bottom: none;
    }
    .shh-boligtabel td::before {
        content: attr(data-label);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--shh-text-light);
        font-weight: 500;
        font-family: var(--shh-font-body);
    }

    .shh-modal__body {
        grid-template-columns: 1fr;
    }
    .shh-modal__header {
        padding: 20px 20px;
    }
    .shh-modal__title {
        font-size: 20px;
    }
    .shh-modal__info,
    .shh-modal__contact {
        padding: 20px;
    }
    .shh-modal__contact {
        border-left: none;
        border-top: 1px solid var(--shh-border);
    }

    .shh-galleri__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .shh-boligvaelger__legend {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 16px;
        font-size: 12px;
    }

    .shh-boligtabel-filters select,
    .shh-boligtabel-filters input {
        width: 100%;
        min-width: unset;
    }

    .shh-boligvaelger__tooltip {
        white-space: normal;
        max-width: 200px;
        font-size: 12px;
    }

    .shh-modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .shh-modal {
        max-height: 92vh;
        border-radius: var(--shh-radius-lg) var(--shh-radius-lg) 0 0;
    }

    .shh-modal__data-grid {
        gap: 14px;
    }

    /* Better card tap target on mobile */
    .shh-boligtabel tbody tr {
        padding: 16px;
    }
    .shh-boligtabel td {
        padding: 7px 0;
    }
    /* Highlight address as primary info on mobile card */
    .shh-boligtabel td:first-child {
        font-weight: 600;
        font-size: 15px;
        color: var(--shh-primary);
        padding-bottom: 10px;
        border-bottom: 1px solid var(--shh-border);
        margin-bottom: 4px;
    }
    .shh-boligtabel td:first-child::before {
        display: none;
    }

    /* Touch targets: hamburger */
    .shh-nav__toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 10px 12px;
    }

    /* Nav links: larger tap target on mobile menu */
    .shh-nav__links a {
        padding: 10px 0;
        display: block;
        font-size: 15px;
        letter-spacing: 1px;
    }

    /* Subtitles: bump from 12px */
    .shh-section-subtitle { font-size: 13px; letter-spacing: 2px; }

    /* Footer nav links */
    .shh-footer__links a { font-size: 14px; padding: 5px 0; }

    /* Contact note */
    .shh-kontakt-section__note { font-size: 13px; }

    /* Table mobile card labels */
    .shh-boligtabel td::before { font-size: 12px; }

    /* Highlight stat labels */
    .shh-highlight__label { font-size: 13px; letter-spacing: 1px; }

    /* Map iframe responsive height */
    .shh-omraade__map iframe { height: 280px; }

    /* Architecture card image height */
    .shh-arkitektur-card img { height: 220px; }

    /* Lightbox: mobile padding */
    .shh-lightbox {
        padding: 50px 10px 10px;
    }
    /* Plantegning lightbox: scrollable on mobile */
    .shh-plantegning-lightbox {
        align-items: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .shh-lightbox__close {
        top: 10px;
        right: 10px;
        font-size: 32px;
        z-index: 10;
        background: rgba(0,0,0,0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .shh-lightbox__content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }
    .shh-plantegning-lightbox .shh-lightbox__content {
        max-height: none;
        overflow: visible;
    }
    .shh-plantegning-lb__item {
        width: 100%;
        text-align: center;
    }
    .shh-lightbox img,
    .shh-plantegning-lb__img { max-width: 100% !important; max-height: 40vh !important; }
    .shh-plantegning-lb__title { font-size: 15px; }

    /* Modal plantegning: cap height so full image is always visible on mobile */
    .shh-modal__plantegning-btn {
        overflow: visible;
    }
    .shh-modal__plantegning-btn img {
        width: auto !important;
        max-width: 100%;
        max-height: 50vh;
        margin: 0 auto;
        display: block;
    }

    /* Modal body: show contact/CTA after property details on mobile */
    .shh-modal__body {
        display: flex;
        flex-direction: column;
    }
    .shh-modal__contact {
        order: 2;
    }

    /* Hero scroll indicator: hide on mobile */
    .shh-hero__scroll { display: none; }

    /* Nav: ensure background on whole bar when menu is open */
    .shh-nav:has(.shh-nav__links.open) { background: var(--shh-primary); }

    /* Filter group labels */
    .shh-boligtabel-filter-group { display: flex; flex-direction: column; gap: 4px; }
    .shh-boligtabel-filter-group label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--shh-text-light); font-weight: 500; }
}

@media (max-width: 480px) {
    .shh-hero__title { font-size: 28px; }
    .shh-highlight__number { font-size: 32px; }
    .shh-intro__highlights { gap: 12px; }

    .shh-galleri__grid {
        grid-template-columns: 1fr;
    }

    /* Map on small phones */
    .shh-omraade__map iframe { height: 220px; }

    /* Architecture card image */
    .shh-arkitektur-card img { height: 180px; }

    /* Picker: bottom sheet on narrow screens */
    .shh-boligvaelger__picker {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: auto !important;
        bottom: 20px !important;
        min-width: unset !important;
        max-width: unset !important;
        width: auto;
    }
}

@media (max-width: 360px) {
    .shh-hero__title { font-size: 24px; }
    .shh-hero__subtitle { font-size: 14px; }
}
