#ah-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  box-sizing: border-box;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  font: 14px/1.45 Quicksand, Arial, sans-serif;
}
#ah-consent p { margin: 0 0 12px; }
#ah-consent a { color: inherit; text-decoration: underline; }
.ah-consent-actions { display: flex; gap: 8px; }
.ah-consent-actions .ah-btn { flex: 1 1 0; }

/* Beide Buttons gleich sichtbar: Ablehnen darf nicht schwaecher aussehen als Zustimmen. */
.ah-btn {
  padding: 10px 14px;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  font: 600 14px/1.2 Quicksand, Arial, sans-serif;
  cursor: pointer;
}
.ah-btn:hover, .ah-btn:focus { background: #1a1a1a; color: #fff; }

.ah-ext {
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
  background: #f4f4f4;
  color: #1a1a1a;
  font: 14px/1.45 Quicksand, Arial, sans-serif;
}
.ah-ext:empty { display: none; }
.ah-ext p { margin: 0 0 10px; }
.ah-ext-map {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  width: 280px;
  max-width: calc(100% - 32px);
  transform: translate(-50%, -50%);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

.weglot-flags.flag-1.de > a:before, .weglot-flags.flag-1.de > span:before {
  background-image: url("flags/de.svg");
  background-position: unset !important;
  width: 27px !important;
}
.weglot-flags.flag-1.en > a:before, .weglot-flags.flag-1.en > span:before {
  background-image: url("flags/gb.svg");
  background-position: unset !important;
  width: 27px !important;
}

.ah-legal { display: block; margin-top: 6px; }
.ah-legal a { margin: 0 8px; color: inherit; text-decoration: underline; }
.ah-legal-bar {
  position: fixed;
  left: 8px;
  bottom: 8px;
  z-index: 1001;
  padding: 2px 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: #1a1a1a;
  font: 12px/1.3 Quicksand, Arial, sans-serif;
}

@media (max-width: 480px) {
  .ah-consent-actions { flex-direction: column; }
}
