body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f4f4f4;
}
.navbar {
  background-color: #222;
  padding: 1rem;
  display: flex;
  justify-content: center;
}
.navbar a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
.navbar a:hover {
  text-decoration: underline;
}
.hero {
  background: url('https://www.tintencenter.com/blog/wp-content/uploads/2014/07/Fotolia_55523491_M.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}
.intro-box {
  background: white;
  margin: -40px auto 40px;
  padding: 30px;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.intro-box h2 {
  margin-top: 0;
}
.intro-box a {
  color: purple;
  text-decoration: underline;
}
.form-container {
  background: white;
  margin: 40px auto;
  padding: 30px;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.form-container h1 {
  margin-top: 0;
}
.form-container label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
}
.form-container input[type="text"],
.form-container textarea,
.form-container input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
}
.form-container button {
  margin-top: 20px;
  background-color: #222;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
.form-container button:hover {
  background-color: #444;
}
.beitrags-kachel {
  background: white;
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.beitrags-kachel h2 {
  margin-top: 0;
}
.beitrags-kachel img.beitragsbild {
  max-width: 100%;
  margin-top: 15px;
  border-radius: 8px;
}
.actions a {
  margin-right: 15px;
  color: #444;
  text-decoration: none;
  font-weight: bold;
}
.actions a:hover {
  text-decoration: underline;
}
.search-form {
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.search-form input[type="text"] {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.search-form button {
  padding: 10px 16px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.centered-heading {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 2em;
}
.pagination {
  text-align: center;
  margin: 30px 0;
}
.pagination a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  background-color: #222;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}
.pagination a.active {
  background-color: #555;
  font-weight: bold;
}
.pagination a:hover {
  background-color: #444;
}
.beitrags-kachel img.beitragsbild {
  display: block;
  margin: 15px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.actions {
  margin-top: 10px;
  display: block;
}
  max-width: 100%;
  width: auto;
  height: 500px;
  margin: 15px auto 0;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* optional für mehr Tiefe */

.form-container img.beitragsbild {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  margin-top: 10px;
  display: block;
}
.bild-vorschau {
  max-width: 150px;
  max-height: 150px;
  border-radius: 8px;
  display: block;
  margin-top: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}