/* Global Resets & Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #121212;
    background-color: #ffffff; /* Grundfarbe weiß */
    padding-top: 80px; /* Platz für den fixed Header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700; /* Rubik Bold */
    color: #121212;
    margin-bottom: 0.75em;
}

p {
    margin-bottom: 1em;
}

a {
    color: #121212;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Verhindert unerwünschten Leerraum unter Bildern */
}

.page-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.fixed-header {
    background-color: #ffffff;
    color: #121212;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 80px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none; /* Damit Logo-Link keine Unterstreichung hat */
}
.logo-area:hover {
    text-decoration: none; /* Auch im Hover keine Unterstreichung */
}


#header-logo {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5em;
    font-weight: 700;
    color: #121212; /* Stellt sicher, dass die Textfarbe vom Link nicht geerbt wird, falls a-Tag global anders gestyled */
}

.main-nav-desktop {
    display: none; 
}

.main-nav-desktop a {
    font-weight: 400;
    padding: 10px 15px;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.main-nav-desktop a:hover {
    color: #555555;
    text-decoration: none;
}


/* Mobile Navigation */
.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100; 
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #121212;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #121212;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

.mobile-nav-toggle.active .hamburger-icon {
    background-color: transparent;
}
.mobile-nav-toggle.active .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
}
.mobile-nav-toggle.active .hamburger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-nav-links {
    display: none;
    position: fixed;
    top: 80px; 
    left: 0;
    width: 100%;
    background-color: #f8f8f8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #ddd;
    z-index: 1050; 
}

.mobile-nav-links.active {
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-weight: 700; 
}

.mobile-nav-links a:last-child {
    border-bottom: none;
}

.mobile-nav-links a:hover {
    background-color: #e9e9e9;
    text-decoration: none;
}

/* Banner Styling (für Unterseiten etc.) */
.banner {
    height: 350px;
    min-height: 150px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.banner h1 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 0.2em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
/* Spezifische Anpassung für das Banner auf der Startseite (index.html) */
#startseite .banner {
    height: 350px;       /* Setzt die Höhe auf 150px */
    min-height: 0;       /* Überschreibt die generelle min-height, oder setzen Sie es auf 150px */
                           /* Alternativ: min-height: 150px; wenn es nie kleiner sein soll */
    max-height: 350px;   /* Stellt sicher, dass es nicht höher als 150px wird */
}

/* Stil für zweispaltige Inhaltsblöcke mit Bild und Text */
.content-feature-block {
    display: flex;
    align-items: flex-start; /* Vertikale Ausrichtung oben, falls Inhalte unterschiedlich hoch sind */
    gap: 30px; /* Abstand zwischen Bild und Text */
    margin-bottom: 50px; /* Abstand zum nächsten Block oder Element */
}

.content-feature-block .cfb-image {
    flex: 1 1 40%; /* Erlaubt Wachsen/Schrumpfen, Basisbreite 40% */
    /* Optional: Maximale Breite für das Bild, falls es nicht zu groß werden soll */
    /* max-width: 450px; */
}

.content-feature-block .cfb-image img {
    width: 100%;
    height: auto; /* Höhe automatisch anpassen, um Proportionen zu wahren */
    display: block; /* Verhindert unerwünschten Leerraum unter dem Bild */
    border-radius: 6px; /* Leicht abgerundete Ecken für die Bilder */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Optional: Leichter Schatten */
}

.content-feature-block .cfb-text {
    flex: 1 1 55%; /* Erlaubt Wachsen/Schrumpfen, Basisbreite 55% */
}

.content-feature-block .cfb-text h3 {
    margin-top: 0; /* Entfernt den oberen Rand der h3, falls vorhanden und nicht gewünscht */
    font-size: 1.6em; /* Passen Sie die Schriftgröße nach Bedarf an */
    margin-bottom: 0.6em;
}

.content-feature-block .cfb-text p {
    font-size: 1em; /* Passen Sie die Schriftgröße nach Bedarf an */
    line-height: 1.7;
}

/* Variante für Bild rechts, Text links */
.content-feature-block.image-right .cfb-image {
    order: 2; /* Bild wird als zweites Element in der Flex-Reihenfolge angezeigt */
}

.content-feature-block.image-right .cfb-text {
    order: 1; /* Text wird als erstes Element in der Flex-Reihenfolge angezeigt */
}

