/*!
 * ORIDON s.r.o. – prezentační web
 * Verze: 1.0.2
 * Dokumentace: docs/03-design-system.md
 */

/* ============ 1. Písma (lokálně hostovaná, SIL OFL 1.1) ============ */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ 2. Design tokeny ============ */
:root {
  /* Barvy */
  --c-primary: #8E0E12;        /* tmavě červená z loga – tlačítka, odkazy */
  --c-primary-hover: #6E0A0D;
  --c-gold: #C9A063;           /* jen dekorace, NE text na světlém pozadí */
  --c-gold-icon: #A67C3D;      /* ikony */
  --c-gold-light: #F3DDB4;     /* text na červeném pozadí */
  --c-ink: #1E1A1A;            /* hlavní text */
  --c-text: #3D3634;           /* delší odstavce */
  --c-muted: #5C5452;          /* doplňkový text */
  --c-bg: #FFFFFF;
  --c-bg-soft: #FAF6F1;        /* střídání sekcí */
  --c-bg-image: #F3ECE4;       /* podklad obrázků při načítání */
  --c-bg-icon: #F6EEE2;
  --c-border: #EFE8E0;
  --c-border-gold: #E4D3B8;
  --c-footer: #1E1A1A;
  --c-footer-text: #EDE6E0;
  --c-footer-muted: #BDB3AC;
  --c-focus: #8E0E12;

  /* Typografie */
  --f-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-body: 1.0625rem;                          /* 17 px */
  --fs-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-h1: clamp(2rem, 1.3rem + 3vw, 3.375rem);  /* 32–54 px */
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); /* 28–40 px */
  --fs-h3: clamp(1.5rem, 1.35rem + 0.6vw, 1.875rem);
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.875rem;

  /* Rozvržení */
  --container: 75rem;           /* 1200 px */
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 28px;
  --radius-xl: 32px;
  --shadow-card: 0 1px 2px rgba(30, 26, 26, 0.04), 0 12px 40px rgba(30, 26, 26, 0.06);
}

/* ============ 3. Základ ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; color: var(--c-ink); }
h1, h2 { font-family: var(--f-head); font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-weight: 700; }
p { margin: 0; }

a { color: var(--c-primary); text-underline-offset: 0.18em; }
a:hover { color: var(--c-primary-hover); }

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--c-gold-light); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  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;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--c-primary);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: #FFFFFF; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============ 4. Komponenty ============ */

/* Štítek nad nadpisem sekce */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--c-gold);
  flex-shrink: 0;
}
.eyebrow--on-dark { color: var(--c-gold-light); }

.section-head { display: flex; flex-direction: column; gap: 0.875rem; }

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.375rem;
  border-radius: 999px;
  border: 1.5px solid var(--c-primary);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--c-primary); color: #FFFFFF; }
