/* --- 0. TYPSNITT (LOKALT) --- */
/* latin-ext */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/css/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin (Svenska och standardtecken) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/css/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 1. FÄRGPALETT & VARIABLER --- */
:root {
    --primary-dark: #1a1a1a;    
    --secondary: #00A676;       
    --accent-light: #4ECDC4;         
    --text-muted: #4a4a4a;
    
    --shadow-card: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-btn: 0 4px 15px rgba(0, 166, 118, 0.3);
    --shadow-menu: 0 10px 25px rgba(0,0,0,0.5);
}

/* --- 2. GRUNDLÄGGANDE STYLING, RESET & TYPOGRAFI --- */
html, body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    background-color: #fff;
    color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden; 
    overflow-wrap: break-word; 
    word-wrap: break-word;
}

/* GLOBAL TYPOGRAFI */
h1 {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--primary-dark);
    margin-bottom: 20px;
    letter-spacing: -4px;
	 word-spacing: 10px;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.8em, 3vw, 2.2em); /* Skalar mjukt mellan ca 28px och 35px */
    line-height: 1.4;
    color: var(--primary-dark); /* Ändrat från --text-muted så den matchar de andra rubrikerna */
    font-weight: 600; /* Gör den halvfet så den sticker ut från vanlig text */
    margin-bottom: 30px;
    letter-spacing: -2px;
	word-spacing: 8px;
}

h3 {
    font-size: 1.5em;
    color: var(--primary-dark);
    margin: 0 0 15px 0;
	    letter-spacing: -1px;
	word-spacing: 6px;
}

p {
    font-size: 20px; 
    line-height: 1.65;
    margin-bottom: 1.5em; 
}



ul, ol {
    font-size: 20px;
    line-height: 1.65;
    margin-bottom: 1.5em;
    padding-left: 30px;
    color: var(--primary-dark);
}

/* Gör punkterna till svarta fyrkanter (gäller endast ul) */
ul {
    list-style-type: square;
}

li {
    margin-bottom: 0.5em;
}

/* Generella hjälpklasser */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Allmänna textlänkar i huvudkroppen (ej knappar) */
main a:not(.cta-button) {
    color: #000;
    text-decoration: underline;
    transition: color 0.2s ease;
    font-size: 20px;
    line-height: 1.65;
}
main a:not(.cta-button):hover { color: #00bfa5; }

/* Moderniserad och optimerad HR-tagg */
hr {
    border: 0; 
    height: 1px; 
    background: linear-gradient(to right, transparent, #797979, transparent); 
    margin: 50px 0; 
    opacity: 0.5; 
}

/* Interaktiva tillstånd från JavaScript */
body.menu-open { overflow: hidden; }
body.is-resizing * { transition: none !important; }

/* --- 3. GRUPPERINGAR FÖR ATT MINSKA KOD (DRY) --- */
.main-header,
.hero-image-wrapper {
    background-color: #001F3F;
}

.cta-button, 
.menu-item, 
.brand-text h2, 
.main-footer { 
    color: #fff; 
}

.cta-button, .scroll-to-top, .mobile-phone-btn {
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.menu-item {
    transition: background-color 0.2s ease, color 0.2s ease, border-bottom-color 0.2s ease;
}

.cta-button svg, .scroll-to-top svg, .mobile-phone-btn svg {
    transition: stroke 0.2s ease;
}

/* --- 4. LAYOUT & HUVUDINNEHÅLL --- */
.page-container { 
    padding: 0 20px 80px 20px; 
    box-sizing: border-box; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    background: #fff; 
}

.hero-image-wrapper { 
    align-self: stretch; 
    margin-left: -20px; 
    margin-right: -20px; 
    margin-bottom: 50px; 
    padding-top: 100px;
    box-sizing: border-box;
}

.hero-panorama { 
    width: 100%; 
    height: 450px; 
    object-fit: cover; 
    object-position: top; 
    display: block; 
}

.hero-section { 
    max-width: 1000px; 
    margin: 0 auto 20px auto; 
    animation: fadeIn 0.8s ease-in-out; 
}

.hero-title { 
    font-size: 3.8em; 
    color: var(--primary-dark); 
    margin: 0 0 20px 0; 
    letter-spacing: -2px; 
    font-weight: 700; 
    line-height: 1.1; 
}

.why-section { 
    max-width: 1200px; 
    margin: 0 auto; 
    animation: fadeIn 1s ease-in-out; 
}

/* --- TVÅKOLUMNS-LAYOUT FÖR INTRO OCH FORMULÄR --- */
.intro-split {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
    text-align: left;
}

.intro-split-form {
    flex: 1;
    max-width: 400px;
}

.intro-split-text {
    flex: 1;
    position: relative; 
}

.transition-title { 
    font-size: 2.2em; 
    color: var(--primary-dark); 
    margin-bottom: 20px; 
    letter-spacing: -1px; 
    font-weight: 700; 
}

/* --- STYLING AV VIDEO --- */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background-color: #000;
}

.intro-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-end-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.video-end-poster.show {
    opacity: 1;
    pointer-events: auto;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 166, 118, 0.9); 
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-btn);
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--accent-light);
}

