/* Fezovia — Lake & Alps Loop (self_travel-17) design system.
   REBUILT 2026-09-18 as part of the design-SYSTEM redesign initiative
   (round 4 of 6, Switzerland group) — the original system shared the same
   ink/paper/hairline CSS architecture as nearly every other site in the
   series. New system: "Uferlinie" (shoreline) — a mid-tone dusty teal-blue
   ground (a genuinely "colored" surface, not another light cream or dark
   near-black — distinct value range from every other site so far), warm
   sand/cream text and card surfaces, Lora (moderate-contrast warm serif)
   + Albert Sans (humanist geometric sans) — a fresh pairing unused
   elsewhere. Radius philosophy: a single large corner only (top-left),
   not a uniform value and not the diagonal-alternating pattern -13 used —
   an organic "leaf/tab" shape that echoes the loop/shoreline concept.
   Header: sticky, with the nav rendered as a floating sand-coloured pill
   capsule beneath the brand row (not a hairline-bordered bar). Footer:
   dark deep-teal 2-column, with a thick sand top border standing in for
   a shoreline. Swiss Standard German orthography (ss, not ß) preserved
   throughout — no copy changed, CSS/property values only. All class
   names, IDs, and data-attributes left untouched, JS behavior unaffected. */

:root {
  --sl-ink: #17302f;
  --sl-ink-soft: #2f5150;
  --sl-cream: #4a7c7c;
  --sl-cream-alt: #427070;
  --sl-gold: #e0b268;
  --sl-gold-deep: #b8873f;
  --sl-sage: #f3e9d1;
  --sl-sage-deep: #f0e4c8;
  --sl-white: #fbf6ea;
  --sl-line: rgba(251, 246, 234, .18);
  --sl-line-strong: rgba(251, 246, 234, .32);
  --sl-shadow-sm: 0 6px 16px rgba(15, 30, 29, .22);
  --sl-shadow: 0 18px 38px rgba(15, 30, 29, .28);

  --sl-font-display: 'Lora', Georgia, serif;
  --sl-font-body: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sl-font-mono: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --sl-radius: 22px 6px 6px 6px;
  --sl-radius-lg: 44px 8px 8px 8px;
  --sl-shell: min(100% - 32px, 1180px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--sl-white); background: var(--sl-cream);
  font-family: var(--sl-font-body); line-height: 1.68; font-size: 16px;
}
img { max-width: 100%; display: block; }
.sl-wrap { width: var(--sl-shell); margin-inline: auto; }
a { color: var(--sl-gold); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--sl-sage-deep); }
h1, h2, h3 { font-family: var(--sl-font-display); font-weight: 500; font-style: italic; line-height: 1.2; color: var(--sl-white); }

/* ---------- photo component (real <img>, object-fit from first draft) ---------- */
.sl-photo {
  position: relative; border-radius: var(--sl-radius-lg);
  background: var(--sl-cream-alt);
  aspect-ratio: var(--ar, 4/3); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- header: floating sand capsule nav beneath a plain brand row ---------- */
.sl-header { position: sticky; top: 0; z-index: 40; background: var(--sl-cream); padding-top: 8px; }
.sl-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; gap: 16px; }
.sl-brand { display: flex; align-items: center; gap: 9px; font-family: var(--sl-font-display); font-style: italic; font-weight: 500; font-size: 1.18rem; color: var(--sl-white); text-decoration: none; }
.sl-brand__mark { width: 24px; height: 24px; color: var(--sl-gold); flex: none; }
.sl-nav { display: none; gap: 4px; font-size: .86rem; background: var(--sl-sage-deep); border-radius: 999px; padding: 6px; box-shadow: var(--sl-shadow-sm); margin-bottom: 10px; }
.sl-nav a { color: var(--sl-ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; }
.sl-nav a:hover { background: var(--sl-white); color: var(--sl-ink); }
.sl-menu-toggle { background: var(--sl-sage-deep); border-radius: 999px; border: none; color: var(--sl-ink); padding: 8px; cursor: pointer; }
.sl-menu-toggle svg { width: 24px; height: 24px; }
.sl-mobile-nav { display: none; flex-direction: column; padding: 6px 0 18px; gap: 4px; }
.sl-mobile-nav.is-open { display: flex; }
.sl-mobile-nav a { padding: 10px 14px; font-size: .95rem; background: var(--sl-sage-deep); border-radius: 14px; color: var(--sl-ink); text-decoration: none; min-height: 44px; display: flex; align-items: center; margin-bottom: 4px; }
@media (min-width: 860px) { .sl-nav { display: flex; } .sl-menu-toggle { display: none; } }

/* ---------- hero ---------- */
.sl-hero { padding: 34px 0 44px; }
.sl-hero__grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .sl-hero__grid { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.sl-eyebrow { margin: 0 0 .6rem; color: var(--sl-gold); font-family: var(--sl-font-mono); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; display: inline-block; }
.sl-hero h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin: 0 0 14px; }
.sl-hero__lede { font-size: 1.02rem; color: var(--sl-sage); max-width: 56ch; margin: 0; }
.sl-hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }

