body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
   
}

.container {
/*    max-width: 800px; */
    width: 80%;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Kopfbereich mit Bild und Text */
.header-image {
    position: relative;
}
.header-image img {
    width: 100%;
    height: auto;
    display: block;
}
.header-text {
    position: absolute;
    top: 10px;
    left: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px 10px;
    font-size: 1.2em;
}
.header-imageinfo {
    position: absolute;
    bottom: 5px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px 10px;
    font-size: 0.55em;
}

.header-imageinfo a {
  color: white;                  /* Linkfarbe */
  text-decoration: none;        /* Keine Unterstreichung */
}

.header-imageinfo a:hover {
  text-decoration: underline;   /* Optional: Unterstreichung beim Hover */
  
}

/* Navigation */
.main-nav {
    background: #333;
}
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
.main-nav li {
    flex: 1;
}
.main-nav a {
    display: block;
    padding: 10px;
    text-align: center;
    color: white;
    text-decoration: none;
}
.main-nav a:hover {
    background: #555;
}

/* Brotkrumenpfad */
.breadcrumb {
    font-size: 0.9em;
    padding: 10px;
    background: #eee;
}

.copy-mailto {
	color: white;
	text-decoration: underline;


}

/* Hauptinhalt */
main {
    padding: 20px;
}

/* Fußzeile */
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
}
footer a {
    color: #aaa;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}


/* Kacheln als Links */

.kachel-container {
  display: flex;
  flex-wrap: wrap; /* Kacheln umbrechen, wenn nicht genug Platz */
  gap: 20px;
  justify-content: center; /* horizontal zentrieren */
  margin-bottom: 40px; /* z.B. 40px Abstand */
}

.kachel {
  display: block;
  width: 200px;
  text-decoration: none;
  color: black;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kachel img {
  width: 100%;
  height: auto;
  display: block;
}

.kachel-text {
  padding: 10px;
  text-align: center;
}

.kachel:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive: untereinander auf kleinen Bildschirmen */
@media (max-width: 600px) {
  .kachel-container {
    flex-direction: column;
    align-items: center;
  }
  .kachel {
    width: 90%;
  }
}
