/* =====================================================
   CAMKAB – Premium stylesheet
   Color palette:
   --cyan:   #4BC8DC  (logo accent)
   --dark:   #141414  (primary dark)
   --dark2:  #1e1e1e  (card dark)
   --dark3:  #2a2a2a  (border dark)
   --light:  #f7f8f9
   --text:   #e8e8e8
   --muted:  #8a8a8a
===================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cyan:      #4BC8DC;
  --cyan-dark: #35a8ba;
  --dark:      #141414;
  --dark2:     #1e1e1e;
  --dark3:     #2a2a2a;
  --dark4:     #323232;
  --light:     #f7f8f9;
  --light2:    #edf0f2;
  --text-dark: #1a1a1a;
  --text-light: #e8e8e8;
  --muted:     #8a8a8a;
  --white:     #ffffff;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
  --max-w:     1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--dark);
  color: var(--text-light);
}

.section--light {
  background: var(--light);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section__header--light .section__title,
.section--dark .section__title {
  color: var(--white);
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section__lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section__lead {
  color: #a0a0a0;
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--cyan);
  color: var(--dark);
  border-color: var(--cyan);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(75,200,220,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn--wide {
  width: 100%;
  padding: 16px;
}

/* ── NAVIGATION ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(20, 20, 20, 0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__logo-svg {
  width: auto;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

.nav__brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--cyan);
}

.nav__cta {
  background: var(--cyan) !important;
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: var(--cyan-dark) !important;
  color: var(--dark) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: var(--dark);
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(75,200,220,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(75,200,220,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__logo {
  width: 110px;
  height: 110px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 24px rgba(75,200,220,0.3));
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.1rem;
  color: #a0a8b0;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--dark3);
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat__num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── SERVICES ───────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(0,0,0,0.18);
  border-left: 1px solid rgba(0,0,0,0.18);
}

@media (max-width: 680px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: transparent;
  border-right: 1px solid rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.18);
  border-radius: 0;
  padding: 40px 36px;
  transition: none;
  position: static;
  overflow: visible;
}

.service-card::before {
  display: none;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(75,200,220,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  stroke: var(--cyan);
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card__list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ── VALUE GRID ─────────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.value-item:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

.value-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(75,200,220,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
}

.value-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--cyan);
}

.value-item__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.value-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
}

.value-item p {
  font-size: 0.88rem;
  color: rgba(232,232,232,0.55);
  line-height: 1.65;
}

/* ── VARFÖR LAYOUT ──────────────────────────────────── */
.varfor__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.varfor__intro {
  position: sticky;
  top: 100px;
}

.varfor__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-top: 12px;
}

/* ── ABOUT ──────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.about__text p {
  color: #444;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__lead {
  font-size: 1.1rem !important;
  color: #333 !important;
  font-weight: 400;
}

.about__career {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.career-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 3px solid var(--cyan);
}

.career-item__year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-dark);
  white-space: nowrap;
  min-width: 90px;
  padding-top: 1px;
}

.career-item__role {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.about__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 100px;
}

.about__logo-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.about__logo {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border-radius: 50%;
}

.about__quote {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border-left: 3px solid var(--cyan);
}

.about__quote blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: #333;
  line-height: 1.7;
  margin-bottom: 8px;
}

.about__quote cite {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-dark);
  font-style: normal;
}

/* ── SKILLS / KOMPETENS ─────────────────────────────── */

.section--kompetens {
  background: #0d1117;
}

.section--kompetens .container {
  position: relative;
}

.section--kompetens .section__eyebrow {
  color: var(--cyan);
}

.komp__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}

.komp__intro {
  position: sticky;
  top: 100px;
}

.komp__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 12px 0 16px;
}

.komp__lead {
  font-size: 0.95rem;
  color: rgba(232,232,232,0.5);
  line-height: 1.7;
}

