/* ============================================================
   Hos Linda — premium frisørsalong i Arendal
   Warm editorial · beige, sand, krem, gull
   ============================================================ */

:root {
  /* Palette */
  --cream:      #FAF7F2;
  --paper:      #F4EDE2;
  --sand:       #E7D6BF;
  --sand-deep:  #D9C3A9;
  --rose:       #E8D5C4;
  --taupe:      #8B7355;
  --gold:       #B89968;
  --gold-deep:  #9A7E50;
  --ink:        #2D2620;
  --ink-soft:   #4A3F35;
  --muted:      #8A817A;
  --surface:    #FFFFFF;
  --line:       rgba(45, 38, 32, 0.10);
  --shadow-sm:  0 1px 2px rgba(45, 38, 32, 0.06), 0 2px 8px rgba(45, 38, 32, 0.04);
  --shadow-md:  0 6px 24px rgba(45, 38, 32, 0.10), 0 2px 6px rgba(45, 38, 32, 0.05);
  --shadow-lg:  0 20px 48px rgba(45, 38, 32, 0.14);

  /* Type */
  --serif: "Cormorant Garamond", "GT Sectra", "Times New Roman", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 360ms;
}

/* ============================================================ Base */
*, *::before, *::after { box-sizing: border-box; }
/* hidden-attributtet må slå ut display: flex/grid fra CSS */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.kicker {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
  font-weight: 500;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--ink); color: var(--cream);
  padding: .75rem 1rem; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* ============================================================ Focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 .95rem/1 var(--sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1.05rem; font-size: .85rem; }

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--gold-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }

/* Hero-knapper: lys ghost-variant siden bakgrunnen er mørk */
.hero .btn--primary { background: var(--gold); color: var(--ink); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.hero .btn--primary:hover { background: var(--gold-deep); color: var(--cream); }
.hero .btn--ghost { color: var(--cream); border-color: rgba(250, 247, 242, 0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero .btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ============================================================ Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background var(--t-med);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 242, 0.92);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}
.nav__logo {
  display: inline-flex; align-items: center; gap: .75rem;
  text-decoration: none;
}
.nav__logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.nav__logo-text {
  font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--ink);
  display: flex; flex-direction: column; gap: 2px;
}
.nav__logo-text small {
  font-family: var(--sans);
  font-size: .7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  color: var(--ink-soft); text-decoration: none; font-size: .95rem;
  position: relative; padding: .3rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { padding: .65rem 1.3rem; font-size: .9rem; }

.nav__toggle {
  display: none;
  border: none; background: transparent; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.mobile-menu {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem 24px 2rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-menu a { color: var(--ink); text-decoration: none; font-size: 1.05rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: .5rem; align-self: flex-start; }

/* ============================================================ Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  padding: 4rem 0 5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    /* sterk venstre-til-høyre mørke under teksten */
    linear-gradient(95deg, rgba(28, 22, 16, 0.78) 0%, rgba(28, 22, 16, 0.55) 35%, rgba(28, 22, 16, 0.15) 70%, rgba(28, 22, 16, 0) 100%),
    /* lett mørke generelt + mykt fade mot bunnen for trust-strip-en */
    linear-gradient(180deg, rgba(28, 22, 16, 0.20) 0%, rgba(28, 22, 16, 0.10) 50%, rgba(250, 247, 242, 0.55) 100%);
}
.hero__content { max-width: 760px; padding-top: 3rem; position: relative; z-index: 2; }
.hero__content h1 {
  margin-top: .8rem;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hero__content .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(250, 247, 242, 0.92);
  max-width: 56ch;
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hero__content .eyebrow {
  color: #E8C892;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 0; }

/* ============================================================ Besøk-strip (screen 2) */
.visit {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.visit__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 2rem;
  padding: 1.8rem 24px;
  align-items: start;
}
.visit__item { display: grid; gap: .2rem; min-width: 0; }
.visit__lbl {
  font-size: .72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.visit__item a, .visit__item > span:last-child {
  font-family: var(--serif); font-size: 1.1rem; color: var(--ink); text-decoration: none;
}
.visit__item a { border-bottom: 1px solid var(--gold); padding-bottom: 1px; transition: color var(--t-fast); }
.visit__item a:hover { color: var(--gold-deep); }
.visit__stars { color: var(--gold); letter-spacing: 1px; margin-right: .25rem; }
@media (max-width: 760px) {
  .visit__inner { grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
}

/* ============================================================ Section base */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section__head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section__head .kicker { margin-bottom: 1rem; }
.section__sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ============================================================ Om Linda */
.section--om { background: var(--cream); }
.grid--om { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.om__media { position: relative; }
.om__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.om__badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--gold);
  color: var(--cream);
  font-family: var(--serif); font-style: italic;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
}

.om__text blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--taupe);
  border-left: 2px solid var(--gold);
  padding: .6rem 0 .6rem 1.4rem;
  margin: 1.6rem 0;
  line-height: 1.4;
}
.om__list {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; gap: .7rem;
}
.om__list li {
  position: relative; padding-left: 1.7rem;
  color: var(--ink-soft);
}
.om__list li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}

/* ============================================================ Services */
.section--tjenester { background: var(--paper); }

.categories {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: .9rem;
}

.service-cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.service-cat[open] {
  border-color: rgba(184, 153, 104, 0.4);
  box-shadow: var(--shadow-md);
}
.service-cat summary {
  list-style: none; cursor: pointer; outline: none;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 1.6rem;
  user-select: none;
  transition: background var(--t-fast);
}
.service-cat summary::-webkit-details-marker { display: none; }
.service-cat summary:hover { background: rgba(184, 153, 104, 0.06); }
.service-cat[open] summary { border-bottom: 1px solid var(--line); }

.cat-name {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  color: var(--ink);
  font-weight: 500;
  flex: 1;
}
.cat-meta {
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.cat-icon {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast);
}
.cat-icon::before, .cat-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--gold-deep);
  transition: opacity var(--t-fast);
}
.cat-icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.cat-icon::after  { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.service-cat[open] .cat-icon { background: var(--gold); transform: rotate(180deg); }
.service-cat[open] .cat-icon::after { opacity: 0; }
.service-cat[open] .cat-icon::before { background: var(--cream); }

.cat-body {
  padding: .4rem .6rem 1rem;
  animation: catFade var(--t-med) var(--ease);
}
@keyframes catFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.service-row + .service-row { border-top: 1px dashed var(--line); }
.service-row:hover { background: rgba(184, 153, 104, 0.06); }
.service-row__main h3 {
  margin: 0 0 .25rem;
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.service-row__main p {
  margin: 0;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 52ch;
}
.service-row__end {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: .55rem; white-space: nowrap;
}
.price {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
}

.services__note {
  margin-top: 2.5rem; text-align: center; color: var(--ink-soft);
}
.services__note a { color: var(--gold-deep); }

@media (max-width: 560px) {
  .service-cat summary { padding: 1.1rem 1.2rem; gap: .8rem; }
  .cat-meta { display: none; }
  .service-row {
    grid-template-columns: 1fr;
    gap: .7rem;
    padding: .9rem .8rem;
  }
  .service-row__end {
    flex-direction: row; align-items: center; justify-content: space-between;
  }
}

/* ============================================================ Omtaler */
.section--omtaler { background: var(--cream); }
.rating { display: inline-flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.rating__score { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.5rem); color: var(--ink); line-height: 1; }
.rating__stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 2px; }
.rating__meta { color: var(--muted); font-size: .9rem; }

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem .5rem 1.5rem;
  margin: 0 -.5rem;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 calc((100% - 2.8rem) / 3);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--gold); letter-spacing: 2px; }
