/* Barefoot Allgäu — Wandertouren Draft (2026-10-01)
   Site default Gelb/Amber (wie Live-Barefoot).
   Links relative site chrome to ../../styles.css; this file adds tour IA. */

:root {
  /* inherit Barefoot site tokens from styles.css — only local layout token */
  --tour-max: 820px;
}

/* —— Draft page hero / overview —— */
.wt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.wt-claim {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.wt-claim strong { color: var(--text); font-weight: 650; }

/* —— Overview intro features (non-clickable) —— */
.wt-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.wt-features li {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: var(--pill-radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: default;
}

.wt-mitbringen {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius, 12px);
}
.wt-mitbringen h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}
.wt-mitbringen ul {
  margin: 0;
  padding-left: 1.15rem;
}
.wt-mitbringen li {
  margin: 0.25rem 0;
  color: var(--text-muted);
}

.wt-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--pill-radius);
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--accent) 70%, #1A2E1A);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}

.wt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.wt-filters li {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: var(--pill-radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: default; /* feature block, not a link */
}
.wt-filters li[data-active="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

/* —— Tour card grid —— */
.wt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem;
}
@media (max-width: 720px) {
  .wt-grid { grid-template-columns: 1fr; }
}

.wt-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.wt-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: 0 14px 32px rgba(26, 46, 26, 0.12);
}
.wt-card.is-static {
  cursor: default; /* Grünten/Forggensee: feature block until detail exists */
}
.wt-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: color-mix(in srgb, var(--accent) 18%, var(--bg));
  overflow: hidden;
}
.wt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wt-card-media .wt-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}
.wt-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}
.wt-card-loc {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--accent);
}
.wt-card-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--text);
}
.wt-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.wt-card-meta li::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.15rem;
}
.wt-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.55rem;
}
.wt-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--pill-radius);
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--accent) 55%, #1A2E1A);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  text-decoration: none;
}
a.wt-pill:hover {
  background: color-mix(in srgb, var(--accent) 22%, #fff);
  text-decoration: none;
}
.wt-diff {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.wt-overview-cta {
  margin: 2rem 0 0;
  padding: 1.35rem 1.4rem;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--card-radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wt-overview-cta p { margin: 0; max-width: 36rem; color: var(--text-muted); }
.wt-overview-cta .btn { flex-shrink: 0; }

/* Reuse / ensure draft buttons if styles.css btn differs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--pill-radius);
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  color: var(--accent) !important;
  border: 2px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent-soft); }

/* —— Tour detail —— */
.wt-detail { max-width: var(--tour-max); margin: 0 auto; }
.wt-hero {
  margin: 0 0 1.25rem;
  border-radius: calc(var(--card-radius) + 4px);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--accent) 15%, var(--bg));
  aspect-ratio: 16 / 9;
}
.wt-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wt-detail-header { margin-bottom: 1.1rem; }
.wt-detail-header h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  line-height: 1.2;
}
.wt-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.95rem;
  background: var(--accent-soft);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-size: 0.92rem;
  font-weight: 600;
}
.wt-guide-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-elevated);
}
.wt-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.wt-gallery {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.75rem;
  margin: 0 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.wt-gallery figure {
  margin: 0;
  flex: 0 0 min(70%, 260px);
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  aspect-ratio: 4 / 3;
}
.wt-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wt-callout {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
}
.wt-callout-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 55%, #1A2E1A);
}
.wt-callout p { margin: 0; color: var(--text); }

.wt-facts {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.wt-facts th,
.wt-facts td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.wt-facts tr:last-child th,
.wt-facts tr:last-child td { border-bottom: none; }
.wt-facts th {
  width: 38%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
}
.wt-facts td { font-size: 0.95rem; }

.wt-section {
  margin: 0 0 1.75rem;
}
.wt-section h2 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}
.wt-section p {
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.65;
}

.wt-map {
  margin: 0 0 1.75rem;
  border-radius: 12px;
  border: 2px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-elevated));
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-weight: 650;
}
.wt-map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 10px;
}

.wt-links {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.wt-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.wt-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.wt-links a span { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }

.wt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.wt-tags li {
  padding: 0.3rem 0.75rem;
  border-radius: var(--pill-radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text-muted);
}

.wt-cta-bar {
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--card-radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wt-cta-bar p { margin: 0; max-width: 28rem; opacity: 0.95; }
.wt-cta-bar .btn {
  background: #fff;
  color: var(--accent) !important;
}
.wt-cta-bar .btn:hover { background: var(--accent-soft); }

.wt-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
}

.back { margin: 1rem 0 1.25rem; }
.back a { font-weight: 650; }

.page-hero h1 { margin: 0 0 0.5rem; }
.page-hero .lede {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 42rem;
  line-height: 1.6;
}


/* —— Schwierigkeit (Fuß-Sterne) + Kategorie —— */
.wt-feet {
  display: inline-flex;
  gap: 0.08em;
  letter-spacing: 0.02em;
  font-size: 1.05em;
  line-height: 1;
}
.wt-feet .wt-foot-off { opacity: 0.28; }
.wt-feet-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}
.wt-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}
.wt-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}
.wt-cat[data-cat="barfuss"] { border-color: var(--accent, #2d6a4f); color: var(--accent, #2d6a4f); }
.wt-cat[data-cat="wanderschuhe"] { border-color: color-mix(in srgb, var(--accent) 55%, #1A2E1A); color: var(--text); }
.wt-cat[data-cat="schneeschuh"] { border-color: #7a8fa3; color: #3d4f5f; background: #eef3f7; }
.wt-card-body .wt-feet-row,
.wt-tour-head .wt-feet-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin-top: 0.35rem;
}
.wt-filters li[data-filter] { cursor: default; }
