/* Grandevu — grandevu.io
   Inspirerat av frog.co: minimalistisk lyx, whitespace, storytelling.
   WCAG 2.2 AAA + EAA-kompatibel. */

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

:root {
  --dark: #1a1a2e;
  --dark2: #16213e;
  --gold: #c4a35a;
  --gold-strong: #e8d5a3;       /* AAA mot mörk bg */
  --gold-light: #e8d5a3;
  --gold-glow: rgba(196, 163, 90, 0.15);
  --white: #ffffff;
  --off-white: #f8f6f1;
  --grey: #666666;
  --light-grey: #c9c2b0;         /* AAA (7:1) mot #0d0d1a — uppgraderad */
  --light-grey-soft: #a89f8c;    /* används bara för icke-informationsbärande */
  --bg: #0d0d1a;
  --text: #f5f1e4;               /* hög kontrast AAA */
  --focus: #ffd670;              /* tydlig focus-ring */
  --serif: 'Georgia', 'Garamond', 'Times New Roman', serif;
  --sans: 'Helvetica Neue', 'Arial', sans-serif;

  --min-tap: 48px;               /* WCAG 2.5.5 AAA touch target */
  --base-font: 18px;             /* EAA: minst 18px brödtext */
}

html {
  font-size: var(--base-font);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold-strong); text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.85; text-decoration: underline; text-underline-offset: 3px; }

/* ===== FOCUS-VISIBLE (WCAG 2.4.7 AAA) ===== */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip-link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold);
  color: var(--dark);
  padding: 14px 22px;
  z-index: 9999;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 3px solid var(--focus);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s, padding 0.4s;
}

nav.scrolled {
  background: rgba(13, 13, 26, 0.96);
  backdrop-filter: blur(20px);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(196, 163, 90, 0.2);
}

.nav-logo { display: inline-block; }
.nav-logo svg { height: 36px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s;
  padding: 10px 4px;
  display: inline-block;
}

.nav-links a:hover { color: var(--gold-strong); opacity: 1; }

.nav-cta {
  padding: 14px 28px !important;
  border: 2px solid var(--gold-strong);
  color: var(--gold-strong) !important;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  min-height: var(--min-tap);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover {
  background: var(--gold-strong);
  color: var(--dark) !important;
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.lang-switcher {
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: 3px;
  transition: all 0.25s;
  opacity: 0.6;
  line-height: 0;
  min-width: var(--min-tap);
  min-height: var(--min-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn svg {
  width: 26px;
  height: 17px;
  border-radius: 2px;
  display: block;
}

.lang-btn:hover { opacity: 0.95; }
.lang-btn.active { opacity: 1; border-color: var(--gold-strong); }

.hamburger {
  display: none;
  background: none;
  border: 2px solid transparent;
  color: var(--gold-strong);
  font-size: 1.8rem;
  cursor: pointer;
  min-width: var(--min-tap);
  min-height: var(--min-tap);
  border-radius: 3px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 60px 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease forwards;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-strong);
}

.hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--light-grey);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease 0.3s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 20px 52px;
  border: 2px solid var(--gold-strong);
  color: var(--gold-strong);
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease 0.6s forwards;
  min-height: var(--min-tap);
  font-weight: 600;
}

.hero-cta:hover {
  background: var(--gold-strong);
  color: var(--dark);
  opacity: 1;
  text-decoration: none;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--light-grey);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1.2s ease 1s forwards;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gold-strong);
  margin: 12px auto 0;
  animation: scrollLine 2s ease infinite;
}

/* ===== SECTIONS ===== */
section {
  padding: 140px 60px;
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 20px;
  font-weight: 500;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 30px;
  max-width: 820px;
  color: var(--text);
}

.section-text {
  font-size: 1.15rem;
  color: var(--light-grey);
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: 50px;
}

