/*
 * Landhaus-Zusatzsektion auf der Paketseite (CR 03, nach Designvorlage "Alpine Landhaus with Private Spa").
 *
 * Aufbau laut Vorlage: weiches, warmes Panel mit Radius; links ein Bild im Seitenverhältnis 6:5 mit Radius,
 * rechts Überschrift (Esteban, grün), Trennlinie mit Blatt, Beschreibung. Alle Regeln sind auf .dzpb-extra begrenzt
 * und nutzen die Variablen und Klassen aus package-booking.css (.dzpb, .dzpb-h2, .dzpb-prose).
 *
 * Breakpoints: ab 700 px zwei Spalten (bis 1000 px 42:58 mit engeren Abständen), darunter einspaltig mit Bild vor Text.
 * Die Vorlage zeigt zusätzlich eine Eyebrow-Zeile und drei Icon-Merkmale. Beides hat kein Backend-Feld und
 * wird nicht ausgegeben (keine fest codierten Inhalte).
 */
.dzpb .dzpb-extra {
  --dzpb-extra-bg: #f8f6f0;
  --dzpb-extra-line: #babdaa;

  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 43fr);
  gap: 44px;
  align-items: center;
  margin: 48px 0;
  padding: 52px 36px;
  background: var(--dzpb-extra-bg);
  border-radius: 0; /* CR 08.1 */
  box-shadow: 0 8px 28px rgba(60, 70, 40, .06);
}
.dzpb .dzpb-extra--noimg,
.dzpb .dzpb-extra--onlyimg {
  grid-template-columns: minmax(0, 1fr);
}
.dzpb .dzpb-extra--noimg .dzpb-extra__body { max-width: none; }
.dzpb .dzpb-extra--noimg .dzpb-extra__title,
.dzpb .dzpb-extra--noimg .dzpb-prose { max-width: 760px; }

/* Bild: einheitliches Seitenverhältnis, Zuschnitt statt Verzerrung, Originalformate egal */
.dzpb .dzpb-extra__media { margin: 0; }
.dzpb .dzpb-extra__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: 0; /* CR 08.1 */
}
.dzpb .dzpb-extra--onlyimg .dzpb-extra__img { aspect-ratio: 16 / 9; }

/* Text */
.dzpb .dzpb-extra__title {
  margin: 0;
  padding: 0;
  font-size: clamp(1.9rem, 3.7vw, 2.6rem);
  line-height: 1.15;
  overflow-wrap: break-word;
  hyphens: manual;
}
.dzpb .dzpb-extra .dzpb-prose {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .02em;
}
.dzpb .dzpb-extra .dzpb-prose a { color: var(--dzpb-green-btn); }

/* Trennlinie mit Blatt (nur zwischen Überschrift und Text) */
.dzpb .dzpb-extra__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 26px 0;
  color: var(--dzpb-green);
}
.dzpb .dzpb-extra__divider::before,
.dzpb .dzpb-extra__divider::after {
  content: '';
  flex: 0 1 22%;
  height: 1px;
  background: var(--dzpb-extra-line);
}
.dzpb .dzpb-extra__divider svg { flex: none; display: block; }

/* Tablet: weiterhin zwei Spalten, engere Abstände und etwas kleinere Schrift */
@media (max-width: 1000px) {
  .dzpb .dzpb-extra {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: 28px;
    padding: 36px 26px;
  }
  .dzpb .dzpb-extra--noimg,
  .dzpb .dzpb-extra--onlyimg { grid-template-columns: minmax(0, 1fr); }
  .dzpb .dzpb-extra__title { font-size: clamp(1.7rem, 3.6vw, 2.2rem); }
  .dzpb .dzpb-extra .dzpb-prose { font-size: 15.5px; line-height: 1.65; }
  .dzpb .dzpb-extra__divider { margin: 20px 0; }
}

