:root {
  --bs-body-bg: var(--bs-gray-100);

  --navbar-height: 56px; /* Standardhöhe von Bootstrap, passe dies bei Bedarf an */

  /* Wichtig, damit die Sprungmarken nicht von der Navbar verdeckt werden */
  scroll-padding-top: var(--navbar-height);
}

/* Dem body einen Abstand nach oben geben,
   damit der Inhalt nicht unter die fixe Navbar rutscht */

body {
  padding-top: var(--navbar-height);
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #ffc72c 0%, #da291c 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}
/* Sidebar-Klasse */
.sidebar-nav {
  position: -webkit-sticky; /* Für Safari */
  position: sticky;

  /* ANGEPASST: Die Sidebar soll 1rem UNTERHALB der fixen Navbar kleben */
  top: calc(var(--navbar-height) + 1rem);

  /* ANGEPASST: Die maximale Höhe muss die Navbar-Höhe berücksichtigen */
  max-height: calc(
    100vh - var(--navbar-height) - 3rem
  ); /* 100vh - Navbar - Puffer */
  overflow-y: auto;

  width: 280px;
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.zoomable-image {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.zoomed-image {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  margin: auto;
}

.steckbrief {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
h1 {
  color: #da291c;
  text-align: center;
  margin-top: 25px;
  font-size: 2.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.info-grid {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}
.info-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 8px;
  border-left: 4px solid #ffc72c;
}
.label {
  font-weight: bold;
  color: #da291c;
}
.value {
  color: #333;
}
.header-icon {
  text-align: center;
  font-size: 4em;
  margin-bottom: 20px;
}

/* NEU: AUFGABE 3 - Honeypot-Feld verstecken */
.honeypot-field {
  position: absolute;
  left: -5000px; /* Weit aus dem sichtbaren Bereich verschieben */
  visibility: hidden; /* Verstecken, auch vor Screenreadern */
}

/* HINWEIS: Die überflüssige schließende Klammer '}' am Ende wurde entfernt. */