.video-play-btn svg {
    fill: #fff;
    width: 36px;
    height: 36px;
    margin-left: 6px; 
}

/* --- STYLING AV DIN SVG-PIL --- */
.post-video-arrow {
    position: absolute;
    bottom: 20px;
    right: -80px; 
    width: 114px;
    height: 53px;
    z-index: 10;
    pointer-events: none;
    transform: scaleX(-1); 
}

.post-video-arrow .arrow-path {
    stroke-dasharray: 200; 
    stroke-dashoffset: 200; 
    transition: stroke-dashoffset 0.8s ease-in-out;
}

.post-video-arrow .arrow-head {
    opacity: 0;
    transition: opacity 0.3s ease-in-out 0.6s; 
}

.post-video-arrow.show-arrow .arrow-path { stroke-dashoffset: 0; }
.post-video-arrow.show-arrow .arrow-head { opacity: 1; }

/* --- STYLING AV FORMULÄRET --- */
.contact-form {
    background-color: #f8f9fa; 
    padding: 10px 40px 40px 40px; 
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--secondary);
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5em;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 20px;
    line-height: 1.65;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    font-size: 20px;
    font-family: inherit;
    color: var(--primary-dark);
    background-color: #fff;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04); 
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {

    outline: none;
    border-color: var(--secondary);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04), 0 0 8px rgba(0, 166, 118, 0.25);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1.65;
    color: var(--text-muted);
}

.form-check input {
    margin: 0 12px 0 0;
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--secondary);
    flex-shrink: 0;
    transform: translateY(2px);
}

/* Honungsfällan */
.url_honey {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* --- KORT OCH KNAPPAR --- */
.benefits-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); 
    gap: 30px; 
    width: 100%; 
}

.benefit-card { 
    background: #fff; 
    padding: 35px; 
    border-radius: 12px; 
    box-shadow: var(--shadow-card); 
    text-align: left; 
    border-top: 4px solid var(--secondary); 
    transition: transform 0.2s ease; 
    box-sizing: border-box; 
}

.benefit-card:hover { transform: translateY(-5px); }
.benefit-card h3 { margin-top: 0; color: var(--primary-dark); font-size: 1.5em; margin-bottom: 15px; font-weight: 700; }

.cta-button { 
    margin-top: 60px; 
    padding: 16px 35px; 
    font-size: 20px; 
    line-height: 1.65;
    background-color: var(--secondary); 
    text-decoration: none; 
    border: none; 
    border-radius: 12px; 
    font-weight: 700; 
    box-shadow: var(--shadow-btn); 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    gap: 12px; 
    cursor: pointer;
    font-family: inherit; 
}

.contact-form .cta-button {
    margin-top: 5px;
    width: 100%;
}

.cta-button:hover { 
    transform: translateY(-3px); 
    background-color: var(--accent-light); 
    color: var(--primary-dark); 
}

.cta-button svg { stroke: #fff; }
.cta-button:hover svg { stroke: var(--primary-dark); }

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* --- 5. HEADER & LOGGA (DESKTOP) --- */
.main-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; 
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0); 
    transition: height 0.3s ease, box-shadow 0.3s ease;
}

.logo-circle {
    position: absolute;
    top: 25px; 
    left: 40px;
    width: 140px; 
    height: 140px;
    background-color: transparent; 
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3600; 
    transition: width 0.3s ease, height 0.3s ease, top 0.3s ease;
}

.logo-circle svg {
    width: 140px; 
    height: 140px;
    position: relative; 
    z-index: 10;         
    transition: width 0.3s ease, height 0.3s ease; 
}

.logo-circle::before {
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 800px; 
    height: 800px; 
    border-radius: 50%; 
    transform: translate3d(-50%, -50%, 0); 
    -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 20%, rgba(0,0,0,0) 85%);
    mask-image: radial-gradient(circle closest-side at 50% 50%, #000 20%, rgba(0,0,0,0) 85%);
    z-index: -1; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
    
    background: repeating-conic-gradient(
        from 0deg at 50% 50%, 
        rgba(255, 255, 255, 0.12) 0deg, 
        rgba(255, 255, 255, 0.12) 10deg, 
        transparent 10deg, 
        transparent 12deg
    ); 
    animation: spinRays 30s linear infinite, pulseRays 3s ease-in-out infinite alternate; 
}

