/* Startsidan */
.sektion-topp { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sektion-topp h2 { font-size: clamp(34px, 4.4vw, 56px); }
.sektion-topp p { margin: 16px auto 0; max-width: 36em; color: color-mix(in srgb, var(--text) 72%, transparent); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 24px 96px; }
.hero-in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; }
.hero-text { max-width: 640px; }
.hero-text h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: 1.02; }
.hero-text p { font-size: 19px; max-width: 30em; margin: 24px 0 36px; color: color-mix(in srgb, var(--text) 75%, transparent); }
.hero-knappar { display: flex; gap: 12px; flex-wrap: wrap; }
/* Med bild/video: helbild, mörk tona till vänster så texten alltid går att läsa */
.hero.med-media { min-height: min(78vh, 720px); display: flex; align-items: flex-end; padding-top: 120px; padding-bottom: 88px; background: var(--mork); color: #fff; }
.hero.med-media .hero-in { width: 100%; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.med-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.38) 45%, rgba(10,10,10,0) 75%),
  linear-gradient(0deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 45%); }
  .hero.med-media .hero-text p { color: rgba(255,255,255,0.86); }
  .hero.med-media h1 { text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
  /* Utan bakgrund: svart text, centrerad, svart knapp */
  .hero.hero-ren { color: #1c1c1c; text-align: center; }
  .hero.hero-ren .hero-text { margin: 0 auto; max-width: 760px; }
  .hero.hero-ren .hero-text h1 { color: #1c1c1c; }
  .hero.hero-ren .hero-text p { margin-left: auto; margin-right: auto; color: color-mix(in srgb, #1c1c1c 78%, transparent); }
  .hero.hero-ren .hero-knappar { justify-content: center; }
  .hero.hero-ren .knapp { background: #1c1c1c; color: #fff; border-color: #1c1c1c; }
  .hero.hero-ren .knapp:hover { background: #3a3a3a; border-color: #3a3a3a; color: #fff; }

  /* Produkter */
  .produkter { padding: 96px 24px; }
  .prod-rutnat { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
  .prod { margin: 0; position: relative; background: #fff; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
  .prod.stor { grid-row: span 2; aspect-ratio: auto; }
  .prod img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
  .prod:not(.stor) img { object-fit: contain; padding: 6%; }
  .prod:hover img { transform: scale(1.04); }
  .prod figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; font-size: 14px; font-weight: 500; }
  .prod figcaption { display: inline-block; width: fit-content; max-width: calc(100% - 28px); background: rgba(255,255,255,0.92); padding: 6px 12px; border-radius: 999px; }
  .prod-rutnat .prod:nth-child(n+2) { aspect-ratio: 1 / 1; }
  /* Små rutor: bild ovanför, namnet under (krockar aldrig med produkten) */
  .prod:not(.stor) { display: flex; flex-direction: column; }
  .prod:not(.stor) img { flex: 1; min-height: 0; }
  .prod:not(.stor) figcaption { position: static; max-width: none; width: auto; background: none; padding: 0 16px 16px; border-radius: 0; }

  /* Partner */
  .partners { padding: 72px 24px; text-align: center; }
  .partners h2 { font-size: 28px; margin-bottom: 32px; }
  .partner-rad { display: flex; flex-wrap: wrap; gap: 48px; justify-content: center; align-items: center; }
  .partner-rad img { height: 44px; width: auto; filter: grayscale(1); opacity: 0.75; }

  /* Frågor */
  .fragor { padding: 96px 24px; background: var(--yta); }
  .faq { max-width: 820px; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--text) 20%, transparent); }
  .faq details { border-bottom: 1px solid color-mix(in srgb, var(--text) 20%, transparent); }
  .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 500; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: '+'; font-size: 26px; line-height: 1; transition: transform 0.2s; }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq p { margin: 0 0 24px; color: color-mix(in srgb, var(--text) 75%, transparent); max-width: 40em; }

  @media (max-width: 900px) {
    .hero { padding: 40px 16px 64px; }
    .hero.med-media { min-height: 560px; padding: 96px 16px 48px; }
    .hero.med-media::after { background: linear-gradient(0deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.45) 55%, rgba(10,10,10,0.15) 100%); }
    .hero-text p { font-size: 17px; margin: 18px 0 28px; }
    .fragor, .produkter { padding: 64px 16px; }
    .prod-rutnat { grid-template-columns: 1fr 1fr; gap: 12px; }
    .prod.stor { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  }
