/* ===== GRUNDSTIL ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fffdf6;
  color: #333;
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: #0d8836; /* edles Gelb-Braun */
}

a {
  color: #068a1c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: linear-gradient(135deg, #fff5cc, #ffeaa0);
  padding: 20px 20px;
  text-align: center;
  border-bottom: 4px solid #0d8836;
}

header h1 {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

header p {
  font-size: 1.2rem;
  color: #555;
}

/* ========== Navigation ========== */
header {
  background: #58bd5d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #333;
}

.logo-sub {
  font-size: 1.2em;
  color: #555;
  margin-top: 2px;
  font-style: italic;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #a67c00;
}

/* Burger-Menü mobil */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
}

/* Rechte Seite */
.oeffnungszeiten {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 400px;
}
.oeffnungszeiten li {
  display: grid;
  grid-template-columns: 90px 1fr; /* linker Block fix, rechter flexibel */
  margin-bottom: 4px;
}
.oeffnungszeiten .tag {
  font-weight: bold;
}

/* ===== ZWEISPALTIGES LAYOUT ===== */
.container {
  display: grid;
  grid-template-columns: 1fr 300px; /* Hauptinhalt links, Sidebar rechts */
  gap: 40px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  height: fit-content;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.sidebar {
  background: #58bd5da8;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /*height: fit-content;*/
  align-self: start;
}

.sidebar h2 {
  color: #0d8836;
  margin-bottom: 8px;
  margin-top: 25px;
}

.sidebar h2:first-of-type {
  margin-top: 0;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.sidebar li {
  margin-bottom: 6px;
}

.sidebar a {
  color: #333;
}

.sidebar a:hover {
  text-decoration: underline;
}

/* ===== SEKTIONEN ===== */
section {
  padding: 10px 0;
  scroll-margin-top: 120px;
}

section h2 {
  margin-bottom: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.grid div {
  background: #58bd5da8;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.btn {
  display: inline-block;
  background: #58bd5dce;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  margin-top: 15px;
}

.btn:hover {
  background: #c89b00;
}

/* ===== STELLENANGEBOTE ===== */
.stellen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stelle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #58bd5da9;
  border-radius: 12px;
  padding: 20px 20px 40px 20px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-bottom: 5px solid #0d8836; /* farbige Trennlinie unten */
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stelle h3 {
  color: #0d8836;
  margin-bottom: 8px;
}

.stelle p {
  margin: 0;
}

.stelle::after {
  content: "➜"; /* kleiner Pfeil unten rechts */
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 1.2em;
  color: #0d8836;
}

.stelle:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none; /* sichert, dass es nie unterstrichen wird */
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 30px 20px;
  background: #58bd5d;
  margin-top: 60px;
  border-top: 4px solid #0d8836;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr; /* untereinander */
  }
  /*.sidebar {
    order: 2; /* Sidebar unter Main 
  } */
  .sidebar {
    order: -1; /* Sidebar über Main */
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: #58bd5d;
    position: absolute;
    top: 70px;
    right: 40px;
    width: 200px;
    padding: 20px;
    border-radius: 12px;
  }
  nav ul.show {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}