@keyframes spinRays { 
    from { transform: translate3d(-50%, -50%, 0) rotate(0deg) scale(1); } 
    50%  { transform: translate3d(-50%, -50%, 0) rotate(180deg) scale(1.10); } 
    to   { transform: translate3d(-50%, -50%, 0) rotate(360deg) scale(1); } 
}
@keyframes pulseRays { 
    0% { opacity: 0.66; } 
    100% { opacity: 1; } 
}

/* --- 6. MENYN (DESKTOP) --- */
.menu-scene {
    position: absolute;
    right: 40px; 
    top: 0;
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    transition: height 0.3s ease;
}

.menu-item {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px; 
    padding: 0 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px; 
    white-space: nowrap; 
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    cursor: pointer;
}

.menu-item:first-child { border-bottom-color: transparent; }
.menu-item:first-child:hover { border-bottom-color: transparent; }

.menu-item:hover { 
    background-color: rgba(255, 255, 255, 0.05); 
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.menu-item svg { fill: #fff; width: 26px; height: 26px; }

/* --- 7. HEADER VID SCROLL (DESKTOP) --- */
.main-header.scrolled {
    height: 80px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1); 
}
.main-header.scrolled .menu-scene { height: 80px; }
.main-header.scrolled .logo-circle { width: 60px; height: 60px; top: 10px; }
.main-header.scrolled .logo-circle svg { width: 60px; height: 60px; }
.main-header.scrolled .logo-circle::before { opacity: 0; }

.mobile-phone-btn { display: none; }

/* --- 8. SCROLL-TO-TOP KNAPP --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-btn);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2500;
    transform: translate3d(100px, 0, 0); 
    opacity: 0;
    pointer-events: none;
}

.scroll-to-top.show { transform: translate3d(0, 0, 0); opacity: 1; pointer-events: auto; }
.scroll-to-top:hover { background-color: var(--accent-light); }
.scroll-to-top svg { stroke: #fff; }
.scroll-to-top:hover svg { stroke: var(--primary-dark); }

/* --- 10. SIDFOT (FOOTER) --- */
.main-footer {
    background: radial-gradient(circle at center, #003b73 0%, #001F3F 100%);
    box-shadow: inset 0 10px 25px rgba(0,0,0,0.2);
    padding: 80px 20px 30px 20px;
    font-family: 'Manrope', sans-serif;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    position: relative; 
}

.footer-content::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 40px; 
    background: radial-gradient(ellipse at bottom, rgba(0, 0, 0, 0.28) 0%, transparent 70%);
    pointer-events: none; 
}

.brand-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: left;
}

.footer-logo-svg { flex-shrink: 0; }

.brand-text h2 {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.brand-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    max-width: 450px; 
    font-weight: 400;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p { margin: 0; }

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s ease;
    font-size: 20px;
    line-height: 1.65;
}
.legal-links a:hover { color: #fff; }

/* --- 11. HOVER-VIDEO FÖR OLIKA BILDER --- */
.media-container {
    position: relative;
    width: 500px;
    max-width: 100%;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 25px;
}

.media-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.media-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;;
    transform: scale(1.02);
}

.media-container:hover img {
    opacity: 0;
}

.media-container:hover video {
    opacity: 1;
}

/* --- 12. MEDIA QUERIES (Mobil) --- */
.hamburger {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3700; 
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block; width: 100%; height: 3px; background-color: #fff; border-radius: 3px; transition: all 0.3s ease;
}

body.menu-open .hamburger span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

/* ========================================================
   Tvingar fram lilla loggan på undersidor
   ======================================================== */
body.subpage .main-header { height: 80px !important; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) !important; }
body.subpage .main-header .menu-scene { height: 80px !important; }
body.subpage .main-header .logo-circle { width: 60px !important; height: 60px !important; top: 10px !important; }
body.subpage .main-header .logo-circle svg { width: 60px !important; height: 60px !important; }
body.subpage .main-header .logo-circle::before { display: none !important; }

/* --- 13. TEXTSIDOR / DOKUMENT (GDPR, Villkor etc.) --- */
.document-page {
    max-width: 1100px;
    margin: 120px auto 0 auto;
    padding: 40px; 
    width: 100%;
    box-sizing: border-box;
}

.document-columns {
    column-count: 2;
    column-gap: 60px;
    margin-bottom: 60px;
}

/* Regler för radbrytningar inuti spalterna */
.document-columns h3 { break-after: avoid; }
.document-columns p, .document-columns ul { break-inside: avoid; margin-bottom: 25px; font-size: 20px; line-height: 1.65; }
.document-columns ul { padding-left: 20px; }

