/* ============================================================
   Ratgeber-Seiten (Winterurlaub, Biikebrennen, …)
   Ein Stil für alle Ratgeber, damit neue Seiten nur Text brauchen.
   ============================================================ */

.ratgeber {
  box-sizing: border-box;
  width: 100%;
  max-width: 780px;
  margin: 120px auto 0;
  padding: 0 16px;
  color: #2b2b2b;
  font-size: 17px;
  line-height: 1.65;
}

.ratgeber-pfad {
  margin: 0 0 18px;
  font-size: 14px;
  color: #777;
}

.ratgeber-pfad a {
  color: #2e7d32;
  text-decoration: none;
}

.ratgeber-pfad a:hover {
  text-decoration: underline;
}

.ratgeber h1 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.25;
  color: #1f3d20;
}

.ratgeber .einleitung {
  margin: 0 0 26px;
  font-size: 19px;
  color: #444;
}

.ratgeber h2 {
  clear: both;
  margin: 40px 0 12px;
  font-size: 24px;
  line-height: 1.3;
  color: #1f3d20;
}

.ratgeber h3 {
  margin: 24px 0 6px;
  font-size: 19px;
  color: #2e7d32;
}

.ratgeber p {
  margin: 0 0 14px;
}

.ratgeber ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.ratgeber li {
  margin-bottom: 6px;
}

.ratgeber a {
  color: #2e7d32;
}

.ratgeber-titelbild {
  margin: 0 0 26px;
}

.ratgeber-titelbild img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

/* Zwei Hochkant-Bilder nebeneinander unter der Überschrift */
.ratgeber-bildpaar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 26px;
}

.ratgeber-bildpaar img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 12px;
}

.ratgeber-bildpaar figcaption {
  grid-column: 1 / -1;
  margin-top: -4px;
  font-size: 13px;
  color: #777;
}

/* Bild neben dem Text (auf dem Handy volle Breite) */
.ratgeber-bild {
  float: right;
  width: 300px;
  margin: 6px 0 16px 24px;
}

.ratgeber-bild img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.ratgeber-bild figcaption,
.ratgeber-titelbild figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: #777;
}

/* Kurz-Fakten oben auf der Seite */
.ratgeber-fakten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.ratgeber-fakten li {
  margin: 0;
  padding: 14px 16px;
  background-color: #f1f7f1;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.ratgeber-fakten strong {
  display: block;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #2e7d32;
}

/* Tabelle (Orte, Fahrzeiten) */
.ratgeber-tabelle-rahmen {
  overflow-x: auto;
  margin: 0 0 16px;
}

.ratgeber table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.ratgeber th,
.ratgeber td {
  padding: 10px 12px;
  border-bottom: 1px solid #e3e8e3;
  text-align: left;
  vertical-align: top;
}

.ratgeber th {
  background-color: #f1f7f1;
  color: #1f3d20;
}

/* Hinweis-Kasten */
.ratgeber-hinweis {
  margin: 18px 0;
  padding: 14px 18px;
  background-color: #fff8e6;
  border-left: 4px solid #e0a200;
  border-radius: 6px;
  font-size: 15px;
}

/* Kasten "Ihr Quartier" mit Button zum Kalender */
.ratgeber-quartier {
  clear: both;
  margin: 44px 0 0;
  padding: 26px 26px 28px;
  background-color: #f1f7f1;
  border-radius: 14px;
}

.ratgeber-quartier h2 {
  margin-top: 0;
}

.ratgeber-knopf {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  background-color: #2e7d32;
  color: #fff !important;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.ratgeber-knopf:hover,
.ratgeber-knopf:focus {
  background-color: #1b5e20;
}

.ratgeber-stand {
  margin-top: 30px !important;
  font-size: 13px;
  color: #888;
}

/* Liste weiterer Ratgeber (auch auf der Umgebungsseite) */
.ratgeber-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ratgeber-liste li {
  margin: 0;
}

.ratgeber-liste a {
  display: block;
  height: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  border: 1px solid #dfe7df;
  border-radius: 12px;
  background-color: #fff;
  color: #2b2b2b;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ratgeber-liste a:hover,
.ratgeber-liste a:focus {
  border-color: #2e7d32;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.12);
}

.ratgeber-liste strong {
  display: block;
  margin-bottom: 4px;
  color: #2e7d32;
  font-size: 17px;
}

.ratgeber-liste span {
  font-size: 15px;
  color: #555;
  line-height: 1.45;
}

@media (max-width: 1199px) {
  .ratgeber {
    margin-top: 100px;
  }
}

@media (max-width: 640px) {
  .ratgeber {
    font-size: 16px;
  }

  .ratgeber h1 {
    font-size: 26px;
  }

  .ratgeber .einleitung {
    font-size: 17px;
  }

  .ratgeber h2 {
    font-size: 21px;
  }

  .ratgeber-bild {
    float: none;
    width: 100%;
    margin: 6px 0 18px;
  }

  .ratgeber-quartier {
    padding: 20px 18px 22px;
  }
}

/* Kasten mit Ratgeber-Links auf der Umgebungsseite */
.ratgeber-tipps {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 50px auto 0;
  padding: 0 16px;
}

.ratgeber-tipps h2 {
  margin: 0 0 16px;
  font-size: 24px;
  color: #1f3d20;
  text-align: center;
}

/* Zweiter, kleiner Link unter dem Angebots-Knopf */
.ratgeber-alternativ {
  margin: 14px 0 0 !important;
  font-size: 15px;
  color: #555;
}

/* Häufige Fragen zum Aufklappen */
.faq details {
  margin: 0 0 10px;
  border: 1px solid #dfe7df;
  border-radius: 10px;
  background-color: #fff;
}

.faq summary {
  position: relative;
  padding: 14px 44px 14px 16px;
  font-weight: bold;
  color: #1f3d20;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #2e7d32;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0;
  padding: 0 16px 14px;
}

/* Kleine Zeile unter einem Ausflugsziel: Fahrzeit und beste Zeit */
.ratgeber .ziel-info {
  margin: -2px 0 8px;
  font-size: 14px;
  font-weight: bold;
  color: #8a6d1f;
}

/* Handy: Überschriften in den Fakten-Kästen dürfen umbrechen und rücken etwas enger */
@media (max-width: 640px) {
  .ratgeber-fakten strong {
    letter-spacing: 0.2px;
    overflow-wrap: break-word;
  }
}
