/* Hochheim Weimar - Komponenten fuer HH-DCEs (hh_hero, hh_stats, hh_steps, hh_cards, hh_split, hh_gallery, hh_faq, hh_cta) */
.hh{--hh-blue:#0094d8;--hh-blue-dark:#006a9c;--hh-blue-soft:#e6f4fb;--hh-ink:#1f2a33;--hh-muted:#5b6770;--hh-line:#dbe3e8;--hh-bg:#f6f9fb;
  color:var(--hh-ink);line-height:1.6;box-sizing:border-box}
.hh *,.hh *::before,.hh *::after{box-sizing:border-box}
.hh h2,.hh h3{line-height:1.25;margin:0 0 .5em;color:var(--hh-ink)}
.hh p{margin:0 0 1em}
.hh a{color:var(--hh-blue-dark)}
.hh-section{padding:40px 0}
.hh-title-xl{font-size:clamp(1.9rem,4vw,2.8rem);margin-bottom:.3em}

/* Hero */
.hh-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hh-chain{font-size:clamp(1.05rem,2vw,1.3rem);font-weight:600;color:var(--hh-blue-dark);margin-bottom:1em}
.hh-hero-img{position:relative;overflow:hidden;background:var(--hh-blue-soft);aspect-ratio:4/3}
.hh-hero-img img{width:100%;height:100%;object-fit:cover;display:block}
.hh-badge{position:absolute;left:16px;bottom:16px;background:var(--hh-blue);color:#fff;padding:10px 16px;font-weight:700;line-height:1.2;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.hh-badge small{display:block;font-weight:500;font-size:.8rem;opacity:.9}
.hh-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:1.4em}
.hh-btn{display:inline-block;padding:12px 22px;font-weight:700;text-decoration:none;border:2px solid var(--hh-blue);transition:background .2s,color .2s}
.hh .hh-btn-primary{background:var(--hh-blue);color:#fff}
.hh .hh-btn-primary:hover{background:var(--hh-blue-dark);border-color:var(--hh-blue-dark);color:#fff}
.hh .hh-btn-ghost{background:transparent;color:var(--hh-blue-dark)}
.hh .hh-btn-ghost:hover{background:var(--hh-blue-soft)}

/* Kennzahlen */
.hh-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:28px 0}
.hh-stat{background:var(--hh-bg);padding:20px;text-align:center}
.hh-stat b{display:block;font-size:2rem;color:var(--hh-blue);line-height:1.1}
.hh-stat span{color:var(--hh-muted);font-size:.95rem}

/* Prozess */
.hh-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:28px;counter-reset:hhstep}
.hh-step{position:relative;background:#fff;border:1px solid var(--hh-line);padding:24px 20px 20px;display:flex;flex-direction:column}
.hh-step::before{counter-increment:hhstep;content:counter(hhstep);position:absolute;top:-14px;left:20px;width:28px;height:28px;background:var(--hh-blue);color:#fff;font-weight:700;font-size:.9rem;display:flex;align-items:center;justify-content:center}
.hh-step svg{width:44px;height:44px;stroke:var(--hh-blue);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin:0 0 0 auto}
.hh-step h3{font-size:1.1rem}
.hh-step p{font-size:.95rem;color:var(--hh-muted);margin:0 0 16px}
.hh-step svg{margin-top:auto}

/* Kacheln */
.hh-cards{display:grid;gap:16px;margin-top:24px}
.hh-cards.hh-cols-3{grid-template-columns:repeat(3,1fr)}
.hh-cards.hh-cols-2{grid-template-columns:repeat(2,1fr)}
.hh-card{background:var(--hh-bg);padding:20px;overflow:hidden}
.hh-card-img{margin:-20px -20px 16px -20px;background:#fff;aspect-ratio:4/3}
.hh-card-img img{width:100%;height:100%;display:block}
.hh-fit-contain img{object-fit:contain}
.hh-fit-cover img{object-fit:cover}
.hh-card-title{font-size:1.05rem;margin-bottom:.35em}
.hh-card p{font-size:.93rem;color:var(--hh-muted);margin:0}

/* Split */
.hh-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:start}
.hh-split-reverse .hh-split-text{order:2}
.hh-split-reverse{grid-template-columns:1.1fr .9fr}
.hh-duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.hh-duo-item{overflow:hidden;background:#fff}
.hh-duo-item img{width:100%;height:100%;display:block}
.hh-duo.hh-fit-cover .hh-duo-item{aspect-ratio:3/4}
.hh-benefits{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.hh-benefits li{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--hh-line);padding:16px}
.hh-chk{flex:0 0 28px;height:28px;background:var(--hh-blue-soft);color:var(--hh-blue);display:flex;align-items:center;justify-content:center;font-weight:700}
.hh-chk::before{content:"\2713"}
.hh-benefits b{display:block}
.hh-benefits li span:not(.hh-chk){color:var(--hh-muted);font-size:.95rem}

/* Galerie */
.hh-gallery{display:grid;gap:16px;margin-top:24px}
.hh-gallery.hh-cols-3{grid-template-columns:repeat(3,1fr)}
.hh-gallery.hh-cols-4{grid-template-columns:repeat(4,1fr)}
.hh-gallery figure{margin:0;background:#fff;border:1px solid var(--hh-line);overflow:hidden}
.hh-ph{aspect-ratio:1/1;background:#fff;padding:6px}
.hh-ph img{width:100%;height:100%;display:block}
.hh-gallery figcaption{font-size:.88rem;color:var(--hh-muted);padding:10px 12px;border-top:1px solid var(--hh-line)}

/* FAQ */
.hh-faq{border:1px solid var(--hh-line);padding:14px 18px;margin-bottom:10px;background:#fff}
.hh-faq summary{cursor:pointer;font-weight:700;list-style:none;position:relative;padding-right:28px}
.hh-faq summary::-webkit-details-marker{display:none}
.hh-faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:1.4rem;line-height:1;color:var(--hh-blue)}
.hh-faq[open] summary::after{content:"\2013"}
.hh-faq p{margin:.7em 0 0;color:var(--hh-muted)}

/* CTA */
.hh-cta{background:var(--hh-blue);color:#fff;padding:36px;display:grid;grid-template-columns:1.3fr 1fr;gap:28px;align-items:center;margin:40px 0}
.hh-cta h2,.hh-cta p{color:#fff}
.hh-contact{background:rgba(255,255,255,.12);padding:20px;line-height:1.8}
.hh-contact p{margin:0}
.hh-cta a,.hh-contact a{color:#fff;font-weight:700}
.hh-cta .hh-btn-primary{background:#fff;color:var(--hh-blue-dark);border-color:#fff}
.hh .hh-cta .hh-btn-primary:hover,.hh-cta .hh-btn-primary:hover{background:var(--hh-blue-soft);color:var(--hh-blue-dark)}

/* Desktop: mehr Abstand im Kachel-Raster */
@media (min-width:901px){
  .hh-cards{gap:2rem}
}

@media (max-width:900px){
  .hh-hero-grid,.hh-split,.hh-split-reverse,.hh-cta{grid-template-columns:1fr}
  .hh-split-reverse .hh-split-text{order:0}
  .hh-steps{grid-template-columns:repeat(2,1fr);row-gap:32px}
  .hh-stats{grid-template-columns:repeat(2,1fr)}
  .hh-gallery.hh-cols-3,.hh-gallery.hh-cols-4{grid-template-columns:repeat(2,1fr)}
  .hh-cards.hh-cols-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .hh-steps,.hh-cards.hh-cols-3,.hh-cards.hh-cols-2,.hh-gallery.hh-cols-3,.hh-gallery.hh-cols-4{grid-template-columns:1fr}
  .hh-cta{padding:24px}
  .hh-section{padding:32px 0}
}
