/*
Theme Name: Weblabs Custom
Theme URI: https://weareweblabs.de
Author: Weblabs
Description: Custom Theme Migration from Payload – Stil Studie
Version: 2.2
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&family=Roboto:wght@400;600&display=swap');

:root {
    --theme-primary: #C8C5C0;
    --theme-secondary: #667eea;
    --theme-bg: #ffffff;
    --theme-text: #000000;
    --theme-muted: rgba(0,0,0,0.5);
    --theme-border: rgba(0,0,0,0.1);
    --theme-card-bg: #ffffff;
}

/* ================= Ø GLYPH FIX ================= */
/* Barlow Condensed Ø/ø glyph has an unusually wide advance width.
   JS (footer) wraps each ø/Ø character in this span to compensate. */
.oslash-fix { letter-spacing: -0.12em; }

/* ================= RESET & BASE ================= */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background-color: var(--theme-bg);
    color: var(--theme-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
u { text-decoration: none; color: var(--theme-primary); border-bottom: 2px solid var(--theme-primary); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0;
    margin-top: 0;
    line-height: 1.15;
    font-kerning: normal;
    font-feature-settings: "kern" 1;
}

p { margin-top: 0; line-height: 1.6; color: var(--theme-muted); }
p a, .content a { color: var(--theme-text); text-decoration: underline; text-underline-offset: 3px; }
p a:hover, .content a:hover { color: var(--theme-primary); }

/* ================= UTILITIES ================= */
.section-padding { padding: 80px 40px; }
.container { max-width: 1400px; margin: 0 auto; }
.text-center { text-align: center; }

.heading-xl { font-size: clamp(2rem, 5vw, 6rem); margin-bottom: 1rem; }
.heading-lg { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.heading-md { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; line-height: 1.2; }
.heading-sm { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3; }

.zigzag-divider {
    border: none; height: 3px; width: 80px; margin: 40px auto;
    background-color: #C8C5C0; display: block;
}
.zigzag-left { margin: 40px 0; }

.btn-primary {
    display: inline-block; padding: 14px 40px; text-transform: uppercase; letter-spacing: 2px;
    font-weight: 600; font-size: 0.85rem; text-decoration: none; border: 2px solid #fff;
    color: #fff; transition: 0.3s; background: transparent;
}
.btn-primary:hover { background: #fff; color: #000; }

.btn-dark {
    display: inline-block; padding: 14px 40px; text-transform: uppercase; letter-spacing: 2px;
    font-weight: 600; font-size: 0.85rem; text-decoration: none; border: 2px solid #000;
    color: #000; transition: 0.3s; background: transparent;
}
.btn-dark:hover { background: #000; color: #fff; }

/* Same size as the header "Book et møde" button */
.btn-dark-sm {
    display: inline-block; padding: 9px 20px; text-transform: uppercase; letter-spacing: 2px;
    font-weight: 600; font-size: 10px; text-decoration: none; border: 1.5px solid #111;
    color: #111; background: transparent; transition: all 0.25s; white-space: nowrap;
    font-family: 'Roboto', sans-serif;
}
.btn-dark-sm:hover { background: #111; color: #fff; }

/* ================= HEADER ================= */
/* Smart Sticky: white bg + black text default.
   On homepage: transparent over hero, then white.
   Hides on scroll down, shows on scroll up. */

.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: transform 0.35s ease, background 0.35s ease,
                border-color 0.35s ease, padding 0.35s ease,
                box-shadow 0.35s ease;
    will-change: transform;
}
.site-header::after { display: none; }

/* Default: black text, dark logo */
.header-nav a {
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    transition: color 0.25s;
}
.header-nav a:hover { color: var(--theme-primary); }

.header-logo { flex: 0 0 auto; }
.header-logo img {
    height: 35px;
    display: block;
    filter: brightness(0);
    transition: filter 0.25s;
}

/* ── Smart Sticky: hide on scroll down ── */
.site-header.header-hidden {
    transform: translateY(-100%);
}

/* ── Homepage Hero: transparent over hero ── */
.site-header.header-hero {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}
.site-header.header-hero::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}
.site-header.header-hero .header-nav a { color: #fff; }
.site-header.header-hero .header-nav a:hover { color: rgba(255,255,255,0.65); }
.site-header.header-hero .header-logo img { filter: brightness(0) invert(1); }
.site-header.header-hero .mobile-menu-toggle span { background: #fff; }

/* ── Solid state (scrolled past hero or sticky appearing) ── */
.site-header.header-solid {
    background: #fff;
    border-bottom-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 15px 40px;
}
.site-header.header-solid::after { display: none; }
.site-header.header-solid .header-nav a { color: #111; }
.site-header.header-solid .header-nav a:hover { color: var(--theme-primary); }
.site-header.header-solid .header-logo img { filter: brightness(0); }
.site-header.header-solid .mobile-menu-toggle span { background: #111; }

/* Body padding for fixed header (non-hero pages) */
body.header-on-light { padding-top: 82px; }

/* Admin bar offset */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
    body.admin-bar.header-on-light { padding-top: 128px; }
}

/* ── Shared header inner layout ── */
.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
.header-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}
.header-nav-left, .header-nav-right { flex: 1; }
.header-nav-left  { justify-content: flex-end;   padding-right: 50px; }
.header-nav-right { justify-content: flex-start;  padding-left:  50px; }

/* ================= MOBILE MENU ================= */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
    position: absolute;
    right: 0;
}
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #111;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-close {
    position: absolute;
    top: 30px; right: 40px;
    background: none; border: none;
    color: #fff; font-size: 36px;
    cursor: pointer;
}
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}
.mobile-menu-nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 3px;
    transition: color 0.3s;
}
.mobile-menu-nav a:hover { color: var(--theme-primary); }

/* Mobile menu CTA button */
.mobile-menu-cta {
    margin-top: 20px;
    padding: 14px 40px !important;
    border: 2px solid #fff !important;
    font-size: 0.85rem !important;
    text-align: center;
}

/* ── Header CTA Button ── */
.header-cta-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    padding: 9px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    border: 1.5px solid #111;
    color: #111;
    background: transparent;
    transition: all 0.25s;
    white-space: nowrap;
}
.header-cta-btn:hover {
    background: #111;
    color: #fff;
}
/* On hero: white border/text */
.site-header.header-hero .header-cta-btn {
    border-color: #fff;
    color: #fff;
}
.site-header.header-hero .header-cta-btn:hover {
    background: #fff;
    color: #111;
}

