ul.zentriert {
    list-style-position: inside;
    padding-left: 0;
}

ul.zentriert li {
    text-align: center;
}

body {
    margin: 0;
    font-family: 'Georgia', serif;
    text-align: center;
    background-color: #f4f1ec;
    color: #2f2f2f;
}

header {
    text-align: center;
    background-color: #b6a382;
    color: #fff;
    padding: 1em 0;
}

header h1 {
    margin: 0.2em 0;
    font-size: 2em;
    font-variant: small-caps;
}

header h2 {
    margin: 0;
    font-size: 1.2em;
    font-style: italic;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0.5em;
    background-color: #d8cbb0;
    margin: 0;
}

nav li {
	padding: 0.65em 1em;
	line-height: 0em;
}

main {
    padding: 2em;
}

footer {
    text-align: center;
    font-size: 0.8em;
    background-color: #b6a382;
    color: #fff;
    padding: 1em 0;
    margin-top: 2em;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 0.5em 0;
    }

    main {
        padding: 1em;
    }
}

a {
    color: #a78c6f;
    text-decoration: none;
    font-weight: bold;
}

footer a {
    color: #ffffff;
}

footer a:hover,
footer a:focus {
    color: #5c452f;
    text-decoration: underline;
}

.sterne-bewertung {
  direction: rtl;
  display: inline-flex;
  justify-content: flex-start;
  font-size: 1.6rem;
}

.sterne-bewertung input[type="radio"] {
  display: none;
}

.sterne-bewertung label {
  color: #ccc;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease-in-out;
}

.sterne-bewertung input[type="radio"]:checked ~ label,
.sterne-bewertung label:hover,
.sterne-bewertung label:hover ~ label {
  color: #a78c6f; /* dein edler Farbton */
}

.bewertung {
  border: 1px solid #d0c6b9;
  background-color: #fdfaf5;
  padding: 1em 1.5em;
  margin-bottom: 1.5em;
  border-radius: 8px;
  font-size: 0.95em;
  line-height: 1.5;
}

.bewertung-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  color: #5a4634;
  margin-bottom: 0.5em;
}

.bewertung-sterne {
  color: #a78c6f;
  font-size: 1.2em;
}

.bewertung-text {
  margin: 0 0 0.8em 0;
  color: #2f2f2f;
}

.bewertung-footer {
  font-size: 0.8em;
  color: #888;
  text-align: right;
}

input[type="text"],
textarea {
  width: 100%;
  max-width: 600px;
  font-family: inherit;
  font-size: 1em;
  line-height: 1.5;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fffaf5;
  color: #2f2f2f;
}

.trenner {
  height: 10px;
  background: url('img/trenner.png') no-repeat center center;
  background-size: contain;
  margin: 0em 0;
}

/* Accordion-Grundstruktur */
.leistungen-container {
  max-width: 1500px;
  margin: 2em auto;
  padding: 0 1em;
}

.accordion-block {
  padding: 1em 0;
}

.accordion-toggle {
  display: none;
}

.accordion-title {
  display: block;
  font-weight: bold;
  font-size: 1.1em;
  padding: 0.4em 0.6em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-title:hover {
  color: #806040;
  background-color: #ede4d5;
  border-radius: 8px;
  padding: 0.4em 0.6em;
  transition: background-color 0.2s ease-in-out;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.0;
  color: #333;
}

.accordion-toggle:checked + .accordion-title + .accordion-content {
  max-height: 400px;
  margin-top: 0.5em;
}

/* Dropdown-Menü */
.dropdown {
  position: relative;
}

.navigation a {
  text-decoration: none;
  color: #2f2f2f;
  font-weight: bold;
  padding: 0em;
}

/* Verbessertes Dropdown-Menü */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  top: 100%;
  left: 0;
  background-color: #ede4d5;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  min-width: 200px;
  padding: 0.5em 0;
  transition: opacity 0.2s ease-in-out;
}

.dropdown-content li {
  display: block;
  padding: 0;
}

.dropdown-content a {
  display: block;
  padding: 0.6em 1em;
  color: #2f2f2f;
  font-weight: normal;
  white-space: nowrap;
  transition: background-color 0.2s ease-in-out;
}

.dropdown-content a:hover {
  background-color: #d8cbb0;
  color: #000;
}


.dropdown:hover .dropdown-content {
  display: block;
}
