@font-face {
    font-family: "GraftyneDisplayRegular";
    src: url('../fonts/GraftyneDisplayRegular/font.woff2') format('woff2'), url('../fonts/GraftyneDisplayRegular/font.woff') format('woff');
}

@font-face {
    font-family: "GraftyneDisplayLight";
    src: url('../fonts/GraftyneDisplayLight/font.woff2') format('woff2'), url('../fonts/GraftyneDisplayLight/font.woff') format('woff');
}

@font-face {
    font-family: "GraftyneDisplayMedium";
    src: url('../fonts/GraftyneDisplayMedium/font.woff2') format('woff2'), url('../fonts/GraftyneDisplayMedium/font.woff') format('woff');
}

@font-face {
    font-family: "GraftyneDisplaySemiBold";
    src: url('../fonts/GraftyneDisplaySemiBold/font.woff2') format('woff2'), url('../fonts/GraftyneDisplaySemiBold/font.woff') format('woff');
}

/* work-sans-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/work-sans-v19-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* work-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/work-sans-v19-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* work-sans-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/work-sans-v19-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* work-sans-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/work-sans-v19-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Button Reset */
button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    outline: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

h2.default {
    font-size: clamp(2em, 4vw, 2.2em);
}

.GraftyneDisplayMedium {
    font-family: GraftyneDisplayMedium;
}

.GraftyneDisplayRegular {
    font-family: GraftyneDisplayRegular;
}

.GraftyneDisplayLight {
    font-family: GraftyneDisplayLight;
}

.GraftyneDisplaySemiBold {
    font-family: GraftyneDisplaySemiBold;
}

.work-sans-400 {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.work-sans-500 {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

p.text-normal {
    text-align: left !important;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Allgemeine Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.black {
    color: black !important;
}

.center {
    text-align: center !important;
}

.small {
    font-size: 0.9em !important;
}

/* Header */
header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1000;
    transform: translateY(0);
}

header.header-hidden {
    transform: translateY(-100%);
    position: absolute !important;
}

header.transparent {
    background-color: transparent;
    position: fixed;
    position: absolute !important;
}

header.white {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* Für Safari-Unterstützung */
}

header.red {
    background-color: #ffffff;
    position: relative !important;
}

body.page-template-default .content-page, body.page-template-template-news .content-page, body.post-type-archive-programm .content-page {
    padding-top: 0 !important;
}

body.post-type-archive-programm .programme-overview {
    padding-left: 0 !important;
}

@media (max-width: 768px) {
    body.post-type-archive-programm .programme-overview {
        padding-left: 20px !important;
    }
}

header.red .logo-white {
    opacity: 0;
}

header.red .logo-black {
    opacity: 1;
}

header.red .burger-menu img {
    filter: none
}

header.transparent .logo,
header.transparent .burger-menu {
    color: white;
}

.logo {
    position: relative;
    z-index: 1001;
}

.logo img {
    height: 100px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-white {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-black {
    opacity: 1;
}

/* Header-Zustände für das Logo */
header.white .logo-white {
    opacity: 0;
}

header.white .logo-black {
    opacity: 1;
}

header.transparent .logo-white {
    opacity: 1;
}

header.transparent .logo-black {
    opacity: 0;
}

.burger-menu {
    font-size: 30px;
    cursor: pointer;
}

.burger-menu img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1); /* Macht das SVG weiß */
}

header.white .burger-menu img {
    filter: none; /* Zeigt das originale pink SVG */
}

/* Burger-Menü Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 30%;
    height: 100%;
    background-color: white;
    transition: right 0.3s ease;
    z-index: 1000000;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

.menu-overlay.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
}

.menu-overlay nav ul {
    list-style: none;
    margin-top: 60px;
}

.menu-overlay nav ul li {
    margin-bottom: 5px;
    font-size: 24px;
}

/* Abdunkelung */
.dim-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1999;
}

.dim-background.active {
    display: block;
}

/* Sektionen */
.section {
    padding: 100px 40px;
}

.full-height {
    min-height: 100vh;
}

/* Erste Sektion */
.black-section {
    background-color: black;
    color: white;
    position: relative;
    overflow: hidden;
}

#section1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#section1 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#section1 > * {
    position: relative;
    z-index: 1;
}

#section2 {
    padding: 200px 40px;
}

/* Beispieltext */
.example-text {
    font-size: 70px;
    line-height: 1.2;
    transition: opacity 1s ease;
    text-align: center;
    max-width: 80%;
}

/* Scroll-Image */
.scroll-image {
    transform: translate(750px, -50%);
    width: clamp(100vw, 54vw, 800px);
    height: auto;
}

.image-placeholder {
    background-color: gray;
    position: absolute;
}

/* Braincopter Sektion */
#braincopter {
    background: #ff0457 url('../images/grid-white-big.png') repeat center center;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

#braincopter h3 {
    color: black;
    font-size: clamp(4em, 7vw, 7em);
    text-align: center;
    font-family: GraftyneDisplaySemiBold;
    position: relative;
    z-index: 1;
}

.braincopter-arrow {
    position: absolute;
    bottom: -50px;
    left: 50px;
    width: 100px;
    transform: scale(0.25);
    transition: transform 1.5s ease, bottom 1.5s ease, left 1.5s ease;
    z-index: 0;
}

.braincopter-image {
    position: absolute;
    bottom: -300px;
    right: 40px;
    width: 60vw;
    max-width: 700px;
    height: auto;
    z-index: 100000;
}