@media (max-width: 900px) {
    .header-nav { display: none; }
    .header-cta-btn { display: none; }
    .mobile-menu-toggle { display: flex; }
    .site-header { padding: 15px 20px; }
    .site-header.header-solid { padding: 12px 20px; }
    body.header-on-light { padding-top: 62px; }
}
@media (max-width: 480px) {
    .mobile-menu-nav a { font-size: 1.5rem; letter-spacing: 2px; }
}

/* ================= BOOKING PAGE ================= */
.booking-page { padding: 0 20px 80px; }
.booking-intro {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px 50px;
}
.booking-intro h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
}
.booking-intro p { color: rgba(0,0,0,0.55); max-width: 550px; margin: 0 auto; }

.booking-layout {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}
.booking-calendar-side {
    display: flex;
    flex-direction: column;
}
.booking-calendar {
    flex: 1;
}

/* Calendar */
.booking-calendar {
    background: #fafafa;
    border-radius: 6px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.06);
}
.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.cal-header h3 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    font-weight: 600;
}
.cal-header button {
    background: none;
    border: 1px solid rgba(0,0,0,0.12);
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-header button:hover { background: #111; color: #fff; border-color: #111; }

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}
.cal-weekdays span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: rgba(0,0,0,0.35);
    padding: 6px 0;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.15s;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #333;
}
.cal-day:hover:not(.cal-day-disabled):not(.cal-day-empty) {
    background: rgba(0,0,0,0.06);
}
.cal-day-empty { visibility: hidden; cursor: default; }
.cal-day-disabled { color: rgba(0,0,0,0.15); cursor: not-allowed; pointer-events: none; }
.cal-day-today { font-weight: 700; border: 1.5px solid rgba(0,0,0,0.2); }
.cal-day-selected {
    background: #111 !important;
    color: #fff !important;
    font-weight: 700;
}

/* Time slots */
.booking-times { margin-top: 25px; }
.booking-times h4 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(0,0,0,0.5);
}
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.time-slot {
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: 0.15s;
    background: #fff;
    font-weight: 500;
}
.time-slot:hover { border-color: #111; }
.time-slot.selected {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Booking form (right side) */
.booking-form-panel h3 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
}
.booking-form-panel .stil-form-group { margin-bottom: 22px; }
.booking-form-panel .stil-form-group label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--theme-text);
}
.booking-form-panel input,
.booking-form-panel select,
.booking-form-panel textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--theme-text);
    outline: none;
    transition: border-color 0.2s;
}
.booking-form-panel input:focus,
.booking-form-panel select:focus,
.booking-form-panel textarea:focus {
    border-bottom-color: #111;
}
.booking-form-panel select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding-right: 25px;
}
.booking-form-panel textarea {
    border: 1px solid rgba(0,0,0,0.15);
    padding: 12px;
    resize: vertical;
    min-height: 80px;
}
.booking-form-panel textarea:focus { border-color: #111; }

.booking-selected-summary {
    background: #f5f5f3;
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    display: none;
}
.booking-selected-summary.visible { display: block; }
.booking-selected-summary strong {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.4);
}

