/* Inter (SIL Open Font License, fonts/OFL-Inter.txt), served from carfyo.de itself. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('fonts/inter-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url('fonts/inter-latin-800.woff2') format('woff2');
}

/* carfyo – one stylesheet for every page.
   Layout: a calm, cool-neutral page; orange only where something can be done or a price shows. */
:root {
  --bg: #fbf4ef;
  --surface: #ffffff;
  --surface-2: #eceef2;
  --ink: #121318;
  --ink-2: #555b66;
  --line: #dfe2e8;
  --accent: #f26a1b;
  --accent-ink: #b84d0c;
  --accent-soft: #fdeadb;
  --on-accent: #ffffff;
  --open: #1d8a3c;
  --closing: #9a5b00;
  --closed: #6b7079;
  --focus: #1a66ff;
  --shadow: 0 1px 2px rgb(18 19 24 / 0.06), 0 8px 24px rgb(18 19 24 / 0.06);

  --display: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    sans-serif;
  --text: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --page: 1180px;
  --header: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0d0e11;
    --surface: #17181c;
    --surface-2: #212329;
    --ink: #f4f5f7;
    --ink-2: #a4a9b3;
    --line: #2b2e35;
    --accent: #ff8a3d;
    --accent-ink: #ffa264;
    --accent-soft: #34200f;
    --on-accent: #1a0d04;
    --open: #3ccf6a;
    --closing: #ffcc3d;
    --closed: #9a9ea6;
    --focus: #6ea0ff;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.3);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #0d0e11;
  --surface: #17181c;
  --surface-2: #212329;
  --ink: #f4f5f7;
  --ink-2: #a4a9b3;
  --line: #2b2e35;
  --accent: #ff8a3d;
  --accent-ink: #ffa264;
  --accent-soft: #34200f;
  --on-accent: #1a0d04;
  --open: #3ccf6a;
  --closing: #ffcc3d;
  --closed: #9a9ea6;
  --focus: #6ea0ff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.3);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--bg);
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent-ink);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--page) + 2 * 24px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

@media (min-width: 720px) {
  .wrap {
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
  }
}

