:root {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #4f46e5;
  --primary-dark: #312e81;
  --green: #e8f8ef;
  --purple: #f2ebff;
  --orange: #fff3e6;
  --blue: #e9f2ff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Merriweather:ital,wght@0,400;0,700&display=swap');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #d5eed6 0%, #b8dfb9 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

body.page-about main > .section:first-of-type {
  padding-top: 140px;
}

.contact-section {
  padding-top: 140px;
}

.page-hero--spaced {
  padding-top: 130px;
}

.page-kundtjanst {
  background: #f9dcc8 !important;
}

.page-kundtjanst .section {
  background: #f9dcc8;
}

.page-kundtjanst main {
  background: #f9dcc8;
}

.page-hero-fullscreen {
  min-height: calc(100vh - 100px);
  display: grid;
  place-items: center;
  padding: 0;
  background: #f9c5ac;
  color: #1f2937;
}

.page-hero-fullscreen h1,
.page-hero-fullscreen p,
.page-hero-fullscreen .eyebrow {
  color: #1f2937;
}

.page-hero-grid {
  justify-items: center;
  text-align: center;
}

.page-hero-grid > div {
  max-width: 720px;
  width: 100%;
}

.topic-grid {
  position: relative;
  display: block;
  padding: 0;
  min-height: 500px;
}

.topic-visual {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: min(240px, 22vw);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  z-index: 2;
}

.topic-visual--left {
  left: -10vw;
}

.topic-visual--right {
  right: -10vw;
}

.topic-visual--right img {
  transform: scaleX(-1);
}

.topic-copy {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .topic-grid {
    min-height: auto;
  }

  .topic-visual {
    position: static;
    transform: none;
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: 2rem;
  }
}

.topic-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.topic-copy li {
  margin-bottom: 1.25rem;
}

.topic-copy li strong {
  display: block;
  margin-bottom: 0.5rem;
}

.back-link {
  display: block;
  width: max-content;
  margin: 2rem auto 0;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  text-decoration: none;
}

.widget-showcase__inner {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.widget-demo-card {
  background: transparent;
  border: none;
  border-radius: 24px;
  padding: 1.25rem;
}

.widget-demo-card h3 {
  margin-bottom: 1rem;
  text-align: center;
}

.widget-demo-frame {
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
}

.widget-demo-frame iframe {
  width: 100%;
  height: auto;
  min-height: 250px;
  border: none;
  background: transparent;
  display: block;
}

.widget-contact-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 3rem 1rem 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.widget-contact-cta__text {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.1;
  color: var(--text);
  max-width: 720px;
  margin: 0;
}

.widget-contact-cta__button {
  padding: 1rem 1.75rem;
}

.page-kundtjanst .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent !important;
  border-bottom: none;
  box-shadow: none !important;
  transition: transform 250ms ease, opacity 250ms ease;
  will-change: transform, opacity;
}

.page-kundtjanst .site-header .container,
.page-kundtjanst .nav-bar,
.page-kundtjanst .nav-actions,
.page-kundtjanst .nav-actions.is-open {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  transition: transform 250ms ease, opacity 250ms ease;
  will-change: transform, opacity;
}

.site-header.hide {
  transform: translateY(-110%);
  opacity: 0;
}

.site-header .container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  gap: 1rem;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: none;
  color: #0b2141;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  appearance: none;
}

.lang-switcher__current {
  font-size: 0.92rem;
}

.lang-switcher__caret {
  font-size: 0.75rem;
  opacity: 0.9;
}

.lang-switcher.blob-btn,
.lang-switcher.blob-btn:hover,
.lang-switcher.blob-btn:focus {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #0b2141;
}

.lang-switcher.blob-btn::before,
.lang-switcher.blob-btn::after {
  display: none !important;
}

.lang-switcher .blob-btn__inner {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 140px;
  width: auto;
}

.main-nav a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.main-nav a,
.logo {
  color: #0b2141;
}

.nav-toggle span {
  background: #0b2141;
}

.main-nav a:hover {
  color: #0b2141;
  text-shadow: 0 0 0.5px currentColor;
}

.btn, .blob-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  gap: 0.5rem;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--btn-text, #27272a);
  background: transparent;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease, transform 0.25s ease;
}

.btn::before, .blob-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  border: 2px solid var(--btn-border, #4f46e5);
  z-index: 1;
  transition: border-color 0.3s ease;
}

