/* ============================================================
   Startseite (home) – seitenspezifisches CSS
   ============================================================ */

/* ── Hero ── */
.hero{position:relative;overflow:hidden;background:var(--navy);text-align:center;isolation:isolate}
.hero-bg{position:absolute;inset:0;background-color:#243154;
  background-image:url('/images/hero.jpg');background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-overlay{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(15,22,44,.62),rgba(15,22,44,.9)),
    radial-gradient(800px 360px at 80% -10%,rgba(62,204,92,.18),transparent 60%)}
.hero-content{position:relative;z-index:1;max-width:780px;margin:0 auto;padding:90px 24px 96px}
.badge{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.22);color:#fff;font-size:13px;font-weight:700;
  padding:7px 14px;border-radius:999px;backdrop-filter:blur(4px)}
.badge .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(62,204,92,.25)}
.hero-logo{width:118px;height:auto;display:block;margin:22px auto 0;filter:drop-shadow(0 12px 30px rgba(0,0,0,.45))}
.hero h1{font-size:clamp(38px,6vw,62px);font-weight:800;color:#fff;margin:14px 0 0}
.hero h1 .hl{color:var(--accent)}
.hero .lead{font-size:19px;color:#c9d2e6;margin:18px auto 30px;max-width:560px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.hero-meta{margin-top:26px;display:flex;gap:22px;flex-wrap:wrap;justify-content:center;color:#aeb9d4;font-size:14px;font-weight:600}
.hero-meta span{display:flex;align-items:center;gap:7px}
.hero-meta .lucide{width:16px;height:16px}
@media(max-width:600px){.hero-content{padding:64px 22px 72px}}

/* ── Sections ── */
section{padding:80px 0}
.sec-soft{background:var(--bg-soft)}
.sec-head{text-align:center;max-width:640px;margin:0 auto 48px}
.sec-tag{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--accent-deep)}
.sec-head h2{font-size:clamp(28px,4vw,40px);font-weight:800;color:var(--navy);margin:12px 0 14px}
.sec-head p{font-size:17px;color:var(--muted)}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;position:relative}
.step-num{width:42px;height:42px;border-radius:12px;background:var(--navy);color:#fff;
  font-family:'Sora';font-weight:800;font-size:18px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.step h3{font-size:19px;color:var(--navy);margin-bottom:8px}
.step p{font-size:15px;color:var(--muted)}

/* Features */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;
  transition:transform .18s ease,box-shadow .2s ease,border-color .2s}
.feat:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d7deea}
.feat-ico{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-size:23px;background:rgba(62,204,92,.12);margin-bottom:16px;overflow:hidden}
.feat-ico img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.feat-ico .lucide{width:24px;height:24px;color:var(--accent-deep);vertical-align:0}
.feat h3{font-size:18px;color:var(--navy);margin-bottom:7px}
.feat p{font-size:14.5px;color:var(--muted)}
@media(max-width:820px){.steps,.feat-grid{grid-template-columns:1fr}}

/* Galerie */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.gallery figure{position:relative;margin:0;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);background:var(--bg-soft);aspect-ratio:4/3}
.gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.gallery figure:hover img{transform:scale(1.04)}
.gallery figure.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-size:13px;font-weight:600}
.gallery figure.empty .lucide{width:22px;height:22px}
@media(max-width:820px){.gallery{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.gallery{grid-template-columns:1fr}}

/* Deine Herde */
.herd-actions{display:flex;gap:10px;max-width:520px;margin:0 auto 26px;flex-wrap:wrap}
.herd-actions input{flex:1;min-width:180px;background:#fff;border:1.5px solid var(--line);
  border-radius:999px;padding:12px 18px;font-size:15px;font-family:inherit;outline:none;color:var(--text)}
.herd-actions input:focus{border-color:var(--accent-deep)}
.herd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.herd-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.herd-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.herd-card-head h3{font-size:18px;color:var(--navy)}
.herd-leave{background:transparent;border:none;color:var(--muted);font-size:12px;font-weight:600;cursor:pointer}
.herd-leave:hover{color:#c0392b}
.herd-member{display:flex;align-items:center;gap:10px;padding:7px 0;border-top:1px solid var(--line);font-size:14px}
.herd-member:first-of-type{border-top:none}
.herd-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;background:#c2cad8}
.herd-dot.on{background:var(--accent);box-shadow:0 0 0 3px rgba(62,204,92,.2)}
.herd-name{font-weight:700}
.herd-status{margin-left:auto;font-size:12.5px;color:var(--muted)}
.herd-status.playing{color:var(--accent-deep);font-weight:700}

/* CTA */
.cta-band{background:var(--navy);border-radius:28px;padding:56px 40px;text-align:center;position:relative;overflow:hidden}
.cta-band::after{content:"";position:absolute;inset:0;background:
  radial-gradient(600px 220px at 50% -30%,rgba(62,204,92,.22),transparent 60%);pointer-events:none}
.cta-band h2{font-size:clamp(26px,3.6vw,38px);color:#fff;font-weight:800;position:relative}
.cta-band p{color:#aeb9d4;font-size:17px;margin:14px auto 28px;max-width:520px;position:relative}
.cta-band .hero-cta{justify-content:center;position:relative}
