/* 24.11.2026 (Jeremias): Kombi-Paket oben im Bereich (/anfrage und Kundenportal, Endkunden) – templates/bestellformular2/_paket.html.
   Hervorgehoben als dunkle Fläche im Stahlblau-Verlauf (docs/DESIGN.md: dunkle Flächen immer mit dem Verlauf, Schrift weiß, Akzent
   Sand fett), Kennzeichen „Paket“ als Sand-Pille mit Navy-Schrift, Hauptknopf Porzellan mit Navy-Schrift. Leistungen im Paket:
   Stahlblau-Rand und Pille „im Paket“ (weiß auf Stahlblau, 6,1 : 1). Werte wie bestellformular2.css (Design 34f12b), mobil zuerst. */
.bf2-paket { position: relative; margin: 0 0 14px; padding: 16px 16px 16px; border-radius: 16px; color: #fff;
  background-color: #102035; background-image: linear-gradient(100deg, #102035 0%, #102035 30%, #3B5878 70%, #4F7196 100%);
  box-shadow: 0 18px 34px -24px rgba(5, 23, 61, .7); scroll-margin-top: 24px; }
.bf2-paket[hidden] { display: none; }
.bf2-paket.bf2-paket-an { outline: 3px solid #E0CCA6; outline-offset: 2px; }
.bf2-paket-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-bottom: 10px; }
.bf2-paket-marke { display: inline-block; padding: 3px 10px; border-radius: 99px; background: #E0CCA6; color: #05173D;
  font: 700 12px/1.4 var(--schrift, Archivo, sans-serif); letter-spacing: .06em; text-transform: uppercase; }
