/* =============================================================
   bedriftside.no — Komplett optimalisert CSS
   Tema: Premium norsk håndverk / Modern SaaS
   Skrift: Plus Jakarta Sans + Caveat (signatur)
   ============================================================= */

/* === VARIABLER === */
:root {
    --primary:        #4F46E5;
    --primary-hover:  #4338CA;
    --primary-light:  #EEF2FF;
    --primary-glow:   rgba(79, 70, 229, 0.15);

    --accent-green:   #10B981;
    --accent-red:     #EF4444;

    --bg-body:        #F8FAFC;
    --bg-white:       #FFFFFF;

    --text-main:      #0F172A;
    --text-muted:     #64748B;

    --border:         #E2E8F0;

    --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 30px rgba(0,0,0,0.07), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-xl:  0 20px 40px rgba(79,70,229,0.10), 0 8px 16px rgba(79,70,229,0.06);

    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-pill:99px;

    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-sign: 'Caveat', cursive;

    --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background: var(--bg-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-main); cursor: pointer; }

/* === HJELPEKLASSER === */
.container   { max-width: 1150px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-indigo { color: var(--primary); }
.text-green  { color: var(--accent-green); }
.w-full      { width: 100%; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === TYPOGRAFI === */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

.section-title          { margin-bottom: 3.5rem; }
.section-title h2       { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.9rem; }
.section-title p        { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* === KNAPPER === */
.btn-primary-large,
.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn-primary-large {
    padding: 0.95rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}

.btn-primary-pill {
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
}

.btn-primary-large:hover,
.btn-primary-pill:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,70,229,0.4);
    color: #fff;
}

.btn-outline-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    background: transparent;
    border: 2px solid var(--border);
    text-decoration: none;
    transition: all var(--transition);
}

.btn-outline-large:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* === NAVIGASJON === */
.modern-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link { display: flex; align-items: center; text-decoration: none; }
.b-logo-img { height: 28px; width: auto; display: block; transition: transform var(--transition); }
.logo-link:hover .b-logo-img { transform: translateY(-2px); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn-primary-pill) {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--transition);
}
.nav-links a:not(.btn-primary-pill):hover { color: var(--primary); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px; height: 20px;
    background: transparent;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 10002;
}

.hamburger .bar {
    width: 100%; height: 2.5px;
    background: var(--text-main);
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.68,-0.55,0.265,1.55), opacity 0.3s ease;
    transform-origin: center;
}

/* === HERO === */
.modern-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(140deg, #EEF2FF 0%, #FAFBFF 55%, #F0FDF4 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 1.4rem;
    line-height: 1.1;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.75;
}

.hero-cta-group { margin-bottom: 0; }

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 1.8rem;
}

.hero-features span { display: flex; align-items: center; gap: 6px; }

/* Geometriske dekorasjoner */
.geo-shape { position: absolute; pointer-events: none; }

.geo-circle {
    width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 70%);
    top: -80px; right: -60px;
    animation: float-slow 9s ease-in-out infinite;
}

.geo-grid {
    width: 160px; height: 160px;
    background-image: radial-gradient(var(--primary) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    opacity: 0.12;
    bottom: 15%; left: 3%;
    animation: float-slow 12s ease-in-out infinite reverse;
}

.geo-cross {
    width: 36px; height: 36px;
    top: 18%; left: 44%;
    opacity: 0.18;
    animation: spin-slow 18s linear infinite;
}
.geo-cross::before,
.geo-cross::after { content:''; position:absolute; background:var(--primary); border-radius:3px; }
.geo-cross::before { width:100%; height:5px; top:15px; left:0; }
.geo-cross::after  { height:100%; width:5px; left:15px; top:0; }

.geo-ring {
    width: 260px; height: 260px;
    border: 2px solid rgba(79,70,229,0.08);
    border-radius: 50%;
    top: 8%; left: -110px;
}

@keyframes float-slow {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-22px) rotate(4deg); }
}
@keyframes spin-slow { 100% { transform: rotate(360deg); } }
@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* Browser mockup */
.hero-visual { position: relative; }

