/* ============================================================
   OVERRIDE.CSS – kompatibel mit HTML5UP "Strongly Typed"
   ------------------------------------------------------------
   Enthält Farb- und Typografie-Anpassungen sowie Fixes für das
   mobile Menü (titleBar/navPanel).
   ============================================================ */

/* ================================
   Grundfarben / Typografie
   ================================ */
body {
  background: #fdf6e3 !important;   /* heller, warmer Beige-Ton */
  color: #3b2f2f !important;        /* dunkles Braun für normalen Text */
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: #1a2a4f !important;        /* ruhiges Dunkelblau für Links */
  text-decoration: underline;
}

a:hover {
  color: #0d1a33 !important;        /* dunkler beim Hover */
}

/* Logo-Farbe */
#logo {
  color: #b22222 !important; /* warmes Rot */
}

/* ================================
   Bilder / Boxen / Struktur
   ================================ */
.image img,
.box,
.button,
input,
textarea {
  border-radius: 6px !important;
}

h2, h3 {
  color: #3b2f2f !important;
}

/* ================================
   Navigation (Desktop)
   ================================ */
#nav > ul > li > a {
  color: #3b2f2f !important;
}

#nav ul ul li a {
  color: #3b2f2f !important;
}

#nav a:hover {
  background: #f5f1e6 !important;
}

/* ================================
   Mobile Menü Fix
   ================================ */
#titleBar {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: #fdf6e3 !important;
  z-index: 1000 !important;
  padding: 0.5em !important;
  border-bottom: 1px solid #ccbfa7 !important;
}

#titleBar .toggle {
  display: inline-block !important;
  font-size: 24px !important;
  color: #3b2f2f !important;
  text-decoration: none !important;
}

/* ================================
   Footer
   ================================ */
#footer {
  background: #f5edd8 !important;
  color: #3b2f2f !important;
}

#footer a {
  color: #1a2a4f !important;
  text-decoration: underline;
}

/* ================================
   Buttons
   ================================ */
.button {
  background: #b22222 !important;
  border: none !important;
  color: #fff !important;
}

.button:hover {
  background: #8c1a1a !important;
}

/* ================================
   Input-Felder
   ================================ */
input[type="text"],
textarea {
  border: 1px solid #ccbfa7 !important;
  background: #fffef8 !important;
  color: #3b2f2f !important;
}

input[type="text"]:focus,
textarea:focus {
  border-color: #b22222 !important;
  box-shadow: 0 0 3px rgba(178,34,34,0.4);
}
/* Mobile Menü korrekt positionieren */
#navPanel {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 250px !important;
  height: 100% !important;
  background: #1a2a4f !important; /* dunkler Hintergrund */
  color: #fff !important;
  overflow-y: auto !important;
  z-index: 999 !important;
  padding: 1em;
  box-shadow: 2px 0 5px rgba(0,0,0,0.3);
}

#navPanel a {
  color: #fff !important;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5em;
}
#titleBar .toggle::before {
  content: "☰"; /* Einfaches Textsymbol */
  font-size: 24px;
  color: #3b2f2f;
}
#navPanel {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;       /* feste Breite */
  height: 100%;       /* volle Höhe */
  background: #1a2a4f; /* dunkler Hintergrund */
  color: #fff;
  overflow-y: auto;
  z-index: 999;
  transform: translateX(-250px); /* Start: versteckt links */
  transition: transform 0.3s ease;
}

body.navPanel-visible #navPanel {
  transform: translateX(0); /* eingeblendet */
}