/* ---------- Cookie-Banner ---------- */
#cookie-banner{
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1c1c1c; color: #fff;
  padding: 12px 20px; font-size: .9rem;
  display: flex; justify-content: center; align-items: center;
  z-index: 10000; box-shadow: 0 -2px 8px rgba(0,0,0,.5);
  user-select: none; transition: transform .3s, opacity .3s;
}
#cookie-banner.hide { transform: translateY(100%); opacity: 0; pointer-events: none; }
#cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }

#cookie-banner .content-wrapper{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  max-width:900px; margin:0 auto; text-align:center;
}

/* Icon oben – schlicht */
#cookie-banner .cookie-icon{
  width:42px; height:42px; margin: 4px 0 2px;
  background:none; border:none; border-radius:0; padding:0; filter:none;
  flex-shrink:0;
}

/* Titel + Lead zentral */
#cookie-banner .cookie-title{
  margin: 6px 0 2px; font-size: 1.05rem; font-weight: 700; color: #e5e7eb; letter-spacing: .2px; text-align:center;
}
#cookie-banner .cookie-lead{
  margin: 0; font-size: .98rem; line-height: 1.5; color: #dbeafe; opacity:.95; text-align:center;
}

/* Chips */
#cookie-banner .cookie-services{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 8px 10px; margin: 6px 0 6px;
}
#cookie-banner .cookie-service{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 9999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color:#e5e7eb; font-size:.92rem; line-height:1.2;
}
#cookie-banner .cookie-service i{ opacity:.95; }

/* Hinweis + Link */
#cookie-banner .cookie-note{ margin: 2px 0 4px; font-size:.95rem; line-height:1.5; color:#cbd5e1; text-align:center; }
#cookie-banner .cookie-note.subtle{ color:#a8b7c8; }
#cookie-banner .cookie-legal{ margin: 2px 0 8px; }
#cookie-banner .cookie-legal a{
  color:#93c5fd; text-decoration:none; border-bottom:1px dotted rgba(147,197,253,.7);
}
#cookie-banner .cookie-legal a:hover{ color:#bfdbfe; border-bottom-color:#bfdbfe; }

/* Buttons */
#cookie-banner .button-group{ display:flex; gap:8px; justify-content:center; }
#cookie-banner button{
  display:inline-flex; align-items:center; justify-content:center;
  border:none; padding: 6px 14px; cursor:pointer; white-space:nowrap;
  font-size:.8rem; border-radius:3px; color:#fff !important; user-select:none;
  min-width:110px; height:32px; box-shadow:0 2px 6px rgba(0,0,0,.3); transition: background-color .25s ease;
  font-weight:700;
}
#accept-cookies{ background-color:#28a745; }
#accept-cookies:hover{ background-color:#218838; }
#decline-cookies{ background-color:#dc3545; }
#decline-cookies:hover{ background-color:#b02a37; }

#cookie-banner .hide{ display:none !important; }

/* Mobile Verfeinerungen */
@media (max-width: 560px){
  #cookie-banner .cookie-title { font-size: 1rem; }
  #cookie-banner .cookie-service { padding: 5px 9px; font-size: .88rem; }
  #cookie-banner .cookie-lead, #cookie-banner .cookie-note { font-size: .9rem; }
}

/* Schwebe-Button: Cookie-Bild mit schwarzem Rahmen */
#cookie-settings-btn {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  z-index: 9999;
  outline: none;
}

#cookie-settings-btn img {
  width: 48px;                 /* gewünschte Bildgröße */
  height: 48px;
  display: block;
  object-fit: contain;
  border: 1px solid #000;      /* schwarzer Rahmen */
  border-radius: 50%;          /* rund, falls das Bild rund ist */
  filter: none !important;
  transition: transform .2s ease, opacity .2s ease;
  pointer-events: none;
}

#cookie-settings-btn:hover img {
  transform: scale(1.08);
  opacity: .95;
}

/* Ausblendbar */
#cookie-settings-btn.hide {
  display: none !important;
}

/* Google-Translate-Banner & Tooltip immer verstecken */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt { display: none !important; }

/* Falls Google dem <body>/<html> ein top-Offset verpasst: zurücksetzen */
html, body { top: 0 !important; }
