/* ==========================================================================
   /touren – Hot Rod Touren. Baut auf gutscheine.css auf (.gs, gs-in, gs-eye,
   gs-hell, gs-dunkel, gs-btn, gs-faq, gs-schritte, gs-stimme, gs-banner,
   gs-schluss) und ergänzt nur das Seiteneigene (Präfix tr-).
   ========================================================================== */

.tr {
  --tr-kupfer-dunkel: #a8481f; /* Kupfer für Text auf hellem Grund (Kontrast ≥ 4,5:1) */
  --tr-leise: #d9d4cb;
}
.tr .gs-eye--kupfer {
  color: var(--tr-kupfer-dunkel);
}
.tr h1,
.tr h2 {
  letter-spacing: -0.3px;
}
.tr .gs-hell a:not(.gs-btn) {
  color: var(--tr-kupfer-dunkel);
  font-weight: 700;
}
#basics,
#touren,
.tr-tour {
  scroll-margin-top: 150px;
}
@media (max-width: 1080px) {
  #basics,
  #touren,
  .tr-tour {
    scroll-margin-top: 96px;
  }
}
.tr-unsichtbar {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Hero: niedriger als auf /gutscheine, damit die Basics früh sichtbar werden.
   Die vorderen Hot Rods fahren links im Bild, deshalb steht der Text rechts.
   -------------------------------------------------------------------------- */
.tr-hero {
  min-height: clamp(520px, 70svh, 760px);
}
.tr-hero .gs-hero__bild img {
  object-position: 35% 60%;
}
.tr-hero::before {
  background: linear-gradient(270deg, rgba(14, 14, 15, 0.94) 0%, rgba(14, 14, 15, 0.84) 34%, rgba(14, 14, 15, 0.35) 62%, rgba(14, 14, 15, 0) 82%);
}
/* Textblock rechts, alle Zeilen auf einer gemeinsamen linken Linie (Raster statt rechtsbündigem Flex,
   sonst stünde der Lead mit seiner eigenen Breite von 33em versetzt) */
.tr-hero__inhalt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
}
.tr-hero__inhalt > * {
  grid-column: 2;
  max-width: 560px;
}
.tr-hero h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
}

/* --------------------------------------------------------------------------
   Check die Basics: 8 Kacheln (Desktop 4×2, Tablet 2, Handy 1)
   -------------------------------------------------------------------------- */
.tr-basics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.tr-basic {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-size: 15px;
}
.tr-basic__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--gs-schwarz);
  color: var(--gs-gold);
  font-size: 24px;
}
.tr-basic h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tr-basic strong {
  color: var(--gs-schwarz);
}
.tr-basic__kontakt {
  display: grid;
  gap: 6px;
  margin-top: auto !important;
  padding-top: 6px;
  font-size: 14px;
}
.tr .tr-basic__kontakt a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  text-decoration: none;
}
.tr-basic__kontakt svg {
  flex: none;
}
/* Absicherung hervorgehoben: dunkle Karte mit Goldrahmen */
.tr-basic--absicherung {
  background: var(--gs-schwarz);
  box-shadow: inset 0 0 0 2px var(--gs-gold), 0 8px 24px rgba(0, 0, 0, 0.12);
  color: var(--tr-leise);
}
.gs-hell .tr-basic--absicherung h3 {
  color: var(--gs-gold);
}
.tr-basic--absicherung .tr-basic__icon {
  background: var(--gs-gold);
  color: var(--gs-schwarz);
}
.tr .tr-hinweis {
  margin-top: 26px;
  font-size: 14px;
}
/* Einzelteilnahme unter den Tourblöcken und Fußnote zur Vergleichstabelle: ruhige Zeilen */
.tr .tr-allein {
  margin-top: 36px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.tr .tr-fussnote {
  margin-top: 16px;
  font-size: 13px;
}
.tr .tr-fussnote a {
  padding: 14px 0; /* größere Tippfläche, Zeilenabstand bleibt gleich */
  font-weight: 700;
}
#faq-level {
  scroll-margin-top: 150px;
}
@media (max-width: 1080px) {
  #faq-level {
    scroll-margin-top: 96px;
  }
}

/* --------------------------------------------------------------------------
   Touren: großer Block je Tour, Bild links/rechts im Wechsel.
   Hauptbild 4:5, Zweitbild quadratisch und über die Ecke gelegt.
   -------------------------------------------------------------------------- */