.bf2-paket-spar { font: 600 14px/1.3 var(--schrift, Archivo, sans-serif); color: #E0CCA6; }
.bf2-paket-spar span { font-family: var(--kursiv, Lora, serif); font-style: italic; }
.bf2-paket-inhalt { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bf2-paket-text b { display: block; font: 600 18px/1.25 var(--schrift, Archivo, sans-serif); color: #fff; }
.bf2-paket-text small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: #fff; }
.bf2-paket-liste { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.bf2-paket-liste[hidden] { display: none; }
.bf2-paket-liste li { padding: 3px 9px; border: 1px solid rgba(224, 204, 166, .6); border-radius: 99px; font-size: 12.5px; line-height: 1.35; color: #fff; }
.bf2-paket-liste li::before { content: "✓ "; color: #E0CCA6; font-weight: 700; }
.bf2-paket-preis { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 10px; }
.bf2-paket-statt { grid-column: 1 / -1; font-size: 13.5px; color: #fff; text-decoration-thickness: 1.5px; }
.bf2-paket-wert { font: italic 600 30px/1.1 var(--kursiv, Lora, serif); color: #fff; font-variant-numeric: tabular-nums; }
.bf2-paket-mwst { font-size: 12.5px; color: #fff; }
.bf2-paket-knopf { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; min-height: 46px;
  padding: 10px 18px; border: 1px solid #C7BEA4; border-radius: 99px; background: #EEEBE3; color: #05173D; font: 600 15px/1.2 var(--schrift, Archivo, sans-serif);
  text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px -14px rgba(5, 23, 61, .8); transition: background-color .15s, box-shadow .15s; }
.bf2-paket-knopf:hover { background: #fff; }
.bf2-paket-knopf:focus-visible { outline: 3px solid #E0CCA6; outline-offset: 3px; }
.bf2-paket-knopf[aria-pressed="true"] { background: #fff; }
/* Leistungen, die gerade im Paket sind */
.bf2-karte.bf2-im-paket { border-color: #3D6189 !important; box-shadow: inset 0 0 0 1px #3D6189; }
.bf2-karte.bf2-im-paket .bf2-karte-text b::after { content: "im Paket"; display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px;
  background: #3D6189; color: #fff; font: 700 11px/1.5 var(--schrift, Archivo, sans-serif); letter-spacing: .03em; vertical-align: 2px; }
/* Sprungziel über Deep-Link (/anfrage?leistung=…#leistung-…): kurz hervorheben */
.bf2-karte, .bf2-paket { scroll-margin-top: 24px; }
.bf2-ziel { animation: bf2-ziel 2.4s ease-out 1; }
@keyframes bf2-ziel { 0%, 35% { box-shadow: 0 0 0 4px #E0CCA6, 0 0 0 7px #3D6189; } 100% { box-shadow: 0 0 0 0 rgba(224, 204, 166, 0); } }
/* Übersicht (Preisbox): Paket als ein Block mit den enthaltenen Leistungen darunter */
.bf2-pos .bf2-pos-paket { flex-wrap: wrap; }
.bf2-pos-paket .bf2-pos-paket-name { font-weight: 600; }
.bf2-pos-paket .bf2-pos-paket-statt { display: block; width: 100%; font-size: 12.5px; color: #56677D; }
.bf2-pos-paket ul { width: 100%; margin: 4px 0 0; padding: 0 0 0 14px; list-style: none; }
.bf2-pos-paket ul li { display: block; padding: 1px 0; border: 0; font-size: 13px; color: #56677D; }
.bf2-pos-paket ul li::before { content: "– "; }
@media (min-width: 721px) {
  .bf2-paket { padding: 18px 20px; }
  .bf2-paket-inhalt { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 24px; }
  .bf2-paket-preis { justify-items: end; grid-template-columns: auto; text-align: right; }
  .bf2-paket-knopf { min-width: 190px; }
}
@media (prefers-reduced-motion: reduce) { .bf2-ziel { animation: none; outline: 3px solid #3D6189; } .bf2-paket-knopf { transition: none; } }

/* NEU-19.80 (Jeremias 24.11.2026 21:26) – /anfrage, /anfrage-2, Kundenportal (Klasse bf2-blau-wahl; /bestellformular unverändert):
   Ausgewählt = Blau-Verlauf wie die gewählte Bereichskachel, alle Texte weiß (weiß auf #4F7196 = 5,1 : 1, am dunklen Ende mehr);
   nicht ausgewählt = helle Karte. Gilt für Leistungskarten und die Paket-Karte (eigene Checkbox, _paket.html paket_check). */
.bf2-blau-wahl .bf2-karte:has(.bf2-check:checked):not(.bf2-im-paket) { border-color: transparent; background-color: #102035;
  background-image: linear-gradient(100deg, #102035 0%, #102035 30%, #3B5878 70%, #4F7196 100%); box-shadow: 0 18px 34px -22px rgba(5, 23, 61, .6); }
.bf2-blau-wahl .bf2-karte:has(.bf2-check:checked):not(.bf2-im-paket) :is(.bf2-karte-text b, .bf2-karte-text small, .bf2-karte-preis,
  .bf2-karte-preis small, .bf2-we-hinweis, .bf2-mwst, .bf2-mehr) { color: #fff; }
.bf2-blau-wahl .bf2-karte:has(.bf2-check:checked):not(.bf2-im-paket) .bf2-ka-sym { background: rgba(255, 255, 255, .08);
  border-color: rgba(224, 204, 166, .55); color: #E0CCA6; }
.bf2-blau-wahl .bf2-karte:has(.bf2-check:checked):not(.bf2-im-paket) .bf2-haken { background: #E0CCA6; border-color: #E0CCA6; }
.bf2-blau-wahl .bf2-karte:has(.bf2-check:checked):not(.bf2-im-paket) .bf2-haken::after { border-color: #05173D; }
.bf2-blau-wahl .bf2-karte:has(.bf2-check:checked):not(.bf2-im-paket) .bf2-variante { color: #fff; }

/* Paket-Karte mit Checkbox: hell, solange nicht gewählt; gewählt = Blau-Verlauf (Grundregel oben in dieser Datei) */
.bf2-paket-cb-modus .bf2-paket-knopf { display: none; }              /* mit JavaScript ist die Checkbox der Schalter */
.bf2-paket-wahl { display: inline-flex; align-items: center; cursor: pointer; }
.bf2-paket-wahl[hidden] { display: none; }
.bf2-paket-check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bf2-paket-wahl .bf2-haken { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid #C7BEA4; background: #fff; display: grid; place-items: center; }
.bf2-paket-wahl .bf2-haken::after { content: ""; width: 11px; height: 6px; margin-top: -3px; border: solid transparent; border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg); }
.bf2-paket-check:checked + .bf2-haken { background: #E0CCA6; border-color: #E0CCA6; }
.bf2-paket-check:checked + .bf2-haken::after { border-color: #05173D; }
.bf2-paket-check:focus-visible + .bf2-haken { outline: 3px solid #3D6189; outline-offset: 2px; }
.bf2-paket-cb-modus .bf2-paket-cb .bf2-paket-kopf { padding-right: 36px; }   /* Häkchen oben rechts wie bei den Leistungskarten */
.bf2-paket-cb .bf2-paket-wahl { position: absolute; top: 13px; right: 13px; width: 26px; height: 26px; }
.bf2-paket-cb .bf2-paket-wahl .bf2-haken { position: static; margin: 0; }
.bf2-paket-cb-modus .bf2-paket.bf2-paket-cb { cursor: pointer; }
.bf2-paket-cb-modus .bf2-paket.bf2-paket-cb.bf2-paket-an { outline: 0; }
.bf2-paket-cb-modus .bf2-paket.bf2-paket-cb:not(.bf2-paket-an) { background: #fff; background-image: none; color: #05173D;   /* weiß: Jeremias 26.11.2026 */
  border: 1px solid #D9D2C0; box-shadow: none; }
.bf2-paket-cb-modus .bf2-paket.bf2-paket-cb:not(.bf2-paket-an) :is(.bf2-paket-text b, .bf2-paket-wert) { color: #05173D; }
.bf2-paket-cb-modus .bf2-paket.bf2-paket-cb:not(.bf2-paket-an) :is(.bf2-paket-text small, .bf2-paket-mwst, .bf2-paket-statt,
  .bf2-paket-statt [data-bf2-paket-statt]) { color: #56677D; }
.bf2-paket-cb-modus .bf2-paket.bf2-paket-cb:not(.bf2-paket-an) .bf2-paket-spar { color: #796B44; }
.bf2-paket-cb-modus .bf2-paket.bf2-paket-cb:not(.bf2-paket-an) .bf2-paket-liste li { border-color: #D9D2C0; color: #05173D; }
.bf2-paket-cb-modus .bf2-paket.bf2-paket-cb:not(.bf2-paket-an) .bf2-paket-liste li::before { color: #796B44; }

/* Einzelkarten im gewählten Paket: hell, ohne Haken, Hinweis „im Paket enthalten“, gesperrt (aria-disabled, Titel mit Erklärung) */
.bf2-paket-cb-modus .bf2-karte.bf2-im-paket { border-color: #D9D2C0 !important; border-style: dashed !important; background: #F7F5F0;
  box-shadow: none; }
.bf2-paket-cb-modus .bf2-karte.bf2-im-paket .bf2-karte-text b::after { content: none; }
.bf2-paket-cb-modus .bf2-karte.bf2-im-paket .bf2-haken { background: #fff; border-color: #D9D2C0; }
.bf2-paket-cb-modus .bf2-karte.bf2-im-paket .bf2-haken::after { border-color: transparent; }
.bf2-paket-cb-modus .bf2-karte.bf2-gesperrt .bf2-karte-kopf { cursor: not-allowed; }
.bf2-karte .bf2-karte-text .bf2-paket-hinweis, .bf2-paket-hinweis { display: inline-block !important; width: auto; justify-self: start; color: #fff !important; margin-top: 6px; padding: 1px 9px; border-radius: 99px; background: #3D6189; color: #fff;
  font: 700 11.5px/1.5 var(--schrift, Archivo, sans-serif); letter-spacing: .02em; }
.bf2-karte .bf2-karte-text .bf2-paket-hinweis[hidden] { display: none !important; }
.bf2-paket-hinweis .bf2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
