/* ================================================
   WOW ANSIKTSMALING — STYLES
   Sprudlende regnbue & glitter
   ================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Rainbow palette */
    --pink: #ff006e;
    --orange: #fb5607;
    --yellow: #ffbe0b;
    --green: #06d6a0;
    --blue: #3a86ff;
    --purple: #8338ec;
    --magenta: #ff4d8d;
    --mint: #4ee6c8;

    /* Surface */
    --bg: #fff8fc;
    --bg-soft: #fef3f9;
    --bg-cream: #fffaf3;
    --ink: #1a0b2e;
    --ink-soft: #4a3a66;
    --muted: #7c6e91;
    --white: #ffffff;

    /* Gradients */
    --rainbow: linear-gradient(135deg, #ff006e 0%, #fb5607 20%, #ffbe0b 40%, #06d6a0 60%, #3a86ff 80%, #8338ec 100%);
    --rainbow-soft: linear-gradient(135deg, #ffb3d1 0%, #ffd9a8 25%, #fff0a8 50%, #b3e8d4 75%, #c9d8ff 100%);
    --pink-purple: linear-gradient(135deg, #ff006e, #8338ec);
    --sunny: linear-gradient(135deg, #ffbe0b, #fb5607);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(131, 56, 236, 0.08);
    --shadow-md: 0 10px 30px rgba(131, 56, 236, 0.12);
    --shadow-lg: 0 20px 50px rgba(131, 56, 236, 0.18);
    --shadow-glow: 0 0 40px rgba(255, 0, 110, 0.3);

    /* Type */
    --font-display: 'Fredoka', 'Comic Sans MS', system-ui, sans-serif;
    --font-script: 'Caveat', cursive;
    --font-body: 'Fredoka', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(4rem, 10vw, 8rem);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100vw;
}
body {
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 10% 0%, rgba(255, 0, 110, 0.10), transparent 60%),
        radial-gradient(900px 600px at 95% 30%, rgba(131, 56, 236, 0.10), transparent 60%),
        radial-gradient(700px 500px at 50% 100%, rgba(58, 134, 255, 0.08), transparent 60%),
        var(--bg);
    background-size: 200% 200%, 200% 200%, 200% 200%, auto;
    animation: bg-breathe 18s ease-in-out infinite alternate;
    line-height: 1.65;
    font-size: 17px;
    overflow-x: hidden;
    position: relative;
}
@keyframes bg-breathe {
    0%   { background-position: 0% 0%, 100% 30%, 50% 100%; }
    50%  { background-position: 20% 10%, 80% 40%, 60% 95%; }
    100% { background-position: 0% 20%, 100% 20%, 40% 100%; }
}

img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--purple); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink); }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); }
input, select, textarea, button { font: inherit; }

/* ---------- ACCESSIBILITY ---------- */
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--ink); color: var(--white);
    padding: 12px 20px; z-index: 1000;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- BACKGROUND SPARKLES ---------- */
.sparkle-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.sparkle-bg .sparkle {
    position: absolute;
    width: 4px; height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px currentColor;
    animation: float-up 12s linear infinite;
    opacity: 0;
}