/* ---------- hero: Spiegelbild (mirrored lake-reflection) ---------- */
.sl-mirror { position: relative; }
.sl-mirror__photo { border-radius: var(--sl-radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sl-shadow); position: relative; z-index: 2; }
.sl-mirror__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-mirror__reflection {
  overflow: hidden; aspect-ratio: 4/1.1; margin-top: -2px; border-radius: 0 0 8px 8px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.42), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.42), transparent 88%);
}
.sl-mirror__reflection img { width: 100%; height: 260%; object-fit: cover; object-position: top; display: block; transform: scaleY(-1); }
.sl-mirror__caption {
  position: absolute; left: 14px; top: 14px; z-index: 3;
  font-family: var(--sl-font-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--sl-ink); background: var(--sl-sage-deep); padding: 5px 12px; border-radius: 999px;
}
.sl-fact { border: none; border-radius: var(--sl-radius); padding: 12px 10px; background: var(--sl-sage-deep); }
.sl-fact__num { font-family: var(--sl-font-mono); font-size: .95rem; color: var(--sl-ink); display: block; font-weight: 700; }
.sl-fact__label { font-size: .66rem; color: var(--sl-ink-soft); }

/* ---------- generic section chrome ---------- */
.sl-section { padding: 56px 0; }
.sl-section--sunk { background: var(--sl-cream-alt); }
.sl-section--dark { background: var(--sl-ink); color: var(--sl-sage); }
.sl-section--dark .sl-eyebrow { color: var(--sl-gold); }
.sl-section--dark h2, .sl-section--dark h3 { color: var(--sl-white); }
.sl-section--dark .sl-section__lead { color: rgba(243,233,209,.85); }
.sl-section__head { max-width: 68ch; margin-bottom: 28px; }
.sl-section__head h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 8px; }
.sl-section__lead { color: var(--sl-sage); font-size: 1rem; margin: 0; }

/* ---------- loop ring diagram (homepage signature visual) ---------- */
.sl-ring { display: flex; justify-content: center; margin: 10px 0 34px; }
.sl-ring svg { width: 100%; max-width: 380px; height: auto; }
.sl-ring text { font-family: var(--sl-font-mono); font-size: 6.5px; fill: var(--sl-white); text-transform: uppercase; letter-spacing: .03em; }
.sl-ring .sl-ring__path { fill: none; stroke: var(--sl-gold); stroke-width: 1.4; stroke-dasharray: 3 3; }
.sl-ring .sl-ring__node { fill: var(--sl-sage-deep); stroke: var(--sl-ink); stroke-width: 1.6; }
.sl-ring .sl-ring__node--active { fill: var(--sl-gold); stroke: var(--sl-gold-deep); }

