
/* Software-Demeter Cookie-Hinweis */
.sd-cookie-banner[hidden] { display: none !important; }

.sd-cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 18, .38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.sd-cookie-card {
  width: min(960px, 100%);
  background: #fffdfb;
  color: #181818;
  border: 1px solid #eadcc9;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  padding: 24px 26px;
}

.sd-cookie-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.sd-cookie-kicker {
  display: inline-block;
  margin-bottom: 7px;
  color: #9f3e43;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sd-cookie-card h2 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.2;
}

.sd-cookie-card p {
  margin: 0;
  color: #56595d;
  font-size: 14px;
  line-height: 1.6;
}

.sd-cookie-card a {
  color: #8f363b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sd-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 315px;
}

.sd-cookie-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.sd-cookie-btn:hover { transform: translateY(-1px); }

.sd-cookie-btn--primary {
  background: #9f3e43;
  color: #fff;
}

.sd-cookie-btn--secondary {
  background: #f2e8dc;
  color: #2a2523;
  border: 1px solid #dfcdb8;
}

.sd-cookie-settings-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
}

.sd-cookie-footer-link {
  cursor: pointer;
}

@media (max-width: 760px) {
  .sd-cookie-banner {
    padding: 12px;
    align-items: flex-end;
  }

  .sd-cookie-card {
    border-radius: 15px;
    padding: 20px;
  }

  .sd-cookie-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sd-cookie-actions {
    min-width: 0;
    width: 100%;
    justify-content: stretch;
  }

  .sd-cookie-btn {
    flex: 1 1 100%;
    width: 100%;
  }
}
