/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background-color: #EEEAE2;
    color: #000;
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

/* Border radius for all videos */
video {
    border-radius: 5px;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(106, 83, 67, 0.3); /* gennemsigtig navigation, 30% mørkere end #977660 */
    position: fixed; /* Ændret fra absolute til fixed for at sikre header altid er øverst */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    flex: 0 0 auto;
    justify-content: flex-start;
}

.header-right {
    flex: 1;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-inline-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-inline-nav a {
    font-family: 'Cormorant', serif;
    font-size: 17px;
    color: #fff; /* hvide knapper */
    text-decoration: none;
}

.header-inline-nav a:hover {
    text-decoration: underline;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: #EEEAE2;
    border: none;
    cursor: pointer;
    padding: 0.55rem 0.6rem;
    border-radius: 4px;
    min-width: 44px;
    min-height: 44px;
}

.menu-icon__bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #5E4F44;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-icon[aria-expanded="true"] .menu-icon__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-icon[aria-expanded="true"] .menu-icon__bar:nth-child(2) {
    opacity: 0;
}

.menu-icon[aria-expanded="true"] .menu-icon__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.cube-icon {
    width: 48px; /* 20% larger than previous 40px */
    height: 48px;
    object-fit: contain;
}

.logo-link {
    display: inline-block;
    padding: 0;
}

