/* 1aweb.ch v2: design system and shared components.
   Swiss poster grid, one family (Archivo, variable weight and width), Swiss red for actions and the cross,
   glacier night (from the Matterhorn photo) for the dark bands. One radius (4px, like the logo square). */

@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo-latin.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  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: "Archivo"; src: url(/assets/fonts/archivo-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  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; }

:root {
  --rot: #d52b1e;          /* Swiss red: actions, the cross, the one accent */
  --rot-tief: #ad1f14;
  --nacht: #0b1f33;        /* glacier night: dark bands */
  --nacht-2: #12304d;
  --tinte: #0c1824;        /* text on light */
  --granit: #4b5a69;       /* secondary text on light */
  --eis: #e9f0f5;          /* cool light surface */
  --weiss: #fbfcfd;
  --linie: #d3dde6;
  --nebel: #a9bccc;        /* secondary text on dark */
  --gruen: #1d8f4e;        /* data in Switzerland */
  --gelb: #c98a00;         /* data in the EU */
  --grau: #7d8b98;         /* elsewhere / unknown */
  --r: 4px;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --head-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 18px 50px -20px rgba(11, 31, 51, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--weiss); color: var(--tinte);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6;
  font-stretch: 100%; font-weight: 400; font-feature-settings: "tnum" 0; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--rot); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -.02em; font-stretch: 112%; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 92px); }