@keyframes float-up {
    0% { transform: translateY(110vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

.cursor-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
.cursor-canvas .glitter-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    pointer-events: none;
    animation: glitter-fade 1.2s ease-out forwards;
}
@keyframes glitter-fade {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.9; }
    100% { transform: scale(0.2) translateY(20px) rotate(360deg); opacity: 0; }
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 200;
    padding: 16px 0;
    background: rgba(255, 248, 252, 0);
    transition: background .3s, padding .3s, box-shadow .3s;
    /* Hardware acceleration så menyen alltid er synlig på mobil */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
.site-header.scrolled {
    background: rgba(255, 248, 252, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(131, 56, 236, 0.08);
    padding: 10px 0;
}

.nav {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--ink);
}
.logo-text {
    display: flex;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    line-height: 1;
}
.logo-w { color: var(--pink); }
.logo-o {
    color: var(--purple);
    display: inline-block;
    animation: bounce-o 2s ease-in-out infinite;
}
.logo-w2 { color: var(--blue); }
@keyframes bounce-o {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(8deg); }
}
.logo-sub {
    font-family: var(--font-script);
    color: var(--ink-soft);
    font-size: 1rem;
    margin-top: -4px;
    line-height: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-list a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 500;
    color: var(--ink);
    transition: all .25s;
    position: relative;
}
.nav-list a:hover {
    background: rgba(255, 0, 110, 0.08);
    color: var(--pink);
    transform: translateY(-2px);
}
.nav-list a.nav-cta {
    background: var(--rainbow);
    background-size: 200% 200%;
    color: white;
    padding: 10px 22px;
    animation: gradient-shift 4s ease infinite;
    box-shadow: 0 4px 14px rgba(255, 0, 110, 0.3);
}
.nav-list a.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 110, 0.5);
    color: white;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(131, 56, 236, 0.2);
    z-index: 210;
    position: relative;
}
.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--ink);
    border-radius: 4px;
    transition: .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--rainbow);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 8px 24px rgba(255, 0, 110, 0.35);
    animation: gradient-shift 5s ease infinite;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255, 0, 110, 0.5);
    color: white;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .5s, height .5s;
}
.btn-primary:hover::before { width: 400px; height: 400px; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    border: 2px solid rgba(131, 56, 236, 0.2);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    border-color: var(--purple);
    background: white;
    color: var(--purple);
    transform: translateY(-2px);
}
.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
}
.btn-sparkles {
    display: inline-block;
    animation: sparkle 1.5s ease-in-out infinite;
}
@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff8fc 0%, #fef0f8 100%);
    width: 100%;
    max-width: 100vw;
}
/* Sørg for at hero-visuelle elementer aldri går utenfor viewporten */
.hero-visual { max-width: 100%; }

.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: blob-float 18s ease-in-out infinite, blob-pulse 8s ease-in-out infinite alternate;
}
@keyframes blob-pulse {
    0% { opacity: 0.25; }
    100% { opacity: 0.55; }
}
.blob-1 {
    width: 500px; height: 500px;
    background: var(--pink);
    top: -150px; left: -100px;
}
.blob-2 {
    width: 450px; height: 450px;
    background: var(--yellow);
    top: 50%; right: -150px;
    animation-delay: -3s;
}
.blob-3 {
    width: 400px; height: 400px;
    background: var(--blue);
    bottom: -100px; left: 30%;
    animation-delay: -6s;
}
.blob-4 {
    width: 350px; height: 350px;
    background: var(--green);
    top: 20%; left: 50%;
    animation-delay: -9s;
}
@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, -60px) scale(1.1); }
    66% { transform: translate(-50px, 80px) scale(0.95); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-bottom: 24px;
    border: 1px solid rgba(131, 56, 236, 0.15);
    animation: fade-in-up .8s ease-out;
}
.hero-eyebrow .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}
.title-line {
    display: block;
    animation: fade-in-up .8s ease-out backwards;
}
.title-line:nth-child(1) { animation-delay: .1s; }
.title-line:nth-child(2) { animation-delay: .2s; }
.title-line:nth-child(3) { animation-delay: .3s; }
.title-line:nth-child(4) { animation-delay: .4s; }

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.rainbow-text {
    background: var(--rainbow);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: rainbow-flow 5s ease infinite;
    display: inline-block;
    /* Gi plass til descenders (g, y, p) som ellers blir kuttet */
    padding-bottom: 0.12em;
    line-height: 1.15;
    vertical-align: baseline;
}
@keyframes rainbow-flow {
    0%   { background-position: 0% 50%; filter: hue-rotate(0deg); }
    50%  { background-position: 100% 50%; filter: hue-rotate(15deg); }
    100% { background-position: 0% 50%; filter: hue-rotate(0deg); }
}