.review p {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
  flex: 1;
}
.review footer {
  border-top: 1px solid var(--line);
  padding-top: .9rem;
  font-size: .85rem;
}
.review footer strong { display: block; color: var(--ink); font-weight: 500; }
.review footer span { color: var(--muted); }

.carousel__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1rem;
}
.carousel__btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 1.3rem; cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.carousel__btn:hover { background: var(--paper); transform: translateY(-1px); }
.carousel__dots { display: flex; gap: .5rem; }
.carousel__dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: none; background: var(--line); cursor: pointer; padding: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}
.carousel__dot.is-active { background: var(--gold); transform: scale(1.4); }

.omtaler__cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================ Galleri */
.section--galleri { background: var(--paper); }
.gallery {
  columns: 4 220px;
  column-gap: 1rem;
}
.gallery figure {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.gallery figure:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gallery img { width: 100%; display: block; transition: transform 600ms var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(45, 38, 32, 0.88);
  display: grid; place-items: center;
  padding: 24px;
}
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: 16px; right: 20px;
  background: transparent; border: none; color: var(--cream); font-size: 2.5rem; cursor: pointer;
  width: 44px; height: 44px;
  line-height: 1;
}

/* ============================================================ Booking */
.section--booking { background: var(--cream); }
.booking {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 2rem);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.booking iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  min-height: 600px;
}
.booking__fallback {
  text-align: center; color: var(--muted); font-size: .9rem;
  margin: 1.2rem 0 0;
}
.booking__fallback a { color: var(--gold-deep); }

/* Fallback-CTA vises bare hvis Timma blokkerer iframe-embed (JS toggler 'is-active') */
.booking__cta-fallback { display: none; text-align: center; padding: 3rem 1.5rem; }
.booking__cta-fallback.is-active { display: block; }
.booking__cta-fallback h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.booking__cta-fallback p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 1.5rem; }
.booking.is-fallback iframe { display: none; }

