/* Ergänzungen für die öffentliche Startseite und die Buchungsstrecke. */

.aufmacher {
  background: linear-gradient(160deg, var(--primaer) 0%, var(--primaer-dunkel) 62%, #071522 100%);
  color: var(--text-hell);
  padding: 46px 0 54px;
  position: relative;
  overflow: hidden;
}
.aufmacher::after {
  content: "";
  position: absolute;
  inset: auto -80px -140px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 169, 43, .22), transparent 68%);
  pointer-events: none;
}
.aufmacher-inhalt {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.aufmacher h1 { color: #fff; font-size: 2.1rem; max-width: 15em; }
.vorspann { font-size: 1.06rem; color: rgba(255, 255, 255, .9); max-width: 34em; }
.vorteile { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.vorteile li { padding-left: 28px; position: relative; color: rgba(255, 255, 255, .92); font-size: .97rem; }
.vorteile li::before {
  content: "";
  position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--akzent);
  box-shadow: inset 0 0 0 3px var(--primaer-dunkel);
}

.suchkarte { margin: 0; }
.suchkarte h2 { font-size: 1.16rem; margin-bottom: 14px; }
.suchkarte .hilfe { font-size: .85rem; color: var(--text-gedaempft); margin: 10px 0 0; }
.zeitraum-klartext {
  margin: 0 0 12px; padding: 9px 12px; border-radius: var(--radius-klein);
  background: var(--flaeche-gedaempft); border: 1px solid var(--rand);
  font-size: .9rem; font-weight: 560; color: var(--text);
}
.zeitraum-klartext:empty { display: none; }

.abschnitt-titel { margin: 42px 0 6px; }
.abschnitt-vorspann { color: var(--text-gedaempft); max-width: 52em; margin-bottom: 18px; }

/* Ergebniskarten. Breitere Mindestspalte, damit Name und Preis nebeneinander
   passen; die Karten sind gleich hoch und die Hauptaktion sitzt immer unten. */
#ergebnisse { grid-template-columns: repeat(auto-fit, minmax(370px, 1fr)); }
.treffer { position: relative; display: flex; flex-direction: column; }
.treffer .kopfbereich { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.treffer .kopfbereich > div:first-child { flex: 1 1 auto; min-width: 0; }
.treffer h3 { margin-bottom: 4px; }
.treffer .preis { font-size: 1.24rem; font-weight: 680; color: var(--primaer); white-space: nowrap;
                  text-align: right; flex: 0 0 auto; }
.treffer .preis small { display: block; font-size: .76rem; font-weight: 500; color: var(--text-gedaempft); }
.treffer > .zeile-verteilt:last-child { margin-top: auto; padding-top: 12px; }
.treffer .merkmale { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 5px; font-size: .9rem; color: var(--text-gedaempft); }
.treffer .merkmale li { padding-left: 18px; position: relative; }
.treffer .merkmale li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--rand-stark); }
.treffer.nicht-frei { opacity: .96; }
.treffer.nicht-frei .preis { color: var(--text-gedaempft); }

.katalogkarte img, .katalogkarte .bildersatz {
  width: 100%; height: 150px; border-radius: var(--radius-klein); object-fit: cover;
  background: linear-gradient(155deg, var(--primaer) 0%, var(--primaer-dunkel) 100%);
  display: grid; place-items: center; color: rgba(255, 255, 255, .5); margin-bottom: 12px;
}
.katalogkarte .bildersatz svg { width: 46px; height: 46px; }

.datenliste { display: grid; gap: 6px; font-size: .9rem; margin: 10px 0 0; }
.datenliste div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--rand); padding-bottom: 5px; }
.datenliste dt, .datenliste .name { color: var(--text-gedaempft); }
.datenliste dd, .datenliste .wert { margin: 0; font-weight: 600; text-align: right; }

/* Buchungsstrecke */
.posten { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rand); }
.posten:last-child { border-bottom: 0; }
.posten .bezeichnung { font-weight: 620; }
.posten .herleitung { font-size: .86rem; color: var(--text-gedaempft); margin-top: 3px; }
.posten .betrag { font-weight: 660; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summenblock { border-top: 2px solid var(--primaer); margin-top: 12px; padding-top: 12px; }
.summenblock .zeile-verteilt { margin-bottom: 6px; }
.summenblock .gesamt { font-size: 1.28rem; font-weight: 700; color: var(--primaer); }

.wochenplan { display: grid; gap: 8px; }
.wochenplan .tag { display: grid; grid-template-columns: 118px 1fr auto; gap: 10px; align-items: start; padding: 9px; border: 1px solid var(--rand); border-radius: var(--radius-klein); }
.wochenplan .tag .name { font-weight: 620; padding-top: 9px; }
.wochenplan .fenster { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.wochenplan .fenster select { width: 108px; min-height: 40px; }
.wochenplan .leerhinweis { color: var(--text-gedaempft); font-size: .88rem; padding-top: 11px; }

/* Ablauf */
.ablaufliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ablaufliste li { display: flex; gap: 13px; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 17px; box-shadow: var(--schatten); }
.ablaufliste .nummer {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primaer); color: #fff;
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.ablaufliste h3 { font-size: 1rem; margin-bottom: 4px; }
.ablaufliste p { margin: 0; font-size: .92rem; color: var(--text-gedaempft); }

/* Fußzeile */
.fusszeile { background: var(--flaeche); border-top: 1px solid var(--rand); margin-top: 50px; padding: 32px 0 40px; }
.fuss-inhalt { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
.fusszeile h4 { margin-bottom: 8px; }
.fusszeile .marke .zeichen { background: var(--primaer); color: #fff; }
.fusszeile p { font-size: .92rem; }

@media (max-width: 860px) {
  .aufmacher-inhalt { grid-template-columns: 1fr; }
  .aufmacher h1 { font-size: 1.65rem; }
  .fuss-inhalt { grid-template-columns: 1fr; }
  .wochenplan .tag { grid-template-columns: 1fr; }
}
