/* Grundfarben – mediterran & modern */
:root {
  --bg: #F7F4EA;          /* Sandweiß */
  --text: #2A2A2A;        /* Dunkelgrau */
  --accent: #2A4E6E;      /* Azurblau */
  --highlight: #D9A441;   /* Goldocker */
  --olive: #6B7A3A;       /* Olivgrün */
  --white: #FFFFFF;
}

/* Grundlayout */
body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: var(--accent);
  padding: 10px 20px;

  display: flex;
  gap: 20px;
  flex-wrap: wrap;

  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

nav a:hover {
  color: var(--highlight);
}

/* Überschriften */
h1, h2, h3, h4 {
  color: var(--accent);
  text-align: center;
}

/* Inhaltsbereich */
.container {
  width: min(1100px, 90%);
  margin: 30px auto;
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  box-sizing: border-box;
}


/* Bilder */
img {
  max-width: 100%;
  border-radius: 8px;
}

/* Footer */
footer {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Automatische Bildgrößen für alle Bilder */
img {
  width: auto;        /* Bild füllt den verfügbaren Platz */
  height: auto;       /* Höhe wird proportional angepasst */
  max-width: 800px;   /* maximale Breite für große Bildschirme */
  display: block;     /* verhindert kleine Lücken unter Bildern */
  margin: 20px auto;  /* zentriert Bilder */
  border-radius: 8px; /* optisch schöner */
}

/* Optional: Galerie-Layout */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.gallery img {
  width: calc(33% - 10px); /* drei Bilder pro Reihe */
  max-width: none;         /* Galerie-Bilder sollen nicht 800px begrenzt sein */
  border-radius: 6px;
}

/* Lightbox Hintergrund */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Großes Bild */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  animation: fadeIn 0.3s ease;
}

/* Schließen‑Button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Fade‑In Effekt */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Pfeile */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--highlight);
}

/* Highlights-Bereich */
/* Highlights als moderne Kacheln */

.highlights {
    margin: 40px 0;
}

.highlights h2 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--accent);
}

.highlights-grid {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.highlights-grid li {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;

    min-height: 80px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    font-weight: 600;

    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.highlights-grid li:hover {
    transform: translateY(-5px);
    border-color: var(--highlight);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.highlights-grid li i {
    font-size: 2.2rem;
    color: var(--highlight);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

.map-container {
    margin: 25px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.button {
    display: inline-block;
    background: #1f4f6e;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.button:hover {
    background: #d4a017;
    color: white;
}

/* Teaserbox auf der Startseite */

.teaser-box {
    margin: 40px 0;
    padding: 30px;
    text-align: center;

    background: linear-gradient(135deg, #fff8e8, #fef1cf);
    border: 1px solid #f0d58a;
    border-radius: 16px;

    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.teaser-box h2 {
    margin-top: 0;
    color: var(--accent);
}

.teaser-box p {
    max-width: 800px;
    margin: 15px auto;
    line-height: 1.6;
}

.button-primary {
    display: inline-block;
    margin-top: 15px;
}

.info-teaser {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;

    padding: 30px;
    margin: 35px 0;

    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.info-teaser h2 {
    margin-top: 0;
    color: var(--accent);
}

.info-teaser h2 i {
    color: var(--highlight);
    margin-right: 10px;
}

.info-teaser p {
    max-width: 700px;
    margin: 15px auto 25px auto;
    line-height: 1.6;
}

.button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button:hover {
    background: var(--highlight);
    color: white;
    transform: translateY(-2px);
}


.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .form-row-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .form-row-2,
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}

.contact-form label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(212, 164, 23, 0.15);
}

.checkbox label {
    font-size: 0.9rem;
    font-weight: normal;
}

.checkbox input {
    width: auto;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.hint {
    background: #fff8e8;
    border: 1px solid #f0d58a;
    color: #856404;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}