@import "shared.css";


html {
    -webkit-text-size-adjust: 100%;
    line-height: 1.5;
    min-height: 100vh;
    width: 100vw;
    scroll-snap-type: y proximity;
    max-height: 100vh;
}

body {
    margin: 0 auto;
    display: flex;
    overflow-x: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    xmin-height: 100vh;
    xwidth: 100vw;
    color: #000;
    background-color: var(--background-color);
    font-family: Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
}


    body > * {
        width: 100%;
        margin-left: 1.25rem;
        margin-right: 1.25rem
    }

*, *:before, *:after {
    box-sizing: border-box !important;
}

.home section:first-of-type:not(:last-of-type):not(.section-hero) {
    min-height: 100vh;
}


header {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: stretch;
    z-index: 2;
    margin: 20px 20px 0px 40px !important;
}

    header:before {
        content: " ";
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px'%3E%3Cpattern id='diagonalHatch' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Cpath d='M-1,1 l2,-2 M0, 4 l4, -4 M3, 5 l2, -2' style='stroke:rgba(255,255,255,.3); stroke-width:1.5'/%3E%3C/pattern%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='url(%23diagonalHatch)'/%3E%3C/svg%3E%0A");
        border-bottom-width: 1px;
        border-top-width: 1px;
        background-color: rgb(var(--red), var(--green), var(--blue));
        border-color: rgb(var(--red), var(--green), var(--blue));
        height: .5rem;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
    }

.logo {
    height: var(--header-height);
    display: flex;
    align-items: center
}

#imgLogo {
    fill: var(--text-color);
    stroke: var(--text-color);
    width: 250px;
    margin-left: 10px;
}

header > a > img {
    padding-right: .75rem;
    align-self: center;
}

@media(max-width:960px) {
    .hamburger:checked ~ .top-menu {
        max-height: 100vh;
        opacity: 1;
        padding: 15px 0
    }
}

header > a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.75rem;
    white-space: nowrap;
    flex: 1;
}

header nav li {
    border-color: #374151;
    cursor: pointer;
    display: block;
    text-align: center;
    width: 100%;
}

    header nav li a {
        border-top-width: 1px;
        border-color: #d1d5db;
        display: inline-block;
        padding-top: .5rem;
        padding-bottom: .5rem;
        width: 100%;
        color: #000;
        text-decoration: none;
        font-weight: bolder;
    }

header nav ul {
    background-color: #fff;
    border-radius: .375rem;
    display: none;
    box-shadow: 0 0 transparent,0 0 transparent,0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);
    z-index: 20;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

    .relative,
    header nav ul > li {
        position: relative;
    }

        header nav ul > li ul {
            display: block;
            font-size: .875rem;
            line-height: 1.25rem;
            position: static;
            left: 0;
            top: 3rem;
            z-index: 10;
        }

            header nav ul > li ul li:first-of-type a {
                border-top-width: 0;
            }

        header nav ul > li:hover ul {
            visibility: visible;
        }

header .hamburger {
    border-color: #6b7280;
    border-radius: .125rem;
    border-width: 1px;
    padding: .5rem 1rem;
    background-color: transparent;
    margin-right: 25px;
}

header nav:hover .hamburger {
}

.block,
header nav:hover > ul {
    display: block;
}

.content-container {
    padding: 50px;
}


@media (max-width:767px) {
    .content-container {
        padding: 40px;
    }
}

@media (max-width:1023px) {
    header nav:hover > ul ul {
        background-color: #fff;
        position: static;
    }

    header nav:hover > ul {
        padding-top: .25rem;
        position: absolute;
        right: .75rem;
        left: .75rem;
        margin-top: 0px;
    }

        header nav:hover > ul li {
            background-color: #fff;
        }

            header nav:hover > ul li > a:hover {
                background-color: rgba(var(--red), var(--green), var(--blue), .3);
                border-color: rgba(var(--red), var(--green), var(--blue), .7);
            }

        header nav:hover > ul > li:hover + li > a {
            border-color: rgba(var(--red), var(--green), var(--blue), .7);
        }

        header nav:hover > ul > li:hover:last-of-type > a {
            border-bottom-width: 1px;
        }
}

