/* =========================================================
   Polysport – Startseite (index.html)
   Nutzt die Design-Tokens aus base.css (Farben, Radien, Schatten).
   Breakpoints: 1100px (Tablet quer), 900px (Tablet hoch), 640px (Handy)
   ========================================================= */

/* === ALLGEMEIN: Sektionen, Überschriften, Hilfsklassen === */
.section{padding:72px 0}
.section-cream{background:var(--cream)}
.section-white{background:var(--white)}
.section-programm{padding:88px 0 72px}

/* Überschriften-Grössen (fliessend mit clamp) */
.h2-xl{margin:0;font-size:clamp(30px,3.4vw,48px);line-height:1}
.h2-lg{margin:0;font-size:clamp(28px,3.1vw,44px);line-height:1}
.h2-md{margin:0;font-size:clamp(26px,2.8vw,40px);line-height:1}

.section-title{display:flex;flex-direction:column;gap:12px}
.section-title--center{align-items:center;text-align:center;margin-bottom:32px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:32px}
.section-head p{margin:0;max-width:460px;font-size:16px;line-height:1.6;color:var(--muted)}
.link-strong{font-size:15px;font-weight:700;text-decoration:underline}

/* Farbige Überschriften-Zeilen (Overline) und Zahlen */
.c-coral{color:var(--coral-text)}
.c-teal{color:var(--teal-text)}
.c-lilac{color:var(--lilac-text)}
.c-sky{color:var(--sky-text)}

/* Pastell-Kacheln: --tile = Hintergrund, --accent = Icon-Kreis */
.t-coral{--tile:var(--tint-coral);--accent:var(--coral)}
.t-lilac{--tile:var(--tint-lilac);--accent:var(--lilac)}
.t-teal{--tile:var(--tint-teal);--accent:var(--teal)}
.t-yellow{--tile:var(--tint-yellow);--accent:var(--yellow)}
.t-sky{--tile:var(--tint-sky);--accent:var(--sky)}

.btn-block{display:flex;width:100%}

/* Foto-Rahmen (weisser Rand, farbiger Schatten-Block dahinter) */
.photo-frame{position:absolute;inset:0;border-radius:28px;border:6px solid #fff;overflow:hidden;box-shadow:var(--shadow-float)}
.photo-frame .photo-slot{width:100%;height:100%}
.photo-back{position:absolute;border-radius:32px}
.photo-script{position:absolute;left:24px;bottom:24px;font-size:clamp(44px,4.4vw,64px);line-height:.8;color:#fff;transform:rotate(-6deg);text-shadow:0 4px 18px rgba(27,31,59,.55)}

/* === HERO (inkl. Navigation) === */
.page-head{position:relative;overflow-x:clip;padding-bottom:72px}
.hero{display:grid;grid-template-columns:minmax(0,720px) minmax(0,1fr);gap:48px;align-items:start;padding-top:56px}
.hero-copy{display:flex;flex-direction:column;gap:24px;align-items:flex-start;min-width:0}
.hero .overline{color:var(--teal-text)}
.hero h1{margin:0;font-size:clamp(38px,4.6vw,66px);line-height:1.02;overflow-wrap:break-word}
.hero-pill{padding:12px 26px;border-radius:var(--r-pill);background:var(--yellow);color:var(--ink);font-size:16px;font-weight:700;box-shadow:0 10px 22px rgba(255,200,61,.35)}
.hero-lead{margin:0;max-width:580px;font-size:17px;font-weight:500;line-height:1.6;color:var(--muted)}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-actions .btn{min-height:54px;padding:0 30px}

/* Kennzahlen-Leiste unter dem Hero-Text */
.hero-stats{margin-top:12px;display:flex;border-radius:24px;background:var(--white);box-shadow:0 16px 40px rgba(27,31,59,.1)}
.stat{position:relative;padding:18px 28px;display:flex;flex-direction:column;gap:4px}
.stat + .stat::before{content:'';position:absolute;left:0;top:16px;bottom:16px;width:1px;background:var(--line)}
.stat-value{font-size:26px;font-weight:900;line-height:1.1}
.stat-label{font-size:13px;font-weight:600;color:var(--muted)}

/* Foto rechts + Karte «Nächstes Camp» */
.hero-visual{position:relative;height:620px}
.hero-photo{position:absolute;right:0;top:0;width:380px;height:470px}
.hero-photo .photo-back{inset:10px 20px -10px -20px;background:var(--lilac);transform:rotate(-4deg)}
.hero-photo .photo-script{left:22px;bottom:26px}

.next-camp{position:absolute;left:0;bottom:30px;width:min(330px,100%);padding:22px 24px;border-radius:24px;background:var(--white);box-shadow:0 20px 44px rgba(27,31,59,.16);text-decoration:none;display:flex;flex-direction:column;gap:10px}
.next-camp:hover{color:var(--ink)}
.next-camp-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--teal-text)}
.dot-ok{width:9px;height:9px;border-radius:999px;background:var(--ok)}
.next-camp-name{font-size:22px;line-height:1.05;color:var(--ink)}
.next-camp-date{font-size:15px;font-weight:600}
.next-camp-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:6px;border-top:1px solid var(--line)}
.next-camp-foot span:first-child{font-size:14px;color:var(--muted)}
.next-camp-foot span:last-child{font-size:14px;font-weight:800;color:var(--coral-text)}

