/* =========================================================
   Polysport – Camps & Daten (camps.html)
   Nutzt die Design-Tokens aus base.css.
   Breakpoints: 1100px (Tablet quer), 900px (Tablet hoch), 640px (Handy)
   ========================================================= */

/* === ALLGEMEIN === */
.section{padding:64px 0}
.section-cream{background:var(--cream)}
.section-white{background:var(--white)}
.section-filter{padding:64px 0 48px}

.h2-lg{margin:0;font-size:clamp(28px,3.1vw,44px);line-height:1}
.section-title{display:flex;flex-direction:column;gap:12px;margin-bottom:32px}
.c-coral{color:var(--coral-text)}
.c-lilac{color:var(--lilac-text)}
.c-sky{color:var(--sky-text)}
.c-teal{color:var(--teal-text)}
.btn-block{display:flex;width:100%}

/* Aktive Seite im Menü als gelbe Pille */
.nav-links a[aria-current="page"]{font-weight:800;padding:8px 16px;border-radius:var(--r-pill);background:var(--yellow);color:var(--ink)}

/* === KOPFBEREICH (inkl. Navigation) === */
.page-head{position:relative;overflow-x:clip;padding-bottom:56px}
.camps-hero{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:48px;align-items:center;padding-top:40px}
.camps-hero-copy{display:flex;flex-direction:column;gap:20px;align-items:flex-start;min-width:0}
.camps-hero .overline{color:var(--teal-text)}
.camps-hero h1{margin:0;font-size:clamp(32px,4.2vw,60px);line-height:1.02;overflow-wrap:break-word}
.camps-hero-lead{margin:0;max-width:620px;font-size:17px;font-weight:500;line-height:1.6;color:var(--muted)}
.camps-hero-photo{position:relative;height:210px}
.camps-hero-photo .photo-back{position:absolute;inset:12px -10px -10px 14px;border-radius:28px;background:var(--teal);transform:rotate(2deg)}
.camps-hero-photo .photo-frame{position:absolute;inset:0;border-radius:26px;border:6px solid #fff;overflow:hidden;box-shadow:0 20px 40px rgba(27,31,59,.14)}
.camps-hero-photo .photo-slot{width:100%;height:100%}

/* === FILTER + CAMP-KARTEN === */
.filter-bar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}
.filter-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.filter-label{margin-right:8px;color:var(--coral-text)}
.pill{cursor:pointer;min-height:46px;padding:0 26px;border-radius:var(--r-pill);font-family:inherit;font-size:15px;font-weight:700;border:2px solid var(--ink);background:var(--white);color:var(--ink)}
.pill[aria-pressed="true"]{background:var(--ink);color:#fff}
.camp-count{font-size:15px;font-weight:600;color:var(--muted)}

.camp-list{display:flex;flex-direction:column;gap:24px}
.camp{display:grid;grid-template-columns:340px minmax(0,1fr);border-radius:var(--r-xl);overflow:hidden;background:var(--white);box-shadow:0 16px 40px rgba(27,31,59,.08);border:1px solid var(--line)}
.camp[hidden]{display:none}

/* Farben pro Camp: --head Kopfbereich, --over Saison-Zeile, --tile Kacheln/Chips */
.camp--herbst{--head:var(--yellow);--over:#6B4700;--tile:var(--tint-yellow)}
.camp--weihnachten1{--head:#9BE7DD;--over:var(--teal-dark);--tile:var(--tint-teal)}
.camp--weihnachten2{--head:#D9D0FF;--over:#4A36C7;--tile:var(--tint-lilac)}

.camp-side{padding:32px;display:flex;flex-direction:column;gap:14px;background:var(--head)}
.camp-season{font-size:12px;font-weight:700;letter-spacing:.3em;color:var(--over)}
.camp-name{margin:0;font-size:clamp(26px,2.6vw,34px);line-height:1.02}
.camp-free{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 10px;border-radius:var(--r-pill);background:#fff;font-size:13px;font-weight:800;color:var(--ok-text)}
.camp-price{margin-top:auto;display:flex;align-items:baseline;gap:8px}
.camp-price span:first-child{font-size:16px;font-weight:800}
.camp-price-num{font-size:60px;line-height:.9}
.camp-sibling{font-size:13px;font-weight:600}

.camp-main{padding:28px 32px;display:flex;flex-direction:column;gap:20px}
.camp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 24px}
.fact{display:flex;gap:12px;align-items:flex-start;min-width:0}
.fact svg{flex-shrink:0;margin-top:2px}
.fact-text{display:flex;flex-direction:column;gap:2px}
.fact-label{font-size:12px;font-weight:700;letter-spacing:.15em;color:var(--muted)}
.fact-value{font-size:16px;font-weight:700}
.fact--date{grid-column:span 3;align-items:center;gap:14px;padding:14px 18px;border-radius:var(--r-md);background:var(--tile)}
.fact--date svg{margin-top:0}
.fact--date .fact-value{font-size:20px;font-weight:800}
.fact--wide{grid-column:span 2}

.camp-highlights{display:flex;flex-direction:column;gap:10px}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{padding:6px 14px;border-radius:var(--r-pill);background:var(--tile);font-size:13px;font-weight:700}
.camp-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:16px}
.camp-foot span{font-size:14px;color:var(--muted)}
.camp-foot .btn{font-size:15px;box-shadow:0 10px 24px rgba(232,65,47,.28)}

/* === VERGLEICH (Tabelle) === */
.compare-wrap{border-radius:var(--r-lg);border:1px solid var(--line);overflow-x:auto;background:var(--cream)}
.compare{width:100%;min-width:560px;border-collapse:collapse;text-align:left}
.compare thead th{padding:16px 24px;background:var(--ink);color:#fff;font-size:15px;text-align:left}
.compare thead th:first-child{font-family:var(--font-text);font-size:13px;font-weight:700;letter-spacing:.2em;color:var(--yellow)}
.compare tbody tr{border-bottom:1px solid var(--line)}
.compare tbody tr:nth-child(odd){background:var(--white)}
.compare tbody th,.compare tbody td{padding:14px 24px;font-size:15px;text-align:left}
.compare tbody th{font-weight:700}
.compare td svg{display:block}
.compare tbody tr.compare-total{background:var(--tint-yellow);border-bottom:0}
.compare-total th,.compare-total td{padding:16px 24px}
.compare-total th{font-weight:800}
.compare-total td{font-size:20px;color:var(--coral-text)}
.compare-note{margin:24px 0 0;font-size:14px;color:var(--muted)}

/* === ANREISE & TREFFPUNKT === */
.place-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-items:stretch}
.place-card{grid-column:span 5;padding:36px;border-radius:32px;background:var(--white);box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:20px}
.place-head{display:flex;align-items:center;gap:14px}
.place-icon{width:52px;height:52px;border-radius:999px;background:var(--coral);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.place-head-text{display:flex;flex-direction:column;gap:2px}
.place-kicker{font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--coral-text)}
.place-title{margin:0;font-size:22px;font-weight:800}
.place-address{font-style:normal;font-size:17px;line-height:1.6;font-weight:600}
.place-list{list-style:none;margin:0;padding:16px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px;font-size:15px;color:var(--muted)}
.place-list li{display:flex;gap:12px;align-items:center;min-width:0;overflow-wrap:anywhere}
.place-list svg{flex-shrink:0}
.place-list a{font-weight:700}
.place-side{grid-column:span 7;display:flex;flex-direction:column;gap:24px}
.map-slot{flex-grow:1;min-height:260px;border-radius:32px;background-color:var(--tint-sky);border:2px dashed var(--sky);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:24px}
.map-slot strong{font-size:18px;font-weight:800;color:var(--sky-text)}
.map-slot span{font-size:14px;color:var(--muted)}
.transport-note{padding:24px 28px;border-radius:24px;background:var(--tint-yellow);border:2px dashed var(--yellow);display:flex;gap:16px;align-items:center}
.transport-note svg{flex-shrink:0}
.transport-note div{display:flex;flex-direction:column;gap:4px}
.transport-note strong{font-size:16px;font-weight:800}
.transport-note span{font-size:14px;color:var(--muted)}

/* === ABSCHLUSS-KARTE (CTA) === */
.section.cta-section{padding:0}
.cta-card{position:relative;border-radius:var(--r-xl);padding:52px 72px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px;align-items:center;overflow:hidden}
.cta-card::before{content:'';position:absolute;left:-50px;top:-50px;width:180px;height:180px;border-radius:999px;background:var(--yellow);z-index:0}
.cta-card::after{content:'';position:absolute;left:41.7%;bottom:-70px;width:160px;height:160px;border-radius:999px;background:var(--coral);opacity:.85;z-index:0}
.cta-card > *{position:relative;z-index:1}
.cta-copy{grid-column:span 7;display:flex;flex-direction:column;gap:18px}
.cta-copy h2{margin:0;font-size:clamp(36px,4vw,54px);line-height:1}
.cta-copy p{margin:0;max-width:520px;font-size:17px;font-weight:500;line-height:1.55}
.cta-box{grid-column:span 5;padding:28px;border-radius:var(--r-lg);background:rgba(255,255,255,.8);display:flex;flex-direction:column;gap:14px}
.cta-box .btn{min-height:54px}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- Tablet quer (bis 1100px) ---- */
@media (max-width:1100px){
  .camps-hero{grid-template-columns:minmax(0,1fr) 320px;gap:32px}
  .camp{grid-template-columns:280px minmax(0,1fr)}
  .camp-side{padding:24px}
  .camp-main{padding:24px}
  .camp-facts{gap:14px 16px}
  .place-card{padding:28px}
  .cta-card{padding:44px 48px}
}

/* ---- Tablet hoch (bis 900px): einspaltig ---- */
@media (max-width:900px){
  .page-head{padding-bottom:40px}
  .camps-hero{grid-template-columns:1fr;gap:32px;padding-top:24px}
  .camps-hero-photo{height:220px;max-width:520px}
  .camps-hero-photo .photo-back{inset:12px -6px -8px 10px}
  .camp{grid-template-columns:1fr}
  .camp-side{flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px 20px}
  .camp-season{flex-basis:100%}
  .camp-name{flex:1 1 auto}
  .camp-price{margin-top:0}
  .camp-sibling{flex-basis:100%}
  .camp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fact--date,.fact--wide{grid-column:span 2}
  .place-card,.place-side,.cta-copy,.cta-box{grid-column:1/-1}
  .cta-card{gap:24px}
}

/* ---- Handy (bis 640px): Mobile-Design ---- */
@media (max-width:640px){
  .section{padding:48px 0}
  .section-filter{padding:40px 0 40px}
  .section-title{margin-bottom:24px}
  .h2-lg{font-size:clamp(26px,8.4vw,34px);line-height:1.05}
  .overline{font-size:12px;letter-spacing:.22em}
  .nav-links a[aria-current="page"]{background:var(--yellow)}

  .page-head{padding-bottom:32px}
  .camps-hero{gap:24px}
  .camps-hero .overline{line-height:1.5}
  .camps-hero-lead{font-size:16px}
  .camps-hero-photo{max-width:none;height:200px}
  .camps-hero-photo .photo-frame{border-width:5px}

  .filter-bar{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:24px}
  .pill{min-height:44px;padding:0 18px;font-size:14px}
  .filter-label{flex-basis:100%;margin-right:0}

  .camp{border-radius:26px}
  .camp-side{padding:20px}
  .camp-name{font-size:26px}
  .camp-price-num{font-size:52px}
  .camp-main{padding:20px;gap:18px}
  .camp-facts{grid-template-columns:1fr}
  .fact--date,.fact--wide{grid-column:auto}
  .fact--date .fact-value{font-size:18px}
  .camp-foot{flex-direction:column;align-items:stretch;text-align:center}
  .camp-foot .btn{width:100%}

  .compare thead th,.compare tbody th,.compare tbody td,.compare-total th,.compare-total td{padding:12px 14px}
  .compare-total td{font-size:17px}

  .place-card{padding:24px;border-radius:28px}
  .map-slot{min-height:220px;border-radius:26px}
  .transport-note{padding:20px;border-radius:22px}

  .cta-card{padding:40px 24px;border-radius:28px}
  .cta-card::before,.cta-card::after{width:140px;height:140px}
  .cta-card::after{left:auto;right:-60px;bottom:-60px}
  .cta-box{padding:20px}
}