/* ============================================================ FAQ */
.section--faq { background: var(--paper); }
.grid--faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin-bottom: .8rem;
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.faq details[open] {
  box-shadow: var(--shadow-sm);
  border-color: rgba(184, 153, 104, 0.4);
}
.faq summary {
  cursor: pointer; list-style: none; outline: none;
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.6rem; color: var(--gold-deep);
  transition: transform var(--t-fast);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 1rem 0 0; color: var(--ink-soft); font-size: .98rem;
}


/* ============================================================ Kontakt + kart */
.section--kontakt { background: var(--paper); }
.grid--kontakt { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 4vw, 4rem); align-items: stretch; }
.kontakt__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.kontakt__list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; font-size: 1rem; }
.kontakt__lbl { color: var(--muted); font-size: .82rem; letter-spacing: 0.14em; text-transform: uppercase; padding-top: .15em; }
.kontakt__list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.kontakt__list a:hover { color: var(--gold-deep); }

.contact-form {
  display: grid; gap: .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
.contact-form label {
  display: grid; gap: .35rem; font-size: .85rem; color: var(--ink-soft); letter-spacing: 0.04em;
}
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); background: var(--surface);
}
.contact-form .consent {
  flex-direction: row; align-items: flex-start; gap: .6rem;
  display: flex; font-size: .85rem; color: var(--ink-soft);
}
.contact-form .consent input { width: 18px; height: 18px; margin-top: 2px; }
.contact-form button { justify-self: start; margin-top: .4rem; }
.form-status { font-size: .85rem; min-height: 1.2em; margin: .2rem 0 0; color: var(--gold-deep); }

.kontakt__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.kontakt__map iframe { display: block; width: 100%; height: 100%; min-height: 460px; }

/* ============================================================ Footer */
.footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.78);
  padding: 4rem 0 2rem;
  margin-top: 0;
}
.footer .nav__logo-text { color: var(--cream); }
.footer .nav__logo-text small { color: rgba(250, 247, 242, 0.55); }
.footer__inner {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 247, 242, 0.10);
}
.footer__brand p { margin-top: 1rem; max-width: 32ch; color: rgba(250, 247, 242, 0.6); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h4 { color: var(--cream); font-size: 1rem; margin: 0 0 1rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0.04em; }
.footer__cols a {
  display: block; color: rgba(250, 247, 242, 0.62);
  text-decoration: none; padding: .25rem 0; font-size: .92rem;
  transition: color var(--t-fast);
}
.footer__cols a:hover { color: var(--gold); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem;
  font-size: .82rem; color: rgba(250, 247, 242, 0.4); flex-wrap: wrap;
}
.footer__legal a { color: rgba(250, 247, 242, 0.7); text-decoration: none; }
.footer__legal a:hover { color: var(--gold); }

/* ============================================================ Floating CTA */
.floating-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--gold);
  color: var(--cream);
  padding: 1rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font: 500 .95rem/1 var(--sans);
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--t-med), transform var(--t-med);
}
.floating-cta.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.floating-cta:hover { background: var(--gold-deep); }

/* ============================================================ Cookie banner */
.cookie {
  position: fixed; right: 18px; bottom: 18px; left: auto; z-index: 70;
  width: min(420px, calc(100% - 36px));
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.4rem;
  display: grid; gap: .8rem;
  animation: cookieSlideIn 420ms var(--ease);
}
@keyframes cookieSlideIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie p { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.cookie__actions { display: flex; gap: .6rem; justify-content: flex-end; }

/* Innhold er synlig når det treffer viewport — ingen scroll-reveal.
   Vi beholder .reveal-klassen som markup-krok for evt. senere bruk, men den gjør ingenting visuelt. */
.reveal { opacity: 1; transform: none; }

/* ============================================================ Mobile */
@media (max-width: 960px) {
  .grid--om, .grid--faq, .grid--kontakt { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .review { flex-basis: 85%; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .om__media img { aspect-ratio: 3 / 4; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero { min-height: 70vh; padding: 2.5rem 0 4rem; }
  .hero__cta .btn { flex: 1; }
  .trust__inner { grid-template-columns: 1fr 1fr; gap: 1.2rem; padding: 1.5rem 24px; }
  .footer__cols { grid-template-columns: 1fr; }
  .kontakt__list li { grid-template-columns: 1fr; gap: .15rem; }
  .floating-cta { left: 18px; right: 18px; text-align: center; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 1rem; }
  .cookie__actions { flex-direction: column-reverse; }
  .cookie__actions .btn { width: 100%; }
}

/* ============================================================ Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================ Print */
@media print {
  .nav, .floating-cta, .cookie, .carousel__controls, .nav__toggle { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
