/* Play & Move – grundstilar (rensad okt 2026). Nya delar ligger i v2.css. */
:root { --color-navy: #0E5A5E; --color-navy-light: #146B6F; --color-sky: #D4A62C; --color-sky-dark: #B38A20; --color-orange: #D2652E; --color-orange-dark: #B24F22; --color-orange-darker: #98401E; --color-orange-ticker: #F27B17; --color-red: #C23B2E; --color-red-dark: #9E2E22; --color-offwhite: #EDD9AE; --color-surface: #FFFFFF; --color-text: #1B1512; --color-text-muted: #6B6355; --color-text-muted-darker: #5B5448; --color-border: #E2CFA0; --color-charcoal: #171412; --color-marker-yellow: #FFD23F; --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --color-success-bg: #E3F5EC; --color-success-text: #1B7A4C; --color-error-bg: #FDEAE3; --color-error-text: #C4401B; --font-heading: "Rubik", "Segoe UI", system-ui, sans-serif; --font-body: "Rubik", "Segoe UI", system-ui, sans-serif; --font-impact: "Lilita", "Segoe UI", system-ui, sans-serif; --space-1: 0.5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2rem; --space-5: 3rem; --space-6: 4.5rem; --space-7: 6rem; --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-full: 999px; --shadow-sm: 3px 3px 0 var(--color-charcoal); --shadow-md: 5px 5px 0 var(--color-charcoal); --shadow-lg: 9px 9px 0 var(--color-charcoal); --container-width: 1200px; --transition-fast: 150ms ease-out; --transition-base: 220ms ease-out; --header-height: 84px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
body { position: relative; font-family: var(--font-body); color: var(--color-text); background: var(--color-offwhite); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
body::after { content: ""; position: fixed; inset: 0; background-image: var(--grain); opacity: 0.5; mix-blend-mode: multiply; pointer-events: none; z-index: 2000; }
@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--color-sky-dark); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; color: var(--color-navy); }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.2rem); font-weight: 900; letter-spacing: -0.03em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.02; }
h3 { font-weight: 800; font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
p { color: var(--color-text-muted); }
.container { width: 100%; max-width: var(--container-width); margin-inline: auto; padding-inline: var(--space-3); }
.section { padding-block: var(--space-7); position: relative; }
section[id] { scroll-margin-top: 84px; }
#aktiviteter, #bra-att-veta { --color-text-muted: var(--color-text-muted-darker); --color-orange-dark: var(--color-orange-darker); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; padding: 14px 28px; border-radius: var(--radius-sm); border: 2.5px solid var(--color-charcoal); box-shadow: var(--shadow-sm); cursor: pointer; text-transform: uppercase; transition: transform 120ms ease-out, box-shadow 120ms ease-out, background var(--transition-fast); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
}
.btn:active { transform: translate(3px, 3px); box-shadow: none; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
.btn:disabled:hover, .btn:disabled:active { transform: none; box-shadow: none; }
.btn--accent { background: var(--color-orange); color: var(--color-charcoal); box-shadow: var(--shadow-md); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--color-orange-dark); box-shadow: var(--shadow-lg); }
}
.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-height); display: flex; align-items: center; background: transparent; transition: background 280ms ease-out, box-shadow 280ms ease-out, height 280ms ease-out; }
.site-header.is-scrolled { background: var(--color-navy); box-shadow: var(--shadow-sm); height: calc(var(--header-height) - 16px); }
@media (min-width: 768px) {
  .site-header .container { position: relative; z-index: 2; }
  .site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 210%; pointer-events: none; z-index: 1; background: linear-gradient(to bottom, rgba(8, 44, 47, 0.88) 0%, rgba(8, 44, 47, 0.72) 32%, rgba(8, 44, 47, 0.38) 66%, rgba(8, 44, 47, 0) 100%); -webkit-mask-image: linear-gradient(to left, #000 0px, #000 720px, transparent 940px); mask-image: linear-gradient(to left, #000 0px, #000 720px, transparent 940px); transition: opacity 280ms ease-out; }
  .site-header.is-scrolled::before { opacity: 0; }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--color-offwhite); }