/* ===== STATEMENT (full width quote) ===== */
.statement {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--dark);
  border-top: 1px solid rgba(196, 163, 90, 0.15);
  border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.statement h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.4;
  max-width: 920px;
  color: var(--text);
}

.statement h2 em { color: var(--gold-strong); font-style: italic; }
.ref-small { color: var(--light-grey); font-size: 0.82em; font-family: var(--sans); }

/* ===== BRANSCHER ===== */
.branscher-section { text-align: center; }
.branscher-section .section-title { margin: 0 auto 20px; }
.branscher-section .section-text { margin: 0 auto 60px; text-align: center; }

.branscher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.branschen-kort {
  border: 1px solid rgba(196, 163, 90, 0.25) !important;
  padding: 40px 32px !important;
  text-align: left;
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.branschen-kort:hover {
  border-color: var(--gold-strong) !important;
  transform: translateY(-3px);
  background: rgba(196,163,90,0.05);
}

.branschen-kort .section-label {
  margin-bottom: 14px;
  font-size: 0.72rem;
}

.branschen-kort h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text);
}

.branschen-kort p {
  font-size: 1rem;
  color: var(--light-grey);
  line-height: 1.7;
}

/* ===== KUNDER ===== */
.kunder-section { background: var(--dark); border-top: 1px solid rgba(196,163,90,0.1); border-bottom: 1px solid rgba(196,163,90,0.1); text-align: center; }
.kunder-section .section-title { margin: 0 auto 20px; }
.kunder-section .section-text { margin: 0 auto 60px; text-align: center; }

.kunder-lista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 60px auto 0;
  list-style: none;
  padding: 0;
}

.kund-kort {
  border: 1px solid rgba(196,163,90,0.18);
  padding: 32px 26px;
  border-radius: 4px;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s;
}

.kund-kort:hover {
  border-color: var(--gold-strong);
  transform: translateY(-3px);
}

.kund-bransch {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 14px;
}

.kund-namn {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 6px;
}

.kund-ort {
  font-size: 0.95rem;
  color: var(--light-grey);
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  margin-top: 60px;
}

.feature-card {
  padding: 36px 0;
  border-top: 1px solid rgba(196, 163, 90, 0.25);
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--text);
}

.feature-card p {
  font-size: 1rem;
  color: var(--light-grey);
  line-height: 1.75;
}

/* ===== TEKNIK ===== */
.teknik-section { text-align: left; }
.teknik-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  max-width: 1000px;
}

.teknik-punkt { padding: 28px 0; }

.teknik-nr {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--gold-strong);
  margin-bottom: 12px;
  line-height: 1;
}

.teknik-punkt h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text);
}

.teknik-punkt p {
  font-size: 1rem;
  color: var(--light-grey);
  line-height: 1.7;
}

/* ===== TILLGÄNGLIGHET SECTION ===== */
.a11y-section { background: var(--dark); border-top: 1px solid rgba(196,163,90,0.15); border-bottom: 1px solid rgba(196,163,90,0.15); }

.a11y-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin: 50px 0 40px;
}

.a11y-punkt {
  border-left: 3px solid var(--gold-strong);
  padding: 8px 0 8px 20px;
}

.a11y-punkt h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text);
}

.a11y-punkt p {
  font-size: 1rem;
  color: var(--light-grey);
  line-height: 1.7;
}

.a11y-punkt code {
  background: rgba(196,163,90,0.12);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--gold-strong);
}

.a11y-cta {
  font-size: 1.05rem;
  color: var(--text);
  background: rgba(196,163,90,0.08);
  border: 1px solid rgba(196,163,90,0.25);
  padding: 22px 28px;
  border-radius: 4px;
  max-width: 780px;
}

.a11y-cta em {
  color: var(--gold-strong);
  font-style: normal;
  font-weight: 600;
}

/* ===== PROCESS ===== */
.process-section { background: var(--dark); border-top: 1px solid rgba(196,163,90,0.15); }
.process-section .section-title { color: var(--text); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
  padding: 36px 20px;
}

