/* V1.21 (Vorhaben 2812, Paket X - Frank Nowotny 13.11.2026, Baustein 15): STANDORTKARTE - die dunkelblaue linke
   Spalte der Werkseiten (Partials/Standort/Seitenleiste.html). Dunkelblau mit Verlauf Cyan aus der linken oberen Ecke
   (wie "Direkter Draht"), weicher Schatten, am Fuss der WIEGEL-Bogen (3,9 rem, hinter dem Inhalt). Firmierung als
   Rubrik 13 px SemiBold Versalien, Cyan 70 % (#4dbceb), OHNE Silbentrennung; Werksname gross, Zusatz in eigener Zeile.
   Kontakt als Raster Icon | Text, Oeffnungszeiten als Tabelle ohne Umbruch, Fax zurueckgenommen (62 % Weiss).
   Sprungnavigation unten; der Strich wandert zur aktiven Rubrik (JavaScript/113_standortkarte.js). Mindesthoehe so,
   dass die klebende Karte ins Fenster passt; passt der Inhalt nicht, klebt sie nicht (.standortkarte--lang).
   !important, weil standortseite.css/bestand.css die Seitenleiste mit !important setzen. */
.location__sidebar_contents {
    display: flex !important;
    flex-direction: column;
    align-content: normal !important;
    gap: 0 !important;
    padding: 2rem clamp(1.5rem, 2.2vw, 2.25rem) 4.75rem !important;
    min-height: min(46rem, calc(100vh - var(--brotkrume-kopf, 110px) - var(--brotkrume-leiste, 40px) - var(--universal-gap, 16px) * 2)) !important;
    background: radial-gradient(130% 70% at 0 0, rgb(var(--blau-rgb) / .55) 0, rgb(var(--blau-rgb) / 0) 60%), var(--color-black-blue) !important;
    border-radius: var(--rounded-corners);
    overflow: clip;
    isolation: isolate;
    box-shadow: 0 18px 36px -18px rgb(var(--dunkel-rgb) / .5);
}
.location__sidebar_contents .location__identity .location_name {
    font-size: .8125rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-feature-settings: "case";
    color: var(--color-blue-hell) !important;
    -webkit-hyphens: none !important;
            hyphens: none !important;
    text-wrap: balance;
    margin: 0 0 .6rem !important;
}
.location__sidebar_contents .location__identity .location_title {
    font-size: var(--fs-werkname) !important;
    line-height: 1.05 !important;
    letter-spacing: -.015em;
    font-weight: 600 !important;
    color: var(--color-white) !important;
    margin: 0 !important;
    text-wrap: balance;
}
.location__sidebar_contents .location__identity .location_title .werk_zusatz--zeile {
    display: block;
    font-size: max(1rem, .42em);
    font-weight: 400 !important;
    letter-spacing: 0;
    line-height: 1.3;
    color: rgb(var(--weiss-rgb) / .75);
    margin-top: .4rem;
}
.location__sidebar_contents .location__details { display: flex !important; flex-direction: column; gap: 1rem; margin-top: 1.6rem; }
.location__sidebar_contents .location__details > * { margin: 0 !important; }
.location__sidebar_contents .location__contacts { display: flex; flex-direction: column; gap: 1rem; }
.location__sidebar_contents .kontaktgruppe { display: grid; gap: .35rem; }
.location__sidebar_contents .kontaktgruppe > li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); column-gap: .85rem; align-items: start; font-size: 1rem; line-height: 1.45; color: var(--color-white); }
.location__sidebar_contents .kontaktgruppe > li > * { margin: 0 !important; }
/* Nur das Zeichen (Zusatz contact_info--…), nicht der Redaktionstext "contact_info" - Muster standortseite.css, p_kontaktblock K1; :where haelt die Spezifitaet (Koordinator 14.11.2026). */
.location__sidebar_contents .contact_info:where([class*="contact_info--"]) { padding: 0 !important; width: 1.25rem; height: 1.25rem; display: block; margin-top: .1rem !important; }
.location__sidebar_contents .contact_info__zeichen { width: 1.25rem !important; height: 1.25rem !important; background-color: var(--color-blue-hell) !important; display: block; }
.location__sidebar_contents .kontaktgruppe a { justify-self: start; color: var(--color-white) !important; text-decoration: none !important; border-bottom: 1px solid rgb(var(--weiss-rgb) / .3); transition: border-color .2s; }
.location__sidebar_contents .kontaktgruppe a:hover,
.location__sidebar_contents .kontaktgruppe a:focus-visible { border-bottom-color: var(--color-blue-hell); }
.location__sidebar_contents .kontaktgruppe > li.location_fax { font-size: .875rem; color: rgb(var(--weiss-rgb) / .62); }
.location__sidebar_contents .kontaktgruppe > li.location_fax a { color: inherit !important; border-bottom-color: transparent; }
.location__sidebar_contents .kontaktgruppe > li.location_fax .contact_info__zeichen { opacity: .6; transform: scale(.85); }
.location__sidebar_contents .standort_zeiten { display: inline-grid !important; grid-template-columns: max-content max-content; column-gap: 1rem; row-gap: .1rem; max-width: none !important; font-variant-numeric: normal; /* AN (Paket 3+4, Frank Nowotny 16.11.2026): einzelne Zahl bzw. Zahl im Satz - normale Ziffern der Neue DIN; Tabellenziffern nur, wo Zahlen untereinander verglichen werden (G-70.3 neu, Entscheidung Frank Nowotny 17.11.2026, Paket 6) */ }
.location__sidebar_contents .standort_zeiten__zeit,
.location__sidebar_contents .standort_zeiten__tag { white-space: nowrap; }
.location__sidebar_contents .standort_zeiten__tag { color: rgb(var(--weiss-rgb) / .75); }
.location__sidebar_contents .standort_zeiten__satz,
.location__sidebar_contents .standort_zeiten__sonder { white-space: normal; color: rgb(var(--weiss-rgb) / .75); font-size: .875rem; }
.location__sidebar_contents .standort_anschrift { display: flex; flex-direction: column; max-width: none !important; }
.standortkarte__anfrage {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-top: 1.6rem;
    padding: .75rem 1.1rem .75rem 1.2rem;
    border-radius: .5rem;
    background: var(--color-white);
    color: var(--color-black-blue) !important;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color .25s;
}
/* BC (Paket 6, Frank Nowotny 17.11.2026): der Knopf "Anfrage an dieses Werk" steht buendig mit der Textspalte der
   Kontaktgruppen darueber (Zeichenspalte 1,25 rem + Spaltenabstand 0,85 rem, .kontaktgruppe > li), nicht an der Icon-Kante. */