@media (max-width: 1024px) {
    .braincopter-image {
        width: 80vw;
        max-width: 800px;
    }
}

@media (max-width: 1024px) {
    .braincopter-image {
        bottom: -100px;
    }
}

#deine-ziele {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding: 100px 40px;
}

.your-goals {
    color: black;
    font-size: 7em;
    font-family: GraftyneDisplaySemiBold;
    transform: translateX(-100vw);
    transition: transform 1s ease;
    opacity: 0;
    margin: 0;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .your-goals {
        font-size: 5em;
    }
}

.your-goals.visible {
    transform: translateX(0);
    opacity: 1;
}

#deine-ziele p {
    max-width: 800px;
    text-align: justify;
    margin-top: 40px;
    font-size: 1.1em;
    line-height: 1.6;
    align-self: center;
    transform: translateX(100vw);
    /* Start außerhalb rechts */
    transition: transform 1s ease;
    transition-delay: 0.5s;
    /* Startet erst nach der Überschrift */
    opacity: 0;
}

#deine-ziele.visible p {
    transform: translateX(0);
    /* Endet in der Mitte */
    opacity: 1;
}

/* Vierte Sektion */
#section4 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #ffffff;
    overflow: hidden;
    flex-direction: column;
    padding: 40px 0 0 0;
    margin-top: 100px;
}

@media (max-width: 1024px) {
    #section4 {
        margin-top: 30px;
    }
}

.section-headline {
    font-family: 'GraftyneDisplaySemiBold', sans-serif;
    color: #000;
    margin: 0;
    width: 100%;
    text-align: left;
    line-height: 0.9;
    text-transform: uppercase;
    transition: font-size 0.1s ease-out;
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    padding: 0;
}

.consulting-container {
    display: flex;
    gap: 80px;
    max-width: 100%;
    width: 100%;
    padding: 0 0 100px 40px;
    position: relative;
}

.consulting-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 50%;
    padding-top: 40px;
}

.consulting-image {
    flex: 1;
    width: 100%;
    height: 800px;
    position: relative;
    top: 0;
    right: 0;
    margin-top: -40px;
}

@media (max-width: 1024px) {
    .consulting-image {
        position: relative;
        top: 0;
    }
}

.image-placeholder {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.image-placeholder.first-image {
    z-index: 1;
}

.image-placeholder.second-image {
    z-index: 2;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consulting-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.consulting-item h2 {
    font-family: 'GraftyneDisplayMedium', sans-serif;
    font-size: 4em;
    color: #000;
    margin: 0;
    font-weight: normal;
}

.consulting-item p {
    font-size: 1.1em;
    line-height: 1.3;
    color: #333;
    max-width: 600px;
}

.more-link {
    font-size: 1.1em;
    color: #000;
    text-decoration: underline;
    width: fit-content;
}

.more-link:hover {
    color: #ff0457;
}

/* Slide-in Animation */
.slide-in {
    /*opacity: 0;*/
    transform: translateX(0px);
    font-size: 1.2em;
}

@media (max-width: 1200px) {
    .consulting-container {
        flex-direction: column;
    }

    .consulting-image {
        order: -1;
    }
}

/* Row */
.row {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.row .heading,
.row .description,
.row .graphic {
    margin-right: 20px;
}

.row.fly-in-right {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.row.fly-in-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s ease;
}

/* Neue Styles für graphic, description und heading */
.row .heading {
    width: 60%;
}

.row .description {
    width: 30%;
}

.row .graphic {
    width: 10%;
}

/* Text-Overlay */
.text-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: none;
    z-index: 1002;
    padding: 40px 20px;
    overflow-y: auto;
}

.text-overlay.active {
    display: block;
}

.close-text-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.text-overlay p {
    margin-top: 60px;
    font-size: 18px;
    line-height: 1.6;
}

#section2,
#section5 {
    overflow: hidden;
}

/* Karussell */
#section5 h2,
#section6 h2 {
    font-size: clamp(3em, 5vw, 7em);
    font-family: GraftyneDisplaySemiBold;
    color: #000;
    text-transform: uppercase;
    font-weight: normal;
}

#section6 h2 {
    padding-left: 40px;
    font-size: clamp(7em, 5vw, 12em) !important;
    line-height: clamp(1.1em, 2vw, 1.7em) !important;
}

@media (max-width: 1024px) {
    #section5 h2 {
        margin-top: 50px;
    }

    #section6 h2 {
        font-size: clamp(3em, 5vw, 7em) !important;
        line-height: clamp(1.1em, 2vw, 1.7em) !important;
    }
}

.carousel {
    display: flex;
    position: relative;
    left: 20%;
    top: 5%;
    transition: left 1s ease;
}

.carousel.active {
    left: 0;
}

.carousel-image {
    width: 800px;
    height: 500px;
    margin-right: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .carousel-image {
        width: 500px;
        height: 300px;
    }
}