.tr-tour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-top: 64px;
}
.tr-tour + .tr-tour {
  padding-top: 64px;
  border-top: 1px solid var(--gs-linie);
}
.tr-tour--gespiegelt .tr-tour__bilder {
  order: 2;
}
.tr-tour__bilder {
  position: relative;
  padding: 0 0 48px;
}
.tr-tour__haupt {
  width: 82%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
}
.tr-tour__zweit {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid var(--gs-schwarz);
  border-radius: 12px;
  box-shadow: 0 0 0 2px var(--gs-gold), 0 24px 48px rgba(0, 0, 0, 0.5);
}
.tr-tour--gespiegelt .tr-tour__haupt {
  margin-left: auto;
}
.tr-tour--gespiegelt .tr-tour__zweit {
  right: auto;
  left: 0;
}
.tr-tour__haupt picture,
.tr-tour__zweit picture,
.tr-tour__haupt img,
.tr-tour__zweit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tr-tour__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  color: var(--tr-leise);
}
/* Die Dauer als großes Zeichen: das, worin sich die Touren am stärksten unterscheiden */
.tr-tour__dauer {
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--gs-gold);
}
.tr-tour__marken {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tr-pill {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}
.tr-pill--gold {
  border-color: var(--gs-gold);
  background: var(--gs-gold);
  color: var(--gs-schwarz);
}
.tr-tour h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: #fff;
}
.tr-tour__fakten {
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}
.tr-tour__highlights {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  color: #fff;
}
.tr-tour__highlights li {
  position: relative;
  padding-left: 26px;
}
.tr-tour__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--gs-gold);
  border-bottom: 3px solid var(--gs-gold);
  transform: rotate(-45deg);
}
.tr-tour__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 8px;
}
.tr .tr-textlink {
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Vergleichstabelle (Handy: je Tour eine Karte)
   -------------------------------------------------------------------------- */
.tr-tabelle {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-size: 15px;
  overflow: hidden;
}
.tr-tabelle caption {
  padding-bottom: 14px;
  font-size: 14px;
  text-align: left;
  caption-side: top;
}
.tr-tabelle th,
.tr-tabelle td {
  padding: 16px 18px;
  border-bottom: 1px solid #e4e2e0;
  text-align: left;
  vertical-align: middle;
}
.tr-tabelle thead th {
  background: var(--gs-schwarz);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tr-tabelle tbody th {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--gs-schwarz);
}
.tr-tabelle tbody tr:last-child > * {
  border-bottom: 0;
}
.tr-tabelle td:nth-child(2),
.tr-tabelle td:nth-child(3) {
  white-space: nowrap;
}
.tr-tabelle td:last-child {
  text-align: right;
}
.tr-tabelle .gs-btn {
  padding: 12px 20px;
}

/* Bewertungen: drei nebeneinander */
.tr-stimmen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 36px;
}

/* Abschluss: Eyebrow auf Gold in Schwarz */
.tr .tr-schluss__eye {
  color: var(--gs-schwarz);
}

/* --------------------------------------------------------------------------
   Tablet und Handy
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .tr-basics,
  .tr-stimmen {
    grid-template-columns: 1fr 1fr;
  }
  .tr-tour {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tr-tour--gespiegelt .tr-tour__bilder {
    order: 0;
  }
  .tr-tour__bilder {
    max-width: 560px;
  }
  /* Handy/Tablet hochkant: Foto oben, Text darunter (wie /gutscheine) */
  .tr-hero {
    min-height: 0;
  }
  .tr-hero__inhalt {
    display: block;
  }
}
@media (max-width: 700px) {
  .tr-hero .gs-hero__bild img {
    object-position: 30% 70%;
  }
  .tr-hero h1 {
    font-size: 30px;
  }
  .tr-stimmen {
    grid-template-columns: 1fr;
  }
  .tr-tour {
    margin-top: 44px;
  }
  .tr-tour + .tr-tour {
    padding-top: 44px;
  }
  .tr-tour__fakten {
    grid-template-columns: 1fr;
  }
}
/* Tabelle als gestapelte Karten (bis Tablet hochkant, sonst wird sie zu breit) */
@media (max-width: 980px) {
  .tr-tabelle,
  .tr-tabelle tbody,
  .tr-tabelle tr,
  .tr-tabelle th,
  .tr-tabelle td {
    display: block;
  }
  .tr-tabelle {
    background: none;
    box-shadow: none;
  }
  .tr-tabelle caption {
    display: block;
  }
  .tr-tabelle thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .tr-tabelle tbody tr {
    margin-bottom: 14px;
    border-top: 4px solid var(--gs-gold);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
  .tr-tabelle tbody th {
    padding: 16px 18px 8px;
    border: 0;
    font-size: 18px;
  }
  .tr-tabelle td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 18px;
    border-bottom: 1px solid #e4e2e0;
    text-align: right;
  }
  .tr-tabelle td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    color: var(--gs-grau);
  }
  .tr-tabelle td:last-child {
    padding: 14px 18px 18px;
    border-bottom: 0;
  }
  .tr-tabelle td:last-child .gs-btn {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .tr-basics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  /* Handy: Icon neben der Überschrift, damit die 8 Kacheln kürzer werden */
  .tr-basic {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 10px 14px;
    padding: 18px;
  }
  .tr-basic__icon {
    margin: 0;
  }
  .tr-basic > p {
    grid-column: 1 / -1;
  }
  .tr-tour__links .gs-btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Popup (Stile aus gutscheine.css): Seite dahinter scrollt nicht mit.
   Das Buchungswidget wechselt seine Höhe, das Popup soll dabei nicht springen.
   -------------------------------------------------------------------------- */
html:has(#gs-dialog[open]) {
  overflow: hidden;
}
.tr .gs-dialog {
  overflow-anchor: auto;
  scrollbar-gutter: stable;
}