.page header ~ main {
    margin-top: 0;
    margin-bottom: 0;
}


@media(min-width: 1024px) {
    header nav li a {
        border-top-width: 0;
        width: auto
    }

    header nav ul > li ul {
        background-color: #e5e7eb;
        display: none;
        position: absolute;
        top: 2rem
    }

    header nav ul > li:hover ul {
        display: block;
        visibility: visible
    }

    header nav:hover > ul {
        display: inline-block
    }

    header nav li {
        display: inline-block;
        padding-left: 1rem;
        padding-right: 1rem;
        width: auto
    }

    header nav ul {
        background-color: transparent;
        display: inline-block;
        box-shadow: 0 0 transparent,0 0 transparent,0 0 transparent;
        width: auto
    }

    header .hamburger {
        display: none
    }
}

@keyframes fade-in-1 {
    0% {
        opacity: 0;
        visibility: visible;
    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}


/* ═══════════════════════════════════════════════
   PATCH: Header über Carousel legen
   Diese Regeln ans Ende der start.css anfügen
   ═══════════════════════════════════════════════ */

/* 1. Header aus dem Flow nehmen → liegt über dem Carousel */
header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    /* Den farbigen Streifen oben ebenfalls transparent */
}

    header:before {
        background-color: transparent !important;
        border-color: transparent !important;
        background-image: none !important;
    }

/* 2. Logo: weiß + Schatten damit es auf hellem Hintergrund sichtbar bleibt */
#imgLogo {
    filter: brightness(0) invert(1) /* → weiß */
    drop-shadow(0 1px 0 rgba(0,0,0,0.7)) drop-shadow(0 -1px 0 rgba(0,0,0,0.7)) drop-shadow(1px 0 0 rgba(0,0,0,0.7)) drop-shadow(-1px 0 0 rgba(0,0,0,0.7));
}

/* 3. Nav-Links: weiß + mehrschichtiger Text-Shadow
      → gut lesbar auf dunklem UND hellem Hintergrund */
header nav li a {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 -1px 3px rgba(0,0,0,0.9), 1px 0 3px rgba(0,0,0,0.9), -1px 0 3px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6);
}

/* Hamburger-Icon ebenfalls weiß + Kontur */
header .hamburger {
    border-color: rgba(255,255,255,0.7) !important;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.8));
}



.home #description {
    background-color: #fff;
    min-height: 100vh;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    /*padding-bottom: 2.5rem;*/
    margin-top: 10px;
}

    .home #description p, .home #description li {
    }

    .home #description p {
        padding-top: .5rem;
        padding-bottom: .5rem;
        text-align: justify;
    }

    .home #description a {
        color: var(--action-color);
        text-decoration: underline;
        font-weight: bold;
    }

        .home #description a:hover :not(.cta-button) {
            filter: none !important;
            color: #fff !important;
            background-color: var(--action-color);
            text-decoration: none;
        }

    .home #description .cta-button a:hover {
        background-color: #fff !important;
        color: var(--action-color) !important;
        text-decoration: none;
    }

    .home #description h1 {
        margin-top: 2.5rem;
        text-align: center;
    }

    .home #description h2 {
        font-weight: 700;
        font-size: 1.125rem;
        line-height: 1.75rem;
        padding-top: .75rem;
        padding-bottom: .75rem;
        margin-top: 2.5rem;
    }

    .home #description hr {
        clear: both;
        scroll-snap-align: start;
    }

    .home #description .image-container img {
        border-radius: .125rem;
        float: left;
        margin-top: 1.25rem;
        margin-bottom: 2.5rem;
        margin-top: 65px !important;
        width: 90% !important;
    }

    .home #description img.right {
        float: right;
        margin-left: 2rem; /* Abstand zum Text */
        margin-right: 0;
    }

    .float-right,
    .home #description hr:nth-of-type(odd) ~ p img {
        float: right;
    }

    .home #description img#sprachen {
        width: 50% !important;
        margin-left: 25% !important;
    }

    .home #description .image-container.centered {
        display: flex;
        justify-content: center; /* horizontal */
        align-items: center; /* vertikal */
    }

        .home #description .image-container.centered img {
            float: none !important;
            margin: 0 !important;
        }

