/* ==========================================
   LA PIAZZETTA – ALLERGENE PAGE
   Scope: public /allergene-und-zusatzstoffe
========================================== */

body.lp-theme.page-allergies,
body.lp-theme.page-allergies 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-allergy-page{
  position: relative;
  overflow-x: clip;
  padding: clamp(42px, 6vw, 74px) 0 clamp(58px, 8vw, 104px);
}

.lp-allergy-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-allergy-hero::before,
.lp-allergy-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-allergy-hero::before{ top: 0; }
.lp-allergy-hero::after{ bottom: 0; }

.lp-allergy-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-allergy-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-allergy-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-allergy-shell{
  position: relative;
  width: min(1080px, 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-allergy-shell::before,
.lp-allergy-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-allergy-shell::before{ left: 14px; }
.lp-allergy-shell::after{ right: 14px; }

.lp-allergy-intro{
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(58,29,22,0.12);
  background: rgba(255,252,247,0.68);
  text-align: center;
  color: rgba(42,37,33,0.76);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.55;
}

.lp-allergy-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.lp-allergy-card{
  position: relative;
  min-width: 0;
  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(20px, 3vw, 30px);
}

.lp-allergy-card-head{
  display: grid;
  grid-template-columns: minmax(34px, 1fr) minmax(0, auto) minmax(34px, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  text-align: center;
  margin-bottom: clamp(18px, 2.4vw, 24px);
}

.lp-allergy-card-head span{
  height: 1px;
  min-width: 0;
  background: linear-gradient(90deg, transparent, rgba(183,150,99,0.62), transparent);
}

.lp-allergy-card-title{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 2.7vw, 2.65rem);
  font-weight: 600;
  line-height: 1;
  color: var(--lp-bg-dark);
}

.lp-allergy-list{
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-allergy-row{
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(58,29,22,0.09);
}

.lp-allergy-row:first-child{
  border-top: 0;
  padding-top: 0;
}

.lp-allergy-code{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(183,150,99,0.90);
  color: #fffaf1;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.lp-allergy-name{
  margin: 0;
  color: rgba(42,37,33,0.84);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.12rem, 1.55vw, 1.36rem);
  line-height: 1.38;
}

.lp-allergy-note{
  width: min(860px, 100%);
  margin: clamp(22px, 4vw, 38px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(58,29,22,0.10);
  text-align: center;
  color: rgba(42,37,33,0.60);
  font-size: 13px;
  line-height: 1.7;
}

.lp-allergy-note::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: 991.98px){
  .lp-allergy-grid{
    grid-template-columns: 1fr;
  }
}

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

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

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

  .lp-allergy-intro,
  .lp-allergy-card{
    padding: 20px 16px;
  }

  .lp-allergy-card-head{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lp-allergy-card-head span{
    width: min(220px, 100%);
    margin: 0 auto;
  }

  .lp-allergy-row{
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .lp-allergy-code{
    width: 30px;
    min-width: 30px;
    height: 30px;
  }
}
