:root {
  --green: #0c6a53;
  --green-deep: #064936;
  --green-dark: #0c5c44;
  --green-soft: #c9d7ba;
  --cream: #ece0cc;
  --cream-light: #f7f2e8;
  --stone: #d1d0c5;
  --turquoise: #24b9a3;
  --amber: #f0b44d;
  --ink: #18342c;
  --muted: #5d6f68;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 73, 54, .13);
  --radius: 28px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream-light);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--white);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 64px);
  background: rgba(247, 242, 232, .92);
  border-bottom: 1px solid rgba(12, 106, 83, .12);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 51px;
  height: 51px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: clamp(1.26rem, 2vw, 1.65rem); font-weight: 500; }
.brand-copy small { margin-top: 5px; color: var(--green); font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.round-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(12, 106, 83, .2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.round-button svg { fill: none; stroke: var(--green); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.section { padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 84px); }
.hero {
  position: relative;
  min-height: min(790px, calc(100vh - 76px));
  overflow: hidden;
  background: var(--green-deep);
  color: var(--cream-light);
}
.hero-image {
  position: absolute;
  inset: 0 0 0 48%;
  background: linear-gradient(90deg, rgba(6,73,54,.25), rgba(6,73,54,.04)), url("/assets/waldweg.jpg") center / cover;
}
.hero-curve {
  position: absolute;
  z-index: 1;
  top: -15%;
  bottom: -15%;
  left: -7%;
  width: 67%;
  background: var(--green-deep);
  border-radius: 0 55% 45% 0 / 0 68% 32% 0;
  transform: rotate(-2deg);
}
.hero-curve::after {
  content: "";
  position: absolute;
  inset: 9% -4% 8% auto;
  width: 18%;
  border-radius: 48%;
  border-right: 2px solid rgba(236, 224, 204, .23);
  transform: rotate(5deg);
}
.hero-content { position: relative; z-index: 2; width: min(660px, 52%); max-width: 760px; }
.eyebrow-row { display: flex; align-items: center; gap: 18px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow, .discovery-card .eyebrow { color: #a9dfd3; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; color: #cfe9e3; font-size: .72rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 0 5px rgba(36,185,163,.12); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 6vw, 6.25rem); }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.hero-intro { max-width: 610px; margin: 24px 0 30px; color: #dfece7; font-size: clamp(1rem, 1.4vw, 1.18rem); }

.motivation-grid { display: grid; gap: 10px; max-width: 590px; }
.motivation {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 18px;
  color: var(--cream-light);
  text-align: left;
  border: 1px solid rgba(236,224,204,.25);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.motivation:hover { transform: translateX(4px); border-color: rgba(236,224,204,.55); }
.motivation[aria-pressed="true"] { color: var(--green-deep); border-color: var(--cream); background: var(--cream); }
.motivation-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 1.4rem; }
.motivation span:last-child { display: flex; flex-direction: column; }
.motivation strong { font-size: .98rem; }
.motivation small { margin-top: 2px; opacity: .76; font-size: .82rem; }
.form-hint { margin: 9px 0 0 61px; color: #a9c8be; font-size: .78rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--green-deep); background: var(--cream); box-shadow: 0 12px 28px rgba(0,0,0,.13); }
.collection-section .button-primary, .modal .button-primary { color: var(--white); background: var(--green); }
.button-secondary { color: var(--green); border-color: rgba(12,106,83,.25); background: transparent; }
.button-light { color: var(--green-deep); background: var(--white); }
.text-button { padding: 5px 0; color: inherit; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-weight: 700; cursor: pointer; }
.text-button.compact { color: var(--green); font-size: .82rem; }
.text-button.on-dark { color: var(--cream-light); }

.context-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin: -30px auto 0;
  padding: 20px 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.context-strip > div { display: flex; align-items: center; gap: 13px; padding: 5px 20px; border-right: 1px solid rgba(12,106,83,.12); }
.context-strip > *:last-child { border-right: 0; }
.context-strip span:last-child { display: flex; flex-direction: column; }
.context-strip strong { font-size: .9rem; }
.context-strip small { color: var(--muted); font-size: .75rem; }
.context-icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--green); border-radius: 50%; background: var(--cream-light); font-family: var(--serif); font-size: 1.15rem; }

.recommendations { max-width: 1440px; margin: 0 auto; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-lead { max-width: 720px; margin: 18px 0 36px; color: var(--muted); font-size: 1rem; }
.tour-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(6,73,54,.08);
}
.tour-card:first-child { min-height: 510px; }
.tour-photo { position: relative; min-height: 205px; background-position: center; background-size: cover; }
.tour-card:first-child .tour-photo { min-height: 245px; }
.tour-rank { position: absolute; top: 16px; left: 16px; padding: 7px 11px; color: var(--white); border-radius: 999px; background: rgba(6,73,54,.88); font-size: .71rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.save-tour { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--green); border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 1.25rem; cursor: pointer; }
.save-tour.saved { color: var(--white); background: var(--green); }
.tour-body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.tour-type { margin: 0 0 6px; color: var(--green); font-size: .69rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tour-reason { margin: 12px 0 16px; color: var(--muted); font-size: .9rem; }
.tour-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(12,106,83,.12); color: var(--green-dark); font-size: .8rem; font-weight: 700; }
.tour-card .text-button { align-self: flex-start; margin-top: 17px; color: var(--green); }

.discover-section { padding-top: 0; }
.discovery-card { display: grid; grid-template-columns: 1.05fr .95fr; max-width: 1320px; min-height: 620px; margin: 0 auto; overflow: hidden; border-radius: 46px; background: var(--green-deep); box-shadow: var(--shadow); }
.discovery-photo { position: relative; min-height: 460px; background: url("/assets/granit-detail.jpg") center / cover; }
.discovery-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(6,73,54,.32)); }
.sensory-label { position: absolute; z-index: 2; top: 24px; left: 24px; padding: 8px 12px; color: var(--green-deep); border-radius: 999px; background: var(--cream); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.discovery-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 82px); color: var(--cream-light); }
.discovery-copy p:not(.eyebrow, .privacy-note) { margin: 26px 0; color: #dbe9e4; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.discovery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.privacy-note { margin: 20px 0 0; color: #9fc0b5; font-size: .76rem; }

.map-section { max-width: 1440px; margin: 0 auto; padding-top: 12px; }
.map-shell { position: relative; margin-top: 34px; }
.route-map { display: block; width: 100%; max-height: 720px; filter: saturate(.95); }
.route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-main { stroke: #e45545; stroke-width: 8; }
.route-loop-one, .route-loop-two { stroke: var(--green); stroke-width: 7; }
.route-loop-two { stroke: var(--turquoise); }
.map-marker { cursor: pointer; }
.map-marker:focus { outline: none; }
.map-marker:focus circle:first-child { stroke: var(--cream); stroke-width: 5; }
.map-label { fill: var(--green-deep); font-family: var(--sans); font-size: 18px; font-weight: 750; }
.map-legend { position: absolute; left: 28px; bottom: 28px; display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.88); font-size: .75rem; backdrop-filter: blur(8px); }
.map-legend span { display: flex; align-items: center; gap: 7px; }
.legend-line { width: 24px; height: 3px; border-radius: 3px; background: var(--green); }
.legend-line.main { background: #e45545; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--turquoise); }
.map-callout { position: absolute; top: 28px; right: 28px; width: min(290px, 38%); padding: 22px; border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 10px 35px rgba(6,73,54,.15); backdrop-filter: blur(10px); }
.map-callout .eyebrow { margin-bottom: 5px; }
.map-callout strong, .map-callout span { display: block; }
.map-callout strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.map-callout span { margin-top: 7px; color: var(--muted); font-size: .84rem; }

.collection-section { position: relative; max-width: 1240px; margin: 60px auto 120px; overflow: hidden; border-radius: 46px; background: var(--cream); }
.collection-section::after { content: ""; position: absolute; right: -10%; bottom: -54%; width: 55%; height: 90%; border: 2px solid rgba(12,106,83,.16); border-radius: 50% 50% 0 0; transform: rotate(-16deg); }
.collection-head { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.collection-mark { width: 130px; height: 130px; border-radius: 50%; mix-blend-mode: multiply; }
.collection-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 820px; margin: 38px 0; border-top: 1px solid rgba(12,106,83,.22); border-bottom: 1px solid rgba(12,106,83,.22); }
.collection-stats div { display: flex; flex-direction: column; padding: 22px 24px; border-right: 1px solid rgba(12,106,83,.22); }
.collection-stats div:first-child { padding-left: 0; }
.collection-stats div:last-child { border-right: 0; }
.collection-stats strong { font-family: var(--serif); font-size: 2.8rem; font-weight: 500; }
.collection-stats span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; }
.collection-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; }
.local-note { position: relative; z-index: 2; margin: 18px 0 0; color: var(--muted); font-size: .78rem; }

