/* ============================================================
   karlasruhe.de – Neue Startseite (start.php)
   Baut auf den Marken-Tokens aus /open/style.css auf.
   ============================================================ */

/* ── HERO (Grafik trägt bereits Text/Icons, nur noch Bild) ─── */
.s-hero {
  position: relative;
  max-width: 1856px;
  margin: 0 auto;
}

.s-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Klick-/Tastaturziel über dem "Ich will mitgestalten"-Button
   in der Grafik – Text bleibt sichtbar nur im Bild, aber der Link
   ist echt bedienbar (Tastatur, Screenreader, Touch). */
.s-hero-cta {
  position: absolute;
  left: 8%;
  top: 79%;
  width: clamp(160px, 24%, 500px);
  height: clamp(44px, 8%, 120px);
  display: block;
  border-radius: 4px;
}
.s-hero-cta:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

/* Klick-/Tastaturziel über der Tür selbst im Bild – führt zur
   vollständigen Website (/open/), analog zum "Ich gehe durch die
   Tür"-Button weiter unten auf der Seite. */
.s-hero-door-cta {
  position: absolute;
  left: 53%;
  top: 8%;
  width: 18%;
  height: 88%;
  display: block;
  border-radius: 8px;
}
.s-hero-door-cta:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

/* Nur für Screenreader/SEO sichtbar – der Text steckt visuell im Bild */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── NAVY-BAND ───────────────────────────────────────────── */
.s-band {
  background: var(--navy);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.s-badge-circle {
  width: 150px;
  height: 150px;
  border: 1px solid rgba(212,168,75,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1.5;
}
.s-band h2 {
  font-family: 'Georgia', serif;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--gold-light);
  line-height: 1.35;
  margin-bottom: 0.9rem;
}
.s-band p {
  font-family: 'Georgia', serif;
  font-size: 0.98rem;
  color: rgba(245,240,232,0.82);
  line-height: 1.75;
  max-width: 52ch;
}

/* ── MITMACHEN ───────────────────────────────────────────── */
.s-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 3rem;
}
.s-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.8rem;
}
.s-section h2.s-heading {
  font-family: 'Georgia', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 2.5rem;
}

.s-mitmachen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.s-mitmachen-card {
  border: 1px solid rgba(184,148,42,0.3);
  border-radius: 6px;
  padding: 1.75rem 1.6rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.s-mitmachen-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(26,35,64,0.08);
  transform: translateY(-2px);
}
.s-mitmachen-card .s-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  color: var(--gold-text);
  margin-bottom: 1rem;
}
.s-mitmachen-card .s-icon svg { width: 100%; height: 100%; }
.s-mitmachen-card h3 {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.s-mitmachen-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.s-mitmachen-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-left: -0.6rem;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-text);
  text-decoration: none;
}
.s-mitmachen-card a:hover { text-decoration: underline; }

.s-center { text-align: center; }

/* ── PROTOTYP ────────────────────────────────────────────── */
.s-prototyp {
  border: 1px solid rgba(184,148,42,0.3);
  border-radius: 10px;
  background: #fff;
  padding: 3rem;
  display: grid;
  grid-template-columns: 380px 1fr 260px;
  gap: 2.5rem;
  align-items: center;
}
.s-prototyp-image {
  position: relative;
}
.s-prototyp-image img { width: 100%; height: auto; display: block; }
.s-prototyp-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gold-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(26,35,64,0.25);
}
.s-prototyp-body h2 { margin-bottom: 1rem; }
.s-prototyp-body p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  max-width: 44ch;
}
.s-checklist { list-style: none; }
.s-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: var(--navy);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26,35,64,0.08);
}
.s-checklist li:last-child { border-bottom: none; }
.s-checklist .s-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-text);
  color: var(--gold-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.s-checklist .s-check svg { width: 11px; height: 11px; }

/* ── ZITAT-BAND ──────────────────────────────────────────── */
.s-quote-band {
  background: var(--navy);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.s-quote-mark {
  font-family: 'Georgia', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.s-quote-text {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--cream);
  line-height: 1.6;
  flex: 1;
  min-width: 280px;
}

/* ── ABSCHLUSS ───────────────────────────────────────────── */
.s-closing {
  text-align: center;
  padding: 4.5rem 2rem;
  background: var(--cream);
}
.s-closing p {
  font-family: 'Georgia', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.75;
  color: var(--navy);
}
.s-closing .s-gold { color: var(--gold-text); }
.s-closing .s-strong { font-weight: 700; color: var(--navy); }

/* ── BILDMATERIAL (Galerie unter dem Abschluss) ──────────── */
.s-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem 4.5rem;
  background: var(--cream);
}
.s-gallery-item {
  display: block;
  width: 100%;
  max-width: 640px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26,35,64,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}
.s-gallery-item:hover,
.s-gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(26,35,64,0.18);
}
.s-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── BUTTON-VARIANTEN (ergänzt open/style.css) ──────────── */
.btn-outline-gold {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid var(--gold-light);
  color: var(--gold-light);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.btn-outline-gold:hover { background: var(--gold-light); color: var(--navy); text-decoration: none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .s-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .s-prototyp { grid-template-columns: 1fr; text-align: center; }
  .s-prototyp-image { max-width: 420px; margin: 0 auto; }
  .s-checklist li { justify-content: center; }
}

@media (max-width: 700px) {
  .s-section { padding: 3.5rem 1.5rem; }
  .s-mitmachen-grid { grid-template-columns: 1fr; }
  .s-band { padding: 2.5rem 1.5rem; }
  .s-prototyp { padding: 1.75rem; }
  .s-quote-band { padding: 2.5rem 1.5rem; text-align: center; justify-content: center; }
}