.wiggle { display: inline-flex; align-items: center; gap: 12px; }
.sparkle-emoji {
    display: inline-block;
    animation: wiggle 2s ease-in-out infinite;
}
@keyframes wiggle {
    0%, 100% { transform: rotate(-8deg) scale(1); }
    50% { transform: rotate(8deg) scale(1.15); }
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
    animation: fade-in-up .8s ease-out .5s backwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fade-in-up .8s ease-out .6s backwards;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fade-in-up .8s ease-out .7s backwards;
}
.hero-trust {
    margin-top: 24px;
    font-size: 0.88rem;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    animation: fade-in-up .8s ease-out .85s backwards;
}
.hero-trust span {
    color: var(--yellow);
    margin-right: 4px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 4px;
}

/* HERO IMAGE — sirkulær fotoramme med pulserende regnbue-glød */
.hero-visual {
    position: relative;
    animation: fade-in-up 1s ease-out .4s backwards;
}
.hero-image-wrap {
    position: relative;
    aspect-ratio: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 18px;
}
/* Outer animated rainbow glow ring */
.hero-image-bg {
    position: absolute;
    inset: -8px;
    background: conic-gradient(from 0deg,
        #ff006e, #fb5607, #ffbe0b, #06d6a0, #3a86ff, #8338ec, #ff4d8d, #ff006e);
    border-radius: 50%;
    animation: ring-spin 8s linear infinite, hero-bg-pulse 2.4s ease-in-out infinite alternate;
    filter: blur(10px);
    opacity: 0.9;
}
/* Second pulsing halo, slower */
.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.35) 0%, rgba(131, 56, 236, 0.2) 40%, transparent 70%);
    animation: halo-breathe 3.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes halo-breathe {
    0%, 100% { transform: scale(1); opacity: 0.55; }
    50%      { transform: scale(1.12); opacity: 0.9; }
}
@keyframes ring-spin {
    to { transform: rotate(360deg); }
}
@keyframes hero-bg-pulse {
    0%   { filter: blur(8px) brightness(0.95); transform: scale(1); }
    100% { filter: blur(20px) brightness(1.15); transform: scale(1.07); }
}
/* The image itself — perfect circle, smooth photo */
.hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 20px 60px rgba(131, 56, 236, 0.3);
    animation: gentle-float 4s ease-in-out infinite;
}
@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.floating-badge {
    position: absolute;
    z-index: 3;
    background: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(131, 56, 236, 0.2);
    font-size: 0.95rem;
    animation: badge-float 4s ease-in-out infinite, badge-glow 2.5s ease-in-out infinite alternate;
}
.badge-1 { top: 8%; left: -12%; color: var(--pink); animation-delay: 0s, 0s; }
.badge-2 { top: 42%; right: -16%; color: var(--purple); animation-delay: -1.3s, -.8s; }
.badge-3 { bottom: 12%; left: -4%; color: var(--blue); animation-delay: -2.6s, -1.6s; }
@keyframes badge-float {
    0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); }
    50%      { transform: translateY(-18px) rotate(4deg) scale(1.06); }
}
@keyframes badge-glow {
    0%   { box-shadow: 0 8px 24px rgba(131, 56, 236, 0.20); }
    100% { box-shadow: 0 14px 36px rgba(255, 0, 110, 0.40); }
}

/* Mer pust på tjenestekortene */
.service-card {
    animation: card-breathe 6s ease-in-out infinite;
}
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: -1.5s; }
.service-card:nth-child(3) { animation-delay: -3s; }
.service-card:nth-child(4) { animation-delay: -4.5s; }
@keyframes card-breathe {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* Lett vugging på galleri-bilder */
.gallery-item {
    animation: gallery-sway 7s ease-in-out infinite;
}
.gallery-item:nth-child(2n) { animation-delay: -2s; }
.gallery-item:nth-child(3n) { animation-delay: -4s; }
.gallery-item:nth-child(4n) { animation-delay: -6s; }
@keyframes gallery-sway {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-4px) rotate(0.4deg); }
}

