/* Kosmonovski Hauptseite: einheitlicher Look (gleiche Formensprache wie der Hörprobe-Player).
   Wird nur von index.html geladen, alle Regeln gelten nur unter body.site. */

.site {
  --k-blue: #019fe0;
  --k-beige: #fbf0c8;
  --k-card: #0d0d0f;
  --k-line: rgba(251, 240, 200, 0.14);
  --k-muted: rgba(251, 240, 200, 0.6);
  --k-spotify: #1db954;
}

/* ---------- Linien ---------- */
.site hr,
.site .hr {
  border: 0;
  height: 1px;
  opacity: 1;
  background: var(--k-line);
}
.site .hr-blurry {
  background-image: linear-gradient(90deg, transparent, rgba(251, 240, 200, 0.28), transparent);
  background-color: transparent;
}

/* ---------- Navigation ---------- */
.site .navbar-dark .navbar-nav .nav-link {
  color: var(--k-beige) !important;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site .navbar-dark .navbar-nav .nav-link:hover {
  color: var(--k-blue) !important;
  border-bottom-color: var(--k-blue);
}
.site .navbar-toggler {
  border-color: var(--k-line);
  border-radius: 999px;
}

/* ---------- Überschriften ---------- */
.site .section-title {
  color: var(--k-beige);
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 2.5rem;
}
.site .section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--k-blue);
  margin: 0.8rem auto 0;
}

.site .kicker {
  color: var(--k-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.site .event-date {
  color: var(--k-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* ---------- Album-Bereich unter dem Cover ---------- */
.site .hero-text {
  margin: 1.75rem 0 1.25rem;
}
.site .hero-title {
  color: var(--k-beige);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.4rem;
}
.site .hero-sub {
  color: var(--k-muted);
  margin: 0;
}

/* Cover und Bandfoto: runde Ecken, weicher Schatten */
.site #myCarousel .carousel-inner,
.site .band-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(1, 159, 224, 0.15), 0 4px 14px rgba(0, 0, 0, 0.6);
}

/* ---------- Knöpfe: ein Stil für alles ---------- */
.site .pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.3rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(251, 240, 200, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--k-beige);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}
.site .pill-btn:hover {
  color: var(--k-blue) !important;
  border-color: var(--k-blue);
  transform: translateY(-1px);
}
.site .pill-btn:focus-visible {
  outline: 2px solid var(--k-blue);
  outline-offset: 3px;
}
.site .pill-btn i {
  font-size: 1rem;
}

/* gefüllter Hauptknopf (Senden) */
.site .pill-filled {
  background: var(--k-beige);
  border-color: var(--k-beige);
  color: #000;
}
.site .pill-filled:hover {
  background: var(--k-blue);
  border-color: var(--k-blue);
  color: #000 !important;
}

/* Spotify-Knöpfe */
.site .pill-spotify {
  border-color: rgba(29, 185, 84, 0.55);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}
.site .pill-spotify i {
  color: var(--k-spotify);
  font-size: 1.35rem;
}
.site .pill-spotify:hover {
  background: var(--k-spotify);
  border-color: var(--k-spotify);
  color: #000 !important;
}
.site .pill-spotify:hover i {
  color: #000;
}
.site .pill-spotify.pill-filled {
  background: var(--k-spotify);
  border-color: var(--k-spotify);
  color: #000;
}
.site .pill-spotify.pill-filled i {
  color: #000;
}
.site .pill-spotify.pill-filled:hover {
  background: var(--k-beige);
  border-color: var(--k-beige);
}

.site .pill-badge {
  margin-left: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #cf3a68;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Runde Social-Icons */
.site .social-btn {
  width: 48px;
  height: 48px;
  margin: 0 0.3rem;
  border-radius: 50%;
  border: 1px solid rgba(251, 240, 200, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--k-beige);
  font-size: 1.25rem;
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.site .social-btn:hover {
  color: var(--k-blue) !important;
  border-color: var(--k-blue);
  transform: translateY(-2px);
}

/* ---------- Band ---------- */
.site #band h4 strong {
  color: var(--k-blue);
  letter-spacing: 0.08em;
}

/* ---------- Kontaktformular als Karte ---------- */
.site .form-card {
  background: var(--k-card);
  border: 1px solid var(--k-line);
  border-radius: 14px;
  padding: 2rem 1.5rem 1.5rem;
  margin-top: 1rem;
}
.site .form-card .section-title {
  margin-bottom: 1.75rem;
}
.site .form-card .form-outline {
  margin-bottom: 0.9rem;
}
.site .form-card .form-outline .form-control {
  background: #000 !important;
  color: var(--k-beige);
  margin: 0 !important;
}
.site .form-card .form-label {
  color: var(--k-muted) !important;
}

/* ---------- Archiv ---------- */
.site .archive p.kosmonovski-beige {
  margin-bottom: 0.4rem;
}
.site .archive > .pill-btn:first-of-type {
  margin-top: 1.25rem;
}

/* ---------- Fenster (Archiv, Impressum, Datenschutz, Kontakt) im dunklen Look ---------- */
.site .modal-content {
  background: var(--k-card);
  color: rgba(251, 240, 200, 0.85);
  border: 1px solid var(--k-line);
  border-radius: 14px;
  text-align: left;
}
.site .modal-header,
.site .modal-footer {
  border-color: var(--k-line);
}
.site .modal-title {
  color: var(--k-blue);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site .modal-body {
  font-size: 0.9rem;
  line-height: 1.6;
}
.site .modal-body h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--k-beige);
  margin-bottom: 1rem;
}
.site .modal-body h2,
.site .modal-body h3,
.site .modal-body h6 {
  color: var(--k-blue);
  font-weight: 700;
  margin: 1.4rem 0 0.5rem;
}
.site .modal-body h2 { font-size: 1.1rem; }
.site .modal-body h3 { font-size: 0.98rem; }
.site .modal-body h6 { font-size: 0.9rem; }
.site .modal-body a { color: var(--k-blue); }
.site .modal-body li a {
  display: inline;
  background: transparent;
  text-align: left;
}
.site .modal-body .seal img {
  max-width: 160px;
  height: auto;
}
.site .btn-close {
  filter: invert(1) grayscale(1) brightness(1.6);
}

/* Archiv-Listen: zweispaltig und kompakt */
.site .archive .modal-body {
  columns: 1;
}
.site .archive .modal-body p {
  margin: 0 0 0.35rem;
  padding-left: 0.9rem;
  position: relative;
  break-inside: avoid;
}
.site .archive .modal-body p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--k-blue);
}
@media (min-width: 576px) {
  .site .archive .modal-body {
    columns: 2;
    column-gap: 2rem;
  }
}
@media (min-width: 768px) {
  .site .archive .modal-dialog {
    max-width: 720px;
  }
}

