/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    background: transparent;                 /* Joomla-Hintergrund bleibt */
    overflow: hidden;

    /* Platz schaffen, damit der Inhalt NICHT in die Schräge läuft */
    padding-top: clamp(70px, 7vw, 140px);
}

/* =========================================================
   SCHRÄGER EINSTIEG OBEN – KANTE OBEN, BERGAB NACH RECHTS (↘︎)
   Die Schräge ist die UNTERKANTE dieses Elements.
   ========================================================= */

.footer-slant {
    position: absolute;
    top: 0;                                  /* Schräge beginnt OBEN */
    left: 0;
    width: 100%;
    height: clamp(70px, 7vw, 140px);

    /* Farbe des Footer-Inhalts (meist weiß) */
    background: #ffffff;

    z-index: 1;
    pointer-events: none;

    /* Unterkante fällt nach rechts ab:
       links höher (kleiner y), rechts tiefer (größer y) */
    clip-path: polygon(
        0 0,
        100% 0,
        100% 80%,   /* rechts tiefer */
        0 55%       /* links höher */
    );
}

/* =========================================================
   FOOTER-INHALT ÜBER DER SCHRÄGE
   ========================================================= */

.site-footer .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   TEXTSCHATTEN
   ========================================================= */

.text-shadow {
    text-shadow:
        1px 1px 1px #000,
       -1px -1px 1px #000,
        0 0 10px #000;
}




/* =========================================================
   CTA-BEREICH
   ========================================================= */

.cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .cta-wrapper {
        justify-content: flex-end; /* CTA leicht rechts – Startpunkt der "Abfahrt" */
    }
}

/* CTA-Box (ruhige Zone) */
.cta-box {
    display: inline-block;
    padding: 1.4rem 2.2rem;

    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-radius: 1.25rem;
}

/* Kleine Einleitung über dem Button */
.cta-eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

/* CTA-Button */
.cta-button {
    background: #78be20;
    color: #ffffff;

    font-weight: 600;
    font-size: 1.05rem;

    padding: 0.9rem 2.4rem;
    border-radius: 999px;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover – subtil, nicht verspielt */
.cta-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
