/* ============================================================
   Tourenseiten – Plugin-Styles
   Wird vom Plugin automatisch geladen, nur auf Tourenseiten.
   Farben und Schriften lassen sich unten in den Variablen
   an das eigene Theme anpassen.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');


/* ============================================================
   TOURENSEITE – mircoschroeder.de
   Alles unter .tour gekapselt, kollidiert nicht mit dem Theme.
   ============================================================ */

.tour {
  --nebel:   #F2F3F0;   /* Grundfläche, kühles Nebelgrau */
  --birke:   #FFFFFF;   /* Kartenflächen */
  --moor:    #22261F;   /* Text */
  --moor-60: #5C6358;   /* Sekundärtext */
  --wald:    #38503C;   /* Primärfarbe */
  --heide:   #8C6A8E;   /* Akzent – Heideblüte */
  --linie:   #DCDED7;

  --serif: "Newsreader", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, Menlo, monospace;

  color: var(--moor);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.tour :is(h1,h2,h3) { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.tour h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; }
.tour h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 3.5rem 0 1rem; }
.tour h3 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
.tour p  { margin: 0 0 1.2rem; }
.tour a  { color: var(--wald); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Kopfbereich ---------- */
.tour__eyebrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--heide); margin: 0 0 .75rem;
}
.tour__lead { font-size: 1.2rem; color: var(--moor-60); margin-bottom: 2rem; }

.tour__hero { margin: 0 0 2.5rem; }
.tour__hero img { width: 100%; height: auto; display: block; border-radius: 2px; }
.tour__hero figcaption {
  font-family: var(--mono); font-size: .78rem; color: var(--moor-60);
  margin-top: .6rem;
}

/* ---------- Tourdaten ---------- */
.tour__daten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px; background: var(--linie);
  border: 1px solid var(--linie); border-radius: 2px;
  margin: 0 0 2.5rem; overflow: hidden;
}
.tour__daten div { background: var(--birke); padding: 1rem 1.1rem; }
.tour__daten dt {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--moor-60); margin: 0 0 .3rem;
}
.tour__daten dd {
  font-family: var(--mono); font-size: 1.35rem; font-weight: 500;
  margin: 0; line-height: 1.2;
}
.tour__daten dd small { font-size: .95rem; font-weight: 400; color: var(--moor-60); }

/* ---------- Signatur: Jahreszeiten-Leiste ---------- */
.tour__saison { margin: 0 0 3rem; }
.tour__saison-titel {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--moor-60); margin-bottom: .75rem;
}
.tour__monate { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.tour__monate span {
  font-family: var(--mono); font-size: .68rem; text-align: center;
  padding: .55rem .1rem; background: var(--birke);
  border: 1px solid var(--linie); color: var(--moor-60);
}
.tour__monate span[data-gegangen] {
  background: var(--heide); border-color: var(--heide);
  color: #fff; font-weight: 500;
}
.tour__saison-note { font-size: .9rem; color: var(--moor-60); margin: .75rem 0 0; }

/* ---------- Video (DSGVO: erst nach Klick laden) ---------- */
.tour__video {
  position: relative; aspect-ratio: 16/9; background: var(--moor);
  border-radius: 2px; overflow: hidden; margin: 0 0 .75rem;
}
.tour__video img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.tour__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.tour__video-btn {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: transparent; color: #fff; font-family: var(--sans);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem; padding: 1.5rem; text-align: center;
}
.tour__video-btn:focus-visible { outline: 3px solid var(--heide); outline-offset: -3px; }
.tour__play {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.15);
  border: 2px solid #fff; display: grid; place-items: center;
  transition: background .2s ease;
}
.tour__video-btn:hover .tour__play { background: rgba(255,255,255,.3); }
.tour__play::after {
  content: ""; border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff; margin-left: 4px;
}
.tour__video-btn span { font-size: .95rem; max-width: 34ch; }
.tour__video-hinweis { font-size: .82rem; color: var(--moor-60); margin: 0 0 2rem; }

/* ---------- Highlights ---------- */
.tour__highlights { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tour__highlights li {
  padding: .9rem 0 .9rem 1.75rem; border-bottom: 1px solid var(--linie);
  position: relative;
}
.tour__highlights li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem;
  width: 8px; height: 8px; background: var(--heide); border-radius: 50%;
}

/* ---------- Tipp-Kasten ---------- */
.tour__tipp {
  background: var(--birke); border-left: 3px solid var(--wald);
  padding: 1.25rem 1.5rem; margin: 2rem 0;
}
.tour__tipp p:last-child { margin-bottom: 0; }
.tour__tipp strong { font-family: var(--serif); font-size: 1.05rem; }

/* ---------- Galerie ---------- */
.tour__galerie {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem; margin: 0 0 1rem;
}
.tour__galerie img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }

/* ---------- Anreise ---------- */
.tour__anreise { border-top: 1px solid var(--linie); }
.tour__anreise > div { padding: 1.25rem 0; border-bottom: 1px solid var(--linie); }
.tour__anreise h3 { margin: 0 0 .35rem; font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.tour__anreise p { margin: 0; color: var(--moor-60); }

/* ---------- Download-Buttons ---------- */
.tour__downloads { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 3rem; }
.tour__btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 2px;
  font-size: .95rem; font-weight: 500; text-decoration: none;
  background: var(--wald); color: #fff; border: 1px solid var(--wald);
  transition: background .15s ease;
}
.tour__btn:hover { background: #2C4030; }
.tour__btn--sek { background: transparent; color: var(--wald); }
.tour__btn--sek:hover { background: var(--birke); }

@media (prefers-reduced-motion: reduce) {
  .tour * { transition: none !important; animation: none !important; }
}

/* ---------- Ergänzungen fürs Plugin ---------- */

/* Wortwerte im Datenblock kleiner setzen als Zahlen */
.tour__daten dd.tour__daten-wort { font-size: 1.05rem; }

/* Titelbild-Beschriftung aus der Mediathek */
.tour__hero figcaption { font-family: var(--mono); font-size: .78rem; color: var(--moor-60); margin-top: .6rem; }

/* Regionen-Verlinkung in der Kleinzeile */
.tour__eyebrow a { color: inherit; text-decoration: none; }
.tour__eyebrow a:hover { text-decoration: underline; }

/* ---------- Tourenliste (Shortcode [wanderungen]) ---------- */
.tour-liste {
  --nebel: #F2F3F0; --birke: #FFFFFF; --moor: #22261F; --moor-60: #5C6358;
  --wald: #38503C; --heide: #8C6A8E; --linie: #DCDED7;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; font-family: var(--sans); margin: 2rem 0;
}
.tour-liste__karte {
  display: block; text-decoration: none; color: var(--moor);
  background: var(--birke); border: 1px solid var(--linie); border-radius: 2px;
  overflow: hidden; transition: border-color .15s ease;
}
.tour-liste__karte:hover { border-color: var(--heide); }
.tour-liste__bild img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.tour-liste__text { padding: 1.1rem 1.25rem 1.35rem; }
.tour-liste__text h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.2rem;
  line-height: 1.25; margin: 0 0 .5rem;
}
.tour-liste__text p { font-size: .95rem; color: var(--moor-60); margin: 0 0 .75rem; line-height: 1.6; }
.tour-liste__meta {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  color: var(--heide) !important; margin: 0 !important;
}
.tour-liste__leer { color: #5C6358; font-style: italic; }