.komp__skills {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.komp__group {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.komp__group:first-child {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.komp__group-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-top: 2px;
}

.komp__group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.komp__group-items span {
  font-size: 0.9rem;
  color: rgba(232,232,232,0.75);
}

.komp__refs {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 48px;
}

.komp__refs-label {
  margin-bottom: 28px !important;
  display: block;
}

.komp__ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.komp__ref-item {
  padding: 0 28px 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.komp__ref-item:first-child {
  padding-left: 0;
}

.komp__ref-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 28px;
}

.komp__ref-item:not(:first-child):not(:last-child) {
  padding-left: 28px;
}

.komp__ref-client {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.komp__ref-item p {
  font-size: 0.88rem;
  color: rgba(232,232,232,0.55);
  line-height: 1.65;
}

/* ── CONTACT ────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact__lead {
  font-size: 1.05rem;
  color: #a0a0a0;
  margin-bottom: 32px;
  line-height: 1.75;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition);
}

.contact__item:hover {
  color: var(--cyan);
}

.contact__item svg {
  width: 20px;
  height: 20px;
  stroke: var(--cyan);
  flex-shrink: 0;
}

/* ── FORM ───────────────────────────────────────────── */
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #b0b0b0;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  background: var(--dark2);
  border: 1px solid var(--dark4);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-light);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(75,200,220,0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e05555;
}

.form__note {
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.4em;
  color: var(--cyan);
}

.form__note.error {
  color: #e05555;
}

/* ── CONTACT (light bg overrides) ───────────────────── */
#kontakt.section--light .contact__lead {
  color: #555;
}

#kontakt.section--light .contact__item {
  color: var(--text-dark);
}

#kontakt.section--light .form-group label {
  color: #444;
}

#kontakt.section--light .form-group input,
#kontakt.section--light .form-group textarea {
  background: #fff;
  border-color: #dde2e8;
  color: var(--text-dark);
}

#kontakt.section--light .form-group input::placeholder,
#kontakt.section--light .form-group textarea::placeholder {
  color: #aaa;
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  background: #0e0e0e;
  padding: 48px 0 32px;
  color: #666;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.7;
}

.footer__brand strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.footer__brand p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer__nav a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--cyan);
}

.footer__copy {
  font-size: 0.78rem;
  color: #444;
  border-top: 1px solid #1e1e1e;
  padding-top: 24px;
  text-align: center;
}

/* ── HERO BACKGROUND IMAGE ──────────────────────────── */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.22) saturate(0.6);
}

/* Keep the radial gradient overlay on top */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(75,200,220,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(75,200,220,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* ── PHOTO STRIP ────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 280px;
  overflow: hidden;
}

.photo-strip__img {
  overflow: hidden;
  position: relative;
}

.photo-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.photo-strip__img:hover img {
  transform: scale(1.04);
}

/* ── VARFÖR DARK SECTION WITH PHOTO BG ─────────────── */
.section--dark {
  position: relative;
  overflow: hidden;
}

.varfor__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.varfor__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.12) saturate(0.4);
}

.section--dark .container {
  position: relative;
  z-index: 1;
}

/* ── ABOUT SITE PHOTO ────────────────────────────────── */
.about__site-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.about__site-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about__site-photo:hover > img {
  transform: scale(1.03);
}

