/* ==========================================================================
   Loft-Fewo Gunzesried – foundation: fonts, design tokens, 10 colour schemes,
   reset, typography and reusable components.
   ========================================================================== */

/* --------------------------------------------------------------- fonts --- */
/* Self-hosted (no Google Fonts CDN request) – privacy friendly & fast.      */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.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: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin.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: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin.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: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.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: 'Inter';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-italic-latin.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: 'Inter';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-italic-latin-ext.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;
}

/* ======================================================== 1. TOKENS ====== */
/* Default scheme: "Almwiese" (alpine meadow).                              */

:root {
  color-scheme: light;

  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;
  /* Überschriften-Ebene 1 – nüchterne Grotesk, per Token austauschbar. */
  --font-heading: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.26rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-5: clamp(2.5rem, 1.7rem + 3.9vw, 5rem);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-full: 999px;

  --pad: clamp(1.25rem, 0.6rem + 2.6vw, 2.5rem);
  --gutter: clamp(1.1rem, 0.4rem + 2.8vw, 2.75rem);
  --section-y: clamp(4rem, 2.2rem + 7vw, 8.5rem);
  --maxw: 1200px;
  --maxw-narrow: 780px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* scheme ------------------------------------------------------------- */
  --c-bg: #faf9f4;
  --c-bg-alt: #f1f0e8;
  --c-surface: #ffffff;
  --c-surface-2: #f7f6f0;
  --c-ink: #14211b;
  --c-ink-2: #3a4a42;
  --c-ink-3: #6b7c73;
  --c-line: #e3e4da;
  --c-line-2: #cfd2c4;
  --c-brand: #2c6a4c;
  --c-brand-ink: #ffffff;
  --c-brand-soft: #e7f1ea;
  --c-brand-strong: #1f5138;
  --c-accent: #c08a2e;
  --c-accent-ink: #ffffff;
  --c-shadow-rgb: 20 35 28;
  --c-scrim: 12 22 17;

  --shadow-1: 0 1px 2px rgb(var(--c-shadow-rgb) / 0.06),
    0 6px 18px -8px rgb(var(--c-shadow-rgb) / 0.16);
  --shadow-2: 0 2px 4px rgb(var(--c-shadow-rgb) / 0.05),
    0 18px 40px -18px rgb(var(--c-shadow-rgb) / 0.28);
  --shadow-3: 0 4px 10px rgb(var(--c-shadow-rgb) / 0.07),
    0 40px 80px -32px rgb(var(--c-shadow-rgb) / 0.4);

  --ring: 0 0 0 3px color-mix(in srgb, var(--c-brand) 32%, transparent);
  --glass: color-mix(in srgb, var(--c-bg) 76%, transparent);
  --glass-strong: color-mix(in srgb, var(--c-bg) 90%, transparent);
  --hairline: color-mix(in srgb, var(--c-ink) 12%, transparent);
  --grad-brand: linear-gradient(
    135deg,
    var(--c-brand) 0%,
    color-mix(in srgb, var(--c-brand) 62%, var(--c-accent)) 100%
  );
  --grad-page: radial-gradient(
      1100px 620px at 12% -8%,
      color-mix(in srgb, var(--c-brand) 13%, transparent),
      transparent 62%
    ),
    radial-gradient(
      900px 520px at 92% 4%,
      color-mix(in srgb, var(--c-accent) 12%, transparent),
      transparent 60%
    ),
    var(--c-bg);
}

/* ============================================ 2. THE TEN COLOUR SCHEMES === */

/* 1 – Almwiese (default, already in :root) ------------------------------- */

/* 2 – Nagelfluh : warm stone grey + rust --------------------------------- */
[data-scheme='nagelfluh'] {
  color-scheme: light;
  --c-bg: #f7f6f3; --c-bg-alt: #eeede8; --c-surface: #ffffff; --c-surface-2: #f4f3ef;
  --c-ink: #1a1c1d; --c-ink-2: #44494c; --c-ink-3: #767c80;
  --c-line: #e2e1dc; --c-line-2: #cbcac3;
  --c-brand: #4a5560; --c-brand-ink: #ffffff; --c-brand-soft: #eaedf0; --c-brand-strong: #333c45;
  --c-accent: #b4653a; --c-accent-ink: #ffffff;
  --c-shadow-rgb: 24 28 32; --c-scrim: 16 19 22;
}

