/* LSPD Tactical & Police Dark Theme */
:root {
  --bg-color: #07090e;
  --card-bg: rgba(13, 19, 31, 0.75);
  --border-color: rgba(59, 130, 246, 0.18);
  
  /* Police Colors */
  --police-blue: #2563eb;
  --police-blue-bright: #3b82f6;
  --police-blue-glow: rgba(37, 99, 235, 0.4);
  --police-red-glow: rgba(239, 68, 68, 0.3);
  --gold-accent: #f59e0b;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --green: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

/* Pulsierende Blaulicht- & Rotlicht-Effekte im Hintergrund */
.glow-bg {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  animation: pulse-glow 6s infinite alternate ease-in-out;
}

.police-blue { 
  top: -150px; 
  left: -150px; 
  background: var(--police-blue-glow); 
}

.police-red { 
  bottom: 10%; 
  right: -150px; 
  background: var(--police-red-glow); 
  animation-delay: 3s;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

/* Layout Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Navbar */
.navbar {
  max-width: 1000px;
  margin: 20px auto;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--police-blue-bright);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo { 
  font-weight: 700; 
  font-size: 1.05rem; 
  letter-spacing: 0.5px;
}

.logo-badge {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-right: 8px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
}
nav a:hover { 
  color: var(--police-blue-bright); 
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

/* Cards & Glassmorphism */
.card, .hero-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.police-card:hover, .police-border:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.police-border {
  position: relative;
  border-left: 4px solid var(--police-blue-bright);
}

.hero-card {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 25px;
  align-items: center;
}

.badge {
  color: var(--police-blue-bright);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1 { 
  font-size: 2.4rem; 
  margin-top: 5px; 
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle { 
  color: var(--gold-accent); 
  font-weight: 600;
  margin-bottom: 15px; 
}
.description { margin-bottom: 25px; color: #d1d5db; }

/* Tactical Status Box */
.status-box {
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.status-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--police-blue-bright), transparent);
}

.status-header { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 0.8rem; 
  font-weight: 700;
  letter-spacing: 1px;
}

.status-dot { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  background: var(--green); 
  box-shadow: 0 0 12px var(--green); 
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.status-role { 
  font-size: 1.3rem; 
  font-weight: 800; 
  margin-top: 8px; 
  color: #fff;
}

.status-dept { 
  color: var(--text-muted); 
  font-size: 0.85rem; 
}

.status-info { 
  margin-top: 15px; 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
  font-size: 0.85rem; 
}

.status-info span { color: var(--text-muted); }
.text-online { color: var(--green); }

hr { border: 0; height: 1px; background: var(--border-color); margin: 15px 0; }

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card-tag {
  font-size: 0.75rem;
  color: var(--police-blue-bright);
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.info-list {
  list-style: none;
  margin-top: 15px;
}
.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}
.info-list span { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-primary { 
  background: linear-gradient(135deg, #2563eb, #1d4ed8); 
  color: #fff; 
  box-shadow: 0 4px 14px var(--police-blue-glow);
}
.btn-primary:hover { 
  background: linear-gradient(135deg, #3b82f6, #2563eb); 
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
  transform: translateY(-2px);
}

.btn-secondary { 
  background: rgba(255, 255, 255, 0.08); 
  color: #fff; 
  margin-left: 10px; 
  border: 1px solid var(--border-color);
}
.btn-secondary:hover { 
  background: rgba(255, 255, 255, 0.16); 
  transform: translateY(-2px);
}

.btn-police {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid var(--police-blue-bright);
  color: #fff;
}
.btn-police:hover {
  background: var(--police-blue-bright);
  box-shadow: 0 0 15px var(--police-blue-bright);
}

.btn-small { padding: 6px 14px; font-size: 0.85rem; }
.btn-link { 
  color: var(--police-blue-bright); 
  text-decoration: none; 
  font-weight: 700; 
  display: inline-block; 
  margin-top: 10px; 
  transition: 0.2s;
}
.btn-link:hover { transform: translateX(4px); }

/* Contact Specifics */
.contact-box {
  background: rgba(10, 15, 26, 0.6);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
}
.contact-number { 
  font-size: 2.2rem; 
  font-weight: 800; 
  color: var(--police-blue-bright); 
  text-shadow: 0 0 10px var(--police-blue-glow);
}
.contact-icon { font-size: 2rem; }

footer {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Profilbild */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: 0.3s;
}

.profile-img:hover {
  border-color: var(--police-blue-bright);
  box-shadow: 0 0 20px var(--police-blue-glow);
}

/* Section Werdegang */
.card-section {
  padding: 30px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--police-blue-bright);
  padding-bottom: 8px;
  display: inline-block;
}

/* Story Blöcke (Flexbox Side-by-Side Zick-Zack) */
.story-block {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
  align-items: center;
}

.story-image {
  flex: 1;
  width: 100%;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.story-image img:hover {
  transform: scale(1.02);
}

.story-content {
  flex: 1.2;
}

.story-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #60a5fa;
  font-size: 1.3rem;
  font-weight: 700;
}

.story-content p {
  line-height: 1.6;
  color: #d1d5db;
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive Desktop Rules */
@media (min-width: 768px) {
  .story-block {
    flex-direction: row;
  }

  .story-block.reverse {
    flex-direction: row-reverse;
  }
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .navbar nav {
    display: none;
  }
}