/* SchuhSki Consent Manager */
body.cookie-modal-open{overflow:hidden}

.cookie-banner[hidden],
.cookie-settings[hidden],
.cookie-settings-trigger[hidden],
.consent-embed__placeholder[hidden],
.cookie-option[hidden]{display:none!important}

.cookie-banner{
  position:fixed;
  z-index:5000;
  left:0;
  right:0;
  bottom:0;
  padding:16px;
  background:rgba(20,16,18,.97);
  color:#fff;
  box-shadow:0 -18px 50px rgba(0,0,0,.28);
}
.cookie-banner__inner{
  width:min(1160px,calc(100% - 16px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
}
.cookie-banner__copy strong{display:block;font-size:20px;margin-bottom:5px}
.cookie-banner__copy p{margin:0;color:rgba(255,255,255,.78);font-size:14px;line-height:1.5;max-width:800px}
.cookie-banner__copy a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.cookie-banner__actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}

.cookie-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  background:transparent;
  color:#fff;
  min-height:44px;
  padding:10px 16px;
  font:inherit;
  font-weight:900;
  line-height:1.1;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease;
}
.cookie-btn:hover{border-color:#fff;transform:translateY(-1px)}
.cookie-btn:focus-visible{outline:3px solid rgba(255,255,255,.7);outline-offset:2px}
.cookie-btn--primary{background:var(--red,#d91608);border-color:var(--red,#d91608)}
.cookie-btn--primary:hover{background:var(--red-dark,#ad1108);border-color:var(--red-dark,#ad1108)}
.cookie-btn--light{background:#fff;border-color:#fff;color:#251d20}

.cookie-settings{
  position:fixed;
  z-index:5100;
  inset:0;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(0,0,0,.68);
}
.cookie-settings__panel{
  width:min(650px,100%);
  max-height:min(780px,calc(100vh - 40px));
  overflow:auto;
  background:#fff;
  color:#251d20;
  border-radius:20px;
  box-shadow:0 26px 90px rgba(0,0,0,.34);
  padding:28px;
}
.cookie-settings__head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}
.cookie-settings__head h2{margin:0 0 8px;font-size:clamp(1.7rem,4vw,2.4rem);line-height:1;text-transform:uppercase;letter-spacing:-.04em}
.cookie-settings__head p{margin:0;color:#736b69;font-size:.95rem}
.cookie-settings__close{
  width:42px;height:42px;flex:0 0 42px;border:0;border-radius:999px;background:#f5f2ee;color:#251d20;
  font-size:1.6rem;line-height:1;cursor:pointer
}
.cookie-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 0;border-top:1px solid #e4ded8}
.cookie-option strong{display:block;margin-bottom:4px}
.cookie-option p{margin:0;color:#736b69;font-size:.9rem;line-height:1.45}
.cookie-settings__actions{display:flex;gap:9px;flex-wrap:wrap;padding-top:20px;border-top:1px solid #e4ded8}
.cookie-settings__actions .cookie-btn{border-color:#d8d0ca;color:#251d20}
.cookie-settings__actions .cookie-btn--primary{border-color:var(--red,#d91608);color:#fff}
.cookie-settings__actions .cookie-btn--light{background:#251d20;border-color:#251d20;color:#fff}

.cookie-switch{position:relative;width:50px;height:29px;display:inline-flex;flex:0 0 auto}
.cookie-switch input{position:absolute;opacity:0;pointer-events:none}
.cookie-switch span{position:absolute;inset:0;background:#bbb;border-radius:999px;transition:.2s ease}
.cookie-switch span::after{content:"";position:absolute;width:21px;height:21px;left:4px;top:4px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:.2s ease}
.cookie-switch input:checked + span{background:var(--red,#d91608)}
.cookie-switch input:checked + span::after{transform:translateX(21px)}
.cookie-switch input:disabled + span{opacity:.58}

.cookie-settings-trigger{
  position:fixed;
  z-index:4900;
  left:14px;
  bottom:14px;
  appearance:none;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:#251d20;
  color:#fff;
  padding:9px 13px;
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
}
.cookie-settings-trigger:hover{background:var(--red,#d91608)}

/* Externe Medien werden ohne Einwilligung nicht angefordert. */
.consent-embed{position:relative;overflow:hidden;background:#20191b}
.consent-embed:not(.is-loaded) iframe{display:none!important}
.consent-embed__placeholder{
  position:absolute;
  inset:0;
  z-index:3;
  display:grid;
  place-items:center;
  text-align:center;
  padding:28px;
  background:linear-gradient(135deg,#171315,#2a2023);
  color:#fff;
}
.consent-embed__placeholder > div{max-width:560px}
.consent-embed__placeholder strong{display:block;font-size:clamp(1.15rem,2.2vw,1.5rem);margin-bottom:8px;text-transform:uppercase}
.consent-embed__placeholder p{color:rgba(255,255,255,.74);font-size:14px;line-height:1.5;margin:0 0 16px}
.consent-embed__placeholder small{display:block;color:rgba(255,255,255,.58);margin-top:11px;line-height:1.45}
.consent-embed__placeholder .cookie-btn{display:inline-flex;width:auto}

@media(max-width:760px){
  .cookie-banner{padding:10px}
  .cookie-banner__inner{width:100%;grid-template-columns:1fr;gap:12px}
  .cookie-banner__copy strong{font-size:18px}
  .cookie-banner__copy p{font-size:13px}
  .cookie-banner__actions{justify-content:stretch;display:grid;grid-template-columns:1fr 1fr}
  .cookie-banner__actions .cookie-btn--primary{grid-column:1/-1;grid-row:1}
  .cookie-btn{width:100%;font-size:13px;padding-inline:12px}
  .cookie-settings{padding:9px}
  .cookie-settings__panel{padding:20px;border-radius:16px;max-height:calc(100vh - 18px)}
  .cookie-settings__actions{display:grid;grid-template-columns:1fr}
  .cookie-settings-trigger{left:9px;bottom:9px}
  .consent-embed__placeholder{padding:20px 14px}
}
