﻿/* -----Buchung-Kalender / Grundlayout ------------------ */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    margin-bottom: 10px;
}

/* Navigation */
nav {
  width: 100%;
  border-bottom: 1px solid #2c3f1e;
  background: linear-gradient(to bottom, #4f7a35, #2f4a1f);
  margin: 0;
  padding: 0;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 3px 0;
    margin-top: 0px;}

nav ul {
  display: flex;
  gap: 20px;
  padding: 0 0 0 20px; /* linker Abstand */
  margin: 0;
  list-style: none;
  align-items: center;
}

nav li {
  display: inline;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  padding: 5px 20px;
  display: block;
  border-radius: 4px;
  transition: background 0.2s;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.15);
}

/* ------------------ Kalender ------------------ */
#calendar-container {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 1px;
}

#calendar-container h2 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 5px;
    color: #2f6b3c;
}

#calendar-header {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 0px;
}

#calendar-header button {
    background: #2f6b3c;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 22px;
}

/* Kalender-Blocks */
#calendar-multiple {
    display: flex;
    gap: 80px; /* mehr Platz zwischen den Kalendern */
    justify-content: center;
}

.calendar-block {
    width: 300px;
}

.calendar-block h3 {
    text-align: center;
    font-size: 15px;
    margin-bottom: 2px;
    color: #2f6b3c;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    text-align: center;
}

.day-name {
    font-weight: bold;
    padding: 6px 0;
    background: #70ae74;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.day {
    padding: 8px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.day:hover {
    background: #c0e2c0;
}

.booked {
    background: #e44343;
    color: white;
    cursor: not-allowed;
}

.today {
    border: 2px solid #2f6b3c;
}

.selected-start {
    background: #375725;
    color: white;
}

.selected-end {
    background: #375725;
    color: white;
}

.selected-range {
    background: #68a244;
}

/* ------------------ Formular ------------------ */
form {
    max-width: 800px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

form input, form textarea, form button {
	padding: 6px;
	font-size: 15px;
	color: #006600;
	border-radius: 4px;
	border: 1px solid #ccc;
}

form button {
    background: #2f6b3c;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 12px;

}

form button:hover {
    background: #1f4d2b;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    background: #f1f1f1;
}