.carousel-image .preview-image,
.carousel-image .project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-image .preview-image {
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.carousel-image .project-video {
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-image:hover .preview-image {
    opacity: 0;
}

.carousel-image:hover .project-video {
    opacity: 1;
}

.carousel-image:hover {
    transform: translateY(-3px);
}

.carousel-image .image-number {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-family: GraftyneDisplayRegular;
    font-size: 1.2em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.carousel-image {
    position: relative;
    overflow: hidden;
}

.project-video {
    transition: opacity 0.3s ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Carousel Overlay */
.carousel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    overflow-y: auto;
    padding: 60px 40px;
}

.carousel-overlay.active {
    display: block;
}

.carousel-overlay-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.carousel-overlay h2 {
    font-size: 2.5em;
    font-family: GraftyneDisplaySemiBold;
    margin-bottom: 30px;
    color: #ff0457;
}

.carousel-overlay p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: "Work Sans", sans-serif;
}

.close-carousel {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 100px;
    cursor: pointer;
    z-index: 2001;
    width: 60px;
    height: 60px;
    color: #ff0457;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-carousel:hover {
    transform: rotate(90deg);
}

.menu-overlay nav ul li a {
    font-family: GraftyneDisplayRegular;
    font-size: clamp(1.2rem, 4vw, 28px);
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.menu-overlay nav ul li a:hover {
    color: #ff0457;
}

/* Footer */
.footer {
    padding: 40px;
    text-align: left;
    background-color: var(--color-white);
    margin-top: 100px;
}

.footer p {
    margin: 0;
    margin-bottom: 10px;
}

.footer-nav {
    display: flex;
    justify-content: left;
    align-items: left;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 100px;
}

@media (max-width: 768px) {
    .footer-nav {
        display: block;
    }

    .footer-nav ul {
        display: block;
    }

    .footer-nav li {
        text-align: center;
    }
}

.footer-nav li {
    margin: 0;
    list-style: none;
}

.footer-nav a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    header {
        padding: 10px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .burger-menu {
        font-size: 24px;
    }

    .section {
        padding: 60px 20px;
    }

    .example-text {
        font-size: 40px;
    }

    .row {
        flex-direction: column;
    }

    .row .heading,
    .row .description,
    .row .graphic {
        width: 100% !important;
        margin-bottom: 20px;
    }



    .menu-overlay {
        width: 80%;
    }
}

.contact-container {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 60px;
    padding: 0 40px;
    width: 100%;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .contact-container {
        padding-bottom: 40px;
    }
}

.contact-box {
    display: flex;
    gap: 20px;
    width: calc(33.33% - 27px);
    min-width: 300px;
}

.contact-box.second {
    flex: 1;
    top: 200px;
    width: 100%;
    position: relative;
}

.contact-image {
    width: 200px;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    /*padding: 20px 20px 0 20px;*/
    display: flex;
    flex-direction: column;
    justify-content: end;
    font-weight: 300;
}

.contact-info h3 {
    margin: 0 0 5px 0;
    font-family: GraftyneDisplayRegular;
    font-size: 28px;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

@media (max-width: 1024px) {
    .contact-info h3 {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-box {
        width: 100%;
        max-width: none;
    }
}

#section2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#section6 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #ffffff;
    overflow: hidden;
    flex-direction: column;
    padding: 40px 0 0 0;
    margin-top: 100px;
}

.example-text {
    text-align: center;
    max-width: 80%;
}

.intro-text {
    max-width: 800px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.intro-text p {
    font-size: clamp(1.1em, 4vw, 24px);
    line-height: clamp(1.8rem, 6vw, 38.4px);
    font-family: "Work Sans", sans-serif !important;
    text-align: left;
}

.intro-text h3 {
    font-family: GraftyneDisplaySemiBold;
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .intro-text p {
        font-size: 1.1em;
        line-height: 1.6;
    }
}

.scroll-text {
    font-size: 0.7em;
    font-family: GraftyneDisplayRegular;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.scroll-text p {
    opacity: 0.2;
}

@media (max-width: 1024px) {
    .scroll-text {
        font-size: 0.5em;
    }
}

/* Karussell-Overlay Styles */
.carousel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.carousel-overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.close-carousel-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.carousel-overlay-inner {
    height: 100%;
    overflow-y: auto;
}

#section3,
#section7 {
    background: #ff0457 url('../images/grid-white-big.png') repeat center center;
    position: relative;
    overflow: hidden;
}

#section7 h2 {
    font-size: clamp(2em, 8vw, 20em);
    color: black;
    font-family: GraftyneDisplaySemiBold;
    text-align: center;
}

.animated-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1000000;
}

.animated-container {
    position: absolute;
    top: 170%;
    left: 35%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.animated-title {
    color: white;
    font-size: 3.5em;
    white-space: nowrap;
    margin-right: 20px;
    position: relative;
    top: 250px;
    left: 0%;
}

#section7 .animated-title {
    color: white;
    left: 30%;
}

@media (max-width: 1024px) {
    #section3 .animated-content {
        top: 100px !important;
    }
    #section3 .scroll-image {
        max-width: 400px;
    }

    #section7 .scroll-image {
        transform: translate(0, -25%);
    }

    #section7 .animated-container {
        left: -80%;
    }

    .animated-title {
        top: 300px;
    }

    #section7 .animated-title {
        left: -80%;
        padding-left: 0;
        padding-bottom: 0;
        padding-top: 230px;
    }
}

.title-part-1,
.title-part-2 {
    display: block;
    transition: transform 0.5s ease;
    font-family: GraftyneDisplaySemiBold;
    font-size: 1em;
}

@media (min-width: 1024px) {

    .title-part-1,
    .title-part-2 {
        font-size: 1.7em;
        line-height: 1em;
    }
}

.title-part-2 {
    margin-top: 10px;
    transition-delay: 0.2s;
    /* Verzögerung für den zweiten Teil */
}

.scroll-image {
    width: clamp(500px, 56vw, 600px);
    height: auto;
}

