body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*background: #fdf6e3 url('https://www.transparenttextures.com/patterns/old-map.png');*/
    background-size: cover;
    color: #2e2e2e;
}

h1 {
    text-align: center;
    font-size: 2em;
    margin: 1rem;
    color: #3b2006;
	font-family: 'Pirata One', cursive;
}

.container {
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.ort-block {
    margin-bottom: 2rem;
    text-align: center;
}

.ort-block h2 {
    font-size: 1.2rem;
    color: #5c3b1e;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #d1b58f;
    display: inline-block;
    padding: 0 1rem;
	font-family: 'Pirata One', cursive;
}

.wappen-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.wappen {
    position: relative;
    height: 80px;
    flex: 0 1 auto;
    transition: transform 0.2s;
}

.wappen img {
    height: 100%;
    width: auto;
    border: 2px solid #a2703c;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.wappen:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.tooltip {
    visibility: hidden;
    position: absolute;
    background-color: #333;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.wappen:hover .tooltip {
    visibility: visible;
}

/* Mobile Optimierung */
@media (max-width: 600px) {
    .wappen-row {
        gap: 0.5rem;
    }

    .wappen {
        height: 70px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .ort-block h2 {
        font-size: 1rem;
    }
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    object-fit: cover;
    /*opacity: 0.9; */
    pointer-events: none;
}

.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}