/* =========================================================
   Allgemeine Elemente
   ========================================================= */

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   Kopf
   ========================================================= */

.sonderfahrten-kopf {
  padding: 1.4rem;
}

.sonderfahrten-kopf h1,
.sonderfahrten-leer h1 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 3.5rem);
  line-height: 1.05;
  text-wrap: balance;
}

.einleitung {
  margin: 1rem 0 0;
  color: #5b6475;
  font-size: 1.1rem;
}

/* =========================================================
   Liste
   ========================================================= */

.sonderfahrten-liste {
  display: grid;
  gap: 1rem;
}

/* =========================================================
   Sonderfahrt
   ========================================================= */

.sonderfahrt {
  display: grid;
}

.sonderfahrt__bildrahmen {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 2.7 / 1;
  margin: 0;
  overflow: hidden;
  background: #e9eef3;
}

.sonderfahrt__bild {
  display: block;
  width: 100%;
  height: 100%;
}

.sonderfahrt__bildrahmen--contain {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 2.7 / 1;
  padding: 2rem;
}

.sonderfahrt__bildrahmen--contain .sonderfahrt__bild {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.sonderfahrt__inhalt {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

/* =========================================================
   Termin
   ========================================================= */

.sonderfahrt__termin {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sonderfahrt__datum,
.sonderfahrt__uhrzeit,
.sonderfahrt__dauer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.2rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
  color: #273247;
  background: #f2f5f8;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

/* =========================================================
   Inhalt
   ========================================================= */

.sonderfahrt__titel {
  margin: 0;
  font-size: clamp(1.5rem, 7vw, 2.3rem);
  line-height: 1.1;
  text-wrap: balance;
}

.sonderfahrt__schiff {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: -0.35rem 0 0;
  color: var(--fkb-blau);
  font-family: Roboto;
  font-size: 1.80rem;
  font-style: italic;
  font-weight: 800;
}

.sonderfahrt__beschreibung {
  margin: 0;
  color: #273247;
  font-size: 1.1rem;
  line-height: 1.55;
}

/* =========================================================
   Preis und Hinweis
   ========================================================= */

.sonderfahrt__details {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dfe5eb;
}

.sonderfahrt__preis {
  margin: 0;
  color: #0e1d30;
  font-size: clamp(1.5rem, 7vw, 2rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sonderfahrt__hinweis {
  margin: 0;
  color: #5b6475;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
}

/* =========================================================
   Link
   ========================================================= */

.sonderfahrt__link {
  justify-self: start;
  color: #4877bc;
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.sonderfahrt__link:hover {
  text-decoration-thickness: 0.14em;
}

.sonderfahrt__link:focus-visible {
  outline: 3px solid rgb(19 95 140 / 25%);
  outline-offset: 4px;
  border-radius: 0.2rem;
}

/* =========================================================
   Allgemeiner Hinweis
   ========================================================= */

.sonderfahrten-hinweis {
  padding: 1.4rem;
}

.sonderfahrten-hinweis h2 {
  margin: 0;
  font-size: 1.35rem;
}

.sonderfahrten-hinweis p {
  margin: 0.75rem 0 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

/* =========================================================
   Leerzustand
   ========================================================= */

.sonderfahrten-leer {
  min-height: 65vh;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.sonderfahrten-leer .icon {
  width: 2.5rem;
  height: 2.5rem;
}

.leer-text {
  margin: 1rem 0 0;
  color: #5b6475;
  font-size: 1.15rem;
}

/* =========================================================
   Größere Bildschirme
   ========================================================= */

@media (min-width: 42rem) {
  .anleger {
    padding-block: 2rem 3rem;
  }

  .sonderfahrten-kopf,
  .sonderfahrt__inhalt,
  .sonderfahrten-hinweis,
  .sonderfahrten-leer {
    padding: 1.8rem;
  }
}

/* =========================================================
   Sehr kleine Bildschirme
   ========================================================= */

@media (max-width: 23rem) {
  .anleger {
    width: min(100% - 1rem, 44rem);
    gap: 0.75rem;
    padding-block: 0.5rem 1rem;
  }

  .karte {
    border-radius: 1rem;
  }

  .sonderfahrten-kopf,
  .sonderfahrt__inhalt,
  .sonderfahrten-hinweis,
  .sonderfahrten-leer {
    padding: 1.1rem;
  }

  .sonderfahrt__details {
    align-items: flex-start;
    flex-direction: column;
  }

  .sonderfahrt__hinweis {
    text-align: left;
  }

  .sonderfahrt__bildrahmen--contain {
    padding: 1.25rem;
  }
}
