@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700&display=swap');

/* ══════════════════════════════════════════════════
   KINDERHABENSPASS — Design System v3
   ══════════════════════════════════════════════════ */
:root {
  --primary: #3FADA3;
  --primary-dark: #2e8a81;
  --on-primary: #ffffff;
  --primary-container: #4dbdb3;
  --on-primary-container: #f0feff;

  --secondary: #c99500;
  --on-secondary: #ffffff;
  --secondary-container: #F4BB3B;
  --on-secondary-container: #604b00;

  --tertiary: #E81D26;
  --on-tertiary: #ffffff;

  --surface: #fcf9f8;
  --surface-0: #ffffff;
  --surface-1: #f8f5f4;
  --surface-2: #f2efee;
  --surface-3: #ece9e8;
  --surface-4: #e5e2e1;

  --on-surface: #1b1c1c;
  --on-surface-2: #3e494a;
  --on-surface-3: #6e797a;

  --outline: #8e9a9b;
  --outline-2: #c8d1d2;

  --success: #16a34a;
  --warning: #d97706;

  /* spacing & radii */
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 14px;
  --r-2xl: 18px;
  --r-full: 9999px;

  /* shadows */
  --sh-xs: 0 1px 3px rgba(0,0,0,.06);
  --sh-sm: 0 2px 8px rgba(0,0,0,.07);
  --sh-md: 0 4px 20px rgba(0,0,0,.08);
  --sh-lg: 0 12px 40px rgba(0,0,0,.10);
  --sh-xl: 0 24px 64px rgba(0,0,0,.12);

  /* nav heights */
  --nav-h: 64px;
  --bnav-h: 68px;

  /* ── Backward-compat aliases (v2 → v3) ── */
  --on-surface-variant: var(--on-surface-2);
  --outline-variant: var(--outline-2);
  --surface-container: var(--surface-2);
  --surface-low: var(--surface-1);
  --surface-high: var(--surface-3);
  --shadow-sm: var(--sh-sm);
  --shadow-md: var(--sh-md);
  --shadow-xl: var(--sh-xl);
}

/* ── RESET ── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
img { display:block; max-width:100%; }
p { line-height: 1.65; margin-bottom: 0; }
button { font-family:inherit; }
a { color:inherit; }

body {
  font-family: 'Epilogue', system-ui, sans-serif;
  background: var(--surface);
  color: var(--on-surface);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(252,249,248,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--outline-2);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px; height: 34px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2.3; }
.nav-logo-text { font-size: 1rem; font-weight: 900; color: var(--primary); letter-spacing: -.02em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 12px; border-radius: var(--r-md);
  font-size: .85rem; font-weight: 700; color: var(--on-surface-2);
  text-decoration: none; transition: all .18s;
}
.nav-link:hover { color: var(--primary); background: rgba(63,173,163,.06); }
.nav-link.active { color: var(--primary); background: rgba(63,173,163,.09); }

.nav-divider { width: 1px; height: 18px; background: var(--outline-2); margin: 0 4px; }

.loc-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px 5px 9px; border-radius: var(--r-full);
  border: 1px solid var(--outline-2); background: var(--surface-1);
  font-family: inherit; font-size: .78rem; font-weight: 700;
  color: var(--on-surface-2); cursor: pointer; transition: all .18s;
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.loc-btn:hover { border-color: var(--primary); color: var(--primary); }
.loc-btn svg { width: 13px; height: 13px; stroke: var(--primary); fill: none; stroke-width: 2; flex-shrink: 0; }

.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--outline-2); background: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .18s; text-decoration: none; position: relative;
}
.nav-icon-btn:hover { background: var(--surface-2); border-color: var(--primary); }
.nav-icon-btn svg { width: 16px; height: 16px; stroke: var(--on-surface-2); fill: none; stroke-width: 2; }
.notif-dot {
  position: absolute; top: 3px; right: 3px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tertiary); border: 1.5px solid var(--surface);
}
.nav-cta {
  background: var(--primary); color: white;
  padding: 7px 16px; border-radius: var(--r-md);
  font-size: .8rem; font-weight: 800;
  border: none; cursor: pointer; text-decoration: none;
  transition: all .18s; white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 4.5px;
  background: none; border: none; cursor: pointer; padding: 7px;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--on-surface); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile drawer */