/* Smartphone: einspaltig, Bild vor Text */
@media (max-width: 699px) {
  .dzpb .dzpb-extra {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 36px 0;
    padding: 20px 18px 28px;
    border-radius: 0;
  }
  .dzpb .dzpb-extra__img { aspect-ratio: 4 / 3; }
  .dzpb .dzpb-extra--onlyimg .dzpb-extra__img { aspect-ratio: 16 / 10; }
  .dzpb .dzpb-extra__title { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .dzpb .dzpb-extra .dzpb-prose { font-size: 16px; }
  .dzpb .dzpb-extra__divider { margin: 18px 0; }
}

/*
 * Merkmale mit frei gewählten Icons (CR 07). Die Anordnung richtet sich nach der Anzahl der ausgefüllten Merkmale:
 * --n1 ein Merkmal zentriert in einer Zeile, --n2 zwei Merkmale in einer symmetrischen, zentrierten Reihe,
 * --n3 drei Spalten mit Icon über dem Text. Smartphone: untereinander, jeweils zentriert.
 */
.dzpb .dzpb-extra__features {
  display: grid;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
/* Das Theme setzt für Listen einen Einzug mit hoher Spezifität; für diese Merkmalsliste muss er entfallen, sonst sitzt die Gruppe nicht mittig. */
.dzpb .dzpb-extra .dzpb-extra__features { padding: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
.dzpb .dzpb-extra__feature {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 2px 12px;
  list-style: none;
  color: var(--dzpb-text);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
}
.dzpb .dzpb-extra__feature::before { content: none; }
.dzpb .dzpb-extra__feature-text { min-width: 0; overflow-wrap: anywhere; }
.dzpb .dzpb-extra__icon { display: block; flex: none; color: var(--dzpb-green); line-height: 0; }
.dzpb .dzpb-extra__icon-svg { display: block; width: 44px; height: 44px; }
.dzpb .dzpb-extra__feature + .dzpb-extra__feature { border-left: 1px solid #c4c5b5; }

/* drei Merkmale: Spalten, Icon über dem Text */
.dzpb .dzpb-extra__features--n3 { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.dzpb .dzpb-extra__features--n3 .dzpb-extra__feature { flex-direction: column; justify-content: flex-start; }
.dzpb .dzpb-extra__features--n3 .dzpb-extra__icon { margin: 0 0 12px; }

/* zwei Merkmale: eine Reihe, Gruppe zentriert, Icon neben dem Text */
.dzpb .dzpb-extra__features--n2 { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; }
.dzpb .dzpb-extra__features--n2 .dzpb-extra__feature { justify-content: center; gap: 12px; padding: 4px clamp(18px, 3vw, 36px); }
.dzpb .dzpb-extra__features--n2 .dzpb-extra__icon-svg { width: 32px; height: 32px; }

/* ein Merkmal: horizontal zentriert */
.dzpb .dzpb-extra__features--n1 { grid-template-columns: minmax(0, max-content); justify-content: center; }
.dzpb .dzpb-extra__features--n1 .dzpb-extra__feature { justify-content: center; gap: 12px; padding: 4px 12px; font-size: 16px; }
.dzpb .dzpb-extra__features--n1 .dzpb-extra__icon-svg { width: 32px; height: 32px; }

@media (max-width: 1000px) {
  .dzpb .dzpb-extra__features { margin-top: 28px; }
  .dzpb .dzpb-extra__feature { padding: 2px 8px; font-size: 14px; }
  .dzpb .dzpb-extra__features--n3 .dzpb-extra__icon-svg { width: 38px; height: 38px; }
  .dzpb .dzpb-extra__features--n2 .dzpb-extra__icon-svg,
  .dzpb .dzpb-extra__features--n1 .dzpb-extra__icon-svg { width: 28px; height: 28px; }
  .dzpb .dzpb-extra__features--n2 .dzpb-extra__feature { padding: 4px 18px; }
  .dzpb .dzpb-extra__features--n1 .dzpb-extra__feature { font-size: 15px; }
}

/* Smartphone: Merkmale untereinander, jeweils zentriert */
@media (max-width: 560px) {
  .dzpb .dzpb-extra__features { display: flex; flex-direction: column; align-items: center; margin-top: 24px; }
  .dzpb .dzpb-extra__feature,
  .dzpb .dzpb-extra__features--n1 .dzpb-extra__feature,
  .dzpb .dzpb-extra__features--n2 .dzpb-extra__feature,
  .dzpb .dzpb-extra__features--n3 .dzpb-extra__feature {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
  }
  .dzpb .dzpb-extra__features--n3 .dzpb-extra__icon { margin: 0; }
  .dzpb .dzpb-extra__feature + .dzpb-extra__feature { border-left: 0; border-top: 1px solid #c4c5b5; }
  .dzpb .dzpb-extra__icon-svg,
  .dzpb .dzpb-extra__features--n1 .dzpb-extra__icon-svg,
  .dzpb .dzpb-extra__features--n2 .dzpb-extra__icon-svg,
  .dzpb .dzpb-extra__features--n3 .dzpb-extra__icon-svg { width: 30px; height: 30px; }
}
