/* =========================================================
   Swiss Vignette — Informational site
   Design language: Swiss motorway signage.
   - Green motorway-sign field as structural anchor
   - Turquoise = the actual colour of the 2026 vignette
   - Precise grotesque typography (Swiss design tradition)
   ========================================================= */

:root {
  --sign-green: #0a6b3b;      /* Swiss motorway sign green */
  --sign-green-deep: #064d29;
  --turquoise: #2bbfae;       /* 2026 vignette colour */
  --turquoise-deep: #159685;
  --ink: #14201a;
  --paper: #f6f7f4;
  --paper-warm: #eef0ea;
  --line: #d5dad2;
  --white: #ffffff;
  --alert: #c0392b;          /* fine / warning red */
  --alert-soft: #fdece9;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1120px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- language visibility ---------- */
[data-lang] { display: none; }
[data-lang].is-active { display: inline; }
p[data-lang].is-active,
li[data-lang].is-active,
h1[data-lang].is-active,
h2[data-lang].is-active,
h3[data-lang].is-active,
span[data-lang].is-active,
div[data-lang].is-active,
th[data-lang].is-active,
td[data-lang].is-active,
strong[data-lang].is-active,
summary[data-lang].is-active,
figcaption[data-lang].is-active { display: revert; }

/* =========================================================
   Header
   ========================================================= */
.topbar {
  background: var(--sign-green);
  color: var(--white);
  border-bottom: 4px solid var(--turquoise);
}
.topbar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.06rem;
  flex-shrink: 0;
}
.brand__mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.nav a.active {
  background: var(--turquoise);
  color: var(--sign-green-deep);
  font-weight: 700;
}

/* language switch */
.langbar {
  background: var(--sign-green-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.langbar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.langbar__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-right: 2px;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}
.lang-btn:hover { border-color: var(--turquoise); color: #fff; }
.lang-btn.active {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--sign-green-deep);
  font-weight: 700;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background:
    linear-gradient(180deg, rgba(10,107,59,0.04), rgba(10,107,59,0) 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--turquoise-deep);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--turquoise);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--sign-green); }
.hero__sub {
  font-size: 1.12rem;
  color: #46524b;
  max-width: 30em;
  margin-bottom: 32px;
}
.hero__facts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.factchip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  min-width: 120px;
}
.factchip__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sign-green);
  line-height: 1;
}
.factchip__lbl {
  font-size: 0.78rem;
  color: #6a746d;
  margin-top: 5px;
  letter-spacing: 0.01em;
}

/* the vignette object */
.hero__art { display: flex; justify-content: center; }
.vignette-card {
  width: 300px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--turquoise);
  border-radius: 10px;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 18px 40px -18px rgba(21,150,133,0.7),
    0 3px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--sign-green-deep);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.vignette-card:hover { transform: rotate(0deg) scale(1.02); }
.vignette-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(6,77,41,0.35);
  border-radius: 4px;
  pointer-events: none;
}
.vignette-card__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.6rem;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.vignette-card__ch {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.28em;
  margin-top: auto;
}
.vignette-card__conf {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-top: 4px;
}
.vignette-card__price {
  position: absolute;
  top: -14px; right: -14px;
  background: var(--sign-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 10px 14px;
  border-radius: 50%;
  width: 66px; height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.4);
  transform: rotate(8deg);
}

/* =========================================================
   Layout wrappers
   ========================================================= */
main { max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 40px; }
.page-narrow { max-width: 760px; }

.section { margin-bottom: 64px; }
.section:last-child { margin-bottom: 0; }

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise-deep);
  font-weight: 500;
  margin-bottom: 12px;
}
h2.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.16rem;
  color: #414d46;
  margin-bottom: 28px;
}

/* page intro block */
.page-head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 28px;
  margin-bottom: 44px;
}
.page-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise-deep);
  margin-bottom: 14px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.03;
}

/* =========================================================
   Components
   ========================================================= */

/* card grid */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card--accent { border-top: 4px solid var(--turquoise); }
.card__icon {
  width: 40px; height: 40px;
  margin-bottom: 16px;
  color: var(--sign-green);
}

