/* Consent-Manager – Farben nach CI Gerold Jensen (Akzent #df694d) */
.gjc-root { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: flex-start; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
.gjc-root.gjc-open { opacity: 1; visibility: visible; transition: opacity .28s ease; }
.gjc-backdrop { position: absolute; inset: 0; background: rgba(33, 41, 52, .6); }
.gjc-dialog { position: relative; background: #fff; color: #4a4e57; max-width: 640px; width: calc(100% - 32px); margin-top: 6vh; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.35); font-size: 14px; line-height: 1.55; display: flex; flex-direction: column; max-height: 86vh; opacity: 0; transform: translateY(-14px) scale(.98); transition: opacity .3s ease, transform .32s cubic-bezier(.16, .84, .44, 1); }
.gjc-root.gjc-open .gjc-dialog { opacity: 1; transform: none; }
.gjc-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px 12px; border-bottom: 1px solid #e5e4e3; }
.gjc-head h2 { margin: 0; font-size: 18px; color: #212934; }
.gjc-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #8b8f96; padding: 0 2px; }
.gjc-close:hover { color: #212934; }
.gjc-body { padding: 14px 24px; overflow-y: auto; }
.gjc-legal p, .gjc-desc { margin: 0 0 10px; }
.gjc-legal a, .gjc-links a, .gjc-service-info a { color: #df694d; text-decoration: none; }
.gjc-legal a:hover, .gjc-links a:hover, .gjc-service-info a:hover, .gjc-toggle-info:hover { color: #dd5c3b; text-decoration: underline; }
.gjc-groups { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; padding: 12px 24px 4px; border-top: 1px solid #e5e4e3; }
.gjc-group { display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 600; color: #212934; }
.gjc-group input { accent-color: #df694d; width: 17px; height: 17px; }
.gjc-actions { display: flex; flex-direction: column; gap: 8px; padding: 14px 24px 8px; }
.gjc-btn { display: inline-block; border: 0; border-radius: 4px; padding: 11px 18px; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; }
.gjc-btn-primary { background: #df694d; color: #fff; }
.gjc-btn-primary:hover { background: #dd5c3b; }
.gjc-btn-secondary { background: #f2f3f5; color: #4a4e57; }
.gjc-btn-secondary:hover { background: #e5e4e3; }
/* Im Consent-Dialog sind alle Auswahl-Buttons gleichwertig (kein Nudging) */
.gjc-dialog .gjc-btn-primary, .gjc-dialog .gjc-btn-secondary { background: #f2f3f5; color: #212934; border: 1px solid #cfd2d6; }
.gjc-dialog .gjc-btn-primary:hover, .gjc-dialog .gjc-btn-secondary:hover { background: #e5e4e3; }
.gjc-btn-link { background: none; color: #df694d; padding: 8px 6px; }
.gjc-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding: 6px 24px 16px; font-size: 12.5px; }
/* Detailansicht */
.gjc-group-section { border-top: 1px solid #e5e4e3; padding: 14px 0 6px; }
.gjc-group-head { display: flex; gap: 14px; align-items: flex-start; }
.gjc-group-head h3 { margin: 0 0 4px; font-size: 15px; color: #212934; }
.gjc-group-head p { margin: 0 0 8px; color: #6f737a; }
.gjc-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: 0 0 auto; margin-top: 2px; }
.gjc-switch input { opacity: 0; width: 0; height: 0; }
.gjc-slider { position: absolute; inset: 0; background: #cfd2d6; border-radius: 24px; transition: .2s; cursor: pointer; }
.gjc-slider:before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.gjc-switch input:checked + .gjc-slider { background: #df694d; }
.gjc-switch input:checked + .gjc-slider:before { transform: translateX(20px); }
.gjc-switch input:disabled + .gjc-slider { opacity: .55; cursor: default; }
.gjc-service-list { margin: 4px 0 8px 58px; }
.gjc-service { border-bottom: 1px dashed #e5e4e3; padding: 7px 0; }
.gjc-service:last-child { border-bottom: 0; }
.gjc-service-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gjc-service-name { font-weight: 600; color: #212934; }
.gjc-toggle-info { font-size: 12.5px; color: #df694d; text-decoration: none; white-space: nowrap; }
.gjc-service-info { margin-top: 8px; }
.gjc-info-table, .gjc-cookie-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 0 0 10px; }
.gjc-info-table th { text-align: left; vertical-align: top; padding: 5px 10px 5px 0; width: 34%; color: #6f737a; font-weight: 600; }
.gjc-info-table td { padding: 5px 0; word-break: break-word; }
.gjc-cookie-table th, .gjc-cookie-table td { border: 1px solid #e5e4e3; padding: 5px 8px; text-align: left; vertical-align: top; }
.gjc-cookie-table th { background: #f7f8f9; }
/* Platzhalter für blockierte Inhalte */
.gjc-blocked { background: #f2f3f5; border: 1px solid #e5e4e3; border-radius: 8px; padding: 22px 24px; margin: 12px 0; text-align: center; font-size: 14px; color: #4a4e57; }
.gjc-blocked-info { margin: 0 0 12px; }
.gjc-blocked-details { text-align: left; background: #fff; border-radius: 6px; padding: 12px 16px; margin: 0 0 12px; }
.gjc-blocked-details p { margin: 0 0 8px; }
.gjc-hint { font-size: 12.5px; color: #6f737a; }
.gjc-blocked-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
/* Widget-Button */
.gjc-widget { position: fixed; left: 16px; bottom: 16px; z-index: 999998; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #df694d; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s ease, transform .3s cubic-bezier(.16, .84, .44, 1), background .15s ease; }
.gjc-widget.gjc-in { opacity: 1; transform: none; }
.gjc-widget:hover { background: #dd5c3b; }
@media (min-width: 640px) {
  .gjc-actions { flex-direction: row; justify-content: center; }
}
@media (max-width: 480px) {
  .gjc-dialog { margin-top: 2vh; max-height: 92vh; }
  .gjc-service-list { margin-left: 0; }
}
/* Nutzer mit reduzierter Bewegung: sofort ein-/ausblenden ohne Animation */
@media (prefers-reduced-motion: reduce) {
  .gjc-root, .gjc-dialog, .gjc-widget { transition: opacity .001s linear !important; transform: none !important; }
}