.drawer {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.4); z-index: 190;
}
.drawer-panel {
  background: white; width: 280px; height: 100%;
  padding: 16px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--sh-xl); overflow-y: auto;
}
.drawer.open { display: block; }
.drawer-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-lg);
  text-decoration: none; color: var(--on-surface);
  font-weight: 700; font-size: .9rem; transition: background .15s;
  border: none; background: none; cursor: pointer; font-family: inherit; width: 100%; text-align: left;
}
.drawer-item:hover { background: var(--surface-2); }
.drawer-item.active { background: rgba(63,173,163,.09); color: var(--primary); }
.drawer-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.drawer-sep { height: 1px; background: var(--outline-2); margin: 8px 0; }
.drawer-cta {
  margin-top: auto; background: var(--primary); color: white;
  padding: 13px; border-radius: var(--r-lg); text-align: center;
  font-weight: 900; font-size: .875rem; text-decoration: none; display: block;
  transition: background .18s;
}
.drawer-cta:hover { background: var(--primary-dark); }

/* ════════════════════════════════════════
   BOTTOM NAV  (mobile only)
════════════════════════════════════════ */
.bnav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bnav-h); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--outline-2); z-index: 150;
  justify-content: space-around; align-items: center;
}
.bnav-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 10px; border-radius: 12px;
  text-decoration: none; color: var(--on-surface-3);
  font-size: .6rem; font-weight: 800; letter-spacing: .02em;
  transition: all .18s; border: none; background: none;
  cursor: pointer; font-family: inherit; min-width: 52px;
}
.bnav-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.bnav-btn.active { color: var(--primary); }
.bnav-btn.active svg { stroke: var(--primary); }
.bnav-btn:hover { color: var(--primary); background: rgba(63,173,163,.06); }

/* ════════════════════════════════════════
   MAIN / LAYOUT
════════════════════════════════════════ */
main {
  flex-grow: 1;
  /* reserve space for bottom nav on mobile */
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.page-wrap { max-width: 1280px; margin: 0 auto; padding: 40px 32px 72px; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--surface-4);
  border-top: 1px solid var(--outline-2);
  padding: 48px 0 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; text-decoration: none; }
.footer-brand svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 2; }
.footer-brand span { font-size: 1rem; font-weight: 900; color: var(--primary); }
.footer-desc { font-size: .82rem; color: var(--on-surface-2); line-height: 1.7; max-width: 300px; }
.footer-desc a { font-weight: 700; text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.footer-col h4 { font-size: .6rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.footer-col a { display: block; font-size: .8rem; color: var(--on-surface-2); text-decoration: none; padding: 3px 0; transition: color .18s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--outline-2); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .72rem; color: var(--on-surface-3); }
.footer-socials { display: flex; gap: 6px; }
.footer-socials a { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--surface-2); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .18s; }
.footer-socials a:hover { background: rgba(63,173,163,.12); }
.footer-socials svg { width: 13px; height: 13px; stroke: var(--on-surface-2); fill: none; stroke-width: 2; }

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; cursor: pointer; font-family: inherit; font-weight: 800;
  border-radius: var(--r-md); transition: all .2s; text-decoration: none;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.btn-primary   { background: var(--primary); color: white; padding: 13px 24px; font-size: .875rem; }
