.anon-offer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 5vw, 76px);
  align-items: center;
  margin-block-end: 25px;
}

#angebot .anon-offer-head h2 { margin: 0 0 15px; }
#angebot .anon-offer-head .offer-intro {
  max-inline-size: 51ch;
  margin: 0;
}

.anon-badge {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 13px;
  width: min(100%, 350px);
  padding: 12px 15px 12px 12px;
  border: 1px solid #a9c7b7;
  border-radius: 13px;
  background: #e5f2e9;
  color: #162d24;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 1px 1px #173d2a08;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.anon-badge:hover {
  background: #d9eddf;
  box-shadow: 0 8px 18px #173d2a16;
  transform: translateY(-2px);
}

.anon-badge-icon, .anon-dialog-icon {
  display: grid;
  place-items: center;
  inline-size: 46px;
  block-size: 46px;
  border-radius: 9px;
  background: #173b2f;
  color: #ecf8ea;
}

.anon-badge-label { display: grid; gap: 4px; }
.anon-badge-label strong { font-size: 15px; letter-spacing: -.025em; }

.anon-kicker {
  color: #2e5545;
  font: 600 10px/1.25 ui-monospace, monospace;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.anon-open-icon {
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border: 1px solid #25684940;
  border-radius: 50%;
  font-size: 17px;
}

.anon-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(calc(100% - 28px), 540px);
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #233d2c24;
  border-radius: 20px;
  background: #fafaf5;
  color: #1a2d25;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 28px 80px #0004;
}

.anon-dialog[open] { animation: anon-enter .19s ease-out both; }
.anon-dialog::backdrop {
  background: #132b2480;
  backdrop-filter: blur(5px);
}

body:has(.anon-dialog[open]) { overflow: hidden; }

.anon-dialog-head {
  position: relative;
  padding: 27px 30px 23px;
  background: linear-gradient(120deg, #ffe981 0%, #fff3bd 72%, #fff7d7 100%);
}

.anon-dialog-head .anon-kicker { margin: 14px 0 8px; }
.anon-dialog-head h2 {
  margin: 0;
  font-size: clamp(32px, 6.4vw, 45px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
}

.anon-close {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 17px 17px auto auto;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid #2e3b2135;
  border-radius: 50%;
  background: #fff8d9;
  color: #243328;
  cursor: pointer;
}

.anon-close:hover { background: #fffdf0; }
.anon-dialog-body { padding: 22px 30px 16px; }

.anon-dialog-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.53;
}

.anon-local {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px 0;
  padding: 10px 12px;
  border: 1px solid #bdd7c6;
  border-radius: 8px;
  background: #e5f2e9;
  color: #234737;
  font-size: 13px;
  line-height: 1.4;
}

.anon-local svg { flex: none; }
.anon-dialog-body .anon-sharing { color: #475851; font-size: 13px; }

.anon-download-area {
  display: grid;
  gap: 9px;
  padding: 16px 30px 22px;
  border-top: 1px solid #c8d2c6;
  background: #f0f2ea;
}

.anon-download {
  text-decoration: none;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid #314c41;
  border-radius: 8px;
  background: #314c41;
  color: #fffdf3;
  font-size: 14px;
  font-weight: 600;
}

.anon-download:disabled {
  border-color: #55695f;
  background: #55695f;
  cursor: default;
}

.anon-download:hover { background: #203f31; }
.anon-download:focus-visible { outline: 3px solid #009b83; outline-offset: 3px; }

#anon-download-note { margin: 0; color: #45594e; font-size: 12px; }

@keyframes anon-enter {
  from { transform: translateY(6px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 760px) {
  .anon-offer-head {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-block-end: 20px;
  }
}

@media (max-width: 430px) {
  .anon-badge { grid-template-columns: 43px minmax(0, 1fr) 28px; gap: 10px; }
  .anon-badge-icon { inline-size: 43px; block-size: 43px; }
  .anon-dialog-head, .anon-dialog-body, .anon-download-area { padding-inline: 20px; }
  .anon-dialog-head { padding-block: 20px; }
  .anon-dialog-body { padding-block: 17px 14px; }
  .anon-dialog-body p { font-size: 14px; }
  .anon-dialog-body .anon-sharing { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .anon-dialog[open] { animation: none; }
  .anon-badge { transition: none; }
}
