/* Vollmer Cookie-Einwilligung – Styles für Banner, Video-Hinweis und Cookie-Tabelle */

.vc-banner,
.vc-overlay {
  --vc-blue: var(--vollmer-blau, #005091);
  --vc-blue-dark: #003d6e;
  --vc-text: #1d2939;
  --vc-muted: #475467;
  --vc-border: #d0d5dd;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--vc-text);
  box-sizing: border-box;
}

.vc-banner *,
.vc-overlay * {
  box-sizing: border-box;
}

.vc-banner[hidden],
.vc-overlay[hidden],
.vc-banner [hidden],
.vc-overlay [hidden] {
  display: none !important;
}

.vc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.vc-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(16, 24, 40, 0.6);
}

.vc-card {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  padding: 24px;
  background: #fff;
  box-shadow: 0 20px 24px -4px rgba(16, 24, 40, 0.12), 0 8px 8px -4px rgba(16, 24, 40, 0.06);
}

/* Text und Optionen scrollen, die Buttons bleiben immer sichtbar. */
.vc-body {
  min-height: 0;
  overflow-y: auto;
}

.vc-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.vc-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--vc-muted);
}

.vc-text a {
  color: var(--vc-blue);
  text-decoration: underline;
}

.vc-options {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.vc-option {
  display: flex;
  margin: 0;
  font-weight: 400;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--vc-border);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
}

.vc-option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--vc-blue);
  cursor: pointer;
}

.vc-option input:disabled {
  cursor: not-allowed;
}

.vc-option strong {
  display: block;
  color: var(--vc-text);
}

.vc-option span span {
  color: var(--vc-muted);
}

.vc-actions {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.vc-btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--vc-blue);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

/* „Nur notwendige“ und „Alle akzeptieren“ sind bewusst identisch gestaltet. */
.vc-btn-primary {
  background-color: var(--vc-blue, #005091);
  color: #fff;
}

.vc-btn-primary:hover {
  background-color: var(--vc-blue-dark, #003d6e);
}

.vc-btn-secondary {
  background-color: #fff;
  color: var(--vc-blue, #005091);
}

.vc-btn-secondary:hover {
  background-color: #f2f6fa;
}

.vc-option input:focus-visible,
.vc-text a:focus-visible {
  outline: 3px solid #f79009;
  outline-offset: 2px;
}

@media (max-width: 479px) {
  .vc-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .vc-card {
    padding: 18px;
    max-height: 75vh;
  }

  .vc-title {
    font-size: 16px;
  }

  .vc-text {
    font-size: 13px;
  }

  .vc-btn {
    flex-basis: 100%;
  }
}

/* Footer: mit dem zusätzlichen Link „Cookie-Einstellungen“ zweispaltig auf schmalen Bildschirmen */
@media (max-width: 479px) {
  .uui-footer03_legal-list {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, max-content);
    grid-row-gap: 0.5rem;
  }
}

/* Cookie-Seite */
.vc-cookie-policy .vc-btn {
  flex: none;
  --vc-blue: var(--vollmer-blau, #005091);
}

.vc-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
}

.vc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}

.vc-table th,
.vc-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eaecf0;
  text-align: left;
  vertical-align: top;
}

.vc-table th {
  background: #f9fafb;
  font-weight: 600;
  white-space: nowrap;
}

.vc-table td:first-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}
