/* Eigene Ergaenzungen zur nachgebauten Seite.
   Enthaelt den Sprachselektor und die Hinweisleiste zu Cookies.
   Die Mindestbreiten stammen aus dem Framer-Raster und werden hier
   fuer schmale Bildschirme aufgehoben. */

:root {
  --pz-blau: #213776;
  --pz-text: #454545;
  --pz-leiste: #f7f7f7;
  --pz-rand: #dcdcdc;
}

/* ------------------------------------------------------------------
   Sprachselektor
   ------------------------------------------------------------------ */

.pz-sprache {
  position: relative;
  font-family: inherit;
  line-height: 1;
}

.pz-sprache > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--pz-rand);
  border-radius: 10px;
  background: #fff;
  color: var(--pz-text);
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  user-select: none;
  list-style: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pz-sprache > summary::-webkit-details-marker { display: none; }
.pz-sprache > summary::marker { content: ""; }

.pz-sprache > summary:hover,
.pz-sprache > summary:focus-visible {
  border-color: var(--pz-blau);
  color: var(--pz-blau);
}

.pz-sprache > summary:focus-visible {
  outline: 2px solid var(--pz-blau);
  outline-offset: 2px;
}

.pz-globus { flex: none; opacity: 0.85; }

.pz-pfeil {
  flex: none;
  opacity: 0.6;
  transition: transform 0.15s ease;
}

.pz-sprache[open] > summary .pz-pfeil { transform: rotate(180deg); }

.pz-aktuell { display: inline-block; }

.pz-sprachliste {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 5px;
  min-width: 148px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--pz-rand);
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(17, 17, 17, 0.1);
}

.pz-sprachliste li { margin: 0; padding: 0; }

.pz-sprachliste a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--pz-text);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.pz-sprachliste a:hover,
.pz-sprachliste a:focus-visible {
  background: var(--pz-leiste);
  color: var(--pz-blau);
}

.pz-sprachliste a[aria-current="true"] {
  color: var(--pz-blau);
  font-weight: 600;
}

.pz-kurz {
  display: inline-block;
  min-width: 22px;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

.pz-sprachliste a[aria-current="true"] .pz-kurz { opacity: 1; }

/* Der Nav-Bereich im Kopf traegt das Framer-Raster. Der Selektor
   soll rechts stehen und nicht gestreckt werden. */
.pz-navwrap {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* ------------------------------------------------------------------
   Hinweisleiste zu Cookies
   ------------------------------------------------------------------ */

.pz-hinweisleiste {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--pz-rand);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(17, 17, 17, 0.14);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pz-text);
}

.pz-hinweisleiste p { margin: 0; flex: 1 1 320px; }
.pz-hinweisleiste strong { color: #111; }
.pz-hinweisleiste a { color: var(--pz-blau); }

.pz-hinweisleiste button {
  flex: none;
  padding: 9px 20px;
  border: 0;
  border-radius: 9px;
  background: var(--pz-blau);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.pz-hinweisleiste button:hover { background: #18295b; }

/* ------------------------------------------------------------------
   Schmale Bildschirme
   ------------------------------------------------------------------ */

@media (max-width: 1199px) {
  html [class*="framer-"] { max-width: 100% !important; }
}

@media (max-width: 809px) {
  html a[class*="framer-"],
  html button[class*="framer-"] {
    white-space: normal !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .pz-sprachliste { right: 0; }
}