h2 { font-size: clamp(32px, 4.4vw, 60px); }
h3 { font-size: clamp(21px, 1.9vw, 26px); font-stretch: 105%; letter-spacing: -.01em; line-height: 1.15; }
h4 { font-size: 18px; font-stretch: 100%; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 60ch; color: var(--granit); }
.dark .lead, .on-photo .lead { color: var(--nebel); }
.num { font-stretch: 68%; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--granit); }
.dark .muted { color: var(--nebel); }
.small { font-size: 14px; line-height: 1.5; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.band { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.band.tight { padding: clamp(40px, 6vw, 80px) 0; }
.dark { background: var(--nacht); color: #fff; }
.ice { background: var(--eis); }
.stack > * + * { margin-top: 18px; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.head { max-width: 900px; margin-bottom: clamp(28px, 4vw, 56px); }
.head p { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--r); background: var(--rot); color: #fff; text-decoration: none; white-space: nowrap;
  font-weight: 700; font-stretch: 105%; font-size: 16px; letter-spacing: .005em;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--rot-tief); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ph { font-size: 20px; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.ice .btn.ghost:hover, .btn.ghost.on-light:hover { background: rgba(11, 31, 51, .06); }
.btn.white { background: #fff; color: var(--tinte); }
.btn.white:hover { background: var(--eis); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.link { color: inherit; font-weight: 700; text-decoration: none; background: linear-gradient(var(--rot), var(--rot)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.link:hover { color: var(--rot); }
.dark .link:hover { color: #fff; background-size: 100% 100%; }

/* ---------- the cross (logo mark, also the compare button) ---------- */
.cross { position: relative; display: inline-block; width: 1em; height: 1em; background: var(--rot); border-radius: calc(var(--r) * .8); flex: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cross::before { width: 20%; height: 62%; }
.cross::after { width: 62%; height: 20%; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; height: var(--head-h); background: rgba(251, 252, 253, .92); backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, color .3s; }
.site-head.scrolled { border-bottom-color: var(--linie); }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 118%; font-size: 21px; letter-spacing: -.02em; }
.brand .cross { font-size: 30px; }
.brand small { font-weight: 500; font-stretch: 100%; color: var(--granit); letter-spacing: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--r); font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.nav a:hover { background: rgba(11, 31, 51, .06); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rot); border-radius: 0; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: transparent; font-size: 22px; }
.icon-btn:hover { background: rgba(11, 31, 51, .07); }
.menu-btn { display: none; }
/* transparent header over a photo hero */
body.photo-top .site-head:not(.scrolled) { background: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.photo-top .site-head:not(.scrolled) .brand small { color: rgba(255, 255, 255, .75); }
body.photo-top .site-head:not(.scrolled) .nav a:hover, body.photo-top .site-head:not(.scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .14); }
body.photo-top main { margin-top: calc(var(--head-h) * -1); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .head-actions { margin-left: auto; }
  .head-actions .btn { display: none; }
}
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--nacht); color: #fff; padding: 20px var(--gut) 40px; display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden; overflow-y: auto; }
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 24px; }
.drawer nav a { display: block; text-decoration: none; font-weight: 800; font-stretch: 115%; font-size: clamp(28px, 7vw, 44px); line-height: 1.25; letter-spacing: -.02em; }
.drawer nav a:hover { color: var(--rot); }
.drawer .btn { margin-top: 28px; align-self: flex-start; }
.drawer .icon-btn:hover { background: rgba(255, 255, 255, .12); }

/* ---------- photo hero (shared) ---------- */
.hero-photo { position: relative; min-height: min(100dvh, 980px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--nacht); }
.hero-photo > img, .hero-photo > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 31, 51, .55) 0%, rgba(11, 31, 51, 0) 28%, rgba(11, 31, 51, .05) 50%, rgba(11, 31, 51, .82) 100%); }
.hero-photo .wrap { padding-top: calc(var(--head-h) + 40px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero-photo h1 { max-width: 13ch; }
.hero-photo .lead { color: rgba(255, 255, 255, .86); margin-top: 20px; max-width: 44ch; }
.hero-photo .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero { min-height: 62vh; }
.page-hero h1 { max-width: 18ch; }

/* plain page head (no photo) */
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(36px, 5.2vw, 72px); max-width: 20ch; }
.page-head .lead { margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--granit); margin-bottom: 18px; padding: 0; list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--rot); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.dark .crumbs, .on-photo .crumbs { color: rgba(255, 255, 255, .7); }

/* ---------- provider bits ---------- */
.logo-tile { width: 48px; height: 48px; border-radius: var(--r); background: #fff; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--linie); overflow: hidden; }
.logo-tile img { width: 32px; height: 32px; object-fit: contain; }
.logo-tile.big { width: 72px; height: 72px; }
.logo-tile.big img { width: 48px; height: 48px; }
.zone { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.zone i { width: 10px; height: 10px; border-radius: 50%; background: var(--grau); flex: none; }
.zone.CH i { background: var(--gruen); }
.zone.EU i { background: var(--gelb); }
.zone.MIX i { background: linear-gradient(90deg, var(--gelb) 50%, var(--grau) 50%); }
.price { font-stretch: 68%; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-stretch: 100%; font-weight: 500; font-size: .5em; color: var(--granit); margin-left: 2px; }
.dark .price small { color: var(--nebel); }
.stars { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.stars .ph-fill { color: var(--rot); }

/* compare toggle: the cross itself */
.cmp { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 6px 8px 6px 6px; border-radius: var(--r); font-weight: 600; font-size: 14px; color: inherit; }
.cmp .box { width: 26px; height: 26px; border-radius: var(--r); box-shadow: inset 0 0 0 2px currentColor; position: relative; transition: background .25s, box-shadow .25s; }
.cmp .box::before, .cmp .box::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); transition: background .25s; }
.cmp .box::before { width: 3px; height: 14px; }
.cmp .box::after { width: 14px; height: 3px; }
.cmp:hover { background: rgba(11, 31, 51, .06); }
.dark .cmp:hover { background: rgba(255, 255, 255, .1); }
.cmp[aria-pressed="true"] .box { background: var(--rot); box-shadow: none; animation: pop .4s var(--ease); }
.cmp[aria-pressed="true"] .box::before, .cmp[aria-pressed="true"] .box::after { background: #fff; }
@keyframes pop { 40% { transform: scale(1.18); } }

/* compare tray */
.tray { position: fixed; left: 50%; bottom: 16px; z-index: 45; transform: translate(-50%, 140%); transition: transform .45s var(--ease);
  background: var(--nacht); color: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 10px 10px 10px 16px;
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 24px); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.tray.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }
.tray-slots { display: flex; gap: 8px; }
.tray-slot { width: 40px; height: 40px; border-radius: var(--r); background: rgba(255, 255, 255, .08); display: grid; place-items: center; position: relative; }
.tray-slot img { width: 26px; height: 26px; border-radius: 3px; background: #fff; padding: 2px; }
.tray-slot button { position: absolute; inset: 0; opacity: 0; border: 0; background: rgba(213, 43, 30, .92); color: #fff; border-radius: var(--r); font-size: 18px; }
.tray-slot:hover button, .tray-slot button:focus-visible { opacity: 1; }
.tray-label { font-size: 14px; white-space: nowrap; }
@media (max-width: 520px) { .tray-label { display: none; } .tray { gap: 10px; } }

/* ---------- cards (used where elevation means something: clickable provider tiles) ---------- */
.p-card { position: relative; background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--linie); padding: 22px; display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .3s, transform .3s var(--ease); }
.p-card:hover { box-shadow: inset 0 0 0 1px var(--linie), var(--shadow); transform: translateY(-2px); }
.p-card .top { display: flex; gap: 14px; align-items: center; }
.p-card h3 { font-size: 21px; }
.p-card h3 a { text-decoration: none; }
.p-card h3 a::after { content: ""; position: absolute; inset: 0; }
.p-card .cmp, .p-card .out { position: relative; z-index: 2; }
.p-card .cmp { padding: 6px; }
.p-card .cmp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.p-card .price .later { display: block; font-size: 13px; font-stretch: 100%; font-weight: 500; color: var(--granit); margin-top: 2px; }
.p-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- perks and deal box ---------- */
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.perks li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: var(--r); background: var(--eis); color: var(--tinte); }
.perks li.strong { background: var(--rot); color: #fff; }
.perks .ph { font-size: 15px; }
.dark .perks li:not(.strong) { background: rgba(255, 255, 255, .1); color: #fff; }
.deal { min-width: 0; overflow-wrap: break-word; background: #fff; color: var(--tinte); border-radius: var(--r); box-shadow: inset 0 0 0 2px var(--tinte), var(--shadow); padding: 22px; display: grid; gap: 14px; align-content: start; position: relative; }
.deal::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rot); border-radius: var(--r) var(--r) 0 0; }
.deal-t { margin: 4px 0 0; font-weight: 800; font-stretch: 110%; font-size: 15px; }
.deal-price .price { font-size: 44px; line-height: 1; display: block; }
.deal-sub { display: block; font-size: 14px; color: var(--granit); margin-top: 6px; }
.deal-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deal-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.deal-perks .ph { font-size: 20px; color: var(--gruen); flex: none; }
.deal-perks li.strong .ph { color: var(--rot); }
.deal-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 2px dashed var(--rot); background: #fff7f6; border-radius: var(--r); padding: 10px 14px; font-weight: 800; font-size: 18px; letter-spacing: .04em; color: var(--rot); }
.deal-code.copied::after { content: "kopiert"; font-size: 13px; letter-spacing: 0; color: var(--gruen); }
.deal-btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
.deal-note { margin: 0; font-size: 12.5px; color: var(--granit); line-height: 1.45; }

/* ---------- prose (guides, reviews, legal) ---------- */
.prose { max-width: 70ch; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.8em 0 .5em; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--rot); }
.prose a { color: var(--tinte); font-weight: 600; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--rot); font-size: 1.08em; }
.prose code { font-size: .9em; background: var(--eis); padding: 1px 6px; border-radius: 3px; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; }
.prose table, table.data { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td, table.data th, table.data td { text-align: left; padding: 10px 14px 10px 0; vertical-align: top; }
.prose thead th, table.data thead th { font-weight: 700; border-bottom: 2px solid var(--tinte); }
.prose tbody tr + tr td, table.data tbody tr + tr td { border-top: 1px solid var(--linie); }

/* ---------- details / faq ---------- */
details.qa { border-top: 1px solid var(--linie); }
details.qa:last-of-type { border-bottom: 1px solid var(--linie); }
details.qa summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font-weight: 700; font-size: 19px; font-stretch: 104%; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 18px no-repeat; transition: transform .3s var(--ease); }
details.qa[open] summary::after { transform: rotate(45deg); color: var(--rot); }
details.qa > div { padding: 0 0 22px; max-width: 70ch; }
.dark details.qa { border-color: rgba(255, 255, 255, .16); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.input { height: 56px; border-radius: var(--r); border: 2px solid var(--linie); background: #fff; padding: 0 16px; font-size: 18px; color: var(--tinte); width: 100%; }
.input:focus { outline: none; border-color: var(--rot); }
.dark .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #fff; }
.dark .input::placeholder { color: rgba(255, 255, 255, .55); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r); border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie);
  font-weight: 600; font-size: 15px; transition: background .2s, box-shadow .2s, color .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--tinte); }
.chip[aria-pressed="true"] { background: var(--tinte); color: #fff; box-shadow: none; }
.dark .chip { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.dark .chip:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.dark .chip[aria-pressed="true"] { background: #fff; color: var(--tinte); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--rot), var(--rot)) 0 / var(--fill, 50%) 100% no-repeat, var(--linie); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--linie); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--rot); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: var(--r); background: var(--rot); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: var(--r); background: var(--rot); border: 3px solid #fff; }
.dark input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(var(--rot), var(--rot)) 0 / var(--fill, 50%) 100% no-repeat, rgba(255, 255, 255, .2); }

/* ---------- disclosure strip ---------- */
.disclosure { font-size: 14px; color: var(--granit); display: flex; gap: 10px; align-items: flex-start; }
.disclosure .ph { font-size: 18px; margin-top: 1px; color: var(--rot); }
.dark .disclosure { color: var(--nebel); }

/* ---------- footer ---------- */
.site-foot { background: var(--nacht); color: #fff; padding: clamp(56px, 8vw, 96px) 0 32px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-top h2 { font-size: 15px; font-stretch: 100%; letter-spacing: 0; margin-bottom: 14px; color: var(--nebel); font-weight: 600; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--rot); }
.foot-brand p { color: var(--nebel); max-width: 34ch; margin-top: 16px; font-size: 15px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 14px; color: var(--nebel); }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- search overlay ---------- */
.search { position: fixed; inset: 0; z-index: 70; background: rgba(11, 31, 51, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; padding: 10vh var(--gut) 0; }
.search.open { display: block; }
.search-box { max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.search-box .input { border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; height: 64px; font-size: 20px; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r); text-decoration: none; }
.search-results a:hover, .search-results a.active { background: var(--eis); }
.search-results .kind { margin-left: auto; font-size: 13px; color: var(--granit); }
.search-empty { padding: 18px 12px; color: var(--granit); }

/* ---------- consent ---------- */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 50; max-width: 420px; background: #fff; color: var(--tinte); border-radius: var(--r); box-shadow: var(--shadow), inset 0 0 0 1px var(--linie);
  padding: 18px 18px 16px; font-size: 15px; line-height: 1.5; }
.consent p { margin: 0 0 14px; }
@media (max-width: 520px) { .consent { left: 8px; right: 8px; bottom: 8px; max-width: none; padding: 14px; font-size: 14px; } }
.foot-bottom button { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom button:hover { color: #fff; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- helpers ---------- */
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt-0 { margin-top: 0 !important; }
.skeleton { background: linear-gradient(90deg, var(--eis) 0, #f4f8fb 40%, var(--eis) 80%) 0 0 / 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 640px) { body { font-size: 16px; } .btn { min-height: 50px; } h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