/* Stile für die Stempel-Bilder-Sektion */
.stamp-images-section {
    display: flex;
    justify-content: center; /* Zentriert die Stempel-Gruppe horizontal */
    align-items: center;     /* Zentriert die Stempel vertikal, falls sie leicht unterschiedliche Höhen hätten */
    gap: 25px;               /* Abstand zwischen den einzelnen Stempeln */
    margin-top: 50px;        /* Abstand nach oben zu den vorherigen Inhaltsblöcken */
    margin-bottom: 30px;     /* Abstand nach unten */
    flex-wrap: wrap;         /* Erlaubt Umbruch auf kleineren Bildschirmen */
    padding: 20px 0;         /* Etwas Innenabstand für die Sektion */
    /* border-top: 1px solid #eee; /* Optional: eine feine Trennlinie darüber */
}

.stamp-item {
    /* Dieser Wrapper kann für komplexere individuelle Effekte genutzt werden */
}

.stamp-item img {
    width: 90px;  /* Breite des Stempels - passen Sie dies nach Bedarf an */
    height: 90px; /* Höhe des Stempels - passen Sie dies nach Bedarf an */
    object-fit: contain; /* Stellt sicher, dass das ganze Bild sichtbar ist, ohne es zu verzerren */
                         /* Wenn Ihre Bilder quadratisch sind und den Kreis füllen sollen: object-fit: cover; */
    border-radius: 50%;  /* Macht den Stempel rund - entfernen, wenn Ihre Bilder bereits eine Form haben oder eckig sein sollen */
    border: 3px solid #dddddd; /* Randfarbe des Stempels, z.B. ein helles Grau */
    background-color: #ffffff; /* Hintergrundfarbe "innerhalb" des Stempels, falls das Bild Transparenz hat */
    padding: 5px;        /* Kleiner Innenabstand zwischen Rand und Bildinhalt */
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1); /* Leichter Schatten für einen dezenten 3D-Effekt */
    transition: transform 0.2s ease-in-out; /* Für einen kleinen Hover-Effekt */
}

/* Leichter Hover-Effekt für die Stempel */
.stamp-item img:hover {
    transform: scale(1.05) rotate(2deg); /* Leicht vergrößern und drehen beim Hovern */
}

/* Optionale individuelle leichte Drehung für einen "handgemachten" Look */
.stamp-images-section .stamp-item:nth-child(1) img {
    transform: rotate(-4deg);
}

.stamp-images-section .stamp-item:nth-child(2) img {
    transform: rotate(3deg) translateY(-3px); /* Leicht versetzt und gedreht */
}

.stamp-images-section .stamp-item:nth-child(3) img {
    transform: rotate(-2deg) translateY(2px);
}

/* Anpassung für kleinere Bildschirme */
@media (max-width: 480px) {
    .stamp-images-section {
        gap: 15px; /* Kleinerer Abstand zwischen den Stempeln */
    }
    .stamp-item img {
        width: 70px;  /* Kleinere Stempel auf sehr kleinen Bildschirmen */
        height: 70px;
        border-width: 2px;
    }
}

/* Responsive Anpassungen für kleinere Bildschirme */
@media (max-width: 768px) {
    .content-feature-block,
    .content-feature-block.image-right { /* Gilt für beide Varianten */
        flex-direction: column; /* Elemente untereinander anordnen */
        align-items: center; /* Zentriert die Elemente, wenn sie untereinander sind */
        text-align: center; /* Zentriert auch den Text im Textcontainer */
    }

    .content-feature-block .cfb-image,
    .content-feature-block .cfb-text,
    .content-feature-block.image-right .cfb-image,
    .content-feature-block.image-right .cfb-text {
        flex-basis: auto; /* Flex-Basis zurücksetzen */
        width: 100%;    /* Volle Breite für gestapelte Elemente */
        max-width: 500px; /* Optional: Maximale Breite für Bild/Text im gestapelten Zustand */
        order: 0 !important; /* Reihenfolge zurücksetzen, damit HTML-Reihenfolge gilt (Bild immer oben) */
        text-align: left; /* Text im Textcontainer wieder linksbündig auf Mobile */
    }
    .content-feature-block .cfb-image{
        margin-bottom: 20px; /* Abstand zwischen Bild und Text auf Mobile */
        text-align: center; /* Bild zentrieren, falls es schmaler als max-width ist */
    }
     .content-feature-block .cfb-text h3{
        text-align: left; /* Überschrift auch linksbündig auf Mobile */
     }

}