@media (max-width: 900px) {
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 480px) {
    .time-slots { grid-template-columns: repeat(2, 1fr); }
    .booking-calendar { padding: 20px; }
}

/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    background: #000;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.35); z-index: 2;
}
.hero-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 3; text-align: center; color: white; width: 90%;
}
.hero-subtitle {
    font-size: 14px; letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 20px;
    font-family: 'Roboto', sans-serif; font-weight: 400;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    margin: 0; letter-spacing: 2px; line-height: 1;
}
.hero-controls {
    position: absolute; bottom: 40px; right: 40px;
    z-index: 3; display: flex; gap: 8px;
}
.hero-controls button {
    background: transparent; border: 1px solid rgba(255,255,255,0.5); color: white;
    width: 40px; height: 40px; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hero-controls button:hover { background: white; color: black; }
.hero-thumbnails {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; gap: 10px;
}
.hero-thumb {
    width: 70px; height: 45px; cursor: pointer; border: 2px solid transparent;
    background-size: cover; background-position: center; opacity: 0.5; transition: 0.3s;
}
.hero-thumb.active, .hero-thumb:hover { opacity: 1; border-color: white; }

@media (max-width: 768px) {
    .hero-slider { height: 60vh; }
    .hero-thumbnails { gap: 5px; bottom: 20px; }
    .hero-thumb { width: 50px; height: 35px; }
    .hero-controls { bottom: 20px; right: 20px; }
}

/* ================= SERVICES GRID ================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service-card {
    position: relative; aspect-ratio: 1; overflow: hidden;
    display: block; color: #000; text-decoration: none;
}
.service-card img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.9); transition: transform 0.5s;
}
.service-card:hover img { transform: scale(1.05); }
.service-card-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 70%; background: #fff; padding: 30px 25px; text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.service-link {
    font-size: 0.72rem; color: var(--theme-muted);
    text-transform: uppercase; letter-spacing: 0.5px;
    margin: 0; text-decoration: none;
}

.service-intro {
    display: flex; flex-direction: column;
    justify-content: center; padding: 25px;
}
.service-intro-link {
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    border-bottom: 2px solid #000; padding-bottom: 5px;
    display: inline-block; text-decoration: none; color: #000;
}

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ================= IMAGE TEXT BLOCKS ================= */
.image-text-block { display: flex; gap: 60px; align-items: center; }
.image-text-block.reverse { flex-direction: row-reverse; }
.image-text-content { flex: 1; padding: 20px; }
.image-text-image { flex: 1; }
.image-text-image img { width: 100%; height: 600px; object-fit: cover; display: block; }
.image-text-image.tall img { height: 450px; }

@media (max-width: 900px) {
    .image-text-block, .image-text-block.reverse { flex-direction: column; gap: 30px; }
    .image-text-image img { height: 400px; }
}

/* ================= PORTFOLIO SLIDER ================= */
.portfolio-header {
    display: flex; gap: 60px; align-items: flex-start; margin-bottom: 40px;
}
.portfolio-header-text { flex: 0 0 350px; }
.portfolio-slider {
    flex: 1; display: flex; gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 20px; scrollbar-width: none;
}
.portfolio-slider::-webkit-scrollbar { display: none; }
.portfolio-card {
    flex: 0 0 calc(33.333% - 14px); scroll-snap-align: start;
    position: relative; aspect-ratio: 3/4; overflow: hidden;
    display: block; text-decoration: none;
}
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; background: #fff; padding: 20px;
    text-align: center; transform: translateY(100%); transition: transform 0.3s ease;
}
.portfolio-card:hover .portfolio-card-overlay { transform: translateY(0); }
.portfolio-card--disabled {
    cursor: default;
    pointer-events: none;
}
.portfolio-card--disabled .portfolio-card-overlay {
    transform: translateY(0);
}
.portfolio-card--disabled .service-link {
    opacity: 0.45;
}

