.legal-page { background: #fbf8f1; }
.legal-hero { position: relative; min-height: clamp(300px, 26vw, 410px); display: grid; align-items: center; overflow: hidden; background: #dfe7da; }
.legal-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; filter: saturate(1.02) brightness(1.06); }
.legal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,241,229,.92) 0%, rgba(246,241,229,.78) 34%, rgba(246,241,229,.28) 62%, rgba(246,241,229,.03) 100%); }
.legal-hero .container { position: relative; z-index: 2; }
.legal-hero h1 { max-width: 760px; margin: 0; color: var(--green-dark); font-family: var(--font-heading); font-size: clamp(42px, 5.2vw, 74px); line-height: .96; }
.legal-hero h1 span { display: block; color: var(--green); font-family: var(--font-script); font-size: 1.04em; font-weight: 500; }
.legal-hero p { max-width: 620px; margin: 18px 0 0; color: #536251; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }
.legal-main { padding: clamp(34px, 5vw, 74px) 0 clamp(46px, 6vw, 88px); }
.legal-card { position: relative; overflow: hidden; max-width: 980px; margin: 0 auto; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,248,.96); box-shadow: 0 16px 36px rgba(46,61,44,.09); }
.legal-card::after { content: ""; position: absolute; right: -36px; bottom: -34px; width: 190px; height: 190px; background: url("/assets/images/edelweiss.png") center/contain no-repeat; opacity: .08; pointer-events: none; }
.legal-card h2 { margin-top: 34px; color: var(--green-dark); font-family: var(--font-heading); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h2::after { content: ""; display: block; width: 118px; height: 1px; margin: 12px 0 18px; background: var(--green-dark); opacity: .42; }
.legal-card h3 { margin: 24px 0 8px; color: var(--green-dark); font-size: 18px; }
.legal-card p, .legal-card li, .legal-card address { color: #566451; font-size: 16px; line-height: 1.7; }
.legal-card p { margin: 0 0 14px; }
.legal-card ul { display: grid; gap: 7px; margin: 0 0 18px 20px; padding: 0; }
.legal-card a { color: var(--green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.legal-contact-box { display: grid; gap: 6px; margin: 20px 0 28px; padding: 18px; border: 1px solid rgba(108,119,66,.2); border-radius: 12px; background: rgba(238,241,229,.58); }
.legal-contact-box strong { color: var(--green-dark); }
.legal-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: #69776b !important; font-size: 14px !important; }
@media (max-width: 760px) { .legal-hero { min-height: 360px; } .legal-card { border-radius: 14px; } .legal-card p, .legal-card li, .legal-card address { font-size: 15px; } }
.legal-info-line { display: flex; align-items: center; gap: 9px; margin: 1px 0; }
.legal-info-line + br { display: none; }
.legal-info-line::before { flex: 0 0 22px; width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(108,119,66,.12); color: var(--green); font-size: 13px; line-height: 1; }
.legal-phone::before { content: "☎"; }
.legal-mail::before { content: "✉"; }
.legal-web::before { content: ""; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236C7742' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c2.4 2.5 3.6 5.5 3.6 9s-1.2 6.5-3.6 9c-2.4-2.5-3.6-5.5-3.6-9s1.2-6.5 3.6-9Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 14px 14px; }

/* Responsive polish up to 1280px only */
@media (max-width: 1280px) {
  .legal-info-line {
    min-height: 34px;
  }

  .legal-info-line a,
  .legal-card address a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .legal-contact-box {
    padding: 16px;
  }
}
/* Responsive-Touchziel-Nachkorrektur */

@media (max-width: 1280px) {
  .legal-contact-box a,
  .legal-card address a,
  .legal-info-line a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
  }
}

/* Mobile-Heros wie Buchen gestalten */
@media (max-width: 900px) {
  .legal-hero::after {
    background: linear-gradient(180deg, rgba(255,253,248,.5) 0%, rgba(255,253,248,.7) 47%, rgba(251,248,241,.86) 100%), radial-gradient(circle at 14% 8%, rgba(255,238,193,.62), rgba(255,238,193,0) 28%), linear-gradient(90deg, rgba(255,253,248,.8), rgba(255,253,248,.2) 35%, rgba(255,253,248,.7));
  }

  .legal-hero .container {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .legal-hero h1,
  .legal-hero p {
    margin-left: auto;
    margin-right: auto;
  }
}