/* 3 – Sonnenaufgang : warm amber + terracotta ---------------------------- */
[data-scheme='sonnenaufgang'] {
  color-scheme: light;
  --c-bg: #fffbf5; --c-bg-alt: #fdf2e6; --c-surface: #ffffff; --c-surface-2: #fff7ee;
  --c-ink: #26190f; --c-ink-2: #4e3a28; --c-ink-3: #85705c;
  --c-line: #f0e2d2; --c-line-2: #e0cbb4;
  --c-brand: #c2571f; --c-brand-ink: #ffffff; --c-brand-soft: #fcebe0; --c-brand-strong: #9c4315;
  --c-accent: #d9a21b; --c-accent-ink: #2a1e08;
  --c-shadow-rgb: 60 34 12; --c-scrim: 34 20 8;
}

/* 4 – Himmelblau : airy alpine sky --------------------------------------- */
[data-scheme='himmelblau'] {
  color-scheme: light;
  --c-bg: #f5f9fd; --c-bg-alt: #eaf2fa; --c-surface: #ffffff; --c-surface-2: #f3f8fc;
  --c-ink: #0f1a24; --c-ink-2: #35485a; --c-ink-3: #6a7e90;
  --c-line: #dfe9f2; --c-line-2: #c6d6e4;
  --c-brand: #1f6fb2; --c-brand-ink: #ffffff; --c-brand-soft: #e6f1fa; --c-brand-strong: #17568c;
  --c-accent: #e0a63c; --c-accent-ink: #2a1f05;
  --c-shadow-rgb: 14 40 66; --c-scrim: 8 24 40;
}

/* 5 – Enzian : deep alpine blue-violet ----------------------------------- */
[data-scheme='enzian'] {
  color-scheme: light;
  --c-bg: #f7f7fc; --c-bg-alt: #eeeef8; --c-surface: #ffffff; --c-surface-2: #f5f5fb;
  --c-ink: #14162b; --c-ink-2: #3b3f63; --c-ink-3: #6e7291;
  --c-line: #e3e3f1; --c-line-2: #cbcbe4;
  --c-brand: #3a45a8; --c-brand-ink: #ffffff; --c-brand-soft: #e9eaf8; --c-brand-strong: #2c3585;
  --c-accent: #c0455f; --c-accent-ink: #ffffff;
  --c-shadow-rgb: 18 22 62; --c-scrim: 12 15 44;
}

/* 6 – Almrose : soft rose + pine ----------------------------------------- */
[data-scheme='almrose'] {
  color-scheme: light;
  --c-bg: #fef8f8; --c-bg-alt: #fbeef0; --c-surface: #ffffff; --c-surface-2: #fdf5f6;
  --c-ink: #251419; --c-ink-2: #52333c; --c-ink-3: #8a6e78;
  --c-line: #f2e1e5; --c-line-2: #e3c8ce;
  --c-brand: #a8385a; --c-brand-ink: #ffffff; --c-brand-soft: #fae9ee; --c-brand-strong: #862944;
  --c-accent: #2e7d6b; --c-accent-ink: #ffffff;
  --c-shadow-rgb: 62 22 34; --c-scrim: 38 12 20;
}

/* 7 – Sennerin : cream, terracotta & olive ------------------------------- */
[data-scheme='sennerin'] {
  color-scheme: light;
  --c-bg: #fcf7f0; --c-bg-alt: #f6ede1; --c-surface: #fffdfa; --c-surface-2: #faf3e9;
  --c-ink: #2a1f16; --c-ink-2: #544134; --c-ink-3: #8b7663;
  --c-line: #eee0cf; --c-line-2: #dcc7ae;
  --c-brand: #a9502f; --c-brand-ink: #ffffff; --c-brand-soft: #f8e8e0; --c-brand-strong: #853d22;
  --c-accent: #6e7f4b; --c-accent-ink: #ffffff;
  --c-shadow-rgb: 56 36 22; --c-scrim: 32 20 12;
}

