/* /anfrage: Schalter Gebäudeart in der Kopfzeile (Jeremias 26.11.2026 23:18 – mit Symbol, kleine Schrift).
   Farben nur aus docs/DESIGN.md (34f12b). */
.ms-artwahl { display: inline-flex; flex: none; gap: 2px; padding: 3px; border: 1px solid rgba(5, 23, 61, .09); border-radius: 999px;
  background: linear-gradient(180deg, rgba(86, 103, 125, .07), rgba(86, 103, 125, .03));
  -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); }
.ms-artwahl[hidden] { display: none; }
.ms-artwahl-knopf { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 10px 3px 8px; border: 0;
  border-radius: 999px; background: transparent; cursor: pointer; font: 500 11.5px/1.2 var(--schrift); color: #111; white-space: nowrap;
  opacity: .62; transition: background-color .15s, opacity .15s, box-shadow .15s; }
.ms-artwahl-knopf .bf2-sym { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round;
  stroke-linejoin: round; color: #111; }
.ms-artwahl-knopf:hover { opacity: .9; }
/* gewählt: Milchglas (Jeremias 23:22) – weißlich trüb, weiche Kante, heller Lichtrand oben; schwarze Schrift */
.ms-artwahl-knopf[aria-pressed="true"] { opacity: 1; font-weight: 600;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .62) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(5, 23, 61, .05), 0 0 0 1px rgba(255, 255, 255, .7),
    0 4px 12px -6px rgba(5, 23, 61, .28); }
.ms-artwahl-knopf:focus-visible { outline: 2px solid #3D6189; outline-offset: 2px; }
/* PC: zweite Kopfzeile rechts neben „Schritt X von 4“ und dem Balken; schmaler: eigene Zeile unter dem Kopf */
.ms-kopf .ms-artwahl { order: 6; }
@media (min-width: 1001px) {
  /* 27.11.2026 (Jeremias, Video): Kopf bei JEDER Breite/Zoomstufe gleich – Zeile 1 Logo … Ansprechpartner mit Nummer, Zeile 2 der
     Fortschritt über die ganze Länge und rechts daneben die Gebäudeart. Die Grundbreite des Fortschritts ist fast die ganze Zeile:
     so passt er nie mehr in Zeile 1 (vorher rutschte er auf breiten Bildschirmen nach oben, die Gebäudeart allein nach unten). */
  .ms.ms-stil-a .ms-kopf .ms-fortschritt { flex: 1 1 calc(100% - 420px); }
  .ms.ms-stil-a .ms-kopf .ms-artwahl { order: 6; }
}
@media (max-width: 760px) {
  .ms-kopf .ms-artwahl { order: 6; display: flex; width: 100%; box-sizing: border-box; }
  .ms-artwahl[hidden] { display: none; }
  .ms-artwahl-knopf { flex: 1 1 0; min-width: 0; justify-content: center; gap: 5px; padding: 3px 6px; font-size: 11px; }
}
@media (max-width: 400px) { .ms-artwahl-knopf .bf2-sym { display: none; } }
@media (prefers-reduced-motion: reduce) { .ms-artwahl-knopf { transition: none; } }
/* 27.11.2026: Zeile 1 bricht nie um – der Text unter dem Logo nimmt nur den Platz, der übrig ist (vorher schob er bei
   1001–1100 px und um 1280 px den Ansprechpartner in eine eigene Zeile); die Dauer erscheint erst, wenn sicher Platz ist. */
@media (min-width: 1001px) {
  .ms.ms-stil-a .ms-kopf .ms-kopf-text { flex: 1 1 0; min-width: 0; }
  .ms.ms-stil-a .ms-kopf .ms-ansprech { flex: none; }
}
@media (min-width: 1001px) and (max-width: 1439px) {
  .ms.ms-stil-a .ms-kopf .ms-kopf-dauer { display: none; }
  .ms.ms-stil-a .ms-kopf .ms-ansprech { margin-left: auto; }
}

/* 27.11.2026 11:53 (Jeremias): die gewählte Gebäudeart im Beige-Gold wie der Knopf „Weiter zu Ihrem Gebäude“ – damit man sofort sieht,
   welche gewählt ist (vorher Milchglas, kaum zu erkennen) */
.ms-artwahl-knopf[aria-pressed="true"] { color: #05173D; font-weight: 700;
  background: #E9D7AE linear-gradient(115deg, #EEEBE3 0%, #E9D7AE 25%, #F3EEE4 45%, #E0CCA6 70%, #D9BD82 100%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #C9A86A, 0 4px 12px -4px rgba(121, 107, 68, .55), 0 0 10px 1px rgba(224, 204, 166, .55); }
.ms-artwahl-knopf[aria-pressed="true"] .bf2-sym { color: #05173D; }
@media (forced-colors: active) { .ms-artwahl-knopf[aria-pressed="true"] { outline: 2px solid CanvasText; } }
