/* KRAFT Consent banner - bottom sheet, never a full-screen wall: the page stays usable behind it.
   Colours from kraft-rohbau.de (header navy #050e1c, white). Both decision buttons share one style
   on purpose (TDDDG § 25 / DSK: rejecting must be as easy and as visible as accepting).
   Site design rules: no one-side accent borders; neutral 1px dividers only.

   ⚠️ Every selector starts with #kraft-consent and every visual property is set explicitly: the site's
   Elementor kit styles ALL buttons (".elementor-kit-48 button": dark fill, red JetBrains Mono capitals)
   and Hello Elementor resets buttons/links/paragraphs - a plain ".kcc__btn" selector loses to those
   (seen in the 2026-11-04 test on the real pages).
   ⚠️ The site's accessibility widget (Ally, #ea11y-root, a 44 px button fixed 24 px from the bottom-right,
   z-index 2147483645) sits ABOVE this banner; .kcc--ally keeps the banner's buttons out of its way. */
#kraft-consent{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:2147483000;margin:0;padding:0;background:#050e1c;color:#e9ecf1;
  font-family:"Inter Tight",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:13.5px;font-weight:400;line-height:1.45;
  box-shadow:0 -6px 24px rgba(0,0,0,.35);border:0;border-radius:0;max-height:88vh;overflow-y:auto;-webkit-font-smoothing:antialiased;
  text-align:left;letter-spacing:normal;text-transform:none;width:auto;max-width:none}
#kraft-consent *,#kraft-consent *::before,#kraft-consent *::after{box-sizing:border-box}
#kraft-consent:focus{outline:none}
#kraft-consent .kcc__inner{max-width:1120px;margin:0 auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}
#kraft-consent .kcc__text{margin:0;padding:0;font-family:inherit;font-size:13px;line-height:1.42;font-weight:400;color:#e9ecf1;letter-spacing:normal;text-transform:none}
#kraft-consent .kcc__title{color:#fff;font-weight:600;font-size:inherit}
#kraft-consent a{color:#fff;background:none;text-decoration:underline;text-underline-offset:2px;font:inherit;letter-spacing:normal;text-transform:none}
#kraft-consent a:hover,#kraft-consent a:focus-visible{color:#ffd0d5}
#kraft-consent .kcc__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 0;padding:0}
#kraft-consent .kcc__btn{-webkit-appearance:none;appearance:none;display:block;margin:0;width:100%;height:auto;min-height:44px;padding:10px 12px;
  border:1px solid #fff;border-radius:4px;background:#fff;background-image:none;color:#050e1c;box-shadow:none;text-shadow:none;
  font-family:"Inter Tight",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.2;
  letter-spacing:normal;text-transform:none;text-align:center;white-space:normal;cursor:pointer;transition:background-color .15s,border-color .15s;-webkit-user-select:none;user-select:none}
#kraft-consent .kcc__btn:hover,#kraft-consent .kcc__btn:focus{background:#e9ecf1;border-color:#e9ecf1;color:#050e1c}
#kraft-consent .kcc__btn:focus-visible,#kraft-consent .kcc__more:focus-visible,#kraft-consent .kcc__switch:focus-visible,#kraft-consent a:focus-visible{outline:2px solid #ffd0d5;outline-offset:2px}
#kraft-consent [hidden]{display:none}
#kraft-consent .kcc__more{-webkit-appearance:none;appearance:none;display:inline;margin:0;padding:0;width:auto;min-height:0;height:auto;border:0;border-radius:0;
  background:none;color:#fff;box-shadow:none;font-family:inherit;font-size:inherit;font-weight:400;line-height:inherit;letter-spacing:normal;text-transform:none;
  text-align:left;text-decoration:underline;text-underline-offset:2px;cursor:pointer;transition:none}
#kraft-consent .kcc__more:hover,#kraft-consent .kcc__more:focus{background:none;color:#ffd0d5}
#kraft-consent .kcc__prefs{margin:10px 0 0;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:6px}
#kraft-consent .kcc__pref{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;margin:0;cursor:pointer;font-weight:400;color:#e9ecf1}
#kraft-consent .kcc__pref + .kcc__pref{border-top:1px solid rgba(255,255,255,.12)}
#kraft-consent .kcc__pref div{display:flex;flex-direction:column;gap:2px;min-width:0}
#kraft-consent .kcc__pref strong{color:#fff;font-weight:600;font-size:14px;line-height:1.3}
#kraft-consent .kcc__pref span{color:#c9ced8;font-size:12.5px;line-height:1.4}
#kraft-consent .kcc__always{flex:none;font-size:12px;color:#c9ced8;white-space:nowrap}
#kraft-consent .kcc__switch{-webkit-appearance:none;appearance:none;flex:none;position:relative;display:inline-block;width:46px;height:26px;min-height:0;margin:0;padding:0;
  border-radius:13px;background:#3a4556;border:1px solid rgba(255,255,255,.25);box-shadow:none;cursor:pointer;transition:background .15s;vertical-align:middle}
#kraft-consent .kcc__switch::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s}
#kraft-consent .kcc__switch:checked{background:#1f8f4e;border-color:#1f8f4e}
#kraft-consent .kcc__switch:checked::after{transform:translateX(20px)}
#kraft-consent.kcc--prefs .kcc__actions{grid-template-columns:1fr}
#kraft-consent.kcc--ally .kcc__actions{margin-right:56px}
@media (min-width:520px){#kraft-consent.kcc--prefs .kcc__actions{grid-template-columns:1fr 1fr 1fr}}
@media (min-width:860px){
  #kraft-consent{left:16px;right:16px;bottom:16px;border:1px solid rgba(255,255,255,.14);border-radius:8px;max-width:1120px;margin:0 auto}
  #kraft-consent.kcc--ally{right:84px}
  #kraft-consent.kcc--ally .kcc__actions{margin-right:0}
  #kraft-consent .kcc__inner{display:grid;grid-template-columns:1fr auto;grid-template-areas:"main actions" "prefs prefs";column-gap:24px;align-items:center;padding:14px 18px}
  #kraft-consent .kcc__main{grid-area:main}
  #kraft-consent .kcc__actions{grid-area:actions;margin-top:0;grid-template-columns:repeat(2,minmax(150px,1fr))}
  #kraft-consent .kcc__prefs{grid-area:prefs}
  #kraft-consent.kcc--prefs .kcc__inner{grid-template-areas:"main main" "prefs prefs" "actions actions"}
  #kraft-consent.kcc--prefs .kcc__actions{margin-top:10px;grid-template-columns:repeat(3,minmax(160px,1fr));justify-content:end}
}
@media (prefers-reduced-motion:reduce){#kraft-consent .kcc__switch,#kraft-consent .kcc__switch::after,#kraft-consent .kcc__btn{transition:none}}
@media print{#kraft-consent{display:none}}
