/* Reisebüro Weiche – Consent Manager (CI-Anpassung)
   Basis: bewährtes CMP aus Dr. Achenbach / Automobile Höcht.
   Akzent Terrakotta #cc6b45, Schrift Inter, Flächen Creme. */
.cmp-root { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: flex-start; justify-content: center; opacity: 0; transition: opacity .28s ease; }
.cmp-root:not(.cmp-visible) { pointer-events: none; }
.cmp-root.cmp-visible { opacity: 1; }
.cmp-dialog { transform: translateY(-16px); transition: transform .32s cubic-bezier(.16,.84,.44,1); }
.cmp-root.cmp-visible .cmp-dialog { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .cmp-root, .cmp-dialog { transition: none; } }
.cmp-backdrop { position: absolute; inset: 0; background: rgba(35, 32, 27, .6); }
.cmp-dialog { position: relative; background: #fcf8f1; color: #6e655a; max-width: 640px; width: calc(100% - 32px); margin-top: 6vh; border-radius: 14px; box-shadow: 0 20px 56px rgba(35,32,27,.35); font-family: 'Inter', -apple-system, Arial, sans-serif; font-size: 14px; line-height: 1.55; display: flex; flex-direction: column; max-height: 86vh; }
.cmp-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px 14px; border-bottom: 1px solid #e6ddcd; }
.cmp-head h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 22px; color: #23201b; letter-spacing: -0.2px; }
.cmp-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #a79e90; padding: 0 2px; }
.cmp-close:hover { color: #23201b; }
.cmp-body { padding: 16px 26px; overflow-y: auto; }
.cmp-legal p, .cmp-desc { margin: 0 0 10px; }
.cmp-legal a, .cmp-links a, .cmp-service-info a { color: #b85c38; text-decoration: none; }
.cmp-legal a:hover, .cmp-links a:hover, .cmp-service-info a:hover, .cmp-toggle-info:hover { color: #a04e2e; text-decoration: underline; }
.cmp-groups { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; padding: 14px 26px 4px; border-top: 1px solid #e6ddcd; }
.cmp-group { display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 600; color: #23201b; }
.cmp-group input { accent-color: #cc6b45; width: 17px; height: 17px; }
.cmp-actions { display: flex; flex-direction: column; gap: 8px; padding: 16px 26px 8px; }
.cmp-btn { display: inline-block; border: 0; border-radius: 100px; padding: 12px 20px; font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.2px; cursor: pointer; text-align: center; transition: background .2s ease, color .2s ease; }
.cmp-btn-primary { background: #cc6b45; color: #fff; }
.cmp-btn-primary:hover { background: #bd5c38; }
.cmp-btn-secondary { background: #efe7d8; color: #6e655a; }
.cmp-btn-secondary:hover { background: #e6ddcd; }
/* Im Consent-Dialog sind alle Auswahl-Buttons gleichwertig (kein Nudging) */
.cmp-dialog .cmp-btn-primary, .cmp-dialog .cmp-btn-secondary { background: #efe7d8; color: #23201b; border: 1px solid #d6cbb7; }
.cmp-dialog .cmp-btn-primary:hover, .cmp-dialog .cmp-btn-secondary:hover { background: #e6ddcd; }
.cmp-btn-link { background: none; color: #b85c38; padding: 8px 6px; }
.cmp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding: 6px 26px 18px; font-size: 12.5px; }
/* Detail-Ansicht */
.cmp-group-section { border-top: 1px solid #e6ddcd; padding: 14px 0 6px; }
.cmp-group-head { display: flex; gap: 14px; align-items: flex-start; }
.cmp-group-head h3 { margin: 0 0 4px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; color: #23201b; }
.cmp-group-head p { margin: 0 0 8px; color: #8c8375; }
.cmp-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: 0 0 auto; margin-top: 2px; }
.cmp-switch input { opacity: 0; width: 0; height: 0; }
.cmp-slider { position: absolute; inset: 0; background: #cfc4b0; border-radius: 24px; transition: .2s; cursor: pointer; }
.cmp-slider:before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.cmp-switch input:checked + .cmp-slider { background: #cc6b45; }
.cmp-switch input:checked + .cmp-slider:before { transform: translateX(20px); }
.cmp-switch input:disabled + .cmp-slider { opacity: .55; cursor: default; }
.cmp-service-list { margin: 4px 0 8px 58px; }
.cmp-service { border-bottom: 1px dashed #e6ddcd; padding: 7px 0; }
.cmp-service:last-child { border-bottom: 0; }
.cmp-service-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cmp-service-name { font-weight: 600; color: #23201b; }
.cmp-toggle-info { font-size: 12.5px; color: #b85c38; text-decoration: none; white-space: nowrap; }
.cmp-service-info { margin-top: 8px; }
.cmp-info-table, .cmp-cookie-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 0 0 10px; }
.cmp-info-table th { text-align: left; vertical-align: top; padding: 5px 10px 5px 0; width: 34%; color: #8c8375; font-weight: 600; }
.cmp-info-table td { padding: 5px 0; word-break: break-word; }
.cmp-cookie-table th, .cmp-cookie-table td { border: 1px solid #e6ddcd; padding: 5px 8px; text-align: left; vertical-align: top; }
.cmp-cookie-table th { background: #f3ecdf; }
/* Platzhalter für geblockte Inhalte */
.cmp-blocked { background: #f3ecdf; border: 1px solid #e6ddcd; border-radius: 10px; padding: 22px 24px; margin: 12px 0; text-align: center; font-family: 'Inter', sans-serif; font-size: 14px; color: #6e655a; }
.cmp-blocked-info { margin: 0 0 12px; }
.cmp-blocked-details { text-align: left; background: #fff; border-radius: 8px; padding: 12px 16px; margin: 0 0 12px; }
.cmp-blocked-details p { margin: 0 0 8px; }
.cmp-hint { font-size: 12.5px; color: #8c8375; }
.cmp-blocked-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
/* Widget-Button */
.cmp-widget { position: fixed; left: 16px; bottom: 16px; z-index: 999998; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #cc6b45; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(35,32,27,.3); transition: background .2s ease; }
.cmp-widget:hover { background: #bd5c38; }
@media (min-width: 640px) {
  .cmp-actions { flex-direction: row; justify-content: center; }
}
@media (max-width: 480px) {
  .cmp-dialog { margin-top: 2vh; max-height: 92vh; }
  .cmp-service-list { margin-left: 0; }
}