.slider-controls {
    display: flex; gap: 10px; margin-top: 10px;
}
.slider-controls button {
    background: transparent; border: 1px solid rgba(0,0,0,0.3); color: #000;
    width: 40px; height: 40px; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.slider-controls button:hover { background: #000; color: #fff; }

@media (max-width: 900px) {
    .portfolio-header { flex-direction: column; gap: 30px; }
    .portfolio-header-text { flex: 1; }
    .portfolio-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 600px) { .portfolio-card { flex: 0 0 80%; } }

/* ================= CTA SECTION ================= */
.cta-section {
    padding: 100px 20px; text-align: center; color: #fff;
    background-size: cover; background-position: center; position: relative;
}
.cta-section::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.cta-content { position: relative; z-index: 2; }
.cta-icon { width: 80px; height: 80px; margin: 0 auto 30px; filter: brightness(0) invert(1); display: block; }

/* ================= FOOTER ================= */
.site-footer { border-top: 1px solid var(--theme-border); }

.footer-newsletter {
    padding: 50px 40px;
    border-bottom: 1px solid var(--theme-border);
}
.footer-newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    cursor: pointer;
    text-decoration: none;
}
.footer-newsletter h3 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.3rem;
    margin: 0;
    pointer-events: auto;
    transition: color 0.3s;
}
.footer-newsletter-inner:hover h3 { color: var(--theme-primary); }
.footer-newsletter-arrow {
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
    pointer-events: auto;
}
.footer-newsletter-inner:hover .footer-newsletter-arrow { color: var(--theme-primary); }

.footer-main { padding: 60px 40px; }
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}
.footer-contact p {
    margin: 0 0 5px;
    font-size: 14px;
    color: #666;
}
.footer-contact a {
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}
.footer-contact a:hover { color: #000; }
.footer-logo-col { text-align: center; flex: 1; }
.footer-logo {
    height: 30px;
    opacity: 0.5;
    margin: 0 auto;
    display: block;
}
.footer-nav {
    display: flex;
    gap: 30px;
}
.footer-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.footer-nav a:hover { color: #000; }

.footer-bottom {
    padding: 20px 40px;
    border-top: 1px solid var(--theme-border);
    background: #f8f8f8;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 12px;
    color: #999;
    margin: 0;
}
.footer-brand {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.footer-social {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-social a {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(0,0,0,0.55);
    font-weight: 600;
}
.footer-social a:hover { color: #000; }
.footer-social-sep { color: rgba(0,0,0,0.25); font-size: 0.75rem; }

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
}
.footer-ai {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-ai-label {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 600;
}
.footer-ai-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.footer-ai-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px 5px 8px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.6);
    text-decoration: none;
    color: #777;
    font-size: 0.68rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-ai-link:hover {
    color: #333;
    border-color: rgba(0,0,0,0.18);
    background: #fff;
}
.footer-ai-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    display: block;
    opacity: 0.85;
}
.footer-ai-link:hover .footer-ai-icon {
    opacity: 1;
}
.footer-bottom-sep { color: #ddd; }
.footer-cookie-link {
    color: #999;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.footer-cookie-link:hover { color: #666; }

/* ================= HOMEPAGE FAQ & REVIEWS ================= */
.home-faq-list {
    max-width: 820px;
    margin: 36px auto 0;
    border-top: 1px solid var(--theme-border);
}
.home-faq-item {
    border-bottom: 1px solid var(--theme-border);
}
.home-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--theme-text);
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-icon {
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
}
.home-faq-icon::before,
.home-faq-icon::after {
    content: '';
    position: absolute;
    background: var(--theme-primary);
    transition: transform 0.25s ease;
}
.home-faq-icon::before {
    top: 6px; left: 0; width: 14px; height: 2px;
}
.home-faq-icon::after {
    top: 0; left: 6px; width: 2px; height: 14px;
}
.home-faq-item[open] .home-faq-icon::after {
    transform: scaleY(0);
}
.home-faq-answer {
    padding: 0 4px 16px;
}
.home-faq-answer-inner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
}

.home-reviews-header { margin-bottom: 28px; }
.home-reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.home-reviews-score {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
}
.home-reviews-count {
    font-size: 0.85rem;
    color: var(--theme-muted);
}
.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.home-review-card {
    border: 1px solid var(--theme-border);
    padding: 22px 20px;
    background: #fafafa;
}
.home-review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
}
.home-review-author {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--theme-text);
}
.home-review-time {
    font-size: 0.75rem;
    color: var(--theme-muted);
}
.home-review-body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--theme-muted);
}
.home-reviews-link { margin-top: 28px; }
.home-reviews-placeholder {
    max-width: 560px;
    margin: 24px auto 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--theme-muted);
}