@media (max-width: 1024px) {
    .animated-container {
        top: 50%;
    }

    .animated-title {
        padding-left: 500px;
        padding-bottom: 50px;
    }
}

@keyframes swooshAnimation {
    0% {
        transform: translate(-100%, 100%) scale(0.1);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

.astrosurfer-swoosh {
    padding: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
}

@media (max-width: 1024px) {
    .astrosurfer-swoosh {
        top: auto;
        bottom: 0;
    }
}

.astrosurfer-swoosh.animate {
    animation: swooshAnimation 1.5s ease-out forwards;
    transform-origin: bottom left;
}

/* Prozess Sektion */
#section-gruendungsberatung,
#section-ipberatung {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    overflow-y: auto;
    padding: 60px 40px;
    text-align: center;
}

#section-gruendungsberatung.active,
#section-ipberatung.active {
    display: block;
}

.close-gruendungsberatung,
.close-ipberatung {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 90px;
    cursor: pointer;
    z-index: 2001;
    width: 60px;
    height: 60px;
    color: #ff0457;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-gruendungsberatung:hover,
.close-ipberatung:hover {
    transform: rotate(90deg);
}

#section-gruendungsberatung h3,
#section-ipberatung h3 {
    margin-bottom: 20px;
    font-size: clamp(2em, 8vw, 20em);
    font-family: GraftyneDisplaySemiBold;
    text-align: left;
    text-transform: uppercase;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

#section-gruendungsberatung p,
#section-ipberatung p {
    max-width: 800px;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-align: left;
    font-size: 0.9em;
}

#section-gruendungsberatung p.long,
#section-ipberatung p.long {
    margin: 0 0 20px 0;
}

#section-gruendungsberatung .vertical-line,
#section-ipberatung .vertical-line {
    margin: 40px auto 40px 25%;
}

@media (max-width: 768px) {
    #section-gruendungsberatung .vertical-line,
    #section-ipberatung .vertical-line {
        margin-left: auto;
        margin-right: auto;
    }
}

#section-gruendungsberatung h4,
#section-ipberatung h4 {
    margin-bottom: 20px;
    font-size: clamp(1em, 5vw, 15em);
    font-family: GraftyneDisplaySemiBold;
    text-align: left;
    margin-top: 100px;
}

@media (max-width: 768px) {
    #section-gruendungsberatung h4,
    #section-ipberatung h4 {
        margin-top: 0px;
    }
}

.process-steps {
    width: 50%;
    margin-top: 40px;
    display: block;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .process-steps {
        width: 100%;
    }
}

.steps-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 0 auto 0 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 400px;
}

@media (max-width: 768px) {
    .process-step {
        margin-left: -15px !important;
        margin-bottom: 0 !important;
    }
}

.process-step p {
    text-align: center !important;
}

.step-line-top,
.step-line-bottom {
    width: 2px;
    height: 60px;
    /*background: linear-gradient(to bottom, rgba(102, 102, 102, 0.2), rgba(102, 102, 102, 0.6));*/
    background-color: #ff0457;
}

.step-line-bottom {
    /*background: linear-gradient(to bottom, rgba(102, 102, 102, 0.6), rgba(102, 102, 102, 0.2))*/
    background-color: #ff0457;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: #ff0457;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    font-family: GraftyneDisplaySemiBold;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.process-step p {
    text-align: center;
    color: #000;
    font-size: 1.1em;
    margin-top: 20px;
    max-width: 300px;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .steps-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .process-step {
        margin-bottom: 40px;
    }
}

/* Vertikale Linien für die Verbindungen zwischen den Hauptelementen */
.vertical-line {
    width: 2px;
    height: 60px;
    /*background: linear-gradient(to bottom, rgba(102, 102, 102, 0.2), rgba(102, 102, 102, 0.6));*/
    background-color: #ff0457;
    margin: 20px 0;
}

/* Process Button */
.process-button {
    display: inline-block;
    padding: 15px 40px;
    margin: 60px auto;
    background-color: white;
    color: #ff0457;
    font-family: GraftyneDisplayMedium;
    font-size: 1.8em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.process-button:hover {
    color: #000;
}

/* Mobile Optimierungen */
@media screen and (max-width: 1024px) {
    header {
        position: fixed;
        /* Ändert sticky zu fixed für bessere mobile Unterstützung */
        padding: 10px 20px;
    }

    .logo img {
        height: 60px;
        /* Kleineres Logo auf mobilen Geräten */
    }

    .menu-overlay {
        width: 100%;
        /* Vollbreite-Menü auf mobilen Geräten */
    }

    /* Verbesserte Performance für Hintergrund-Blur auf mobilen Geräten */
    header.white {
        background-color: rgba(255, 255, 255, 0.95);
    }

    /* Section 4 Mobile Optimierung */
    #section4 .consulting-container {
        flex-direction: column;
    }

    #section4 .consulting-content {
        width: 100%;
        margin-right: 0;
    }

    #section4 .consulting-image {
        width: 100%;
        position: relative;
        margin-top: 40px;
        transform: none;
        display: none;
    }

    #section4 .image-placeholder {
        position: relative;
        top: auto;
        transform: none;
        width: 100%;
        height: 300px;
        margin-top: 20px;
    }

    #section4 .consulting-item {
        margin-bottom: 30px;
    }

    #section4 h2 {
        font-size: 2em;
    }

    #section4 p {
        font-size: 1em;
        line-height: 1.5;
    }
}

