/* ================================
   BEVARO — modernes Layout (2025)
   ================================ */

:root {
  --primary: #0f2965;
  --secondary: #113c9d;
  --light-bg: #ffffff;
  --accent:  #a1bfc8;
  --link: #b0d4f1;
  --text-dark: #000;
  --text-gray: #444;
  --holiday: #d42b2b;
  --text-light: #fff;
  --shadow: rgba(0, 0, 0, 0.3);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Verdana, sans-serif;
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Sidebar (Navigation) --- */
.sidebar {
  width: 260px;
  background-color: var(--primary);
  border-right: 2px solid var(--secondary);
  padding: 25px 20px;
  flex-shrink: 0;
  position: relative;
}

.sidebar h2 {
  font-size: 14px;
  font-weight: bold;
  margin-top: 25px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sidebar ul {
  list-style: none;
  padding-left: 15px;
  margin: 8px 0;
}

.sidebar li {
  margin: 5px 0;
}

.sidebar a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.3s, padding-left 0.2s;
}

.sidebar a:hover {
  color: #fff;
  padding-left: 3px;
}

/* --- Hauptinhalt / Kalender --- */
.content {
  flex: 1;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.calendar {
  background-color: var(--light-bg);
  color: var(--text-dark);
  border: 1px solid var(--accent);
  text-align: center;
  max-width: 460px;
  width: 100%;
  padding: 0 20px 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px var(--shadow);
  animation: fadeIn 0.8s ease;
  position: relative;
}

/* --- Grauer Balken (Abreißkalender-Look) --- */
.calendar-strip {
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, #d1d1d1 0%, #9d9d9d 100%);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  position: relative;
}

/* Lochungen im Balken */
.calendar-strip::before,
.calendar-strip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at center, #555 25%, transparent 60%);
  border-radius: 50%;
  transform: translateY(-50%);
}

.calendar-strip::before {
  left: 25%;
}

.calendar-strip::after {
  right: 25%;
}

/* --- Kalender-Inhalt --- */
.calendar img {
  width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.calendar img:hover {
  transform: scale(1.03);
}

.calendar .month {
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: capitalize;
  color: var(--text-gray);
  margin-bottom: 5px;
}

.calendar .day {
  font-size: 4.5rem;
  font-weight: bold;
  margin: 10px 0;
  color: var(--text-dark);
}

.calendar .day.holiday {
  color: var(--holiday);
}

.calendar .weekday {
  font-size: 1.2rem;
  text-transform: capitalize;
  color: var(--text-gray);
  font-weight: 500;
}

/* --- Mobile Menübutton --- */
.menu-toggle {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  border: none;
  color: var(--text-light);
  font-size: 20px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle:hover {
  background: #163fb8;
}

/* --- Responsives Design --- */
@media (max-width: 900px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid var(--secondary);
    padding: 15px 20px 10px;
  }

  .menu-toggle {
    display: block;
  }

  .sidebar ul {
    display: none;
  }

  .sidebar.active ul {
    display: block;
  }

  .content {
    padding: 20px;
  }
}

/* --- Animationen --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

