/*
 * ╔══════════════════════════════════════════════════════════════════════════════════════════╗
 * ║                                                                                          ║
 * ║  ████████╗██╗  ██╗███████╗████████╗ █████╗ ██████╗ ██╗   ██╗ ██████╗                   ║
 * ║     ██╔══╝██║  ██║██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██║   ██║██╔════╝                   ║
 * ║     ██║   ███████║█████╗     ██║   ███████║██████╔╝██║   ██║██║  ███╗                  ║
 * ║     ██║   ██╔══██║██╔══╝    ██║   ██╔══██║██╔══██╗██║   ██║██║   ██║                   ║
 * ║     ██║   ██║  ██║███████╗  ██║   ██║  ██║██████╔╝╚██████╔╝╚██████╔╝                   ║
 * ║     ╚═╝   ╚═╝  ╚═╝╚══════╝  ╚═╝   ╚═╝  ╚═╝╚═════╝  ╚═════╝  ╚═════╝                    ║
 * ║                                                                                          ║
 * ║                                      🐛  v1.8.23                                         ║
 * ║                                                                                          ║
 * ║                        CSS crafted with love, one bug at a time.                         ║
 * ║                                                                                           ║
 * ║                                                                                          ║
 * ╠══════════════════════════════════════════════════════════════════════════════════════════╣
 * ║                                                                                          ║
 * ║  © 2025 THETABUG WHITEHAT HACKER HARTHA — All rights reserved.                          ║
 * ║                                                                                          ║
 * ║  This stylesheet and its contents are the intellectual property of                       ║
 * ║  THETABUG WHITEHAT HACKER HARTHA. Unauthorized reproduction, distribution,              ║
 * ║  or modification of this code, in whole or in part, is strictly prohibited               ║
 * ║  without prior written permission from the author.                                       ║
 * ║                                                                                          ║
 * ║  Permitted use: Personal, educational, and authorized security research only.            ║
 * ║                                                                                          ║
 * ╚══════════════════════════════════════════════════════════════════════════════════════════╝
 *
 * Author:  THETABUG WHITEHAT HACKER HARTHA
 * Version: 1.8.23
 * License: All Rights Reserved
 */

:root {
  --consent-forest: #1a3a2a;
  --consent-forest-mid: #2d5a3d;
  --consent-gold: #c8961a;
  --consent-gold-light: #e8b830;
  --consent-surface: #ffffff;
  --consent-surface-soft: #f7f3ea;
  --consent-text: #223127;
  --consent-muted: #667466;
  --consent-border: #ddd6c5;
  --consent-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --consent-radius: 14px;
  --consent-z-banner: 9998;
  --consent-z-modal: 10000;
  --consent-z-fab: 9997;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}


.cookie-consent-hidden {
  display: none !important;
}

/* B-B-BBB-BBB-Bernd Banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  max-width: calc(100% - 24px);
  background: rgba(17, 26, 20, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--consent-radius);
  box-shadow: var(--consent-shadow);
  z-index: var(--consent-z-banner);
  overflow: hidden;
  animation: cookieFadeUp 0.28s ease;
}

.cookie-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 1.4rem;
  padding: 1.35rem 1.4rem;
}

.cookie-banner-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  color: #fff;
}

.cookie-banner-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 0.98rem;
}

.cookie-banner-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.cookie-banner-links a,
.cookie-banner-links button {
  background: none;
  border: none;
  color: var(--consent-gold-light);
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
}

.cookie-banner-links a:hover,
.cookie-banner-links button:hover {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}

.cookie-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-primary {
  background: var(--consent-gold);
  color: #111a14;
}

.cookie-btn-primary:hover {
  background: var(--consent-gold-light);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cookie-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cookie-btn-ghost:hover {
  border-color: var(--consent-gold);
  color: var(--consent-gold-light);
}

/* Floating B-B-B-BBBB-BERND-Button */
.cookie-settings-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--consent-z-fab);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--consent-forest);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.82rem 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  max-width: calc(100% - 24px);
}

.cookie-settings-fab:hover {
  background: var(--consent-forest-mid);
  transform: translateY(-1px);
}

.cookie-settings-fab-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.44);
  z-index: var(--consent-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: cookieFade 0.2s ease;
}

.cookie-modal {
  width: min(860px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--consent-surface);
  color: var(--consent-text);
  border-radius: 16px;
  box-shadow: var(--consent-shadow);
  border: 1px solid var(--consent-border);
  animation: cookieFadeUp 0.24s ease;
}

.cookie-modal-header {
  position: relative;
  padding: 1.4rem 1.5rem 1rem;
  border-bottom: 1px solid var(--consent-border);
}

.cookie-modal-title {
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--consent-forest);
  margin: 0 0 0.45rem;
}

.cookie-modal-text {
  margin: 0;
  color: var(--consent-muted);
  line-height: 1.7;
}

.cookie-modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--consent-border);
  background: #fff;
  color: var(--consent-forest);
  border-radius: 999px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-modal-close:hover {
  background: var(--consent-surface-soft);
}

.cookie-modal-body {
  padding: 1rem 1.5rem 1.4rem;
}

.cookie-category {
  border: 1px solid var(--consent-border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-category-title {
  font-weight: 700;
  color: var(--consent-forest);
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.cookie-category-desc {
  color: var(--consent-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cookie-switch-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
}

.cookie-switch-label {
  font-size: 0.84rem;
  color: var(--consent-muted);
  font-weight: 700;
}

.cookie-switch {
  position: relative;
  width: 54px;
  height: 30px;
  display: inline-block;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  background: #c9c1b2;
  border-radius: 999px;
  transition: 0.2s ease;
}

.cookie-slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.cookie-switch input:checked + .cookie-slider {
  background: var(--consent-forest-mid);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
  background: var(--consent-gold);
  opacity: 0.95;
}

.cookie-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 1.5rem 1.4rem;
  border-top: 1px solid var(--consent-border);
}

.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@keyframes cookieFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cookieFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 780px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr;
  }

  .cookie-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-modal-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .cookie-banner {
    width: calc(100% - 12px);
    max-width: calc(100% - 12px);
    bottom: 10px;
  }

  .cookie-banner-inner,
  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cookie-category-head {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-settings-fab {
    right: 12px;
    bottom: 12px;
    padding: 0.78rem 0.9rem;
    max-width: calc(100% - 24px);
  }
}