/* HK Trafikskola – skeuomorphic theme. One stylesheet, mobile first.
   Materials: paper cards, brushed metal, asphalt, carbon fibre, stitched leather, road-sign plates, licence plates.
   Every texture is CSS gradients or a tiny inline SVG noise tile – no texture images to download. */

@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/jakarta-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #0d1321;
  --ink-2: #1b212b;
  --ink-3: #2c3340;
  --sun: #ffc61a;
  --sun-2: #f2b400;
  --red: #d8322a;
  --green: #17a058;
  --on-dark: #c9ced8;
  --heading: #161b25;
  --text: #333a47;
  --muted: #646b78;
  --line: #e2dccf;
  --line-strong: #c9c1b0;
  --bg: #ece9e2;
  --bg-alt: #e2ded5;
  --blue: #0b57b5;
  --sign-blue: #0f57ad;

  /* materials */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.5 -.86'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --asphalt: var(--grain-light), var(--grain-dark), linear-gradient(#2b2f36, #1e2127);
  --carbon:
    linear-gradient(27deg, #13161c 5px, transparent 5px) 0 5px / 20px 20px,
    linear-gradient(207deg, #13161c 5px, transparent 5px) 10px 0 / 20px 20px,
    linear-gradient(27deg, #1e222a 5px, transparent 5px) 0 10px / 20px 20px,
    linear-gradient(207deg, #1e222a 5px, transparent 5px) 10px 5px / 20px 20px,
    linear-gradient(90deg, #181b22 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(#1b1e25 25%, #17191f 25% 50%, transparent 50% 75%, #20242c 75%) 0 0 / 20px 20px,
    #121419;
  --paper: linear-gradient(#fffefb, #faf7f0);
  --metal: repeating-linear-gradient(0deg, rgb(255 255 255 / .28) 0 1px, transparent 1px 3px), linear-gradient(#f3f4f6, #d5d9de);
  --screw: radial-gradient(circle, #fbfcfd 0 1.2px, #a3aab6 1.9px, #5f6774 3.2px, rgb(0 0 0 / .35) 3.8px, transparent 4.4px);
  --screws:
    var(--screw) 8px 8px / 10px 10px no-repeat,
    var(--screw) calc(100% - 8px) 8px / 10px 10px no-repeat,
    var(--screw) 8px calc(100% - 8px) / 10px 10px no-repeat,
    var(--screw) calc(100% - 8px) calc(100% - 8px) / 10px 10px no-repeat;
  --shadow-paper: 0 1px 1px rgb(60 45 20 / .08), 0 3px 6px rgb(60 45 20 / .08), 0 14px 26px -10px rgb(60 45 20 / .24);
  --shadow-paper-hover: 0 2px 2px rgb(60 45 20 / .08), 0 8px 14px rgb(60 45 20 / .12), 0 24px 38px -12px rgb(60 45 20 / .32);
  --shadow-deep: 0 2px 4px rgb(0 0 0 / .3), 0 18px 40px -8px rgb(0 0 0 / .55);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--grain), var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.15; letter-spacing: -.02em; font-weight: 750; margin: 0 0 .5em; text-wrap: balance; text-shadow: 0 1px 0 rgb(255 255 255 / .75); }
h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.08rem + .35vw, 1.35rem); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: inherit; font-weight: 700; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .page-hero :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }

.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sun); color: var(--ink); padding: .6em 1em; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt-sm { margin-top: 1.25rem; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.mt-xl { margin-top: clamp(48px, 7vw, 88px); }
.h-sm { font-size: 1.6rem; }

/* ---------- Buttons: physical keys that press down ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: .975rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: translate .08s ease, box-shadow .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { translate: 0 3px; }
.btn--primary {
  color: #2a1f00; text-shadow: 0 1px 0 rgb(255 255 255 / .5);
  background: linear-gradient(#ffe48a, #ffc61a 48%, #f0b100);
  border-color: #b48300;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .75), inset 0 -2px 0 rgb(0 0 0 / .07), 0 3px 0 #a07400, 0 6px 12px rgb(0 0 0 / .25);
}
.btn--primary:active { box-shadow: inset 0 2px 5px rgb(0 0 0 / .22), 0 0 0 #a07400, 0 2px 4px rgb(0 0 0 / .2); }
.btn--dark {
  color: #fff; text-shadow: 0 -1px 0 rgb(0 0 0 / .7);
  background: linear-gradient(#434b5b, #1c212b 52%, #11151c);
  border-color: #05070a;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 3px 0 #000, 0 6px 12px rgb(0 0 0 / .3);
}
.btn--dark:active { box-shadow: inset 0 2px 6px rgb(0 0 0 / .6), 0 0 0 #000, 0 2px 4px rgb(0 0 0 / .2); }
.btn--outline {
  color: var(--heading); text-shadow: 0 1px 0 #fff;
  background: linear-gradient(#ffffff, #e4e7ec);
  border-color: #a6adb8;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #9399a4, 0 6px 12px rgb(0 0 0 / .14);
}
.btn--outline:active { box-shadow: inset 0 2px 5px rgb(0 0 0 / .15), 0 0 0 #9399a4, 0 2px 4px rgb(0 0 0 / .12); }
.btn--ghost-light {
  color: #fff; text-shadow: 0 -1px 0 rgb(0 0 0 / .5);
  background: linear-gradient(rgb(255 255 255 / .2), rgb(255 255 255 / .05));
  border-color: rgb(255 255 255 / .35);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 3px 0 rgb(0 0 0 / .5), 0 6px 14px rgb(0 0 0 / .3);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:active { box-shadow: inset 0 2px 6px rgb(0 0 0 / .4), 0 0 0 rgb(0 0 0 / .5); }
.btn--lg { padding: .95em 1.6em; font-size: 1.025rem; }
.btn--sm { padding: .55em 1em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
@media (max-width: 600px) {
  .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Labels: road-sign plates ---------- */
.eyebrow {
  display: inline-flex; align-items: center; margin: 0 0 1rem; padding: .38rem .75rem .36rem; border-radius: 6px;
  font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 0 rgb(0 0 0 / .3);
  background: linear-gradient(#2c77d2, var(--sign-blue));
  box-shadow: inset 0 0 0 2px var(--sign-blue), inset 0 0 0 3.5px #fff, 0 1px 0 rgb(255 255 255 / .6), 0 3px 5px rgb(0 0 0 / .25);
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow {
  color: #1a1400; text-shadow: 0 1px 0 rgb(255 255 255 / .4);
  background: linear-gradient(#ffd84d, #f2b400);
  box-shadow: inset 0 0 0 2px #f2b400, inset 0 0 0 3.5px #1a1400, 0 3px 6px rgb(0 0 0 / .4);
}
.lead { font-size: clamp(1.075rem, 1rem + .3vw, 1.225rem); color: var(--muted); line-height: 1.6; }
.section--dark .lead, .hero .lead, .page-hero .lead { color: var(--on-dark); }

/* ---------- Topbar: carbon fibre strip ---------- */
.topbar { background: var(--carbon); color: var(--on-dark); font-size: .85rem; border-bottom: 1px solid #000; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .5em; }
.topbar strong { color: var(--sun); font-weight: 700; }
.topbar .icon { color: var(--sun); width: 1em; height: 1em; }
.topbar-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar-links a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar-links a:hover { color: #fff; }

/* ---------- Header: brushed metal bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .55) 50%, transparent), var(--metal);
  border-bottom: 1px solid #8f96a1; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(255 255 255 / .5), 0 2px 6px rgb(0 0 0 / .18);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgb(0 0 0 / .25); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.logo img { height: 48px; width: auto; filter: drop-shadow(0 1px 0 rgb(255 255 255 / .8)); }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .nav-list > li > button {
  display: flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; font-weight: 650; color: var(--heading); text-decoration: none; background: none; border: 0; cursor: pointer;
  text-shadow: 0 1px 0 rgb(255 255 255 / .9);
}
.nav-list > li > a:hover, .nav-list > li > button:hover, .has-sub.open > button { background: rgb(0 0 0 / .06); box-shadow: inset 0 1px 3px rgb(0 0 0 / .18), 0 1px 0 rgb(255 255 255 / .8); }
.nav-list a[aria-current="page"] { color: var(--blue); }
.nav-list > li > button .icon { width: 1em; height: 1em; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; min-width: 290px;
  list-style: none; margin: 0; padding: .45rem; background: var(--grain), var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-paper-hover); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > button .icon, .has-sub.open > button .icon { transform: rotate(180deg); }
.sub a { display: flex; gap: .8rem; align-items: center; padding: .6rem .7rem; border-radius: var(--radius-sm); color: var(--heading); text-decoration: none; font-weight: 700; line-height: 1.3; text-shadow: none; }
.sub a:hover, .sub a[aria-current="page"] { background: rgb(15 87 173 / .07); }
.sub a small { display: block; color: var(--muted); font-weight: 500; font-size: .84rem; margin-top: .1rem; }
.sub .icon { width: 2.3rem; height: 2.3rem; padding: .55rem; border-radius: 50%; color: #fff; border: 2px solid #fff; background: radial-gradient(circle at 35% 30%, #3e88e0, var(--sign-blue) 60%, #0a4590); box-shadow: 0 0 0 1px #c3c8d0, 0 2px 4px rgb(0 0 0 / .25); }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.menu-toggle {
  display: none; width: 46px; height: 44px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
  color: var(--heading); background: linear-gradient(#ffffff, #e4e7ec); border: 1px solid #a6adb8;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #9399a4, 0 5px 10px rgb(0 0 0 / .12); transition: translate .08s, box-shadow .08s;
}
.menu-toggle:active, .menu-toggle[aria-expanded="true"] { translate: 0 3px; box-shadow: inset 0 2px 5px rgb(0 0 0 / .2), 0 0 0 #9399a4; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile-extra { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .logo img { height: 42px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h));
    overflow-y: auto; background: var(--grain), var(--bg); padding: 1rem var(--gutter) 6rem; box-shadow: inset 0 6px 10px -6px rgb(0 0 0 / .3);
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-strong); box-shadow: 0 1px 0 rgb(255 255 255 / .7); }
  .nav-list > li > a, .nav-list > li > button { padding: 1rem .25rem; font-size: 1.1rem; border-radius: 0; width: 100%; }
  .nav-list > li > a:hover, .nav-list > li > button:hover, .has-sub.open > button { background: none; box-shadow: none; }
  .nav-list > li > button { color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: .25rem; cursor: default; }
  .nav-list > li > button .icon { display: none; }
  .sub { position: static; translate: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem; min-width: 0; background: none; }
  .nav-mobile-extra { display: grid; gap: 1rem; margin-top: 1.5rem; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .header-cta .btn { padding: .6em .95em; }
  .topbar-promo { font-size: .8rem; }
}

/* ---------- Road stripe: asphalt with edge lines and worn centre dashes ---------- */
.road {
  position: relative; height: 46px; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, #f0bf2a 0 36px, transparent 36px 72px) 0 50% / 100% 3px no-repeat,
    linear-gradient(#e6e6e6, #e6e6e6) 0 3px / 100% 2px no-repeat,
    linear-gradient(#e6e6e6, #e6e6e6) 0 calc(100% - 3px) / 100% 2px no-repeat,
    var(--asphalt);
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .5);
}
/* every road stripe has a learner who can't hold the lane: `translate` moves the car along, `transform` swerves and wobbles it */
.road::after { content: ""; position: absolute; left: 0; top: 26px; width: 30px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 20'%3E%3Crect x='1' y='1' width='42' height='18' rx='6' fill='%23fff'/%3E%3Crect x='27' y='3' width='7' height='14' rx='2' fill='%231b2232'/%3E%3Crect x='6' y='3' width='5' height='14' rx='2' fill='%231b2232'/%3E%3Crect x='12.5' y='3.5' width='13' height='13' rx='2' fill='%23e3e8ef'/%3E%3Crect x='40.5' y='3' width='2' height='3.5' rx='1' fill='%23ffc61a'/%3E%3Crect x='40.5' y='13.5' width='2' height='3.5' rx='1' fill='%23ffc61a'/%3E%3Crect x='1' y='3' width='1.6' height='3.5' fill='%23e63b2e'/%3E%3Crect x='1' y='13.5' width='1.6' height='3.5' fill='%23e63b2e'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .6)); animation: drive-by 14s linear infinite, swerve 14s ease-in-out infinite; }
@keyframes drive-by { from { translate: -60px 0; } to { translate: calc(100vw + 60px) 0; } }
@keyframes swerve {
  0%, 10% { transform: none; }
  13% { transform: translateY(-10px) rotate(-14deg); }   /* pulls out into the oncoming lane */
  16% { transform: translateY(-20px) rotate(3deg); }
  18%, 27% { transform: translateY(-19px); }
  30% { transform: translateY(-10px) rotate(13deg); }    /* …and back */
  33% { transform: translateY(1px) rotate(-3deg); }
  35%, 42% { transform: none; }
  44% { transform: translateY(-4px) rotate(-8deg); }    /* wobbles */
  46% { transform: translateY(2px) rotate(7deg); }
  48% { transform: translateY(-3px) rotate(-6deg); }
  50% { transform: translateY(1px) rotate(4deg); }
  52%, 60% { transform: none; }
  62% { transform: translateY(-6px) rotate(-10deg); }   /* drifts onto the centre line */
  64%, 70% { transform: translateY(-10px); }
  73% { transform: translateY(-20px) rotate(-6deg); }
  75%, 80% { transform: translateY(-19px); }
  83% { transform: translateY(-6px) rotate(16deg); }    /* sharp cut back */
  86% { transform: translateY(2px) rotate(-5deg); }
  88%, 100% { transform: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8.5vw, 108px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--alt { background: var(--grain), var(--bg-alt); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -1px 0 rgb(0 0 0 / .05); }
.section--dark { position: relative; overflow: hidden; color: var(--on-dark); background: radial-gradient(ellipse at 50% 0%, rgb(255 255 255 / .07), transparent 60%), var(--carbon); box-shadow: inset 0 8px 16px -8px rgb(0 0 0 / .7); }
.section--dark h2, .section--dark h3, .section--dark h4, .page-hero h1, .page-hero h2, .hero h1, .cta-band h2 { color: #fff; text-shadow: 0 2px 6px rgb(0 0 0 / .5); }
.section--dark a:not(.btn) { color: var(--sun); }
.section-head { max-width: 740px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head > :last-child { margin-bottom: 0; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section-head--row > div { max-width: 720px; }
.section-head--row > div > :last-child { margin-bottom: 0; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
}
.split > div > :last-child { margin-bottom: 0; }

/* Photos: polaroid prints taped to the page */
.media { position: relative; }
.media img { width: 100%; object-fit: cover; background: #fff; padding: 10px 10px 34px; border-radius: 3px; rotate: -1.2deg; box-shadow: 0 1px 2px rgb(0 0 0 / .15), 0 16px 28px -10px rgb(0 0 0 / .4); }
.split--reverse .media img { rotate: 1.2deg; }
.media::before { content: ""; position: absolute; z-index: 1; top: -12px; left: 50%; width: 120px; height: 30px; translate: -50% 0; rotate: -3deg; background: rgb(255 246 214 / .78); box-shadow: 0 1px 2px rgb(0 0 0 / .18); backdrop-filter: blur(1px); }
.media--narrow img { max-width: 320px; margin-inline: auto; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; animation: settle 14s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes settle { from { transform: scale(1.08); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-dark), linear-gradient(100deg, rgb(13 19 33 / .96) 0%, rgb(13 19 33 / .86) 45%, rgb(13 19 33 / .4) 100%); }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(56px, 9vw, 120px); }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.4fr .6fr; } }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { max-width: 56ch; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; list-style: none; padding: 0; margin: 2rem 0 0; font-weight: 600; font-size: .95rem; color: var(--on-dark); }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points .icon { color: var(--sun); }

/* Dashboard panel with a real traffic light */
.signal-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: repeat(3, 1fr); column-gap: 1.25rem; row-gap: .75rem; align-self: center;
  padding: 1.6rem 1.6rem 1.6rem 1.4rem; border-radius: 16px; border: 1px solid #000;
  background: var(--screws), var(--grain-light), linear-gradient(160deg, #2b323e, #12161d);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .04), var(--shadow-deep);
}
.signal-card p { margin: 0; color: var(--on-dark); font-size: .92rem; line-height: 1.4; align-self: center; }
.signal-card strong { display: block; color: #fff; font-size: 1.1rem; font-weight: 750; text-shadow: 0 1px 2px rgb(0 0 0 / .6); }
.traffic-light {
  grid-row: 1 / -1; width: 54px; padding: 10px 8px; display: grid; grid-template-rows: repeat(3, 1fr); align-items: center; justify-items: center;
  background: linear-gradient(90deg, #15181e, #3b414c 45%, #15181e); border: 1px solid #000; border-radius: 12px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 6px 14px rgb(0 0 0 / .55);
}
.traffic-light i {
  position: relative; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #07090c;
  background: radial-gradient(circle at 38% 32%, #ffb3a8, #e3261b 42%, #6e0b06);
  box-shadow: 0 0 16px rgb(227 38 27 / .8), inset 0 -3px 6px rgb(0 0 0 / .35);
}
.traffic-light i:nth-child(2) { background: radial-gradient(circle at 38% 32%, #fff4b8, #ffc61a 42%, #7d5900); box-shadow: 0 0 16px rgb(255 198 26 / .75), inset 0 -3px 6px rgb(0 0 0 / .3); }
.traffic-light i:nth-child(3) { background: radial-gradient(circle at 38% 32%, #b4f5cf, #17a058 42%, #053f1f); box-shadow: 0 0 16px rgb(23 160 88 / .8), inset 0 -3px 6px rgb(0 0 0 / .35); }
.traffic-light i::before { content: ""; position: absolute; left: -7px; right: -7px; top: -8px; height: 15px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(#323843, #0d1014); box-shadow: 0 3px 3px rgb(0 0 0 / .45); }

/* ---------- Inner page hero: asphalt ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--asphalt); box-shadow: inset 0 -10px 20px -12px rgb(0 0 0 / .6); }
.page-hero-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(44px, 6vw, 84px); }
@media (min-width: 900px) { .page-hero-inner { grid-template-columns: 1.1fr .9fr; } }
.page-hero .lead { max-width: 56ch; }
.page-hero--simple .page-hero-inner { grid-template-columns: 1fr; }
.page-hero-media { position: relative; margin: 0; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; padding: 10px; border-radius: 4px; rotate: 1.2deg; box-shadow: var(--shadow-deep); }
/* price tag hanging off the photo */
.hero-badge {
  position: absolute; left: -6px; bottom: -14px; rotate: -5deg; padding: .6rem 1.1rem .6rem 2.1rem; border-radius: 6px;
  color: #5c4a22; font-weight: 650; line-height: 1.2; font-size: .85rem;
  background: radial-gradient(circle at 14px 50%, #1e2127 0 4px, #b9ad8f 4.6px 6px, transparent 6.6px), var(--grain), linear-gradient(#fffdf5, #f1e9d3);
  box-shadow: 0 1px 1px rgb(0 0 0 / .2), 0 12px 22px -6px rgb(0 0 0 / .55);
}
.hero-badge::before { content: ""; position: absolute; left: -26px; top: 50%; width: 34px; height: 2px; background: #d9cfb3; rotate: 18deg; box-shadow: 0 1px 1px rgb(0 0 0 / .35); }
.hero-badge span { display: block; color: #1d1708; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 1px 0 rgb(255 255 255 / .7); }
.hero-badge--top { top: -14px; bottom: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .875rem; margin-bottom: 1.25rem; color: var(--on-dark); }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; font-weight: 650; }

/* ---------- Paper cards (shared material) ---------- */
.tile, .feature, .price-card, .info-card, .mini-price, .gear-card, .contact-card, .roadmap-card, .product, .stat, .lang-grid li, .faq, .faq-help, .map-overlay, .prose {
  background: var(--grain), var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-paper);
}

/* ---------- Service tiles with blue road-sign discs ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tile { display: flex; flex-direction: column; gap: .3rem; padding: 1.35rem; border-radius: var(--radius); text-decoration: none; color: var(--text); transition: translate .2s, box-shadow .2s; }
.tile:hover { translate: 0 -3px; box-shadow: var(--shadow-paper-hover); }
.tile-icon, .contact-card .icon {
  width: 50px; height: 50px; padding: 11px; border-radius: 50%; color: #fff; border: 3px solid #fff; margin-bottom: .75rem;
  background: radial-gradient(circle at 35% 28%, #4a92e6, var(--sign-blue) 58%, #093e82);
  box-shadow: 0 0 0 1px #b9bfc8, 0 3px 5px rgb(0 0 0 / .3); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1);
}
.tile:hover .tile-icon, a.contact-card:hover .icon { transform: rotate(-10deg); }
.tile h3 { margin: 0; font-size: 1.125rem; }
.tile p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.tile .tile-price { margin-top: auto; padding-top: .9rem; display: flex; justify-content: space-between; align-items: center; font-weight: 750; color: var(--heading); font-size: .95rem; border-top: 1px dashed var(--line-strong); }
.tile .tile-price .icon { color: var(--blue); transition: transform .15s; }
.tile:hover .tile-price .icon { transform: translateX(3px); }
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 1rem; }
  .tile p { display: none; }
  .tile .tile-icon { width: 42px; height: 42px; padding: 8px; margin-bottom: .45rem; }
  .tile h3 { font-size: 1rem; }
  .tile .tile-price { padding-top: .5rem; font-size: .875rem; }
}

/* ---------- Features with chrome buttons ---------- */
.feature { padding: 1.5rem; border-radius: var(--radius); }
.section--dark .feature { background: var(--grain-light), linear-gradient(#262c37, #191d25); border-color: #000; box-shadow: var(--shadow-deep); }
.feature .icon, .icon-box {
  width: 48px; height: 48px; padding: 11px; border-radius: 50%; margin-bottom: 1rem; color: var(--sign-blue);
  background: radial-gradient(circle at 35% 28%, #ffffff, #e2e6eb 55%, #bfc6d0); border: 1px solid #a3aab5;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #9aa1ad, 0 5px 9px rgb(0 0 0 / .2);
}
.section--dark .feature .icon { color: var(--sun); background: radial-gradient(circle at 35% 28%, #4a5262, #232934 60%, #14181f); border-color: #000; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 3px 0 #000; }
.feature h3 { font-size: 1.125rem; margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.section--dark .feature p { color: var(--on-dark); }
.feature .btn-row { margin-top: 1.1rem; }
.feature--inline { display: flex; gap: 1rem; align-items: flex-start; }
.feature--inline .icon, .feature--inline .icon-box { margin: 0; }

/* ---------- Tabs: a row of raised keys; the selected key is pressed in and lit ---------- */
.tablist {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; width: min(100%, 640px); padding: .5rem .5rem .75rem; margin-bottom: 2rem; border-radius: 14px;
  background: linear-gradient(#c9ced6, #e6e9ed); border: 1px solid #a9b0bb;
  box-shadow: inset 0 2px 6px rgb(0 0 0 / .28), 0 1px 0 rgb(255 255 255 / .8);
}
.tab {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem .9rem; border-radius: 10px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--heading); text-shadow: 0 1px 0 #fff;
  background: linear-gradient(#ffffff, #e1e5ea); border: 1px solid #a3aab5;
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 #8e95a1, 0 6px 10px rgb(0 0 0 / .18);
  transition: translate .1s, box-shadow .1s;
}
.tab .icon { color: #8a919d; transition: color .2s, filter .2s; }
.tab:hover { background: linear-gradient(#ffffff, #eaedf1); }
.tab:hover .icon { color: var(--sign-blue); }
.tab[aria-selected="true"] {
  translate: 0 4px; color: #fff; text-shadow: 0 -1px 0 #000; border-color: #05070a;
  background: linear-gradient(#161a22, #2d3441); box-shadow: inset 0 3px 7px rgb(0 0 0 / .7), 0 0 0 #000;
}
.tab[aria-selected="true"] .icon { color: var(--sun); filter: drop-shadow(0 0 5px rgb(255 198 26 / .85)); }
@media (max-width: 600px) { .tab { flex-direction: column; gap: .3rem; padding: .7rem .3rem; font-size: .8rem; } }
.tabpanel > .panel-intro { max-width: 740px; margin-bottom: 1.75rem; color: var(--muted); }
.tabpanel > .panel-foot { margin-top: 1.75rem; }
.tabpanel.is-entering { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- Price cards ---------- */
.cards { display: grid; gap: clamp(18px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.price-card { position: relative; display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius-lg); transition: translate .2s, box-shadow .2s; }
.price-card:hover { translate: 0 -3px; box-shadow: var(--shadow-paper-hover); }
/* featured: stitched leather */
.price-card.is-featured {
  color: var(--on-dark); border-color: #000;
  background: var(--grain-light), radial-gradient(ellipse at 30% 0%, #353c4a, transparent 70%), linear-gradient(#232a36, #13171e);
  outline: 1.5px dashed rgb(255 255 255 / .22); outline-offset: -9px; box-shadow: var(--shadow-deep);
}
.price-card.is-featured h3 { color: #fff; text-shadow: 0 1px 2px #000; }
.price-card-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 28px; margin-bottom: .8rem; }
.tag { font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.is-featured .tag { color: var(--sun); }
/* sticker */
.ribbon {
  font-size: .74rem; font-weight: 800; padding: .32rem .7rem; border-radius: 999px; white-space: nowrap; rotate: 5deg; color: #2a1f00;
  background: radial-gradient(circle at 30% 25%, #ffeaa0, var(--sun) 55%, #e6a800); border: 1px solid #c79400;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 2px 3px rgb(0 0 0 / .3);
}
.price-card h3 { font-size: 1.45rem; margin: 0; }
.price-card-sub { margin: .2rem 0 0; color: var(--muted); font-size: .93rem; }
.is-featured .price-card-sub { color: var(--on-dark); }
.price-card-media { margin: -1.5rem -1.5rem 1.25rem; position: relative; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.price-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.price-card:hover .price-card-media img { transform: scale(1.04); }
.price-card-media .ribbon, .price-card-media .duration { position: absolute; top: 12px; }
.price-card-media .ribbon { right: 12px; }
.duration { left: 12px; display: inline-flex; align-items: center; gap: .4rem; color: #fff; padding: .32rem .7rem; border-radius: 6px; font-size: .8rem; font-weight: 700; background: linear-gradient(#2d3442, #11151c); border: 1px solid #000; box-shadow: inset 0 1px 0 rgb(255 255 255 / .15), 0 2px 5px rgb(0 0 0 / .4); }
.duration .icon { color: var(--sun); width: 1em; height: 1em; }
/* checkboxes ticked in green ink */
.checklist { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; font-size: .95rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; }
.checklist li::before {
  content: ""; flex: none; width: 19px; height: 19px; margin-top: .08em; border-radius: 4px; border: 1px solid #b6bcc6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317a058' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#ffffff, #eceff3);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / .12);
}
.is-featured .checklist li::before { border-color: #000; background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d27f' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"), linear-gradient(#11151c, #232a36); box-shadow: inset 0 1px 3px rgb(0 0 0 / .6); }
.price { margin-top: auto; padding-top: 1.4rem; }
.price-old { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.is-featured .price-old { color: var(--on-dark); }
.price-old s { text-decoration-thickness: 1.5px; }
/* rubber stamp */
.off { font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: #c62828; border: 2px solid currentColor; border-radius: 4px; padding: 0 .4rem; rotate: -8deg; opacity: .88; }
.is-featured .off { color: #ff6b5e; }
/* licence plate */
.price-now, .big-price, .risk-total strong {
  position: relative; display: inline-flex; align-items: baseline; gap: .3em; width: fit-content;
  padding: .12em .55em .12em 1.65em; margin: .45rem 0 1.15rem; border-radius: 6px;
  font-size: 1.7rem; font-weight: 800; letter-spacing: .03em; line-height: 1.2; color: #111;
  background: linear-gradient(#ffffff, #eceef1); border: 2px solid #1a1a1a;
  box-shadow: inset 0 0 0 2px #fff, inset 0 -3px 5px rgb(0 0 0 / .08), 0 2px 0 #8d939c, 0 5px 10px rgb(0 0 0 / .25);
  text-shadow: 0 1px 0 #fff, 0 -1px 0 rgb(0 0 0 / .2);
}
.price-now::before, .big-price::before, .risk-total strong::before {
  content: "S"; position: absolute; left: 0; top: 0; bottom: 0; width: 1.05em; padding-bottom: .12em; border-radius: 3px 0 0 3px;
  display: flex; align-items: flex-end; justify-content: center; font-size: .42em; font-weight: 700; letter-spacing: 0; color: #fff; text-shadow: none;
  background: radial-gradient(circle at 50% 32%, transparent .32em, #ffcc00 .32em .4em, transparent .44em), linear-gradient(#1f5bd0, #0c3c9c);
}
.price-now small, .big-price small { font-size: .55em; font-weight: 800; color: #111; letter-spacing: .04em; }
.price-note { margin: .85rem 0 0; text-align: center; font-size: .85rem; font-weight: 650; color: var(--muted); }
.is-featured .price-note { color: var(--sun); }
.fee-note { margin: .9rem 0 0; font-size: .84rem; color: var(--muted); }
.price-card--compact { padding: 1.3rem; }
.price-card--compact h3 { font-size: 1.3rem; }
.price-card--compact .price-now { font-size: 1.5rem; margin-bottom: 1rem; }

/* Mini price row (taxi) */
.mini-prices { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin: 1.5rem 0; }
.mini-price { padding: 1rem 1.15rem; border-radius: var(--radius); }
.mini-price span { display: block; color: var(--muted); font-size: .88rem; font-weight: 600; }
.mini-price strong { display: block; font-size: 1.4rem; letter-spacing: -.02em; color: var(--heading); }

/* ---------- Manual vs automat (knobs move on hover) ---------- */
.gear-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 1.75rem; }
.gear-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem; border-radius: var(--radius); }
.gear-card svg { width: 70px; height: 70px; flex: none; filter: drop-shadow(0 3px 3px rgb(0 0 0 / .35)); }
.gear-card h3 { margin: 0 0 .15rem; font-size: 1.075rem; }
.gear-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.knob { transition: transform .55s cubic-bezier(.6, 0, .2, 1); }
.gear-card:hover .knob--manual { transform: translate(-18px, -16px); }
.gear-card:hover .knob--auto { transform: translateY(46px); }

/* ---------- Risk package: stitched leather panels + yellow sign plate ---------- */
.riskpack { display: grid; gap: 20px; }
@media (min-width: 900px) { .riskpack { grid-template-columns: 1fr 1fr .8fr; } }
.risk-item { border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid #000; background: var(--grain-light), linear-gradient(#262c37, #171b22); box-shadow: var(--shadow-deep); }
.risk-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.risk-item:hover img { transform: scale(1.04); }
.risk-item > div { position: relative; flex: 1; padding: 1.5rem; background: inherit; outline: 1.5px dashed rgb(255 255 255 / .18); outline-offset: -9px; }
.risk-item h3 { display: flex; align-items: center; gap: .5rem; }
.risk-item h3 .icon { color: var(--sun); }
.risk-item p { color: var(--on-dark); font-size: .95rem; }
.risk-total {
  display: flex; flex-direction: column; justify-content: center; padding: 1.9rem; border-radius: 12px; color: #2a2100; border: 1px solid #a07400;
  background: var(--screws), var(--grain), linear-gradient(#ffd84d, #f2b400);
  box-shadow: inset 0 0 0 3px #f2b400, inset 0 0 0 5px #1a1400, inset 0 1px 0 rgb(255 255 255 / .6), var(--shadow-deep);
}
.section--dark .risk-total .eyebrow { color: #fff; text-shadow: 0 1px 0 rgb(0 0 0 / .3); background: linear-gradient(#2c77d2, var(--sign-blue)); box-shadow: inset 0 0 0 2px var(--sign-blue), inset 0 0 0 3.5px #fff, 0 2px 4px rgb(0 0 0 / .25); }
.risk-total strong { font-size: 2rem; margin-top: .2rem; }
.risk-total p { font-size: .93rem; color: #4a3b00; }
.risk-total .btn + .btn { margin-top: .75rem; }

/* ---------- Chips: plastic tags ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.chips li { padding: .42rem .85rem; border-radius: 7px; font-size: .9rem; font-weight: 650; color: var(--heading); text-shadow: 0 1px 0 #fff; background: linear-gradient(#ffffff, #eceef2); border: 1px solid #bcc2cc; box-shadow: inset 0 1px 0 #fff, 0 2px 0 #b2b8c2, 0 3px 6px rgb(0 0 0 / .08); }
.section--dark .chips li { color: #fff; text-shadow: 0 -1px 0 #000; background: linear-gradient(#3a4250, #1c212a); border-color: #000; box-shadow: inset 0 1px 0 rgb(255 255 255 / .15), 0 2px 0 #000; }

/* ---------- Road-map timeline (körkortsguide) ---------- */
.roadmap-wrap { position: relative; view-timeline-name: --roadmap; }
.roadmap { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.roadmap::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 26px; width: 28px; border-radius: 6px; transform: translateX(-50%);
  background: linear-gradient(90deg, #e6e6e6 0 2px, transparent 2px calc(100% - 2px), #e6e6e6 calc(100% - 2px)) , var(--asphalt);
  box-shadow: 0 0 0 3px #b9b3a6, 0 4px 10px rgb(0 0 0 / .3);
}
.roadmap::after { content: ""; position: absolute; top: 10px; bottom: 10px; left: 26px; width: 3px; transform: translateX(-50%); background: repeating-linear-gradient(#f0bf2a 0 12px, transparent 12px 24px); }
.roadmap-step { position: relative; z-index: 1; display: grid; grid-template-columns: 52px 1fr; gap: 1.4rem; align-items: start; }
/* number on a blue sign plate */
.roadmap-num {
  width: 52px; height: 52px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; color: #fff; text-shadow: 0 1px 1px rgb(0 0 0 / .4);
  background: linear-gradient(#2c77d2, var(--sign-blue));
  box-shadow: inset 0 0 0 3px var(--sign-blue), inset 0 0 0 5px #fff, 0 3px 6px rgb(0 0 0 / .35);
}
.roadmap-step:last-child .roadmap-num { color: #1a1400; text-shadow: none; background: linear-gradient(#ffd84d, #f2b400); box-shadow: inset 0 0 0 3px #f2b400, inset 0 0 0 5px #1a1400, 0 3px 6px rgb(0 0 0 / .35); }
/* note pinned with a pushpin */
.roadmap-card { position: relative; padding: 1.35rem 1.4rem 1.25rem; border-radius: 4px; }
.roadmap-card::before { content: ""; position: absolute; top: -7px; left: 50%; width: 16px; height: 16px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8b80, #d8322a 55%, #7d120c); box-shadow: 0 3px 3px rgb(0 0 0 / .35); }
.roadmap-card h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.roadmap-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.roadmap-car { position: absolute; z-index: 0; left: 26px; top: 0; width: 16px; translate: -50% 0; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .6)); animation: car-down 24s linear infinite, weave 2.8s ease-in-out infinite; }
@media (min-width: 900px) {
  .roadmap::before, .roadmap::after { left: 50%; }
  .roadmap-step { grid-template-columns: 1fr 52px 1fr; gap: 1.75rem; }
  .roadmap-step .roadmap-num { grid-column: 2; grid-row: 1; }
  .roadmap-step .roadmap-card { grid-column: 3; grid-row: 1; rotate: .6deg; }
  .roadmap-step:nth-child(even) .roadmap-card { grid-column: 1; text-align: right; rotate: -.6deg; }
}
/* the car drives down the road as you scroll (browsers with scroll-driven animations; others just see the road) */
@media (min-width: 900px) { .roadmap-car { left: 50%; } }
@supports (animation-timeline: view()) {
  .roadmap-car { animation: car-down linear both, weave 2.8s ease-in-out infinite; animation-timeline: --roadmap, auto; animation-range: cover 18% cover 82%, normal; }
}
@keyframes weave { 0%, 100% { transform: translateX(-4px) rotate(-9deg); } 50% { transform: translateX(4px) rotate(9deg); } }
@keyframes car-down { from { top: 0; } to { top: calc(100% - 30px); } }

/* ---------- Horizontal flow: dashboard keys with amber LEDs ---------- */
.flow { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); counter-reset: flow; }
.flow li {
  counter-increment: flow; position: relative; padding: 1.05rem 1rem 1.05rem 3.5rem; border-radius: 10px; color: #fff; font-weight: 700; line-height: 1.3; text-shadow: 0 -1px 0 #000;
  background: linear-gradient(#3a4250, #1a1f28 55%, #12161d); border: 1px solid #000;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 4px 0 #000, 0 8px 14px rgb(0 0 0 / .4);
}
.flow li::before {
  content: counter(flow); position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  color: #2a1f00; font-size: .85rem; font-weight: 800; text-shadow: none;
  background: radial-gradient(circle at 38% 32%, #fff3b0, var(--sun) 50%, #b98900); box-shadow: 0 0 12px rgb(255 198 26 / .65), inset 0 -2px 3px rgb(0 0 0 / .25);
}
.flow--light li { color: var(--heading); text-shadow: 0 1px 0 #fff; background: var(--grain), var(--paper); border-color: var(--line); box-shadow: var(--shadow-paper); }

/* ---------- FAQ: a sheet of paper with chrome buttons ---------- */
.faq-layout { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 980px) {
  .faq-layout { grid-template-columns: minmax(0, 360px) 1fr; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-intro h2 { margin-bottom: .6rem; }
/* business card */
.faq-help { margin-top: 2rem; padding: 1.5rem; border-radius: 6px; rotate: -1.2deg; }
.faq-help-title { margin: 0 0 .2rem; font-weight: 750; color: var(--heading); }
.faq-help p { font-size: .92rem; }
.faq-help-actions { display: grid; gap: .7rem; margin-top: 1.1rem; }
.faq-help-actions .btn { justify-content: flex-start; }

.faq { padding: .6rem clamp(1.1rem, 3vw, 2rem) 1rem; border-radius: 6px; }
.faq-group { margin: 0; padding: 1.75rem 0 .6rem; font-size: .76rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.faq-group:first-child { padding-top: 1rem; }
.faq details { border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 #fff; }
.faq details:last-child { border-bottom: 0; box-shadow: none; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.04rem; line-height: 1.45; color: var(--heading); transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
/* +/× drawn with two centred bars on a domed chrome button */
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--heading); border: 1px solid #a3aab5;
  background:
    linear-gradient(currentColor 0 0) center / 12px 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 12px no-repeat,
    radial-gradient(circle at 35% 28%, #ffffff, #e2e6eb 55%, #bfc6d0);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #9aa1ad, 0 5px 8px rgb(0 0 0 / .18);
  transition: transform .25s ease, box-shadow .1s, translate .1s;
}
.faq details[open] > summary::after {
  transform: rotate(45deg); translate: 0 2px; color: #2a1f00; border-color: #b48300;
  background:
    linear-gradient(currentColor 0 0) center / 12px 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 12px no-repeat,
    radial-gradient(circle at 35% 28%, #fff0b0, var(--sun) 55%, #e2a400);
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .25), 0 1px 0 #a07400;
}
.faq details > div { padding: 0 3.75rem 1.4rem 0; color: var(--muted); max-width: 70ch; }
.faq details[open] > div { animation: rise .3s ease both; }
.faq details > div > :last-child { margin-bottom: 0; }
@media (max-width: 600px) { .faq details > div { padding-right: 0; } .faq summary { font-size: 1rem; } }

/* ---------- Info / aside cards ---------- */
.info-card { padding: 1.6rem; border-radius: var(--radius-lg); }
.info-card--dark { color: var(--on-dark); border-color: #000; background: var(--grain-light), linear-gradient(#262c37, #13171e); outline: 1.5px dashed rgb(255 255 255 / .2); outline-offset: -9px; box-shadow: var(--shadow-deep); }
.info-card--dark h3 { color: #fff; text-shadow: 0 1px 2px #000; }
.info-card h3 { margin-bottom: .5rem; }
.big-price { font-size: 2rem; }
.info-card .btn-row { margin-top: 1.25rem; }
.info-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
.info-list li { display: flex; gap: .75rem; align-items: flex-start; }
.info-list .icon { color: var(--blue); margin-top: .2em; }
.info-card--dark .info-list .icon { color: var(--sun); }
.info-list li > span { font-weight: 650; }
.info-list small { display: block; color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Contact: business cards ---------- */
.contact-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.contact-card { display: flex; flex-direction: column; gap: .25rem; padding: 1.4rem; border-radius: 6px; text-decoration: none; color: var(--heading); transition: translate .2s, box-shadow .2s; }
a.contact-card:hover { translate: 0 -3px; box-shadow: var(--shadow-paper-hover); }
.contact-card .icon { width: 48px; height: 48px; padding: 10px; }
.contact-card span { font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-card strong { font-size: 1.1rem; font-weight: 700; word-break: break-word; }

.hours { display: grid; gap: 1.25rem; }
.hours h3 { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .4rem; color: inherit; opacity: .7; text-shadow: none; }
.hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; font-size: .93rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

/* folded paper map */
.map { position: relative; border-radius: 4px; overflow: hidden; min-height: 380px; background: #e9edf2; border: 1px solid #cfc8b8; align-self: stretch; box-shadow: var(--shadow-paper); rotate: .6deg; }
.map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(33.33% - 6px), rgb(0 0 0 / .07) 33.33%, rgb(255 255 255 / .4) calc(33.33% + 2px), transparent calc(33.33% + 8px)),
    linear-gradient(90deg, transparent calc(66.66% - 6px), rgb(0 0 0 / .07) 66.66%, rgb(255 255 255 / .4) calc(66.66% + 2px), transparent calc(66.66% + 8px)),
    linear-gradient(transparent calc(50% - 6px), rgb(0 0 0 / .06) 50%, rgb(255 255 255 / .35) calc(50% + 2px), transparent calc(50% + 8px)),
    var(--grain);
}
.map:has(iframe)::after { display: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-bg { fill: #ece6d6; } .m-block { fill: #ddd5c2; } .m-mall { fill: #d2c8b1; } .m-park { fill: #cfe0bf; }
.m-roads { stroke: #fffaf0; } .m-label { fill: #6b604a; } .m-pin { fill: #c62828; }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.map-overlay { position: absolute; z-index: 1; inset: auto 1rem 1rem 1rem; display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-radius: 6px; }
.map-overlay p { margin: 0; font-weight: 750; color: var(--heading); line-height: 1.35; }
.map-overlay p small { display: block; font-weight: 500; color: var(--muted); }

/* ---------- Language grid: paper tags ---------- */
.lang-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); list-style: none; padding: 0; margin: 0; }
.lang-grid li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 6px; font-weight: 600; color: var(--heading); }
.lang-grid li span { font-weight: 800; white-space: nowrap; }
.lang-grid li.is-cheap { background: var(--grain), linear-gradient(#fff6c8, #ffe98a); border-color: #e2c45a; }

/* ---------- Stats: odometer windows ---------- */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { padding: 1.3rem 1.4rem; border-radius: var(--radius); }
.stat strong {
  display: inline-block; margin-bottom: .55rem; padding: .18rem .6rem; border-radius: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.45rem; font-weight: 700; letter-spacing: .06em; line-height: 1.3; color: #f6f6f6;
  background: linear-gradient(#07090c, #2d323b 42%, #2d323b 58%, #07090c); border: 1px solid #000;
  box-shadow: inset 0 3px 5px rgb(0 0 0 / .8), inset 0 -2px 4px rgb(0 0 0 / .6), 0 1px 0 #fff, 0 0 0 3px #c9ced6, 0 0 0 4px #9aa1ac;
  text-shadow: 0 0 6px rgb(255 255 255 / .35); font-variant-numeric: tabular-nums;
}
.stat span { display: block; color: var(--muted); font-size: .93rem; }

/* ---------- Callout: brushed aluminium plate with screws ---------- */
.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; padding: 1.4rem 2.2rem; border-radius: 10px;
  background: var(--screws), var(--metal); border: 1px solid #9ea5b0;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #9399a4, 0 10px 18px rgb(0 0 0 / .14);
}
.callout p { margin: 0; font-weight: 700; color: var(--heading); font-size: 1.05rem; text-shadow: 0 1px 0 #fff; }
.callout--dark { background: var(--screws), var(--grain-light), linear-gradient(#2b323e, #12161d); border-color: #000; box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), var(--shadow-deep); }
.callout--dark p { color: #fff; text-shadow: 0 1px 2px #000; }

/* ---------- Quote: sticky note with tape ---------- */
.quote {
  position: relative; margin: 0; padding: clamp(1.9rem, 4vw, 2.75rem); border-radius: 2px; rotate: 1.2deg; color: #3b3418;
  background: var(--grain), linear-gradient(#fff7a6, #fbe978);
  box-shadow: 0 1px 1px rgb(0 0 0 / .1), 0 18px 26px -10px rgb(0 0 0 / .4);
}
.quote::before { content: ""; position: absolute; top: -13px; left: 50%; width: 110px; height: 28px; translate: -50% 0; rotate: -2deg; background: rgb(255 255 255 / .55); box-shadow: 0 1px 2px rgb(0 0 0 / .15); }
.quote::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; background: linear-gradient(315deg, var(--bg) 50%, #e6d461 50%); box-shadow: -2px -2px 3px rgb(0 0 0 / .08); }
.quote h3 { color: #6b4e00; text-shadow: none; }
.quote p { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; line-height: 1.55; color: #3b3418; }
.quote footer { color: #6a5d2a; font-weight: 650; font-size: .95rem; }
.section--alt .quote::after { background: linear-gradient(315deg, var(--bg-alt) 50%, #e6d461 50%); }

/* ---------- Pay strip ---------- */
/* Qliro card, matched to the original site: white card, orange accent bar and check circles, grey logo panel */
.pay-strip {
  display: grid; gap: 2rem 2.4rem; align-items: center; padding: 2.6rem 2.6rem 3.1rem; border-radius: 6px;
  background: #fff; border: 1px solid #eceef0; box-shadow: 0 2px 4px rgb(16 24 40 / .03), 0 12px 32px rgb(16 24 40 / .06);
}
@media (min-width: 900px) { .pay-strip { grid-template-columns: 1.6fr 1fr; } }
@media (max-width: 600px) { .pay-strip { padding: 2rem 1.4rem 2.2rem; } }
.accent-bar { display: block; width: 52px; height: 4px; margin-bottom: 1.2rem; border-radius: 2px; background: #eb542b; }
.pay-copy h2 { margin-bottom: .45rem; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); font-weight: 800; letter-spacing: -.035em; color: #060815; text-shadow: none; }
.pay-copy .lead { margin: 0; font-size: 1.125rem; line-height: 1.6; color: #121826; }
.pay-copy .checklist { margin-top: 1.5rem; gap: .65rem; }
.pay-copy .checklist li { align-items: center; gap: .7rem; font-size: 1.04rem; font-weight: 700; color: #060815; }
.pay-copy .checklist li::before {
  width: 18px; height: 18px; margin: 0; border: 0; border-radius: 50%; box-shadow: none;
  background: #eb542b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pay-brand { display: grid; place-items: center; aspect-ratio: 20 / 7; padding: 1.5rem; border-radius: 9px; background: #f6f7f8; }
.pay-logo { width: 68%; height: auto; }

/* ---------- Reviews ---------- */
.review-badge { display: inline-block; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .25)); }
.review-badge img { width: 228px; height: auto; }

/* ---------- Prose (legal pages): a printed sheet ---------- */
.prose { max-width: 820px; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 3px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .prose-layout { grid-template-columns: 250px 1fr; } .toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
/* index card: ruled lines and a red margin */
.toc {
  padding: 1.1rem 1.25rem 1.25rem 2.1rem; border-radius: 3px; border: 1px solid var(--line); box-shadow: var(--shadow-paper); rotate: -.8deg;
  background: linear-gradient(90deg, transparent 22px, #f2a7a7 22px 23.5px, transparent 23.5px), repeating-linear-gradient(transparent 0 27px, #cfdcec 27px 28px) 0 18px, #fffefb;
}
.toc h2 { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 .5rem; text-shadow: none; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 0; font-size: .93rem; line-height: 28px; }
.toc a { color: var(--heading); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Product cards (testlektion) ---------- */
.product { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; transition: translate .2s, box-shadow .2s; }
.product:hover { translate: 0 -3px; box-shadow: var(--shadow-paper-hover); }
.product img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.product:hover img { transform: scale(1.03); }
.product > div { padding: clamp(1.4rem, 3vw, 1.9rem); display: flex; flex-direction: column; flex: 1; position: relative; background: var(--grain), var(--paper); }
.product h3 { font-size: 1.4rem; }
.product .product-q { font-weight: 700; color: var(--heading); }
.product .product-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px dashed var(--line-strong); }
.product .product-foot strong { font-size: 1.6rem; letter-spacing: -.03em; color: var(--heading); }
.product .product-foot small { display: block; color: var(--muted); font-size: .8rem; font-weight: 650; }

/* ---------- CTA band: asphalt with hazard-stripe kerb and a winding road ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--on-dark); background: var(--asphalt); padding-top: 10px; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--sun) 0 14px, #15181d 14px 28px); box-shadow: 0 2px 4px rgb(0 0 0 / .5); }
.cta-road { position: absolute; right: -40px; bottom: -30px; width: min(680px, 75%); height: auto; pointer-events: none; opacity: .95; }
.cta-road .lane { stroke-dasharray: 14 14; animation: lane 1.4s linear infinite; }
@keyframes lane { to { stroke-dashoffset: -28; } }
.cta-inner { position: relative; display: grid; gap: 1.75rem; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
@media (min-width: 980px) { .cta-inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 62ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Footer: dark asphalt ---------- */
.site-footer { color: var(--on-dark); font-size: .93rem; background: var(--grain-light), var(--grain-dark), linear-gradient(#1b1e23, #121418); border-top: 3px solid #e6e6e6; box-shadow: inset 0 3px 0 #1b1e23, inset 0 5px 0 #e6e6e6; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: clamp(48px, 7vw, 76px) 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; } }
.footer-logo { display: inline-block; margin-bottom: 1.25rem; }
.footer-logo img { height: 46px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 2px #000); }
.footer-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin: 0 0 1.1rem; text-shadow: 0 1px 2px #000; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--sun); margin-top: .2em; }
/* contact actions: three equal dashboard keys with lit icons */
.footer-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; max-width: 300px; margin-top: 1.9rem; padding-top: 1.4rem; border-top: 1px dashed rgb(255 255 255 / .14); }
.footer-actions .btn { flex-direction: column; gap: .4rem; padding: .8rem .4rem .7rem; font-size: .8rem; letter-spacing: .02em; }
.footer-actions .btn .icon { width: 20px; height: 20px; color: var(--sun); filter: drop-shadow(0 0 4px rgb(255 198 26 / .55)); }
.footer-bottom-right { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.socials { display: flex; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #1b1f26;
  background: radial-gradient(circle at 35% 28%, #ffffff, #d9dde3 55%, #aab1bc); border: 1px solid #6f7682;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #4b515c, 0 5px 8px rgb(0 0 0 / .45); transition: translate .08s, box-shadow .08s, color .15s;
}
.site-footer .socials a:hover { color: var(--sign-blue); text-decoration: none; }
.socials a:active { translate: 0 3px; box-shadow: inset 0 2px 4px rgb(0 0 0 / .35), 0 0 0 #4b515c; }
.socials .icon { width: 18px; height: 18px; }
.site-footer .hours dd { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0; }

/* cars on SVG roads sway across the lane while <animateMotion> drives them along */
.car-sway { --sway: 9px; transform-box: fill-box; transform-origin: center; animation: sway 3.4s ease-in-out infinite; }
@keyframes sway {
  0%, 100% { transform: translateY(calc(var(--sway) * -1)) rotate(-6deg); }
  25% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(var(--sway)) rotate(7deg); }
  75% { transform: translateY(2px) rotate(-5deg); }
}

/* ---------- Partners: aluminium plaques on a rolling carousel ---------- */
.partners { padding-block: 2.25rem 2.5rem; border-top: 1px solid rgb(255 255 255 / .1); }
.partners .footer-title { text-align: center; margin-bottom: 1.25rem; }
.partner-carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partner-track { display: flex; justify-content: center; }
.partner-track.is-running { justify-content: flex-start; width: max-content; animation: marquee 32s linear infinite; }
.partner-carousel:hover .partner-track, .partner-carousel:focus-within .partner-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-33.3333%); } }
.partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; list-style: none; margin: 0; padding: 8px 11px 16px; }
.is-running .partner-list { flex-wrap: nowrap; }
.partner-card {
  display: grid; place-items: center; width: 200px; height: 92px; padding: 16px 26px; border-radius: 10px;
  background: var(--screws), var(--metal); border: 1px solid #8f96a1;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #5d636e, 0 8px 16px rgb(0 0 0 / .5); transition: translate .2s;
}
.site-footer .partner-card:hover { translate: 0 -3px; text-decoration: none; }
.partner-card img { width: auto; height: auto; max-width: 100%; max-height: 58px; }

/* ---------- Developer credit ---------- */
.dev-credit { margin: 0; }
.site-footer .dev-credit a { color: var(--sun); border-bottom: 1px solid var(--sun); }
.site-footer .dev-credit a:hover { color: #fff; border-color: #fff; text-decoration: none; }

/* ---------- Gauge illustration (intensivkurs) ---------- */
.gauge { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-deep); }
.gauge-fill { stroke-dasharray: 100; animation: gauge-fill 1.6s cubic-bezier(.2, .8, .2, 1) .5s both; }
.gauge-needle { transform-origin: 200px 220px; transform: rotate(54deg); animation: gauge-needle 1.6s cubic-bezier(.2, .8, .2, 1) .5s both; }
@keyframes gauge-fill { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes gauge-needle { from { transform: rotate(-90deg); } to { transform: rotate(54deg); } }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes light-on { from { opacity: .15; box-shadow: none; } }

/* hero content rises in, staggered */
.hero-inner > div > *, .page-hero-inner > div > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > div > :nth-child(2), .page-hero-inner > div > :nth-child(2) { animation-delay: .07s; }
.hero-inner > div > :nth-child(3), .page-hero-inner > div > :nth-child(3) { animation-delay: .14s; }
.hero-inner > div > :nth-child(4), .page-hero-inner > div > :nth-child(4) { animation-delay: .21s; }
.hero-inner > div > :nth-child(5), .page-hero-inner > div > :nth-child(5) { animation-delay: .28s; }
.hero-inner > div > :nth-child(6), .page-hero-inner > div > :nth-child(6) { animation-delay: .35s; }
.signal-card, .page-hero-media { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .3s both; }

/* traffic lights switch on one after another */
.signal-card .traffic-light i { animation: light-on .45s ease both; }
.signal-card .traffic-light i:nth-child(1) { animation-delay: .7s; }
.signal-card .traffic-light i:nth-child(2) { animation-delay: 1s; }
.signal-card .traffic-light i:nth-child(3) { animation-delay: 1.3s; }
.signal-card p { animation: rise .5s ease both; }
.signal-card p:nth-of-type(1) { animation-delay: .75s; }
.signal-card p:nth-of-type(2) { animation-delay: 1.05s; }
.signal-card p:nth-of-type(3) { animation-delay: 1.35s; }

/* scroll reveal (classes added by main.js, only for elements below the fold) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .road::after, .roadmap-car, .cta-car, .map-car { display: none !important; }
}
