        :root {
            /* Primary colors */
            --color-primary: #667eea;
            --color-primary-dark: #5568d3;
            --color-secondary: #17426c;
            --color-accent: #f39c12;
            
            /* Header */
            --color-header-bg: #192e51;
            --color-header-bg-scrolling: #192e51;
            --color-header-text: #ffffff;
            --color-header-hover: #3498db;
            
            /* Text colors */
            --color-text-primary: #333333;
            --color-text-secondary: #555555;
            --color-text-muted: #7f8c8d;
            --color-text-light: #bdc3c7;
            
            /* Background colors */
            --color-bg-white: #ffffff;
            --color-bg-dark: #1a252f;
            --color-bg-darker: #2c3e50;
            
            /* Success/accent colors */
            --color-success: #27ae60;
            --color-overlay: rgba(0, 0, 0, 0.4);
            
            /* Gradient */
            --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);

            /* Floor plan colors */
            --fp-bg: #1c2129;
            --fp-grid: #30363d;
            --fp-wall: #c9d1d9;
            --fp-accent: #58a6ff;
            --fp-dim: #7d8590;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: var(--color-text-primary);
            overflow-x: hidden;
        }

        /* Header & Navigation */
        header {
            background-color: var(--color-header-bg);
            padding: 1rem 0 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: background-color 0.3s;
        }

        header.scrolled {
            background-color: var(--color-header-bg-scrolling);
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            color: var(--color-header-text);
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--color-header-text);
            text-decoration: none;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--color-header-hover);
        }

        /* Parallax Hero */
        .parallax-hero {
            height: 100vh;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .parallax-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 120%;
            background-image: url('/img/avif/bg.avif');
            background-size: cover;
            background-position: center;
            transform: translateZ(0);
            will-change: transform;
        }

        .parallax-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: var(--color-header-text);
            padding: 2rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards 0.3s;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .hero-content p {
            font-size: 1.5rem;
            max-width: 700px;
            margin: 0 auto;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

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

        .slide-in-left {
            opacity: 0;
            transform: translateX(-100px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .slide-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(100px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* About Section */
        .about-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 6rem 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.5rem;
            color: var(--color-header-bg);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            font-size: 1.1rem;
            color: var(--color-text-secondary);
            margin-bottom: 1rem;
	    text-align: justify;
        }

        .about-image img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        /* Pricing Section */
        .pricing-section {
            background: #192e51;
            padding: 6rem 0;
            overflow: hidden;
        }

        .pricing-container {
            max-width: 100%;
        }

        .pricing-header {
            text-align: center;
            color: var(--color-header-text);
            margin-bottom: 1rem;
            padding: 0 2rem;
        }

        .pricing-header h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .pricing-header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .pricing-scroll-container {
            overflow-x: auto;
            overflow-y: hidden;
            padding: 2rem 2rem 2rem 2rem;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.3) transparent;
        }

        .pricing-scroll-container::-webkit-scrollbar {
            height: 8px;
        }

        .pricing-scroll-container::-webkit-scrollbar-track {
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
        }

        .pricing-scroll-container::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.3);
            border-radius: 10px;
        }

        .pricing-scroll-container::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,0.5);
        }

        .pricing-grid {
            display: flex;
            gap: 2rem;
            padding-bottom: 1rem;
        }

        .pricing-card {
            /* background: var(--color-bg-white); */
	    background: #edf5ff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: transform 0.3s, box-shadow 0.3s;
            flex: 0 0 350px;
            display: flex;
            flex-direction: column;
        }

        .pricing-card:hover {
            /* transform: translateY(-10px); */
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }

        .pricing-card.featured {
            border: 3px solid var(--color-accent);
            position: relative;
        }

        .pricing-card.featured::before {
            content: 'POPULÆR';
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--color-accent);
	    border: 1px solid #bd7708;
            color: var(--color-header-text);
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 10;
        }

        /* Floor Plan in pricing card */
        .pricing-card-floorplan {
            width: 100%;
            height: 280px;
            background: var(--fp-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            position: relative;
            overflow: hidden;
	    border-bottom: 1px solid #eee;
        }

        .pricing-card-floorplan svg {
            max-width: 100%;
            max-height: 100%;
            height: auto;
        }

        .fp-scale-label {
            position: absolute;
            bottom: 6px;
            right: 10px;
            font-size: 9px;
            font-family: 'Courier New', monospace;
            color: var(--fp-dim);
            opacity: 0.7;
        }

        .fp-actions {
            position: absolute;
            top: 8px;
            left: 8px;
            display: flex;
            gap: 6px;
            z-index: 5;
        }

        .fp-btn {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            border: none;
            background: rgba(0,0,0,0.45);
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, transform 0.15s;
            backdrop-filter: blur(4px);
        }

        .fp-btn:hover {
            background: rgba(0,0,0,0.7);
            transform: scale(1.1);
        }

        .fp-btn svg {
            width: 16px;
            height: 16px;
            pointer-events: none;
        }

        .fp-btn.spinning svg {
            animation: spin 0.4s ease;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Zoom modal */
        .fp-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.85);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
            backdrop-filter: blur(6px);
        }

        .fp-modal-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .fp-modal {
            background: var(--fp-bg);
            border-radius: 12px;
            padding: 24px;
            max-width: 95vw;
            max-height: 90vh;
            overflow: auto;
            position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            transform: scale(0.92);
            transition: transform 0.25s ease;
        }

        .fp-modal-overlay.active .fp-modal {
            transform: scale(1.5);
		    max-width: 60vw;
        }

        @media (max-width: 768px) {
        .fp-modal-overlay.active .fp-modal {
            transform: scale(1.1);
        }
	}
        .fp-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .fp-modal-title {
            color: #e6edf3;
            font-size: 1.1rem;
            font-family: 'Courier New', monospace;
        }

        .fp-modal-close {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            border: 1px solid #30363d;
            background: rgba(255,255,255,0.06);
            color: black;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .fp-modal-close:hover {
            background: rgba(255,255,255,0.15);
        }

        .fp-modal-body {
            overflow: auto;
        }

        .fp-modal-body svg {
            display: block;
        }

        body.modal-open {
            overflow: hidden;
        }

        .pricing-card-content {
            padding: 2rem;
            text-align: center;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .pricing-card h3 {
            font-size: 1.5rem;
            color: var(--color-header-bg);
            margin-bottom: 0.5rem;
        }

        .pricing-card .size {
            color: var(--color-text-muted);
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }

        .pricing-card .price {
            font-size: 3rem;
            color: var(--color-primary);
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .pricing-card .period {
            color: var(--color-text-muted);
            margin-bottom: 2rem;
        }

        .pricing-card ul {
            list-style: none;
            margin-bottom: 2rem;
            text-align: left;
            flex: 1;
        }

	.contract {
		background: var(--color-primary-dark);
		border: 1px solid #5e5e5e !important;
	}

        .pricing-card ul li {
            padding: 0.5rem 0;
            color: var(--color-text-secondary);
            font-size: 0.95rem;
        }

        .pricing-card ul li::before {
            content: '✓';
            color: var(--color-success);
            font-weight: bold;
            margin-right: 0.5rem;
        }

        .pricing-card button {
            /*background: var(--color-primary);*/
            color: var(--color-header-text);
            border: none;
            padding: 0.8rem 0.5rem;
            border-radius: 6px;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s;
            width: 100%;
        }


        .scroll-hint {
            text-align: center;
            color: rgba(255,255,255,0.7);
            margin-top: 1rem;
            font-size: 0.9rem;
            padding: 0 2rem;
        }

        /* Features Section with Parallax */
        .features-parallax {
            min-height: 400px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem 0;
        }

        .features-parallax-bg {
            position: absolute;
            top: -50%;
            left: 0;
            width: 100%;
            height: 200%;
            background-image: url('/img/avif/subhead2.avif');
            background-size: cover;
            background-position: center;
        }

        .features-parallax-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(44, 62, 80, 0.7);
        }

        .features-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: var(--color-header-text);
            padding: 2rem;
        }

        .features-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .features-content p {
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
            margin-bottom: 14px;
        }

        /* Footer */
        footer {
            background: var(--color-bg-dark);
            color: var(--color-text-light);
            padding: 4rem 2rem 2rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-section h3 {
            color: var(--color-header-hover);
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
        }

        .footer-section p,
        .footer-section ul {
            color: var(--color-text-light);
            line-height: 1.8;
	    text-align: justify;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.8rem;
        }

        .footer-section a {
            color: #8787f4;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: var(--color-header-hover);
        }

        .contact-info {
            display: flex;
            align-items: start;
            margin-bottom: 1rem;
        }

        .contact-info svg {
            margin-right: 0.8rem;
            flex-shrink: 0;
	    margin-top: 4px;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: var(--color-bg-darker);
            border-radius: 50%;
            transition: background 0.3s;
        }

        .social-links a:hover {
            background: var(--color-header-hover);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--color-bg-darker);
            color: var(--color-text-muted);
        }

        /* Responsive */
        @media (max-width: 768px) {
        .fp-modal-overlay.active .fp-modal {
            transform: scale(1.2);
        }
	html, body {
    overscroll-behavior-x: none;
	}

            nav {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-links {
                gap: 1rem;
            }

            .hero-content h1 {
                font-size: 2rem;
            }

            .hero-content p {
                font-size: 1rem;
            }

            .about-section {
                grid-template-columns: 1fr;
                padding: 3rem 2rem;
            }

            .pricing-card {
                flex: 0 0 280px;
            }

            .pricing-card-floorplan {
                height: 220px;
            }

            .scroll-hint {
                font-size: 0.8rem;
            }

            .features-content h2 {
                font-size: 1.8rem;
            }

            .features-content p {
                font-size: 1rem;
            }

	    header {
		    padding:1rem 0;
	    }
        }

	.fp-btn-zoom-overlay {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(0,0,0,0);
    color: rgba(255,255,255,0);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s;
    z-index: 5;
}

.fp-btn-zoom-overlay:hover {
	/* background: rgba(24, 42, 85, 0.65); */
	background: rgba(255, 255, 255, 0.50);
	color: rgba(0,0,0,0.9);
	backdrop-filter: blur(4px);
	border-radius:0;
}

.fp-btn-zoom-overlay svg {
    width: 32px;
    height: 32px;
    opacity: 0;
    transition: opacity 0.25s;
}

.fp-btn-zoom-overlay:hover svg {
    opacity: 1;
}

/* animation */
.logo-roof { stroke-dasharray: 120; stroke-dashoffset: 120; animation: logo-draw 0.6s ease forwards 0.2s; }
.logo-vl { opacity: 0; animation: logo-fade 0.4s ease forwards 0.7s; }
.logo-line { stroke-dasharray: 60; stroke-dashoffset: 60; animation: logo-draw 0.3s ease forwards 1.0s; }
.logo-t1 { opacity: 0; animation: logo-fade 0.4s ease forwards 1.1s; }
.logo-t2 { opacity: 0; animation: logo-fade 0.4s ease forwards 1.3s; }
@keyframes logo-draw { to { stroke-dashoffset: 0; } }
@keyframes logo-fade { to { opacity: 1; } }



main {
	margin-top: 86px;
}

html {
    scroll-padding-top: 86px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 140px;
    }
}

.pricing-card.unavailable {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    filter: grayscale(0.8);
}

.pricing-card.unavailable::after {
    content: 'IKKJE LEDIG';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    z-index: 10;
    white-space: nowrap;
}

#fpModalTitle {
	visibility: hidden;
}

#fpModalRegen, #fpModalClose {
}

.fp-modal-header {
	margin-bottom: -16px;

}

