/* ===================================================
   FC Kosova Sankt Augustin – Modernes CSS Design
   Farben: #cc0000 (Rot), #000000 (Schwarz)
   =================================================== */

:root {
  --color-primary: #cc0000;
  --color-primary-dark: #a30000;
  --color-primary-light: #ff1a1a;
  --color-dark: #0a0a0a;
  --color-dark-muted: #1a1a1a;
  --color-gray: #2d2d2d;
  --color-gray-light: #f5f5f5;
  --color-text: #333333;
  --color-text-muted: #6c757d;
  --color-white: #ffffff;
  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  margin: 0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === UTILITY CLASSES === */
.text-accent { color: var(--color-primary) !important; }
.bg-accent { background-color: var(--color-primary) !important; }

.btn-accent {
  background: var(--color-primary);
  color: white;
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-accent:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4);
}

.btn-outline-accent {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-accent:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.section-padding { padding: 1rem 0; }

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

/* === NAVBAR === */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  transition: var(--transition);
  z-index: 1030;
  border-bottom: 2px solid var(--color-primary);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.brand-text {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 2px;
  font-family: 'Bebas Neue', -apple-system, BlinkMacSystemFont, sans-serif;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition);
  margin: 0 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white !important;
  background: var(--color-primary);
}

.navbar-nav .dropdown-menu {
  background: var(--color-dark-muted);
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 0.5rem;
}

.navbar-nav .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.7rem 1.2rem;
  transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
  background: var(--color-primary);
  color: white;
}

/* === HERO === */
.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('/uploads/startseite.jpeg') center calc(35% + 50px) / cover no-repeat;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(204, 0, 0, 0.5));
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.0;
  margin: 0;
}

.hero-main {
  display: block;
  font-family: 'Bebas Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 5.5rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: white;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  letter-spacing: 1px;
}

/* === NEWS CARDS === */
.news-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(204, 0, 0, 0.15);
}

.news-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-gray-light);
}

.news-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card-excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.news-card-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.news-card-link:hover {
  color: var(--color-primary-dark);
  gap: 0.6rem;
}

.news-empty {
  text-align: center;
  padding: 3rem;
  color: var(--color-text-muted);
}

.news-empty i {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

/* === SPONSOR CAROUSEL === */
.sponsor-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.sponsor-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  width: 200px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.sponsor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(204, 0, 0, 0.12);
}

.sponsor-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* === PAGE CONTENT === */
.page-hero {
  padding: 7rem 0 3.5rem;
  background: linear-gradient(160deg, #0d0d0d 0%, #1a0404 45%, #0d0d0d 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204, 0, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.page-hero h1 {
  font-family: 'Bebas Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3.8rem;
  font-weight: 400;
  letter-spacing: 6px;
  line-height: 1;
  position: relative;
}

.page-hero p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-primary) !important;
  margin-top: 0.6rem;
  position: relative;
}

.team-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.page-content {
  padding: 3rem 0 5rem;
}

.page-content h2 {
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  color: var(--color-dark);
  font-weight: 600;
  margin-top: 2rem;
}

.page-content p {
  color: var(--color-text);
  line-height: 1.8;
}

.page-content a {
  color: var(--color-primary);
}

/* === PLAYER CARDS === */
.player-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.player-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(204, 0, 0, 0.15);
}

.player-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--color-gray-light);
}

.player-card-body {
  padding: 1.2rem;
}

.player-card-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.player-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin: 0.3rem 0;
}

.player-card-position {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === SPONSOR PAGE CARDS === */
.sponsor-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  text-align: center;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(204, 0, 0, 0.15);
}

.sponsor-card.haupt {
  border: 2px solid var(--color-primary);
}

.sponsor-card img {
  max-width: 200px;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.sponsor-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
}

/* === FOOTER === */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-heading {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li { margin-bottom: 0.5rem; }

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.site-footer .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--color-primary);
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  color: white;
  border-top: 2px solid var(--color-primary);
  padding: 1.5rem;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.cookie-banner h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-settings {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings .form-check {
  margin-bottom: 0.5rem;
}

.cookie-settings .form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* === DARK SUBTLE BG === */
.bg-dark-subtle {
  background: var(--color-gray-light) !important;
}

/* === KONTAKT === */
.contact-info {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info i {
  color: var(--color-primary);
  font-size: 1.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-main { font-size: 3.8rem; letter-spacing: 4px; }
  .hero-subtitle { font-size: 0.75rem; letter-spacing: 6px; }
  .hero-logo { width: 80px; height: 80px; }
  .section-title { font-size: 1.8rem; }
  .page-hero h1 { font-size: 2.6rem; letter-spacing: 4px; }
  .page-hero p { letter-spacing: 3px; }
  .section-padding { padding: 3rem 0; }
  .cookie-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 576px) {
  .hero-main { font-size: 3rem; letter-spacing: 3px; }
  .hero-tagline { font-size: 1rem; }
}

/* === LOADING SKELETON === */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === FUPA WIDGET CONTAINER === */
.fupa-consent-placeholder {
  background: var(--color-gray-light);
  border: 2px dashed var(--color-text-muted);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  color: var(--color-text-muted);
}

.fupa-consent-placeholder button {
  margin-top: 1rem;
}

/* === 404 PAGE === */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-primary);
}