/* Pulserende emoji i tjenester */
.service-emoji {
    animation: emoji-bob 3s ease-in-out infinite;
}
.service-card:nth-child(2) .service-emoji { animation-delay: -.7s; }
.service-card:nth-child(3) .service-emoji { animation-delay: -1.5s; }
.service-card:nth-child(4) .service-emoji { animation-delay: -2.2s; }
@keyframes emoji-bob {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-8px) rotate(3deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border: 2px solid rgba(131, 56, 236, 0.3);
    border-radius: 14px;
    z-index: 3;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--purple);
    border-radius: 2px;
    animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(18px); opacity: 0; }
}

/* ---------- WAVE DIVIDER ---------- */
.wave-divider {
    height: 80px;
    color: var(--bg-soft);
    margin-top: -1px;
}
.wave-divider svg { width: 100%; height: 100%; }

/* ---------- SECTIONS ---------- */
section { position: relative; z-index: 1; }

.section-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header.center { text-align: center; }
.section-header.center .section-lead { max-width: 640px; margin-left: auto; margin-right: auto; }

.section-eyebrow {
    font-family: var(--font-script);
    color: var(--pink);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
}
.section-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.section-lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.underline-wiggle {
    position: relative;
    display: inline-block;
    color: var(--purple);
}
.underline-wiggle::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -8px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M0,6 C25,12 50,0 75,6 C100,12 125,0 150,6 C175,12 200,0 200,6' stroke='%23ff006e' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* ---------- OM KAROLINE ---------- */
.om {
    padding: var(--section-y) 0;
    background: var(--bg-soft);
}
.om-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.om-text p { color: var(--ink-soft); margin-bottom: 18px; }
.om-lead { font-size: 1.2rem; color: var(--ink) !important; font-weight: 500; }

.om-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.tag {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(131, 56, 236, 0.08);
    transition: all .25s;
}
.tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--pink);
}

.om-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.polaroid {
    background: white;
    padding: 18px 18px 60px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    transition: transform .4s;
    max-width: 380px;
    position: relative;
}
.polaroid:hover { transform: rotate(-1deg) scale(1.02); }
.polaroid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 25%;
    background: var(--rainbow-soft);
    border-radius: 4px;
}
.polaroid-caption {
    position: absolute;
    bottom: 16px;
    left: 0; right: 0;
    text-align: center;
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--ink-soft);
}

.om-decoration { position: absolute; inset: -20px; pointer-events: none; }
.deco {
    position: absolute;
    font-size: 2.2rem;
    animation: gentle-spin 6s ease-in-out infinite;
}
.deco-1 { top: 5%; right: 5%; animation-delay: 0s; }
.deco-2 { bottom: 10%; left: -5%; animation-delay: -1.5s; font-size: 2.8rem; }
.deco-3 { top: 40%; right: -8%; animation-delay: -3s; }
.deco-4 { top: 25%; left: 0; animation-delay: -4.5s; font-size: 1.8rem; }
@keyframes gentle-spin {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(15deg) translateY(-12px); }
}

/* ---------- TJENESTER ---------- */
.tjenester {
    padding: var(--section-y) 0;
    background: var(--bg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .4s, box-shadow .4s;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(255, 255, 255, 1);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--card-color-1), var(--card-color-2));
    pointer-events: none;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
    opacity: 0.07;
    transition: transform .5s, opacity .4s;
    pointer-events: none;
}
/* Sørg for at alle interaktive elementer ligger over dekor */
.service-card > * {
    position: relative;
    z-index: 1;
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--card-color-1);
}
.service-card:hover::after {
    transform: scale(1.4);
    opacity: 0.15;
}

.service-emoji {
    font-size: 3rem;
    display: inline-block;
    margin-bottom: 20px;
    transition: transform .4s;
}
.service-card:hover .service-emoji {
    transform: scale(1.2) rotate(-10deg);
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--ink);
}
.service-card > p {
    color: var(--ink-soft);
    font-size: 0.97rem;
    margin-bottom: 18px;
    line-height: 1.65;
}

