/* ===========================================
   style.css – Sonnental Reisen GmbH
   Demo-Website für eyeAble Barrierefreiheits-Schulungen
   =========================================== */

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #ffffff;
  /* FEHLER 1: Standardtextfarbe #a0a0a0 auf #fff = Kontrast ~2.85:1 (WCAG-Minimum: 4.5:1) */
  color: #a0a0a0;
}

/* --- Navigation --- */
nav {
  background-color: #f5a623;
  padding: 14px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  /* FEHLER 1: Weißer Text auf Orange #f5a623 = Kontrast ~2.9:1 */
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

nav ul li a {
  /* FEHLER 13: Keine Unterstreichung; Farbe #fff8ee auf #f5a623 kaum unterscheidbar */
  color: #fff8ee;
  text-decoration: none;
  font-size: 15px;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 420px;
  background-color: #cce4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-text {
  /* FEHLER 1: #c8c8c8 auf #cce4f5 = Kontrast ~1.5:1 */
  color: #c8c8c8;
  z-index: 2;
  padding: 20px;
}

.hero-text h1 {
  font-size: 44px;
  margin-bottom: 12px;
  text-shadow: none;
}

.hero-text p {
  font-size: 20px;
}

/* --- Hauptsections --- */
.section {
  padding: 52px 44px;
}

.section-title {
  font-size: 28px;
  /* FEHLER 1: #b0b0b0 auf #fff = Kontrast ~2.32:1 */
  color: #b0b0b0;
  margin-bottom: 28px;
}

.section-alt {
  background-color: #f9f9f9;
}

/* --- Kacheln/Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  font-size: 18px;
  color: #444444;
  margin-bottom: 8px;
}

.card-body p {
  /* FEHLER 1: #c5c5c5 auf #fff = Kontrast ~1.73:1 */
  color: #c5c5c5;
  font-size: 14px;
  line-height: 1.55;
}

.card-body .price {
  /* FEHLER 1: #f5a623 auf #fff = Kontrast ~2.9:1 */
  color: #f5a623;
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f5a623;
  color: #ffffff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
}

/* FEHLER 5: Berührungsziel zu klein (9px Schrift, 2px Padding) */
.btn-tiny {
  display: inline-block;
  padding: 2px 5px;
  font-size: 9px;
  background-color: #f5a623;
  color: #ffffff;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  vertical-align: middle;
}

/* --- Highlights-Liste (Fehler 7: li ohne Liste) --- */
.highlights {
  margin: 18px 0 22px 0;
}

.highlights li {
  /* Sieht aus wie eine Liste, ist aber kein <ul>/<ol>-Kind */
  list-style: disc;
  margin-left: 22px;
  margin-bottom: 6px;
  /* FEHLER 1 */
  color: #b8b8b8;
  font-size: 15px;
}

/* --- Scrollbox (FEHLER 12: overflow scroll, kein tabindex) --- */
.scroll-box {
  height: 160px;
  overflow-y: scroll;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 14px;
  background: #fafafa;
  /* kein tabindex im HTML – scrollbares Element per Tastatur nicht erreichbar */
}

.scroll-box p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #888;
}

/* --- Tabelle --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 14px;
}

/* FEHLER 15: Im HTML werden ausschließlich <td> verwendet, keine <th>.
   Dieses Styling greift also gar nicht. */
table th {
  background-color: #f5a623;
  color: #ffffff;
  padding: 12px 14px;
  text-align: left;
}

table td {
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  color: #555;
}

table tr:nth-child(even) td {
  background-color: #fafafa;
}

/* --- Formular --- */
form {
  max-width: 580px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #666;
  font-weight: bold;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  color: #444;
}

form textarea {
  resize: vertical;
}

/* --- Links global (FEHLER 13: kein Underline, Farbe kaum unterscheidbar vom Grautext) --- */
a {
  color: #3399cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Fliesstext --- */
.body-text {
  font-size: 15px;
  line-height: 1.7;
  /* FEHLER 1 */
  color: #b5b5b5;
  max-width: 700px;
}

/* --- Team-Bereich --- */
.team-section {
  background-color: #e8f4fb;
  padding: 30px;
  border-radius: 6px;
  margin-top: 30px;
}

.team-section h4 {
  /* FEHLER 1: #90c4e0 auf #e8f4fb = Kontrast ~1.4:1 */
  color: #90c4e0;
  font-size: 18px;
  margin-bottom: 14px;
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

/* --- Kontakt-Teaser --- */
.contact-teaser {
  background-color: #fff8ee;
  border-left: 4px solid #f5a623;
  padding: 22px 28px;
  border-radius: 0 6px 6px 0;
  margin-top: 20px;
}

.contact-teaser p {
  /* FEHLER 1: #c0c0c0 auf #fff8ee = Kontrast ~1.8:1 */
  color: #c0c0c0;
  font-size: 15px;
  line-height: 1.6;
}

/* --- Footer --- */
footer {
  background-color: #f5f5f5;
  padding: 28px 44px;
  /* FEHLER 1: #cccccc auf #f5f5f5 = Kontrast ~1.3:1 */
  color: #cccccc;
  font-size: 13px;
  border-top: 1px solid #ebebeb;
}

footer a {
  /* FEHLER 1 & 13: sehr heller Link ohne Unterstreichung */
  color: #d0d0d0;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* --- Reise-Info-Box --- */
.info-box {
  background-color: #e8f4fb;
  padding: 20px 24px;
  border-radius: 6px;
  margin-top: 24px;
}

.info-box h5 {
  /* FEHLER 1: noch helleres Blau auf hellblauem BG */
  color: #aad4ec;
  font-size: 15px;
  margin-bottom: 8px;
}

.info-box p {
  color: #bbb;
  font-size: 14px;
}

/* --- Angebots-Detail-Bereich --- */
.angebote-detail {
  margin-top: 40px;
}

.angebote-detail h4 {
  font-size: 20px;
  color: #444;
  margin-bottom: 10px;
}

/* --- Über-uns Seite --- */
.geschichte {
  max-width: 720px;
  margin-bottom: 36px;
}

.geschichte h3 {
  font-size: 22px;
  color: #555;
  margin-bottom: 14px;
}

.geschichte p {
  color: #b0b0b0;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.werte-box {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 24px;
  border-radius: 6px;
  margin-top: 10px;
}

.werte-box p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.6;
}