.eyebrow {
  color: var(--accent-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.55;
  max-width: 62ch;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 0.875rem;
}

.tiny {
  font-size: 0.75rem;
  line-height: 1.45;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: var(--r-s);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.skip:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
}

/* Buttons and controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 600 1rem/1 var(--text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn.accent {
  background: var(--accent);
  color: var(--on-accent);
}

.btn.quiet {
  background: var(--surface-2);
  color: var(--ink);
}

.btn.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

.btn svg {
  flex: none;
}

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-2);
}

.seg button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 600 0.9375rem/1 var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.seg button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: 600 0.875rem/1 var(--text);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.chip[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 6px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.field:focus-within {
  border-color: var(--ink);
}

.field input {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1rem/1 var(--text);
}

.field input::placeholder {
  color: var(--ink-2);
}

.field > svg {
  flex: none;
  color: var(--ink-2);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.switch input {
  appearance: none;
  position: relative;
  width: 44px;
  height: 26px;
  margin: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.switch input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.25);
  transition: transform 0.15s ease;
}

.switch input:checked {
  background: var(--open);
}

.switch input:checked::after {
  transform: translateX(18px);
}

/* Prices: three decimals, the last one raised, like on a station's price board. Never rounded. */
.price {
  font-family: var(--display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price sup {
  font-size: 0.55em;
  vertical-align: 0.65em;
  line-height: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark i {
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.82;
}

.nav a:hover {
  background: var(--surface-2);
  opacity: 1;
}

.nav a[aria-current='page'] {
  font-weight: 700;
  opacity: 1;
}

.nav .btn {
  margin-left: 8px;
  opacity: 1;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: fixed;
    inset: calc(var(--header) + env(safe-area-inset-top, 0px)) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px max(16px, env(safe-area-inset-right, 0px))
      calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--bg);
    overflow-y: auto;
  }

  .menu-open .nav {
    display: flex;
  }

  /* A backdrop filter would make the header the containing block of the fixed menu. */
  .menu-open .site-header {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .menu-open {
    overflow: hidden;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    opacity: 1;
  }

  .nav a:hover {
    background: none;
  }

  .nav .btn {
    margin: 24px 0 0;
    border: 0;
    border-radius: 999px;
    font-family: var(--text);
    font-size: 1rem;
  }
}

/* Footer */
.site-footer {
  margin-top: clamp(64px, 9vw, 112px);
  padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.foot-top h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
}

.foot-top ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-top li a {
  display: inline-block;
  padding: 4px 0;
  color: var(--ink-2);
  text-decoration: none;
}

.foot-top li a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot-brand p {
  margin-top: 12px;
  max-width: 34ch;
}

.foot-notices {
  display: grid;
  gap: 6px;
  max-width: 900px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.foot-notices a {
  color: var(--ink-2);
}



.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 24px;
  font-size: 0.8125rem;
}

@media (max-width: 860px) {
  .foot-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

/* Source line: required wherever MTS-K prices show (BK-12, BK-15, BK-17) */
.source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.mtsk-mark {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  color: var(--ink);
  font: 800 0.75rem/1 var(--display);
  letter-spacing: 0.04em;
}

.calc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.calc::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Status (always with text, never colour alone) */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status.open {
  color: var(--open);
}

.status.closing {
  color: var(--closing);
}

.status.closed {
  color: var(--closed);
}

/* Generic sections */
.section {
  margin-top: clamp(56px, 8vw, 104px);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.card {
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* Skeleton rows: the real loading state of every price list */
.sk {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--line) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Long-form pages (Rechtliches, Ratgeber, Quellen) */
.prose-page {
  padding-top: clamp(40px, 7vw, 88px);
}

.prose-head {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.prose-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.prose-meta {
  color: var(--ink-2);
  font-size: 0.875rem;
}

.prose {
  max-width: 720px;
  margin-top: 40px;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.125rem;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose address {
  font-style: normal;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 16px 20px;
  border-radius: var(--r-m);
  background: var(--accent-soft);
}

.table-scroll {
  overflow-x: auto;
  margin-top: 1.2em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.prose th,
.prose td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose thead th {
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 700;
}

.missing {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}

/* Store buttons (official badges replace them once the store links exist) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px 0 12px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  line-height: 1.1;
}

.store:hover {
  text-decoration: none;
}

.store small {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.8;
}

.store b {
  display: block;
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

@media (max-width: 420px) {
  .locate .long {
    display: none;
  }
}

/* Gründerpreis: remaining count from GET /v1/meta */
.founder-left {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* ---------------------------------------------------------------
   Glass and motion (matches the app: warm light, frosted surfaces)
   --------------------------------------------------------------- */
:root {
  --glass: rgb(255 255 255 / 0.62);
  --glass-strong: rgb(255 255 255 / 0.8);
  --glass-edge: rgb(255 255 255 / 0.75);
  --glass-line: rgb(18 19 24 / 0.08);
  --glow-1: #ffd2b0;
  --glow-2: #ffc2cf;
  --glow-3: #d9d6ff;
  --glow-4: #ffe2b8;
  --accent-grad: linear-gradient(135deg, #ffb45c 0%, #f26a1b 55%, #e5481a 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --glass: rgb(30 31 37 / 0.55);
    --glass-strong: rgb(30 31 37 / 0.78);
    --glass-edge: rgb(255 255 255 / 0.1);
    --glass-line: rgb(255 255 255 / 0.08);
    --glow-1: #4a2410;
    --glow-2: #3d1626;
    --glow-3: #1f1c45;
    --glow-4: #3a2810;
  }
}

:root[data-theme='dark'] {
  --glass: rgb(30 31 37 / 0.55);
  --glass-strong: rgb(30 31 37 / 0.78);
  --glass-edge: rgb(255 255 255 / 0.1);
  --glass-line: rgb(255 255 255 / 0.08);
  --glow-1: #4a2410;
  --glow-2: #3d1626;
  --glow-3: #1f1c45;
  --glow-4: #3a2810;
}

/* Soft colour field behind every page, fixed so it never moves with content. */
body::after {
  content: '';
  position: fixed;
  inset: -10vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 5% 0%, var(--glow-1), transparent 70%),
    radial-gradient(55vmax 45vmax at 100% 25%, var(--glow-2), transparent 70%),
    radial-gradient(60vmax 50vmax at 0% 100%, var(--glow-3), transparent 70%),
    radial-gradient(55vmax 45vmax at 100% 95%, var(--glow-4), transparent 70%),
    var(--bg);
}

body {
  background: transparent;
}

/* Frosted surfaces */
.card,
.site-header,
.field,
.chip,
.no-list li,
.platforms li,
.switcher,
.steps li,
.side.us,
.chargers,
.rows {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  backdrop-filter: saturate(170%) blur(20px);
}

.card,
.field,
.chip,
.steps li,
.chargers,
.rows {
  border: 1px solid var(--glass-edge);
  box-shadow: 0 1px 0 var(--glass-edge) inset, 0 10px 30px -12px rgb(60 30 10 / 0.18);
}

.site-header {
  border-bottom: 1px solid var(--glass-line);
  background: var(--glass-strong);
}

.seg {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.seg button[aria-pressed='true'] {
  background: var(--glass-strong);
  box-shadow: 0 2px 10px -2px rgb(60 30 10 / 0.2);
}

.chip[aria-pressed='true'] {
  border-color: transparent;
  background: var(--ink);
}

.btn.accent {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgb(229 72 26 / 0.7), 0 1px 0 rgb(255 255 255 / 0.35) inset;
}

.btn.accent:hover {
  filter: brightness(1.05);
}

.btn,
.chip,
.seg button,
.card,
.store {
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease),
    filter 0.25s var(--ease);
}

a.card:hover,
.guide:hover {
  transform: translateY(-3px);
}

.wordmark i {
  background: #f26a1b;
}

/* Mascot: a drop for fuel that turns into a bolt for charging */
.mascot {
  position: relative;
  display: inline-block;
  width: var(--size, 72px);
  aspect-ratio: 1;
}

.mascot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 18px rgb(229 72 26 / 0.28));
}

.mascot .bolt {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .mascot {
    animation: float 5s var(--ease) infinite;
  }

  .mascot .drop {
    animation: morph-out 8s var(--ease) infinite;
  }

  .mascot .bolt {
    animation: morph-in 8s var(--ease) infinite;
  }

  /* Elements fade up once when they scroll into view (set by carfyo.js). */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s var(--ease),
      transform 0.7s var(--ease);
  }

  .reveal.shown {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes morph-out {
  0%, 42% { opacity: 1; transform: scale(1) rotate(0); }
  50%, 92% { opacity: 0; transform: scale(0.6) rotate(-12deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes morph-in {
  0%, 42% { opacity: 0; transform: scale(0.6) rotate(12deg); }
  50%, 92% { opacity: 1; transform: scale(1) rotate(0); }
  100% { opacity: 0; transform: scale(0.6) rotate(12deg); }
}

.menu-open .site-header {
  background: var(--bg);
}

.site-footer {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  backdrop-filter: saturate(170%) blur(20px);
  border-top-color: var(--glass-line);
}