.service-features {
    margin-bottom: 24px;
}
.service-features li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.92rem;
    color: var(--ink-soft);
}
.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--card-color-1);
    font-weight: 700;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--card-color-1, var(--pink));
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap .3s;
}
.card-link:hover { gap: 12px; color: var(--card-color-2); }

/* ---------- GALLERI ---------- */
.galleri {
    padding: var(--section-y) 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 3/4;
    background: var(--rainbow-soft);
    box-shadow: var(--shadow-sm);
    transition: transform .4s, box-shadow .4s;
    cursor: pointer;
}
.gallery-item:nth-child(2n) { aspect-ratio: 4/5; }
.gallery-item:nth-child(3n) { aspect-ratio: 3/4; }
.gallery-item:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transform: translateY(100%);
    transition: transform .3s;
}
.gallery-item:hover figcaption { transform: translateY(0); }

.gallery-cta {
    text-align: center;
    font-size: 1.05rem;
    color: var(--ink-soft);
}
.gallery-cta a {
    font-weight: 600;
    color: var(--pink);
    border-bottom: 2px dotted var(--pink);
}

/* ---------- HVORFOR ---------- */
.hvorfor {
    padding: var(--section-y) 0;
    background: var(--bg-soft);
}
.hvorfor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.hvorfor-item {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform .4s, box-shadow .4s;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.hvorfor-item:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: var(--shadow-md);
}
.hvorfor-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform .4s;
}
.hvorfor-item:hover .hvorfor-icon {
    transform: scale(1.2) rotate(15deg);
}
.hvorfor-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.hvorfor-item p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ---------- SLIK FUNGERER DET ---------- */
.prosess {
    padding: var(--section-y) 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.prosess::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.12), transparent 70%);
    top: -200px; right: -200px;
    animation: glow-pulse 6s ease-in-out infinite alternate;
}
.prosess::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.12), transparent 70%);
    bottom: -150px; left: -150px;
    animation: glow-pulse 7s ease-in-out infinite alternate-reverse;
}
@keyframes glow-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; }
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
    list-style: none;
    position: relative;
    z-index: 1;
}
.step {
    background: white;
    padding: 32px 26px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform .4s, box-shadow .4s;
}
.step:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: var(--shadow-lg);
}
.step::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 6px;
    background: var(--rainbow);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    background: var(--rainbow);
    background-size: 200% 200%;
    border-radius: 50%;
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    animation: gradient-shift 6s ease infinite, step-pulse 3s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.25);
}
@keyframes step-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(255, 0, 110, 0.25); }
    50% { transform: scale(1.08); box-shadow: 0 12px 30px rgba(255, 0, 110, 0.45); }
}
.step:nth-child(2) .step-num { animation-delay: 0s, .3s; }
.step:nth-child(3) .step-num { animation-delay: 0s, .6s; }
.step:nth-child(4) .step-num { animation-delay: 0s, .9s; }

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.step p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: var(--section-y) 0;
    background: var(--bg-soft);
    position: relative;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial {
    background: white;
    border-radius: var(--radius-md);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .4s, box-shadow .4s;
}
.testimonial::before {
    content: '"';
    position: absolute;
    top: 8px; left: 16px;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--pink);
    opacity: 0.15;
}
.testimonial:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: var(--shadow-lg);
}
.testimonial:nth-child(2):hover { transform: translateY(-6px) rotate(1deg); }
.stars {
    color: #ffbe0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    animation: stars-shimmer 3s ease-in-out infinite;
}
@keyframes stars-shimmer {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
    50% { filter: brightness(1.2) drop-shadow(0 0 6px rgba(255, 190, 11, 0.6)); }
}
.testimonial blockquote {
    color: var(--ink);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 16px;
    font-style: italic;
}
.testimonial figcaption {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(131, 56, 236, 0.1);
    padding-top: 12px;
}
.testimonial figcaption strong {
    color: var(--ink);
    font-size: 0.95rem;
}
.testimonial figcaption span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
    padding: var(--section-y) 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.faq::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(131, 56, 236, 0.08), transparent 70%);
    top: -300px; left: -300px;
    animation: glow-pulse 9s ease-in-out infinite alternate;
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.faq-item {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
    border: 2px solid transparent;
}
.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 0, 110, 0.2);
}
.faq-item[open] {
    border-color: rgba(255, 0, 110, 0.3);
    box-shadow: var(--shadow-md);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--pink); }
