body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('/images/hintergrundbild.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

.lang-switcher {
    position: fixed;
    top: 12px;
    right: 16px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.lang-switcher a {
    font-size: 1.6rem;
    line-height: 1;
    text-decoration: none;
    opacity: 0.55;
    filter: grayscale(30%);
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 4px;
    border-radius: 6px;
}

.lang-switcher a:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

.lang-switcher a.active {
    opacity: 1;
    filter: none;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

h1 {
    text-align: center;
    color: white;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 50px;
}

.tile {
    position: relative;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.tile:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.tile img {
    width: 100%;
    border-radius: 10px;
}

.tile a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.tile .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    z-index: 1;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.tile:hover .overlay {
    opacity: 1;
}

.tile-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}

.site-footer {
    text-align: center;
    padding: 10px 0 24px;
}

.site-footer a {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer a:hover {
    text-decoration: underline;
}

.legal-page {
    max-width: 700px;
    margin: 60px auto;
    padding: 30px 40px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    color: #222;
}

.legal-page h1 {
    color: #222;
    text-shadow: none;
    text-align: left;
    margin-top: 0;
}

.legal-page a {
    color: #0054e9;
}