/* Custom Cursor Styles */
.custom-cursor {
    width: 75px;
    height: 75px;
    background-color: black;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: GraftyneDisplayRegular;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-image {
    cursor: none;
}

.carousel-image:hover~.custom-cursor {
    opacity: 1;
}

.menu-email {
    margin-top: auto;
    margin-bottom: 0;
    margin-left: 0;
    font-family: GraftyneDisplayRegular;
    font-size: 1.2em;
    color: #000;
    transition: color 0.3s ease;
}

.menu-email:hover {
    color: #ff0457;
}

.braincopter-planet {
    position: absolute;
    z-index: 1;
}

.planet-large {
    top: 40px;
    left: 40px;
    width: 120px;
    height: auto;
}

.planet-small {
    top: 40px;
    left: 200px;
    width: 80px;
    height: auto;
}

@media (max-width: 1024px) {
    .consulting-container {
        flex-direction: column;
    }

    .consulting-content {
        max-width: 100%;
        order: 0;
    }

    .consulting-image {
        position: relative;
        top: 0;
        height: auto;
        margin-bottom: 40px;
    }

    .image-placeholder {
        position: relative;
        height: 400px;
        margin-bottom: 40px;
    }

    .image-placeholder.second-image {
        position: relative;
        opacity: 0;
    }

    /* Neue Reihenfolge für Mobile */
    .consulting-container {
        display: flex;
        flex-direction: column;
    }

    .consulting-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .consulting-item:first-child {
        order: 2;
    }

    .consulting-item:last-child {
        order: 4;
    }

    .image-placeholder.first-image {
        order: 1;
    }

    .image-placeholder.second-image {
        order: 3;
    }
}

@media (max-width: 1200px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-box {
        max-width: 100%;
    }
}

/* News Section Styles */
#news-section {
    position: relative;
    overflow: hidden;
    padding: 150px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    #news-section {
        padding: 100px 40px;
    }
}

.news-headline {
    font-size: clamp(3em, 5vw, 7em);
    font-family: GraftyneDisplaySemiBold;
    color: #000;
    text-transform: uppercase;
    font-weight: normal;
    transform: translateX(-100vw);
    opacity: 0;
    margin-left: 0;
    align-self: flex-start;
}

.news-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.news-wrapper {
    display: flex;
    align-items: stretch;
    gap: 40px;
    max-width: 1200px;
    position: relative;
}

.news-item {
    width: calc(100% / 4);
    transform: translateX(100vw);
    opacity: 0;
    cursor: none;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item:focus {
    outline: 3px solid #ff0457;
    outline-offset: 5px;
}

.news-item:focus:not(:focus-visible) {
    outline: none;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    color: white;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-family: GraftyneDisplayRegular;
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #000;
}

.news-content p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.1em;
    line-height: 1.4;
    color: #000;
}

.news-more-button {
    padding: 15px 0;
    font-size: 1.5em !important;
    font-weight: bold !important;
    background-color: white;
    color: #ff0457;
    font-family: GraftyneDisplaySemiBold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    cursor: pointer;
    transform: translateX(100vw);
    opacity: 0;
    position: absolute;
    top: 165px;
    left: calc(75% + 100px);
}

.news-more-button:hover {
    color: black;
}

.news-item:hover~.custom-cursor {
    opacity: 1;
}

@media (max-width: 1024px) {
    .news-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .news-item {
        width: 100%;
        max-width: 400px;
    }

    .news-more-button {
        position: static;
        margin: 20px 0;
        align-self: center;
    }
}

/* Content Page Styles */
.content-page {
    padding-top: 120px;
    min-height: 100vh;
    background-color: white;
}

.news-overview, .success-stories-content {
    padding: 40px 40px 40px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(3em, 5vw, 7em);
    font-family: GraftyneDisplaySemiBold;
    color: #000;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-100px);
}