.btn-primary:hover   { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(63,173,163,.28); }
.btn-secondary { background: var(--secondary-container); color: var(--on-secondary-container); padding: 13px 24px; font-size: .875rem; }
.btn-secondary:hover { filter: brightness(.96); transform: translateY(-1px); }
.btn-outline   { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 11px 24px; font-size: .875rem; }
.btn-outline:hover   { background: var(--primary); color: white; }
.btn-ghost     { background: transparent; border: 1.5px solid var(--outline-2); color: var(--on-surface-2); padding: 9px 18px; font-size: .8rem; border-radius: var(--r-md); }
.btn-ghost:hover     { border-color: var(--primary); color: var(--primary); background: rgba(63,173,163,.04); }
.btn-danger    { background: rgba(185,26,35,.08); color: var(--tertiary); padding: 9px 18px; font-size: .8rem; }
.btn-danger:hover    { background: rgba(185,26,35,.14); }
.btn-sm { padding: 8px 16px; font-size: .775rem; border-radius: var(--r-sm); }
.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-full { width: 100%; }

/* ════════════════════════════════════════
   BADGES
════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--r-full);
  font-size: .6rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em;
}
.badge-primary   { background: var(--primary); color: white; }
.badge-secondary { background: var(--secondary-container); color: var(--on-secondary-container); }
.badge-success   { background: rgba(22,163,74,.1); color: var(--success); }
.badge-danger    { background: rgba(185,26,35,.1); color: var(--tertiary); }
.badge-neutral   { background: var(--surface-3); color: var(--on-surface-2); }
.badge-outline   { background: transparent; border: 1px solid var(--outline-2); color: var(--on-surface-2); }

/* ════════════════════════════════════════
   CARDS
════════════════════════════════════════ */
.card { background: var(--surface-0); border: 1px solid var(--outline-2); border-radius: var(--r-xl); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.card-hover:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }

/* Spot Card */
.spot-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.spot-card-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.spot-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.spot-card:hover .spot-card-img img { transform: scale(1.06); }
.spot-card-top-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.spot-card-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 5px; }
.sc-action-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.sc-action-btn:hover { transform: scale(1.08); background: white; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.sc-action-btn svg { width: 15px; height: 15px; stroke: var(--on-surface-2); fill: none; stroke-width: 2; }
.sc-action-btn.saved svg { stroke: var(--tertiary); fill: var(--tertiary); }
.spot-card-dist {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(0,0,0,.62); backdrop-filter: blur(6px);
  color: white; font-size: .62rem; font-weight: 700;
  padding: 3px 9px; border-radius: 7px;
  display: flex; align-items: center; gap: 3px;
}
.spot-card-dist svg { width: 10px; height: 10px; stroke: white; fill: none; stroke-width: 2; }
.spot-card-body { padding: 18px; flex-grow: 1; display: flex; flex-direction: column; gap: 9px; }
.spot-card-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.spot-card-title-row h4 { font-size: .95rem; font-weight: 800; line-height: 1.3; transition: color .18s; }
.spot-card:hover h4 { color: var(--primary); }
.spot-stars { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.spot-stars svg { width: 12px; height: 12px; fill: var(--secondary-container); stroke: #a07a00; stroke-width: 1; }
.spot-stars span { font-size: .78rem; font-weight: 800; color: var(--secondary); }
.spot-card-location { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--on-surface-2); }
.spot-card-location svg { width: 12px; height: 12px; stroke: var(--primary); fill: none; stroke-width: 2; flex-shrink: 0; }
.spot-card-tags { display: flex; flex-wrap: wrap; gap: 3px; }
.spot-card-tags span { font-size: .58rem; color: var(--primary); background: rgba(63,173,163,.07); padding: 2px 7px; border-radius: 5px; font-weight: 700; }
.spot-card-desc { font-size: .8rem; color: var(--on-surface-2); line-height: 1.55; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--outline-2); margin-top: auto; }
.spot-card-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.spot-card-chips span { background: var(--surface-2); border-radius: var(--r-full); padding: 3px 10px; font-size: .6rem; font-weight: 700; }
.spot-cta { color: var(--primary); font-size: .78rem; font-weight: 900; display: flex; align-items: center; gap: 2px; }

/* ════════════════════════════════════════
   FORMS
════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .8rem; font-weight: 800; margin-bottom: 6px; }
.form-label .req { color: var(--tertiary); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 15px;
  background: var(--surface-2); border: 1.5px solid transparent;
  border-radius: var(--r-md); outline: none;
  font-family: inherit; font-size: .875rem; color: var(--on-surface);
  transition: all .2s; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); background: var(--surface-0);
  box-shadow: 0 0 0 3px rgba(63,173,163,.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--on-surface-3); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e797a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.form-textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.form-hint { font-size: .72rem; color: var(--on-surface-3); margin-top: 4px; }
.form-error { font-size: .72rem; color: var(--tertiary); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.form-input.has-error { border-color: var(--tertiary); }

/* ════════════════════════════════════════
   MISC COMPONENTS
════════════════════════════════════════ */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 16px; }
.section-head h2 { font-size: clamp(1.3rem,3vw,1.9rem); font-weight: 900; letter-spacing: -.02em; }
.section-head p { color: var(--on-surface-2); font-size: .85rem; margin-top: 4px; }
.see-all { color: var(--primary); font-weight: 800; font-size: .82rem; text-decoration: none; display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.see-all::after { content: '→'; transition: margin .2s; }
.see-all:hover::after { margin-left: 4px; }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--on-surface-3); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--on-surface-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--outline); }

