/* PRO Touristik – Website-Layout nach dem neuen Erscheinungsbild
   Grundlage: Vorlagen_und_Referenzen/Website_Anpassungen_neues_Design.md
   Markenrot entspricht dem im Logo hinterlegten Wert. */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-v44-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-v44-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-v44-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("../fonts/noto-serif-v33-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --pro-red: #A01D2D;
  --pro-text: #000000;
  --pro-small: #404040;
  --pro-panel: #F5F4F2;
  /* Reiseteaser: Markenrot mit 7 % statt neutralem Grau */
  --pro-teaser-bg: rgba(160, 29, 45, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--pro-text);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

p {
  margin: 0 0 8px;
}

strong,
b {
  font-weight: 600;
}

a {
  color: var(--pro-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Header ---------- */

header {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  width: 340px;
  max-width: 100%;
  flex: 0 0 auto;
  height: auto;
  display: block;
}

nav {
  min-width: 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

nav a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  color: var(--pro-small);
}

nav a:hover,
nav a.active {
  color: var(--pro-red);
  text-decoration: none;
}

/* ---------- Titel und Metazeilen ---------- */

h1,
.travel-title {
  margin: 0 0 4px;
  font-family: "Noto Serif", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--pro-red);
}

.travel-subtitle {
  margin: 0 0 16px;
  font-family: "Noto Serif", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pro-red);
}

.dates {
  margin: 12px 0 16px;
  /* Im PDF stehen die Metazeilen mit 10,5 pt über dem 10-pt-Fließtext (Faktor 1,05).
     Die Website setzt den Fließtext mit 16 px, deshalb hier entsprechend 17 px. */
  font-size: 17px;
  font-weight: 300;
  line-height: 23px;
  color: var(--pro-red);
}

/* ---------- Inhaltsüberschriften ---------- */

.content h2 {
  margin: 32px 0 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pro-red);
}

.content h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--pro-red);
}

.content h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--pro-text);
}

/* ---------- Bilder ---------- */

.tour img.hero,
.page img.hero {
  width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
  border: 0;
  border-radius: 0;
}

.bildnachweis {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 16px;
  color: var(--pro-small);
}

.leiterbild {
  width: 120px;
  height: 120px;
  margin: 0 0 16px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ---------- Reiseteaser ---------- */

.tour-list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 24px;
}

.tour-teaser {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  align-items: stretch;
  background: var(--pro-teaser-bg);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* Die Bildspalte gibt keine Höhe mehr vor: die Karte wird vom Text
   bestimmt, das Bild füllt sie vollständig aus. */
.teaser-media {
  display: block;
  position: relative;
  grid-column: 1;
  width: 100%;
  min-height: 180px;
}

.teaser-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.teaser-text {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 24px;
}

.teaser-text h2 {
  margin: 0 0 4px;
  font-family: "Noto Serif", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  color: var(--pro-red);
}

.teaser-text .dates {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--pro-text);
}

.teaser-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--pro-red);
}

/* ---------- Preis- / Detailbox ---------- */

.tripbox {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--pro-red);
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tripbox p {
  margin: 0 0 4px;
}

.tripbox p:last-child {
  margin-bottom: 0;
}

.tripbox strong,
.tripbox b {
  font-weight: 600;
  color: #fff;
}

.tripbox a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Sonstiges ---------- */

.download-button {
  display: inline-block;
  margin: 8px 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--pro-red);
}

.disclaimer {
  margin-top: 32px;
  font-size: 12px;
  line-height: 16px;
  color: var(--pro-small);
}

.disclaimer p {
  margin: 0;
}

/* ---------- Footer ---------- */

footer {
  margin-top: 32px;
  padding: 24px 1rem;
  background: var(--pro-red);
  text-align: center;
}

.footer-slogan {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #fff;
}

.footer-legal {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.9);
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Kopfbereich unterhalb der Kopfzeilenbreite ---------- */

@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------- Mobil ---------- */

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .logo {
    width: 280px;
  }

  nav ul {
    flex-direction: column;
    gap: 4px;
  }

  h1,
  .travel-title {
    font-size: 27px;
    line-height: 33px;
  }

  .travel-subtitle {
    font-size: 18px;
    line-height: 23px;
  }

  .tour-list {
    grid-auto-rows: auto;
  }

  .tour-teaser {
    grid-template-columns: 1fr;
  }

  .teaser-media,
  .teaser-text {
    grid-column: 1;
  }

  .teaser-media {
    aspect-ratio: 16 / 9;
  }

  .teaser-media img {
    height: 100%;
  }

  .teaser-text {
    padding: 18px;
  }
}