.logo {
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

.search-icon,
.language-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon svg {
    width: 24px;
    height: 24px;
    stroke: #000;
}

.union-jack {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.designs-btn,
.contact-btn {
    background-color: #5E4F44;
    color: #fff;
    padding: 0.9rem 1.8rem; /* 20% larger padding */
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.2rem; /* 20% larger than base 1rem */
    transition: background-color 0.3s;
}

.designs-btn:hover,
.contact-btn:hover {
    background-color: #4a3f36;
}

/* Navigation Menu */
.nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #EEEAE2;
    padding: 2rem;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
    .nav-menu {
        top: 50px;
        padding: 1rem;
    }
    
    .nav-menu ul {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 1.25rem;
    }
}

.nav-menu.active {
    display: block;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-menu a {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.nav-menu a:hover {
    text-decoration: underline;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(238, 234, 226, 0.95);
    z-index: 1001;
    padding: 2rem;
}

.search-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    border: 2px solid #000;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
}

.search-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
}

/* Typography – Invita-lignende hierarki: større overskrifter, mindre brødtekst */
h1, h2, h3 {
    font-family: 'Cormorant', serif;
    color: #000;
    font-weight: 500;
    font-size: 46px;
    line-height: 1.12;
    margin-bottom: 0.75rem;
}

h4, h5, h6 {
    font-family: 'Cormorant', serif;
    color: #000;
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    width: 100%;
    margin-top: 0;
    margin-bottom: 3rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

.hero-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
}

.hero-image,
.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

.home-hero .hero-container,
.home-hero .hero-container a {
    overflow: hidden;
    display: block;
}

.home-hero .hero-image {
    width: 100%;
    max-width: none;
    transform: scale(1.15);
    transform-origin: center center;
}

/* Portrait heroes crop to a normal landscape height so they scroll like the other design pages */
.hero-normal-scroll .hero-container {
    width: 100%;
    height: min(100vh, calc(100vw * 2 / 3));
    overflow: hidden;
}

.hero-normal-scroll .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Overlay Box for Design pages */
.hero-overlay-box {
    position: absolute;
    bottom: 3rem;
    left: 2rem;
    background-color: rgba(151, 118, 96, 0.3);
    padding: 1.5rem 3rem;
    border-radius: 5px;
}

.hero-overlay-title {
    font-family: 'Cormorant', serif;
    font-size: 56px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0; /* ingen padding - farvede bokse går helt ud til kanterne */
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-family: 'Cormorant', serif;
    font-size: 46px; /* samme størrelse som welcome-title */
    margin-bottom: 3rem;
    color: #000;
}

.welcome-title {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* størrelse 40px */
    text-align: center;
    margin-bottom: 1rem;
    color: #000;
}

.welcome-section,
.news-section {
    margin-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.new-way-section,
.glasskab-why-section,
.special-features-section,
.farver-section {
    margin-bottom: 3rem;
}

/* Align "Den nye måde" section content with the news text above */
.news-section .content-box,
.new-way-section .split-row {
    max-width: 100%; /* fuld bredde */
    margin: 0;
}

.transparent {
    background: none;
    padding: 0;
}

.news-section .content-box {
    background-color: #E2DCCF;
}

.news-title {
    font-family: 'Cormorant', serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.news-subtitle {
    font-size: 1.2rem;
    margin: 0;
}

.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.split-col {
    width: 100%;
}

.text-col h2 {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* samme størrelse som welcome-title */
    margin-bottom: 1rem;
}

.text-col p {
    margin-bottom: 1rem;
}

/* Ensure body copy in key sections uses Inter font explicitly */
.inter-text p {
    font-family: 'Inter', sans-serif;
}

.image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glasskab-why-section .text-col p {
    margin-bottom: 0.8rem;
}

.glasskab-why-section {
    width: 100%;
    padding: 40mm;
    box-sizing: border-box;
    position: relative;
}

.glasskab-why-section .text-col p {
    margin-bottom: 0.8rem;
    font-size: 16px; /* brødtekst størrelse */
}

.glasskab-why-section h2 {
    font-size: 46px; /* samme størrelse som welcome-title */
}

.special-features-section {
    margin-top: 20mm; /* ekstra plads over */
    margin-bottom: calc(3rem + 80mm); /* ekstra plads under (+30mm ekstra) */
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
    position: relative;
}

.feature-image {
    width: 85%; /* reduceret til 85% */
    max-width: 286px; /* 85% af 336px */
    height: auto;
    margin-left: 20mm; /* flytte 20mm til højre */
}

.glasskab-why-section .glasskab-container {
    position: relative;
    width: 100%;
    min-height: 640px; /* dobbelt så høj */
}

.glasskab-why-section .glasskab-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* vis fra toppen af billedet */
}

.glasskab-why-section .glasskab-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* vis fra toppen af videoen */
}

/* Designs Grid */
.forms-section {
    margin-bottom: 4rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.home-farver-feed {
    display: none;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 kolonner for 6 billeder */
    gap: 30px; /* dobbelt afstand mellem billederne */
    width: 100%;
}

.form-card {
    text-decoration: none;
    color: #000;
    background-color: transparent; /* ingen baggrundsfarve */
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
    display: block;
}

.form-card:hover {
    transform: translateY(-5px);
}

.form-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.form-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(151, 118, 96, 0.5); /* samme farve og gennemsigtighed som header */
    color: white;
    padding: 0.75rem 1.5rem;
    font-family: 'Cormorant', serif;
    font-size: 30px; /* overskrifter størrelse */
}

/* Content Boxes */
.content-box {
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.moodboard-link,
.farver-link {
    text-decoration: none;
    color: #000;
    display: block;
    cursor: pointer;
}

.moodboard-image {
    width: 100%;
    max-width: 600px; /* 50% larger than previous 400px */
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

.content-box h3 {
    text-align: center;
    font-family: 'Cormorant', serif;
}

/* Glasskab Section */
.glasskab-section {
    margin: 4rem 0;
}

/* Fine-tuning for Hummus and Spelt moodboard images and their colored boxes */
.new-way-section,
.farver-section {
    padding: 3rem 2rem; /* fuld bredde ud til kanterne */
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.new-way-section .split-row {
    padding-left: 0;
    padding-right: 0;
}

.new-way-section .text-col {
    padding-left: 2rem;
    padding-right: 2rem;
}

.new-way-section .image-col {
    min-height: 500px; /* sikre højde så moodboardet kan fylde */
    align-items: stretch; /* fylde hele højden */
}

.new-way-section .moodboard-image {
    height: 100%; /* fylde hele boksens højde */
    width: auto;
    object-fit: cover;
    margin-left: 30mm; /* flytte 30mm til højre */
}

.farver-section .moodboard-image {
    max-height: none; /* ingen max-højde begrænsning */
    height: 100%;
    width: 100%;
    object-fit: cover; /* fyld hele boksen */
}

/* Spelt billede fylder hele højden */
.farver-section .image-col {
    min-height: 500px;
}

/* Call-to-action knap */
.cta-button {
    display: inline-block;
    background-color: #977660;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #7a5f4d; /* mørkere ved hover */
}

.glasskab-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.glasskab-image,
.glasskab-video {
    width: 100%;
    height: auto;
    display: block;
}

.glasskab-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: #333;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    color: #ccc;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 0.85fr 0.9fr 0.85fr 1.15fr;
    gap: 2.5rem;
}

.footer-col h4 {
    color: #fff;
    font-family: 'Cormorant', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.footer-col p,
.footer-col li {
    margin-bottom: 0.4rem;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-cta h4 {
    max-width: 17rem;
    line-height: 1.25;
}

.footer-cta p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 17rem;
}

.footer-cta .cta-button {
    margin-top: 0;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    color: #fff;
}

.footer-cta .cta-button:hover {
    text-decoration: none;
}

.footer-brand {
    text-align: left;
    justify-self: end;
    width: max-content;
}

.footer-logo-link {
    display: block;
    width: max-content;
    margin-bottom: 1rem;
    margin-left: -7px;
    text-decoration: none !important;
}

.footer-brand .footer-logo-link {
    margin-left: -0.5ch;
    margin-right: 0;
}

.footer-logo-link:hover {
    text-decoration: none !important;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    display: block;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin: 0 auto 1.1rem;
    align-items: center;
    justify-content: center;
}

.footer-social__link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: 1.6px solid #fff;
    border-radius: 25%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social__link svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    display: block;
}

.footer-social__link:hover {
    background-color: #fff;
    color: #333;
    text-decoration: none !important;
}

.footer-social__link:hover svg {
    fill: #333;
}

.footer-social__link.is-disabled {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
}

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

.footer-cube-icon { display: none; }
.footer p { font-family: 'Inter', sans-serif; }
.footer a { color: #ccc; text-decoration: none; }
.footer .footer-social__link { color: #fff; }

/* Document pages (FAQ, Salgs- og leveringsbetingelser) */
.doc-page {
    padding-top: calc(2rem + 30mm);
    padding-bottom: 2rem;
}

.doc-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #222;
}

.doc-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.doc-header h1,
.doc-content > h1 {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.doc-content h2 {
    font-family: 'Cormorant', serif;
    font-size: 1.45rem;
    font-weight: 600;
    margin: 2rem 0 0.85rem;
    line-height: 1.35;
}

.doc-content p {
    margin: 0 0 1rem;
}

.doc-content ul {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.doc-content li {
    margin-bottom: 0.4rem;
}

.doc-content a {
    color: #5E4F44;
}

.doc-callout {
    background-color: #E2DCCF;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
}

.doc-callout h2 {
    margin-top: 0;
    font-size: 1.3rem;
}

.doc-faq-item {
    margin-bottom: 1.5rem;
}

.doc-faq-item h2 {
    font-size: 1.25rem;
    margin-top: 1.75rem;
}

.doc-section-break {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.doc-logo {
    margin: 0 auto 1rem;
    text-align: center;
}

.doc-logo .doc-inline-image,
.doc-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.doc-logo--section {
    margin: 0.75rem auto 1.25rem;
}

.doc-logo--section .doc-inline-image,
.doc-logo--section img {
    max-width: 180px;
}

.doc-logo--signature {
    margin: 0.5rem 0 1rem;
    text-align: left;
}

.doc-logo--signature .doc-inline-image,
.doc-logo--signature img {
    max-width: 160px;
    margin: 0;
}

.doc-figure {
    margin: 1rem 0 1.5rem;
    text-align: center;
}

.doc-figure--inline {
    text-align: left;
}

.doc-figure--diagram {
    text-align: left;
}

.doc-figure--footer {
    margin-top: 1.5rem;
}

.doc-inline-image {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.doc-figure--diagram .doc-inline-image {
    max-width: 360px;
}

.doc-figure--inline .doc-inline-image {
    max-width: 340px;
}

.doc-figure--footer .doc-inline-image {
    max-width: 140px;
}

.doc-signature {
    margin: 2.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.doc-signature__brand {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.doc-meta {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.kaf-hero {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 2rem;
    display: block;
    height: auto;
}

.kaf-title {
    color: #555;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.55rem;
    margin: 0 0 1.25rem;
}

.kaf-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2rem;
}

.kaf-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 0 0 2rem;
}

.kaf-box {
    background-color: #d8d8d8 !important;
    background-image: none !important;
    padding: 1.35rem 1.4rem 1.5rem;
}

.kaf-box h2 {
    color: #555;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.85rem;
    line-height: 1.35;
}

.kaf-box p {
    margin: 0;
    font-size: 0.92rem;
}

.kaf-logo-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.75rem;
}

.kaf-logo-row img {
    width: 52px;
    height: auto;
    display: block;
}

.kaf-logo-row span {
    color: #555;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.kaf-more {
    padding-top: 1rem;
    border-top: 1px solid #555;
    font-size: 0.92rem;
}

.kaf-more a {
    color: #555;
}

/* Farver Page */
.farver-hero-section {
    width: 100%;
    margin: 0 0 2.5rem;
    padding: 0;
    position: relative;
}

.farver-hero-row {
    position: relative;
    display: block;
    width: 100%;
}

.farver-hero-container {
    width: 100%;
    height: min(88vh, 920px);
    position: relative;
    overflow: hidden;
}

.farver-hero-image {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 0;
}

.color-buttons {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem;
    margin: 0;
    background: rgba(238, 234, 226, 0.55);
    border-radius: 999px;
}

/* Farver tekst under hero-billedet */
.farver-content {
    text-align: center;
    padding: 2rem;
}

.farver-content .page-title {
    font-family: 'Cormorant', serif;
    font-size: 46px;
    font-style: italic;
    margin-bottom: 1rem;
}

.farver-content p {
    font-family: 'Cormorant', serif;
    font-size: 46px;
    font-style: normal; /* ikke kursiv */
    line-height: 1.4;
    color: #000;
}

/* Farver section overskrift - rykket til højre */
.farver-section-title {
    text-align: left;
    padding-left: 40mm;
}

/* Color Swatches Section */
.color-swatches-section {
    margin: 4rem 0;
}

.color-swatches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.color-swatch {
    text-align: center;
    background-color: #E2DCCF;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

a.color-swatch {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.color-swatch:hover {
    transform: translateY(-5px);
}

.swatch-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.swatch-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #000;
    margin-top: 0.5rem;
}

.color-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #000;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, border-color 0.3s;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: #5E4F44;
    border-width: 4px;
}

.page-title {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* samme størrelse som welcome-title */
    text-align: center;
    margin-bottom: 2rem;
    color: #000;
}

.category-page {
    max-width: 820px;
    margin: 0 auto;
    padding: calc(2rem + 50mm) 2rem 4rem;
    text-align: center;
}

.category-page h1 {
    font-family: 'Cormorant', serif;
    font-size: 46px;
    font-weight: 400;
    text-align: center;
    margin: 0 0 1.5rem;
    color: #000;
}

.category-page p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 1rem;
    max-width: 36em;
    text-align: center;
    color: #000;
}

/* About page specific layout */
.about-hero {
    margin-bottom: 3rem;
    padding-top: 50mm; /* plads under headeren */
    text-align: center;
}

/* Centreret citat øverst på Om Kube Forma siden */
.about-hero-quote {
    font-family: 'Cormorant', serif;
    font-size: 46px;
    font-weight: 400;
    text-align: center;
    color: #000;
    line-height: 1.4;
    margin: 0 auto;
    max-width: 800px;
}

.about-hero-image {
    width: 120%; /* 20% større */
    max-height: 60vh; /* 20% større end 50vh */
    height: auto;
    object-fit: contain; /* bevar originalt længde/breddeforhold */
    margin-left: auto;
    margin-right: auto;
    display: block;
    align-self: flex-start; /* start ved toppen, så det matcher teksten */
}

/* Overskrift i hero-sektionen */
.about-hero-title {
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Intro tekst ved siden af billedet */
.about-intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-align: left;
    margin-bottom: 0;
    line-height: 1.6;
    color: #000;
    display: flex;
    align-items: flex-start; /* start ved toppen, så det matcher toppen af billedet */
    padding-top: 0;
}

.about-section-box {
    background-color: #E2DCCF;
    width: 100%;
    min-height: auto; /* tilpasser sig indholdet */
    padding: 2.5rem 2rem;
    margin-bottom: 4rem; /* større afstand mellem sektioner */
    box-sizing: border-box;
    position: relative;
}

/* Allan og Anders billede - 20% mindre */
.about-image-allan {
    max-width: 56%; /* 30% mindre end 80% */
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Pawel og co billede - 30% mindre */
.about-image-pawel {
    max-width: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Frk Sloth billede - 2/3 af 2/3 størrelse */
.about-image-sloth {
    max-width: 45%; /* 2/3 af 67% */
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Tilpas tekst i Pawel og co sektionen */
.about-section-box .about-text-large {
    font-size: 20px; /* lidt mindre for at passe bedre med det mindre billede */
    line-height: 1.6;
}

.about-section-box .split-row {
    align-items: center;
}

.about-section-box h2,
.about-section-heading {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* samme størrelse som welcome-title */
    margin-bottom: 1rem;
}

.about-section-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    line-height: 1.6;
    color: #000;
}

.about-section-box .about-text-large {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.about-image-half {
    width: 100%;
    height: auto; /* bevar originalt længde/breddeforhold */
}

.about-section {
    margin-top: 30mm; /* ekstra plads over sektionen */
    margin-bottom: calc(4rem + 30mm); /* ekstra plads under sektionen */
    padding-left: 15mm; /* indryk fra venstre margin */
    padding-right: 15mm; /* tilsvarende indryk fra højre */
}

/* Kvalitet billede - 11 cm højt (ca. 415px ved 96 DPI) */
.about-image-kvalitet {
    max-height: 415px; /* 11 cm */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block; /* sikre at billedet vises */
}

.about-section .split-row {
    align-items: center;
}

.about-section h2 {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* samme størrelse som welcome-title */
    margin-bottom: 1rem;
}

.about-section p {
    font-family: 'Inter', sans-serif;
}

/* KubeForm 1 page specific layout */
.kubeform-subtitle {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* samme størrelse som welcome-title */
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
    color: #000;
}

.kubeform-section-box {
    background-color: #E2DCCF;
    width: 100%;
    min-height: 50vh;
    padding: 2.5rem 2rem;
    margin-bottom: 4rem;
    box-sizing: border-box;
    position: relative;
}

.kubeform-section-box .split-row {
    align-items: center;
}

.kubeform-heading-26 {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* samme størrelse som welcome-title */
    margin-bottom: 1rem;
    color: #000;
}

.spil-i-fladerne-section .split-row {
    align-items: stretch;
    min-height: 50vh;
}

.spil-i-fladerne-section .text-col {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.spil-i-fladerne-section .text-col h2 {
    margin-bottom: 0;
}

.kubeform-text-22 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

.kubeform-section {
    margin-bottom: 4rem;
    padding: 0 2rem; /* Samme padding som kubeform-section-box */
}

/* Kvalitet sektion */
.kubeform-section.kvalitet-section .image-col img {
    width: auto;
    max-width: none;
    min-height: calc(50vh + 40mm); /* 40mm højere */
    height: auto;
    object-fit: cover;
}

.kubeform-section.kvalitet-section .image-col video {
    width: 100%;
    min-height: 300px;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Rolige flader sektion - billede fylder hele boksen */
.rolige-flader-section .image-col {
    display: flex;
    align-items: stretch;
}

.kubeform-image-full-height {
    width: 70%; /* 30% mindre */
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* KubeForm 3 Udsnit 4 - 30% større */
.kubeform3-udsnit4 {
    width: 169%;
    max-width: 169%;
    height: auto;
    min-height: calc(100% + 40mm); /* 40mm højere */
    object-fit: cover;
    margin-left: -60mm; /* Flyttet 60mm til venstre */
}

/* Karamel moodboard - 50% større og 50% højere */
.karamel-moodboard {
    width: 150%;
    max-width: 150%;
    height: auto;
    min-height: 150%; /* 50% højere */
    object-fit: cover;
}

/* KubeForm 6 Hero 2 - 30% større */
.kubeform6-hero2 {
    width: 130%;
    max-width: 130%;
    height: auto;
}

/* Responsive fixes for oversized images */
@media (max-width: 768px) {
    .kubeform3-udsnit4,
    .karamel-moodboard,
    .kubeform6-hero2 {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        min-height: auto;
    }
}

.kubeform-section .split-row {
    align-items: center;
}

.kubeform-image-half {
    width: 100%;
    max-height: 50vh; /* halv skærm høj */
    height: auto;
    object-fit: contain;
}

.kubeform-udsnit-image {
    width: 100%;
    height: 100vh; /* fylder skærmens højde */
    object-fit: cover;
    display: block;
}

.kubeform-udsnit-video {
    width: 100%;
    height: 100vh; /* fylder skærmens højde */
    object-fit: cover;
    display: block;
}

/* Hvordan page specific layout */
.how-hero {
    margin-bottom: 3rem;
    padding-top: 50mm; /* plads under headeren */
    text-align: center;
}

.how-hero-image {
    width: 100%;
    max-height: 66vh; /* 2/3 skærmhøjde */
    height: auto;
    object-fit: contain;
}

.how-hero-text {
    font-family: 'Cormorant', serif;
    font-size: 46px;
    line-height: 1.4;
    color: #000;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.how-section-box {
    background-color: #E2DCCF;
    width: 100%;
    min-height: 50vh;
    padding: 2.5rem 2rem;
    margin-bottom: 4rem;
    box-sizing: border-box;
    position: relative;
}

.how-section-box .split-row {
    align-items: center;
}

.how-text-22 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

.how-heading-26 {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* samme størrelse som welcome-title */
    margin-bottom: 1rem;
    color: #000;
}

.how-section {
    margin-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.how-section .split-row {
    align-items: center;
}

.how-image-half {
    width: 100%;
    max-height: 50vh; /* halv skærm høj */
    height: auto;
    object-fit: contain;
}

.how-image-montage {
    width: 100%;
    max-height: 37.5vh; /* 50% større end 25vh */
    height: auto;
    object-fit: contain;
    align-self: flex-end; /* underkanten forbliver på plads */
}

/* Bryggers billeder skråt */
/* Bryggers crossfade animation */
.bryggers-crossfade {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.bryggers-fade {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.bryggers-fade.bryggers-before {
    position: relative;
    z-index: 1;
    animation: bryggersFadeOut 16s ease-in-out infinite;
}

.bryggers-fade.bryggers-after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

@keyframes bryggersFadeOut {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.welcome-title {
    font-family: 'Cormorant', serif;
    font-size: 46px; /* størrelse 40px */
    text-align: center;
    margin-bottom: 1rem;
    color: #000;
}

.welcome-section,
.hero-description,
.colors-description,
.designs-description,
.why-choose-section,
.special-features-section,
.colors-info-section {
    margin-bottom: 3rem;
}

/* Udsnit Section */
.udsnit-section {
    margin: 3rem 0;
}

.udsnit-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.udsnit-image,
.udsnit-video {
    width: 100%;
    height: auto;
    display: block;
}

.udsnit-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Form */
.contact-section {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    padding-top: calc(2rem + 40mm); /* 40mm ekstra plads under headeren */
    box-sizing: border-box;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    background-color: #E2DCCF;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.form-group--full,
.form-consent,
.contact-form .submit-btn {
    grid-column: 1 / -1;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #000;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    font-family: 'Inter', sans-serif;
}

/* Contact phone info */
.contact-phone-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #E2DCCF;
    border-radius: 8px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.contact-phone-info p {
    margin: 0.5rem 0;
}

.contact-phone-info a {
    color: #5E4F44;
    text-decoration: none;
    font-weight: 500;
}

.contact-phone-info a:hover {
    text-decoration: underline;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5E4F44;
    box-shadow: 0 0 0 3px rgba(94, 79, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-dropdown {
    position: relative;
}

.checkbox-dropdown__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #000;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    text-align: left;
    gap: 0.75rem;
}

.checkbox-dropdown__trigger:hover {
    border-color: #5E4F44;
}

.checkbox-dropdown__trigger:focus {
    outline: none;
    border-color: #5E4F44;
    box-shadow: 0 0 0 3px rgba(94, 79, 68, 0.1);
}

.checkbox-dropdown__value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkbox-dropdown__value.is-placeholder {
    color: #666;
}

.checkbox-dropdown__icon {
    flex-shrink: 0;
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    margin-top: -0.2rem;
    transition: transform 0.2s ease;
}

.checkbox-dropdown.is-open .checkbox-dropdown__icon {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
}

.checkbox-dropdown__panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 20;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.75rem;
}

.checkbox-dropdown__panel .checkbox-group {
    margin-top: 0;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
    min-width: 18px;
    min-height: 18px;
}

.form-consent {
    margin: 0.5rem 0 1.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    color: #000;
}

.consent-label input[type="checkbox"] {
    width: auto;
    min-width: 18px;
    min-height: 18px;
    margin-top: 0.2rem;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}

.consent-notes {
    margin: 0.85rem 0 0 1.95rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #4a4a4a;
}

.consent-notes p {
    margin: 0 0 0.65rem;
}

.consent-notes p:last-child {
    margin-bottom: 0;
}

.consent-notes a {
    color: #5E4F44;
}

.contact-status-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 1.25rem 1.5rem;
    max-width: none;
    border-radius: 10px;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', sans-serif;
    animation: contactStatusIn 0.35s ease;
}

@keyframes contactStatusIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-status-icon {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.contact-status-title {
    margin: 0 0 0.4rem;
    font-family: 'Cormorant', serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.contact-status-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.contact-status-card--success {
    background-color: #fff;
    border-color: #5E4F44;
    color: #3d332c;
}

.contact-status-card--success .contact-status-icon {
    background-color: #5E4F44;
    color: #fff;
}

.contact-status-card--success .contact-status-title {
    color: #5E4F44;
}

.contact-status-card--error {
    background-color: #fdf5f5;
    border-color: #c44;
    color: #5c2f2f;
}

.contact-status-card--error .contact-status-icon {
    background-color: #c44;
    color: #fff;
}

.contact-status-card--error .contact-status-title {
    color: #a33;
}

.contact-status-card--info {
    background-color: #fff;
    border-color: #8a7a6d;
    color: #3d332c;
}

.contact-status-card--info .contact-status-icon {
    background-color: #8a7a6d;
    color: #fff;
}

.contact-form--submitted {
    opacity: 0.55;
    pointer-events: none;
}

.form-feedback {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}

.form-feedback-title {
    margin: 0 0 0.35rem;
    font-family: 'Cormorant', serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
}

.form-feedback-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-feedback--success {
    background-color: #fff;
    border-color: #5E4F44;
    color: #3d332c;
}

.form-feedback--success .form-feedback-title {
    color: #5E4F44;
}

.form-feedback--error {
    background-color: #fdf5f5;
    border-color: #c44;
    color: #5c2f2f;
}

.form-feedback--error .form-feedback-title {
    color: #a33;
}

.form-feedback--info {
    background-color: #fff;
    border-color: #8a7a6d;
    color: #3d332c;
}

.form-feedback--info .form-feedback-title {
    color: #5E4F44;
}

.submit-btn {
    background-color: #5E4F44;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #4a3f36;
}

.submit-btn:disabled,
.submit-btn.is-disabled {
    background-color: #b5aea6;
    color: #f4f1ec;
    cursor: not-allowed;
}

.submit-btn:disabled:hover,
.submit-btn.is-disabled:hover {
    background-color: #b5aea6;
}

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

    .consent-notes {
        margin-left: 0;
    }
}

/* Responsive Design - Mobile First Approach */

/* Mobile (up to 480px) */
@media (max-width: 480px) {
    .header {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }

    .header-right {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .header-inline-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 0.75rem;
        order: 3;
        margin-top: 0.5rem;
    }

    .header-inline-nav a {
        font-size: 1rem;
    }

    .logo {
        max-height: 42px;
    }

    .cube-icon {
        width: 38px;
        height: 38px;
    }

    .designs-btn,
    .contact-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .main-content {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .split-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .forms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-image-container {
        height: 250px;
    }

    .color-buttons {
        right: 0.75rem;
        top: auto;
        bottom: 1.15rem;
        transform: none;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.65rem;
        padding: 0.45rem 0.55rem;
    }

    .color-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .color-swatches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-section {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .nav-menu {
        top: 60px;
        padding: 1.5rem;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    .hero-section,
    .farver-hero-section {
        margin-bottom: 2rem;
    }

    /* About page responsive */
    .about-hero-image {
        width: 100%;
        max-height: 40vh;
    }

    .about-section-box,
    .kubeform-section-box,
    .how-section-box {
        padding: 1.5rem 1rem;
        min-height: auto;
        margin-bottom: 2rem;
    }

    .about-heading-26,
    .kubeform-heading-26,
    .how-heading-26 {
        font-size: 30px;
        line-height: 1.15;
    }

    .about-text-large,
    .kubeform-text-22,
    .how-text-22 {
        font-size: 16px;
        line-height: 1.55;
    }

    .about-image-allan,
    .about-image-pawel {
        max-width: 100%;
    }

    .about-image-kvalitet {
        max-height: 250px;
    }

    /* KubeForm pages responsive */
    .kubeform-subtitle {
        font-size: 30px;
        line-height: 1.2;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .kubeform-image-half,
    .how-image-half {
        max-height: 40vh;
    }

    .kubeform-udsnit-image,
    .kubeform-udsnit-video {
        height: 60vh;
    }

    .how-hero-image {
        max-height: 50vh;
    }

    .how-image-montage {
        max-height: 20vh;
    }

    /* Farver page responsive */
    .farver-hero-image {
        width: 100%;
        height: 100%;
        max-width: none;
    }

    /* Content boxes */
    .content-box {
        padding: 1.5rem;
    }

    .new-way-section,
    .farver-section {
        padding: 2rem 1rem;
    }

    .moodboard-image {
        max-width: 100%;
        max-height: 300px;
    }

    /* Bryggers images */
    .bryggers-crossfade {
        max-width: 100%;
    }

    .bryggers-fade {
        width: 100%;
    }
}

/* Tablet (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .header-inline-nav {
        gap: 0.75rem;
    }

    .header-inline-nav a {
        font-size: 1.1rem;
    }

    .logo {
        max-height: 54px;
    }

    .forms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 46px; /* størrelse 40px */
    }

    .color-swatches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .main-content {
        padding: 1.5rem;
    }

    .contact-section {
        padding: 1.5rem;
    }

    /* About page tablet */
    .about-hero-image {
        width: 100%;
        max-height: 50vh;
    }

    .about-section-box,
    .kubeform-section-box,
    .how-section-box {
        padding: 2rem 1.5rem;
    }

    .about-heading-26,
    .kubeform-heading-26,
    .how-heading-26 {
        font-size: 34px;
        line-height: 1.15;
    }

    .about-text-large,
    .kubeform-text-22,
    .how-text-22 {
        font-size: 16px;
        line-height: 1.55;
    }

    /* KubeForm pages tablet */
    .kubeform-subtitle {
        font-size: 34px;
        line-height: 1.2;
    }

    .kubeform-image-half,
    .how-image-half {
        max-height: 45vh;
    }

    .kubeform-udsnit-image,
    .kubeform-udsnit-video {
        height: 70vh;
    }

    .how-hero-image {
        max-height: 60vh;
    }

    /* Split rows - sometimes stack on tablet */
    .split-row {
        gap: 1.5rem;
    }

    /* Farver page tablet */
    .farver-hero-image {
        width: 100%;
        height: 100%;
        max-width: none;
    }
}

/* Small Desktop / Laptop (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .header-inline-nav a {
        font-size: 1.2rem;
    }

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

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

    .main-content {
        padding: 2rem;
    }

    /* About page laptop */
    .about-hero-image {
        width: 110%;
        max-height: 55vh;
    }

    .about-section-box,
    .kubeform-section-box,
    .how-section-box {
        padding: 2.5rem 2rem;
    }

    /* KubeForm pages laptop */
    .kubeform-image-half,
    .how-image-half {
        max-height: 48vh;
    }

    .kubeform-udsnit-image,
    .kubeform-udsnit-video {
        height: 85vh;
    }

    /* Farver page laptop */
    .farver-hero-image {
        width: 100%;
        height: 100%;
        max-width: none;
    }
}

/* Large Desktop (1025px and above) */
@media (min-width: 1025px) {
    .main-content {
        max-width: 100%; /* fuld bredde */
    }

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

    .color-swatches-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .menu-icon,
    .search-icon,
    .language-icon {
        min-width: 44px;
        min-height: 44px;
        padding: 0.75rem;
    }

    .designs-btn,
    .contact-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .checkbox-label {
        min-height: 44px;
        padding: 0.5rem 0;
    }

    .checkbox-dropdown__trigger {
        min-height: 44px;
    }

    .submit-btn {
        min-height: 48px;
        font-size: 1rem;
    }

    /* Stack split rows on mobile/tablet */
    .split-row {
        grid-template-columns: 1fr;
    }

    /* Adjust image columns */
    .image-col {
        order: -1; /* Images first on mobile */
        margin-bottom: 1rem;
    }

    /* Video responsive */
    video {
        max-width: 100%;
        height: auto;
    }

    /* Footer responsive */
    .footer {
        padding: 2.5rem 1.5rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-cta {
        grid-column: 1 / -1;
    }

    .footer-brand {
        text-align: left;
    }

    /* Hero images responsive */
    .hero-image,
    .hero-video {
        width: 100%;
        height: auto;
    }
}

/* Improve readability on small screens */
@media (max-width: 480px) {
    body {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .content-box {
        padding: 1.5rem;
    }

    /* Text sizing for small screens */
    .welcome-title {
        font-size: 2rem;
    }

    .news-title {
        font-size: 1.4rem;
    }

    .news-subtitle {
        font-size: 1rem;
    }

    /* About intro text */
    .about-intro-text {
        font-size: 1.1rem;
    }

    .about-section-text {
        font-size: 1.1rem;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 0.5rem 1rem;
    }

    .hero-section {
        margin-bottom: 1.5rem;
    }

    .about-hero-image,
    .kubeform-image-half,
    .how-image-half {
        max-height: 60vh;
    }

    .kubeform-udsnit-image,
    .kubeform-udsnit-video {
        height: 80vh;
    }
}

/* Additional responsive fixes for specific sections */
@media (max-width: 768px) {
    /* Ensure all split rows stack properly */
    .about-section .split-row,
    .kubeform-section .split-row,
    .kubeform-section-box .split-row,
    .how-section .split-row,
    .how-section-box .split-row {
        grid-template-columns: 1fr;
    }

    /* Adjust padding for section boxes */
    .about-section-box,
    .kubeform-section-box,
    .how-section-box {
        padding: 1.5rem 1rem;
    }

    /* Text alignment on mobile */
    .text-col {
        text-align: left;
    }

    /* Hero container adjustments */
    .hero-container {
        width: 100%;
    }

    /* Farver hero adjustments */
    .farver-hero-container {
        width: 100%;
    }
}

/* Medium screens (tablets in portrait) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Sometimes keep split layout, sometimes stack */
    .split-row {
        grid-template-columns: 1fr;
    }

    /* But for some sections, keep side-by-side if space allows */
    .about-section-box .split-row,
    .kubeform-section-box .split-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* Ensure videos are responsive */
video.kubeform-image-half,
video.kubeform-udsnit-video,
video.how-image-half {
    width: 100%;
    max-width: 100%;
    min-height: 300px;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Fix for about hero image overflow */
@media (max-width: 1024px) {
    .about-hero {
        overflow: hidden;
    }

    .about-hero-image {
        max-width: 100%;
    }
}

/* Prevent horizontal scroll on all devices */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure all containers respect viewport */
* {
    max-width: 100%;
}

/* Fix for glasskab container on mobile */
@media (max-width: 768px) {
    .glasskab-why-section .glasskab-container {
        min-height: 250px;
    }
}

/* Header improvements for very small screens */
@media (max-width: 360px) {
    .header {
        padding: 0.5rem;
    }

    .header-inline-nav a {
        font-size: 0.9rem;
    }

    .designs-btn,
    .contact-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .logo {
        max-height: 36px;
    }

    .cube-icon {
        width: 32px;
        height: 32px;
    }
}

/* Improve text wrapping on small screens */
@media (max-width: 768px) {
    .text-col p,
    .about-section-text,
    .kubeform-text-22,
    .how-text-22 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Better spacing for section boxes on mobile */
@media (max-width: 480px) {
    .about-section-box,
    .kubeform-section-box,
    .how-section-box,
    .content-box {
        margin-bottom: 1.5rem;
    }

    .about-section,
    .kubeform-section,
    .how-section {
        margin-bottom: 2rem;
    }
}

/* Ensure videos don't overflow */
video {
    max-width: 100%;
    height: auto;
}

/* Fix for farver hero image on mobile */
@media (max-width: 768px) {
    .farver-hero-container {
        height: min(78vh, 640px);
    }

    .farver-hero-image {
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        object-fit: cover;
    }
    
    .farver-hero-section {
        padding: 0;
        margin-bottom: 1.5rem;
    }
    
    .color-buttons {
        right: 0.7rem;
        left: auto;
        top: auto;
        bottom: 1.1rem;
        transform: none;
        flex-direction: row;
        flex-wrap: nowrap;
        margin: 0;
    }
    
    /* Ensure all images fit on mobile */
    .kubeform-image-half,
    .how-image-half,
    .about-image-half,
    .feature-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Stack all split rows on mobile */
    .split-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .split-col {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* New way section mobile */
    .new-way-section,
    .farver-section,
    .glasskab-why-section,
    .special-features-section {
        padding: 1.5rem 1rem !important;
    }

    .new-way-section .image-col {
        order: -1;
        min-height: 0 !important;
        margin-bottom: 0.75rem;
    }

    .new-way-section .text-col {
        padding-left: 0;
        padding-right: 0;
    }

    .new-way-section .moodboard-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
        object-fit: contain;
    }

    .home-farver-feed {
        display: block;
        padding: 0.5rem 1rem 2.5rem;
    }

    .home-farver-feed .farver-content {
        padding: 0 0 0.5rem;
    }

    .home-farver-feed .farver-content p {
        font-size: 20px;
        line-height: 1.35;
    }

    .home-farver-feed .color-swatches-section {
        margin: 1rem 0 1.25rem;
    }

    .home-farver-feed .color-swatches-grid {
        margin-top: 0;
    }

    .home-farver-feed__more {
        text-align: center;
        margin: 1.5rem 0 0;
    }

    .welcome-title {
        font-size: 23px;
        line-height: 1.3;
    }
    
    /* Glasskab container mobile */
    .glasskab-container {
        min-height: 200px !important;
        height: auto !important;
    }
}

/* Better button spacing on mobile */
@media (max-width: 480px) {
    .header-right {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .designs-btn,
    .contact-btn {
        width: auto;
        min-width: 100px;
    }
}

/* SMARTPHONE OPTIMIZATIONS */

/* Burger menu on smartphones - hide inline nav links */
@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0.75rem;
        flex-wrap: nowrap;
        align-items: center;
    }

    .header-right {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
        margin-top: 0;
    }

    .header-inline-nav {
        display: none !important;
    }

    .menu-icon {
        display: flex !important;
    }
    
    .logo {
        max-height: 36px;
    }
    
    .cube-icon {
        width: 32px;
        height: 32px;
    }
}

/* Ensure hero overlay box is responsive */
@media (max-width: 768px) {
    .hero-overlay-box {
        bottom: 1.5rem;
        left: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .hero-overlay-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-overlay-box {
        bottom: 0.75rem;
        left: 0.5rem;
        right: 0.5rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero-overlay-title {
        font-size: 32px;
    }
    
    /* Welcome section mobile */
    .welcome-section {
        margin-bottom: 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .welcome-title {
        font-size: 23px !important;
        line-height: 1.3;
    }
    
    /* Section titles mobile */
    .section-title,
    .text-col h2,
    .kubeform-heading-26,
    .how-heading-26,
    .about-section-heading {
        font-size: 30px !important;
        line-height: 1.15;
    }
    
    /* Body text mobile */
    body {
        font-size: 16px;
    }
    
    .kubeform-text-22,
    .how-text-22,
    .about-text-large,
    .category-page p {
        font-size: 16px !important;
    }
    
    /* Designs grid mobile */
    .forms-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .design-item {
        margin-bottom: 0.5rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 1.25rem 1.5rem;
    }

    .doc-content {
        padding: 0 1.25rem;
    }

    .doc-header h1,
    .doc-content > h1 {
        font-size: 1.75rem;
    }

    .doc-content h2 {
        font-size: 1.2rem;
    }

    .doc-figure--diagram .doc-inline-image,
    .doc-figure--inline .doc-inline-image {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-cta p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand {
        text-align: center;
        justify-self: center;
        width: auto;
    }

    .footer-logo-link {
        display: block;
        width: fit-content;
        margin: 0 auto 1rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .kaf-boxes {
        grid-template-columns: 1fr;
    }

    .kaf-title {
        font-size: 1.25rem;
    }
    
    /* Contact form mobile */
    .contact-section {
        padding: 1rem !important;
        padding-top: calc(1rem + 30mm) !important;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-phone-info {
        padding: 1rem;
        font-size: 14px;
    }
    
    /* CTA buttons mobile */
    .cta-button {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        display: block;
        text-align: center;
    }
    
    /* Mood boards mobile */
    .moodboard-image {
        max-height: 200px;
    }
    
    /* About page mobile */
    .about-hero {
        padding-top: 30mm !important;
    }
    
    .about-hero-quote {
        font-size: 24px !important;
        padding: 0 1rem;
    }
    
    /* How page mobile */
    .how-hero {
        padding-top: 30mm !important;
    }

    .category-page {
        padding: calc(1.5rem + 30mm) 1.25rem 3rem;
    }

    .category-page h1 {
        font-size: 30px;
        line-height: 1.15;
    }
    
    .how-hero-text {
        font-size: 16px !important;
        line-height: 1.55;
        padding: 0 1rem;
    }
    
    /* Farver page mobile */
    .farver-hero-section {
        padding: 0 !important;
        margin-bottom: 1.25rem;
    }

    .farver-hero-container {
        height: min(72vh, 560px);
    }
    
    .color-buttons {
        justify-content: center;
        right: 50%;
        transform: translateX(50%);
        bottom: 0.9rem;
    }
    
    .color-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }
    
    .farver-content p {
        font-size: 20px !important;
        padding: 0 1rem;
    }
    
    /* Color swatches mobile */
    .color-swatches-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .color-swatches-section {
        padding-left: 0 !important;
    }
    
    .color-swatches-section h2 {
        padding-left: 1rem !important;
        font-size: 20px !important;
    }
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.35);
}

.cookie-banner__card {
    width: 100%;
    max-width: 560px;
    background-color: #E2DCCF;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    margin-bottom: 0.5rem;
}

.cookie-banner__title {
    font-family: 'Cormorant', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.75rem;
}

.cookie-banner__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #000;
    margin-bottom: 1.25rem;
}

.cookie-banner__categories {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.cookie-banner__option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.cookie-banner__option input[type="checkbox"] {
    margin-top: 0.25rem;
    min-width: 18px;
    min-height: 18px;
    accent-color: #5E4F44;
}

.cookie-banner__option strong {
    display: block;
    font-size: 0.95rem;
    color: #000;
}

.cookie-banner__option small {
    display: block;
    font-size: 0.82rem;
    color: #444;
    line-height: 1.4;
    margin-top: 0.15rem;
}

.cookie-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cookie-banner__btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn--primary {
    background-color: #5E4F44;
    color: #fff;
    border: 2px solid #5E4F44;
    padding: 0.85rem 1.25rem;
}

.cookie-banner__btn--primary:hover {
    background-color: #4a3f36;
    border-color: #4a3f36;
}

.cookie-banner__btn--secondary {
    background-color: transparent;
    color: #5E4F44;
    border: 2px solid #5E4F44;
    padding: 0.85rem 1.25rem;
}

.cookie-banner__btn--secondary:hover {
    background-color: rgba(94, 79, 68, 0.08);
}

.cookie-banner__btn--link {
    background: none;
    border: none;
    color: #5E4F44;
    text-decoration: underline;
    padding: 0.35rem 0;
    font-weight: 400;
}

.cookie-banner__btn--save {
    width: 100%;
    margin-top: 0.75rem;
    background-color: #5E4F44;
    color: #fff;
    border: 2px solid #5E4F44;
    padding: 0.85rem 1.25rem;
}

.cookie-banner__btn--save:hover {
    background-color: #4a3f36;
}

.cookie-settings-wrap {
    margin-top: 0.75rem;
}

.cookie-settings-link {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #5E4F44;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-settings-link:hover {
    color: #4a3f36;
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 0.75rem;
        align-items: flex-end;
    }

    .cookie-banner__card {
        padding: 1.35rem;
    }

    .cookie-banner__title {
        font-size: 1.45rem;
    }
}