.btn::after, .blob-btn::after {
  content: '';
  z-index: -2;
  position: absolute;
  left: calc(2px * 1.5);
  top: calc(2px * 1.5);
  width: 100%;
  height: 100%;
  transition: all 0.3s 0.2s;
  border-radius: 30px;
  background: var(--btn-bg, #4f46e5);
}

.btn:hover, .blob-btn:hover {
  transform: translateY(-2px);
  color: var(--btn-hover-text, #fff);
}

.btn:hover::after, .blob-btn:hover::after {
  transition: all 0.3s;
  left: 0;
  top: 0;
  border-radius: 30px;
}

.blob-btn__inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 30px;
  z-index: -1;
  background: #ffffff;
}

.blob-btn__blobs {
  position: relative;
  display: block;
  height: 100%;
  filter: url('#goo');
}

.blob-btn__blob {
  position: absolute;
  top: 2px;
  width: 25%;
  height: 100%;
  background: var(--btn-bg, #4f46e5);
  border-radius: 100%;
  transform: translate3d(0, 150%, 0) scale(1.7);
  transition: transform 0.45s ease;
}

.blob-btn__blob:nth-child(1) {
  left: 0;
  transition-delay: 0s;
}

.blob-btn__blob:nth-child(2) {
  left: 30%;
  transition-delay: 0.08s;
}

.blob-btn__blob:nth-child(3) {
  left: 60%;
  transition-delay: 0.16s;
}

.blob-btn__blob:nth-child(4) {
  left: 90%;
  transition-delay: 0.24s;
}

.btn:hover .blob-btn__blob, .blob-btn:hover .blob-btn__blob {
  transform: translateZ(0) scale(1.4);
}

.btn:focus-visible, .blob-btn:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.25);
  outline-offset: 3px;
}

.btn-primary {
  --btn-text: #000;
  --btn-border: var(--primary);
  --btn-bg: #fff;
  --btn-hover-text: #000;
}

.btn-secondary {
  --btn-text: #0f172a;
  --btn-border: #d1d5db;
  --btn-bg: #e5e7eb;
  --btn-hover-text: #0f172a;
}

.btn-light {
  --btn-text: #0f172a;
  --btn-border: #d1d5db;
  --btn-bg: #ffffff;
  --btn-hover-text: #0f172a;
}

.btn-outline {
  --btn-text: #fff;
  --btn-border: rgba(255, 255, 255, 0.35);
  --btn-bg: #ffffff;
  --btn-hover-text: #0f172a;
}