.bottom-nav { display: none; }
.site-footer { display: flex; justify-content: center; gap: 1rem; padding: 0 18px 42px; }
.backend-login-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--muted);
  border: 0;
  border-bottom: 1px solid rgba(12, 106, 83, .28);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
}
.backend-login-link:hover, .backend-login-link:focus-visible { color: var(--green-deep); border-bottom-color: var(--green); }
.backend-login-link:focus-visible { outline: 3px solid rgba(36,185,163,.24); outline-offset: 3px; }
.modal { width: min(640px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; overflow: auto; color: var(--ink); border: 0; border-radius: 28px; background: var(--cream-light); box-shadow: 0 25px 80px rgba(6,73,54,.35); }
.modal::backdrop { background: rgba(4,40,30,.68); backdrop-filter: blur(5px); }
.modal-inner { position: relative; padding: clamp(28px, 6vw, 54px); }
.modal-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream); font-size: 1.55rem; cursor: pointer; }
.modal h2 { padding-right: 36px; font-size: clamp(2rem, 5vw, 3.6rem); }
.modal-photo { width: calc(100% + clamp(56px, 12vw, 108px)); max-width: none; height: 260px; margin: calc(-1 * clamp(28px, 6vw, 54px)) calc(-1 * clamp(28px, 6vw, 54px)) 30px; object-fit: cover; }
.modal-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.modal-facts span { padding: 8px 12px; color: var(--green-dark); border-radius: 999px; background: var(--cream); font-size: .78rem; font-weight: 700; }
.faq-list { display: grid; gap: .7rem; margin-top: 1.4rem; }
.faq-list details { border: 1px solid rgba(12,106,83,.16); border-radius: 14px; padding: 1rem; background: white; }
.faq-list summary { color: var(--green-dark); font-weight: 800; cursor: pointer; }
.faq-list p { margin: .8rem 0 0; color: var(--muted); line-height: 1.55; }
.modal-note { padding: 16px 18px; border-left: 3px solid var(--turquoise); background: rgba(36,185,163,.09); }
.quiz fieldset { display: grid; gap: 8px; margin: 24px 0; padding: 0; border: 0; }
.quiz legend { margin-bottom: 9px; font-weight: 750; }
.quiz label { display: flex; gap: 9px; padding: 11px 12px; border: 1px solid rgba(12,106,83,.16); border-radius: 12px; cursor: pointer; }
.quiz-result { padding: 18px; color: var(--green-deep); border-radius: 16px; background: var(--cream); font-weight: 700; }
.field-label { display: block; margin: 21px 0 7px; font-weight: 750; }
textarea, select { width: 100%; padding: 13px 14px; color: var(--ink); border: 1px solid rgba(12,106,83,.25); border-radius: 12px; background: var(--white); }
textarea:focus, select:focus { outline: 3px solid rgba(36,185,163,.22); border-color: var(--green); }
.location-option { display: flex; align-items: center; gap: 9px; margin: 19px 0; }
.checkin-symbol { display: grid; place-items: center; width: 120px; height: 120px; margin: 30px auto; color: var(--cream); border-radius: 50%; background: var(--green); font-family: var(--serif); font-size: 4rem; }