.image-container img.img-shadow {
    padding: 0px !important;
    margin-top: 50px;
}

.img-shadow {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-radius: .125rem;
}

@media (min-width: 853px) {
    .video-container video {
        margin-top: 150px;
        max-width: 500px;
        padding: 0px 20px;
    }
}

footer {
    text-align: center;
    vertical-align: bottom;
}

    footer a {
        display: inline-block;
        flex-grow: 0;
        font-weight: 700;
        font-size: .75rem;
        line-height: 1rem;
        padding: .75rem;
        color: #374151;
        transition-property: background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;
        transition-timing-function: cubic-bezier(.4,0,.2,1);
        transition-duration: .15s;
    }

        footer a:focus {
            color: rgb(var(--red), var(--green), var(--blue));
        }

    footer img {
        margin: .75rem auto;
    }

    footer ul {
        align-items: center;
    }

    footer li {
        display: inline-block;
    }

    footer > div {
        font-size: .875rem;
        line-height: 1.25rem;
        margin: 1.75rem;
    }

    footer i {
        display: block;
        height: 2rem;
        width: 2rem;
        transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
        transition-property: all;
        transition-timing-function: cubic-bezier(.4,0,.2,1);
        transition-duration: .15s;
    }

        footer i:hover {
            opacity: .9;
        }


footer {
    background-color: var(--footer-background-color);
    margin: 0;
    max-width: none;
    padding: 1.25rem;
    color: var(--footer-color);
    width: 100vw;
}

    footer.dark a {
        color: var(--action-color);
    }

        footer.dark a:focus {
        }

@media (min-width:640px) {
    footer a {
        padding: .5rem;
    }
}
/* ==========================================
   CodeRoom Feature Section
   ========================================== */

.features-section {
    background: var(--tertiary-color);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: var(--text-color);
    font-family: Exo;
}

h2.section-title {
    padding: 0px !important;
    margin: 0px !important;
}

/* GRID */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
    align-items: stretch;
}

/* CARD */

.feature-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 32px rgba(0,0,0,0.07);
    transition: transform .25s ease,box-shadow .25s ease;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 28px 60px rgba(0,0,0,0.16);
    }

/* IMAGE (Netflix style) */

.feature-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #000;
}


    .feature-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
        transition: transform .45s ease;
    }

.feature-card:hover .feature-image img {
    transform: scale(1.08);
}

/* CONTENT */

.feature-content {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* TITLE */

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

    .feature-card h3 a {
        color: var(--text-color);
        text-decoration: none;
        font-weight: 700;
    }

        .feature-card h3 a:hover {
            color: var(--primary-color);
        }


.feature-card h3 {
    display: flex;
    align-items: flex-start;
    min-height: 60px;
}


/* TEXT */

.feature-card p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #555;
    flex-grow: 1;
    padding: 0px !important;
}

.feature-card a {
    text-decoration: none !important;
}