/* Den gråa sammanfattnings-rutan */
.document-lead {
    max-width: 850px;
    margin: 0 auto 60px auto;
    padding: 25px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary);
    border-radius: 0 8px 8px 0;
    font-size: 20px;
    line-height: 1.65;
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

@media (max-width: 768px) {
    .page-container { padding: 0 15px 40px 15px; }
    .hero-image-wrapper { padding-top: 80px; }
    .hero-panorama { height: 250px; }
    
    .hero-title { 
        font-size: clamp(1.6em, 6vw, 2.2em); 
        white-space: normal; 
        word-break: break-word; 
    }
    
    .intro-split {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 30px;
    }

    /* Gör att BÅDA kolumnerna tillåts krympa till skärmens bredd */
    .intro-split-form,
    .intro-split-text {
        width: 100%;
        max-width: 100%;
        min-width: 0; /* Tvingar Flexbox att sluta spjärna emot! */
        box-sizing: border-box; 
    }

    /* Tvingar kattvideon att aldrig bli bredare än skärmen */
    .media-container {
        width: 100% !important;
        height: auto;
    }

    .post-video-arrow { display: none !important; }

    .transition-title { 
        font-size: clamp(1.5em, 5vw, 1.8em); 
        word-break: break-word; 
    }
    
    .benefit-card { 
        padding: clamp(15px, 5vw, 25px) clamp(10px, 4vw, 20px); 
    }
    .benefit-card h3 {
        font-size: clamp(1.2em, 5vw, 1.4em);
        word-break: break-word; 
    }
    
    .cta-button { 
        width: auto; 
        padding: clamp(12px, 3vw, 15px) 25px; 
        box-sizing: border-box; 
    }
    .contact-form .cta-button { width: 100%; }

    .main-header { height: 80px; }
    
    .logo-circle { 
        left: 15px; top: 10px; 
        width: clamp(50px, 12vw, 60px); 
        height: clamp(50px, 12vw, 60px); 
    }
    .logo-circle svg { width: 100%; height: 100%; } 
    .logo-circle::before { width: 600px; height: 600px; }

    .mobile-phone-btn {
        display: flex; position: absolute; right: clamp(55px, 15vw, 70px); 
        top: 50%; transform: translateY(-50%);
        width: clamp(38px, 10vw, 42px); height: clamp(38px, 10vw, 42px);
        background-color: var(--secondary); border: none; border-radius: 50%;
        justify-content: center; align-items: center; cursor: pointer; z-index: 3700;
        box-shadow: var(--shadow-btn); 
    }
    .mobile-phone-btn:active { transform: translateY(-50%) scale(0.95); background-color: var(--accent-light); }
    .mobile-phone-btn svg { stroke: #fff; }

    .hamburger { display: flex; }
    
    .menu-scene {
        position: fixed; top: 0; left: 0; right: 0; width: 100%; 
        height: fit-content; height: max-content; 
        background: radial-gradient(circle at top left, #003b73 0%, #001F3F 100%); 
        box-shadow: var(--shadow-menu); box-sizing: border-box;
        display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 12px;
        padding: 100px 10px 30px 10px; z-index: 3200; pointer-events: none; 
        transform: translate3d(0, -100%, 0); opacity: 0; visibility: hidden;
    }

    body.menu-open .menu-scene {
        transform: translate3d(0, 0, 0); opacity: 1; visibility: visible; pointer-events: auto; 
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0s 0s;
    }

    .menu-item {
        width: 100%; max-width: 280px; height: auto; min-height: 50px; padding: 10px;
        font-size: 20px; white-space: normal; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0;
    }
    .menu-item:first-child { margin-bottom: 10px; }
    .menu-item:hover { background-color: rgba(255, 255, 255, 0.05); }
    
    .scroll-to-top { bottom: 20px; right: 20px; width: 55px; height: 55px; }

    .brand-column { flex-direction: column; text-align: center; gap: 15px; }
    .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
    .legal-links a { margin: 0 10px; }
    
    /* Mobilanpassning för undersidor & dokument */
    body.subpage .main-header .menu-scene {
        height: max-content !important;
    }
    .document-page {
        padding: 20px; 
    }
    .document-columns {
        column-count: 1; 
        text-align: left;
    }

    /* --- Fixar kontaktformuläret för pyttesmå mobiler --- */
    .contact-form {
        padding: 20px 15px 25px 15px !important; 
    }

    .form-group label {
        font-size: 16px; 
    }

    .form-control {
        padding: 12px;
        font-size: 16px !important; 
    }

    .form-check {
        font-size: 16px;
        align-items: flex-start; 
    }
    
    .form-check input {
        margin-top: 4px; 
    }
}