/* comparison table */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.data th, table.data td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data thead th {
  background: var(--sign-green);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-size: 0.92rem;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:nth-child(even) td { background: var(--paper-warm); }
table.data td:first-child {
  font-weight: 600;
  color: var(--sign-green-deep);
}

/* callout / warning */
.callout {
  border-left: 4px solid var(--sign-green);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.callout--warn {
  border-left-color: var(--alert);
  background: var(--alert-soft);
  border-top-color: #f3d3ce;
  border-right-color: #f3d3ce;
  border-bottom-color: #f3d3ce;
}
.callout--warn h3 { color: var(--alert); }
.callout__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alert);
  font-weight: 600;
  margin-bottom: 6px;
}

/* numbered process (steps) */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step__n {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sign-green-deep);
  background: var(--turquoise);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__n::before { content: counter(step); }

/* price emphasis strip */
.price-strip {
  background: var(--sign-green);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.price-strip__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-strip__big small {
  font-size: 0.35em;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.price-strip__note { max-width: 26em; opacity: 0.92; }

/* official-source banner */
.official {
  border: 2px dashed var(--turquoise-deep);
  background: rgba(43,191,174,0.07);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.official__icon {
  color: var(--turquoise-deep);
  flex-shrink: 0;
  width: 32px; height: 32px;
  margin-top: 2px;
}
.official a {
  color: var(--turquoise-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--turquoise);
}
.official a:hover { color: var(--sign-green-deep); }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--turquoise-deep);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 4px 20px; color: #46524b; }

/* CTA cards linking pages */
.linkcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.linkcard {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.linkcard:hover {
  border-color: var(--turquoise);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(10,107,59,0.4);
}
.linkcard__k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--turquoise-deep);
  text-transform: uppercase;
}
.linkcard h3 { margin: 10px 0 8px; }
.linkcard__arrow {
  color: var(--sign-green);
  font-weight: 700;
  margin-top: 12px;
  display: inline-block;
}

/* small print list */
ul.ticks { list-style: none; display: grid; gap: 12px; }
ul.ticks li {
  padding-left: 30px;
  position: relative;
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--sign-green);
  border-bottom: 3px solid var(--sign-green);
  transform: rotate(-45deg);
}

ul.plain { padding-left: 22px; display: grid; gap: 8px; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--sign-green-deep);
  color: rgba(255,255,255,0.75);
  margin-top: 72px;
  border-top: 4px solid var(--turquoise);
}
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer a:hover { color: var(--turquoise); }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: 0.92rem; }
.footer__brand { font-size: 0.92rem; line-height: 1.7; }
.footer__disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 20px 24px 40px;
  max-width: var(--wrap);
  margin: 0 auto;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 44px; }
  .hero__art { order: -1; }
  .grid-3, .grid-2, .linkcards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .price-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar__inner { flex-direction: column; align-items: flex-start; padding: 12px 18px; }
  .nav { width: 100%; }
  .vignette-card { width: 240px; }
}

/* accessibility */
:focus-visible { outline: 3px solid var(--turquoise-deep); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .vignette-card { transform: none; }
}

/* =========================================================
   Google-Ads-ready additions
   Disclosure banner, affiliate notice, map, legal pages
   ========================================================= */

/* Prominent "not official / not a seller" disclosure bar
   sits directly under the header on every page */
.disclosure {
  background: #fff6e6;
  border-bottom: 1px solid #f0dfb8;
  color: #6a5518;
}
.disclosure__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.disclosure__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: #b8860b;
}
.disclosure strong { color: #4d3d10; }

/* affiliate / advertising disclosure block (page-level) */
.affiliate-note {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #5a645d;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.affiliate-note svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--turquoise-deep);
  margin-top: 1px;
}

/* map */
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}
.map-caption {
  font-size: 0.85rem;
  color: #6a746d;
  margin-top: 10px;
}

/* contact form */
.form-grid {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sign-green-deep);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--turquoise-deep);
  box-shadow: 0 0 0 3px rgba(43,191,174,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sign-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  width: fit-content;
}
.btn:hover { background: var(--sign-green-deep); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-card__k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turquoise-deep);
  margin-bottom: 8px;
}
.contact-card a { color: var(--sign-green-deep); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }

/* legal / prose pages */
.prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 34px 0 12px;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; display: grid; gap: 7px; }
.prose__updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #6a746d;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
  .disclosure__inner { align-items: flex-start; }
  .map-frame iframe { height: 360px; }
}
