:root {
  --bg: #f6f3ec; --surface: #ffffff; --surface-2: #efebe1; --ink: #14221d; --muted: #5f6d66; --line: #e2ddd0;
  --brand: #1d6b50; --brand-ink: #ffffff; --glow: #f0a45d; --easy: #2f9e6b; --mid: #e0a030; --hard: #d9534f;
  --shadow: 0 1px 2px rgba(20,34,29,.06), 0 12px 32px -12px rgba(20,34,29,.18);
  --hero-1: #0f2233; --hero-2: #35566b; --hero-3: #e9a06a;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1512; --surface: #15211c; --surface-2: #1b2a24; --ink: #eef3ef; --muted: #98a89f; --line: #26362f;
    --brand: #4fc08d; --brand-ink: #07140e; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -12px rgba(0,0,0,.6);
    --hero-1: #070f17; --hero-2: #1d3447; --hero-3: #b9693f;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1512; --surface: #15211c; --surface-2: #1b2a24; --ink: #eef3ef; --muted: #98a89f; --line: #26362f;
  --brand: #4fc08d; --brand-ink: #07140e; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -12px rgba(0,0,0,.6);
  --hero-1: #070f17; --hero-2: #1d3447; --hero-3: #b9693f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.01em; line-height: 1.12; margin: 0; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Nav */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.top.solid { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; text-decoration: none; color: #fff; }
.top.solid .brand { color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.links { display: flex; gap: 4px; align-items: center; }
.links a, .pill { color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.top.solid .links a, .top.solid .pill { color: var(--ink); }
.links a:hover, .pill:hover { background: rgba(127,127,127,.18); }
.links .lang { border: 1px solid rgba(255,255,255,.5); }
.top.solid .links .lang { border-color: var(--line); }
@media (max-width: 720px) { .links a.hide-m { display: none; } }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(8,18,28,.62) 0%, rgba(8,18,28,.18) 42%, rgba(8,18,28,.72) 100%), url(/img/hero.jpg) center 60% / cover, var(--hero-1); }
.hero .stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 15%, #fff8, transparent), radial-gradient(1px 1px at 70% 10%, #fff8, transparent), radial-gradient(1.5px 1.5px at 85% 28%, #fff7, transparent), radial-gradient(1px 1px at 40% 25%, #fff6, transparent), radial-gradient(1px 1px at 10% 35%, #fff6, transparent); opacity: .7; }
.hero .peaks { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; display: block; }
.hero .wrap { width: 100%; position: relative; z-index: 2; padding-top: 110px; padding-bottom: 190px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); margin: 20px 0 16px; max-width: 14ch; text-wrap: balance; }
.hero p.lead { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 40ch; opacity: .92; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: 600 .98rem 'Inter', sans-serif; padding: 14px 24px; border-radius: 999px; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.glow { background: var(--glow); color: #2a1604; box-shadow: 0 10px 30px -8px rgba(240,164,93,.7); }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn.brand { background: var(--brand); color: var(--brand-ink); }
.btn.line { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 18px; height: 18px; }

/* Facts */
.facts { position: relative; z-index: 3; margin-top: -64px; }
.facts .grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.fact { padding: 22px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact b { display: block; font-family: 'Fraunces', serif; font-size: 1.7rem; line-height: 1.1; }
.fact span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .facts .grid { grid-template-columns: 1fr 1fr; } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Sections */
section.block { padding: 96px 0 8px; }
.kicker { color: var(--brand); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.block h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 8px 0 12px; }
.block p.sub { color: var(--muted); max-width: 56ch; margin: 0 0 32px; font-size: 1.05rem; }

/* Hiking */
.hike { display: grid; grid-template-columns: 420px 1fr; gap: 20px; align-items: start; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 7px 16px; border-radius: 999px; cursor: pointer; font: 500 .9rem 'Inter', sans-serif; transition: all .15s; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.routes { display: flex; flex-direction: column; gap: 12px; max-height: 640px; overflow-y: auto; padding: 4px 6px 12px 2px; scrollbar-width: thin; }
.route { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; text-align: left; font: inherit; color: inherit; width: 100%; position: relative; }
.route:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.route.sel { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.route h3 { font-size: 1.12rem; margin-bottom: 8px; padding-right: 74px; }
.diff { position: absolute; top: 14px; right: 14px; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; }
.diff.leicht { background: var(--easy); } .diff.mittel { background: var(--mid); color: #2a1d02; } .diff.schwer { background: var(--hard); }
.stats { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.stats span { display: inline-flex; align-items: center; gap: 5px; }
.stats svg { width: 15px; height: 15px; }
.route .more { display: none; margin-top: 12px; }
.route.sel .more { display: block; }
.route .more p { margin: 0 0 12px; font-size: .92rem; color: var(--muted); }
.route .more .btn { padding: 10px 18px; font-size: .88rem; }
.mapcol { position: sticky; top: 76px; }
#map { height: 640px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 1; }
@media (max-width: 920px) { .hike { grid-template-columns: 1fr; } .routes { max-height: none; } .mapcol { position: static; order: -1; } #map { height: 380px; } }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.price:first-child { background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #0b2a3a)); color: var(--brand-ink); border: 0; }
.price small { opacity: .75; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .76rem; }
.price .amt { font-family: 'Fraunces', serif; font-size: 2.5rem; margin: 10px 0 6px; line-height: 1.05; }
.price p { margin: 0; opacity: .8; font-size: .92rem; }
.pay { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.pay span { background: var(--surface); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .88rem; display: inline-flex; gap: 8px; align-items: center; }
.pay svg { width: 16px; height: 16px; color: var(--brand); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; counter-increment: s; }
.step::before { content: counter(s); font-family: 'Fraunces', serif; font-size: 2.6rem; color: var(--glow); line-height: 1; display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }
.note { margin-top: 16px; background: color-mix(in srgb, var(--glow) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--glow) 45%, var(--line)); border-radius: 16px; padding: 16px 20px; font-size: .95rem; }

/* FAQ */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

footer { margin-top: 110px; background: var(--hero-1); color: #cfd9d4; padding: 56px 0 100px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
footer h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
footer small { opacity: .6; display: block; margin-top: 18px; width: 100%; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn:hover, .route:hover { transform: none; } }

/* Assistant */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 14px 22px 14px 16px; font: 600 .98rem 'Inter', sans-serif; cursor: pointer; box-shadow: 0 14px 40px -8px rgba(0,0,0,.5); transition: transform .2s; }
.fab:hover { transform: translateY(-3px); }
.fab .orb { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 200deg, var(--glow), #ff7ab0, #7ab8ff, var(--glow)); display: grid; place-items: center; }
.fab .orb svg { width: 16px; height: 16px; color: #fff; }
.panel { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 40px)); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); display: none; flex-direction: column; overflow: hidden; }
.panel.open { display: flex; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.ph { padding: 16px 18px; background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); color: #fff; display: flex; align-items: center; gap: 12px; }
.ph .orb { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(from 200deg, var(--glow), #ff7ab0, #7ab8ff, var(--glow)); flex: none; }
.ph b { display: block; line-height: 1.2; } .ph span { font-size: .8rem; opacity: .75; }
.ph button { margin-left: auto; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.m { max-width: 86%; padding: 10px 14px; border-radius: 18px; white-space: pre-wrap; font-size: .94rem; line-height: 1.5; animation: pop .2s ease; }
.m.u { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 6px; }
.m.b { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.dots i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin: 0 2px; animation: b 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes b { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
.sugg { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; background: var(--bg); }
.sugg button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 7px 13px; border-radius: 999px; font: 500 .84rem 'Inter', sans-serif; cursor: pointer; }
.sugg button:hover { border-color: var(--brand); }
.pf { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.pf input { flex: 1; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 12px 18px; font: inherit; outline: none; }
.pf input:focus { border-color: var(--brand); }
.pf button { width: 46px; border: 0; border-radius: 50%; background: var(--brand); color: var(--brand-ink); cursor: pointer; display: grid; place-items: center; }
.pf button svg { width: 20px; height: 20px; }
.esc { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.esc input { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 12px; padding: 9px 12px; font: inherit; }
.esc button { border: 0; background: var(--brand); color: var(--brand-ink); border-radius: 12px; padding: 9px; font: 600 .9rem 'Inter', sans-serif; cursor: pointer; }
@media (max-width: 520px) { .panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; } .fab span.t { display: none; } .fab { padding: 14px; } }
.leaflet-container { font-family: 'Inter', sans-serif; }

/* Language picker */
.langbox { position: relative; }
.pill.lang { display: inline-flex; align-items: center; gap: 6px; }
.langmenu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); min-width: 180px; max-height: 70vh; overflow-y: auto; }
.langmenu[hidden] { display: none; }
.langmenu button { width: 100%; text-align: start; border: 0; background: transparent; color: inherit; padding: 9px 12px; border-radius: 10px; cursor: pointer; font: 500 .95rem 'Inter', sans-serif; display: flex; justify-content: space-between; gap: 12px; }
.langmenu button:hover, .langmenu button.on { background: var(--surface-2); }
.langmenu button.on::after { content: '✓'; color: var(--brand); }
.top .links .langmenu button { color: var(--ink); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery figure, .banner { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface-2); }
.gallery img, .banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.gallery figure:hover img, .banner:hover img { transform: scale(1.05); }
.gallery figcaption, .banner figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 16px 12px; color: #fff; font-weight: 600; font-size: .92rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.g1 { grid-column: span 4; grid-row: span 2; } .g2 { grid-column: span 2; } .g3 { grid-column: span 2; } .g4 { grid-column: span 6; grid-row: span 1; }
.banner { height: 300px; margin-bottom: 20px; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .g1 { grid-column: span 2; grid-row: span 2; } .g2, .g3 { grid-column: span 1; } .g4 { grid-column: span 2; } .banner { height: 210px; } }
#credits a { color: inherit; opacity: .9; }
/* RTL */
[dir="rtl"] .diff { right: auto; left: 14px; }
[dir="rtl"] .route h3 { padding-right: 0; padding-left: 74px; }
[dir="rtl"] .fab, [dir="rtl"] .panel { right: auto; left: 20px; }
[dir="rtl"] .m.u { border-bottom-right-radius: 18px; border-bottom-left-radius: 6px; }
[dir="rtl"] .m.b { border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
[dir="rtl"] .pf button svg { transform: scaleX(-1); }