.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 360px; padding: 14px 18px; color: var(--white); border-radius: 14px; background: var(--green-deep); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.offline-banner { position: fixed; z-index: 90; top: 76px; left: 50%; padding: 9px 15px; color: var(--white); border-radius: 0 0 12px 12px; background: var(--green-deep); font-size: .78rem; transform: translateX(-50%); }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-bottom: 74px; }
  .hero-image { inset: 0 0 44% 38%; opacity: .52; }
  .hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--green-deep), transparent 60%); }
  .hero-curve { top: -34%; left: -38%; width: 126%; height: 92%; border-radius: 0 0 58% 0 / 0 0 36% 0; opacity: .94; }
  .hero-content { width: 100%; padding-top: 40px; }
  .tour-grid { grid-template-columns: 1fr 1fr; }
  .tour-card:first-child { grid-column: 1 / -1; min-height: 430px; }
  .tour-card:first-child .tour-photo { min-height: 250px; }
  .discovery-card { grid-template-columns: 1fr; }
  .discovery-photo { min-height: 420px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 70px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .site-header { min-height: 68px; padding: 8px 15px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-copy small { font-size: .51rem; letter-spacing: .13em; }
  .round-button { width: 41px; height: 41px; }
  .section { padding: 54px 18px; }
  .hero { min-height: calc(100svh - 68px); padding-top: 36px; padding-bottom: 42px; }
  .hero-image { inset: 0 0 58% 22%; }
  .hero-curve { top: -38%; left: -68%; width: 175%; height: 96%; }
  .hero-content { padding-top: 70px; }
  .eyebrow-row { justify-content: space-between; gap: 8px; }
  h1 { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .hero-intro { margin: 19px 0 24px; }
  .motivation { min-height: 64px; border-radius: 16px; }
  .motivation-icon { width: 38px; height: 38px; }
  .form-hint { margin-left: 0; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-button { align-self: center; }
  .context-strip { grid-template-columns: 1fr; margin: 0; padding: 8px 18px; border-radius: 0; box-shadow: none; }
  .context-strip > div { padding: 12px 0; border-right: 0; border-bottom: 1px solid rgba(12,106,83,.1); }
  .context-strip > *:last-child { border-bottom: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-lead { margin-bottom: 26px; }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-card:first-child { grid-column: auto; }
  .tour-card, .tour-card:first-child { min-height: 450px; }
  .tour-card:first-child .tour-photo, .tour-photo { min-height: 220px; }
  .discover-section { padding: 0; }
  .discovery-card { border-radius: 0; }
  .discovery-photo { min-height: 370px; }
  .discovery-copy { padding: 40px 20px 48px; }
  .discovery-actions { align-items: stretch; flex-direction: column; }
  .map-section { padding-left: 0; padding-right: 0; }
  .map-section .section-heading { padding: 0 18px; }
  .map-shell { min-height: 500px; overflow: hidden; background: #e4e7da; }
  .route-map { width: 800px; max-width: none; height: 500px; transform: translateX(-210px); }
  .map-callout { top: 18px; right: 18px; width: 235px; padding: 17px; }
  .map-legend { right: 18px; bottom: 18px; left: 18px; justify-content: center; }
  .collection-section { margin: 38px 12px 90px; padding: 42px 22px; border-radius: 30px; }
  .collection-mark { width: 78px; height: 78px; }
  .collection-stats div { padding: 18px 10px; }
  .collection-stats strong { font-size: 2.2rem; }
  .collection-stats span { font-size: .62rem; letter-spacing: .07em; }
  .collection-actions { flex-direction: column; }
  .bottom-nav {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 7px 5px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(12,106,83,.13);
    background: rgba(247,242,232,.96);
    backdrop-filter: blur(18px);
  }
  .bottom-nav a { display: flex; align-items: center; flex-direction: column; gap: 2px; color: var(--muted); font-size: .61rem; font-weight: 700; text-decoration: none; }
  .bottom-nav a span { font-family: var(--serif); font-size: 1.22rem; line-height: 1; }
  .bottom-nav a.active { color: var(--green); }
  .toast { right: 12px; bottom: 84px; left: 12px; }
  .offline-banner { top: 68px; width: max-content; max-width: calc(100% - 24px); text-align: center; }
}

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

/* Version 1: dynamische Inhalte und Live-Kontext */
.practical-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin: 1.1rem 0;
}

.practical-filters label {
  display: grid;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.practical-filters select {
  min-width: 0;
  border: 1px solid rgba(12, 106, 83, .2);
  border-radius: 12px;
  padding: .72rem .7rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
}

.context-strip > div.weather-context { display: grid; align-content: center; gap: 2px; }
.weather-context-main { display: flex; align-items: center; gap: 13px; margin: -4px; border-radius: 12px; padding: 4px; color: inherit; text-decoration: none; transition: background .18s ease; }
.weather-context-main > span:last-child { display: flex; flex-direction: column; }
.context-strip span.weather-context-links { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px; margin: 3px 0 0 49px; white-space: nowrap; }
.weather-context-links a { color: var(--green); font-size: .66rem; font-weight: 800; text-decoration: none; }
.weather-context-main:hover { background: rgba(234,244,238,.72); }
.weather-context-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.weather-context-main:focus-visible, .weather-context-links a:focus-visible { border-radius: 4px; outline: 3px solid rgba(36,185,163,.28); outline-offset: 2px; }

.route-alerts {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 1.4rem;
}

.route-alerts article {
  display: grid;
  gap: .3rem;
  border-left: 4px solid #d18a2e;
  border-radius: 8px;
  padding: .85rem 1rem;
  background: #fff2da;
}

.route-alerts a { color: var(--forest); font-weight: 800; }
.tour-warning, .modal-warning { border-radius: 9px; padding: .55rem .7rem; color: #733b0d; background: #fff0d3; }
.tour-status { color: var(--muted); font-size: .78rem; }
.recommendation-box { border-left: 4px solid var(--mint); padding: .7rem .9rem; background: #eef8f4; }
.practical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1.2rem 0; }
.practical-grid div { display: grid; gap: .18rem; border-radius: 10px; padding: .7rem; background: var(--cream); }
.practical-grid span { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.poi-groups { display: grid; gap: .85rem; margin: .6rem 0 1.2rem; }
.poi-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.poi-group h4 { grid-column: 1 / -1; margin: .15rem 0 0; color: var(--forest); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.poi-card { display: grid; gap: .22rem; border: 1px solid rgba(12,106,83,.13); border-radius: 10px; padding: .75rem; background: var(--cream); }
.poi-card span, .poi-card small { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.poi-card p { margin: .15rem 0; line-height: 1.45; }
.poi-card a { color: var(--forest); font-size: .78rem; font-weight: 800; }
.poi-empty { border-radius: 10px; padding: .8rem; color: var(--muted); background: var(--cream); }
.navigation-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }
.discovery-links { margin: .5rem 0 1rem; padding: 0; list-style: none; }
.discovery-links button { border: 0; padding: .35rem 0; color: var(--forest); font-weight: 800; text-align: left; background: transparent; cursor: pointer; }
.map-point-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .65rem; margin-top: 1rem; }
.map-point-list button { display: grid; gap: .2rem; border: 1px solid rgba(12,106,83,.15); border-radius: 12px; padding: .8rem; color: var(--ink); text-align: left; background: rgba(255,255,255,.72); cursor: pointer; }
.map-point-list span { color: var(--forest); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.map-point-list small { color: var(--muted); line-height: 1.35; }
.collection-list { display: grid; gap: .45rem; margin-top: 1.2rem; }
.collection-list div { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: .6rem; border-top: 1px solid rgba(255,255,255,.18); padding-top: .55rem; }
.collection-list span, .collection-list small { opacity: .72; font-size: .75rem; }
.context-flags { display: flex; flex-wrap: wrap; gap: .5rem 1rem; border: 0; margin: .8rem 0; padding: 0; }
.context-flags legend { width: 100%; margin-bottom: .3rem; font-weight: 800; }
.context-flags label { display: flex; align-items: center; gap: .35rem; }
.context-flags input { width: auto; }
#observation-photo { width: 100%; border: 1px solid rgba(12,106,83,.18); border-radius: 10px; padding: .65rem; background: white; }
.content-version { position: fixed; right: .5rem; bottom: 4.8rem; z-index: 20; margin: 0; color: rgba(23,52,44,.62); font-size: .63rem; }
.empty-state { grid-column: 1 / -1; border-radius: 14px; padding: 1.4rem; color: var(--muted); background: var(--cream); }

@media (max-width: 760px) {
  .practical-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practical-grid { grid-template-columns: 1fr; }
  .poi-group { grid-template-columns: 1fr; }
  .content-version { display: none; }
}

@media (max-width: 420px) {
  .practical-filters { grid-template-columns: 1fr; }
  .collection-list div { grid-template-columns: 1fr; }
}

@media (prefers-contrast: more) {
  :root { --muted: #344a42; }
  .motivation, .button-secondary { border-width: 2px; }
}

[hidden] { display: none !important; }

.header-actions { position: relative; display: flex; align-items: center; gap: 8px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); margin-left: auto; margin-right: clamp(12px, 2vw, 26px); }
.desktop-nav a { position: relative; padding: 10px 0; color: var(--muted); font-size: .82rem; font-weight: 750; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--turquoise); transform: scaleX(0); transition: transform .18s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a.active { color: var(--green-dark); }
.desktop-nav a.active::after { transform: scaleX(1); }
.secondary-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 12px);
  right: 0;
  width: min(240px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(12,106,83,.14);
  border-radius: 18px;
  background: rgba(247,242,232,.98);
  box-shadow: var(--shadow);
}
.secondary-menu a { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(12,106,83,.1); color: var(--green-dark); font-weight: 750; text-decoration: none; }
.secondary-menu a:last-child { border-bottom: 0; }
.secondary-menu a:hover, .secondary-menu a:focus-visible { background: var(--cream); }

.section.app-view { min-height: calc(100svh - 76px); }
.recommendations.app-view, .map-section.app-view { padding-top: clamp(48px, 7vw, 88px); }
.recommendations h1, .map-section h1, .discover-section h1, .collection-section h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
.page-filters { margin: 0 0 28px; padding: 18px; border: 1px solid rgba(12,106,83,.13); border-radius: 20px; background: var(--cream); }
.discover-section.app-view { padding-top: clamp(48px, 7vw, 88px); }
.discover-heading { max-width: 1320px; margin: 0 auto 28px; }
.discovery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1320px; margin: 28px auto 0; }
.discovery-teaser { display: grid; grid-template-columns: minmax(160px, .75fr) 1.25fr; overflow: hidden; border: 1px solid rgba(12,106,83,.12); border-radius: 26px; background: white; box-shadow: 0 12px 36px rgba(6,73,54,.08); }
.discovery-teaser img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.discovery-teaser div { padding: 28px; }
.discovery-teaser h2 { margin: 5px 0 12px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.discovery-teaser p:not(.eyebrow) { color: var(--muted); }

.detail-page { max-width: 1240px; margin: 0 auto; }
.detail-content { width: 100%; }
.back-link { display: inline-flex; margin-bottom: 22px; color: var(--green); font-weight: 800; text-decoration: none; }
.back-link:hover, .back-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.detail-hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 520px; overflow: hidden; border-radius: 42px; background: var(--green-deep); color: var(--cream-light); box-shadow: var(--shadow); }
.detail-hero img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.detail-hero > div { display: flex; justify-content: center; flex-direction: column; padding: clamp(32px, 6vw, 72px); }
.detail-hero h1 { color: var(--cream-light); font-size: clamp(2.8rem, 6vw, 5.8rem); }
.detail-hero h1 em { color: var(--turquoise); font-weight: 400; }
.detail-body { max-width: 940px; margin: 0 auto; padding: 42px 0; }
.detail-lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.45; }
.detail-section { margin-top: 42px; }
.detail-section > h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.4rem); }
.detail-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-link-grid a { display: grid; gap: 5px; border: 1px solid rgba(12,106,83,.14); border-radius: 16px; padding: 18px; background: white; text-decoration: none; }
.detail-link-grid a:hover, .detail-link-grid a:focus-visible { border-color: var(--turquoise); transform: translateY(-2px); }
.detail-link-grid span { color: var(--green); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-link-grid strong { font-family: var(--serif); font-size: 1.35rem; }
.detail-link-grid small { color: var(--muted); }
.detail-page .button-primary, .utility-page .button-primary { color: var(--white); background: var(--green); }
.detail-page .recommendation-box { border-left-color: var(--turquoise); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tag-list span { padding: 7px 11px; border-radius: 999px; color: var(--green-dark); background: var(--cream); font-size: .75rem; font-weight: 750; }

.utility-page { background: linear-gradient(145deg, var(--cream-light), #e7eadf); }
.utility-shell { max-width: 760px; margin: 0 auto; }
.utility-shell.wide { max-width: 1080px; }
.utility-shell > h1 { margin-bottom: 18px; font-size: clamp(3rem, 7vw, 6rem); }
.code-form { display: grid; gap: 8px; margin: 30px 0; }
.code-form > label, .faq-search span, .field-label { color: var(--green-dark); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.code-form > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.code-form input, .faq-search input, .observation-form textarea, .observation-form select { width: 100%; border: 1px solid rgba(12,106,83,.22); border-radius: 13px; padding: 13px 15px; color: var(--ink); background: white; }
.checkin-result { min-height: 180px; }
.checkin-empty, .checkin-error, .checkin-card { border: 1px solid rgba(12,106,83,.14); border-radius: 24px; padding: clamp(24px, 5vw, 44px); background: white; box-shadow: 0 12px 38px rgba(6,73,54,.08); }
.checkin-empty { display: flex; align-items: center; gap: 20px; color: var(--muted); }
.checkin-card h2 { margin: 6px 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.checkin-card .checkin-symbol, .checkin-empty .checkin-symbol { display: grid; place-items: center; width: 70px; height: 70px; color: var(--green); font-size: 2.2rem; }
.checkin-mark { display: block; width: 1.35em; height: 1.35em; flex: 0 0 auto; }
.checkin-symbol.is-checked { color: var(--green-dark); }
.checkin-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.checkin-links a { color: var(--green); font-weight: 800; }
.observation-form { display: grid; gap: 9px; }
.observation-form h1 { margin-bottom: 24px; }
.observation-form .button { justify-self: start; margin-top: 10px; }
.location-option { display: flex; align-items: center; gap: 8px; margin: 8px 0; }

.faq-search { display: grid; gap: 7px; max-width: 620px; margin: 30px 0; }
.faq-list { gap: 24px; }
.faq-group { display: grid; gap: 10px; }
.faq-group h2 { margin: 12px 0 2px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.faq-contact { margin-top: 30px; color: var(--muted); }
.faq-contact a { color: var(--green); font-weight: 800; }

.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.news-card { overflow: hidden; border: 1px solid rgba(12,106,83,.13); border-radius: 26px; background: white; box-shadow: 0 12px 36px rgba(6,73,54,.08); }
.news-card > img { width: 100%; height: 250px; object-fit: cover; }
.news-card > div { padding: clamp(24px, 4vw, 36px); }
.news-card h2 { margin: 5px 0 12px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.news-teaser { color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.news-card details { margin: 20px 0; border-top: 1px solid rgba(12,106,83,.13); border-bottom: 1px solid rgba(12,106,83,.13); padding: 14px 0; }
.news-card summary { color: var(--green); font-weight: 800; cursor: pointer; }
.news-card details p { color: var(--muted); line-height: 1.55; }
.news-card .text-button { display: inline-flex; margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; margin: 34px 0; }
.contact-card { display: flex; align-items: flex-start; flex-direction: column; min-height: 260px; border: 1px solid rgba(12,106,83,.13); border-radius: 24px; padding: 28px; background: white; }
.contact-card.primary-contact { color: var(--cream-light); background: var(--green-deep); }
.contact-card h2 { margin: 22px 0 10px; font-size: 1.65rem; }
.contact-card a { font-weight: 800; overflow-wrap: anywhere; }
.contact-card p, .contact-card address { margin: 10px 0; color: var(--muted); font-style: normal; }
.contact-card.primary-contact p { color: #bdd3cc; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--green); background: var(--cream); font-family: var(--serif); font-size: 1.4rem; }
.safety-contact { margin-top: 24px; border-left: 4px solid var(--amber); border-radius: 12px; padding: 18px 22px; background: #fff3df; }
.safety-contact p { margin: 5px 0 0; }
.safety-contact a { font-weight: 900; }

.collection-list a { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: .6rem; border-top: 1px solid rgba(12,106,83,.18); padding-top: .55rem; text-decoration: none; }
.collection-list a:hover strong, .collection-list a:focus-visible strong { color: var(--green); }
.collection-list a span, .collection-list a small { opacity: .72; font-size: .75rem; }
.poi-group h3 { grid-column: 1 / -1; margin: .15rem 0 0; color: var(--green); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }

.sky-page { overflow: hidden; }
.sky-shell { max-width: 1240px; margin: 0 auto; }
.sky-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: clamp(28px, 6vw, 88px); margin-bottom: 36px; }
.sky-heading h1 { max-width: 780px; margin: 0; font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: 1.02; }
.sky-heading > p { max-width: 470px; margin: 0 0 10px; color: var(--muted); font-size: 1.05rem; }
.daylight-page { background: linear-gradient(155deg, #f7f2e8 0%, #e9e4d6 58%, #d9e3d7 100%); }
.daylight-chart-shell { overflow: hidden; border-radius: 38px; padding: clamp(18px, 4vw, 42px); color: var(--cream-light); background: radial-gradient(circle at 50% 25%, rgba(240,180,77,.16), transparent 38%), linear-gradient(145deg, #073d35, #0b3141 58%, #101b32); box-shadow: 0 24px 70px rgba(6,49,54,.2); }
.daylight-chart { display: block; width: 100%; height: auto; overflow: visible; }
.daylight-horizon { fill: none; stroke: rgba(247,242,232,.2); stroke-width: 1; }
.daylight-arc-shadow { fill: none; stroke: rgba(0,0,0,.22); stroke-width: 36; stroke-linecap: round; }
.daylight-arc { fill: none; stroke-width: 26; stroke-linecap: round; }
.daylight-marker line { stroke: rgba(247,242,232,.35); stroke-width: 1; }
.daylight-marker circle { fill: var(--cream-light); stroke: rgba(7,24,40,.48); stroke-width: 3; }
.daylight-marker text { fill: var(--cream-light); font-size: 12px; font-weight: 700; }
.daylight-marker .marker-time { fill: rgba(247,242,232,.7); font-size: 11px; font-weight: 500; }
.daylight-now line { stroke: var(--turquoise); stroke-width: 1.5; }
.daylight-now circle { fill: var(--turquoise); stroke: var(--cream-light); stroke-width: 2; }
.daylight-now text, .daylight-edge { fill: rgba(247,242,232,.62); font-size: 11px; font-weight: 700; }
.light-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border-top: 1px solid rgba(247,242,232,.14); }
.light-facts div { display: grid; gap: 4px; padding: 22px 20px 4px; text-align: center; }
.light-facts span { color: rgba(247,242,232,.66); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.light-facts strong { color: var(--cream-light); font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 500; }
.daylight-event-row { display: none; }
.hourly-weather { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.hourly-weather article { display: grid; gap: 8px; border: 1px solid rgba(12,106,83,.12); border-radius: 20px; padding: 19px; background: rgba(255,255,255,.7); }
.hourly-weather article > span { color: var(--green-dark); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hourly-weather article > div { display: flex; align-items: center; justify-content: space-between; }
.hourly-weather b { color: var(--green); font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.hourly-weather strong { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.hourly-weather small { color: var(--muted); }
.sky-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.sky-actions .button-primary { color: var(--white); background: var(--green); }
.sky-actions p { margin: 0; color: var(--muted); font-size: .75rem; text-align: right; }
.sky-actions p a { color: var(--green); font-weight: 800; }
.sky-loading { padding: 36px; text-align: center; }

.night-page { position: relative; color: #f5efdf; background-color: #071828; background-image: radial-gradient(circle at 12% 18%, rgba(255,255,255,.55) 0 1px, transparent 1.6px), radial-gradient(circle at 72% 10%, rgba(255,255,255,.42) 0 1px, transparent 1.5px), radial-gradient(circle at 44% 62%, rgba(255,255,255,.28) 0 1px, transparent 1.5px), radial-gradient(circle at 88% 76%, rgba(255,255,255,.34) 0 1px, transparent 1.6px), linear-gradient(155deg, #071828, #0a2731 54%, #10213b); background-size: 170px 170px, 230px 230px, 290px 290px, 350px 350px, auto; }
.night-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 20%, rgba(36,185,163,.12), transparent 28%), radial-gradient(circle at 15% 70%, rgba(240,180,77,.08), transparent 32%); }
.night-page .sky-shell { position: relative; z-index: 1; }
.on-dark-link { color: var(--turquoise); }
.night-heading h1 { color: #f7f2e8; }
.night-heading > p { color: #b8c8c6; }
.night-overview { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.moon-module, .night-window { min-height: 310px; border: 1px solid rgba(247,242,232,.13); border-radius: 30px; padding: clamp(24px, 5vw, 46px); background: rgba(8,29,45,.56); backdrop-filter: blur(10px); }
.moon-module { display: grid; grid-template-columns: minmax(150px,.78fr) 1.22fr; align-items: center; gap: 30px; }
.moon-visual svg { display: block; width: min(100%, 220px); margin: 0 auto; }
.moon-shadow { fill: #13213a; stroke: rgba(247,242,232,.16); stroke-width: 1; }
.moon-light { fill: #f1deb1; }
.moon-copy h2, .night-window h2 { margin: 4px 0; color: #f7f2e8; font-size: clamp(2rem, 5vw, 4rem); }
.moon-copy > p:not(.eyebrow), .night-window > p:not(.eyebrow) { color: #b8c8c6; }
.moon-copy > p strong { color: #f7f2e8; font-size: 1.25rem; }
.moon-copy > div { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.moon-copy > div span { color: #b8c8c6; font-size: .78rem; }
.moon-copy > div b { color: #f7f2e8; }
.night-window { display: flex; justify-content: center; flex-direction: column; }
.night-condition { display: grid; gap: 4px; margin-top: 22px; border-left: 3px solid var(--turquoise); padding-left: 16px; }
.night-condition strong { color: #f7f2e8; }
.night-condition span { color: #b8c8c6; }
.constellation-module { margin-top: clamp(56px, 8vw, 100px); }
.constellation-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.constellation-heading h2 { margin: 4px 0 0; color: #f7f2e8; font-size: clamp(2.4rem, 6vw, 4.8rem); }
.constellation-heading > p { color: #93aaa8; }
.constellation-grid { display: grid; gap: 52px; }
.constellation-period { display: grid; gap: 12px; }
.constellation-period-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(247,242,232,.18); padding-bottom: 14px; }
.constellation-period-heading div { display: flex; align-items: baseline; gap: 12px; }
.constellation-period-heading p { margin: 0; color: #f7f2e8; font-weight: 800; }
.constellation-period-heading strong { color: #f1deb1; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.constellation-period-heading > span { color: #93aaa8; font-size: .78rem; text-align: right; }
.constellation-period-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.constellation-grid article { display: grid; grid-template-columns: 150px 1fr; gap: 24px; border-top: 1px solid rgba(247,242,232,.18); padding: 26px 4px 8px; }
.constellation-grid article[hidden] { display: none; }
.constellation-shape { width: 100%; height: 150px; }
.constellation-shape line { stroke: rgba(36,185,163,.55); stroke-width: 1; }
.constellation-shape circle { fill: #f7f2e8; filter: drop-shadow(0 0 5px rgba(247,242,232,.65)); }
.constellation-latin { margin: 0; color: var(--turquoise); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.constellation-grid h3 { margin: 3px 0 8px; color: #f7f2e8; font-size: clamp(1.65rem, 3vw, 2.4rem); }
.constellation-grid article div > p:not(.constellation-latin) { margin: 0 0 13px; color: #b8c8c6; }
.constellation-grid article strong { display: block; color: #f1deb1; font-size: .82rem; }
.constellation-grid article small { display: block; margin-top: 5px; color: #839c9a; }
.constellation-checkin, .constellation-more { border: 1px solid rgba(36,185,163,.42); border-radius: 999px; padding: 8px 12px; color: var(--turquoise); background: transparent; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.constellation-checkin { display: inline-flex; align-items: center; gap: 7px; }
.constellation-checkin .checkin-mark { width: 1.45em; height: 1.45em; }
.constellation-checkin { margin-top: 15px; }
.constellation-checkin:hover, .constellation-more:hover { color: #071828; background: var(--turquoise); }
.constellation-checkin:focus-visible, .constellation-more:focus-visible { outline: 3px solid rgba(36,185,163,.35); outline-offset: 3px; }
.constellation-checkin:disabled { border-color: rgba(247,242,232,.14); color: #93aaa8; background: rgba(247,242,232,.06); cursor: default; }
.constellation-more { justify-self: start; margin-top: 10px; }
.night-disclaimer { max-width: 820px; margin: 40px auto 0; color: #839c9a; font-size: .75rem; text-align: center; }

@media (max-width: 900px) {
  .desktop-nav { gap: 13px; }
  .desktop-nav a { font-size: .73rem; }
  .context-strip { grid-template-columns: 1fr; }
  .context-strip > div { padding: 12px 0; border-right: 0; border-bottom: 1px solid rgba(12,106,83,.1); }
  .context-strip > *:last-child { border-bottom: 0; }
  .discovery-grid, .contact-grid, .news-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero img { min-height: 360px; max-height: 500px; }
  .detail-link-grid { grid-template-columns: 1fr; }
  .sky-heading { grid-template-columns: 1fr; }
  .night-overview { grid-template-columns: 1fr; }
  .hourly-weather { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .constellation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .desktop-nav { display: none; }
  .section.app-view { min-height: calc(100svh - 68px); }
  .menu-button { width: 41px; height: 41px; }
  .recommendations.app-view, .map-section.app-view, .discover-section.app-view { padding-top: 42px; }
  .discover-section.app-view { padding-right: 0; padding-left: 0; }
  .discover-heading, .discovery-grid { margin-right: 18px; margin-left: 18px; }
  .discovery-card { border-radius: 0; }
  .discovery-teaser { grid-template-columns: 1fr; }
  .discovery-teaser img { min-height: 220px; max-height: 300px; }
  .detail-page { padding: 30px 0 50px; }
  .detail-page > .detail-content > .back-link, .detail-page > .detail-content > h1, .detail-page > .detail-content > p { margin-right: 18px; margin-left: 18px; }
  .detail-hero { border-radius: 0; }
  .detail-hero img { min-height: 300px; }
  .detail-body { padding: 32px 18px; }
  .utility-page { padding-top: 42px; }
  .code-form > div { grid-template-columns: 1fr; }
  .code-form .button { justify-content: center; }
  .collection-list a, .collection-list div { grid-template-columns: 1fr; }
  .collection-stats { grid-template-columns: repeat(2, 1fr); }
  .collection-stats div:nth-child(2) { border-right: 0; }
  .collection-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(12,106,83,.22); }
  .site-footer { padding-bottom: 28px; }
  .sky-page { padding-top: 42px; }
  .sky-heading { margin-bottom: 26px; }
  .daylight-chart-shell { margin-right: -18px; margin-left: -18px; border-radius: 0; padding: 22px 12px 26px; }
  .daylight-marker text, .daylight-marker line { display: none; }
  .daylight-event-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 4px 0 12px; }
  .daylight-event-row span { display: grid; gap: 2px; color: rgba(247,242,232,.62); font-size: .57rem; text-align: center; }
  .daylight-event-row b { color: var(--cream-light); font-size: .68rem; }
  .light-facts div { padding: 16px 6px 0; }
  .light-facts span { font-size: .54rem; letter-spacing: .04em; }
  .light-facts strong { font-size: 1.35rem; }
  .hourly-weather { grid-template-columns: 1fr; }
  .sky-actions { align-items: stretch; flex-direction: column; }
  .sky-actions p { text-align: left; }
  .moon-module { grid-template-columns: 1fr; text-align: center; }
  .moon-copy > div { justify-content: center; }
  .constellation-heading { align-items: flex-start; flex-direction: column; }
  .constellation-period-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .constellation-period-heading > span { text-align: left; }
  .constellation-period-grid { grid-template-columns: 1fr; }
  .constellation-grid article { grid-template-columns: 108px 1fr; gap: 16px; }
  .constellation-shape { height: 110px; }
}