/* Footer Styling */
footer {
    background-color: #f9f9f9;
    color: #121212;
    padding: 40px 20px 10px;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-contact, .footer-logo, .footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-contact h3, .footer-links h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.9em;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-height: 150px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    font-size: 0.9em;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.85em;
}

/* Keine Banner für Footer-Seiten (Impressum, Kontakt, Datenschutz in deren HTML-Dateien) */
.footer-page .banner { /* Diese Klasse würden Sie den <section> Tags in impressum.html etc. geben */
    display: none;
}


/* Stile für den Dokumentenlink-Abschnitt mit Buttons */
.document-links-section.button-layout {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.document-links-section.button-layout .centered-heading {
    text-align: center; /* Zentriert die Überschrift */
    font-size: 1.8em;  /* Behält die Schriftgröße bei oder passen Sie sie an */
    margin-bottom: 30px; /* Mehr Abstand zu den Buttons */
    color: #121212;
}

.document-buttons-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 gleich breite Spalten */
    gap: 20px; /* Abstand zwischen den Buttons (horizontal und vertikal) */
}

.document-button {
    display: block; /* Damit der Link die volle Breite der Grid-Zelle einnimmt */
    padding: 18px 15px; /* Innenabstand der Buttons */
    background-color: #121212; /* Normal: Schwarzer Hintergrund */
    color: #ffffff;           /* Normal: Weiße Schrift */
    border: 2px solid #121212; /* Normal: Schwarzer Rand (passend zum Hintergrund) */
    border-radius: 6px;        /* Abgerundete Ecken */
    text-align: center;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-weight: 700; /* Rubik Bold für den Haupttext des Buttons */
    line-height: 1.3;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    cursor: pointer;
}

.document-button .file-info {
    display: block; /* Dateigröße/Typ in neuer Zeile */
    font-size: 0.8em;
    font-weight: 400; /* Normale Rubik-Schrift */
    opacity: 0.8;     /* Etwas transparenter */
    margin-top: 6px;
}

/* Klick-Effekt (:active) und Fokus-Styling */
.document-button:hover {
    /* Optional: Leichter Hover-Effekt bevor dem Klick */
    background-color: #333333; /* Etwas hellerer Schwarzton */
    border-color: #333333;
}

.document-button:active,
.document-button:focus { /* :focus ist wichtig für Tastaturnavigation und Barrierefreiheit */
    background-color: #ffffff; /* Klick: Weißer Hintergrund */
    color: #121212;           /* Klick: Schwarze Schrift */
    border-color: #121212;    /* Klick: Schwarzer Rand */
    outline: none; /* Entfernt den Standard-Browser-Fokusring, da wir einen eigenen Rand haben */
}

/* Optional: Ein sichtbarer Fokus-Stil für Tastaturnutzer, der nicht der :active-Stil ist */
.document-button:focus-visible {
    outline: 2px solid #5a5a5a; /* Beispielhafter Fokus-Ring */
    outline-offset: 2px;
}


/* Responsive Anpassungen für die Button-Grid */
@media (max-width: 900px) { /* Bei weniger Platz, z.B. für Tablets */
    .document-buttons-container {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
    }
}

@media (max-width: 600px) { /* Bei noch weniger Platz, z.B. für Smartphones */
    .document-buttons-container {
        grid-template-columns: 1fr; /* 1 Spalte, Buttons untereinander */
    }
    .document-button {
        padding: 15px; /* Etwas weniger Padding auf sehr kleinen Bildschirmen */
    }
}

/* Stile für den Video-Abschnitt (unverändert) */
.video-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* .centered-heading (unverändert) */
.centered-heading {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #121212;
}

/* .video-grid-container und seine Media Queries (unverändert) */
.video-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .video-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .video-grid-container {
        grid-template-columns: 1fr;
    }
}

