/* HEMSIDAN (views/hemsida), riktning A4 sedan 2026-10-08 (Joakim: "modernare och mer
   teknologisk men fortfarande med värme"). Ljust salviagrönt, Familjen Grotesk för det Samna
   säger och EB Garamond kursiv för det människor säger. Det tekniska visas som det riktiga:
   kortet, telefonen och rummet, inte som pynt. Fortfarande inga pilar, inga ikoner, inga
   numrerade steg, inga spärrade versaler och inga rutor runt styckena. Ett ljust tema med flit. */

:root {
  color-scheme: light;
  --grund: #e7ece6;
  --yta: #f7f9f6;
  --salvia: #d5ddd4;
  --papper: #f4f1ea;
  --ink: #16201c;
  --text2: #3e4a44;
  --mjuk: #4f5b55;
  --linje: #c8d1c9;
  --tidslinje: #b9c6bc;
  --ros: #8a2d52;
  --mork: #16201c;
  --mork-text: #eef2ec;
  --mork-mjuk: #c9d3cc;
  --grotesk: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --garamond: 'EB Garamond', Garamond, Georgia, serif;
  --spalt: 680px;
  --bred: 1200px;
  --kant: clamp(20px, 5vw, 48px);
  --skugga: 0 2px 4px rgba(22, 32, 28, .08), 0 22px 44px rgba(22, 32, 28, .18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.hemsida {
  margin: 0;
  background: var(--grund);
  color: var(--ink);
  font-family: var(--grotesk);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.hemsida img { max-width: 100%; height: auto; display: block; }
.hemsida a { color: inherit; text-decoration-color: var(--tidslinje); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.hemsida a:hover { color: var(--ros); text-decoration-color: currentColor; }
.hemsida a:focus-visible, .hemsida button:focus-visible, .hemsida input:focus-visible { outline: 2px solid var(--ros); outline-offset: 3px; }

/* ---------- Typografin ---------- */

.hemsida h1, .hemsida h2, .hemsida h3 { font-weight: 700; text-wrap: balance; margin: 0; }
.hemsida h1 { font-size: clamp(54px, 11.4vw, 152px); line-height: .9; letter-spacing: -.055em; }
/* I den smala spalten (tillfällen och texter) en rubrik som ryms i spalten. */
.spalt h1 { font-size: clamp(42px, 7vw, 72px); line-height: .98; letter-spacing: -.045em; }
.hemsida h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1; letter-spacing: -.04em; }
.hemsida h3 { font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.015em; }
.hemsida p { margin: 0; }
/* Sidans ämne, i klartext: ingen etikett i spärrade versaler. */
.etikett { font-weight: 600; font-size: 16px; color: var(--ros); }
.ingress { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.5; max-width: 30em; }
.mjuk { color: var(--mjuk); }
.liten { font-size: 15px; line-height: 1.5; color: var(--mjuk); }

/* ---------- Ramen ---------- */

.topp, .fot, .spalt, .bred { padding-inline: var(--kant); margin-inline: auto; width: 100%; }
.spalt { max-width: calc(var(--spalt) + 2 * var(--kant)); }
.bred { max-width: calc(var(--bred) + 2 * var(--kant)); }
.topp { max-width: calc(var(--bred) + 2 * var(--kant)); padding-block: 22px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; }
.topp.spalt-topp { max-width: calc(var(--spalt) + 2 * var(--kant)); }
.marke { font-weight: 700; font-size: 26px; letter-spacing: -.035em; text-decoration: none; }
/* Penselloggan (2026-10-11), samna-kortdesign/logotyp. Höjden styr, bredden följer. */
.marke img { display: block; height: 47px; width: auto; }
.hemsida .marke:hover { color: var(--ink); }
.slogan { color: var(--mjuk); font-size: 16px; }
.lasbredd > * { max-width: var(--spalt); }

main.sida { display: flex; flex-direction: column; gap: clamp(80px, 11vw, 140px); padding-block: clamp(28px, 6vw, 64px) clamp(72px, 10vw, 120px); }
.avsnitt { display: flex; flex-direction: column; gap: 18px; }
.avsnitt > h2 { margin-bottom: 6px; }
.foljd { margin-top: 48px; }

/* ---------- Öppningen: rubriken, ingressen och intresselistan ---------- */

.oppning-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.oppning-text { display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 30px); }
.oppning h1 { font-size: clamp(54px, 7.4vw, 104px); }
.kort { box-shadow: var(--skugga); }

/* ---------- Karusellen (_karusell.ejs, hemsida/karusell.js) ----------
   Scenen ritas i datorns mått (660 x 712) eller telefonens (358 x 616) och skalas till bredden: --p är en
   bildpunkt i scenens eget mått. Allt rör sig i ett varv på 48 sekunder, 12 per kort. */
.karusell { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.k-scen { position: relative; width: 100%; aspect-ratio: 660 / 740; container-type: inline-size; }
.k-inne { position: absolute; inset: 0; --p: calc(100cqw / 660); }
.k-bord { position: absolute; left: calc(28 * var(--p)); top: calc(118 * var(--p)); width: calc(632 * var(--p)); height: calc(520 * var(--p)); border-radius: calc(28 * var(--p)); background: radial-gradient(120% 90% at 30% 20%, #eef2ec 0%, #dde4da 55%, #cdd6ca 100%); box-shadow: inset 0 0 0 1px rgba(22, 32, 28, .05); }
.k-bild { position: absolute; inset: 0; opacity: 0; }
.k-bok { position: absolute; left: calc(36 * var(--p)); top: calc(268 * var(--p)); width: calc(420 * var(--p)); height: calc(296.1 * var(--p)); transform: rotate(-4deg); perspective: calc(1800 * var(--p)); }
.k-hoger, .k-omslag, .k-fram, .k-bak { position: absolute; display: block; background-size: cover; background-position: center; }
.k-hoger { left: 50%; top: 0; width: 50%; height: 100%; border-radius: 0 3px 3px 0; box-shadow: 0 34px 50px -26px rgba(22, 32, 28, .55), 0 6px 14px -6px rgba(22, 32, 28, .25); }
.k-omslag { left: 50%; top: 0; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; z-index: 2; }
.k-fram, .k-bak { inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 0 3px 3px 0; box-shadow: 0 34px 50px -26px rgba(22, 32, 28, .55), 0 6px 14px -6px rgba(22, 32, 28, .25); }
.k-bak { transform: rotateY(180deg); }
.k-spar { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.k-spar-telefon { display: none; }
.k-h { position: absolute; z-index: 3; background: var(--yta); border-radius: calc(14 * var(--p)); padding: calc(11 * var(--p)) calc(14 * var(--p)) calc(12 * var(--p)); box-shadow: 0 14px 28px -16px rgba(22, 32, 28, .45), 0 0 0 1px rgba(22, 32, 28, .06); }
.k-h0 { left: 0; top: calc(24 * var(--p)); width: calc(236 * var(--p)); }
.k-h1 { left: calc(268 * var(--p)); top: 0; width: calc(236 * var(--p)); }
.k-h2 { left: 0; top: calc(566 * var(--p)); width: calc(214 * var(--p)); }
.k-h3 { left: 0; top: calc(600 * var(--p)); width: calc(230 * var(--p)); }
.k-pott .k-h2 { left: calc(446 * var(--p)); top: calc(616 * var(--p)); width: calc(214 * var(--p)); }
.hemsida .k-vem { font-size: calc(14 * var(--p)); line-height: 1.4; color: var(--mjuk); }
.k-vem b { color: var(--ink); font-weight: 600; }
.hemsida .k-ord { font-family: var(--garamond); font-style: italic; font-size: calc(18 * var(--p)); line-height: 1.3; margin-top: calc(4 * var(--p)); color: var(--ink); }
.k-ljud, .k-film, .k-pk { display: flex; align-items: center; gap: calc(9 * var(--p)); margin-top: calc(7 * var(--p)); }
.k-play { width: calc(24 * var(--p)); height: calc(24 * var(--p)); border-radius: 50%; background: var(--ros); flex: none; position: relative; }
.k-play::after { content: ''; position: absolute; left: 38%; top: 30%; border-left: calc(8 * var(--p)) solid var(--yta); border-top: calc(5 * var(--p)) solid transparent; border-bottom: calc(5 * var(--p)) solid transparent; }
.k-staplar { display: flex; align-items: center; gap: 2px; height: calc(18 * var(--p)); flex: 1; }
.k-staplar span { flex: 1; border-radius: 1px; background: rgba(138, 45, 82, .45); }
.k-langd, .k-film > span:last-child, .k-pk > span:last-child { font-size: calc(13 * var(--p)); color: var(--mjuk); font-variant-numeric: tabular-nums; }
.k-tumme { position: relative; width: calc(92 * var(--p)); aspect-ratio: 16 / 10; border-radius: calc(7 * var(--p)); background-size: cover; background-position: center; flex: none; }
.k-spel { position: absolute; left: 50%; top: 50%; width: calc(24 * var(--p)); height: calc(24 * var(--p)); margin: calc(-12 * var(--p)) 0 0 calc(-12 * var(--p)); border-radius: 50%; background: rgba(255, 255, 255, .9); }
.k-spel::after { content: ''; position: absolute; left: 40%; top: 29%; border-left: calc(8 * var(--p)) solid var(--ros); border-top: calc(5 * var(--p)) solid transparent; border-bottom: calc(5 * var(--p)) solid transparent; }
.k-tumme em { position: absolute; right: calc(4 * var(--p)); bottom: calc(4 * var(--p)); font-style: normal; font-size: calc(10 * var(--p)); line-height: 1; color: #fff; background: rgba(0, 0, 0, .5); padding: calc(2 * var(--p)) calc(4 * var(--p)); border-radius: calc(4 * var(--p)); font-variant-numeric: tabular-nums; }
.hemsida .k-film .k-ord { margin-top: 0; font-size: calc(16 * var(--p)); }
.k-video { position: absolute; inset: 0; padding: 18cqw 9cqw 10cqw; display: flex; flex-direction: column; align-items: center; text-align: center; background: #f6f0e5; color: #3a2f29; font-family: var(--garamond); }
.k-video-bild { width: 100%; aspect-ratio: 3 / 4; margin-top: 4cqw; border-radius: 5cqw; background-size: cover; background-position: center; box-shadow: 0 3cqw 8cqw -3cqw rgba(0, 0, 0, .35); }
.hemsida .k-video-namn { margin-top: 5cqw; font-style: italic; font-size: 11cqw; line-height: 1; }
.hemsida .k-video-plats { margin-top: 1.5cqw; font-size: 5.4cqw; color: #6a5d55; }
.k-video-bar { width: 100%; height: 1.4cqw; margin: 5cqw 0 2cqw; border-radius: 1cqw; background: rgba(150, 82, 90, .25); overflow: hidden; }
.k-video-bar span { display: block; height: 100%; width: 26%; background: #96525a; }
.k-pk-kort { width: calc(62 * var(--p)); aspect-ratio: 240 / 170; border-radius: 3px; background-size: cover; flex: none; box-shadow: 0 4px 10px -4px rgba(22, 32, 28, .45); }
.telefon.k-tel { position: absolute; left: calc(470 * var(--p)); top: calc(196 * var(--p)); width: calc(190 * var(--p)); transform: rotate(8deg); z-index: 4; }
.k-kuv { position: absolute; inset: 0; padding: 24cqw 7cqw 12cqw; display: flex; flex-direction: column; align-items: center; background: #f6f0e5; font-family: var(--garamond); color: #3a2f29; }
.k-kuv-bild { width: 100%; aspect-ratio: 600 / 593; background-size: contain; background-repeat: no-repeat; margin-top: 6cqw; }
.k-kuv-spara { margin-top: 7cqw; padding: 3.4cqw 9cqw; border-radius: 999px; background: #efe3cf; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 5.2cqw; color: #1a1714; }
.hemsida .k-kuv-fran { margin-top: 5cqw; font-size: 6cqw; color: #6a5d55; }
.k-kamera { position: absolute; inset: 0; z-index: 2; background: #0b0b0b; overflow: hidden; }
.k-kamera-bild { position: absolute; width: 420cqw; aspect-ratio: 1200 / 846; left: -265cqw; background-size: cover; filter: brightness(.92) contrast(1.05) saturate(.9); }
.k-dim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0) 30cqw, rgba(0, 0, 0, .45) 75cqw); }
.k-horn { position: absolute; width: 82cqw; height: 82cqw; left: 9cqw; top: calc(40% - 41cqw); }
.k-horn i { position: absolute; width: 14cqw; height: 14cqw; border: 0 solid #f4d35e; }
.k-horn i.a { left: 0; top: 0; border-left-width: 1.6cqw; border-top-width: 1.6cqw; border-top-left-radius: 4cqw; }
.k-horn i.b { right: 0; top: 0; border-right-width: 1.6cqw; border-top-width: 1.6cqw; border-top-right-radius: 4cqw; }
.k-horn i.c { left: 0; bottom: 0; border-left-width: 1.6cqw; border-bottom-width: 1.6cqw; border-bottom-left-radius: 4cqw; }
.k-horn i.d { right: 0; bottom: 0; border-right-width: 1.6cqw; border-bottom-width: 1.6cqw; border-bottom-right-radius: 4cqw; }
.k-lank { position: absolute; left: 50%; bottom: 16cqw; transform: translateX(-50%); background: rgba(250, 250, 248, .94); color: #1b1b1d; border-radius: 999px; padding: 3cqw 6cqw; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 5cqw; font-weight: 600; white-space: nowrap; }
.k-flikar { display: flex; justify-content: center; gap: 24px; font-size: 15px; }
.k-flik { padding-bottom: 5px; color: var(--mjuk); border-bottom: 2px solid transparent; }

/* Ett kort i taget, tolv sekunder var: stängt, öppnas, linjerna går in i koden, telefonen läser och spelar. */
@keyframes k-bild { 0% { opacity: 0; } 1.2% { opacity: 1; } 23.8% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
@keyframes k-oppna { 0%, 2.5% { transform: rotateY(0deg); } 6% { transform: rotateY(-180deg); } 100% { transform: rotateY(-180deg); } }
@keyframes k-flik { 0% { color: var(--mjuk); border-bottom-color: transparent; } 0.4%, 24.6% { color: var(--ink); border-bottom-color: var(--ros); } 25%, 100% { color: var(--mjuk); border-bottom-color: transparent; } }
@keyframes k-kamera { 0%, 52% { opacity: 1; } 57%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes k-fokus { 0%, 20% { opacity: .12; } 30%, 100% { opacity: 1; } }
@keyframes k-horn { 0%, 26% { transform: scale(1.35); opacity: 0; } 31% { opacity: 1; } 40%, 100% { transform: scale(1); opacity: 1; } }
@keyframes k-lank { 0%, 42% { opacity: 0; transform: translate(-50%, 4cqw); } 46%, 100% { opacity: 1; transform: translate(-50%, 0); } }
@keyframes k-spelar { 0%, 56% { box-shadow: 0 14px 28px -16px rgba(22, 32, 28, .45), 0 0 0 1px rgba(22, 32, 28, .06); } 60%, 94% { box-shadow: 0 14px 28px -16px rgba(22, 32, 28, .45), 0 0 0 2px rgba(138, 45, 82, .75); } 100% { box-shadow: 0 14px 28px -16px rgba(22, 32, 28, .45), 0 0 0 1px rgba(22, 32, 28, .06); } }
@keyframes k-vag { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.k-bild { animation: k-bild 48s linear infinite both; }
.k-omslag { animation: k-oppna 48s cubic-bezier(.45, .05, .3, 1) infinite both; }
.k-flik { animation: k-flik 48s linear infinite both; }
.k-kamera { animation: k-kamera 12s ease-in-out infinite both; }
.k-kamera-bild { animation: k-fokus 12s ease infinite both; }
.k-horn { animation: k-horn 12s cubic-bezier(.3, .1, .2, 1) infinite both; }
.k-lank { animation: k-lank 12s ease infinite both; }
.k-spelar { animation: k-spelar 12s ease-in-out infinite both; }
.k-vag span { animation: k-vag .9s ease-in-out infinite alternate; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) {
  .k-bild, .k-omslag, .k-flik, .k-kamera, .k-kamera-bild, .k-horn, .k-lank, .k-spelar, .k-vag span { animation: none; }
  .k-b0 { opacity: 1; }
  .k-omslag { transform: rotateY(-180deg); }
  .k-kamera, .k-prick, .k-glider { display: none; }
  .k-spar-grupp { opacity: 1 !important; }
  .k-linje, .k-linje2 { stroke-dasharray: none !important; }
  .k-f0 { color: var(--ink); border-bottom-color: var(--ros); }
}

/* I telefonen: rubriken, karusellen, ingressen och intresselistan, i den ordningen. Scenen i telefonens mått. */
@media (max-width: 760px) {
  .oppning-grid { display: flex; flex-direction: column; align-items: stretch; gap: 26px; }
  .oppning-text { display: contents; }
  .oppning h1 { order: 1; }
  .oppning .karusell { order: 2; }
  .oppning .ingress { order: 3; }
  .oppning .intresse { order: 4; }
  .k-scen { aspect-ratio: 358 / 690; }
  .k-inne { --p: calc(100cqw / 358); }
  .k-bord { left: 0; top: calc(96 * var(--p)); width: calc(358 * var(--p)); height: calc(356 * var(--p)); }
  .k-bok { left: calc(2 * var(--p)); top: calc(222 * var(--p)); width: calc(232 * var(--p)); height: calc(163.6 * var(--p)); }
  .telefon.k-tel { left: calc(240 * var(--p)); top: calc(150 * var(--p)); width: calc(114 * var(--p)); }
  .k-h0 { left: 0; top: 0; width: calc(178 * var(--p)); }
  .k-h1 { left: 0; top: calc(470 * var(--p)); width: calc(176 * var(--p)); }
  .k-h2 { left: calc(190 * var(--p)); top: calc(478 * var(--p)); width: calc(168 * var(--p)); }
  .k-h3 { left: calc(54 * var(--p)); top: calc(580 * var(--p)); width: calc(250 * var(--p)); }
  .k-pott .k-h1 { left: 0; top: calc(410 * var(--p)); width: calc(150 * var(--p)); }
  .k-pott .k-h2 { left: calc(208 * var(--p)); top: calc(410 * var(--p)); width: calc(150 * var(--p)); }
  .k-film { flex-direction: column; align-items: stretch; }
  .k-tumme { width: 100%; }
  .hemsida .k-film .k-ord { display: none; }
  .k-spar-dator { display: none; }
  .k-spar-telefon { display: block; }
  .k-flikar { gap: 14px; font-size: 13px; }
}

/* ---------- Telefonen (_telefon.ejs): en modern telefon, skärmen skalar med telefonen ---------- */

.telefon { position: relative; width: 50%; aspect-ratio: 71.5 / 147; border-radius: 16% / 7.8%; padding: 1.2%; background: linear-gradient(150deg, #9a968f 0%, #46444a 16%, #1f1e22 50%, #46444a 84%, #8a867f 100%); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .5), 0 40px 70px -24px rgba(22, 32, 28, .55), 0 18px 30px -16px rgba(22, 32, 28, .4); }
.tel-knapp { position: absolute; width: 1.4%; background: #3a393d; }
.tel-k1 { left: -1.1%; top: 17%; height: 3.6%; border-radius: 3px 0 0 3px; }
.tel-k2 { left: -1.1%; top: 24%; height: 7.5%; border-radius: 3px 0 0 3px; }
.tel-k3 { left: -1.1%; top: 33%; height: 7.5%; border-radius: 3px 0 0 3px; }
.tel-k4 { right: -1.1%; top: 27%; height: 11%; border-radius: 0 3px 3px 0; }
.tel-ram { height: 100%; border-radius: 15% / 7.3%; padding: 2.7%; background: #050505; }
.tel-skarm { position: relative; height: 100%; border-radius: 12% / 5.8%; overflow: hidden; background: #f6f0e5; container-type: inline-size; }
.tel-innehall { height: 100%; padding: 20cqw 10cqw 12cqw; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; color: #3a2f29; font-family: var(--garamond); }
.tel-rost { display: flex; flex-direction: column; align-items: center; gap: 4cqw; width: 100%; }
.hemsida .tel-steg { font-size: 5.4cqw; color: #6a5d55; font-variant-numeric: tabular-nums; }
.hemsida .tel-namn { font-style: italic; font-size: 14cqw; line-height: 1; }
.hemsida .tel-plats { font-size: 6cqw; color: #6a5d55; }
.tel-spela { margin-top: 5cqw; width: 26cqw; height: 26cqw; border-radius: 50%; background: #96525a; display: flex; align-items: center; justify-content: center; }
.tel-spela svg { width: 9cqw; height: 10cqw; margin-left: 1.6cqw; fill: #f6f0e5; }
.tel-vag { margin-top: 3cqw; width: 84%; height: 10cqw; display: flex; align-items: center; gap: 1.4cqw; }
.tel-vag span { flex: 1; border-radius: 1cqw; background: rgba(150, 82, 90, .35); }
.tel-vag span.spelad { background: #96525a; }
.tel-nasta { padding: 3.4cqw 12cqw; border-radius: 999px; background: #3a2f29; color: #f6f0e5; font-size: 6cqw; font-weight: 500; }
.tel-o { position: absolute; top: 3.2cqw; left: 50%; transform: translateX(-50%); width: 31cqw; height: 9cqw; border-radius: 999px; background: #050505; }
.tel-hem { position: absolute; bottom: 2.2cqw; left: 50%; transform: translateX(-50%); width: 36cqw; height: 1.4cqw; border-radius: 999px; background: rgba(58, 47, 41, .55); }
.tel-glans { position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 30%); pointer-events: none; }

/* ---------- Så går det till: ett kort genom veckan ---------- */

.vecka { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 6vw, 96px); align-items: flex-start; }
.vecka-intro { flex: 1 1 340px; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.vecka-intro > p:not(.liten) { color: var(--text2); }
.vecka-steg { flex: 1.6 1 520px; min-width: 0; margin: 0; padding: 0 0 0 clamp(20px, 3vw, 32px); list-style: none; border-left: 2px solid var(--tidslinje); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 44px); }
.vecka-steg li { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.vecka-text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vecka-text h3 { font-size: 22px; line-height: 1.2; }
.vecka-text > p:last-child { font-size: 17px; color: var(--text2); }
.nar { font-weight: 600; font-size: 15px; color: var(--ros); }
.vecka-bild { flex: 1 1 250px; min-width: 0; max-width: 320px; border-radius: 20px; }
.vecka-bild.papper { aspect-ratio: 900 / 737; background: var(--papper); display: flex; align-items: center; justify-content: center; }
.vecka-bild.papper .kort { width: 80%; transform: rotate(-2deg); }
.vecka-bild.papper .kort.smal { width: 36%; transform: rotate(3deg); }

/* Chatten: Malins meddelande med länken, som det ser ut i telefonen. */
.chatt { background: var(--yta); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.hemsida .bubbla { align-self: flex-start; max-width: 92%; background: var(--grund); border-radius: 16px 16px 16px 5px; padding: 8px 11px; font-size: 14px; line-height: 1.35; }
.hemsida .bubbla.lank { border-radius: 16px; padding: 6px; display: flex; gap: 8px; align-items: center; }
.bubbla.lank img { width: 34px; border-radius: 3px; }
.bubbla.lank > span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.bubbla.lank b { font-weight: 600; }
.bubbla.lank > span > span { color: var(--mjuk); }

/* ---------- Tillfällena ---------- */

.tillfallen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -.015em; }
.tillfallen li a { text-decoration-color: var(--ros); }

/* ---------- Priserna, på mörkt ---------- */

.mork { background: var(--mork); color: var(--mork-text); padding-block: clamp(64px, 9vw, 104px); }
.mork .avsnitt { gap: 28px; }
.mork .mjuk { color: var(--mork-mjuk); }
.priser { display: flex; flex-wrap: wrap; gap: 32px; border-top: 1px solid rgba(238, 242, 236, .18); padding-top: 28px; }
.priser > div { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.priser p:not(.belopp) { color: var(--mork-mjuk); }
.hemsida .belopp { font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--mork-text); }

/* ---------- Kort på tillfällessidan ---------- */

.kortbild { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 8px 0 0; padding: clamp(28px, 6vw, 48px) 0; border-radius: 26px; background: var(--papper); }
.kortbild img { width: min(300px, 70%); }
.kortbild figcaption { text-align: center; padding-inline: 16px; }

/* ---------- Hälsningarna: det människor säger, i Garamond kursiv ---------- */

.halsningar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.halsningar li { font-family: var(--garamond); font-style: italic; font-size: 21px; line-height: 1.45; }
.punkter { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; }
.punkter li::marker { color: var(--ros); }

/* Svaret på sidans fråga, först och störst: det är det svarsmotorerna lyfter. */
.svar { font-size: 22px; line-height: 1.5; }

/* ---------- Frågorna ---------- */

.fragor { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 30px 56px; }
.fragor h3 { font-size: 20px; margin-bottom: 6px; }
.fragor p { color: var(--text2); }
.spalt .fragor { grid-template-columns: minmax(0, 1fr); gap: 24px; }

/* ---------- Intresselistan och knappen ---------- */

.intresse { display: flex; flex-direction: column; gap: 12px; max-width: 30em; }
.intresse form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.intresse label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.intresse label .liten { font-size: 14px; }
.intresse input[type=email] {
  font: inherit; font-size: 18px; color: var(--ink); background: var(--yta);
  border: 1px solid var(--linje); border-radius: 14px; padding: 0 16px; height: 54px; width: 100%;
}
.intresse input[type=email]::placeholder { color: #7d8781; }
/* a.knapp med: annars vinner .hemsida a { color: inherit } och texten blir lika mörk som knappen. */
.knapp, .hemsida a.knapp {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px;
  border: 0; border-radius: 14px; cursor: pointer; background: var(--ink); color: var(--yta); text-decoration: none;
  font-family: var(--grotesk); font-weight: 600; font-size: 17px;
}
.hemsida a.knapp:hover, .knapp:hover { background: var(--ros); color: #fff; }
.besked { font-family: var(--garamond); font-style: italic; font-size: 21px; }
.besked.fel { color: var(--ros); font-family: var(--grotesk); font-style: normal; font-size: 16px; }

/* ---------- Foten ---------- */

.fot { max-width: calc(var(--bred) + 2 * var(--kant)); padding-block: 28px 44px; border-top: 1px solid var(--linje); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 16px; color: var(--mjuk); }
.fot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fot .marke { font-size: 20px; color: var(--ink); }
.fot .marke img { height: 38px; }
