/* Volle Höhe für das Layout */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Wichtig: nimmt immer gesamte Höhe ein */
}

main {
  flex: 1; /* Hauptinhalt wächst */
}

/* Link-Styling */
a {
  color: inherit;
  text-decoration: underline;
}

/* Make only the nav.navbar sticky */
nav.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Marken-Stil */
.navbar-brand {
  font-weight: bold;
  font-size: 2rem;
  transition: color 0.3s ease;
}

/* Hover-Effekt für Marke */
.navbar-brand:hover {
  color: #0d6efd;
}

/* Navigationseffekte */
.nav-link {
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0d6efd;
  background-color: #e6f0ff;
  border-radius: 0.25rem;
}

/* Button-Effekt */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.03);
}

/* Sticky Navigation */
.sticky-top-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #f8f9fa;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Flexbox Wrapper */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main-Inhalt in der Mitte zentrieren */
.main-center-flex {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.centered-img {
  max-width: 80%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Footer immer ganz unten */
footer {
  flex-shrink: 0;
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

/* Schriftgrößen-Steuerung (optional ergänzbar) */
.font-scale-control {
  cursor: pointer;
  padding: 0 10px;
  font-weight: bold;
  user-select: none;
}

.main-centered {
  text-align: center;
  padding: 60px 20px;
}

.main-centered img {
  max-width: 80%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.font-scale-control {
  cursor: pointer;
  padding: 0 10px;
  font-weight: bold;
}
  .custom-notice {
    background-color: #f2f2f2; /* hellgrau */
    border-left: 4px solid #999;
    padding: 12px 16px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #333;
    border-radius: 4px;
  }