.stil-stars {
    display: inline-flex;
    gap: 2px;
    line-height: 1;
    color: var(--theme-primary);
    font-size: 0.95rem;
}
.stil-star-empty { opacity: 0.25; }

.stil-clampable {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.stil-clampable[data-lines="3"] { -webkit-line-clamp: 3; }
.stil-clampable[data-lines="4"] { -webkit-line-clamp: 4; }
.stil-clampable.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.stil-read-more {
    margin-top: 10px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--theme-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.stil-read-more:hover { color: var(--theme-primary); }
.stil-read-more-subtle {
    color: var(--theme-muted);
    font-weight: 400;
}

@media (max-width: 768px) {
    .footer-grid { flex-direction: column; text-align: center; align-items: center; }
    .footer-nav { flex-direction: column; gap: 15px; align-items: center; }
    .footer-newsletter-inner { flex-direction: column; gap: 20px; text-align: center; }
    .footer-bottom .container { flex-direction: column; gap: 10px; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-bottom-links { flex-direction: column; gap: 8px; }
}

/* ================= PAGE HERO (Inner pages) ================= */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 40px 80px;
    max-width: 900px;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: #fff;
}
.page-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ================= SERVICES PAGE ================= */
/* Produkter page: white hero with centered text, no image */
.produkter-hero {
    padding: 120px 40px 100px;
    background: #fff;
    text-align: center;
}

.services-page-grid-section {
    width: 100%;
}
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 15px;
}
.services-page-grid .service-card {
    /* square cards, image fully fills the cell */
    aspect-ratio: 1;
    border: none;
}
.service-card-text {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background: #fff;
}

@media (max-width: 900px) {
    .services-page-grid { grid-template-columns: repeat(2, 1fr); }
    .produkter-hero { padding: 80px 20px 60px; }
}
@media (max-width: 600px) {
    .services-page-grid { grid-template-columns: 1fr; }
    .produkter-hero { padding: 60px 20px 40px; }
}

.partners-section { background: #f8f8f8; }
.partners-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.partners-logos { padding: 20px; }
.partners-text { max-width: 700px; }
.partners-text p { line-height: 1.8; }
@media (max-width: 900px) {
    .partners-layout { grid-template-columns: 1fr; gap: 30px; }
}

/* Bottom text section — white bg, centered */
.services-bottom-text {
    padding: 100px 40px;
    background: #fff;
}

.services-bottom-section {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.services-bottom-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.services-bottom-content {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
    max-width: 800px;
}
.services-bottom-content p { color: rgba(255,255,255,0.85); }

/* ================= PORTFOLIO/CASES PAGE ================= */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}
.case-card { text-decoration: none; color: #000; display: block; }
.case-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 20px;
}
.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.case-card:hover .case-card-image img { transform: scale(1.03); }
.case-card h3 { margin-bottom: 10px; }
.case-card p { font-size: 0.95rem; }

@media (max-width: 768px) { .cases-grid { grid-template-columns: 1fr; } }

/* ================= OM OS / ABOUT PAGE ================= */
.about-intro {
    max-width: 800px;
    margin: 0 auto;
}
.about-intro p { font-size: 1.05rem; line-height: 1.9; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}
.team-member { text-align: center; }
.team-member-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 20px;
}
.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-muted);
    margin-bottom: 8px;
}
.team-member h3 { margin-bottom: 10px; }
.team-member-contact {
    font-size: 0.9rem;
    color: var(--theme-muted);
}
.team-member-contact a {
    text-decoration: none;
    transition: 0.3s;
}
.team-member-contact a:hover { color: #000; }

@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.value-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--theme-primary);
    padding-bottom: 10px;
    display: inline-block;
}
.value-item p { font-size: 0.9rem; }

@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }

.about-quote {
    padding: 80px 40px;
    background: #f8f8f8;
    text-align: center;
}
.about-quote blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}
.about-quote cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--theme-muted);
    font-family: 'Roboto', sans-serif;
    text-transform: none;
}

.about-process {
    max-width: 800px;
    margin: 0 auto;
}
.about-process p { font-size: 1.05rem; line-height: 1.9; }

/* ================= NEWS PAGE ================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}
.news-card { text-decoration: none; color: #000; display: block; }
.news-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f0f0;
}
.news-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .news-card-image img { transform: scale(1.03); }
.news-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.news-card p { font-size: 0.95rem; }

@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* ================= KONTAKT PAGE ================= */
.contact-hero {
    padding: 160px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 30px;
}
.contact-hero p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--theme-muted);
}

