/* Allgemeine CSS-Regeln (für alle Seiten) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('pics/background.jpg');
    background-size: cover;
    background-position: center;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kachel-container, .favorites ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1200px;
}

.kachel, .favorites li {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.kachel:hover, .favorites li:hover {
    transform: scale(1.05);
}

.kachel img, .favorites img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.kachel p, .favorites p {
    padding: 10px;
    background-color: #fff;
}

footer {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    text-align: center;
}

footer ul {
    list-style-type: none;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    text-decoration: none;
    color: #333;
}

.favorites li strong {
    font-size: 18px;
}

.favorites li a {
    color: #007BFF;
    text-decoration: none;
}

.favorites li a:hover {
    text-decoration: underline;
}

/* Impressum-spezifische Anpassungen */
.impressum {
    background: rgba(255, 255, 255, 0.9); /* Halbtransparenter Hintergrund für bessere Lesbarkeit */
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatteneffekt für Hervorhebung */
}

.impressum h1, .impressum h2 {
    color: #333; /* Dunklerer Text für Überschriften */
}

.impressum p {
    color: #555; /* Hellere Textfarbe für Fließtext */
    line-height: 1.6; /* Erhöhter Zeilenabstand für bessere Lesbarkeit */
}

/* Sport und Wandern */
.sport-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sport-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.sport-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.sport-item h2 {
    color: #333;
    margin: 10px 0;
}

.sport-item p {
    color: #555;
    line-height: 1.5;
}

.sport-item:hover {
    transform: scale(1.05);
}

/* Strände */
.map-section {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.map-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
}

.map {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.marker:hover {
    transform: scale(1.5);
}

.marker-label {
    position: absolute;
    top: -20px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
    display: none;
}

.marker:hover .marker-label {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: bold;
}
