/* Globale Stile für den Body */
body {
    font-family: sans-serif;
    margin: 0;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-bottom: 50px; /* Platz für den Footer */
}

.content-wrapper {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

main {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.public-content-container {
    position: relative;
    width: 100%;
    min-height: 70vh;
    transition: height 0.2s ease-in-out;
    overflow: visible;
}

.public-content-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow: visible;
}

.public-content-block .block-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-content-block img,
.public-content-block iframe,
.public-content-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.public-content-block .video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* NEU: Verbessertes Button-Styling mit 3D-Effekt */
.public-content-block .button-link {
    padding: 12px 25px;
    background-color: transparent; 
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px; /* Stärker abgerundete Ecken */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease-out;
    background-size: cover;
    background-position: center;
    font-weight: bold;
}

.public-content-block .button-link:hover {
    transform: translateY(-3px); /* Hebt den Button beim Hovern an */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.public-content-block .button-link:active {
    transform: translateY(1px); /* Drückt den Button beim Klicken nach unten */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    border-bottom-width: 2px;
    filter: brightness(0.95);
}

footer {
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

/* --- Header & Menu Styles --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.header-background, .footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.desktop-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.menu-left, .menu-right {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.menu-right {
    margin-left: auto;
}

.desktop-nav .menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
    height: 100%;
    box-sizing: border-box;
}

/* --- Responsive & Other Styles --- */
img, video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-nav-toggle { display: block; }
    /* ... other mobile styles ... */
    .public-content-block {
        position: relative !important;
        width: 90% !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 20px auto !important;
        height: auto !important;
        min-height: 150px;
    }
}

/* Submenu, Editor, etc. styles remain the same */