/* 8 – Winterwald : dark & icy -------------------------------------------- */
[data-scheme='winterwald'] {
  color-scheme: dark;
  --c-bg: #0b1418; --c-bg-alt: #101b20; --c-surface: #122027; --c-surface-2: #16262e;
  --c-ink: #e9f2f5; --c-ink-2: #b4c7cf; --c-ink-3: #82a0ab;
  --c-line: #1f333c; --c-line-2: #2c4750;
  --c-brand: #7fc8dc; --c-brand-ink: #06202a; --c-brand-soft: #14313b; --c-brand-strong: #a5dcea;
  --c-accent: #dce9ee; --c-accent-ink: #0b1418;
  --c-shadow-rgb: 0 0 0; --c-scrim: 4 12 16;
}

/* 9 – Tannengrün : dark forest ------------------------------------------- */
[data-scheme='tannengruen'] {
  color-scheme: dark;
  --c-bg: #0d1512; --c-bg-alt: #111c18; --c-surface: #13201b; --c-surface-2: #182822;
  --c-ink: #e9f2ec; --c-ink-2: #b2c7bb; --c-ink-3: #7fa08e;
  --c-line: #1e3129; --c-line-2: #2b463b;
  --c-brand: #5fbf8b; --c-brand-ink: #06231a; --c-brand-soft: #163024; --c-brand-strong: #86d3aa;
  --c-accent: #e3b23c; --c-accent-ink: #21170a;
  --c-shadow-rgb: 0 0 0; --c-scrim: 4 14 10;
}

/* 10 – Mitternacht : near black + gold ----------------------------------- */
[data-scheme='mitternacht'] {
  color-scheme: dark;
  --c-bg: #0b0b0d; --c-bg-alt: #101013; --c-surface: #141417; --c-surface-2: #1a1a1f;
  --c-ink: #f3f1ea; --c-ink-2: #c3bfb4; --c-ink-3: #8e8a80;
  --c-line: #232328; --c-line-2: #33333a;
  --c-brand: #d8b26a; --c-brand-ink: #1a1509; --c-brand-soft: #2a2418; --c-brand-strong: #e9cb8f;
  --c-accent: #8fa6c4; --c-accent-ink: #0b0b0d;
  --c-shadow-rgb: 0 0 0; --c-scrim: 0 0 0;
}

/* Smooth cross-fade while switching schemes ------------------------------ */
html.scheme-transition,
html.scheme-transition *,
html.scheme-transition *::before,
html.scheme-transition *::after {
  transition: background-color 0.42s var(--ease), color 0.42s var(--ease),
    border-color 0.42s var(--ease), box-shadow 0.42s var(--ease),
    fill 0.42s var(--ease), stroke 0.42s var(--ease) !important;
  transition-delay: 0s !important;
}

/* ================================================= 3. RESET & BASE ======= */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 450;
  color: var(--c-ink);
  background: var(--c-bg);
  background-image: var(--grad-page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
img { height: auto; }

input, button, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a {
  color: var(--c-brand-strong);
  text-decoration-color: color-mix(in srgb, var(--c-brand) 40%, transparent);
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-color: currentColor; }

ul, ol { padding: 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}

::selection {
  background: color-mix(in srgb, var(--c-brand) 82%, black);
  color: var(--c-brand-ink);
}

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--c-brand);
  color: var(--c-brand-ink);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ================================================== 4. TYPOGRAPHY ======= */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 96, 'SOFT' 0, 'WONK' 0;
  text-wrap: balance;
  color: var(--c-ink);
}

h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--step-5);
  line-height: 1.04;
  letter-spacing: -0.025em;
  /* Fraunces-Achsen (opsz/SOFT/WONK) gelten hier nicht. */
  font-variation-settings: 'opsz' 32;
}
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
h4 { font-size: var(--step-1); }
h5 { font-size: var(--step-0); font-family: var(--font-sans); font-weight: 700; }

p { text-wrap: pretty; }
p + p { margin-top: 0.85em; }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--c-ink-2);
  font-weight: 400;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-brand-strong);
}
.eyebrow::before {
  content: '';
  width: 1.7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--c-accent);
}
.eyebrow--plain::before { display: none; }

/* Currency symbols sit better in the sans face inside display headings */
.cur {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92em;
  letter-spacing: 0;
}

.section-title { max-width: 22ch; }
.muted { color: var(--c-ink-3); }
.ink-2 { color: var(--c-ink-2); }
.small { font-size: var(--step--1); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.center .section-title { margin-inline: auto; }

/* ================================================== 5. LAYOUT =========== */

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}
.container--narrow { --maxw: var(--maxw-narrow); }
.container--wide { --maxw: 1360px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.section--alt {
  background: color-mix(in srgb, var(--c-bg-alt) 78%, transparent);
  border-block: 1px solid var(--c-line);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 3rem;
  }
}