.contact-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-person { text-align: center; }
.contact-person-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 20px;
}
.contact-person-image img {
    width: 100%; height: 100%; object-fit: cover;
}
.contact-person-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-muted);
    margin-bottom: 8px;
}
.contact-person h3 { margin-bottom: 10px; }
.contact-person-details {
    font-size: 0.9rem;
    color: var(--theme-muted);
}
.contact-person-details a { text-decoration: none; }
.contact-person-details a:hover { color: #000; }

@media (max-width: 768px) { .contact-team { grid-template-columns: 1fr; } }

/* ================= INDRETNING / MATERIAL PAGE ================= */
.material-intro {
    max-width: 800px;
    margin: 0 auto;
}
.material-intro p { font-size: 1.05rem; line-height: 1.9; }

.material-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.material-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--theme-border);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--theme-muted);
}

/* Icon swatches — Indretning top row */
.indr-swatches {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
.indr-swatch {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111;
}
.indr-swatch svg { flex-shrink: 0; }
.indr-swatch span {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

/* Per-package icon tags */
.pakke-icon-tags {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 24px;
}
.pakke-icon-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
}
.pakke-icon-tag svg { flex-shrink: 0; }
.pakke-icon-tag span {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 2px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    color: #555;
}

.package-section {
    border-top: 1px solid var(--theme-border);
}
.package-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.package-layout.reverse { flex-direction: row-reverse; }
.package-content { flex: 1; }
.package-image { flex: 1; }
.package-image img {
    width: 100%; height: 500px;
    object-fit: cover; display: block;
}
.package-content h2 { margin-bottom: 20px; }
.package-content p { line-height: 1.8; }
.package-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.package-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--theme-muted);
}
.package-list li::before {
    content: '✔';
    margin-right: 10px;
    color: var(--theme-primary);
}
.package-price {
    font-weight: 600;
    color: #000;
    margin-top: 20px;
    font-size: 1rem;
}
.package-price-list {
    list-style: none;
    padding: 0;
}
.package-price-list li {
    padding: 5px 0;
    font-size: 0.95rem;
    color: var(--theme-muted);
}

@media (max-width: 900px) {
    .package-layout, .package-layout.reverse { flex-direction: column; gap: 30px; }
    .package-image img { height: 350px; }
}

.material-bottom {
    background: #f8f8f8;
}
.material-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}
.material-bottom-grid h3 { margin-bottom: 15px; }
.material-bottom-grid p { font-size: 0.95rem; line-height: 1.8; }

@media (max-width: 768px) { .material-bottom-grid { grid-template-columns: 1fr; } }

/* ================= SPLIT ROW (News / Cases) ================= */
/* Cases wrapper — must have NO padding/overflow so full-bleed rows work */
.cases-split-section {
    padding: 0;
    overflow: hidden;
}

.split-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 500px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #fff;
    overflow: hidden;
}
.split-row.reverse { flex-direction: row-reverse; }
.split-row + .split-row { margin-top: 80px; }
.split-row-image {
    flex: 0 0 55%;
    height: 100%;
    position: relative;
}
.split-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.split-row-content {
    flex: 1;
    padding: 60px 80px 60px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}
.split-row.reverse .split-row-content {
    padding: 60px 8% 60px 80px;
}
.split-row-content .zigzag-divider {
    margin: 0 0 25px 0;
    width: 80px;
    height: 12px;
}
.split-row-content h3 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 25px;
    line-height: 1.1;
}
.split-row-content p {
    margin-bottom: 35px;
    max-width: 480px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.5);
}
.split-row-link {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    font-size: 0.85rem;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}
.split-row-link:hover { opacity: 0.7; }

@media (max-width: 900px) {
    .split-row, .split-row.reverse { flex-direction: column; height: auto; }
    .split-row-image { flex: none; height: 350px; }
    .split-row-content { padding: 40px 30px; }
    .split-row.reverse .split-row-content { padding: 40px 30px; }
}

/* ================= KONTAKT PAGE (revised) ================= */
.kontakt-intro {
    padding: 40px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.kontakt-intro-inner {
    max-width: 800px;
    margin: 0 auto;
}
.kontakt-intro h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}
.kontakt-intro p {
    margin-bottom: 1rem;
}