.btn--primary:hover { background: var(--c-primary-hover); border-color: var(--c-primary-hover); color: #FFFFFF; }
.btn--outline { background: transparent; color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #FFFFFF; }
.btn--lg { min-height: 54px; padding: 0 1.75rem; }
.btn svg { width: 1em; height: 1em; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* ============ 5. Hlavička ============ */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
}
.site-header__logo { display: block; line-height: 0; border-radius: 6px; }
.site-header__logo img { height: 42px; width: auto; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-s);
  background: var(--c-bg);
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
}
.site-nav__list a:not(.btn) {
  color: var(--c-ink);
  text-decoration: none;
  padding-block: 0.5rem;
}
.site-nav__list a:not(.btn):hover { color: var(--c-primary); text-decoration: underline; }
.site-nav__list .btn { min-height: 44px; }

@media (max-width: 47.99em) {
  .site-header__logo img { height: 34px; }
  .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 16px 32px rgba(30, 26, 26, 0.08);
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a:not(.btn) {
    display: block;
    padding-block: 0.875rem;
    border-bottom: 1px solid var(--c-border);
  }
  .site-nav__list li:last-child { margin-top: 1rem; }
  .site-nav__list .btn { width: 100%; }
  /* Bez JavaScriptu zůstane navigace viditelná pod logem */
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { width: 100%; }
}

/* ============ 6. Úvod (hero) ============ */
.hero { background: var(--c-bg-soft); overflow: hidden; }
.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3.5rem;
  padding-block: clamp(3rem, 1.5rem + 6vw, 6.5rem) clamp(3.5rem, 1.5rem + 6vw, 7rem);
}
.hero__text { flex: 1 1 32rem; display: flex; flex-direction: column; gap: 1.75rem; }
.hero__lead { font-size: var(--fs-lead); max-width: 35rem; color: var(--c-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero__visual {
  flex: 1 1 22rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 30vw, 420px);
}
.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.hero__visual::before {
  width: clamp(200px, 30vw, 440px);
  aspect-ratio: 1;
  border: 1px solid var(--c-border-gold);
}
.hero__visual::after {
  width: clamp(160px, 23vw, 340px);
  aspect-ratio: 1;
  background: var(--c-bg);
}
.hero__visual picture { position: relative; z-index: 1; }
.hero__visual img { width: clamp(120px, 18vw, 260px); }

@media (max-width: 47.99em) {
  .hero__visual { order: -1; flex-basis: 100%; }
  .hero__actions .btn { width: 100%; }
}

/* ============ 7. E-shopy ============ */
.section { padding-block: var(--section-y); }
.section--soft { background: var(--c-bg-soft); }

.shops { display: flex; flex-direction: column; gap: 3.5rem; }
.shops__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}
.shops__note { max-width: 26.25rem; color: var(--c-muted); }
.shops__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21.25rem), 1fr));
  gap: 2rem;
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.shop-card__media { background: var(--c-bg-image); }
.shop-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.shop-card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
.shop-card__title { font-family: var(--f-head); font-weight: 600; font-size: var(--fs-h3); }
.shop-card__text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  color: var(--c-muted);
}
.shop-card__tagline { font-size: 1.125rem; font-weight: 600; color: var(--c-ink); }
.shop-card__links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ============ 8. Proč u nás ============ */
.benefits { display: flex; flex-direction: column; gap: 3.5rem; }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.375rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 2rem;
  background: var(--c-bg);
  border-radius: var(--radius-m);
}
.benefit__icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-bg-icon);
}
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.25rem; }
.benefit p { color: var(--c-muted); }

/* ============ 9. O nás ============ */
.about { display: flex; flex-wrap: wrap; gap: 4rem; }
.about__head { flex: 1 1 20rem; }
.about__text {
  flex: 2 1 32.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--c-text);
  max-width: 44rem;
}

/* ============ 10. Kontakt ============ */
.contact-section { padding-bottom: var(--section-y); }
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  padding: clamp(2rem, 1rem + 4vw, 4rem);
  background: var(--c-primary);
  border-radius: var(--radius-xl);
  color: #FFFFFF;
}
.contact h2 { color: #FFFFFF; }
.contact__main { flex: 1 1 22.5rem; display: flex; flex-direction: column; gap: 1.125rem; }
.contact__phone,
.contact__email { color: #FFFFFF; font-weight: 700; }
.contact__phone { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.75rem); text-decoration: none; }
.contact__phone:hover { color: #FFFFFF; text-decoration: underline; }
.contact__email { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); font-weight: 600; overflow-wrap: anywhere; }
.contact__email:hover { color: #FFFFFF; }
.contact__hours { color: #F5E6E6; }

.company {
  flex: 1 1 23.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--c-bg);
  color: var(--c-ink);
  border-radius: var(--radius-m);
}
.company h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.375rem; }
.company address { font-style: normal; }
.company dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.375rem 1.25rem;
  margin: 0;
}
.company dt { color: var(--c-muted); }
.company dd { margin: 0; font-weight: 600; }
.company__note { font-size: var(--fs-small); color: var(--c-muted); }
.company__warning { font-size: var(--fs-small); font-weight: 600; }

