/* Cookie-Einwilligung pkw-folierung.eu (Creativebowl 2026) */
.pf-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  font-family: inherit;
}
.pf-consent .pf-box {
  pointer-events: auto;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  color: #3c3c3b;
  border-top: 4px solid #ff7e00;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.pf-consent .pf-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  color: #3c3c3b;
}
.pf-consent .pf-desc { margin: 0 0 14px; }
.pf-consent a { color: #ed7a09; text-decoration: underline; }

.pf-consent .pf-settings { margin: 0 0 14px; border-top: 1px solid #dcdcdc; }
.pf-consent .pf-settings[hidden] { display: none; }
.pf-consent .pf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #dcdcdc;
}
.pf-consent .pf-row-title { display: block; font-weight: 600; }
.pf-consent .pf-row-desc { display: block; font-size: 13px; color: #686868; }

/* eigener Schalter statt Systemkaestchen */
.pf-consent .pf-switch {
  flex: 0 0 auto;
  position: relative;
  width: 48px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: #a3a3a3;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.pf-consent .pf-switch .pf-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}
.pf-consent .pf-switch[aria-checked="true"] { background: #ff7e00; }
.pf-consent .pf-switch[aria-checked="true"] .pf-knob { transform: translateX(22px); }
.pf-consent .pf-switch[disabled] { opacity: 0.55; cursor: not-allowed; }
.pf-consent .pf-switch:focus-visible { outline: 2px solid #3c3c3b; outline-offset: 2px; }

.pf-consent .pf-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Buttons, auch fuer den Karten-Platzhalter */
.pf-btn {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.2;
  padding: 10px 18px;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
}
.pf-btn-primary,
.pf-consent .pf-btn-primary {
  flex: 1 1 160px;
  background: #ff7e00;
  border: 1px solid #ff7e00;
  color: #fff;
  font-weight: 600;
}
.pf-btn-primary:hover { background: #ed7a09; border-color: #ed7a09; }
.pf-consent .pf-btn-link {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid transparent;
  color: #3c3c3b;
  text-decoration: underline;
  padding-left: 6px;
  padding-right: 6px;
}
.pf-btn:focus-visible { outline: 2px solid #3c3c3b; outline-offset: 2px; }

/* Karten-Platzhalter */
#googleMap.pf-map-blocked { min-height: 320px; background: #575756; position: relative; }
.pf-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}
.pf-map-placeholder p { margin: 0; max-width: 420px; }
.pf-map-placeholder a { color: #fff; text-decoration: underline; }
.pf-map-placeholder .pf-btn-primary { flex: 0 0 auto; }

@media (max-width: 480px) {
  .pf-consent { left: 8px; right: 8px; bottom: 8px; }
  .pf-consent .pf-box { padding: 16px; font-size: 14px; }
  .pf-consent .pf-btn-primary { flex-basis: 100%; }
}