.hero {
  margin-top: 0;
  padding-top: 140px;
  padding-bottom: 0;
  min-height: calc(100vh - 140px);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero h1,
.hero .hero-text {
  color: #0b2141;
  text-shadow: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: stretch;
  text-align: left;
  min-height: 100vh;
  padding: 0;
}

.hero-content {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  padding: 0 0 0 0;
  position: relative;
  z-index: 1;
  text-align: left;
  justify-self: start;
  align-self: center;
  margin-left: -3rem;
}

.hero h1 {
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 1.1;
}

.hero-text {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  max-width: 720px;
  margin: 0;
  will-change: transform;
}

.hero-content h1,
.hero-content .hero-text {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-content.animate h1,
.hero-content.animate .hero-text {
  opacity: 1;
  transform: translateY(0);
}

.hero-card {
  position: absolute;
  top: -94px;
  bottom: 1.5rem;
  left: calc(50% - 50vw - 6rem);
  right: 0;
  border-radius: 48px;
  background: rgb(0, 200, 133);
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  z-index: -1;
}

.hero-actions-centered {
  justify-content: flex-start;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.hero-text,
.section-heading p,
.cta-card p,
.timeline-step p,
.tab-panel p,
.site-footer p,
.site-footer li,
.trust-row p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-image-banner {
  position: relative;
  width: min(420px, 100%);
  height: auto;
  border-top: none;
  clip-path: none;
  transition: clip-path 0.24s ease;
  z-index: 1;
  justify-self: end;
  align-self: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow: hidden;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-stack__item {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hero-image-stack__item--base {
  z-index: 1;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
}

.hero-image-stack__item--mid,
.hero-image-stack__item--top {
  display: none;
}

.hero-image-stack__item:hover {
  transform: translateY(-2px) scale(1.01);
}



.placeholder-illustration::before {
  width: 220px;
  height: 220px;
  top: -60px;
  right: -40px;
}

.placeholder-illustration::after {
  width: 160px;
  height: 160px;
  bottom: -50px;
  left: -30px;
}

.section-heading {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  margin-bottom: 0.75rem;
}

.partner-section .partner-copy {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.partner-subtitle {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.partner-section h2 {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.partner-logo img {
  display: inline-block;
  max-width: 900px;
  width: 100%;
  height: auto;
}

.service-card-row {
  display: grid;
  gap: 1.5rem;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.service-card {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.service-card.reveal {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  will-change: transform, opacity;
}

.service-card.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.service-card-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  padding: 1rem;
  position: relative;
}

.service-card-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  padding: 1rem;
  position: relative;
}

.service-card-visual img {
  width: min(100%, 360px);
  height: auto;
  display: block;
}

.service-card-copy {
  display: grid;
  gap: 1rem;
}

.service-card--red {
  background: linear-gradient(180deg, #f54b4b 0%, #d12a2a 100%);
}

.service-card--dark {
  background: linear-gradient(180deg, #202020 0%, #0d0d0d 100%);
}

.service-card--blue {
  background: linear-gradient(180deg, #1a2b91 0%, #0f1960 100%);
}

.service-card-copy .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

.service-card-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  line-height: 1.05;
}

.service-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
}

.service-feature-list li::before {
  content: '•';
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.service-card-btn {
  width: max-content;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-card-btn--dark {
  background: rgba(15, 23, 42, 0.9);
  color: white;
}

.service-card-btn--purple {
  background: #7c3aed;
  color: white;
}

.service-card-btn--gold {
  background: #c29933;
  color: white;
}

.service-card-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card-visual {
    min-height: 220px;
  }
}

@media (max-width: 700px) {
  .service-card {
    padding: 1.5rem;
  }
}

.slider-visual-1 {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.95), transparent 40%), rgba(249, 250, 255, 1);
}

.slider-visual-2 {
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.9), transparent 35%), rgba(74, 42, 125, 0.9);
}

.slider-visual-3 {
  background: radial-gradient(circle at 24% 26%, rgba(255,255,255,0.95), transparent 35%), rgba(255, 164, 74, 0.95);
}

.visual-circle,
.visual-lines,
.visual-pig {
  position: relative;
}

.visual-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.15);
}

.visual-lines {
  width: 100%;
  height: 100%;
}

.visual-lines::before,
.visual-lines::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 8px;
  background: rgba(255, 255, 255, 0.65);
  left: 10%;
}

.visual-lines::before { top: 34%; }

.visual-lines::after { top: 56%; }

.visual-pig {
  width: 180px;
  height: 120px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 42% 42% 53% 53%;
}

.visual-bubbles {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  padding: 2rem;
}

.visual-bubbles span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.16);
}

.service-copy {
  display: grid;
  gap: 1rem;
}

.service-copy h3 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.service-copy ul {
  padding-left: 1.1rem;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.service-copy a {
  max-width: fit-content;
  margin-top: 0.5rem;
}

.service-note {
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  z-index: 1;
}

.slider-label {
  min-width: 220px;
  border-radius: 999px;
  padding: 1rem 1.75rem;
}

.slider-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, background 180ms ease;
}

.slider-btn:hover {
  transform: translateY(-2px);
  background: white;
}

@media (max-width: 900px) {
  .slider-track {
    padding: 1.5rem 1.25rem 1rem;
  }

  .slider-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .slider-visual {
    min-height: 260px;
  }

  .service-copy h3 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .slider-controls {
    flex-direction: column;
  }

  .slider-label {
    min-width: auto;
    width: 100%;
  }

  .slider-frame {
    border-radius: 24px;
  }

  .slider-stack {
    display: none;
  }
}

.feature-card {
  padding: 1.6rem;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 24, 39, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.12);
}