.kontakt-split {
    display: flex;
    flex-wrap: wrap;
    min-height: 450px;
}
.kontakt-split-left {
    flex: 1 1 400px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.kontakt-split-left-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.kontakt-split-left-overlay {
    position: absolute;
    inset: 0;
    background-color: #000;
    opacity: 0.4;
}
.kontakt-split-left-content {
    position: relative;
    z-index: 1;
}
.kontakt-split-left-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    white-space: pre-line;
    opacity: 0.9;
    color: #fff;
}
.kontakt-split-right {
    flex: 1 1 400px;
    min-height: 400px;
}
.kontakt-split-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kontakt-team-section {
    padding: 90px 40px;
    background: #fafafa;
}
.kontakt-team-section > h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
}
.kontakt-team-list {
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.kontakt-team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--theme-border);
    padding: 40px 32px 36px;
    gap: 0;
}
.kontakt-team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin-bottom: 22px;
    flex-shrink: 0;
    filter: grayscale(15%);
}
.kontakt-team-info {
    flex: 1;
    width: 100%;
}
.kontakt-team-role {
    font-size: 0.62rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.kontakt-team-info h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
}
.kontakt-team-divider {
    width: 32px;
    height: 1px;
    background: #ccc;
    margin: 0 auto 20px;
}
.kontakt-team-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.kontakt-team-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.3px;
    padding: 7px 16px;
    border: 1px solid #e0e0e0;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    width: 100%;
    justify-content: center;
}
.kontakt-team-contact-link:hover {
    border-color: #333;
    color: #000;
    background: #f5f5f5;
}
.kontakt-team-contact-icon {
    font-size: 0.8rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .kontakt-split { flex-direction: column; }
    .kontakt-team-list { grid-template-columns: 1fr; gap: 16px; }
    .kontakt-team-item { padding: 32px 24px 28px; }
}

/* ================= OM OS PAGE (revised) ================= */
.omos-intro { padding: 40px 40px; max-width: 1400px; margin: 0 auto; }
.omos-intro-inner { max-width: 800px; margin: 0 auto; }
.omos-intro h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.omos-intro p { margin-bottom: 1rem; }

.omos-team-banner {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}
.omos-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: -160px auto 0;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}
.omos-team-member { text-align: center; }
.omos-team-member img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    background-color: #fff;
}
.omos-team-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--theme-primary);
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.omos-team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.omos-team-contact {
    font-size: 0.8rem;
    opacity: 0.5;
}

.omos-values-section {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}
.omos-values-left {
    flex: 0 0 35%;
    text-align: center;
    position: sticky;
    top: 40px;
}
.omos-values-left h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 25px;
    line-height: 1.2;
}
.omos-values-left p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
}
.omos-values-right { flex: 1; }
.omos-value-item {
    display: flex;
    gap: 0;
    align-items: stretch;
}
.omos-value-line {
    flex-shrink: 0;
    width: 80px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px 20px 30px 0;
}
.omos-value-line-inner {
    width: 1px;
    height: 100%;
    background-color: var(--theme-border);
}
.omos-value-text {
    flex: 1;
    padding: 30px 0 30px 25px;
}
.omos-value-text h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.omos-value-text p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
    margin: 0;
}

.omos-quote-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 80px;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}
.omos-quote-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
}
.omos-quote-content {
    max-width: 1000px;
    z-index: 5;
    position: relative;
}
.omos-quote-content .attribution {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.9;
}
.omos-quote-content h1 {
    font-weight: 700;
    font-size: clamp(2rem, 8vw, 6rem);
    margin-bottom: 30px;
    line-height: 1.1;
    color: #fff;
}

/* ── Process section: 50/50 split — text left, image right ── */
.omos-process-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.omos-process-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}
.omos-process-text {
    flex: 1;
    padding: 20px;
}
.omos-process-text h2 {
    margin-bottom: 1.2rem;
}
.omos-process-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #444;
}
.omos-process-image {
    flex: 1;
}
.omos-process-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .omos-process-inner { flex-direction: column; }
    .omos-process-image img { height: 320px; }
    .omos-process-text { padding: 0; }
}

@media (max-width: 900px) {
    .omos-values-section { flex-direction: column; gap: 30px; }
    .omos-values-left { position: static; text-align: left; }
    .omos-team-grid { grid-template-columns: 1fr; padding: 0 20px; margin-top: -60px; }
}

/* ================= RESPONSIVE GLOBAL ================= */
@media (max-width: 768px) {
    .section-padding { padding: 50px 20px; }
}
@media (max-width: 480px) {
    .section-padding { padding: 40px 15px; }
}