/* Angepasste Stile für .video-item und den HTML5-Video-Player */
.video-item {
    background-color: #000000; /* Hintergrund für Letterboxing, falls Seitenverhältnis nicht exakt passt */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-player-wrapper { /* Umbenannt von video-responsive-wrapper zur Klarheit, oder Sie behalten den alten Namen */
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Seitenverhältnis. Anpassen, falls Ihre Videos ein anderes Format haben (z.B. 75% für 4:3) */
    height: 0;
    overflow: hidden;
    /* border-radius: 6px; /* Kann hier oder auf .video-item sein, je nachdem, was den Radius haben soll */
}

.video-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Zeigt das gesamte Video, ggf. mit schwarzen Balken (Letterboxing), wenn das Seitenverhältnis des Videos nicht zum Wrapper passt.
                             Alternativ: 'cover', um den Wrapper zu füllen (kann Teile des Videos abschneiden). */
    border: 0; /* Stellt sicher, dass das Video selbst keinen Rahmen hat */
}
/* --- Beginn Ihres bereitgestellten CSS-Codes für Hover-Blöcke --- */

.user-hover-blocks-section {
    padding: 40px 0; /* Seitliches Padding entfernt, vertikales Padding beibehalten */
    background-color: #ffffff; /* Optional: Leichter Hintergrund für den Bereich */
}

.user-hover-blocks-container {
    /* max-width: 800px; */ /* Entfernt, damit der Container volle Breite nutzen kann */
    /* margin: 0 auto; */ /* Nicht mehr nötig für Zentrierung, da volle Breite */
}

.user-hover-blocks-container .hover-block {
    margin-bottom: 5px; 
}

.user-hover-blocks-container .hover-block:last-child {
    margin-bottom: 0;
}

