/* Forsiden til yowfish.com. Ingen eksterne skrifter eller forespørsler: bare systemfonter. */
:root {
  color-scheme: light dark;
  --hero: #021626;
  --turkis: #1fe0f2;
  --gull: #ffc43d;
  --bg: #f1f7fb;
  --flate: #ffffff;
  --linje: #d5e5ee;
  --tekst: #0b2340;
  --dempet: #44566b;
  --aksent: #00708f;
  --ikonbg: #dff4fa;
  --panel-topp: #cfeaf8;
  --panel-bunn: #eaf6fb;
  --skygge: 0 10px 30px rgba(2, 22, 38, 0.1);
  --rund: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --brodtekst: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071a2c;
    --flate: #0d2a45;
    --linje: #1c4263;
    --tekst: #eaf4fb;
    --dempet: #b6c8da;
    --aksent: #4ee3f2;
    --ikonbg: #0f3a5c;
    --panel-topp: #0f3a5c;
    --panel-bunn: #0d2a45;
    --skygge: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tekst); font: 1.0625rem/1.6 var(--brodtekst); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--rund); font-weight: 800; line-height: 1.15; margin: 0; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--aksent); outline-offset: 3px; border-radius: 6px; }

.skjult { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hopp { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 12px 18px; background: var(--gull); color: #0a2240; font-weight: 700; border-radius: 10px; text-decoration: none; }
.hopp:focus { top: 12px; outline: 3px solid #fff; }

/* Hero: mørk marineblå som går sømløst over i den mørke logoen (#021626), med turkise og gylne aksenter */
.hero { position: relative; overflow: hidden; background: var(--hero); color: #fff; --aksent: #4ee3f2; }
.hero :focus-visible { outline-color: #fff; }
.hero-indre { position: relative; max-width: 1120px; margin: 0 auto; padding: 12px 24px 56px; }
.sprak { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.sprak a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #d3e6f4; font: 700 0.9rem/1 var(--rund); letter-spacing: 0.06em; text-decoration: none; border-radius: 10px; }
.sprak a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.sprak a[aria-current="page"] { color: var(--gull); box-shadow: inset 0 -3px 0 var(--gull); border-radius: 10px 10px 0 0; }
.sprak .skille { color: #6f8aa3; }

.hero-rad { display: grid; gap: 8px; align-items: center; text-align: center; }
.logo { display: block; width: min(100%, 460px); height: auto; margin: 0 auto; }
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); letter-spacing: -0.01em; margin-top: 6px; }
.ingress { margin: 14px auto 28px; max-width: 34rem; font-size: 1.1875rem; color: #d6e7f4; }

.knapp { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 64px; padding: 0 36px; border-radius: 999px; background: var(--gull); color: #0a2240; font: 800 1.375rem/1 var(--rund); text-decoration: none; box-shadow: 0 10px 28px rgba(255, 196, 61, 0.32), inset 0 -3px 0 rgba(160, 100, 0, 0.25); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.knapp:hover { background: #ffd062; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 196, 61, 0.4), inset 0 -3px 0 rgba(160, 100, 0, 0.25); }
.knapp:active { transform: translateY(0); }
.knapp svg { flex: none; transition: transform 0.15s ease; }
.knapp:hover svg { transform: translateX(4px); }

.butikker { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.butikker li { flex: 1 1 150px; max-width: 220px; }
.merke { width: 100%; justify-content: center; display: inline-flex; font-size: 0.95rem; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px; border-radius: 14px; background: #0a2a45; border: 1.5px solid #3a6a8f; color: #fff; text-decoration: none; text-align: left; }
a.merke:hover { border-color: var(--turkis); background: #0d3556; }
.merke svg { flex: none; color: var(--turkis); }
.merke-tekst { display: flex; flex-direction: column; line-height: 1.15; }
.merke-tekst small { font-size: 0.75rem; white-space: nowrap; color: #c6dcec; }
.merke-tekst strong { white-space: nowrap; font: 800 1.0625rem/1.15 var(--rund); }
.merke-snart { border-style: dashed; background: transparent; }
.merke-snart svg { color: #9db8cc; }

.hero-telefon { position: relative; display: flex; justify-content: center; margin-top: 20px; padding-top: 14px; max-height: 374px; overflow: hidden; }
.hero-telefon::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(31, 224, 242, 0.28), rgba(31, 224, 242, 0) 100%); }
.telefon { position: relative; border-radius: 36px; padding: 9px; background: #060d18; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); }
.telefon img { display: block; width: 100%; height: auto; border-radius: 28px; background: #222; }
.telefon-stor { width: 250px; }
.telefon-kapp { width: 210px; height: 330px; overflow: hidden; border-radius: 30px 30px 0 0; border-bottom: 0; padding-bottom: 0; box-shadow: 0 -6px 30px rgba(2, 22, 38, 0.25); }
.telefon-kapp img { border-radius: 24px 24px 0 0; }

.bolge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 48px; fill: var(--bg); }

section { padding: 56px 24px 8px; }
section > h2 { text-align: center; font-size: clamp(1.7rem, 5vw, 2.4rem); color: var(--tekst); }
section > h2::after { content: ""; display: block; width: 56px; height: 5px; margin: 14px auto 0; border-radius: 3px; background: var(--gull); }
.kort-rutenett, .steg-liste { max-width: 1040px; margin: 36px auto 0; }

.kort-rutenett { display: grid; gap: 24px; }
.kort { display: flex; flex-direction: column; background: var(--flate); border: 1px solid var(--linje); border-radius: 28px; box-shadow: var(--skygge); overflow: hidden; padding-bottom: 26px; }
.kort-bilde { display: flex; align-items: flex-end; justify-content: center; padding: 28px 0 0; margin-bottom: 22px; background: linear-gradient(180deg, var(--panel-topp), var(--panel-bunn)); height: 358px; }
.kort h3 { padding: 0 26px; font-size: 1.375rem; color: var(--tekst); }
.kort p { padding: 8px 26px 0; color: var(--dempet); }

.steg-liste { list-style: none; padding: 0; display: grid; gap: 32px; }
.steg-liste li { text-align: center; }
.steg-ikon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--ikonbg); color: var(--aksent); margin-bottom: 14px; }
.steg-liste h3 { font-size: 1.3rem; color: var(--tekst); }
.nr { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--gull); color: #0a2240; font-size: 0.95rem; vertical-align: 2px; }
.steg-liste p { margin-top: 6px; color: var(--dempet); }

.avslutning { padding: 56px 24px; }
.avslutning-indre { max-width: 760px; margin: 0 auto; padding: 44px 28px; text-align: center; color: #fff; border-radius: 32px; background: radial-gradient(closest-side at 85% 0%, rgba(31, 224, 242, 0.3), rgba(31, 224, 242, 0) 100%), var(--hero); box-shadow: var(--skygge); --aksent: #4ee3f2; }
.avslutning-indre :focus-visible { outline-color: #fff; }
.avslutning h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.avslutning p { margin: 10px 0 26px; color: #d6e7f4; font-size: 1.125rem; }

.bunn { padding: 16px 24px 48px; text-align: center; color: var(--dempet); }
.bunn ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.bunn a { display: inline-block; padding: 10px 12px; color: var(--aksent); font-weight: 600; text-underline-offset: 3px; }
.bunn a:hover { text-decoration-thickness: 2px; }
.opphav { margin-top: 8px; font-size: 0.9375rem; }

@media (min-width: 480px) {
  .knapp { display: inline-flex; width: auto; min-width: 320px; }
}
@media (min-width: 700px) {
  .kort-rutenett { grid-template-columns: 1fr 1fr; }
  .steg-liste { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .hero-indre { padding-bottom: 80px; }
  .hero-rad { grid-template-columns: 1.1fr 0.9fr; gap: 40px; text-align: left; }
  .logo { margin: 0 0 0 -8px; width: min(100%, 520px); }
  .ingress { margin-left: 0; margin-right: 0; }
  .butikker { justify-content: flex-start; }
  .butikker li { flex: 0 1 auto; }
  .merke { width: auto; }
  .hero-telefon { margin-top: 0; max-height: none; overflow: visible; padding: 24px 0; }
  .hero-telefon::before { inset: -10% 5%; }
  .telefon-stor { width: 290px; transform: rotate(3deg); }
  .bolge { height: 72px; }
}
@media (prefers-reduced-motion: no-preference) {
  .telefon-stor { animation: flyt 7s ease-in-out infinite; }
  @keyframes flyt { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knapp, .knapp svg { transition: none; }
}
