/* ==========================================
   LA PIAZZETTA – LEGAL PAGES
   Scope: Impressum + Datenschutz
========================================== */

body.lp-theme.page-legal,
body.lp-theme.page-legal main{
  background-color: var(--lp-cream);
  background-image:
    radial-gradient(circle at 14% 4%, rgba(217,101,22,0.10), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(31,107,58,0.08), transparent 28%),
    url('../../img/textures/paper-grain.png');
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 320px 320px;
}

.lp-legal-page{
  position: relative;
  overflow-x: clip;
  padding: clamp(42px, 6vw, 74px) 0 clamp(58px, 8vw, 104px);
}

.lp-legal-hero{
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto clamp(28px, 4.5vw, 50px);
  text-align: center;
  padding: clamp(18px, 3vw, 30px) clamp(14px, 2vw, 22px);
}

.lp-legal-hero::before,
.lp-legal-hero::after{
  content: "";
  position: absolute;
  left: 50%;
  width: min(560px, 84vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(217,101,22,0.60), transparent);
}

.lp-legal-hero::before{ top: 0; }
.lp-legal-hero::after{ bottom: 0; }

.lp-legal-kicker{
  margin: 0 0 8px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: var(--fs-kicker);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(58,29,22,0.62);
}

.lp-legal-title{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  color: var(--lp-bg-dark);
}

.lp-legal-lead{
  width: min(720px, 100%);
  margin: 16px auto 0;
  color: rgba(42,37,33,0.76);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.72;
}

.lp-legal-shell{
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.62)),
    rgba(255,255,255,0.72);
  border: 1px solid rgba(58,29,22,0.12);
  box-shadow: 0 22px 48px rgba(58,29,22,0.08);
  padding: clamp(18px, 3vw, 34px);
}

.lp-legal-shell::before,
.lp-legal-shell::after{
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(217,101,22,0.46), transparent);
}

.lp-legal-shell::before{ left: 14px; }
.lp-legal-shell::after{ right: 14px; }

.lp-legal-content{
  position: relative;
  background: rgba(255,252,247,0.68);
  border: 1px solid rgba(58,29,22,0.12);
  box-shadow: 0 16px 34px rgba(58,29,22,0.045);
  padding: clamp(22px, 3.2vw, 38px);
}

.lp-legal-section{
  padding: clamp(18px, 2.6vw, 26px) 0;
  border-top: 1px solid rgba(58,29,22,0.10);
}

.lp-legal-section:first-child{
  padding-top: 0;
  border-top: 0;
}

.lp-legal-section:last-child{
  padding-bottom: 0;
}

.lp-legal-section h2,
.lp-legal-section-title{
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--lp-bg-dark);
}

.lp-legal-content p,
.lp-legal-content div,
.lp-legal-content li{
  color: rgba(42,37,33,0.78);
  font-size: 15px;
  line-height: 1.75;
}

.lp-legal-content p{
  margin: 0;
}

.lp-legal-content p + p{
  margin-top: 10px;
}

.lp-legal-content ul{
  margin: 8px 0 0;
  padding-left: 1.15rem;
}

.lp-legal-content li + li{
  margin-top: 4px;
}

.lp-legal-content strong,
.lp-legal-content .fw-semibold{
  color: var(--lp-bg-dark);
  font-weight: 600;
}

.lp-legal-content a{
  color: var(--lp-bg-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(217,101,22,0.42);
  word-break: break-word;
}

.lp-legal-content a:hover,
.lp-legal-content a:focus{
  color: var(--lp-red);
  border-bottom-color: rgba(217,41,6,0.74);
}

.lp-legal-entry{
  margin-top: 6px;
}

.lp-legal-meta{
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: 18px;
  border-top: 1px solid rgba(58,29,22,0.10);
  color: rgba(42,37,33,0.58);
  font-size: 13px;
  text-align: center;
}

.lp-legal-meta::after{
  content: "";
  display: block;
  width: min(180px, 42vw);
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, rgba(183,150,99,0.66), transparent);
}

@media (max-width: 767.98px){
  .lp-legal-page{
    padding-top: 32px;
    padding-bottom: 66px;
  }

  .lp-legal-shell{
    padding: 14px;
  }

  .lp-legal-shell::before,
  .lp-legal-shell::after{
    display: none;
  }

  .lp-legal-content{
    padding: 20px 16px;
  }

  .lp-legal-content p,
  .lp-legal-content div,
  .lp-legal-content li{
    font-size: 14px;
    line-height: 1.72;
  }
}