/* ================= CONTACT FORM ================= */
.stil-contact-form {
    max-width: 800px;
    margin: 0 auto;
}
.stil-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
    margin-bottom: 30px;
}
.stil-form-group label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--theme-text);
}
.stil-form-group input,
.stil-form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--theme-border, rgba(0,0,0,0.15));
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--theme-text);
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
}
.stil-form-group input:focus,
.stil-form-group textarea:focus {
    border-bottom-color: var(--theme-text);
}
.stil-form-group input::placeholder,
.stil-form-group textarea::placeholder {
    color: rgba(0,0,0,0.3);
    font-size: 0.85rem;
}
.stil-form-group textarea {
    border: 1px solid var(--theme-border, rgba(0,0,0,0.15));
    padding: 15px;
    margin-top: 5px;
}
.stil-form-group textarea:focus {
    border-color: var(--theme-text);
}
.stil-form-full {
    margin-bottom: 30px;
}
.stil-form-footer {
    text-align: left;
}
.stil-form-submit {
    display: inline-block;
    padding: 14px 50px;
    background: var(--theme-text);
    color: var(--theme-bg);
    border: 2px solid var(--theme-text);
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.stil-form-submit:hover {
    background: transparent;
    color: var(--theme-text);
}
.stil-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.stil-form-status {
    margin-top: 20px;
    padding: 15px 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.stil-form-success {
    background: #f0f9f0;
    color: #2d6a2d;
    border-left: 3px solid #2d6a2d;
}
.stil-form-error {
    background: #fdf0f0;
    color: #8b2d2d;
    border-left: 3px solid #8b2d2d;
}

@media (max-width: 768px) {
    .stil-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ================= SINGLE CASE DETAIL ================= */
.case-hero {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
}
.case-hero-img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
}

.case-header {
    padding: 0 40px 40px;
    text-align: left;
}
.case-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: 1px;
    line-height: 1.05;
    margin-bottom: 15px;
    color: var(--theme-text);
}
.case-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(0,0,0,0.4);
    line-height: 1.8;
}
.case-company {
    font-weight: 600;
    letter-spacing: 2px;
}

.case-content-section {
    padding: 60px 40px 80px;
}
.case-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.case-col p {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(0,0,0,0.65);
    margin-bottom: 1rem;
}
.case-col-full p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(0,0,0,0.65);
    margin-bottom: 1rem;
    max-width: 800px;
}

/* Gallery grid — auto-fill with aspect ratio */
.case-gallery {
    padding: 0 40px 80px;
}
.case-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.case-gallery-item {
    overflow: hidden;
}
.case-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    aspect-ratio: 4/5;
}
.case-gallery-item:hover img {
    transform: scale(1.03);
}

/* Gallery responsive adjustments */
@media (max-width: 1024px) {
    .case-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .case-content-grid { grid-template-columns: 1fr; gap: 20px; }
    .case-content-section { padding: 40px 20px 60px; }
    .case-header { padding: 0 20px 30px; }
    .case-gallery { padding: 0 20px 60px; }
    .case-gallery-grid { grid-template-columns: 1fr; }
    .case-hero-img { height: 40vh; }
}

/* ═══════════════════════════════════════════════════
 *  Samarbejdspartnere Page
 * ═══════════════════════════════════════════════════ */
.partner-page-hero {
    padding: 80px 20px 40px;
    background: #fff;
}
.partners-page-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.partners-page-logo img {
    width: 100%;
    opacity: 0.7;
}
.partners-page-text p {
    color: rgba(0,0,0,0.6);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.partner-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.partner-brand-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.partner-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.partner-brand-image {
    height: 280px;
    overflow: hidden;
}
.partner-brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.partner-brand-card:hover .partner-brand-image img {
    transform: scale(1.05);
}
.partner-brand-info {
    padding: 25px;
}
.partner-brand-info h3 {
    font-family: 'Barlow Condensed', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.partner-brand-info p {
    color: rgba(0,0,0,0.5);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Partners button on Produkter page */
.partners-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 35px;
    background: #1a1a1a;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}
.partners-btn:hover {
    background: #333;
}

@media (max-width: 1024px) {
    .partner-brands-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .partners-page-intro { grid-template-columns: 1fr; gap: 30px; }
    .partner-brands-grid { grid-template-columns: 1fr; }
    .partner-brand-image { height: 220px; }
}

/* ── Indretning Package Layout ── */
.package-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}
.package-layout.reverse { flex-direction: row-reverse; }
.package-content { flex: 1; }
.package-image { flex: 1; }
.package-image img { width: 100%; height: 520px; object-fit: cover; }
.package-section { border-bottom: 1px solid rgba(0,0,0,0.06); }

/* Tighter bullet spacing */
.package-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 16px 0;
}
.package-list li {
    padding: 3px 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(0,0,0,0.75);
}

/* Price row — inline with Book et møde button */
.package-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 0 0;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .package-layout, .package-layout.reverse { flex-direction: column; gap: 30px; }
    .package-image img { height: 300px; }
}