.step-number {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold-strong);
  margin-bottom: 18px;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--text);
}

.process-step p {
  font-size: 0.98rem;
  color: var(--light-grey);
  line-height: 1.7;
}

/* ===== INTRO BANNER (ovanför priser) ===== */
.intro-banner {
  max-width: 900px;
  margin: 30px auto 30px;
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(196,163,90,0.18) 0%, rgba(196,163,90,0.08) 100%);
  border: 2px solid var(--gold-strong);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.intro-flag {
  display: inline-block;
  background: var(--gold-strong);
  color: var(--dark);
  padding: 8px 16px;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 3px;
  white-space: nowrap;
}

.intro-text {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  flex: 1;
  min-width: 260px;
}

.intro-text strong { color: var(--gold-strong); }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.price-card {
  padding: 50px 40px;
  border: 1px solid rgba(196, 163, 90, 0.25);
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  background: rgba(255,255,255,0.015);
}

.price-card:hover {
  border-color: var(--gold-strong);
  transform: translateY(-4px);
}

.price-card.featured {
  border: 2px solid var(--gold-strong);
  background: rgba(196, 163, 90, 0.06);
}

.price-mest-populara {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-strong);
  color: var(--dark);
  padding: 6px 14px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 3px;
}

.price-name {
  font-size: 0.88rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 20px;
  font-weight: 600;
}

.price-amount {
  font-family: var(--serif);
  font-size: 2.6rem;
  margin-bottom: 6px;
  color: var(--text);
}

.price-period {
  font-size: 0.9rem;
  color: var(--light-grey);
  margin-bottom: 30px;
}

.price-features {
  list-style: none;
  margin-bottom: 40px;
}

.price-features li {
  padding: 10px 0;
  font-size: 0.98rem;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-left: 22px;
  position: relative;
}

.price-features li::before {
  content: '✓';
  color: var(--gold-strong);
  margin-right: 10px;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.price-cta {
  display: block;
  text-align: center;
  padding: 16px 0;
  border: 2px solid var(--gold-strong);
  color: var(--gold-strong);
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  min-height: var(--min-tap);
  font-weight: 600;
}

.price-cta:hover {
  background: var(--gold-strong);
  color: var(--dark);
  opacity: 1;
  text-decoration: none;
}

/* ===== DATA OWNERSHIP ===== */
.ownership {
  background: var(--dark);
  text-align: center;
  border-top: 1px solid rgba(196, 163, 90, 0.15);
  border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.ownership h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--gold-strong);
  margin-bottom: 25px;
}

.ownership p {
  font-size: 1.25rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== DEMO CTA ===== */
.demo-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--dark) 100%);
}

.demo-section .section-title {
  margin: 0 auto 20px;
}

.demo-form {
  max-width: 520px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-form input {
  padding: 18px 22px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(196, 163, 90, 0.3);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.3s;
  min-height: var(--min-tap);
  border-radius: 3px;
}

.demo-form input::placeholder { color: var(--light-grey); }
.demo-form input:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(255,214,112,0.35);
}

.demo-form button {
  padding: 18px 0;
  background: var(--gold-strong);
  border: 2px solid var(--gold-strong);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
  min-height: var(--min-tap);
  font-weight: 700;
  border-radius: 3px;
}

.demo-form button:hover { opacity: 0.92; }
.demo-form button:active { transform: translateY(1px); }

/* ===== FOOTER ===== */
footer {
  padding: 70px 60px;
  border-top: 1px solid rgba(196, 163, 90, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-left {
  font-size: 0.95rem;
  color: var(--text);
}
.footer-left a { color: var(--gold-strong); }

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-strong);
  font-size: 1.05rem;
}

/* ===== TILLGÄNGLIGHETSPANEL (floating widget) ===== */
.a11y-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  background: var(--gold-strong);
  color: var(--dark);
  border: 2px solid var(--dark);
  padding: 14px 20px;
  border-radius: 60px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--min-tap);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}