.page-eyebrow { font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: var(--primary); display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.page-eyebrow svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.page-title { font-size: clamp(1.7rem,4vw,2.6rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 10px; }
.page-subtitle { font-size: .95rem; color: var(--on-surface-2); max-width: 540px; line-height: 1.65; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: var(--r-full);
  font-size: .78rem; font-weight: 700; border: 1.5px solid var(--outline-2);
  cursor: pointer; transition: all .18s; background: white; color: var(--on-surface-2); text-decoration: none;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--secondary-container); color: var(--on-secondary-container); border-color: transparent; }
.chip svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

.empty-state { text-align: center; padding: 72px 24px; }
.empty-icon { width: 68px; height: 68px; background: var(--surface-2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.empty-icon svg { width: 28px; height: 28px; stroke: var(--outline); fill: none; stroke-width: 1.5; }
.empty-state h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 8px; }
.empty-state p { color: var(--on-surface-2); font-size: .875rem; max-width: 300px; margin: 0 auto 22px; line-height: 1.6; }

.divider-row { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.divider-row::before, .divider-row::after { content:''; flex:1; height:1px; background: var(--outline-2); }
.divider-row span { font-size: .72rem; color: var(--on-surface-3); font-weight: 600; white-space: nowrap; }

/* Toggle switch */
.toggle-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--outline-2); }
.toggle-wrap:last-child { border-bottom: none; }
.toggle-info h4 { font-size: .875rem; font-weight: 800; margin-bottom: 2px; }
.toggle-info p { font-size: .775rem; color: var(--on-surface-2); line-height: 1.4; }
.toggle { position: relative; width: 42px; height: 23px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track { position: absolute; inset: 0; background: var(--surface-3); border-radius: 23px; cursor: pointer; transition: background .25s; }
.toggle-track::before { content:''; position: absolute; width: 17px; height: 17px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: transform .25s; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.toggle input:checked + .toggle-track { background: var(--primary); }
.toggle input:checked + .toggle-track::before { transform: translateX(19px); }

/* Toast */
.toast {
  position: fixed; bottom: calc(var(--bnav-h) + 12px); left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--on-surface); color: white;
  padding: 11px 18px; border-radius: var(--r-lg);
  font-size: .82rem; font-weight: 700;
  box-shadow: var(--sh-lg); z-index: 300;
  transition: transform .28s ease, opacity .28s;
  display: flex; align-items: center; gap: 7px;
  pointer-events: none; opacity: 0; white-space: nowrap;
}
.toast.visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast svg { width: 14px; height: 14px; stroke: var(--secondary-container); fill: none; stroke-width: 2.5; }

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-links, .nav-divider, .loc-btn, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .bnav { display: flex; }
  main { padding-bottom: var(--bnav-h); }
  .wrap, .page-wrap { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding: 0 20px; }
  footer { padding-bottom: calc(var(--bnav-h) + 16px); }
  .footer-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav-logo-text { font-size: .9rem; }
  .toast { bottom: calc(var(--bnav-h) + 8px); max-width: calc(100vw - 32px); white-space: normal; text-align: center; }
}


/* ════════════════════════════════════════
   LEGAL PAGES (.legal-wrap)
════════════════════════════════════════ */
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-wrap h2 { font-size: 1.3rem; font-weight: 900; margin: 36px 0 14px; color: var(--primary); }
.legal-wrap h3 { font-size: 1rem; font-weight: 800; margin: 24px 0 10px; }
.legal-wrap p, .legal-wrap li { font-size: 0.9rem; color: var(--on-surface-2); line-height: 1.8; margin-bottom: 10px; }
.legal-wrap ul { padding-left: 24px; }

/* spot-card-meta & spot-card-cta (discovery / saved) */
.spot-card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.spot-card-meta span { background: var(--surface-2); border-radius: var(--r-full); padding: 3px 10px; font-size: .6rem; font-weight: 700; }
.spot-card-cta { color: var(--primary); font-size: .78rem; font-weight: 900; display: flex; align-items: center; gap: 2px; white-space: nowrap; }







@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
  .page-wrap { padding: 24px 16px 60px; }
  
  
}