.faq-icon {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--pink);
    transition: transform .3s ease;
    flex-shrink: 0;
    line-height: 1;
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 24px 22px;
    color: var(--ink-soft);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* ---------- BANNER ---------- */
.banner {
    padding: var(--section-y) 0;
    background: var(--rainbow);
    background-size: 300% 300%;
    animation: gradient-shift 12s ease infinite;
    position: relative;
    overflow: hidden;
}
.banner::before, .banner::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.banner::before { top: -100px; left: -100px; }
.banner::after { bottom: -100px; right: -100px; }

.banner-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.quote-mark {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    opacity: 0.5;
    display: block;
    margin-bottom: -20px;
}
.banner blockquote {
    font-family: var(--font-script);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 16px;
}
.quote-author {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ---------- KONTAKT ---------- */
.kontakt {
    padding: var(--section-y) 0;
    background: var(--bg);
}
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}
.kontakt-text p { color: var(--ink-soft); margin-bottom: 16px; }

.contact-methods {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-md);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    border: 2px solid transparent;
}
.contact-method:hover {
    transform: translateX(6px);
    border-color: var(--pink);
    color: var(--ink);
    box-shadow: var(--shadow-md);
}
.cm-icon {
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rainbow-soft);
    font-size: 1.4rem;
    color: var(--pink);
    flex-shrink: 0;
}
.cm-label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}
.cm-value {
    display: block;
    font-weight: 600;
}

/* FORM */
.kontakt-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.kontakt-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--rainbow);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}
.form-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.kontakt-form label {
    display: block;
    margin-bottom: 16px;
}
.kontakt-form label > span {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(131, 56, 236, 0.12);
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--ink);
    font-size: 1rem;
    transition: all .2s;
    font-family: inherit;
}
.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
    outline: none;
    border-color: var(--pink);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 0, 110, 0.1);
}
.kontakt-form textarea { resize: vertical; min-height: 120px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--muted);
}
.form-error {
    margin-top: 14px;
    padding: 12px 16px;
    background: #fff0f3;
    border: 1px solid #ffb3c1;
    color: #8b1538;
    border-radius: 12px;
    font-size: 0.92rem;
    text-align: center;
}

/* SUCCESS PANEL */
.form-success {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    text-align: center;
    animation: success-pop .6s cubic-bezier(.34, 1.56, .64, 1);
}
.form-success::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: var(--rainbow);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}
.form-success::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 0, 110, 0.06), transparent 70%);
    animation: success-glow 3s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes success-pop {
    0% { transform: scale(.8); opacity: 0; }
    60% { transform: scale(1.03); }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes success-glow {
    0% { opacity: .6; }
    100% { opacity: 1; }
}
.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: success-bounce 1.5s ease-in-out infinite;
    display: inline-block;
}
@keyframes success-bounce {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-10px) rotate(6deg); }
}
.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: var(--rainbow);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
    padding-bottom: 0.12em;
}
.form-success p {
    color: var(--ink-soft);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.success-hint {
    font-size: 0.88rem;
    color: var(--muted) !important;
    margin-bottom: 24px !important;
}
.form-success .btn {
    position: relative;
    z-index: 1;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--rainbow);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.footer-tag {
    font-family: var(--font-script);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}
.site-footer h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 14px;
}
.site-footer ul li {
    padding: 4px 0;
    font-size: 0.95rem;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color .2s;
}
.site-footer a:hover { color: var(--yellow); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.88rem;
}
.heart {
    color: var(--pink);
    animation: heart-beat 1.4s ease-in-out infinite;
    display: inline-block;
}
@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.15); }
}