.browser-mockup {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

/* Skjul browser-header med mac-prikker */
.browser-header { display: none; }
.dot { display: none; }

.mockup-img {
    width: 100%;
    display: block;
    max-height: 340px;
    object-fit: cover;
    object-position: top;
}

.floating-notification {
    position: absolute;
    bottom: 18px; left: 18px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
    max-width: calc(100% - 36px);
}

.notif-icon {
    width: 38px; height: 38px;
    background: #D1FAE5;
    color: var(--accent-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.notif-text strong { display: block; font-size: 0.85rem; color: var(--text-main); }
.notif-text span   { font-size: 0.75rem; color: var(--text-muted); }

/* Prisbokser under mockup */
.hero-price-boxes {
    display: flex;
    gap: 14px;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.price-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 140px;
}

.pb-title { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }

.pb-price-split {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.currency-liten { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }
.amount-liten   { font-size: 1.2rem; font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }
.period-liten   { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* === PRISER === */
.modern-pricing {
    padding: 3rem 0 6rem;
    background: #fff;
    position: relative;
}

.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hosting-card     { background: var(--bg-body); }
.establishment-card { border: 2px solid var(--primary); box-shadow: var(--shadow-xl); }
.google-card        { border: 2px solid var(--accent-green); box-shadow: 0 10px 30px rgba(16,185,129,0.10); }

.p-badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem; font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.offer-badge {
    background: var(--accent-red);
    box-shadow: 0 4px 10px rgba(239,68,68,0.3);
    top: -15px;
}

.p-card-header {
    text-align: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
}
.p-card-header h3    { font-size: 1.35rem; margin-bottom: 5px; }
.p-card-header p     { color: var(--text-muted); font-size: 0.875rem; }

.offer-card .p-card-header h3 { margin-top: 1.2rem; }

.p-card-price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 8px;
}
.p-card-price .currency { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); margin-top: 6px; margin-right: 4px; }
.p-card-price .amount   { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -1.5px; }
.p-card-price .period   { color: var(--text-muted); font-weight: 500; align-self: flex-end; margin-bottom: 6px; margin-left: 4px; }

/* Tilbudspris */
.offer-price-wrap  { display: flex; flex-direction: column; align-items: center; margin-bottom: 8px; }
.old-price         { font-size: 0.95rem; color: var(--text-muted); text-decoration: line-through; font-weight: 600; margin-bottom: -4px; }
.new-price         { display: flex; align-items: flex-start; color: var(--accent-red); }
.new-price .currency { font-size: 1.1rem; font-weight: 700; margin-top: 6px; margin-right: 4px; }
.new-price .amount   { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -1.5px; }

.p-card-monthly {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.7rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
    text-align: center;
}

.urgency-box {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px dashed #FCA5A5;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.p-features { margin-bottom: 2rem; }
.p-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.p-features li .text-green { flex-shrink: 0; margin-top: 2px; }

/* Tilbudsknapp */
.btn-offer {
    background: var(--accent-red);
    box-shadow: 0 4px 14px rgba(239,68,68,0.3);
}
.btn-offer:hover {
    background: #DC2626;
    box-shadow: 0 8px 24px rgba(239,68,68,0.4);
}

/* === GARANTIBANNER === */
.trust-banner-section {
    padding: 0 0 5rem;
    background: #fff;
}

.trust-flex-box {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: #fff;
    padding: 2.5rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-left: 6px solid var(--accent-green);
    max-width: 920px;
    margin: 0 auto;
}

.trust-icon-large {
    font-size: 3rem;
    color: var(--accent-green);
    background: #D1FAE5;
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-content h3  { font-size: 1.45rem; margin-bottom: 0.6rem; }
.trust-content p   { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* === TJENESTER === */
.modern-features { padding: 5rem 0; background: var(--bg-body); }

.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.f-icon-box {
    width: 56px; height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.feature-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* === OM MEG === */
.modern-about { padding: 5.5rem 0; background: #fff; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.img-container { position: relative; }
.img-container img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

.experience-tag {
    position: absolute; bottom: 28px; right: -28px;
    background: #fff;
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.sub-label {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.9rem;
}

.about-text-col h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin-bottom: 1.4rem; }
.about-text-col p  { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.4rem; line-height: 1.75; }

.founder-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.actual-signature {
    font-family: var(--font-sign);
    font-size: 2.6rem;
    color: var(--primary);
    line-height: 0.85;
    transform: rotate(-4deg);
    display: inline-block;
}

.signature-title { font-weight: 600; font-size: 0.9rem; color: var(--text-muted); }

/* === KONTAKT === */
.modern-contact { padding: 5.5rem 0 3rem; background: var(--bg-body); }

.contact-box {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
}

.c-info {
    background: var(--primary-light);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.c-info h3    { font-size: 1.6rem; margin-bottom: 0.8rem; color: var(--primary); }
.c-info p     { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

.c-methods { display: flex; flex-direction: column; gap: 1.25rem; }
.c-link {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--text-main);
    font-weight: 600; font-size: 0.9rem;
    transition: color var(--transition);
}
.c-link:hover { color: var(--primary); }
.c-icon {
    width: 38px; height: 38px;
    background: #fff; color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.c-form-wrap { padding: 3.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 0; }

.input-wrap { margin-bottom: 1.25rem; }
.input-wrap label {
    display: block;
    font-weight: 700;
    font-size: 0.83rem;
    margin-bottom: 0.45rem;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.input-wrap input,
.input-wrap textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-body);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.input-wrap input:focus,
.input-wrap textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.input-wrap textarea { resize: vertical; min-height: 110px; }

.form-status {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    display: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.form-status.success { display: block; background: #D1FAE5; color: #065F46; }
.form-status.error   { display: block; background: #FEE2E2; color: #991B1B; }

/* === REFERANSER === */
.modern-testimonials { padding: 5.5rem 0; background: var(--bg-body); }

.testimonial-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    padding: 0;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.t-image-wrap {
    width: 100%; height: 220px;
    background: var(--primary-light);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.t-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.testimonial-card:hover .t-image-wrap img { transform: scale(1.04); }
.contact-list a {
    color: #94A3B8;
    text-decoration: none;
    transition: color var(--transition);
}
.contact-list a:hover {
    color: #fff;
}
.t-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.t-quote {
    font-size: 1rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.75;
    flex-grow: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    margin-top: auto;
}

.t-avatar {
    width: 44px; height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.t-info strong { display: block; color: var(--text-main); font-size: 0.9rem; }
.t-info span   { color: var(--text-muted); font-size: 0.8rem; }

.ref-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
    transition: gap var(--transition);
}
.ref-link:hover { gap: 12px; text-decoration: underline; }

/* === FAQ === */
.modern-faq { padding: 4rem 0 7rem; background: var(--bg-body); }

.sm-container { max-width: 780px; margin: 0 auto; }

.faq-accordion { display: flex; flex-direction: column; gap: 0.9rem; }

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.faq-toggle {
    width: 100%; text-align: left;
    background: none; border: none;
    padding: 1.25rem 1.75rem;
    font-size: 1rem; font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-main);
    transition: color var(--transition);
    gap: 1rem;
}

.faq-toggle:hover { color: var(--primary); }
.faq-toggle i     { color: var(--text-muted); transition: transform 0.3s ease, color var(--transition); flex-shrink: 0; }
.faq-item.active .faq-toggle,
.faq-item.active .faq-toggle i { color: var(--primary); }
.faq-item.active .faq-toggle i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 1.75rem;
}

.faq-item.active .faq-answer { padding-bottom: 1.4rem; }
.faq-answer p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* === URGENCY ANIMASJON === */
.ticker-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ticker-text.fade-out {
    opacity: 0;
    transform: translateY(-5px);
}

/* === MEGA FOOTER === */
.mega-footer {
    background: #0F172A;
    color: #F8FAFC;
    padding: 5rem 0 2.5rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo-img { height: 26px; width: auto; }
.footer-brand-col .logo-link { margin-bottom: 1.5rem; display: inline-flex; }

.footer-desc {
    color: #94A3B8;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 320px;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff; text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}
.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(79,70,229,0.3);
}

.footer-links-col h4,
.footer-contact-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.footer-links-col ul { padding: 0; }
.footer-links-col li { margin-bottom: 0.75rem; }
.footer-links-col a {
    color: #94A3B8; text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition);
}
.footer-links-col a:hover { color: #fff; }

.contact-list { padding: 0; }
.contact-list li {
    color: #94A3B8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-list i { color: #818CF8; font-size: 1rem; width: 18px; text-align: center; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 0.85rem;
}

.legal-links { display: flex; gap: 2rem; align-items: center; }
.legal-links a,
.cookie-btn-dark {
    color: #94A3B8; text-decoration: none;
    background: none; border: none;
    font-family: var(--font-main);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color var(--transition);
}
.legal-links a:hover,
.cookie-btn-dark:hover { color: #fff; }

/* === COOKIE BANNER === */
.modern-cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(160%);
    width: calc(100% - 2rem);
    max-width: 780px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(15,23,42,0.18);
    border: 1px solid var(--border);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.modern-cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-banner-inner {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-text h3 { font-size: 1rem; color: var(--text-main); margin-bottom: 0.4rem; }
.cookie-text p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 0.4rem; }
.cookie-link    { font-size: 0.85rem; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.cookie-actions { display: flex; gap: 0.75rem; width: 100%; }

.btn-cookie {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    border: 2px solid;
}

.btn-cookie-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-main);
}
.btn-cookie-outline:hover { background: var(--bg-body); border-color: var(--text-muted); }

.btn-cookie-solid {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-cookie-solid:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

/* === PERSONVERN PAGE === */
.legal-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.legal-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.legal-header p  { color: var(--text-muted); font-size: 1.05rem; }

.legal-content { padding: 4rem 0 8rem; max-width: 800px; margin: 0 auto; }

.legal-section {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
.legal-section h2 { font-size: 1.4rem; margin-bottom: 1.25rem; color: var(--primary); }
.legal-section p  { margin-bottom: 0.9rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.legal-section ul { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.legal-section li { margin-bottom: 0.45rem; color: var(--text-muted); font-size: 0.95rem; }

.contact-box-legal {
    background: var(--bg-body);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    margin-top: 0.9rem;
    border: 1px solid var(--border);
}
.contact-box-legal p { margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }

/* === HAMBURGER MOBILE NAV === */
@media (max-width: 768px) {
    .hamburger { display: flex; position: relative; z-index: 10002; }

    .modern-nav {
        background: #fff;
        z-index: 10000 !important;
        position: fixed !important;
        top: 0; left: 0;
        width: 100%;
    }

    .logo-link { position: relative; z-index: 10002 !important; }

    .nav-links {
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 100vw !important;
        height: auto !important;
        background: rgba(255,255,255,0.97) !important;
        backdrop-filter: blur(14px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.10);
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 88px 2rem 2.5rem !important;
        border-bottom-left-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg);
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a:not(.btn-primary-pill) {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text-main);
        width: 100%;
        padding: 1.1rem 0;
        border-bottom: 1px solid var(--border);
        opacity: 0;
        transform: translateY(18px);
        transition: all 0.4s ease-out;
    }

    .nav-links a:nth-last-child(2) { border-bottom: none; }

    .nav-links .btn-primary-pill {
        font-size: 1rem;
        padding: 1rem;
        margin-top: 0.9rem;
        width: 100%;
        border-radius: var(--radius-md);
        text-align: center;
        justify-content: center;
        opacity: 0;
        transform: translateY(18px);
        transition: all 0.4s ease-out;
    }

    .nav-links.active a { opacity: 1; transform: translateY(0); }
    .nav-links.active a:nth-child(1) { transition-delay: 0.08s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.13s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.18s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.23s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.28s; }

    .hamburger.active .bar:nth-child(1) { transform: translateY(8.75px) rotate(45deg); background: var(--primary); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); background: var(--primary); }
}

/* === RESPONSIVITET === */
@media (max-width: 1024px) {
    .pricing-grid-3  { grid-template-columns: 1fr; max-width: 480px; }
    .footer-grid     { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 992px) {
    .hero-grid,
    .about-grid,
    .contact-box   { grid-template-columns: 1fr; gap: 2.5rem; }
    .feature-grid-3 { grid-template-columns: 1fr 1fr; }
    .testimonial-grid-2 { grid-template-columns: 1fr; }
    .experience-tag { right: 1rem; }
    .c-info, .c-form-wrap { padding: 2.5rem; }

    .pricing-grid-3 {
        display: flex !important;
        flex-direction: column;
    }
    .establishment-card { order: 1; }
    .hosting-card       { order: 2; }
    .google-card        { order: 3; }
}

@media (max-width: 768px) {
    /* MER LUFT I TOPPEN */
    .modern-hero { padding: 130px 0 2rem !important; text-align: center; }

    /* FÅR TILBAKE DEN SNURRENDE STJERNEN (.geo-cross beholdes) */
    .geo-circle, .geo-grid, .geo-ring { display: none; }
    .geo-cross { 
        display: block; 
        top: 8%; 
        left: 82%; 
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content, .hero-cta-group, .hero-visual { display: contents; }

    /* MANNEN OPP PÅ FØRSTE SIDEN VED Å ENDRE ORDER */
    .hero-grid h1 {
        order: 1;
        font-size: clamp(1.9rem, 7vw, 2.6rem) !important;
        margin-bottom: 0.4rem !important;
    }
    .hero-lead {
        order: 2;
        font-size: 0.95rem !important;
        margin: 0 auto 1.5rem !important;
        line-height: 1.55 !important;
    }

    /* Knappen rett under lead-teksten (order 3) - FULL BREDDE */
    .btn-primary-large {
        order: 3;
        display: flex !important;
        width: 100% !important;
        margin: 0 0 1.2rem 0 !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        box-sizing: border-box;
    }

    /* Prisboksene under knappen (order 4) */
    .hero-price-boxes {
        order: 4;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100%;
    }

    /* Checkmarks tett under prisene (order 5) */
    .hero-features {
        order: 5;
        margin-top: -0.4rem !important;
        margin-bottom: 1.5rem !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 0.2rem !important;
        width: 100%;
        font-size: 0.75rem !important;
    }

    /* Bildet flyttes helt nederst (order 6) */
    .browser-mockup { 
        order: 6; 
        width: 100%; 
        margin-bottom: 0; 
    }
    .hero-features span { white-space: nowrap; }

   
    /* 1. FIKS FOR 100% FORNØYDGARANTI */
    /* Stabler ikonet over teksten og sentrerer i stedet for å skvise dem */
    .trust-flex-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        border-left: none; /* Fjerner den grønne streken på siden... */
        border-top: 6px solid var(--accent-green); /* ...og legger den på toppen i stedet */
    }
   /* === 4. KONTAKTSKJEMA === */
    .contact-box { 
        width: 100%; 
        max-width: 100%; 
        overflow: hidden; /* Hindrer boksen i å presses ut av skjermen */
    }
    .c-form-wrap, .c-info { 
        padding: 2rem 1.2rem !important; 
        width: 100%; 
        box-sizing: border-box; /* Tvinger luften til å holde seg på innsiden */
    }
    .form-row { 
        grid-template-columns: 1fr; 
        gap: 0; 
        width: 100%; 
    }
    .input-wrap {
        width: 100%;
    }
    
    /* 2. FIKS FOR SIGNATUREN */
    /* Stabler "Ola Lunden" og tittelen over hverandre i stedet for side om side */
    .founder-signature {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* 3. FIKS FOR KONTAKTSKJEMA */
    /* Tvinger inputs (navn, epost osv) til å bruke 1 hel kolonne i stedet for 2 */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0; 
    }

    /* 4. FIKS FOR FOOTER LOGO */
    /* Hindrer nettleseren i å dra bildet ut av proporsjoner */
    .footer-logo-img {
        width: auto !important;
        height: 30px !important;
        object-fit: contain;
    }

    /* GOOGLE KORT LIKE STORT SOM DE ANDRE PÅ MOBIL */
    .pricing-card { width: 100%; }

    /* --- Resten av din eksisterende mobil-CSS under her --- */
    .feature-grid-3 { grid-template-columns: 1fr; }
    /* ... */
}