/* GPM Cookie Consent 1.1 — verfeinerte Buttons */
.gpm-consent__primary-actions {
  gap: 12px;
}

.gpm-consent__action {
  position: relative;
  min-height: 54px;
  padding: 0 21px;
  border-width: 2px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(39, 46, 14, 0.13);
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.gpm-consent__action:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(39, 46, 14, 0.19);
}

.gpm-consent__action:active {
  transform: translateY(0);
}

.gpm-consent__primary-actions .gpm-consent__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.gpm-consent__primary-actions .gpm-consent__action::after {
  display: grid;
  width: 28px;
  height: 28px;
  margin-left: 12px;
  border-radius: 50%;
  place-items: center;
  font-size: 16px;
  font-weight: 500;
}

.gpm-consent__primary-actions [data-gpm-accept-all]::after {
  content: "→";
  color: #272e0e;
  background: #e3eaad;
}

.gpm-consent__primary-actions [data-gpm-reject-all]::after {
  content: "✓";
  color: #efe9e1;
  background: #4e5b22;
}

.gpm-consent__primary-actions .gpm-consent__action:nth-child(2) {
  border-color: rgba(78, 91, 34, 0.4);
  background: #fffdf9;
  box-shadow: 0 10px 24px rgba(39, 46, 14, 0.08);
}

.gpm-consent__settings-link {
  width: 100%;
  min-height: 45px;
  margin-top: 12px;
  border: 1px solid rgba(78, 91, 34, 0.22);
  color: #272e0e;
  background: rgba(227, 234, 173, 0.58);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.gpm-consent__settings-link:hover {
  border-color: #a2ae4a;
  background: #e3eaad;
}

.gpm-consent__detail-actions .gpm-consent__text-button {
  min-height: 54px;
  margin: 0;
  border: 2px solid rgba(78, 91, 34, 0.3);
  text-decoration: none;
}

.gpm-consent-reopen {
  display: inline-flex;
  min-height: 36px;
  padding: 0 13px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(239, 233, 225, 0.3);
  background: rgba(39, 46, 14, 0.94);
  box-shadow: 0 8px 26px rgba(22, 22, 22, 0.16);
  backdrop-filter: blur(8px);
}

.gpm-consent-reopen::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f53f19;
}

.gpm-consent-reopen:hover {
  background: #4e5b22;
}

@media (max-width: 620px) {
  .gpm-consent__primary-actions .gpm-consent__action {
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gpm-consent__action,
  .gpm-consent__settings-link {
    transition: none;
  }
}

/* GPM Cookie Consent 1.2 — spielerischer Einstieg */
.gpm-consent__panel {
  width: min(680px, calc(100% - 40px));
}

.gpm-consent__intro-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 24px;
  align-items: center;
}

.gpm-consent__intro-head .gpm-consent__eyebrow {
  margin-bottom: 16px;
}

.gpm-consent__cookie-art {
  position: relative;
  width: 138px;
  aspect-ratio: 1;
  margin: 0;
  border: 1px solid rgba(78, 91, 34, 0.15);
  border-radius: 28px;
  overflow: hidden;
  background: #efe9e1;
  box-shadow: 0 16px 38px rgba(39, 46, 14, 0.12);
  transform: rotate(4deg);
}

.gpm-consent__cookie-art::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(245, 63, 25, 0.18);
  border-radius: 21px;
  pointer-events: none;
}

.gpm-consent__cookie-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Beide Hauptentscheidungen bleiben gleich deutlich und gleich groß. */
.gpm-consent__primary-actions .gpm-consent__action:nth-child(2) {
  border-color: #272e0e;
  color: #efe9e1;
  background: #272e0e;
  box-shadow: 0 10px 24px rgba(39, 46, 14, 0.13);
}

.gpm-consent__primary-actions .gpm-consent__action:hover {
  border-color: #f53f19;
  color: #161616;
  background: #f53f19;
}

@media (max-width: 620px) {
  .gpm-consent__intro-head {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 13px;
    align-items: start;
  }

  .gpm-consent__cookie-art {
    width: 88px;
    border-radius: 19px;
    transform: rotate(3deg);
  }

  .gpm-consent__cookie-art::after {
    inset: 5px;
    border-radius: 14px;
  }

  .gpm-consent h2 {
    font-size: clamp(29px, 9vw, 40px);
  }
}