.brand__logo { height: 34px; width: auto; display: block; transition: height 280ms ease-out; }
.site-header.is-scrolled .brand__logo { height: 29px; }
.brand__logo--footer { height: 72px; }
.nav-desktop { display: none; }
.site-header .brand { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 280ms ease-out, visibility 280ms ease-out; }
.site-header.is-scrolled .brand, .site-header .brand:focus-visible { opacity: 1; visibility: visible; pointer-events: auto; }
@media (max-width: 600px) {
  .site-header .container { padding-inline: 14px; }
  .site-header.is-scrolled { height: 66px; }
  .site-header.is-scrolled .brand__logo { height: 31px; }
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; align-items: center; gap: var(--space-4); }
  .nav-desktop__links { display: flex; gap: var(--space-4); }
  .nav-desktop__links a { font-weight: 700; font-size: 0.92rem; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-shadow: 0 1px 3px rgba(0,0,0,0.4); padding: 8px 2px; position: relative; transition: color var(--transition-fast), text-shadow var(--transition-base); }
  .site-header.is-scrolled .nav-desktop__links a { text-shadow: none; }
  .nav-desktop__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-orange); transform: scaleX(0); transition: transform var(--transition-fast); }
  .nav-desktop__links a:hover, .nav-desktop__links a.is-active { color: #fff; }
  .nav-desktop__links a:hover::after, .nav-desktop__links a.is-active::after { transform: scaleX(1); }
}
@media (min-width: 768px) {
  .nav-desktop { gap: clamp(32px, calc(96.0714px - 4.4494vw), 61.9px); }
  .nav-desktop .nav-cta { font-size: clamp(0.78rem, calc(0.2857vw + 10.2857px), 0.9rem); padding: clamp(8px, calc(0.2976vw + 5.7143px), 10px) clamp(14px, calc(0.8929vw + 7.1429px), 20px); top: clamp(-6px, calc(0.8929vw - 12.8571px), 0px); }
}
.nav-cta { position: relative; isolation: isolate; }
.nav-cta::before, .nav-cta::after { content: attr(data-text); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-transform: uppercase; pointer-events: none; opacity: 0; mix-blend-mode: multiply; transition: opacity 130ms ease-out, transform 130ms ease-out; }
.nav-cta::before { color: var(--color-sky); transform: translate(0, 0); }
.nav-cta::after { color: var(--color-red); transform: translate(0, 0); }
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover::before { opacity: 0.85; transform: translate(-2.5px, -2.5px); }
  .nav-cta:hover::after { opacity: 0.85; transform: translate(2.5px, 2.5px); }
}
.nav-cta:focus-visible::before { opacity: 0.85; transform: translate(-2.5px, -2.5px); }
.nav-cta:focus-visible::after { opacity: 0.85; transform: translate(2.5px, 2.5px); }
.nav-cta::before, .nav-cta::after { content: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-cta::before, .nav-cta::after { transition: none; }
}
.nav-cta-mobile { display: none; }
@media (max-width: 767px) {
  .site-header.is-scrolled .nav-cta-mobile { display: inline-flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1.15; min-height: 44px; padding: 0 14px; box-shadow: 3px 3px 0 var(--color-charcoal); }
  .nav-toggle { margin-left: auto; }
  .site-header .container { gap: 14px; }
}
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); border: none; background: transparent; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}
.nav-toggle .icon { width: 32px; height: 32px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { position: fixed; inset: var(--header-height) 0 0 0; background: var(--color-navy); z-index: 90; padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base); }
.mobile-menu.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: #fff; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.mobile-menu .btn { margin-top: var(--space-2); }
@media (min-width: 768px) {
  .mobile-menu { display: none; }
}
.hero { position: relative; overflow: hidden; background: #023437; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.6; mix-blend-mode: overlay; pointer-events: none; }
@keyframes stamp-pulse { 0% { transform: translateX(-50%) rotate(-2deg) translate(0, 0) scale(1); box-shadow: var(--stamp-shadow) var(--stamp-shadow) 0 var(--color-charcoal); animation-timing-function: ease-out; } 10% { transform: translateX(-50%) rotate(-2deg) translate(0, -1px) scale(1.015); box-shadow: var(--stamp-shadow-peak) var(--stamp-shadow-peak) 0 var(--color-charcoal); animation-timing-function: ease-in-out; } 20%, 100% { transform: translateX(-50%) rotate(-2deg) translate(0, 0) scale(1); box-shadow: var(--stamp-shadow) var(--stamp-shadow) 0 var(--color-charcoal); } }
@media (max-width: 600px) {
  .hero { padding-bottom: 0; min-height: auto; }
}
.card { background: var(--color-surface); border: 2.5px solid var(--color-charcoal); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-sm); transition: transform 150ms ease-out, box-shadow 150ms ease-out; }
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 8px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--color-navy); }
.field .required { color: var(--color-orange-dark); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field textarea { width: 100%; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; background: var(--color-offwhite); color: var(--color-text); transition: border-color var(--transition-fast), background var(--transition-fast); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--color-sky); background: #fff; outline: none; }
.field input.field--invalid, .field textarea.field--invalid { border-color: var(--color-error-text); }
.form-status { display: none; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: var(--space-2); }
.form-status.is-visible { display: flex; }
.form-status--success { background: var(--color-success-bg); color: var(--color-success-text); }
.form-status--error { background: var(--color-error-bg); color: var(--color-error-text); }
.site-footer { background: var(--color-navy); color: rgba(255,255,255,0.7); padding-block: var(--space-6) var(--space-3); }
.footer-grid { display: grid; gap: var(--space-4); }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand .brand { margin-bottom: var(--space-2); }
.footer-brand p { color: rgba(255,255,255,0.7); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: var(--space-2); }
.footer-col ul { display: flex; flex-direction: column; gap: 0; }
.footer-col a { display: inline-block; padding-block: 4px; color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--color-orange); }
.footer-bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-orange); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; z-index: 999; font-weight: 700; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