/* ---------- Routenplaner: start-stop + direction, circular reorder (signature) ---------- */
.sl-planer { background: var(--sl-ink); border: none; border-radius: var(--sl-radius-lg); padding: 24px 24px 28px; margin: 30px 0; box-shadow: var(--sl-shadow); }
.sl-planer__row { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 700px) { .sl-planer__row { grid-template-columns: 1fr 1fr; } }
.sl-planer__group-label { font-family: var(--sl-font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sl-sage); display: block; margin-bottom: 8px; }
.sl-planer__chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sl-planer__chips--two { grid-template-columns: repeat(2, 1fr); }
.sl-planer__chip {
  border: none; background: rgba(251,246,234,.1); color: var(--sl-sage);
  font-family: var(--sl-font-mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  border-radius: 999px; padding: 10px 8px; min-height: 44px; cursor: pointer; transition: background .18s ease, color .18s ease;
  text-align: center;
}
.sl-planer__chip:hover { background: rgba(251,246,234,.2); }
.sl-planer__chip.is-active { background: var(--sl-gold); color: var(--sl-ink); }
.sl-planer__chip:focus-visible { outline: 2px solid var(--sl-gold); outline-offset: 2px; }
.sl-planer__output { margin-top: 6px; }
.sl-planer__legs { list-style: none; margin: 0; padding: 0; }
.sl-planer__leg { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(251,246,234,.14); }
.sl-planer__leg:last-child { border-bottom: none; }
.sl-planer__leg-step { font-family: var(--sl-font-mono); font-size: .72rem; color: var(--sl-ink); background: var(--sl-gold); border-radius: 999px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex: none; }
.sl-planer__leg-names { font-size: .92rem; font-weight: 600; color: var(--sl-white); }
.sl-planer__leg-km { font-family: var(--sl-font-mono); font-size: .8rem; color: var(--sl-gold); font-weight: 700; white-space: nowrap; }
.sl-planer__total { margin-top: 16px; padding-top: 14px; border-top: 1.5px solid rgba(251,246,234,.2); font-size: .88rem; color: var(--sl-sage); }
.sl-planer__total strong { color: var(--sl-white); font-family: var(--sl-font-mono); }

/* ---------- stop cards ---------- */
.sl-stops { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sl-stops { grid-template-columns: repeat(2, 1fr); } }
.sl-stop-card { background: var(--sl-sage-deep); border: none; border-radius: var(--sl-radius-lg); overflow: hidden; transition: transform .2s ease; }
.sl-stop-card:hover { transform: translateY(-3px); }
.sl-stop-card__body { padding: 18px 20px 22px; }
.sl-stop-card h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--sl-ink); }
.sl-stop-card p { font-size: .9rem; color: var(--sl-ink-soft); margin: 0; }
.sl-stop-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.sl-stop-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--sl-cream); color: var(--sl-white); font-family: var(--sl-font-mono); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sl-stop-card__link { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--sl-gold-deep); }

/* ---------- callout ---------- */
.sl-callout { background: var(--sl-gold); color: var(--sl-ink); border-radius: var(--sl-radius-lg); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.sl-callout svg { width: 22px; height: 22px; color: var(--sl-ink); flex: none; margin-top: 2px; }
.sl-callout strong { display: block; margin-bottom: 4px; }
.sl-callout p { margin: 0; font-size: .92rem; color: rgba(23,48,47,.85); }

/* ---------- fact strip ---------- */
.sl-facts { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin: 24px 0; }
@media (min-width: 760px) { .sl-facts { grid-template-columns: repeat(4, 1fr); } }
.sl-fact-tile { border: none; border-radius: var(--sl-radius); padding: 14px 12px; background: var(--sl-sage-deep); }
.sl-fact-tile__num { font-family: var(--sl-font-mono); font-size: 1.02rem; color: var(--sl-gold-deep); display: block; font-weight: 700; margin-bottom: 4px; }
.sl-fact-tile__label { font-size: .78rem; color: var(--sl-ink-soft); }

/* ---------- generic content prose (internal pages) ---------- */
.sl-content { max-width: 74ch; }
.sl-content h2 { font-size: 1.5rem; margin: 40px 0 12px; color: var(--sl-white); }
.sl-content h2:first-child { margin-top: 0; }
.sl-content h3 { font-size: 1.15rem; margin: 26px 0 10px; color: var(--sl-white); }
.sl-content p { margin: 0 0 16px; color: var(--sl-sage); }
.sl-content ul { margin: 0 0 16px; padding-left: 22px; color: var(--sl-sage); }
.sl-content li { margin-bottom: 6px; }
.sl-content code { font-family: var(--sl-font-mono); background: var(--sl-sage-deep); color: var(--sl-ink); padding: 1px 6px; border-radius: 4px; font-size: .88em; }
.sl-source { margin: -8px 0 16px; font-size: .82rem; color: rgba(251,246,234,.6); }
.sl-source a { color: var(--sl-gold); text-decoration: none; }
.sl-source a:hover { text-decoration: underline; }

.sl-page-hero { padding: 36px 0 8px; }
.sl-breadcrumb { font-size: .82rem; color: var(--sl-sage); margin: 0 0 14px; }
.sl-breadcrumb a { color: var(--sl-sage); }
.sl-page-hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.3rem); margin: 6px 0 12px; }
.sl-page-hero p { color: var(--sl-sage); font-size: 1rem; max-width: 62ch; margin: 0; }

.sl-legal__back { margin: 0 0 18px; font-size: .88rem; }
.sl-legal__updated { color: var(--sl-sage); font-size: .84rem; margin: 0 0 26px; }