.about__site-logo {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.about__site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* ── ANIMATIONS ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about__visual {
    position: static;
  }

  .photo-strip {
    height: 200px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .photo-strip {
    grid-template-columns: 1fr;
    height: 220px;
  }

  .photo-strip__img:not(:first-child) {
    display: none;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
    text-align: center;
  }

  .nav__links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav__cta {
    margin: 8px 24px 0;
    border-radius: 6px !important;
    background: var(--cyan) !important;
  }

  .nav__toggle {
    display: flex;
  }

  .nav {
    padding: 16px 0;
  }

  .hero__stats {
    gap: 28px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .contact__form {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .varfor__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .varfor__intro {
    position: static;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .ref-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }

  .hero__logo {
    width: 80px;
    height: 80px;
  }

  .stat__num {
    font-size: 1.6rem;
  }

  .btn {
    padding: 13px 24px;
  }
}

/* ══════════════════════════════════════════════════════
   KALKYLRADAR
══════════════════════════════════════════════════════ */

.risk-radar__section {
  background: #0d1117;
  overflow: hidden;
  position: relative;
}

/* Subtle grid texture */
.risk-radar__section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75,200,220,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,200,220,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow orbs */
.risk-radar__section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 22% 60%, rgba(75,200,220,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 35% 45% at 80% 25%, rgba(1,159,221,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 25% 35% at 65% 85%, rgba(75,200,220,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.risk-radar__section .container {
  position: relative;
  z-index: 1;
}

.risk-radar__section .section__eyebrow {
  color: var(--cyan);
}

.risk-radar__section .section__title {
  color: var(--text-light);
}

.risk-radar__section .section__lead {
  color: rgba(232,232,232,0.65);
  max-width: 560px;
}

.risk-radar__body {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
  position: relative;
}

.risk-radar__connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

.risk-radar__connector-line {
  stroke: rgba(75,200,220,0.45);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
  fill: none;
}

/* ── Canvas ──────────────────────────────────────────── */

.risk-radar__canvas {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(75,200,220,0.04) 0%, rgba(20,20,20,0.6) 70%, transparent 100%);
  flex-shrink: 0;
}

/* Rings */
.risk-radar__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--rr-size);
  height: var(--rr-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(75,200,220,0.18);
  pointer-events: none;
}

/* Grid lines */
.risk-radar__grid-line {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(75,200,220,0.12);
  pointer-events: none;
}

.risk-radar__grid-line--h {
  width: 100%;
  height: 1px;
  transform: translate(-50%, -50%);
}

.risk-radar__grid-line--v {
  width: 1px;
  height: 100%;
  transform: translate(-50%, -50%);
}

.risk-radar__grid-line--d1 {
  width: 141.4%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.risk-radar__grid-line--d2 {
  width: 141.4%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Scan beam */
.risk-radar__beam {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(75,200,220,0.55) 0deg,
    rgba(75,200,220,0.18) 28deg,
    rgba(75,200,220,0.04) 55deg,
    transparent 70deg,
    transparent 360deg
  );
  animation: rr-spin 5s linear infinite;
  pointer-events: none;
}

@keyframes rr-spin {
  to { transform: rotate(360deg); }
}

/* Center dot */
.risk-radar__center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--cyan);
  pointer-events: none;
}

/* Risk points */
.risk-radar__point {
  position: absolute;
  left: var(--rr-x);
  top: var(--rr-y);
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.2s ease;
}

.risk-radar__point:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.risk-radar__dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 0 0 0 rgba(75,200,220,0.5);
  animation: rr-pulse 2.8s ease-out infinite;
  transition: background 0.2s, transform 0.2s;
}

.risk-radar__point:nth-child(6) .risk-radar__dot { animation-delay: 0s; }
.risk-radar__point:nth-child(7) .risk-radar__dot { animation-delay: 0.55s; }
.risk-radar__point:nth-child(8) .risk-radar__dot { animation-delay: 1.1s; }
.risk-radar__point:nth-child(9) .risk-radar__dot { animation-delay: 1.65s; }
.risk-radar__point:nth-child(10) .risk-radar__dot { animation-delay: 2.2s; }

@keyframes rr-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(75,200,220,0.5); }
  60%  { box-shadow: 0 0 0 12px rgba(75,200,220,0); }
  100% { box-shadow: 0 0 0 0 rgba(75,200,220,0); }
}

.risk-radar__point.is-active .risk-radar__dot,
.risk-radar__point:hover .risk-radar__dot {
  background: var(--cyan);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(75,200,220,0.35), 0 0 16px rgba(75,200,220,0.6);
}

/* Counter */
.risk-radar__counter {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.risk-radar__count {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.risk-radar__count-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(232,232,232,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
  line-height: 1.4;
}

/* ── Info panel ───────────────────────────────────────── */

.risk-radar__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
}

.risk-radar__panel-idle {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: rgba(232,232,232,0.35);
  transition: opacity 0.3s ease;
}

.risk-radar__panel-idle svg {
  color: rgba(75,200,220,0.35);
  flex-shrink: 0;
}

.risk-radar__panel-idle p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.risk-radar__panel-info {
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: rr-fade-in 0.3s ease;
}

.risk-radar__panel-info.is-visible {
  display: flex;
}

@keyframes rr-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.risk-radar__panel-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(75,200,220,0.1);
  border: 1px solid rgba(75,200,220,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

.risk-radar__panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.risk-radar__panel-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(75,200,220,0.25), 0 0 12px rgba(75,200,220,0.5);
  flex-shrink: 0;
}

.risk-radar__panel-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.25;
}

.risk-radar__panel-desc {
  font-size: 0.95rem;
  color: rgba(232,232,232,0.65);
  line-height: 1.75;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 960px) {
  .risk-radar__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .risk-radar__canvas {
    max-width: 380px;
    margin: 0 auto;
  }

  .risk-radar__panel {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .risk-radar__canvas {
    max-width: 320px;
  }

  .risk-radar__panel-title {
    font-size: 1.2rem;
  }

  .komp__layout { grid-template-columns: 1fr; gap: 32px; }
  .komp__intro { position: static; }
  .komp__group { grid-template-columns: 1fr; gap: 8px; }
  .komp__ref-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .komp__ref-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 0 24px 0 !important; }
  .komp__ref-item:last-child { border-bottom: none; padding-bottom: 0 !important; }
}
