/* v14.1: retain the arrow-free legal card and balance its mobile text.
   The hero headline and column layout use the original v13 rules. */

.hero .legal-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 20px;
  border: 2px solid #c58a3a;
  border-radius: 20px;
  color: var(--petrol);
  background: #fff2df;
  box-shadow: 0 8px 22px rgba(115, 75, 23, .1);
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.hero .legal-teaser__symbol {
  width: 44px;
  height: 46px;
  border: 1px solid #dfb579;
  border-radius: 12px;
  color: #8c4b16;
  background: #f9dfb8;
  font-size: 28px;
}
.hero .legal-teaser__header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.hero .legal-teaser__header > strong {
  min-width: 0;
  color: #111;
  font-size: 1.1875rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero .legal-teaser__description {
  display: block;
  color: #425356;
  font-size: .9375rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero .legal-teaser__action {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 11px 18px;
  border: 1px solid #cd9445;
  border-radius: 999px;
  color: #123335;
  background: #f2bd75;
  box-shadow: 0 2px 0 rgba(131, 79, 14, .12);
  font-size: .9375rem;
  line-height: 1.4;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
}
.hero .legal-teaser:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 4px;
}
.hero .legal-teaser:focus-visible .legal-teaser__action {
  border-color: #ac752a;
  background: #edaf5d;
}

@media (max-width: 1040px) {
  .hero .legal-teaser { padding: 18px; }
  .hero .legal-teaser__header { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .hero .legal-teaser__symbol { width: 40px; height: 44px; }
  .hero .legal-teaser__header > strong { font-size: 1.125rem; }
}
@media (max-width: 560px) {
  .hero .legal-teaser { padding: 16px; border-radius: 18px; }
  .hero .legal-teaser__header {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 8px;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
  .hero .legal-teaser__header > strong { width: 100%; font-size: 1.125rem; line-height: 1.25; text-align: center; }
  .hero .legal-teaser__description { width: 100%; max-width: none; justify-self: stretch; line-height: 1.4; text-align: center; text-wrap: balance; }
  .hero .legal-teaser__mobile-line { display: block; }
  .hero .legal-teaser__action { width: 100%; justify-self: stretch; min-height: 46px; padding: 11px 14px; font-size: .875rem; }
}
@media (max-width: 360px) {
  .hero .legal-teaser { padding: 14px; }
  .hero .legal-teaser__symbol { width: 32px; height: 38px; font-size: 25px; }
}
@media screen and (min-width: 1041px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero .legal-teaser__action { transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
  .hero .legal-teaser:hover {
    border-color: #ad7126;
    box-shadow: 0 12px 28px rgba(115, 75, 23, .16);
  }
  .hero .legal-teaser__action:hover {
    border-color: #b67e30;
    background: #edaf5d;
    box-shadow: 0 3px 0 rgba(131, 79, 14, .15);
  }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero .legal-teaser__action { transition: none; }
}
@media print {
  .hero .legal-teaser { display: none; }
}