.location__sidebar_contents .standortkarte__anfrage { margin-left: calc(1.25rem + .85rem); }
.standortkarte__anfrage:hover { background: var(--color-blue-hauch); }
.standortkarte__anfrage:focus-visible { outline: 2px solid var(--color-white); outline-offset: 3px; }
.standortkarte__anfrage i { width: 1.15rem; height: 1.15rem; background: var(--color-blue); -webkit-mask: var(--pfeil-lang) center / 100% no-repeat; mask: var(--pfeil-lang) center / 100% no-repeat; transition: translate .3s cubic-bezier(.25, .1, .3, 1); }
.standortkarte__anfrage:hover i { translate: 3px 0; }
.location__sidebar_contents .location__inpage_nav { margin-top: auto !important; padding-top: 1.75rem; position: relative; display: grid; gap: 0; }
.location__sidebar_contents .location__inpage_nav p { margin: 0 !important; }
.location__sidebar_contents .location__inpage_link { display: block; position: relative; padding: .2rem 0 .2rem 1rem; color: rgb(var(--weiss-rgb) / .7) !important; font-size: .9375rem; line-height: 1.3; text-decoration: none !important; transition: color .2s; }
.location__sidebar_contents .location__inpage_link:hover { color: var(--color-white) !important; }
.location__sidebar_contents .location__inpage_link.focus { color: var(--color-white) !important; font-weight: 500 !important; }
.standortkarte--marke .location__inpage_link.focus::before { display: none !important; }
.standortkarte__marke { position: absolute; left: 0; top: 0; width: 3px; border-radius: 2px; background: var(--color-blue); pointer-events: none; transition: transform .4s cubic-bezier(.25, .1, .3, 1), height .4s cubic-bezier(.25, .1, .3, 1), opacity .2s; }
.standortkarte__bogen { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 3.9rem; z-index: -1; pointer-events: none; display: block; }
.location__sidebar_contents.standortkarte--lang { position: relative !important; top: 0 !important; }
@media (max-width: 1050px) {
    /* BO (Paket 6 Nachtrag 1, Frank Nowotny 18.11.2026): top: auto - sonst greift top aus brotkrume.css (104,8 px) und die Karte verdeckt den Uebertitel */
    .location__sidebar_contents { position: relative !important; top: auto !important; min-height: 0 !important; }
    .location__sidebar_contents .location__inpage_nav { margin-top: 1.75rem !important; }
}
@media (prefers-reduced-motion: reduce) {
    .standortkarte__marke, .standortkarte__anfrage, .standortkarte__anfrage i { transition: none; }
}

/* CI (Paket 6 Nachtrag 5, Frank Nowotny 19.11.2026): LIVE-HINWEIS unter den Oeffnungszeiten (Partials/Standort/Seitenleiste.html,
   JavaScript/118_live_hinweis.js). Eigene Zeile unter dem Zeitenraster, buendig mit ihm (zweite Spalte); die Hoehe steht schon im
   ersten Bild (min-height), das Skript setzt nur den Text - kein Sprung. Punkt vor dem Text: offen Cyan (leise pulsierend), zu Grau. */
.location__sidebar_contents .standort-live {
    grid-column: 2; /* Zeile des Rasters .kontaktgruppe > li (Zeichen | Inhalt): unter den Zeiten, buendig mit ihnen */
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: calc(1.3em + .5rem);
    padding-top: .5rem; /* statt margin: .kontaktgruppe > li > * setzt margin 0 !important */
    color: rgb(var(--weiss-rgb) / .92);
    font-size: .84375rem;
    font-weight: var(--fw-bold);
    line-height: 1.3;
}
.location__sidebar_contents .standort-live:empty::before { content: none; }
.location__sidebar_contents .standort-live::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%; /* rund-begruendet: Statuspunkt - Breite gleich Hoehe (8 px), Franks Vorlage Baustein 41 */
    background-color: var(--color-grey);
}
.location__sidebar_contents .standort-live--zu { color: rgb(var(--weiss-rgb) / .7); }
.location__sidebar_contents .standort-live--offen::before { background-color: var(--color-blue-hell); }
@media (prefers-reduced-motion: no-preference) {
    .location__sidebar_contents .standort-live--offen::before { animation: standortLivePuls 2.4s cubic-bezier(.28, .11, .32, 1) infinite; }
    @keyframes standortLivePuls {
        0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-blue-hell) 60%, transparent); }
        70%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--color-blue-hell) 0%, transparent); }
    }
}
