/* Generated by Site Builder */
:root {
  --bg-color: #faf9f7;
  --secondary-bgColor: #f0ebe3;
  --text-color: #1a1a2e;
  --text-colorInv: #ffffff;
  --primaryColor: #e8ddd0;
  --primaryContrastColor: #1a1a2e;
  --secondaryColor: #d9cfc2;
  --secondaryContrastColor: #2d2d44;
  --headerBg: transparent;
  --headerBgAct: transparent;
  --headerColor: #1a1a2e;
  --footerBg: #1a1a2e;
  --footerColor: #e0dcd6;
  --footerContrastColor: var(--primaryContrastColor);
  --hoverColor: #3d3d5c;
  --overlayColor: rgba(0,0,0,0.5);
  --curtainColor: rgba(255, 255, 255,.95);
  --heading-font: "Space Grotesk", sans-serif;
  --body-font: "Inter", sans-serif;

  --radius-img: 16px;
  --radius-btn: 50px;
  --radius-input: 12px;
  --radius-card: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--body-font); line-height: 1.5; font-weight: 400; font-size: 16px; color: var(--text-color); background: var(--bg-color); }
main { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); font-size: 2rem; padding-bottom: 0.5rem; text-wrap: balance; color: var(--text-color); }
h4 { font-size: 1.4rem; color: var(--primaryContrastColor); }
p { padding-bottom: 1rem; }
img { max-width: 100%; height: auto; border-radius: var(--radius-img); }
ul { padding-left: 1.5rem; padding-bottom: 1rem; }
li { padding-bottom: 0.5rem; }
a { color: var(--primaryContrastColor); word-break: break-word; text-decoration: none; }
a:hover { color: var(--hoverColor); }

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--headerBgAct);
  padding: 0.75rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.3s;
}
header .logo { color: var(--headerColor); font-size: 1.4rem; font-weight: 700; text-decoration: none; display: flex; align-items: center; }
header .logo-img { max-height: 40px; width: auto; }
header.logo-center { justify-content: center; }
header.logo-center nav { position: absolute; left: 2rem; }
header.logo-center .header-spacer { position: absolute; right: 2rem; width: 0; }
header.logo-right { flex-direction: row-reverse; }
header nav { display: flex; gap: 1.5rem; }
header nav a {
  color: var(--headerColor); text-decoration: none;
  font-weight: 400; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase;
}
header nav a:hover { text-decoration: underline; color: var(--headerColor); }
.header-cta {
  display: inline-block; padding: 0.5rem 1.25rem; border-radius: 2rem;
  background: var(--primaryContrastColor); color: #fff; text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; white-space: nowrap;
  transition: transform 0.2s, opacity 0.2s;
}
.header-cta:hover { opacity: 0.9; transform: scale(1.03); color: #fff; text-decoration: none; }
@media (max-width: 768px) { .header-cta { display: none; } }
.ghost { height: 60px; }
.hero-banner { padding-top: 60px; }

footer {
  background: var(--footerBg); color: var(--footerColor);
  padding: 2.5rem 2rem 1rem; text-align: center;
  margin-top: -3.5rem; position: relative; z-index: 2;
}
footer .footer-inner { max-width: 900px; margin: 0 auto; }
footer h6 { font-size: 1.3rem; padding-bottom: .5rem; margin: 0; color: var(--text-colorInv); letter-spacing: 0.5px; }
footer a { color: var(--footerContrastColor); }
.footer-nav { display: flex; justify-content: center; gap: 1.5rem; padding: 0.75rem 0; margin-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-nav a { color: var(--footerColor); text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; opacity: 0.7; transition: opacity 0.3s; }
.footer-nav a:hover { opacity: 1; color: var(--footerContrastColor); }
.footer-contact { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding: 0.75rem 0; font-size: 0.95rem; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--footerColor); font-weight: 500; }
.footer-contact a:hover { color: var(--footerContrastColor); }
.footer-contact svg { opacity: 0.7; flex-shrink: 0; }
.footer-copy { font-size: 0.8rem; opacity: 0.5; padding-top: 0.75rem; }
.footer-branding { display: inline-flex; align-items: center; justify-content: center; gap: 0.15rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s; text-decoration: none; color: inherit; }
.footer-branding:hover { transform: scale(1.08); color: inherit; text-decoration: none; }
.footer-branding p { font-size: 0.8rem; letter-spacing: 0.5px; margin: 0; padding: 0; color: var(--footerColor); }
.footer-branding svg { width: 42px; height: auto; fill: var(--footerColor); position: relative; top: -6px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.color-block { padding: 3rem 0; }
main > :last-child { padding-bottom: 6rem; }
.clr-0 { background-color: var(--bg-color); }
.clr-1 { background-color: var(--secondary-bgColor); }
.clr-2 { background-color: var(--primaryContrastColor); color: var(--text-colorInv); }
.clr-3 { background-color: var(--primaryColor); color: var(--text-color); }
.intro { flex: 1 1 45%; min-width: 300px; }

.jumbotron-subpage { padding: 3rem 0; text-align: center; }
.undersidatitel { padding: 1.5rem 1.5rem 2rem; }
.undersidatitel h1 { font-size: 2rem; padding-bottom: 0.25rem; }
.undersidatitel p { font-size: 120%; line-height: 1.35; }
.undersidatitel hr { width: 80px; height: 3px; background: var(--text-color); border: none; margin: 1rem auto; }

.cta-block { padding: 3rem 2rem; text-align: center; }
.cta-block h2 { margin-bottom: 0.25rem; }
.cta-block .inner { max-width: 800px; margin: 0 auto; }

.buttons1 {
  display: inline-block; padding: 0.8rem 2rem;
  background-color: var(--primaryContrastColor); color: var(--text-colorInv);
  border: none; cursor: pointer; font-size: 1rem; font-weight: 600;
  text-decoration: none; border-radius: var(--radius-btn); margin-top: 1rem;
  transition: background 0.3s, box-shadow 0.3s, color 0.3s, border-color 0.3s;
  box-shadow: var(--shadow);
}
.buttons1:hover { background-color: var(--hoverColor); }
a.buttons1 { color: var(--text-colorInv); text-decoration: none; }

blockquote {
  border-left: 4px solid var(--primaryContrastColor);
  padding: 1rem 1.5rem; margin: 1rem 0;
  font-size: 140%; font-style: italic; text-wrap: balance;
}

fieldset { border: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
fieldset p { width: 100%; }
input, select { height: 50px; border: 1px solid #ddd; padding: 0.5rem 0.7rem; border-radius: var(--radius-input); font-family: inherit; font-size: 1rem; width: 100%; }
textarea { border: 1px solid #ddd; padding: 0.5rem 0.7rem; border-radius: var(--radius-input); font-family: inherit; font-size: 1rem; width: 100%; min-height: 120px; resize: vertical; }
input:hover, textarea:hover, select:hover { border-color: var(--primaryContrastColor); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primaryContrastColor); box-shadow: 0 0 0 2px rgba(2,115,190,0.2); }
.halva { width: calc(50% - 0.375rem); }
input#check { height: auto; width: auto; }
input.buttons1 { height: auto; border: 0; background-color: var(--primaryContrastColor); color: var(--text-colorInv); cursor: pointer; width: auto; border-radius: var(--radius-btn); }
input.buttons1:hover { background-color: var(--hoverColor); }

.kontakt { text-align: center; padding: 2rem 0; }
.kontakt hr { background: var(--primaryContrastColor); height: 2px; border: none; margin-bottom: 0.5rem; }
.k-bloc { display: flex; flex-direction: column; align-items: center; padding: 1rem; justify-content: center; }
.k-bloc img { max-width: 26px; height: auto; margin-bottom: 0.5rem; }

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

.nav-toggle { display: none; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--headerColor, var(--text-color)); transition: transform 0.3s, opacity 0.3s; }
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#form-status { padding: 0.75rem; border-radius: var(--radius-input); text-align: center; margin-top: 0.5rem; }
#form-status.success { background: #d4edda; color: #155724; }
#form-status.error { background: #f8d7da; color: #721c24; }

/* ── Stats Grid ── */
.stats-grid { padding: 4rem 0; text-align: center; }
.stats-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stat-item { flex: 1 1 0; min-width: 100px; max-width: 280px; padding: 1.5rem; }
.stat-value { display: block; font-family: var(--heading-font); font-size: 2.5rem; font-weight: 700; line-height: 1.2; color: inherit; white-space: nowrap; }
.stat-label { display: block; font-size: 0.95rem; opacity: 0.8; margin-top: 0.25rem; }

/* Stats scaling by item count */
.stats-grid[data-count="1"] .stat-item { max-width: 400px; }
.stats-grid[data-count="1"] .stat-value { font-size: 3.5rem; }
.stats-grid[data-count="2"] .stat-item { max-width: 340px; }
.stats-grid[data-count="2"] .stat-value { font-size: 3rem; }
.stats-grid[data-count="5"] .stat-value,
.stats-grid[data-count="6"] .stat-value { font-size: 2rem; }
.stats-grid[data-count="5"] .stat-label,
.stats-grid[data-count="6"] .stat-label { font-size: 0.85rem; }
.stats-grid[data-count="7"] .stat-value,
.stats-grid[data-count="8"] .stat-value { font-size: 1.75rem; }
.stats-grid[data-count="7"] .stat-label,
.stats-grid[data-count="8"] .stat-label { font-size: 0.8rem; }
.stats-grid[data-count="7"] .stat-item,
.stats-grid[data-count="8"] .stat-item { min-width: 80px; padding: 1rem; }
.stats-grid[data-count="7"] .stats-inner,
.stats-grid[data-count="8"] .stats-inner { gap: 1rem; }

/* ── Marquee ── */
.marquee-block { overflow: hidden; padding: 1.5rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 30s linear infinite; }
.marquee-content { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.marquee-item { font-family: var(--heading-font); font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 300; white-space: nowrap; padding: 0 1rem; }
.marquee-sep { font-size: clamp(1.5rem, 4vw, 3rem); opacity: 0.3; padding: 0 0.5rem; font-weight: 300; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Accordion ── */
.accordion { width: 100%; }
.accordion-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.accordion-item summary { cursor: pointer; padding: 1.25rem 0; font-size: 1.1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; transition: transform 0.2s; }
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-content { padding: 0 0 1.25rem; }
.accordion-content p { padding-bottom: 0; }

/* ── Text-Image Variants ── */
.text-image-fullbleed { background-size: cover; background-position: center; min-height: 500px; display: flex; align-items: center; }
.text-image-fullbleed-overlay { width: 100%; background: rgba(0,0,0,0.55); padding: 4rem 2rem; }
.text-image-fullbleed-content { max-width: 700px; margin: 0 auto; color: #fff; }
.text-image-fullbleed-content h3 { color: #fff; }
.text-image-card { display: flex; flex-wrap: wrap; background: var(--bg-color); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.text-image-card-img { flex: 1 1 45%; min-width: 280px; }
.text-image-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.text-image-card-text { flex: 1 1 45%; min-width: 280px; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }

/* ── CTA Variants ── */
.cta-split { padding: 3rem 0; }
.cta-split-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-split-inner h2 { flex: 1; margin: 0; padding: 0; }
.cta-banner { position: relative; overflow: hidden; background-size: cover; background-position: center; min-height: 350px; display: flex; align-items: center; justify-content: center; text-align: center; }
.cta-banner-overlay { position: relative; z-index: 1; width: 100%; background: rgba(0,0,0,0.55); padding: 5rem 2rem; }
.cta-banner-overlay h2 { color: #fff; margin-bottom: 0.5rem; }

/* ── Benefits Grid Variant ── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; width: 100%; }
.benefit-card { padding: 2rem; border-radius: var(--radius-card); background: var(--bg-color); box-shadow: var(--shadow); }
.benefit-card h4 { margin-bottom: 0.25rem; }
.benefit-card p { padding-bottom: 0; }

/* ── Portfolio Grid ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; width: 100%; }
.portfolio-grid[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.portfolio-card { border-radius: var(--radius-card); overflow: hidden; background: var(--bg-color); box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-card-img img { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 0; }
.portfolio-card-body { padding: 1.25rem; }
.portfolio-card-body h4 { margin-bottom: 0.25rem; }
.portfolio-card-body p { padding-bottom: 0.5rem; font-size: 0.95rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.portfolio-tag { display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: 500; border-radius: var(--radius-btn); background: var(--primaryColor); color: var(--text-color); }

/* ── Pricing Table ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; width: 100%; align-items: stretch; }
.pricing-tier { background: var(--bg-color); border-radius: var(--radius-card); padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; text-align: center; }
.pricing-highlighted { border: 2px solid var(--primaryContrastColor); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.pricing-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-price { font-size: 1.8rem; font-weight: 800; color: var(--primaryContrastColor); padding-bottom: 0.5rem; }
.pricing-desc { font-size: 0.9rem; opacity: 0.8; padding-bottom: 1rem; }
.pricing-features { list-style: none; padding: 0 0 1.5rem; text-align: left; flex: 1; }
.pricing-features li { padding: 0.4rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.pricing-features li::before { content: '✓ '; color: var(--primaryContrastColor); font-weight: 700; }
.pricing-tier .buttons1 { margin-top: auto; }

/* ── Team Grid ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; width: 100%; }
.team-grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.team-grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }
.team-card { text-align: center; padding: 1.5rem; border-radius: var(--radius-card); background: var(--bg-color); box-shadow: var(--shadow); }
.team-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; display: block; border: 3px solid var(--primaryColor); }
.team-name { font-size: 1.1rem; margin-bottom: 0; }
.team-role { font-size: 0.85rem; color: var(--primaryContrastColor); font-weight: 600; padding-bottom: 0.5rem; }
.team-bio { font-size: 0.9rem; opacity: 0.85; padding-bottom: 0; }

@media (max-width: 768px) {
  .stats-inner { gap: 1rem; }
  .stat-item { min-width: 120px; padding: 1rem; }
  .stat-value { font-size: 2rem; }
  .text-image-fullbleed { min-height: 350px; }
  .text-image-fullbleed-overlay { padding: 2.5rem 1.5rem; }
  .text-image-card { flex-direction: column; }
  .cta-split-inner { flex-direction: column; text-align: center; }
  .portfolio-grid, .portfolio-grid[data-columns="3"] { grid-template-columns: 1fr; }
  .pricing-highlighted { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid[data-columns="4"] { grid-template-columns: repeat(2, 1fr); }
  .team-grid[data-columns="2"] { grid-template-columns: 1fr; }
  .team-photo { width: 80px; height: 80px; }
  .cta-banner { min-height: 250px; }
}

@media (max-width: 768px) {
  .container { flex-direction: column; }
  .intro { min-width: 100%; }
  h1, h2, h3, h4, h5, h6 { font-size: 1.75rem; }
  .halva { width: 100%; }
  header { padding: 0.5rem 1rem; }
  .nav-toggle { display: flex; }
  header nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-color); padding: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 999; }
  header.nav-open nav { display: flex; }
  header nav a { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(128,128,128,0.2); }
}



.color-block { padding: 5rem 0; }
.cta-block { padding: 5rem 2rem; }
.jumbotron-subpage { padding: 5rem 0; }

header { background: transparent; }
header.scrolled { background: var(--headerBgAct); }
.ghost { height: 0; }
.hero-banner { padding-top: 0; }





/* ══════════════════════════════════════════════════
   Digital Byrå — Premium Agency Design System
   ══════════════════════════════════════════════════ */

/* ── Easing tokens ── */
:root {
  --ease-out-expo: cubic-bezier(.22, 1, .36, 1);
  --ease-out-quint: cubic-bezier(.23, 1, .32, 1);
}

/* ── Typography scale ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
p  { line-height: 1.75; font-size: 1.05rem; }

/* ── Pill buttons — micro-interactions ── */
.buttons1 {
  border-radius: 1.25rem;
  padding: 0.9rem 2.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-transform: none;
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              border-radius 0.35s var(--ease-out-expo),
              background 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.buttons1:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  border-radius: 0.75rem;
}
.buttons1:active { transform: scale(0.98) !important; border-radius: 0.75rem; }
a.buttons1 { text-decoration: none; }
input.buttons1 { border-radius: 1.25rem; cursor: pointer; }

/* ── Soft image rounding ── */
img { border-radius: 12px; }

/* ── Image scale effect (zoom-out on reveal) ── */
.intro img,
.text-image-card-img img,
.benefit-card img {
  transform: scale(1.06);
  transition: transform 0.9s var(--ease-out-expo);
  will-change: transform;
}
.intro { overflow: hidden; }
.text-image-card-img { overflow: hidden; }
.is-visible .intro img,
.is-visible .text-image-card-img img,
.is-visible .benefit-card img,
.hero-entered .intro img {
  transform: scale(1);
}

/* ── Sections — generous spacing ── */
.color-block { padding: 5.5rem 0; }
.container { max-width: 1000px; gap: 3rem; }
.intro { min-width: 280px; }

/* ── Glassmorphism header — blur fades to clear ── */
header, header.scrolled {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
header {
  padding: 1rem 2.5rem;
  transition: transform 0.7s var(--ease-out-expo);
}
header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  opacity: 1;
  transition: background 0.5s var(--ease-out-expo),
              backdrop-filter 0.4s,
              opacity 0.25s var(--ease-out-expo);
}
header.scrolled::before {
  background: var(--headerBgAct);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
header.header-hidden {
  transform: translateY(-100%);
}
header.header-hidden::before {
  opacity: 0;
}

/* Center the nav links */
header nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
header nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  opacity: 0.8;
  transition: opacity 0.25s;
}
header nav a:hover { opacity: 1; text-decoration: none; }

/* CTA button in header — same style as .buttons1 */
.header-cta {
  padding: 0.9rem 2.4rem;
  border-radius: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              border-radius 0.35s var(--ease-out-expo),
              background 0.3s;
}
.header-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  border-radius: 0.75rem;
}
.header-cta:active { transform: scale(0.98); border-radius: 0.75rem; }

/* ── Hero — cinematic entrance ── */
.hero-banner { position: relative; }
.hero-banner h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}
.hero-banner p {
  font-size: 1.2rem;
  max-width: 540px;
  opacity: 0.9;
}

/* Hero entrance animation (immediate, no scroll trigger) */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-banner h1,
.hero-banner p,
.hero-banner .buttons1 {
  opacity: 0;
  transform: translateY(50px);
}
.hero-entered h1 {
  animation: hero-enter 0.9s var(--ease-out-expo) 0.15s forwards;
}
.hero-entered p {
  animation: hero-enter 0.9s var(--ease-out-expo) 0.35s forwards;
}
.hero-entered .buttons1 {
  animation: hero-enter 0.9s var(--ease-out-expo) 0.55s forwards;
}

/* ── Marquee — oversized thin ticker ── */
.marquee-block {
  padding: 2.2rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.marquee-item {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.marquee-sep {
  opacity: 0.15;
  font-size: 1.5rem;
}

/* ── Stats Grid — massive metric numbers ── */
.stats-grid { padding: 6rem 0; }
.stat-value {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* Stats scaling by count (digital-byrå overrides) */
.stats-grid[data-count="1"] .stat-value { font-size: clamp(4rem, 10vw, 6rem); }
.stats-grid[data-count="2"] .stat-value { font-size: clamp(3.5rem, 9vw, 5.5rem); }
.stats-grid[data-count="5"] .stat-value,
.stats-grid[data-count="6"] .stat-value { font-size: clamp(2rem, 5vw, 3rem); }
.stats-grid[data-count="5"] .stat-label,
.stats-grid[data-count="6"] .stat-label { font-size: 0.75rem; }
.stats-grid[data-count="7"] .stat-value,
.stats-grid[data-count="8"] .stat-value { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.stats-grid[data-count="7"] .stat-label,
.stats-grid[data-count="8"] .stat-label { font-size: 0.7rem; }

/* Stats stagger on reveal */
.is-visible .stat-item:nth-child(1) { animation-delay: 0.05s; }
.is-visible .stat-item:nth-child(2) { animation-delay: 0.15s; }
.is-visible .stat-item:nth-child(3) { animation-delay: 0.25s; }
.is-visible .stat-item:nth-child(4) { animation-delay: 0.35s; }
.is-visible .stat-item:nth-child(5) { animation-delay: 0.45s; }
.is-visible .stat-item:nth-child(6) { animation-delay: 0.55s; }
.is-visible .stat-item:nth-child(7) { animation-delay: 0.65s; }
.is-visible .stat-item:nth-child(8) { animation-delay: 0.75s; }

/* ── Accordion — refined Q&A ── */
.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.accordion-item summary {
  font-weight: 600;
  padding: 1.5rem 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.accordion-item summary:hover { opacity: 0.65; }
.accordion-content p {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.85;
}

/* ── Full-bleed text-image — cinematic ── */
.text-image-fullbleed { min-height: 600px; }
.text-image-fullbleed-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  padding: 5rem 3rem;
}
.text-image-fullbleed-content h3 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.text-image-fullbleed-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 550px;
}

/* ── Card text-image — elevated card ── */
.text-image-card {
  max-width: 1000px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.text-image-card-text { padding: 3rem; }
.text-image-card-img img { border-radius: 0; }

/* ── Benefits grid cards ── */
.benefit-card {
  border-radius: 16px;
  padding: 2.25rem;
  transition: transform 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.benefit-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Benefits stagger on reveal */
.is-visible .benefit-card:nth-child(1) { animation-delay: 0.05s; }
.is-visible .benefit-card:nth-child(2) { animation-delay: 0.13s; }
.is-visible .benefit-card:nth-child(3) { animation-delay: 0.21s; }
.is-visible .benefit-card:nth-child(4) { animation-delay: 0.29s; }

/* ── Standard benefits — refined hover ── */
.benefits-item {
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}
.benefits-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* ── CTA split — clean two-column ── */
.cta-split-inner { padding: 0 3rem; }
.cta-split-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

/* ── CTA banner — cinematic ── */
.cta-banner { min-height: 450px; }
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 100%);
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-banner-overlay h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.03em;
}

/* ── CTA blocks — generous breathing room ── */
.cta-block {
  padding: 5.5rem 2rem;
  border-radius: 0;
}
.cta-block h2 { margin-bottom: 0.5rem; }

/* ── Subpage headers ── */
.jumbotron-subpage { padding: 5.5rem 0 2rem; }
.undersidatitel h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}
.undersidatitel hr {
  width: 60px;
  height: 3px;
  border-radius: 2px;
}

/* ── Mega footer — hover underline animations ── */
footer { padding: 3.5rem 2rem 1.5rem; }
footer h6 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  position: relative;
}
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease-out-expo);
}
.footer-nav a:hover::after { width: 100%; }

/* ── Form inputs — rounded & polished ── */
input, select, textarea { border-radius: 10px; }
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* ── Scroll-triggered staggered reveal system ── */
@keyframes byra-reveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal-section {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-section.is-visible {
  animation: byra-reveal 0.8s var(--ease-out-expo) forwards;
}

/* Stagger children: headings first, then paragraphs, then buttons */
.reveal-section.is-visible h2,
.reveal-section.is-visible h3 {
  animation: byra-reveal 0.8s var(--ease-out-expo) 0s forwards;
}
.reveal-section.is-visible p {
  animation: byra-reveal 0.8s var(--ease-out-expo) 0.12s forwards;
}
.reveal-section.is-visible .buttons1 {
  animation: byra-reveal 0.8s var(--ease-out-expo) 0.24s forwards;
}
/* Stats & cards get individual child delays (set above) */
.reveal-section.is-visible .stat-item,
.reveal-section.is-visible .benefit-card {
  animation: byra-reveal 0.7s var(--ease-out-expo) forwards;
}

/* Children start hidden, animate in with parent */
.reveal-section h2,
.reveal-section h3,
.reveal-section p,
.reveal-section .buttons1,
.reveal-section .stat-item,
.reveal-section .benefit-card {
  opacity: 0;
  transform: translateY(30px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .color-block { padding: 3rem 0; }
  .cta-block { padding: 3rem 1.5rem; }

  /* ── Mobile header ── */
  header { padding: 0.75rem 1rem; }
  header::before {
    -webkit-mask-image: none;
    mask-image: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .header-cta {
    display: inline-block !important;
    padding: 0.55rem 1.5rem;
    font-size: 0.8rem;
    border-radius: 1.25rem;
  }
  .nav-toggle { z-index: 1001; position: relative; }

  /* ── Full-screen slide-in nav ── */
  header nav {
    position: fixed !important;
    inset: 0 !important;
    transform: translateX(100%);
    display: flex !important;
    flex-direction: column;
    background: var(--bg-color) !important;
    padding: 5rem 2rem 2.5rem;
    z-index: 1000;
    box-shadow: none !important;
    transition: transform 0.4s var(--ease-out-expo);
    gap: 0;
  }
  header.nav-open nav {
    transform: translateX(0);
  }
  header nav a {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
    color: var(--text-color);
    padding: 1rem 0;
    border-bottom: none !important;
  }
  header nav a:hover { opacity: 0.7; }

  /* CTA button at bottom of nav overlay */
  header nav::after {
    content: 'Kontakta oss';
    display: block;
    margin-top: auto;
    padding: 1.1rem 2rem;
    background: var(--primaryContrastColor);
    color: var(--text-colorInv);
    text-align: center;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
  }

  /* ── Mobile content ── */
  .hero-banner h1 { font-size: 2.2rem; text-transform: none; }
  .hero-banner p { font-size: 1.05rem; }
  p { font-size: 1rem; }
  .stat-value { font-size: clamp(2rem, 12vw, 3rem); }
  .stat-label { font-size: 0.75rem; letter-spacing: 1.5px; }
  .stats-grid { padding: 3.5rem 0; }
  .text-image-fullbleed { min-height: 380px; }
  .text-image-fullbleed-overlay { padding: 3rem 1.5rem; }
  .cta-banner { min-height: 300px; }
  .cta-banner-overlay { padding: 4rem 1.5rem; }
  .benefit-card { padding: 1.5rem; }
  .cta-split-inner { padding: 0 1.5rem; }
  .marquee-item { font-size: 0.9rem; letter-spacing: 1px; }
  footer { padding: 2.5rem 1.5rem 1.5rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero-banner h1 { font-size: 1.8rem; }
  .benefit-card { padding: 1.25rem; border-radius: 12px; }
  .text-image-card-text { padding: 2rem; }
}