.card-green { background: var(--green); }
.card-purple { background: var(--purple); }
.card-orange { background: var(--orange); }
.card-blue { background: var(--blue); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card ul {
  padding-left: 1rem;
  margin: 0 0 1rem;
}

.feature-card a {
  font-weight: 600;
  color: var(--primary-dark);
}

.trust-strip {
  padding-top: 0;
}

.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-pills span {
  background: var(--surface-2);
  color: var(--primary-dark);
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
}

.marquee-section {
  padding-top: 0;
}

.horizontal-scroll-section {
  padding-top: 0;
}

.horizontal-stage {
  overflow: hidden;
  padding: 0.5rem 0 1rem;
}

.horizontal-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

.horizontal-card {
  min-width: 260px;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.accent-green { background: var(--green); }
.accent-purple { background: var(--purple); }
.accent-orange { background: var(--orange); }
.accent-blue { background: var(--blue); }

.marquee {
  overflow: hidden;
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  border-radius: 0;
  background: transparent;
  border: none;
  padding: 0.75rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  background: transparent;
  font-weight: 600;
  flex: 0 0 auto;
}

.marquee-track span img {
  display: block;
  height: 110px;
  width: auto;
  max-width: 240px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-step {
  background: linear-gradient(180deg, var(--surface), #f9fbff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.timeline-step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #818cf8);
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tab-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.tab-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.case-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.case-label {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-metrics div {
  min-width: 120px;
  background: var(--surface-2);
  border-radius: 16px;
  padding: 0.85rem 1rem;
}

.case-metrics strong {
  display: block;
  font-size: 1rem;
}

.case-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.tab-panel[hidden] {
  display: none;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary), #0f766e);
  color: white;
  border-radius: calc(var(--radius) + 8px);
  padding: 2.5rem;
  box-shadow: 0 24px 55px rgba(79, 70, 229, 0.22);
}

.cta-card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cta-card .eyebrow,
.cta-card p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.site-footer {
  padding: 64px 0 24px;
  background: linear-gradient(180deg, #d5eed6 0%, #b8dfb9 100%);
  border-top: none;
}

.page-home .site-footer,
.page-widgets .site-footer,
.page-edesign .site-footer {
  background: linear-gradient(180deg, #d5eed6 0%, #b8dfb9 100%);
}

.page-kundtjanst .site-footer {
  background: linear-gradient(180deg, #ffe8d8 0%, #f9dcc8 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr 1fr;
  gap: 1.5rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
}

.footer-brand img.logo-img {
  display: block;
  width: 320px;
  max-width: 40vw;
  height: auto;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--primary-dark);
  font-weight: 700;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
  width: 100%;
  background: var(--surface);
}

.contact-form textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 110px;
}

.contact-card {
  margin-top: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.contact-grid > div {
  min-height: 460px;
}

.contact-copy {
  background: transparent;
  display: grid;
  gap: 1rem;
}

.contact-copy .eyebrow {
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #6b21a8;
  font-weight: 700;
}

.contact-copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.03;
  margin: 0;
}

.contact-copy p {
  color: #334155;
  max-width: 46rem;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 22px;
  background: #f5f3ff;
}

.contact-note-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2e8ff;
  font-size: 1.2rem;
}

.contact-note-text strong {
  display: block;
  margin-bottom: 0.15rem;
}

.contact-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  height: 100%;
  margin-top: 0;
}

.contact-card .contact-note {
  margin-top: 1.5rem;
}

.contact-map {
  min-height: 460px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  color: #111827;
}

.contact-form label span {
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.15rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f8f7ff;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 150px;
  border-radius: 24px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.contact-form .btn {
  width: fit-content;
  padding: 1rem 2rem;
}


.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .footer-grid,
  .timeline,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .hero-grid {
    gap: 0.75rem;
    text-align: center;
    align-items: flex-start;
    max-width: 100%;
    min-height: auto;
  }

  .hero-content {
    margin-left: 0;
    justify-self: center;
    align-self: flex-start;
    padding: 0 1rem 0.25rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-banner {
    display: none;
  }

  .hero-image-stack {
    min-height: 110px;
    justify-content: center;
  }

  .hero-image-stack__item--base {
    width: 50%;
  }

  .hero-card {
    display: none;
  }

  .marquee-section {
    display: none;
  }

  .contact-card,
  .contact-copy {
    padding: 1.5rem;
  }

  .service-card-btn {
    width: 100%;
    justify-content: center;
  }

  .service-card-text,
  .contact-copy p,
  .contact-copy h2,
  .partner-copy,
  .footer-brand img.logo-img {
    max-width: 100%;
  }

  .newsletter-form button,
  .contact-form .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .site-header .container {
    padding: 0 1rem;
  }

  .nav-bar {
    min-height: 72px;
  }

  .hero {
    padding-top: calc(1rem + 8.5rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: 0.5rem;
  }

  .hero-text {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    line-height: 1.5;
    margin-bottom: 0.9rem;
    max-width: 100%;
  }

  .hero-content {
    padding: 0 0.75rem 0.25rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-actions .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
    gap: 0.3rem;
  }

  .hero-image-banner,
  .hero-image-stack,
  .hero-image-banner img,
  .hero-image-stack__item {
    display: none !important;
  }

  .hero-image-banner {
    min-height: 90px;
    width: min(110px, 100%);
    max-width: 100%;
    margin-bottom: 0.25rem;
    justify-self: center;
  }

  .hero-image-stack {
    min-height: 120px;
  }

  .hero-image-stack__item--base,
  .hero-image-stack__item--mid,
  .hero-image-stack__item--top {
    width: 100%;
  }

  .hero-image-stack__item--base {
    width: 50%;
  }

  .hero-image-stack__item--mid {
    top: 6%;
    left: 0;
    transform: rotate(0deg);
  }

  .hero-image-stack__item--top {
    width: 86%;
    top: 16%;
    right: 0;
    transform: rotate(0deg);
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-card-visual {
    min-height: 200px;
  }

  .contact-copy p,
  .contact-copy h2,
  .service-card-text {
    max-width: 100%;
  }

  .contact-note {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-note-text {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-brand img.logo-img {
    max-width: 240px;
    width: 100%;
  }

  .newsletter-form {
    gap: 0.75rem;
  }

  .newsletter-form button,
  .contact-form .btn {
    width: 100%;
  }
}


/* Kundtjänst: match widget-font */
.page-kundtjanst {
  font-family: 'Inter', sans-serif;
  color: #0f172a;
}

.page-kundtjanst .eyebrow,
.page-kundtjanst .topic-copy p,
.page-kundtjanst .topic-section p,
.page-kundtjanst .cta-card p {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
  max-width: 70ch;
}

.page-kundtjanst .topic-copy h2,
.page-kundtjanst .topic-section h3,
.page-kundtjanst .page-hero h1 {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1220;
  margin-top: 0;
}

.page-kundtjanst .page-hero h1 {
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.page-kundtjanst .topic-copy h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.page-kundtjanst .topic-copy > p {
  margin-bottom: 2rem;
}

.page-kundtjanst .topic-section h3 {
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
}

/* Center text and CTAs on kundtjanst page */
.page-kundtjanst .page-hero-grid > div,
.page-kundtjanst .topic-copy,
.page-kundtjanst .topic-section,
.page-kundtjanst .eyebrow {
  text-align: center;
}

.page-kundtjanst main {
  padding-top: 0;
}

.page-kundtjanst .topic-copy .btn,
.page-kundtjanst .service-cta {
  display: inline-block;
  margin: 1rem auto 0;
}

@media (min-width: 1000px) {
  .page-kundtjanst .page-hero h1 {
    font-size: 3rem;
  }
}

/* Force center inside topic-copy to override competing rules */
.page-kundtjanst .topic-copy,
.page-kundtjanst .topic-copy * {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-kundtjanst .topic-copy,
.page-kundtjanst .topic-section {
  margin-bottom: 2.5rem;
}

.page-kundtjanst main {
  padding-top: 0;
}

.page-kundtjanst .topic-copy {
  margin-top: 2.5rem;
}

.page-kundtjanst .topic-section h3 {
  margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
  .slider-widget {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }

  .slider-btn.prev {
    left: 0.5rem;
  }

  .slider-btn.next {
    right: 0.5rem;
  }

  .slider-frame {
    margin: 0 3rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-actions {
    position: absolute;
    top: 74px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-actions.is-open {
    display: flex;
  }

  .page-kundtjanst .nav-actions,
  .page-kundtjanst .nav-actions.is-open,
  .page-kundtjanst .site-header .container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .main-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .card-grid,
  .hero-grid,
  .footer-grid,
  .timeline,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    margin-top: 0;
    min-height: auto;
    padding-top: calc(1rem + 10rem);
  }

  .cta-card {
    padding: 2rem;
  }

  .cta-card-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card-actions {
    justify-content: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
