/* DrivePlace Consent Banner */
.dp-cookie-banner{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:99999;width:min(720px,calc(100% - 28px));background:linear-gradient(180deg,#eef5ff 0%,#dfeeff 100%);color:#0f172a;border:1px solid rgba(37,99,235,.28);box-shadow:0 24px 70px rgba(15,23,42,.24);border-radius:22px;padding:18px;display:none;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
.dp-cookie-banner.is-visible{display:block}
.dp-cookie-banner h3{margin:0 0 8px;font-size:18px;line-height:1.2}
.dp-cookie-banner p{margin:0;color:#526174;font-size:14px;line-height:1.5}
.dp-cookie-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.dp-cookie-btn{border:0;border-radius:14px;padding:11px 15px;font-weight:900;cursor:pointer;font-size:14px}
.dp-cookie-btn.primary{background:#2f65ea;color:#fff}
.dp-cookie-btn.secondary{background:#eef4ff;color:#1d4ed8;border:1px solid rgba(37,99,235,.18)}
.dp-cookie-btn.ghost{background:#f8fafc;color:#334155;border:1px solid #dbe4f0}
.dp-cookie-settings{display:none;margin-top:14px;border-top:1px solid #e6edf7;padding-top:14px}
.dp-cookie-settings.is-open{display:block}
.dp-cookie-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf2f7}
.dp-cookie-row:last-child{border-bottom:0}
.dp-cookie-row strong{display:block;font-size:14px;margin-bottom:4px}
.dp-cookie-row span{display:block;font-size:13px;color:#64748b;line-height:1.45}
.dp-cookie-toggle{min-width:48px;height:28px;border-radius:999px;border:1px solid #cbd5e1;background:#e2e8f0;position:relative;cursor:pointer}
.dp-cookie-toggle:before{content:"";position:absolute;width:22px;height:22px;border-radius:999px;background:#fff;left:3px;top:2px;box-shadow:0 2px 8px rgba(15,23,42,.18);transition:.18s ease}
.dp-cookie-toggle.is-on{background:#2f65ea;border-color:#2f65ea}
.dp-cookie-toggle.is-on:before{left:21px}
.dp-cookie-toggle.is-disabled{opacity:.65;cursor:not-allowed}
.dp-cookie-mini-link{position:relative;left:auto;bottom:auto;z-index:1;border:0;background:transparent;color:#526174;border-radius:0;padding:0;font-size:inherit;font-weight:inherit;cursor:pointer;display:none;margin:0;font-family:inherit;text-decoration:none}
.dp-cookie-mini-link.is-visible{display:inline}
body.dark .dp-cookie-banner,.dealer-page-dark .dp-cookie-banner{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:99999;width:min(720px,calc(100% - 28px));background:linear-gradient(180deg,#eef5ff 0%,#dfeeff 100%);color:#0f172a;border:1px solid rgba(37,99,235,.28);box-shadow:0 24px 70px rgba(15,23,42,.24);border-radius:22px;padding:18px;display:none;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
body.dark .dp-cookie-banner p,.dealer-page-dark .dp-cookie-banner p{color:#aeb9c6}
body.dark .dp-cookie-settings,.dealer-page-dark .dp-cookie-settings{border-top-color:rgba(255,255,255,.08)}
body.dark .dp-cookie-row,.dealer-page-dark .dp-cookie-row{border-bottom-color:rgba(255,255,255,.08)}
body.dark .dp-cookie-row span,.dealer-page-dark .dp-cookie-row span{color:#aeb9c6}
body.dark .dp-cookie-btn.ghost,.dealer-page-dark .dp-cookie-btn.ghost{background:#202730;color:#e5edf7;border-color:rgba(255,255,255,.1)}
body.dark .dp-cookie-btn.secondary,.dealer-page-dark .dp-cookie-btn.secondary{background:#1d2d4f;color:#cfe0ff;border-color:rgba(96,165,250,.22)}
.dp-cookie-banner{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:99999;width:min(720px,calc(100% - 28px));background:linear-gradient(180deg,#eef5ff 0%,#dfeeff 100%);color:#0f172a;border:1px solid rgba(37,99,235,.28);box-shadow:0 24px 70px rgba(15,23,42,.24);border-radius:22px;padding:18px;display:none;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
.dp-cookie-banner h3{color:#0f172a}
.dp-cookie-actions .primary{background:linear-gradient(180deg,#2563eb 0%,#1d4ed8 100%)}
.dp-cookie-actions .secondary{background:#eef4ff}
body.dark .dp-cookie-banner,.dealer-page-dark .dp-cookie-banner{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:99999;width:min(720px,calc(100% - 28px));background:linear-gradient(180deg,#eef5ff 0%,#dfeeff 100%);color:#0f172a;border:1px solid rgba(37,99,235,.28);box-shadow:0 24px 70px rgba(15,23,42,.24);border-radius:22px;padding:18px;display:none;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
@media(max-width:640px){.dp-cookie-banner{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:99999;width:min(720px,calc(100% - 28px));background:linear-gradient(180deg,#eef5ff 0%,#dfeeff 100%);color:#0f172a;border:1px solid rgba(37,99,235,.28);box-shadow:0 24px 70px rgba(15,23,42,.24);border-radius:22px;padding:18px;display:none;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}.dp-cookie-actions{display:grid;grid-template-columns:1fr}.dp-cookie-btn{width:100%}.dp-cookie-row{display:grid}.dp-cookie-mini-link{position:relative;left:auto;bottom:auto;z-index:1;border:0;background:transparent;color:#526174;border-radius:0;padding:0;font-size:inherit;font-weight:inherit;cursor:pointer;display:none;margin:0;font-family:inherit;text-decoration:none}}

.footer .dp-cookie-mini-link:hover{color:#2563eb;text-decoration:underline}

.footer.wrap{display:flex;align-items:center;gap:12px}
.footer-left{display:flex;align-items:center;gap:10px}
.footer .dp-cookie-mini-link{margin-left:auto}
@media(max-width:640px){.footer.wrap{align-items:flex-start;flex-direction:column}.footer .dp-cookie-mini-link{margin-left:0}}

/* Phase 408_A K6 · New-design cookie surface convergence. Legacy/Master remain untouched. */
body.dp408-new-design .dp-cookie-banner{
  background:#1b1f25!important;
  color:#f4f5f7!important;
  border:1px solid #3a414c!important;
  box-shadow:0 22px 60px rgba(0,0,0,.38)!important;
  border-radius:5px!important;
  padding:18px 20px!important;
}
body.dp408-new-design .dp-cookie-banner h3{color:#f4f5f7!important;}
body.dp408-new-design .dp-cookie-banner p,
body.dp408-new-design .dp-cookie-row span{color:#aeb6c2!important;}
body.dp408-new-design .dp-cookie-settings{border-top-color:#343b45!important;}
body.dp408-new-design .dp-cookie-row{border-bottom-color:#343b45!important;}
body.dp408-new-design .dp-cookie-btn{
  border-radius:3px!important;
  box-shadow:none!important;
}
body.dp408-new-design .dp-cookie-btn.primary{background:#2f65ea!important;color:#fff!important;}
body.dp408-new-design .dp-cookie-btn.secondary{
  background:#202b42!important;color:#dce8ff!important;border:1px solid #3b527c!important;
}
body.dp408-new-design .dp-cookie-btn.ghost{
  background:#20252c!important;color:#e7ebf1!important;border:1px solid #3a414c!important;
}
body.dp408-new-design .dp-cookie-toggle{background:#252b33!important;border-color:#444e5b!important;}
body.dp408-new-design .dp-cookie-toggle.is-on{background:#2f65ea!important;border-color:#2f65ea!important;}

/* Phase 408_A K7 · final Graphit cookie convergence for new user design. */
body.dp408-new-design .dp-cookie-banner{
  width:min(690px,calc(100% - 32px))!important;background:#1b1f25!important;color:#f4f5f7!important;
  border:1px solid #3a414c!important;border-radius:4px!important;box-shadow:0 22px 60px rgba(0,0,0,.42)!important;
  padding:19px 20px!important;
}
body.dp408-new-design .dp-cookie-banner h3{font-size:18px!important;color:#fff!important;margin:0 0 7px!important;}
body.dp408-new-design .dp-cookie-banner p{color:#adb6c2!important;}
body.dp408-new-design .dp-cookie-actions{gap:8px!important;margin-top:15px!important;}
body.dp408-new-design .dp-cookie-btn{min-height:40px!important;padding:9px 13px!important;border-radius:3px!important;font-weight:800!important;}
body.dp408-new-design .dp-cookie-btn.primary{background:#2f65ea!important;border:1px solid #2f65ea!important;color:#fff!important;}
body.dp408-new-design .dp-cookie-btn.secondary{background:#202b42!important;border:1px solid #3b527c!important;color:#bfd0ff!important;}
body.dp408-new-design .dp-cookie-btn.ghost{background:#20252c!important;border:1px solid #3a414c!important;color:#e7ebf1!important;}
body.dp408-new-design .dp-cookie-row{border-color:#343b45!important;}
body.dp408-new-design .dp-cookie-toggle{border-radius:999px!important;background:#252b33!important;border-color:#444e5b!important;}
body.dp408-new-design .dp-cookie-toggle.is-on{background:#2f65ea!important;border-color:#2f65ea!important;}
body.dp408-new-design .dp-cookie-mini-link{color:#aeb6c2!important;}
body.dp408-new-design .dp-cookie-mini-link:hover{color:#6f92ff!important;}

/* Phase 408_A K9 · Graphit cookie surface, aligned with the two-blue DrivePlace palette. */
body.dp408-new-design .dp-cookie-banner{
  width:min(720px,calc(100% - 32px))!important;
  background:#171b20!important;
  color:#f4f5f7!important;
  border:1px solid #333a45!important;
  border-radius:3px!important;
  box-shadow:0 22px 64px rgba(0,0,0,.46)!important;
  padding:20px 22px!important;
}
body.dp408-new-design .dp-cookie-banner h3{font-size:19px!important;margin:0 0 7px!important;color:#fff!important;letter-spacing:-.015em!important;}
body.dp408-new-design .dp-cookie-banner p{color:#aeb6c2!important;line-height:1.55!important;}
body.dp408-new-design .dp-cookie-actions{gap:9px!important;margin-top:17px!important;}
body.dp408-new-design .dp-cookie-btn{min-height:42px!important;padding:10px 14px!important;border-radius:3px!important;font-weight:800!important;}
body.dp408-new-design .dp-cookie-btn.primary{background:#2f65ea!important;border:1px solid #2f65ea!important;color:#fff!important;}
body.dp408-new-design .dp-cookie-btn.primary:hover{background:#8fb1ff!important;border-color:#8fb1ff!important;color:#111316!important;}
body.dp408-new-design .dp-cookie-btn.secondary{background:#1b1f25!important;border:1px solid #465366!important;color:#8fb1ff!important;}
body.dp408-new-design .dp-cookie-btn.secondary:hover{border-color:#8fb1ff!important;color:#fff!important;}
body.dp408-new-design .dp-cookie-btn.ghost{background:transparent!important;border:1px solid #3a414c!important;color:#dfe4eb!important;}
body.dp408-new-design .dp-cookie-settings{border-top-color:#333a45!important;padding-top:15px!important;}
body.dp408-new-design .dp-cookie-row{border-bottom-color:#30363f!important;}
body.dp408-new-design .dp-cookie-row span{color:#9fa9b6!important;}
body.dp408-new-design .dp-cookie-toggle{background:#252b33!important;border-color:#444e5b!important;}
body.dp408-new-design .dp-cookie-toggle.is-on{background:#2f65ea!important;border-color:#2f65ea!important;}
body.dp408-new-design .dp-cookie-mini-link{color:#aeb6c2!important;}
body.dp408-new-design .dp-cookie-mini-link:hover{color:#8fb1ff!important;}
@media(max-width:640px){body.dp408-new-design .dp-cookie-banner{bottom:14px!important;width:calc(100% - 20px)!important;padding:18px!important;}}

/* Phase 408_A K11 · canonical Graphit cookie delivery marker.
   The live fix is cache-busted loading from templates/header.php; consent behavior is unchanged. */
body.dp408-new-design .dp-cookie-banner{background:#171b20!important;color:#f4f5f7!important;border-color:#333a45!important;border-radius:3px!important;}
body.dp408-new-design .dp-cookie-btn.primary{background:#2f65ea!important;border-color:#2f65ea!important;color:#fff!important;}
body.dp408-new-design .dp-cookie-btn.secondary{color:#8fb1ff!important;}



/* Phase 408_A K20 Korrektur 3 · Dealer consent surface convergence.
   Dealer Dark/Light/legal use the same current Graphit consent surface as DrivePlace. */
body.dealer-site-408 .dp-cookie-banner,
body.dealer-legal-408 .dp-cookie-banner{
  width:min(720px,calc(100% - 32px))!important;
  background:#171b20!important;
  color:#f4f5f7!important;
  border:1px solid #333a45!important;
  border-radius:3px!important;
  box-shadow:0 22px 64px rgba(0,0,0,.46)!important;
  padding:20px 22px!important;
  font-family:Arial,Helvetica,sans-serif!important;
}
body.dealer-site-408 .dp-cookie-banner.is-visible,
body.dealer-legal-408 .dp-cookie-banner.is-visible{
  display:block!important;
}
body.dealer-site-408 .dp-cookie-banner h3,
body.dealer-legal-408 .dp-cookie-banner h3{
  margin:0 0 7px!important;
  color:#fff!important;
  font-size:19px!important;
  letter-spacing:-.015em!important;
}
body.dealer-site-408 .dp-cookie-banner p,
body.dealer-legal-408 .dp-cookie-banner p,
body.dealer-site-408 .dp-cookie-row span,
body.dealer-legal-408 .dp-cookie-row span{color:#aeb6c2!important}
body.dealer-site-408 .dp-cookie-settings,
body.dealer-legal-408 .dp-cookie-settings{border-top-color:#333a45!important;padding-top:15px!important}
body.dealer-site-408 .dp-cookie-row,
body.dealer-legal-408 .dp-cookie-row{border-bottom-color:#30363f!important}
body.dealer-site-408 .dp-cookie-btn,
body.dealer-legal-408 .dp-cookie-btn{
  min-height:42px!important;
  padding:10px 14px!important;
  border-radius:3px!important;
  font-weight:800!important;
}
body.dealer-site-408 .dp-cookie-btn.primary,
body.dealer-legal-408 .dp-cookie-btn.primary{background:#2f65ea!important;border:1px solid #2f65ea!important;color:#fff!important}
body.dealer-site-408 .dp-cookie-btn.secondary,
body.dealer-legal-408 .dp-cookie-btn.secondary{background:#1b1f25!important;border:1px solid #465366!important;color:#8fb1ff!important}
body.dealer-site-408 .dp-cookie-btn.ghost,
body.dealer-legal-408 .dp-cookie-btn.ghost{background:transparent!important;border:1px solid #3a414c!important;color:#dfe4eb!important}
body.dealer-site-408 .dp-cookie-toggle,
body.dealer-legal-408 .dp-cookie-toggle{background:#252b33!important;border-color:#444e5b!important}
body.dealer-site-408 .dp-cookie-toggle.is-on,
body.dealer-legal-408 .dp-cookie-toggle.is-on{background:#2f65ea!important;border-color:#2f65ea!important}