/* ---------- BACK TO TOP ---------- */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; height: 50px;
    background: var(--rainbow);
    background-size: 200% 200%;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all .3s;
    z-index: 50;
    animation: gradient-shift 4s ease infinite;
}
.back-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.back-top:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ---------- REVEAL ANIMATIONS ---------- */
/* Default: visible (so content shows even without JS) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .8s ease-out, transform .8s ease-out;
}
/* JS adds .reveal-hidden first, then removes it when in view */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 400px; margin: 0 auto; }
    .om-grid { grid-template-columns: 1fr; gap: 50px; }
    .om-visual { order: -1; }
    .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    /* === MOBIL-OPTIMALISERING === */

    /* Enklere hero-bakgrunn: linear-gradient er mye lettere enn conic-gradient + blur */
    .hero-image-bg {
        background: linear-gradient(135deg, #ff006e, #ffbe0b, #06d6a0, #3a86ff, #8338ec);
        background-size: 250% 250%;
        filter: none;
        opacity: 0.8;
        animation: gradient-shift 6s ease infinite, mobile-bg-pulse 3s ease-in-out infinite alternate;
        inset: -4px;
    }
    @keyframes mobile-bg-pulse {
        0%   { opacity: 0.7; transform: scale(1); }
        100% { opacity: 0.95; transform: scale(1.03); }
    }

    /* Skru av tung halo på mobil */
    .hero-image-wrap::before { display: none; }

    /* Skru av tunge bakgrunnsblobs på mobil for jevnere scroll */
    .blob { animation: none; opacity: 0.25; filter: blur(40px); }

    /* Skru av cursor-glitter (touch-enheter trenger det ikke) */
    .cursor-canvas { display: none; }

    /* Færre flytende sparkles på mobil */
    .sparkle-bg .sparkle:nth-child(2n) { display: none; }

    /* Skru av kort- og galleri-pust på mobil (sparer CPU) */
    .service-card { animation: none; }
    .gallery-item { animation: none; }

    /* Enklere body-bakgrunn på mobil — ingen animert gradient */
    body {
        background: linear-gradient(180deg, #fff8fc 0%, #fef3f9 50%, #fff8fc 100%);
        animation: none;
    }

    /* Badges trenger ikke glow-animasjon på mobil, bare float */
    .floating-badge { animation: badge-float 4s ease-in-out infinite; }

    /* Flytt badges innenfor synlig område — ingen overflow */
    .floating-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    .badge-1 { top: 4%; left: 0; }
    .badge-2 { top: 45%; right: 0; }
    .badge-3 { bottom: 6%; left: 4%; }

    /* Hero-wrap skal ikke gå utenfor skjermen */
    .hero-image-wrap {
        max-width: min(320px, 80vw);
        padding: 10px;
    }

    .nav-toggle { display: flex; }
    .nav-list {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 20px;
        gap: 4px;
        transition: right .3s;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }
    .nav-list.open { right: 0; }
    .nav-list li { width: 100%; }
    .nav-list a {
        width: 100%;
        padding: 14px 16px;
        font-size: 1.05rem;
    }
    .nav-list a.nav-cta { justify-content: center; margin-top: 8px; }

    .hero { padding-top: 100px; min-height: auto; }
    .hero-title { font-size: 2.4rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stat-num { font-size: 1.7rem; }

    .form-row { grid-template-columns: 1fr; }
    .kontakt-form { padding: 28px 22px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .floating-badge { font-size: 0.8rem; padding: 6px 12px; }

    .back-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .polaroid { max-width: 280px; }
}

/* ---------- PRINT ---------- */
@media print {
    .sparkle-bg, .cursor-canvas, .back-top, .nav-toggle, .hero-blobs { display: none; }
    body { background: white; color: black; }
    .reveal { opacity: 1; transform: none; }
}