/* Kontakt-Popup: Symbol mittig */
.site #kontaktModal .modal-body {
  text-align: center;
}

/* Spotify-Knöpfe unter dem Album: am Handy untereinander, am Desktop in einer Reihe */
.site .hero-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 992px) {
  .site .hero-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Startbereich: Cover so groß, dass Überschrift und Knöpfe noch auf den Bildschirm passen */
  .site #myCarousel {
    max-width: clamp(480px, calc(100vh - 380px), 820px);
  }
}

/* Eingabefelder: nur ein feiner Rahmen (statt doppelt), blau beim Tippen */
.site .form-card .form-notch {
  display: none;
}
.site .form-card .form-outline .form-control {
  border: 1px solid rgba(251, 240, 200, 0.28) !important;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  transition: border-color 0.15s;
}
.site .form-card .form-outline .form-control:focus {
  border-color: var(--k-blue) !important;
  box-shadow: none;
}
.site .form-card .form-outline .form-label {
  padding-top: 0.15rem;
}
.site .form-card .form-outline .form-control:focus ~ .form-label,
.site .form-card .form-outline .form-control.active ~ .form-label {
  background: #000;
  padding: 0 0.35rem;
  color: var(--k-blue) !important;
}

/* ---------- Social Media: Karten, offizielle Fenster laden erst nach Klick ---------- */
.site .social-section {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  text-align: center;
}
.site .social-card {
  background: var(--k-card);
  border: 1px solid var(--k-line);
  border-radius: 14px;
  padding: 1.1rem;
  text-align: left;
}
.site .social-card-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--k-line);
}
.site .social-card-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}
.site .social-facebook { background: #1877f2; }
.site .social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.site .social-tiktok { background: #000; border: 1px solid var(--k-line); box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset; }
.site .social-card-name h3 {
  margin: 0;
  color: var(--k-beige);
  font-size: 1rem;
  font-weight: 700;
}
.site .social-card-name p {
  margin: 0;
  color: var(--k-muted);
  font-size: 0.8rem;
}
.site .social-card-open {
  margin-left: auto;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  border: 1px solid var(--k-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--k-muted);
  font-size: 0.85rem;
  transition: color 0.15s, border-color 0.15s;
}
.site .social-card-open:hover {
  color: var(--k-blue) !important;
  border-color: var(--k-blue);
}
.site .social-consent {
  text-align: center;
  padding: 1.25rem 0.25rem 0.25rem;
}
.site .social-consent-text {
  color: var(--k-beige);
  margin-bottom: 1rem;
}
.site .social-remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0.6rem;
  color: var(--k-muted);
  font-size: 0.8rem;
  cursor: pointer;
}
.site .social-remember input {
  accent-color: var(--k-blue);
  width: 16px;
  height: 16px;
}
.site .social-note {
  margin: 0;
  color: var(--k-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}
.site .social-privacy-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--k-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.site .social-embed {
  display: flex;
  justify-content: center;
}
.site .social-embed > * {
  max-width: 100%;
}
.site .social-frame {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #fff;
  display: block;
}
/* Facebook/TikTok-Fenster: volle Kartenbreite, sonst rechnet Facebook mit Mindestbreite */
.site .social-embed > .fb-page,
.site .social-embed > .tiktok-embed {
  width: 100%;
}
.site .social-embed .fb-page > span,
.site .social-embed .fb-page iframe {
  max-width: 100%;
}

/* Social-Karten: alle gleich hoch, Inhalt senkrecht mittig */
.site .social-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.site .social-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.site .social-embed {
  align-items: center;
}

/* Facebook: Beitrags-Vorschau (Daten von fb-feed.php) */
.site .social-card.has-feed .social-card-body {
  justify-content: flex-start;
}
.site .fb-feed {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.site .fb-post {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.55rem;
  border: 1px solid var(--k-line);
  border-radius: 10px;
  color: var(--k-beige);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.site .fb-post:hover {
  border-color: var(--k-blue);
  background: rgba(1, 159, 224, 0.06);
  color: var(--k-beige) !important;
}
.site .fb-post-img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #1877f2;
}
.site .fb-post-noimg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}
.site .fb-post-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.site .fb-post-text time {
  color: var(--k-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.site .fb-post-msg {
  font-size: 0.85rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site .fb-feed-more {
  align-self: center;
  margin-top: 0.4rem;
}

/* Knopf mit zweiter Zeile (z. B. "ab 11.11. auf Spotify!") */
.site .pill-lines {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
}
.site .pill-line-2 {
  font-size: 0.78em;
  opacity: 0.85;
}
/* Desktop: wieder alles in einer Zeile, nur am Handy zweizeilig */
@media (min-width: 992px) {
  .site .pill-lines {
    display: inline;
  }
  .site .pill-lines > span {
    display: inline;
  }
  .site .pill-line-2 {
    font-size: inherit;
    opacity: 1;
  }
}

/* ---------- Menue-Sprung: Ziel leuchtet kurz auf (custom/js/nav.js) ---------- */
@keyframes k-flash-text {
  0%, 100% { color: var(--k-beige); text-shadow: none; }
  30%, 70% { color: var(--k-blue); text-shadow: 0 0 14px rgba(1, 159, 224, 0.9), 0 0 3px rgba(1, 159, 224, 0.9); }
}
@keyframes k-flash-bar {
  0%, 100% { width: 44px; }
  50% { width: 140px; }
}
@keyframes k-flash-box {
  0%, 100% { box-shadow: none; color: var(--k-beige); }
  30%, 70% { box-shadow: 0 0 0 2px var(--k-blue), 0 0 18px rgba(1, 159, 224, 0.7); color: var(--k-blue); }
}
.site .section-title.nav-flash {
  animation: k-flash-text 1s ease-in-out 3;
}
.site .section-title.nav-flash::after {
  animation: k-flash-bar 1s ease-in-out 3;
}
.site .legal-link.nav-flash {
  border-radius: 999px;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  animation: k-flash-box 1s ease-in-out 3;
}
@media (prefers-reduced-motion: reduce) {
  .site .section-title.nav-flash,
  .site .section-title.nav-flash::after,
  .site .legal-link.nav-flash {
    animation: none;
    color: var(--k-blue);
  }
  .site .legal-link.nav-flash {
    box-shadow: 0 0 0 2px var(--k-blue);
  }
}