/* ---------- etappen anchor nav ---------- */
.sl-jumplist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.sl-jumplist a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: none; background: var(--sl-sage-deep); font-size: .82rem; font-weight: 600; color: var(--sl-ink); text-decoration: none; min-height: 36px; }
.sl-jumplist a:hover { background: var(--sl-gold); color: var(--sl-ink); }
.sl-etappe { padding: 40px 0; border-top: 1px solid rgba(251,246,234,.16); }
.sl-etappe:first-of-type { border-top: none; padding-top: 0; }
.sl-etappe__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.sl-etappe__head h2 { margin: 0; }
.sl-etappe__lake { font-family: var(--sl-font-mono); font-size: .74rem; color: var(--sl-gold); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- form ---------- */
.sl-form { max-width: 560px; }
.sl-field { margin-bottom: 16px; }
.sl-field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: var(--sl-sage); }
.sl-field input, .sl-field textarea {
  width: 100%; border: none; border-radius: var(--sl-radius); padding: 12px 14px;
  font-family: var(--sl-font-body); font-size: .95rem; background: var(--sl-sage-deep); color: var(--sl-ink); min-height: 44px;
}
.sl-field textarea { min-height: 140px; resize: vertical; }
.sl-field input:focus, .sl-field textarea:focus { outline: 2px solid var(--sl-gold); outline-offset: 1px; }
.sl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; border: 2px solid var(--sl-gold); background: transparent; color: var(--sl-gold); transition: background .18s ease, color .18s ease; }
.sl-btn--solid { background: transparent; color: var(--sl-gold); border: 2px solid var(--sl-gold); }
.sl-btn--solid:hover { background: linear-gradient(90deg, var(--sl-gold), var(--sl-cream)); color: var(--sl-ink); border-color: transparent; }
.sl-form__note { font-size: .82rem; color: var(--sl-sage); margin-top: 4px; }

/* ---------- thanks page ---------- */
.sl-thanks { padding: 80px 0; text-align: center; }
.sl-thanks h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: 0 0 14px; }
.sl-thanks p { color: var(--sl-sage); max-width: 50ch; margin: 0 auto 24px; }

/* ---------- footer: dark deep-teal, 2-column, sand top border ("shoreline") ---------- */
.sl-footer { background: #123130; color: rgba(243,233,209,.85); padding: 44px 0 22px; margin-top: 20px; border-top: 6px solid var(--sl-gold); }
.sl-footer__grid { display: grid; gap: 26px; grid-template-columns: 1fr; margin-bottom: 26px; }
@media (min-width: 760px) { .sl-footer__grid { grid-template-columns: 1.6fr 1fr; } }
.sl-footer h4 { font-family: var(--sl-font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sl-gold); margin: 0 0 12px; }
.sl-footer a { display: block; color: rgba(243,233,209,.88); text-decoration: none; margin-bottom: 8px; font-size: .92rem; min-height: 22px; }
.sl-footer a:hover { color: var(--sl-gold); }
.sl-footer__bottom { border-top: 1px solid rgba(243,233,209,.18); padding-top: 18px; font-size: .8rem; color: rgba(243,233,209,.55); }

/* ---------- cookie banner ---------- */
.sl-cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #123130; color: var(--sl-sage); border-top: 4px solid var(--sl-gold); }
.sl-cookie-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; padding: 16px 0; }
.sl-cookie-banner__inner p { margin: 0; font-size: .84rem; max-width: 70ch; color: rgba(243,233,209,.9); }
.sl-cookie-banner__inner a { color: var(--sl-gold); }
.sl-cookie-banner__accept { background: var(--sl-gold); color: var(--sl-ink); border: none; border-radius: 999px; padding: 10px 20px; min-height: 44px; font-weight: 700; cursor: pointer; font-size: .88rem; }
.sl-cookie-banner__accept:hover { background: var(--sl-white); }

/* footer bottom line: links stay inline (the generic .sl-footer a rule makes them blocks) */
.sl-footer__bottom a { display: inline; margin: 0; min-height: 0; font-size: inherit; color: inherit; text-decoration: underline; }
.sl-footer__bottom a:hover { color: var(--sl-gold); }

/* consent banner buttons */
.sl-cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sl-cookie-banner__btn { min-width: 44px; min-height: 44px; border-radius: 999px; padding: 10px 22px; font-weight: 700; font-size: .88rem; cursor: pointer; font-family: inherit; border: 2px solid var(--sl-gold); }
.sl-cookie-banner__decline { background: transparent; color: var(--sl-sage); }
.sl-cookie-banner__decline:hover { background: rgba(243,233,209,.12); }
.sl-cookie-banner__accept { background: var(--sl-gold); color: var(--sl-ink); }
.sl-cookie-banner__accept:hover { background: var(--sl-white); border-color: var(--sl-white); }
.sl-cookie-banner__inner a { color: var(--sl-sage); }