/* BUTTON */
.feature-button {
    align-self: flex-start;
    padding: 10px 18px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: background .2s ease,transform .15s ease,box-shadow .15s ease;
}

    .feature-button:hover {
        background: var(--secondary-color);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

/* MOBILE */

@media(max-width:768px) {

    .features-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .feature-image {
        height: 180px;
    }
}

/* ==========================================
   Startseite Zielgruppen CTA
   ========================================== */

.cta-strip--audiences {
    background: linear-gradient(135deg, #08111f 0%, #0f172a 55%, #102a5c 100%);
    color: #fff;
}

    .cta-strip--audiences .content-container {
        max-width: 1180px;
        margin: 0 auto;
        padding-top: 34px;
        padding-bottom: 36px;
    }

.audience-cta-header {
    max-width: 860px;
    margin: 0 auto 24px auto;
    text-align: center;
}

    .audience-cta-header h2 {
        margin: 0 0 8px 0;
        padding: 0 !important;
        color: #fff;
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .audience-cta-header p {
        margin: 0;
        padding: 0 !important;
        color: rgba(255,255,255,0.78);
        font-size: 0.94rem;
        line-height: 1.55;
    }

.audience-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.audience-cta-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
    color: #0f172a !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.38);
    box-shadow: 0 14px 34px rgba(0,0,0,0.2);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .audience-cta-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 48px rgba(0,0,0,0.3);
        background: #fff;
    }

.audience-cta-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37,99,235,0.28);
}

.audience-cta-card h3 {
    margin: 0 0 5px 0;
    padding: 0 !important;
    font-size: 1.08rem;
    line-height: 1.25;
    color: #0f172a;
}

.audience-cta-card p {
    margin: 0 0 10px 0;
    padding: 0 !important;
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.45;
}

.audience-cta-card span {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    color: #2563eb;
    font-size: 0.82rem;
}

    .audience-cta-card span::after {
        content: "→";
        margin-left: 7px;
        transition: transform .18s ease;
    }

.audience-cta-card:hover span::after {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .audience-cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cta-strip--audiences .content-container {
        padding-top: 30px;
        padding-bottom: 32px;
    }

    .audience-cta-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .audience-cta-header h2 {
        font-size: 1.35rem;
    }
}


/* ==========================================
   Sprachwahl im Startseiten-Header
   Optisch passend zum vorhandenen Hauptmenü
   ========================================== */

header .language-switcher {
    position: relative;
    flex: 0 0 auto;
    margin-left: 20px;
    margin-right: 10px;
    z-index: 30;
}

/* Aktuell ausgewählte Sprache */
header .language-switcher__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 64px;
    height: 42px;
    padding: 0 14px;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 -1px 3px rgba(0,0,0,0.9), 1px 0 3px rgba(0,0,0,0.9), -1px 0 3px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6);
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: .375rem;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

    /* Standard-Pfeil von details ausblenden */
    header .language-switcher__toggle::-webkit-details-marker {
        display: none;
    }

    header .language-switcher__toggle::marker {
        content: "";
    }

/* Eigenen Pfeil drehen */
header .language-switcher__arrow {
    flex: 0 0 auto;
    transition: transform .15s ease;
}

header .language-switcher[open] .language-switcher__arrow {
    transform: rotate(180deg);
}

/* Das geöffnete Sprachmenü */
header .language-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: block;
    min-width: 190px;
    padding: .25rem 0;
    background-color: #fff;
    border-radius: .375rem;
    box-shadow: 0 0 transparent, 0 0 transparent, 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    z-index: 30;
}

/* Einzelne Sprache */
header .language-switcher__link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: .5rem 1rem;
    color: #000 !important;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-decoration: none;
    text-shadow: none;
    border-top: 1px solid #d1d5db;
    background-color: #fff;
}

    /* Beim ersten Eintrag keine obere Trennlinie */
    header .language-switcher__link:first-child {
        border-top-width: 0;
    }

    /* Aktive Sprache */
    header .language-switcher__link.is-active {
        color: rgb(var(--red), var(--green), var(--blue)) !important;
        background-color: rgba(var(--red), var(--green), var(--blue), .12);
    }

/* Sprachkürzel wie DE, EN, FR */
header .language-switcher__code {
    display: inline-block;
    min-width: 28px;
    font-weight: 800;
    text-align: center;
}

/* Vollständiger Sprachname */
header .language-switcher__name {
    white-space: nowrap;
}