/* ============ 11. Patička ============ */
.site-footer { background: var(--c-footer); color: var(--c-footer-text); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.75rem;
  padding-block: 3.5rem;
  font-size: var(--fs-small);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 0.875rem; }
.site-footer__brand img { height: 38px; width: auto; align-self: flex-start; }
.site-footer__copy { color: var(--c-footer-muted); }
.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  color: var(--c-footer-text);
  display: inline-block;
  padding-block: 0.375rem;
}
.site-footer a:hover { color: #FFFFFF; }
.link-button {
  display: inline-block;
  padding: 0.375rem 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.link-button:hover { color: var(--c-primary-hover); }
.link-button--inline { display: inline; padding: 0; }
.site-footer .link-button { color: #E3C48F; }
.site-footer .link-button:hover { color: var(--c-gold-light); }

/* ============ 12. Cookie lišta ============ */
.cookie-bar {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 50;
  max-width: 44rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--c-bg);
  border: 1px solid var(--c-border-gold);
  border-radius: var(--radius-m);
  box-shadow: 0 12px 40px rgba(30, 26, 26, 0.18);
}
.cookie-bar h2 { font-size: 1.25rem; }
.cookie-bar p { font-size: var(--fs-small); color: var(--c-text); }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 30em) {
  .cookie-bar { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .cookie-bar__actions .btn { flex: 1 1 calc(50% - 0.375rem); padding-inline: 0.75rem; }
  .cookie-bar__actions .btn--outline { flex-basis: 100%; }
}

.cookie-dialog {
  width: min(32.5rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-m);
  color: var(--c-ink);
  box-shadow: 0 24px 64px rgba(30, 26, 26, 0.3);
}
.cookie-dialog::backdrop { background: rgba(30, 26, 26, 0.6); }
.cookie-dialog__inner { display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem; }
.cookie-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-dialog__head h2 { font-size: 1.5rem; }
.icon-button {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #CFCFCB;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-ink);
  cursor: pointer;
}
.icon-button svg { width: 18px; height: 18px; }

.consent-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-s);
}
.consent-option h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.consent-option p { font-size: var(--fs-small); color: var(--c-muted); }
.consent-option__state { flex-shrink: 0; font-size: 0.875rem; font-weight: 600; color: var(--c-muted); }

.switch {
  flex-shrink: 0;
  position: relative;
  width: 56px; height: 32px;
  padding: 0;
  border: 2px solid var(--c-ink);
  border-radius: 999px;
  background: var(--c-bg);
  cursor: pointer;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-ink);
  transition: transform 0.15s ease;
}
.switch[aria-checked="true"] { background: var(--c-primary); border-color: var(--c-primary); }
.switch[aria-checked="true"]::after { background: #FFFFFF; transform: translateX(24px); }
@media (prefers-reduced-motion: reduce) {
  .switch::after { transition: none; }
}
.cookie-dialog__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ============ 13. Právní podstránky ============ */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.legal__content { max-width: 46rem; }
.legal__content > * + * { margin-top: 1rem; }
.legal__content h1 { margin-bottom: 0.5rem; }
.legal__content h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); margin-top: 2.75rem; }
.legal__content h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.legal__content ul { padding-left: 1.25rem; }
.legal__content li + li { margin-top: 0.375rem; }
.legal__meta { color: var(--c-muted); font-size: var(--fs-small); }
.legal__back { display: inline-flex; margin-bottom: 1.5rem; font-weight: 600; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.75rem; border-bottom: 1px solid var(--c-border); }
.legal th { background: var(--c-bg-soft); font-weight: 600; }
.legal code { font-size: 0.9em; background: var(--c-bg-soft); padding: 0.1em 0.35em; border-radius: 4px; }

/* ============ 14. 404 ============ */
.error-page { padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.error-page .container { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; max-width: 40rem; margin-inline: auto; }

/* ============ 15. Tisk ============ */
@media print {
  .site-nav, .nav-toggle, .cookie-bar, .cookie-dialog, .hero__visual, .skip-link { display: none !important; }
  .contact { background: none; color: #000; border: 1px solid #000; }
  .contact h2, .contact a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
