/* Farben */
:root {
  --main-green: #187637;
  --light-beige: #faf0d9;
  --accent: #b68d40;
}

/* Allgemeines */
body {
  font-family: 'Georgia', serif;
  margin: 0;
  line-height: 1.6;
  background: var(--light-beige);
  color: #333;
}

h1, h2 {
  color: var(--main-green);
}







.hero h1, .hero p, .hero a {
  position: relative;
  z-index: 1;
}





/* Navigation */
header {
  background: var(--main-green);
  color: rgb(255, 255, 255);
  padding: 20px;
  text-align: center;
  
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent);
}

/* Hero Banner */
.hero {
  background: url('bilder/banner.jpg') no-repeat center center/cover;
  color: rgb(255, 254, 254);
  text-align: center;
  padding: 120px 20px;
}

.hero h2, 
.hero p {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero {
  position: relative;
  background: url('bilder/banner.jpg') no-repeat center center/cover;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* dunkelt das Bild leicht ab */
}
.hero h2, .hero p, .hero a {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.5em;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--accent);
  color: rgb(255, 255, 255);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background: #8c682e;
}

/* Galerie */
.gallery {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.gallery img {
  width: 280px;
  border-radius: 10px;
  box-shadow: 0 0 10px #aaa;
}

/* Content Seiten */
.content {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
}

/* Footer */
footer {
  background: var(--main-green);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.socials a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 10px;
}
main.content img {
  display: block;       /* jedes Bild untereinander */
  max-width: 100%;      /* passt sich der Bildschirmbreite an */
  width: 600px;         /* feste Standardbreite (z. B. 600px) */
  height: auto;         /* Höhe automatisch, damit es nicht verzerrt */
  margin: 20px auto;    /* Abstand + zentriert */
  border: 1px solid #ccc; /* dünner Rahmen (optional) */
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2); /* Schatten (optional) */
}
img {
  max-width: 100%;
  height: auto;
  display: block;       /* verhindert unschöne Lücken unter Bildern */
  object-fit: cover;    /* sorgt für sauberes Zuschneiden */
  border-radius: 8px;   /* abgerundete Ecken, optional */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* dezenter Schatten */
}


.content img {
  display: block;
  width: 600px;     /* feste Breite */
  max-width: 100%;  /* skaliert auf Handy */
  height: auto;     /* proportional */
  margin: 20px auto;
}
/* Galerie-Bilder */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.gallery img {
  width: 100%;
  height: 220px;       /* gleiche Höhe für alle Bilder */
  object-fit: cover;   /* schneidet sauber zu statt zu verzerren */
  border-radius: 12px; /* abgerundete Ecken */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* leichter Schatten */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05); /* Zoom-Effekt beim Hover */
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