/* ════════════════════════════════════════
   GLOBAL SVG SIZE FIX (prevent 150px default)
════════════════════════════════════════ */
svg { max-width: 100%; }


.loc-label { color: var(--primary); font-weight: 800; }

/* ── SPOT-CARD MOBILE HORIZONTAL ── */
@media (max-width: 600px) {
  .spots-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .spot-card { flex-direction: row !important; height: 110px; }
  .spot-card-img { width: 110px !important; flex-shrink: 0; position: relative; overflow: hidden; border-radius: 10px 0 0 10px; }
  .spot-card-img img { width: 100% !important; height: 110px !important; object-fit: cover !important; }
  .spot-card-dist { font-size: .6rem; padding: 3px 6px; }
  .spot-card-actions { top: 6px; right: 6px; }
  .spot-card-actions .sc-action-btn { width: 26px; height: 26px; }
  .spot-card-actions .sc-action-btn svg { width: 12px !important; height: 12px !important; }
  .spot-card-body { padding: 10px 12px; gap: 4px; justify-content: center; }
  .spot-card-title-row h4 { font-size: .85rem; }
  .spot-card-tags { display: none; }
  .spot-card-foot { padding-top: 8px; margin-top: auto; }
  .spot-card-rating { display: flex; align-items: center; gap: 3px; }
}

/* ════════════════════════════════════════
   BACK LINK — konsistentes UI Element
════════════════════════════════════════ */
.back-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--on-surface-2);
  font-weight: 700;
  font-size: .825rem;
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .18s;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.back-link:hover { color: var(--primary); }
.back-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform .18s; }
.back-link:hover svg { transform: translateX(-3px); }
@media (max-width: 768px) {
  .back-wrap { padding: 20px 16px 0; }
  .back-link { margin-bottom: 20px; font-size: .8rem; }
}

/* ── Footer bottom-links ── */
.footer-about { display: flex; flex-direction: column; gap: 16px; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: .72rem; color: var(--on-surface-3); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ── Global Text Spacing ── */
.page-header { padding-bottom: 28px; }
.page-header h1 { line-height: 1.15; }
.page-eyebrow { margin-bottom: 10px; letter-spacing: .1em; }
.page-subtitle { line-height: 1.7; }
.section-head p { line-height: 1.65; margin-top: 6px; }
.about-card p { line-height: 1.75; }
.review-card-text { line-height: 1.7; }
.spot-card-body { gap: 7px !important; }
.spot-card-title-row h4 { line-height: 1.35; }

/* ── Discovery page-header spacing ── */
.discovery-header .page-header { padding-bottom: 24px; }

/* Mobile text spacing */
@media (max-width: 768px) {
  .page-header { padding-bottom: 20px; }
  .page-subtitle { font-size: .9rem; }
}