.intro-text {
    max-width: 800px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.intro-text p {
    font-size: clamp(1.2em, 4vw, 24px);
    line-height: clamp(1.8rem, 6vw, 38.4px);
    font-family: GraftyneDisplayRegular;
    text-align: left;
}

@media (max-width: 768px) {
    .intro-text p {
        font-size: 1.1em;
        line-height: 1.6;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.news-grid .news-item {
    opacity: 0;
    transform: translateY(30px);
    width: 100%;
}

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

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-overview {
        padding: 20px;
    }

    .page-title {
        font-size: 2.5em;
    }
}

/* News Detail Styles */
.news-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
}

.news-detail-header {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.news-detail-header .page-title,
.event-detail-header .page-title {
    font-size: clamp(3em, 5vw, 7em);
    font-family: GraftyneDisplaySemiBold;
    color: #000;
    text-transform: uppercase;
    font-weight: normal;
    margin: 20px 0;
    opacity: 1;
    transform: none;
}

.event-meta {
    margin-top: 30px;
    padding: 30px;
    background-color: #ff0457;
    color: white;
    border-radius: 4px;
    font-family: "Work Sans", sans-serif;
    margin-bottom: 20px;
}

.event-datetime {
    margin-bottom: 20px;
}

.event-date {
    display: block;
    font-size: 1.4em;
    font-family: GraftyneDisplayRegular;
    margin-bottom: 5px;
}

.event-time {
    display: block;
    font-size: 1.2em;
}

.event-location {
    margin: 20px 0;
}

.event-location strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.event-location address {
    font-style: normal;
    line-height: 1.4;
}

.event-cost {
    margin-top: 20px;
    font-size: 1.2em;
}

.event-detail-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.event-detail-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-detail-content {
    opacity: 1;
    transform: translateY(0);
    font-family: "Work Sans", sans-serif;
    padding-top: 20px;
}

.event-detail-content h2 {
    font-family: GraftyneDisplaySemiBold;
    font-size: 2em;
    color: #000;
    margin: 40px 0 20px;
}

.event-detail-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.event-links {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.event-website-link {
    display: inline-block;
    padding: 15px 40px;
    background-color: white;
    color: #ff0457;
    border: 2px solid #ff0457;
    border-radius: 50px;
    font-family: GraftyneDisplayRegular;
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.event-website-link:hover {
    background-color: #ff0457;
    color: white;
}

@media (max-width: 768px) {
    .event-detail {
        padding: 20px;
    }

    .event-detail-header .page-title {
        font-size: 2.5em;
    }

    .event-meta {
        padding: 20px;
    }

    .event-date {
        font-size: 1.2em;
    }

    .event-time {
        font-size: 1.1em;
    }

    .event-detail-content h2 {
        font-size: 1.5em;
    }

    .event-detail-content p {
        font-size: 1.1em;
    }
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    position: relative;
    z-index: 1;
    padding-bottom: 0 !important;
}

.tribe-events-l-container {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

header.tribe-events-calendar-list__event-header {
    position: relative !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    min-height: 0 !important;
}

/* Programme Archive Styles */
.programme-overview {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.programme-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.programm-item {
    opacity: 1;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    background-color: white;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.programm-item:hover {
    transform: translateY(-5px);
}

.programm-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 0;
    line-height: 0;
}

.programm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.programm-content {
    color: #000;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.programm-content h2 {
    font-family: GraftyneDisplayRegular;
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #000;
}

.programm-teaser {
    font-family: "Work Sans", sans-serif;
    font-size: 1em;
    line-height: 1.4;
}

.programm-detail-wrapper {
    margin-top: 20px;
}

.toggle-detail {
    background: none;
    border: none;
    color: #e0043d;
    text-decoration: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: GraftyneDisplayMedium;
}

.programm-detail {
    margin-top: 15px;
    font-family: "Work Sans", sans-serif;
    font-size: 0.9em;
    line-height: 1.4;
}

.programm-detail ul {
    margin-left: 20px;
}

.programm-detail li {
    margin-bottom: 5px;
}

.programm-detail li:last-child {
    margin-bottom: 0;
}

.programm-detail p {
    margin-bottom: 10px;
}

.programm-link {
    display: inline-block;
    padding: 15px 40px;
    background-color: white;
    color: #ff0457;
    border: 2px solid white;
    border-radius: 50px;
    font-family: GraftyneDisplayRegular;
    font-size: 1.2em;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
    align-self: flex-start;
}

.programm-link:hover {
    background-color: transparent;
    color: white;
}

@media (max-width: 1200px) {
    .programme-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programme-list {
        grid-template-columns: 1fr;
    }

    .programme-overview {
        padding: 20px;
    }

    .programm-content h2 {
        font-size: 1.2em;
    }
}

/* Legal/Copytext Page Styles */
.legal-content {
    max-width: 1000px;
    margin: 0 0;
    padding: 40px 40px 40px 40px;
}

.legal-content .page-title {
    font-size: clamp(3em, 5vw, 7em);
    font-family: GraftyneDisplaySemiBold;
    color: #000;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideIn 0.5s ease forwards;
}

.legal-text {
    font-family: "Work Sans", sans-serif;
    line-height: 1.6;
    color: #333;
}

.legal-text p {
    margin-bottom: 1.5em;
    font-size: 1.1em;
}

.legal-text h2 {
    font-family: GraftyneDisplaySemiBold;
    font-size: 2em;
    color: #000;
    margin: 2em 0 1em;
}

.legal-text h3 {
    font-family: GraftyneDisplaySemiBold;
    font-size: 1.5em;
    color: #000;
    margin: 1.5em 0 1em;
}

.legal-text ul,
.legal-text ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.legal-text li {
    margin-bottom: 0.5em;
}

.legal-text a {
    color: #ff0457;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: #000;
}

.page-image {
    margin: 2em 0;
    width: 100%;
}

.page-image img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .legal-content {
        padding: 20px;
    }

    .legal-content .page-title {
        font-size: 2.5em;
        margin-bottom: 30px;
    }

    .legal-text p {
        font-size: 1em;
    }

    .legal-text h2 {
        font-size: 1.8em;
    }

    .legal-text h3 {
        font-size: 1.3em;
    }
}

.tribe-events-header, .tribe-events-calendar-list-nav, .tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}

.tribe-events-calendar-list, .tribe-events-calendar-list * {
    font-family: "Work Sans", sans-serif;
}

/* Success Stories Styles */
#success-stories {
    position: relative;
    overflow: hidden;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.success-headline {
    font-size: clamp(3em, 5vw, 7em);
    font-family: GraftyneDisplaySemiBold;
    color: #000;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 20px;
}

.success-intro {
    max-width: 800px;
    font-size: clamp(1.2em, 4vw, 24px);
    line-height: clamp(1.8rem, 6vw, 38.4px);
    font-family: GraftyneDisplayRegular;
    margin-bottom: 60px;
}

.success-carousel {
    width: 100%;
    overflow-x: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: none;
    position: relative;
    display: flex;
    gap: 40px;
    padding-left: 40px;
}

.success-carousel::-webkit-scrollbar {
    display: none;
}

.success-item {
    width: 100vw;
    display: flex;
    gap: 30px;
    padding: 40px;
    margin-bottom: 40px;
    cursor: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .success-item {
        width: calc(100vw - 80px);
        flex-direction: column;
        padding: 20px;
    }
}

.success-item:hover {
    transform: translateY(-5px);
}

.success-logo {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.success-content {
    width: 40%;
    padding-right: 0;
    font-size: 1.1em;
    line-height: 1.6;
}

.success-content h3 {
    font-family: GraftyneDisplaySemiBold;
    font-size: 2em;
    margin-bottom: 20px;
}

.success-content p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-link {
    display: inline-block;
    color: #ff0457;
    text-decoration: none;
    font-family: GraftyneDisplayRegular;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.success-link:hover {
    transform: translateX(5px);
}

.success-image {
    width: 50%;
    height: 400px;
    overflow: hidden;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Success Stories Overlay */
.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 2000;
}

.success-overlay.active {
    display: block;
}

.close-success {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 90px;
    cursor: pointer;
    z-index: 2001;
    width: 60px;
    height: 60px;
    color: #ff0457;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-success:hover {
    transform: rotate(90deg);
}

.success-overlay-content {
    display: flex;
    height: 100vh;
}

.success-overlay-image {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
}

.success-overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-overlay-details {
    width: 50%;
    padding: 60px 40px;
    overflow-y: auto;
}

.success-overlay-logo {
    width: 200px;
    margin-bottom: 40px;
}

.success-overlay-logo img {
    width: 100%;
    height: auto;
}

.success-overlay-text {
    max-width: 600px;
}

.success-overlay-text h2 {
    font-family: GraftyneDisplaySemiBold;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.success-overlay-text p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-overlay-link {
    display: inline-block;
    color: #ff0457;
    text-decoration: none;
    font-family: GraftyneDisplayMedium;
    font-size: 1.1em;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.success-overlay-link:hover {
    color: #000;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    #success-stories {
        padding: 0;
        min-height: 150vh;
    }

    .success-headline {
        padding: 40px;
        background: white;
        margin: 0;
        width: 100%;
        z-index: 10;
    }

    .success-intro {
        padding: 0 40px;
        margin-bottom: 40px;
        position: relative;
        z-index: 1;
    }

    .success-carousel {
        padding-left: 40px;
        margin-top: 40px;
    }

    .success-item {
        flex-direction: column;
        padding: 20px;
    }

    .success-logo,
    .success-content {
        width: 100%;
    }

    .success-logo {
        max-width: 300px;
        margin: 0 auto;
    }

    .success-content {
        padding-right: 0;
    }

    .success-image {
        display: none;
    }

    /* Overlay Layout für Mobil anpassen */
    .success-overlay-content {
        flex-direction: column;
    }

    .success-overlay-image {
        width: 100%;
        height: 300px;
        position: relative;
    }

    .success-overlay-details {
        width: 100%;
        padding: 40px 20px;
    }
}

#success-stories .custom-cursor {
    width: 75px;
    height: 75px;
    background-color: black;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: GraftyneDisplayRegular;
    transform: translate(-50%, -50%);
}

.success-item {
    cursor: none;
}

.success-item:hover ~ .custom-cursor {
    opacity: 1;
}

/* Success Stories Overview Styles */
.success-stories-overview {
    padding: 120px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.success-stories-overview .page-title {
    font-family: GraftyneDisplaySemiBold;
    font-size: clamp(3em, 5vw, 7em);
    color: #000;
    text-transform: uppercase;
    font-weight: normal;
    margin: 20px 0;
    opacity: 1;
    transform: none;
}

.success-stories-overview .intro-text {
    max-width: 800px;
    margin: 0 0 60px;
    opacity: 1;
    transform: none;
}

.success-stories-overview .intro-text p {
    font-family: "Work Sans", sans-serif;
    font-size: clamp(1.2em, 2vw, 1.5em);
    line-height: 1.5;
    text-align: left;
    color: #000;
}

@media screen and (max-width: 768px) {
    .success-stories-overview {
        padding: 100px 20px 40px;
    }
    
    .success-stories-overview .intro-text p {
        font-size: 1.1em;
    }
}

.success-stories-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.success-stories-grid .success-item {
    display: flex;
    gap: 40px;
    padding: 40px;
    background-color: white;
    width: 100%;
    cursor: none;
    transition: none;
}

.success-stories-grid .success-item:hover {
    transform: none;
}

.success-stories-grid .success-logo {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-stories-grid .success-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.success-stories-grid .success-content {
    width: 40%;
    padding-right: 40px;
}

.success-stories-grid .success-content h3 {
    font-family: GraftyneDisplaySemiBold;
    font-size: 2em;
    margin-bottom: 20px;
}

.success-stories-grid .success-content p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
}

.success-stories-grid .success-image {
    width: 40%;
    height: 300px;
    overflow: hidden;
}

.success-stories-grid .success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .success-stories-overview {
        padding: 20px;
    }

    .success-stories-grid .success-item {
        flex-direction: column;
        padding: 20px;
    }

    .success-stories-grid .success-logo,
    .success-stories-grid .success-content,
    .success-stories-grid .success-image {
        width: 100%;
    }

    .success-stories-grid .success-logo {
        max-width: 300px;
        margin: 0 auto;
    }

    .success-stories-grid .success-content {
        padding-right: 0;
        margin: 20px 0;
    }

    .success-stories-grid .success-content h3 {
        font-size: 1.6em;
    }

    .success-stories-grid .success-image {
        height: 200px;
    }
}

/* Custom Cursor für Success Stories Übersicht */
.success-stories-overview .custom-cursor {
    width: 75px;
    height: 75px;
    background-color: black;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: GraftyneDisplayRegular;
    transform: translate(-50%, -50%);
}

.success-stories-grid .success-item:hover ~ .custom-cursor {
    opacity: 1;
}

@media (max-width: 1024px) {
    .success-stories-overview .custom-cursor {
        display: none;
    }
    
    .success-stories-grid .success-item {
        cursor: pointer;
    }
}

.news-detail-image {
    margin-bottom: 20px;
}

.news-detail-content p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #ff0457;
    padding: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-section:hover {
    background-color: #e0043d;
}

.newsletter-content {
    max-width: 100%;
    margin: 0 auto;
}

.newsletter-text {
    color: black;
    font-size: clamp(2.5em, 2vw, 3em);
    text-align: center;
    font-family: "Work Sans", sans-serif;
}

/* Newsletter Overlay */
.newsletter-overlay {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 65%;
    background-color: white;
    z-index: 2000;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.newsletter-overlay.active::before {
    display: none;
}

@media (max-width: 768px) {
    .newsletter-overlay {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
    }
}

.newsletter-overlay.active {
    display: block;
}

.newsletter-overlay-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.newsletter-overlay h2 {
    font-size: clamp(2em, 4vw, 2.2em) !important;
    margin-bottom: 20px;
    color: #ff0457;
}

.newsletter-overlay p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: "Work Sans", sans-serif;
}

.close-newsletter {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 90px;
    cursor: pointer;
    z-index: 2001;
    width: 60px;
    height: 60px;
    color: #ff0457;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background: none;
    border: none;
}

.close-newsletter:hover {
    transform: rotate(90deg);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    font-family: "Work Sans", sans-serif;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: #ff0457;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.9em;
    line-height: 1.4;
    font-family: "Work Sans", sans-serif;
}

.checkbox-group a {
    color: #ff0457;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-button {
    background: none;
    border: none;
    color: #ff0457;
    font-family: GraftyneDisplaySemiBold;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px 20px;
    margin: 0 auto;
    display: block;
    transition: color 0.3s ease;
}

.submit-button:hover {
    color: #e0043d;
}

.form-message {
    font-family: "Work Sans", sans-serif;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #e8f5e9;
    color: #2e7d32;
}

.form-message.error {
    display: block;
    background-color: #ffebee;
    color: #c62828;
}

@media (max-width: 768px) {
    .newsletter-overlay {
        padding: 40px 20px;
    }
    
    .newsletter-overlay-content {
        padding: 10px;
    }
    
    .submit-button {
        width: 100%;
        text-align: center;
    }
}

/* Partner Logos Styles */
.partner-logos {
    padding: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fokus-Stile für Barrierefreiheit */
.logo-item a:focus {
    outline: 2px solid #000;
    outline-offset: 4px;
}

/* Reduzierte Bewegung für Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
    .logo-item {
        transition: none;
    }
    
    .logo-item img {
        transition: none;
    }
}

.tribe-events-calendar-list__month-separator-text {
    font-family: "Work Sans", sans-serif !important;
}

.rtec-checkbox-option-wrap label {
    display: inline !important;
}

.rtec-input-wrapper a {
    display: block;
    margin-top: 5px !important;
}

#rtec .rtec-form-wrapper {
    background: white !important;
    border: none !important;
    padding: 0 !important;
}

.rtec-attendance.tribe-events-notices {
    display: none !important;
}

.rtec-submit-button {
    background-color: #ff0457;
    color: #fff;
    font-weight: bold;
    font-family: "Work Sans", sans-serif;
    border: none !important;
}

h3.rtec {
    margin: 15px 0 5px 0;
    font-family: GraftyneDisplayRegular;
    font-size: 28px;
}

/* Dim Background für Newsletter */
.dim-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1999;
}

.dim-background.active {
    display: block;
}

@media (max-width: 768px) {
    .newsletter-overlay {
        padding: 40px 20px;
    }
    
    .newsletter-overlay-content {
        padding: 10px;
    }
    
    .submit-button {
        width: 100%;
        text-align: center;
    }
}

.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: pointer;
}

.to-top.visible {
    opacity: 1;
    visibility: visible;
}

.to-top:hover {
    transform: translateY(-3px);
}

.to-top img {
    width: 60px;
    height: 60px;
}

@media (max-width: 768px) {
    .to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .to-top img {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .to-top {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

.page-id-33 .legal-text a {
    color: #000;
    text-decoration: underline;
}

/* Newsletter Marquee Animation */
.newsletter-text {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.marquee-container {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

.marquee-content {
    display: inline-block;
    padding-right: 50px; /* Abstand zwischen den wiederholten Texten */
    font-size: 1.5em;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
}

@media (max-width: 768px) {
    .marquee-content {
        font-size: 1.1em;
    }
}

.post-type-archive-tribe_events .intro-text {
    max-width: 90%;
}

.post-type-archive-tribe_events .intro-text h3 {
    margin: 80px 0 30px 0;
}

.post-type-archive-tribe_events .intro-text p {
    font-size: 1.1em;
    line-height: 1.6;
}