.a11y-toggle:hover { transform: translateY(-2px); }
.a11y-toggle-icon { font-size: 1.3rem; }

.a11y-panel {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 500;
  background: var(--dark);
  border: 2px solid var(--gold-strong);
  border-radius: 8px;
  padding: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.a11y-panel-titel {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-strong);
  margin-bottom: 18px;
  font-weight: 400;
}

.a11y-rad {
  padding: 14px 0;
  border-top: 1px solid rgba(196,163,90,0.2);
}

.a11y-rad:first-of-type { border-top: none; padding-top: 0; }

.a11y-rad-titel {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 500;
}

.a11y-rad-knappar {
  display: flex;
  gap: 8px;
}

.a11y-rad-knappar button,
.a11y-toggle-btn {
  flex: 1;
  min-height: var(--min-tap);
  background: transparent;
  border: 2px solid var(--gold-strong);
  color: var(--gold-strong);
  padding: 10px 14px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.a11y-rad-knappar button[aria-pressed="true"],
.a11y-toggle-btn[aria-pressed="true"] {
  background: var(--gold-strong);
  color: var(--dark);
}

.a11y-rad-knappar button:hover,
.a11y-toggle-btn:hover {
  background: rgba(196,163,90,0.15);
}

.a11y-reset {
  width: 100%;
  margin-top: 18px;
  background: transparent;
  border: 1px solid var(--light-grey);
  color: var(--light-grey);
  padding: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 4px;
  min-height: var(--min-tap);
}

.a11y-info {
  font-size: 0.8rem;
  color: var(--light-grey-soft);
  margin-top: 14px;
  text-align: center;
}

/* ===== A11Y-LÄGEN ===== */
html.a11y-text-stor { font-size: 20px; }
html.a11y-text-storsta { font-size: 22px; }

html.a11y-kontrast {
  --bg: #000000;
  --dark: #000000;
  --text: #ffffff;
  --light-grey: #ffffff;
  --gold-strong: #ffd670;
  --gold: #ffd670;
}
html.a11y-kontrast .feature-card,
html.a11y-kontrast .price-card,
html.a11y-kontrast .kund-kort,
html.a11y-kontrast .branschen-kort,
html.a11y-kontrast .a11y-punkt {
  border-color: #ffffff !important;
}

html.a11y-reducera-rorelser *,
html.a11y-reducera-rorelser *::before,
html.a11y-reducera-rorelser *::after {
  animation-duration: 0.001s !important;
  animation-delay: 0s !important;
  transition-duration: 0.001s !important;
}
html.a11y-reducera-rorelser .reveal { opacity: 1; transform: none; }

html.a11y-understryk-lankar a,
html.a11y-understryk-lankar .nav-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* System-wide preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  .hero h1, .hero-sub, .hero-cta, .hero-scroll, .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .branscher-grid { grid-template-columns: repeat(2, 1fr); }
  .kunder-lista { grid-template-columns: repeat(2, 1fr); }
  .a11y-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 24px;
    background: rgba(13, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 28px;
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 8px;
    gap: 18px;
    min-width: 220px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .lang-switcher { gap: 2px; }
  .lang-btn { padding: 6px; min-width: 42px; min-height: 42px; }
  section { padding: 80px 28px; }
  .process-steps, .teknik-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .intro-banner { padding: 18px 20px; }
  footer { flex-direction: column; gap: 18px; text-align: center; padding: 50px 28px; }
  .a11y-toggle { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 0.9rem; }
  .a11y-panel { right: 16px; bottom: 72px; width: calc(100vw - 32px); max-width: 340px; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  section { padding: 60px 20px; }
  .process-steps, .features-grid, .branscher-grid, .kunder-lista, .teknik-grid, .a11y-grid {
    grid-template-columns: 1fr;
  }
  .a11y-toggle-text { display: none; }
  .a11y-toggle { padding: 14px; border-radius: 50%; }
}