.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Balanced 2- and 3-column layouts (auto-fit would give 4 narrow columns) */
@media (min-width: 620px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 999px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stack { display: grid; gap: 1rem; }
.stack-sm { display: grid; gap: 0.5rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Abstand zwischen zwei Blockgruppen innerhalb eines Abschnitts. */
.mt-md { margin-top: clamp(1.75rem, 1rem + 2.5vw, 3rem); }

/* ================================================== 6. BUTTONS ========== */

.btn {
  --btn-bg: var(--c-brand);
  --btn-fg: var(--c-brand-ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  min-height: 3rem;
  border-radius: var(--r-full);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  box-shadow: 0 1px 2px rgb(var(--c-shadow-rgb) / 0.12);
  text-wrap: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { --btn-bg: var(--c-brand); --btn-fg: var(--c-brand-ink); }
.btn--accent { --btn-bg: var(--c-accent); --btn-fg: var(--c-accent-ink); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-line-2);
  box-shadow: none;
}
.btn--ghost:hover { --btn-bd: var(--c-brand); --btn-fg: var(--c-brand-strong); }
.btn--soft {
  --btn-bg: var(--c-brand-soft);
  --btn-fg: var(--c-brand-strong);
  box-shadow: none;
}
.btn--onDark {
  --btn-bg: rgb(255 255 255 / 0.14);
  --btn-fg: #fff;
  --btn-bd: rgb(255 255 255 / 0.34);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.btn--onDark:hover { --btn-bg: rgb(255 255 255 / 0.24); }
.btn--lg { padding: 1.05rem 1.8rem; min-height: 3.5rem; font-size: var(--step-1); }
.btn--sm { padding: 0.55rem 1rem; min-height: 2.4rem; font-size: var(--step--1); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--c-brand-strong);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ================================================== 7. CARDS / CHIPS ===== */

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.card--pad { padding: clamp(1.25rem, 0.9rem + 1.2vw, 2rem); }
.card--flush { border-radius: var(--r-lg); }
.card--glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: color-mix(in srgb, var(--c-surface) 45%, transparent);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border-radius: var(--r-full);
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.3;
}
.chip--outline {
  background: transparent;
  border: 1px solid var(--c-line-2);
  color: var(--c-ink-2);
}
.chip--accent { background: color-mix(in srgb, var(--c-accent) 18%, transparent); color: var(--c-ink); }
.chip svg { width: 1em; height: 1em; }

.badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-full);
  background: var(--c-surface);
  color: var(--c-ink);
  font-size: var(--step--1);
  font-weight: 700;
  box-shadow: var(--shadow-2);
}

/* Icon bubble used by amenity / highlight lists */
.icon-bubble {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 14px;
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
}
.icon-bubble svg { width: 1.35rem; height: 1.35rem; }
.icon-bubble--accent {
  background: color-mix(in srgb, var(--c-accent) 18%, transparent);
  color: color-mix(in srgb, var(--c-accent) 70%, var(--c-ink));
}

/* ================================================== 8. FORMS ============ */

.field { display: grid; gap: 0.4rem; min-width: 0; }
.field > label,
.field-label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-ink-2);
}

.input,
.select {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line-2);
  background: var(--c-surface);
  color: var(--c-ink);
  font-weight: 600;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.input:hover, .select:hover { border-color: color-mix(in srgb, var(--c-brand) 45%, var(--c-line-2)); }
.input:focus-visible, .select:focus-visible {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: var(--ring);
}
.select {
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.05rem;
}

.input--date {
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.help { font-size: var(--step--1); color: var(--c-ink-3); }

/* ================================================== 9. UTILITIES ======== */

.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;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.ratio {
  position: relative;
  overflow: hidden;
  background: var(--c-surface-2);
}
.ratio > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ratio--4x3 { aspect-ratio: 4 / 3; }
.ratio--3x2 { aspect-ratio: 3 / 2; }
.ratio--16x9 { aspect-ratio: 16 / 9; }
.ratio--1x1 { aspect-ratio: 1 / 1; }
.ratio--3x4 { aspect-ratio: 3 / 4; }

/* Blur-up placeholder sits behind the real <img> */
.blurup { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.blurup > img { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