.hover-block {
    position: relative;
    width: 100%; /* Nimmt die volle Breite des Elternelements (.user-hover-blocks-container) */
    /* max-width: 800px; */ /* Entfernt für volle Breite */
    height: 300px;
    overflow: hidden;
    /* border-radius: 8px; */ /* Entfernt, oder auf 0 setzen, wenn bei voller Breite eckig */
    border-radius: 0; /* Standardmäßig keine abgerundeten Ecken bei voller Breite */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Kann bleiben oder angepasst werden */
    cursor: pointer;
    /* margin-left: auto; */ /* Entfernt */
    /* margin-right: auto; */ /* Entfernt */
    display: block;
    text-decoration: none;
    color: inherit; 
    transition: height 0.3s ease-in-out; /* max-width und border-radius Transition nicht mehr relevant für Basis */
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: filter 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.text-content {
    position: absolute;
    top: 0;
    left: 50%; 
    width: 50%;
    height: 100%;
    background-color: white; 
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    z-index: 2;
    clip-path: polygon(300px 0, 100% 0, 100% 100%, 0% 100%);
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                left 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                padding 0.3s ease-in-out,
                clip-path 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.text-wrapper {
    max-width: 100%;
    text-align: center; 
}

.text-content h2 {
    margin-top: 0;
    color: #333; 
    font-size: 1.8em; 
    transition: font-size 0.3s ease-in-out, color 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.text-content p {
    color: #555;
    line-height: 1.6;
    font-size: 1em; 
    transition: font-size 0.3s ease-in-out, color 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover-Effekte (bleiben gleich) */
.hover-block:hover .image-container img {
    filter: grayscale(100%);
    transform: scale(1.05);
}

.hover-block:hover .text-content {
    width: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.65); 
    align-items: center; 
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
}

.hover-block:hover .text-wrapper {
    text-align: center; 
}

/* Neue Stile für den Abschnitt "Starke Partnerschaften" mit inline Logo */
.page-content h2 { /* Ggf. allgemeine Anpassung für die erste Überschrift im .page-content */
    font-size: 2em;
    margin-bottom: 1em;
}
.page-content h3 {
    font-size: 1.5em;
    margin-top: 1.8em;
    margin-bottom: 0.7em;
}
.page-content p {
    line-height: 1.7;
    margin-bottom: 1.2em; /* Standard-Absatzabstand */
}

/* Neue Stile für den Logo-Link-Container und das Bild darin */
.inline-partner-logo-link {
    display: block; /* Oder inline-block, je nach umgebendem Flex-Verhalten */
    width: 200px;   /* Die gewünschte Breite des klickbaren Bereichs/Logos */
    height: auto;
    flex-shrink: 0; /* Verhindert, dass der Link-Container schrumpft */
    text-decoration: none; /* Entfernt die Standard-Link-Unterstreichung */
    border: none; /* Entfernt mögliche Standard-Ränder von Links um Bilder */
    /* Optional: dieselben Ränder wie vorher am Bild, jetzt am Link */
    /* border: 1px solid #ddd; */
    /* padding: 5px; */
    /* background-color: #fff; */
}

.inline-partner-logo-link:hover {
    /* Optional: ein leichter Hover-Effekt für den Link, z.B. Opazität */
    opacity: 0.85;
    text-decoration: none;
}

.partner-logo-image {
    width: 100%; /* Das Bild füllt die Breite des <a>-Tags */
    height: auto;
    display: block; /* Verhindert unerwünschten Leerraum unter dem Bild */
}

/* Die bestehenden Regeln für .partnership-inline-section und .partnership-inline-text bleiben gleich: */
.partnership-inline-section {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 1.2em;
}

.partnership-inline-text {
    flex-grow: 1;
}

/* Responsive Anpassung für den Inline-Partnerschaftsblock */
@media (max-width: 600px) {
    .partnership-inline-section {
        flex-direction: column; /* Logo und Text untereinander */
        align-items: center;   /* Zentriert die Elemente horizontal, wenn sie gestapelt sind */
    }
    .inline-partner-logo {
        width: 100px;
        order: -1;             /* ÄNDERUNG: Setzt das Logo über den Text auf Mobilgeräten */
        margin-bottom: 20px;   /* Abstand zum Text darunter */
        margin-top: 0;         /* Kein Abstand oben, wenn es das erste Element ist */
    }
    .partnership-inline-text {
        order: 0; /* Stellt sicher, dass der Text nach dem Logo kommt (Standard wäre es eh) */
        text-align: center; /* Optional: Text auf Mobilgeräten zentrieren */
    }
    .partnership-inline-text p {
      text-align: left; /* Absätze im zentrierten Textblock bleiben linksbündig für Lesbarkeit */
    }
}
    }
}

/* Call-to-Action Button Styling */
.cta-button-container {
    text-align: center; /* Zentriert den Button innerhalb dieses Containers */
    margin-top: 35px;   /* Abstand nach oben zum Text */
    margin-bottom: 20px;  /* Abstand nach unten (zum Seitenende oder Footer) */
}

.cta-button {
    display: inline-block; /* Erlaubt Padding, Margin und Zentrierung */
    padding: 14px 30px;    /* Innenabstand des Buttons (Höhe x Breite) */
    background-color: #121212; /* Ihre Akzentfarbe: Schwarz */
    color: #ffffff;           /* Textfarbe: Weiß */
    border: 2px solid #121212; /* Rand in Akzentfarbe, um Layoutsprünge bei Hover/Active zu vermeiden */
    border-radius: 6px;        /* Abgerundete Ecken */
    text-align: center;
    text-decoration: none;     /* Keine Unterstreichung */
    font-family: 'Rubik', sans-serif;
    font-weight: 700;          /* Rubik Bold */
    font-size: 1.15em;         /* Etwas größere Schrift für den CTA */
    letter-spacing: 0.5px;     /* Leichter Zeichenabstand */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #333333; /* Dunkleres Grau beim Hover/Fokus */
    border-color: #333333;
    color: #ffffff;
    text-decoration: none;
    outline: none; /* Standard-Browser-Outline entfernen, da wir Rand und Hover-Effekte haben */
}

/* Optional: Ein kleiner Effekt beim Drücken des Buttons */
.cta-button:active {
    background-color: #000000; /* Noch etwas dunkler oder eine andere Akzentfarbe */
    border-color: #000000;
    transform: scale(0.98); /* Macht den Button beim Klick minimal kleiner */
}
/* Media Queries für Hover-Blöcke (ANGEPASST) */

/* Desktop / Laptop Full Screen Width (z.B. ab 1200px) */
/* Diese Regel ist jetzt im Basis .hover-block Stil enthalten, falls immer volle Breite gewünscht.
   Kann entfernt oder für andere spezifische Stile ab 1200px beibehalten werden.
@media (min-width: 1200px) {
    .user-hover-blocks-section .hover-block {
        max-width: none; 
        border-radius: 0;
    }
}
*/

/* Tablet-Anpassungen */
/* Diese Regel wird entfernt, damit auch Tablets volle Breite haben.
   Falls auf Tablets doch eine max-width gewünscht ist, müsste diese Regel angepasst werden.
@media (max-width: 1199px) and (min-width: 769px) {
    .user-hover-blocks-section .hover-block { 
        height: 300px; 
        max-width: 800px; 
        border-radius: 8px;
        margin-left:auto; 
        margin-right:auto;
    }
}
*/

/* Mobile Geräte - Generell (Höhe und Clip-Path Anpassungen bleiben) */
@media (max-width: 768px) {
    /* .hover-block nimmt bereits volle Breite ein, hier nur Höhenanpassung etc. */
    .user-hover-blocks-section .hover-block { 
        height: 260px;
    }
    .user-hover-blocks-section .hover-block .text-content { 
        padding: 20px;
        /* Der X-Wert im Polygon muss an die Blockhöhe angepasst bleiben! */
        clip-path: polygon(260px 0, 100% 0, 100% 100%, 0% 100%); 
    }
    .user-hover-blocks-section .hover-block .text-content h2 { 
        font-size: 1.6em;
    }
    .user-hover-blocks-section .hover-block .text-content p { 
        font-size: 0.95em;
    }
}

/* Kleinere Mobile Geräte (Höhe und Clip-Path Anpassungen bleiben) */
@media (max-width: 480px) {
    .user-hover-blocks-section .hover-block { 
        height: 220px;
    }
    .user-hover-blocks-section .hover-block .text-content { 
        padding: 15px;
        /* Der X-Wert im Polygon muss an die Blockhöhe angepasst bleiben! */
        clip-path: polygon(220px 0, 100% 0, 100% 100%, 0% 100%); 
    }
    .user-hover-blocks-section .hover-block .text-content h2 { 
        font-size: 1.3em;
    }
    .user-hover-blocks-section .hover-block .text-content p { 
        font-size: 0.85em;
    }
}

/* --- Zusätzliche Stile für umgekehrte Animation (animate-from-left) --- */

/* Basis-Initialzustand für .text-content bei .animate-from-left */
.hover-block.animate-from-left .text-content {
    left: 0; /* Textbereich startet links */
    /* width: 50%; bleibt gleich wie im Standard .text-content */
    /* Die Diagonale ist nun auf der rechten Seite des Textbereichs */
    /* Annahme: .hover-block Basis-Höhe ist 300px */
    clip-path: polygon(0 0, calc(100% - 300px) 0, 100% 300px, 100% 100%, 0 100%);
}

/* Anpassungen für .animate-from-left innerhalb der Media Queries, passend zur jeweiligen Blockhöhe */

@media (max-width: 768px) {
    /* .hover-block Höhe ist hier 260px */
    .user-hover-blocks-section .hover-block.animate-from-left .text-content {
        clip-path: polygon(0 0, calc(100% - 260px) 0, 100% 260px, 100% 100%, 0 100%);
    }
}

@media (max-width: 480px) {
    /* .hover-block Höhe ist hier 220px */
    .user-hover-blocks-section .hover-block.animate-from-left .text-content {
        clip-path: polygon(0 0, calc(100% - 220px) 0, 100% 220px, 100% 100%, 0 100%);
    }
}

/* Der Hover-Zustand für .animate-from-left wird bereits durch die allgemeine Regel
   .hover-block:hover .text-content korrekt abgedeckt (width: 100%, left: 0, rechteckiger clip-path).
   Es ist keine separate :hover Regel für .animate-from-left nötig, solange die
   Transition-Eigenschaften auf .text-content korrekt gesetzt sind.
*/
/* --- Ende zusätzliche Stile für umgekehrte Animation --- */

/* --- Ende Ihres bereitgestellten CSS-Codes für Hover-Blöcke --- */


/* Responsive Design Basis-Layout */
@media (min-width: 768px) {
    .mobile-nav-toggle {
        display: none;
    }
    .mobile-nav-links {
        display: none !important;
    }
    .main-nav-desktop {
        display: flex; 
        align-items: center;
    }
    .banner h1 {
        font-size: 3em;
    }
}

@media (min-width: 992px) {
    .banner h1 {
        font-size: 3.5em;
    }
    .page-content {
        padding: 60px 20px;
    }
}

@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo {
        order: -1;
        margin-bottom: 20px;
    }
}