/* Anmelde-Leiste (nur Handy) */
.mobile-bar{display:none;padding:12px var(--gutter);background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 -8px 24px rgba(27,31,59,.08)}
.mobile-bar .btn{min-height:52px}

/* === INKLUSIVE-LEISTE === */
.section.incl-bar{padding:28px 0;background:var(--ink);color:#fff}
.incl-list{list-style:none;margin:0;padding:0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px 24px}
.incl-list li{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}
.incl-list svg{flex-shrink:0}

/* === PROGRAMM === */
.program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tile{padding:24px;border-radius:24px;background:var(--tile);display:flex;flex-direction:column;gap:16px}
.tile-icon{width:56px;height:56px;border-radius:999px;background:var(--accent);display:flex;align-items:center;justify-content:center}
.tile-icon svg{width:28px;height:28px}
.tile-text{display:flex;flex-direction:column;gap:6px}
.tile-title{margin:0;font-size:18px;font-weight:800}
.tile-text p{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}

/* === NÄCHSTE CAMPS === */
.camp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.camp-card{border-radius:var(--r-lg);background:var(--cream);border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column}
.camp-card-head{padding:20px 24px;background:var(--head);display:flex;justify-content:space-between;align-items:center;gap:12px}
.camp-card-head h3{margin:0;font-size:20px}
.badge-free{padding:5px 12px;border-radius:var(--r-pill);background:#fff;font-size:12px;font-weight:800;color:var(--ok-text);white-space:nowrap}
.camp-card-body{padding:24px;display:flex;flex-direction:column;gap:14px;flex-grow:1}
.camp-date{margin:0;font-size:20px;font-weight:800}
.camp-meta{display:flex;flex-direction:column;gap:6px;font-size:15px;color:var(--muted)}
.camp-price{display:flex;align-items:baseline;gap:6px;margin-top:auto}
.camp-price span:first-child{font-size:14px;font-weight:700}
.camp-price-num{font-size:34px;font-weight:900}
.camp-card .btn{min-height:50px;font-size:15px}
.camp--herbst{--head:var(--yellow)}
.camp--weihnachten1{--head:#9BE7DD}
.camp--weihnachten2{--head:#D9D0FF}

/* === PREIS & LEISTUNGEN === */
.price-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px;align-items:stretch}
.price-card{grid-column:span 5;position:relative;padding:40px;border-radius:32px;background:var(--yellow);overflow:hidden;display:flex;flex-direction:column;gap:18px}
.price-card::after{content:'';position:absolute;right:-60px;bottom:-60px;width:220px;height:220px;border-radius:999px;background:var(--coral);opacity:.85;z-index:0}
.price-card > *{position:relative;z-index:1}
.price-label{font-size:13px;font-weight:700;letter-spacing:.3em}
.price-line{display:flex;align-items:baseline;gap:10px}
.price-cur{font-size:20px;font-weight:800}
.price-num{font-size:clamp(72px,7vw,96px);line-height:.9}
.price-sub{font-size:18px;font-weight:700}
.price-note{padding:14px 18px;border-radius:16px;background:rgba(255,255,255,.7);font-size:15px;line-height:1.5}
.price-card .btn{margin-top:auto;align-self:flex-start;min-height:54px;padding:0 30px}

.incl-card{grid-column:span 7;padding:40px;border-radius:32px;background:var(--white);box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:24px}
.incl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.incl-item{display:flex;gap:14px;align-items:flex-start;padding:18px;border-radius:var(--r-md);background:var(--tile)}
.incl-item svg{flex-shrink:0}
.incl-item div{display:flex;flex-direction:column;gap:4px}
.incl-item strong{font-size:16px;font-weight:800}
.incl-item span{font-size:14px;line-height:1.45;color:var(--muted)}

/* === TAGESABLAUF === */
.day-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px}
.day-photo{grid-column:span 5;position:relative;height:560px}
.day-photo .photo-back{inset:14px -10px -10px 14px;background:var(--teal);transform:rotate(2deg)}
.day-photo .photo-script{left:28px;bottom:28px}
.day-content{grid-column:span 7;display:flex;flex-direction:column;gap:24px;padding-left:24px}
.day-content .link-strong{align-self:flex-start}

.timeline{position:relative;list-style:none;margin:0;padding:0 0 0 30px;display:flex;flex-direction:column;gap:12px}
.timeline::before{content:'';position:absolute;left:8px;top:12px;bottom:12px;width:3px;border-radius:3px;background:linear-gradient(180deg,var(--coral),var(--yellow),var(--teal),var(--sky),var(--lilac),var(--ink))}
.timeline li{position:relative;padding:14px 18px;border-radius:16px;background:var(--cream);display:flex;gap:16px;align-items:baseline;font-size:15px}
.timeline li::before{content:'';position:absolute;left:-30px;top:17px;width:20px;height:20px;border-radius:999px;background:var(--dot);border:4px solid #fff}
.tl-time{width:90px;flex-shrink:0;font-weight:800;color:var(--time)}
.tl-text strong{font-weight:700}

/* === WARUM POLYSPORT === */
.why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.why-card{padding:28px;border-radius:var(--r-lg);background:var(--white);box-shadow:0 12px 30px rgba(27,31,59,.06);display:flex;flex-direction:column;gap:12px}
.why-num{font-size:40px;font-weight:900}
.why-card h3{margin:0;font-size:18px;font-weight:800}
.why-card p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}

/* === IN 3 SCHRITTEN === */
.steps-title{margin-bottom:32px}
.steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.step-card{padding:28px;border-radius:var(--r-lg);background:var(--tile);display:flex;flex-direction:column;gap:12px}
.step-num{font-size:48px;font-weight:900;line-height:1}
.step-card h3{margin:0;font-size:18px;font-weight:800}
.step-card p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}

/* === MOMENTE (Galerie) === */
.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:220px 220px;gap:12px}
.gallery .photo-slot{width:100%;height:100%;border-radius:28px}
.g-big{grid-row:span 2;position:relative;border-radius:28px;overflow:hidden}
.g-big .photo-script{left:24px;bottom:20px;font-size:clamp(38px,4vw,58px)}
.slot-coral{background:var(--tint-coral-2)}
.slot-coral .slot-name{color:var(--coral-dark)}
.slot-coral .slot-hint{color:var(--coral-dark)}
.slot-teal{background:var(--tint-teal-2)}
.slot-teal .slot-name{color:var(--teal-dark)}
.slot-teal .slot-hint{color:var(--teal-dark)}
.g-brand{border-radius:28px;background:#6547F0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;text-align:center}
.g-brand-title{font-size:22px;line-height:1.05}
.g-brand-title span{color:#fff;text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px}
.g-brand small{font-size:12px;font-weight:600;letter-spacing:.3em}

/* === FAQ === */
.faq-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px}
.faq-intro{grid-column:span 4;display:flex;flex-direction:column;gap:16px}
.faq-intro p{margin:0;font-size:16px;line-height:1.6;color:var(--muted)}
.faq-intro a{font-weight:700}
.faq-list{grid-column:span 8;display:flex;flex-direction:column;gap:12px}

/* === KONTAKT (Abschluss-Karte) === */
.section.cta-section{padding:0}
.cta-card{position:relative;border-radius:var(--r-xl);padding:64px 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:20px}
.cta-copy h2{margin:0;font-size:clamp(38px,4.2vw,60px);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}
.cta-contact{display:flex;flex-direction:column;gap:6px;padding-top:6px;font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.cta-contact a{font-weight:700}
.cta-contact strong{color:var(--ink)}

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

/* ---- Tablet quer (bis 1100px): kleinere Abstände, 2 statt 4 Spalten ---- */
@media (max-width:1100px){
  .section{padding:64px 0}
  .section-programm{padding:72px 0 64px}
  .section-head{gap:32px}
  .hero{grid-template-columns:minmax(0,1fr) 320px;gap:32px}
  .stat{padding:18px 22px}
  .hero-visual{height:540px}
  .hero-photo{width:320px;height:400px}
  .program-grid,.why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .price-layout{gap:24px}
  .price-card,.incl-card{padding:32px}
  .day-layout{gap:24px}
  .day-content{padding-left:8px}
  .steps-grid{gap:20px}
  .cta-card{padding:52px 48px}
}

/* ---- Tablet hoch (bis 900px): einspaltig ---- */
@media (max-width:900px){
  .page-head{padding-bottom:56px}
  .hero{grid-template-columns:1fr;gap:32px;padding-top:32px}
  .hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:stretch}
  .stat{padding:16px 14px;text-align:center}
  .stat-value{font-size:20px}
  .hero-visual{height:auto;display:flex;flex-direction:column;gap:20px;max-width:520px}
  .hero-photo{position:relative;width:100%;height:400px}
  .hero-photo .photo-back{inset:10px 8px -6px;transform:rotate(-3deg)}
  .next-camp{position:static;width:100%}
  .section-head{flex-direction:column;align-items:flex-start;gap:16px}
  .camp-grid{grid-template-columns:1fr;gap:20px}
  .steps-grid{grid-template-columns:1fr;gap:16px}
  .price-card,.incl-card,.day-photo,.day-content,.faq-intro,.faq-list,.cta-copy,.cta-box{grid-column:1/-1}
  .day-photo{height:340px;margin-right:10px}
  .day-content{padding-left:0}
  .faq-layout{gap:24px}
  .cta-card{gap:24px}
}

/* ---- Handy (bis 640px): Mobile-Design ---- */
@media (max-width:640px){
  .section,.section-programm{padding:48px 0}
  .overline{font-size:12px;letter-spacing:.22em}
  .h2-xl,.h2-lg,.h2-md{font-size:clamp(26px,8.4vw,34px);line-height:1.05}
  .section-title{gap:14px}
  .section-title--center{margin-bottom:28px}
  .section-head{margin-bottom:28px}
  .link-strong{display:inline-flex;align-items:center;min-height:44px}

  .mobile-bar{display:block}

  .page-head{padding-bottom:32px}
  .hero{padding-top:28px;gap:20px}
  .hero-copy{gap:20px;align-items:stretch}
  .hero .overline{line-height:1.5;letter-spacing:.2em}
  .hero h1{font-size:clamp(32px,9.7vw,38px);line-height:1.05}
  .hero-pill{align-self:flex-start;padding:12px 20px;font-size:15px}
  .hero-lead{font-size:16px}
  .hero-actions{flex-direction:column;gap:12px}
  .hero-actions .btn{width:100%}
  .hero-stats{border-radius:20px;margin-top:0}
  .stat{padding:16px 10px}
  .stat-value{font-size:17px}
  .stat-label{font-size:12px;line-height:1.3}
  .hero-visual{max-width:none;margin-top:8px}
  .hero-photo{height:360px}
  .photo-frame{border-width:5px;border-radius:26px}
  .hero-photo .photo-script{left:18px;bottom:20px;font-size:52px}
  .next-camp{padding:20px}
  .next-camp-foot{padding-top:10px}
  .next-camp-foot span:first-child,.next-camp-foot span:last-child{font-size:15px}

  .section.incl-bar{padding:28px 0}
  .incl-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;align-items:start}
  .incl-list li{align-items:flex-start;gap:8px;line-height:1.35}
  .incl-list li:last-child{grid-column:span 2}

  .program-grid{gap:12px}
  .tile{padding:16px;border-radius:22px;gap:12px}
  .tile-icon{width:44px;height:44px}
  .tile-icon svg{width:24px;height:24px}
  .tile-title{font-size:17px}
  .tile-text p{font-size:15px;line-height:1.45}

  .camp-card{border-radius:26px}
  .camp-card-head{padding:16px 20px}
  .camp-card-head h3{font-size:19px}
  .camp-card-body{padding:20px}
  .camp-date{font-size:19px;line-height:1.3}
  .camp-price-num{font-size:32px}
  .camp-card .btn{min-height:52px;font-size:16px}

  .price-layout{gap:24px}
  .price-card{padding:28px 24px;border-radius:28px;gap:16px}
  .price-card::after{width:180px;height:180px}
  .price-label{font-size:12px;letter-spacing:.25em}
  .price-cur{font-size:18px}
  .price-num{font-size:80px}
  .price-sub{font-size:17px;line-height:1.4}
  .price-card .btn{align-self:stretch;width:100%}
  .incl-card{padding:28px 20px;border-radius:28px;gap:20px}
  .incl-grid{grid-template-columns:1fr}

  .day-photo{height:340px;margin-right:6px}
  .timeline{padding-left:28px}
  .timeline li{flex-direction:column;gap:2px;padding:12px 16px}
  .timeline li::before{left:-28px;top:14px;width:18px;height:18px}
  .tl-time{width:auto}

  .why-grid{grid-template-columns:1fr;gap:16px}
  .why-card{padding:24px}
  .why-num{font-size:34px}
  .steps-title{margin-bottom:28px}
  .step-card{padding:24px}
  .step-num{font-size:40px}

  .gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:170px}
  .g-big{grid-column:span 2;grid-row:auto;height:260px}
  .g-big .photo-script{font-size:42px}
  .gallery .photo-slot,.g-brand{border-radius:22px}
  .g-big{border-radius:26px}

  .faq summary{padding:16px 18px}
  .faq .faq-body{padding:0 18px 18px}

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

/* === Feinschliff Handy: Galerie-Titel nicht breiter als die Kachel === */
@media (max-width:640px){.g-brand-title{font-size:18px;overflow-wrap:anywhere}}
