/* ==========================================================================
   Startbühne der Startseite ([kcs_startbuehne], 2.28.0)
   Design-Schema der Website: Schwarz #050608, Anthrazit-Karte, Gold,
   Oswald. Schriftgrössen in px — die Website setzt html auf 10px.
   ========================================================================== */

.kcs-bue {
  box-sizing: border-box; position: relative; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 26px 30px 24px; border: 1px solid rgba(192, 148, 87, .5); border-radius: 18px;
  background: linear-gradient(135deg, rgba(192, 148, 87, .20), rgba(20, 22, 25, .92) 55%);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .8);
  color: #e5e7eb; font-family: Inter, "Segoe UI", Poppins, sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.kcs-bue *, .kcs-bue *::before, .kcs-bue *::after { box-sizing: border-box; }

.kcs-bue__kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.kcs-bue__marke {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px;
  background: #c09457; color: #050608; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.kcs-bue__zeit { color: #e0b872; font-family: Oswald, sans-serif; font-size: 20px; font-weight: 500; letter-spacing: .02em; }
.kcs-bue__titel { margin: 4px 0 6px !important; padding: 0 !important; font-family: Oswald, sans-serif !important; font-size: 40px !important; font-weight: 600 !important; line-height: 1.1 !important; letter-spacing: .01em; color: #ffffff !important; text-transform: none !important; }
.kcs-bue__meta { margin: 0 0 18px !important; color: #d1d5db; font-size: 17px; }

.kcs-bue__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.kcs-bue__knopf {
  display: inline-block; padding: 13px 24px; border-radius: 10px; background: #c09457; color: #050608 !important;
  font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none !important; transition: background .15s, transform .15s;
}
.kcs-bue__knopf:hover, .kcs-bue__knopf:focus { background: #e0b872; transform: translateY(-1px); }
.kcs-bue__knopf--leise { background: rgba(5, 6, 8, .55); color: #e5e7eb !important; border: 1px solid #5b5f66; }
.kcs-bue__knopf--leise:hover, .kcs-bue__knopf--leise:focus { background: #141619; color: #ffffff !important; }

.kcs-bue__hinweis {
  margin: 0 0 16px !important; padding: 10px 16px; border-radius: 10px; border-left: 4px solid #c09457;
  background: rgba(192, 148, 87, .16); color: #ffffff; font-size: 16px; font-weight: 600;
}
.kcs-bue__hinweis--warnung { border-left-color: #f43f5e; background: rgba(244, 63, 94, .16); }
.kcs-bue__hinweis--ok { border-left-color: #10b981; background: rgba(16, 185, 129, .16); }

.kcs-bue__weitere { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); color: #9ca3af; font-size: 15px; }
.kcs-bue__weitere a { color: #e0b872 !important; font-weight: 600; text-decoration: none !important; }
.kcs-bue__weitere a:hover { text-decoration: underline !important; }

/* Renntag: roter, pulsierender Punkt — LIVE */
.kcs-bue--live { border-color: rgba(244, 63, 94, .6); background: linear-gradient(135deg, rgba(244, 63, 94, .22), rgba(20, 22, 25, .92) 55%); }
.kcs-bue--live .kcs-bue__marke { background: #f43f5e; color: #ffffff; }
.kcs-bue__punkt { width: 9px; height: 9px; border-radius: 50%; background: #ffffff; animation: kcs-bue-puls 1.2s ease-in-out infinite; }
@keyframes kcs-bue-puls { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .kcs-bue__punkt { animation: none; } }

.kcs-bue--nachher .kcs-bue__marke, .kcs-bue--bald .kcs-bue__marke { background: rgba(5, 6, 8, .6); color: #e0b872; border: 1px solid #c09457; }
.kcs-bue--leer { text-align: center; }

.kcs-bue__vorschau {
  max-width: 1280px; margin: 0 auto 10px !important; padding: 6px 12px; border-radius: 8px;
  background: #7c3aed; color: #ffffff; font-family: Inter, "Segoe UI", sans-serif; font-size: 14px; font-weight: 600; text-align: center;
}

/* Vorschau-Leiste (Testsystem / Administratoren) */
.kcs-bue-vl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 1280px; margin: 12px auto 0; padding: 10px 14px;
  border: 1px dashed #7c3aed; border-radius: 12px; background: rgba(124, 58, 237, .14); font-family: Inter, "Segoe UI", sans-serif; font-size: 14px; }
.kcs-bue-vl__titel { color: #c4b5fd; font-weight: 700; margin-right: 4px; }
.kcs-bue-vl__phase { padding: 5px 10px; border-radius: 8px; background: rgba(5, 6, 8, .6); border: 1px solid #4c1d95; color: #e5e7eb !important; text-decoration: none !important; }
.kcs-bue-vl__phase small { color: #9ca3af; }
.kcs-bue-vl__phase:hover, .kcs-bue-vl__phase--aktiv { background: #7c3aed; border-color: #7c3aed; color: #ffffff !important; }
.kcs-bue-vl__phase--aktiv small, .kcs-bue-vl__phase:hover small { color: #ede9fe; }

@media (max-width: 700px) {
  .kcs-bue { padding: 20px 18px; }
  .kcs-bue__titel { font-size: 30px !important; }
  .kcs-bue__meta { font-size: 15px; }
  .kcs-bue__knopf { flex: 1 1 100%; text-align: center; }
}
