@font-face {
    font-family: RidleyGrotesk-Bold;
    src: url('/fonts/361012_0_0.eot');
    src: url('/fonts/361012_0_0.eot?#iefix') format('embedded-opentype'), url('/fonts/361012_0_0.woff2') format('woff2'), url('/fonts/361012_0_0.woff') format('woff'), url('/fonts/361012_0_0.ttf') format('truetype');
    font-display: swap
}

@font-face {
    font-family: RidleyGrotesk-Regular;
    src: url('/fonts/361012_2_0.eot');
    src: url('/fonts/361012_2_0.eot?#iefix') format('embedded-opentype'), url('/fonts/361012_2_0.woff2') format('woff2'), url('/fonts/361012_2_0.woff') format('woff'), url('/fonts/361012_2_0.ttf') format('truetype');
    font-display: swap
}

/* ========================================
   MINIMAL CRITICAL CSS FÜR "ABOVE THE FOLD"
   ======================================== */

/* --- 1. Navbar --- */
/* Platzhalter und Basis-Layout */
site-header { display: block; min-height: 128px; }
@media (max-width: 1299px) { site-header { min-height: 64px; } }

/* Hintergrund und Positionierung des Headers */
.ai-header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Flexbox-Layout für Logo und Navigation (KRITISCH!) */
.ai-header > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 128px;
}

@media (max-width: 1299px) {
    .ai-header > div {
        min-height: 64px; /* Kann die Regel in critical.css ersetzen */
    }
}

/* Logo-Größe und Sichtbarkeit */
.ai-header__logo img {
    height: 48px;
    display: block;
}
@media (max-width: 1299px) { .ai-header__logo img { height: 32px; } }

/* Grundlegende Textfarbe für Nav-Links */
.ai-header__nav-link {
    color: #fff;
    text-transform: uppercase;
}


/* --- 2. Hero Section --- */
.hero-stage {
    position: relative;
    display: block;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    background-color: white;
    min-height: 40vh; 
}

.hero-stage__overlay--gradient {
    background: linear-gradient(135deg, rgba(165, 0, 101, 0.8), rgba(255, 148, 3, 0.6));
}

/* Positioniert den Overlay-Verlauf korrekt */
.hero-stage__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Zentriert den Textinhalt */
.hero-stage__content {
    position: relative;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    padding: 2rem;
    text-align: center; /* Wichtig für den ersten Paint */
}

/* Grundlegende Typografie für Titel und Untertitel */
.hero-stage__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: bold;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'RidleyGrotesk-Bold', sans-serif;
    color: white; /* Sicherstellen, dass der Text sichtbar ist */
}
.hero-stage__subtitle {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    margin: 0 0 2rem 0;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: white; /* Sicherstellen, dass der Text sichtbar ist */
}


/* --- 3. Intro Text Block --- */
/* Layout und Typografie, um Springen zu verhindern */
.intro-content-section {
    background-color: #f5f5f5;
    text-align: center;
    padding: 24px 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.intro-content-section h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
    font-family: RidleyGrotesk-Bold, Arial; /* Wichtig für korrekte Größe */
}
.intro-content-section .p--intro {
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    font-family: RidleyGrotesk-Regular, Arial; /* Wichtig für korrekte Größe */
}
/* Media-Query für kleinere Schrift auf Mobile, um CLS zu vermeiden */
@media (max-width: 768px) {
    .intro-content-section h2 { font-size: 1.6rem; }
}


/* --- 4. Team Bild --- */
/* 1. Der Platzhalter für die Komponente selbst */
team-image-banner {
    display: block;
    width: 100%;
    /* Wende die Stile des Wrappers direkt hier an */
    background-color: #f5f5f5;
    padding-top: 30px; 
}

/* 2. Der Stil für das Bild, das später hineingeladen wird */
team-image-banner img {
    display: block;
    width: 100%;
    height: auto;
    /* Gib dem Bild selbst das korrekte Seitenverhältnis, um den Platz innerhalb des Paddings zu definieren */
    aspect-ratio: 1920 / 226; 
}
/* Platzhalter für das Bild, um Layout Shift zu vermeiden */
.team-image-wrapper {
    background-color: #f5f5f5; /* Hintergrund, während Bild lädt */
    /* Wir nutzen die im HTML angegebenen Dimensionen, um das Seitenverhältnis zu berechnen: 301 / 2560 = 0.1175... */
    /* Das Bild selbst ist aber wahrscheinlich responsive und nicht so breit.
       Eine feste min-height ist hier einfacher und sicherer. */
    min-height: 150px; /* Passe diesen Wert an die ungefähre Höhe des Bildes auf Desktop an */
}
@media (max-width: 768px) {
    .team-image-wrapper {
        min-height: 100px; /* Passe an die mobile Höhe an */
    }
}

article,
header {
    display: block
}

b,
strong {
    font-weight: inherit;
    font-weight: bolder
}

@font-face {
    font-family: RidleyGrotesk-Bold;
    src: url('/fonts/361012_0_0.eot');
    src: url('/fonts/361012_0_0.eot?#iefix') format('embedded-opentype'), url('/fonts/361012_0_0.woff2') format('woff2'), url('/fonts/361012_0_0.woff') format('woff'), url('/fonts/361012_0_0.ttf') format('truetype');
    font-display: swap
}

@font-face {
    font-family: RidleyGrotesk-Regular;
    src: url('/fonts/361012_2_0.eot');
    src: url('/fonts/361012_2_0.eot?#iefix') format('embedded-opentype'), url('/fonts/361012_2_0.woff2') format('woff2'), url('/fonts/361012_2_0.woff') format('woff'), url('/fonts/361012_2_0.ttf') format('truetype');
    font-display: swap
}

@media screen and (max-width:48rem) {
    .hide-for-small {
        display: none !important
    }
}

h2,
h4 {
    display: block;
    margin: 0 0 .5rem
}

h4 {
    font-family: RidleyGrotesk-Bold, Arial;
    font-weight: 400;
    font-size: 1.35rem;
    line-height: 1.5em
}

b,
strong {
    font-family: RidleyGrotesk-Bold, Arial;
    font-weight: 500
}

.ce-list-grid {
    padding-bottom: 3.125rem;
    background-color: #f3f3f3
}

.ce-list-grid>header {
    padding: 3.75rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center
}

.ce-list-grid>header h2 {
    font-family: RidleyGrotesk-Bold, Arial;
    font-weight: 400;
    padding: 0 1.25rem
}

.ce-list-grid>div {
    padding: 0 1.875rem
}

.ce-list-grid>div>div {
    margin-bottom: 1.875rem
}

.ce-list-grid .ce-list-grid__grid__item {
    text-align: center;
    margin-bottom: 1.875rem
}

.ce-list-grid .ce-list-grid__grid__item>div {
    background-color: #ff9403;
    border-radius: 100%;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center
}

.ce-list-grid .ce-list-grid__grid__item>div img {
    max-width: 2.1875rem;
    max-height: 2.5rem
}

.ce-list-grid .ce-list-grid__grid__item p {
    line-height: 1.5em;
    font-size: 1.05rem
}

.ce-quote {
    background-color: #fff
}

.ce-quote__container {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 75rem
}

.ce-quote__container>div {
    flex: 1 0 9%;
    padding: 1.875rem;
    max-width: 75rem;
    margin: 0 auto
}

.ce-quote__container>div p:last-child {
    font-size: 1.1rem;
    font-family: RidleyGrotesk-Bold, Arial;
    font-weight: 400;
    color: #a50065;
    margin-bottom: 0
}

.ce-quote__container>div:last-child {
    flex: 1 0 76%
}

@media screen and (min-width:62rem) {
    h2 {
        font-size: 1.5rem
    }

    .p--intro,
    p {
        margin: 0 0 1.5rem
    }
}

@media screen and (min-width:75rem) {
    h2 {
        font-size: 2.2rem
    }

    .p--intro,
    p {
        margin: 0 0 1.6rem
    }
}

@media screen and (min-width:62rem) {
    p {
        font-size: 1rem
    }

    .p--intro {
        font-size: 1.2rem
    }
}

html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article {
    display: block
}

main {
    display: block
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    text-decoration: none !important
}

b {
    font-weight: inherit;
    font-weight: bolder
}

img {
    border-style: none
}

h2 {
    text-align: center;
    color: #333
}

.flag-icon {
    width: 90px;
    height: 90px
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

* {
    box-sizing: border-box
}

h2 {
    display: block;
    margin: 0 0 .5rem
}

@media screen and (min-width:62rem) {
    h2 {
        margin: 0 0 .8rem
    }
}

@media screen and (min-width:75rem) {
    h2 {
        margin: 0 0 1rem
    }
}

h2 {
    font-family: RidleyGrotesk-Bold, Arial;
    font-weight: 400;
    font-size: 1.38rem;
    line-height: 1.5em
}

@media screen and (min-width:43rem) {
    h2 {
        font-size: 1.2rem
    }
}

@media screen and (min-width:62rem) {
    h2 {
        font-size: 1.5rem
    }

    .p--intro,
    p {
        margin: 0 0 1.5rem
    }
}

p a {
    color: #fff;
    text-decoration: none !important
}

.p--intro,
p {
    font-family: RidleyGrotesk-Regular, Arial;
    margin: 0 0 1.5rem
}

@media screen and (min-width:75rem) {
    h2 {
        font-size: 2.2rem
    }

    .p--intro,
    p {
        margin: 0 0 1.6rem
    }
}

b {
    font-family: RidleyGrotesk-Bold, Arial;
    font-weight: 500
}

p {
    line-height: 1.5em;
    font-size: .95rem
}

.p--intro {
    line-height: 1.5em;
    font-size: 1.1rem
}

@media screen and (min-width:62rem) {
    p {
        font-size: 1rem
    }

    .p--intro {
        font-size: 1.2rem
    }
}

body,
html {
    font-size: 100%;
    font-family: RidleyGrotesk-Regular, Arial;
    color: #222;
    background-color: #bebebe;
    height: 100%
}

@media (max-width:600px) {

    body,
    html {
        overflow-x: hidden;
        margin: 0;
        padding: 0
    }
}

@media (max-width:1024px) {

    body,
    html {
        overflow-x: hidden;
        margin: 0;
        padding: 0
    }
}

.site-content {
    max-width: 120rem;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2)
}

.ngbutton {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: #a50065;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    box-shadow: 0 2px 10px rgba(165, 0, 101, .3);
    border: none
}

.ngbutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: #a50065;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    box-shadow: 0 2px 10px rgba(165, 0, 101, .3);
    border: none;
    text-align: center
}

/* CLS Fix für site-header auch in media */
site-header {
    display:block;
    min-height: 128px;
}

/* CLS Fix für image-teaser auch in media */
/* Gibt dem Teaser sofort seine Hintergrundfarbe */
.image-teaser {
    background-color: #F5F5F5;
}

/* Definiert den Abstand, der die Bildgröße beeinflusst */
.image-teaser__img-wrapper {
    padding: clamp(1.25rem, 2.5vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}


/* CLS Fix für contact-banner auch in media */
contact-banner:not([component-size]) {
    min-height: 90px;
}

contact-banner[component-size="big"] {
    min-height: 210px;
}

contact-banner[component-size="normal"] {
    min-height: 90px;
}

/*CLS Fix für pricing-table auch in media */
pricing-table {
    min-height: 820px;
}

/* 3cx Team-image-Wrapper */
.team-image-wrapper {
    background-color: #f5f5f5;
    padding-top: 30px;
}

.team-image-wrapper img {
    aspect-ratio: 2560 / 301;
    display: block;
    width: 100%;
    height: auto;
}



hero-stage {
    display: block;
    position: relative;
    min-height: 40vh;
    background-color: #fff;
    overflow: hidden;
    contain: layout style paint;
}

hero-stage:not(:defined) {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222
}

hero-stage h1[data-seo-h1] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important
}

@media (max-width: 1299px) {
    site-header {
        min-height: 64px;
    }
}


@media (max-width:768px) {
    hero-stage {
        min-height: 45vh
    }
    site-header {
        min-height: 64px;
    }
    image-teaser {
        min-height: 740px;
    }
    contact-banner:not([component-size]) {
        min-height: 130px;
    }
    contact-banner[component-size="big"] {
        min-height: 245px;
    }
    contact-banner[component-size="normal"] {
        min-height: 200px;
    }
    pricing-table {
        min-height: 1280px;
    }
}

@media (max-width:480px) {
    hero-stage {
        min-height: 40vh
    }
    image-teaser {
        min-height: 550px;
    }
    contact-banner:not([component-size]) {
        min-height: 100px;
    }
    contact-banner[component-size="big"] {
        min-height: 230px;
    }
    contact-banner[component-size="normal"] {
        min-height: 170px;
    }
    pricing-table {
        min-height: 1320px;
    }
}


/*-- TEST komplette sie-header, hero-stage und image-teaser einfügen */

/* Ensure active underline in submenu is always white, 2px, and at correct position */
.ai-header__sub-menu-link.active::after {
    background: #fff !important;
    height: 2px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 0 !important;
    opacity: 0.9 !important;
    z-index: 3 !important;
}

/* Header background and layout */
.ai-header {
    background: #000;
    color: #fff;
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    max-width: 120rem;
    margin: 0 auto;
}

/* Flex row for logo and nav */
.ai-header>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 128px;
    transition: min-height 0.3s cubic-bezier(.4, 2, .6, 1);
}

/* Logo sizing */
.ai-header__logo {
    display: flex;
    align-items: center;
    height: 128px;
    transition: height 0.3s cubic-bezier(.4, 2, .6, 1);
}

.ai-header__logo img {
    height: 48px;
    max-width: 180px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
    transition: height 0.3s cubic-bezier(.4, 2, .6, 1);
}

/* Navigation base styles */
.ai-header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 128px;
    transition: height 0.3s cubic-bezier(.4, 2, .6, 1);
}

/* Shrink header on scroll */

.ai-header--scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.ai-header--scrolled>div {
    min-height: 64px;
}

.ai-header--scrolled .ai-header__logo {
    height: 64px;
}

.ai-header--scrolled .ai-header__logo img {
    height: 32px;
}

.ai-header--scrolled .ai-header__nav {
    height: 64px;
}

.ai-header--scrolled .ai-header__nav-list {
    height: 64px;
}

/* in scrolled reduce font size of a tags */
.ai-header--scrolled .ai-header__nav-link {
    font-size: 0.9rem;
}

.ai-header__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    height: 128px
}

.ai-header__nav-item {
    position: relative;
}

.ai-header__nav-link {
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.18rem;
    padding: 0.75rem 1rem;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    height: 100%;
    border: none;
    background: none;
    cursor: pointer;
}

/* Specific styles for dropdown button */
.ai-header__nav-link--dropdown {
    font-family: inherit;
}

.ai-header__nav-link:hover {
    background: #a50065;
    color: #fff;
}

/* Focus styles for keyboard navigation */
.ai-header__nav-link:focus {
    outline: 2px solid #a50065;
    outline-offset: 2px;
    background: #a50065;
    color: #fff;
}

/* Remove focus outline for mouse clicks, keep for keyboard navigation */
.ai-header__nav-link:focus:not(:focus-visible) {
    outline: none;
}

.ai-header__nav-link:focus-visible {
    outline: 2px solid #a50065;
    outline-offset: 2px;
}

.ai-header__nav-link.active {
    background: none;
    color: #a50065;
    position: relative;
}

.ai-header__nav-link.active::after {
    content: '';
    display: block;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 32px;
    height: 3px;
    background: #a50065;
    border-radius: 2px;
}

.ai-header--scrolled .ai-header__nav-link.active::after {
    content: '';
    display: block;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 10px;
    height: 3px;
    background: #a50065;
    border-radius: 2px;
}

/* Submenu structure */
.ai-header__sub-menu {
    display: none;
    position: absolute;
    left: auto;
    right: 0;
    background: #a50065;
    min-width: 340px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    /* border-radius removed for clean edge */
    z-index: 1100;
}

/* Show submenu when focused via keyboard or when parent has focus-within */
.ai-header__nav-item--has-submenu:focus-within .ai-header__sub-menu,
.ai-header__nav-item--has-submenu .ai-header__nav-link:focus+.ai-header__sub-menu {
    display: block;
}

/* Ensure submenu stays visible when navigating with keyboard */
.ai-header__sub-menu:focus-within {
    display: block;
}

/* Ensure submenu starts below nav bar when header is fixed/scrolled */
.ai-header--scrolled .ai-header__sub-menu,
.ai-header--fixed .ai-header__sub-menu {
    top: 64px;
}

.ai-header__sub-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-end;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ai-header__sub-menu-item {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.ai-header__sub-menu-link {
    font-size: 0.98rem;
    color: #fff;
    background: none;
    border-radius: 0;
    width: 100%;
    text-align: right;
    position: relative;
    text-transform: none;
    transition: color 0.2s, background 0.2s;
    will-change: auto;
    padding: 0.75rem 1rem;
    min-height: 44px;
    /* display: flex;
    align-items: center; */
}

.ai-header__sub-menu-link-text {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(.4, 2, .6, 1);
    will-change: transform;
}

.ai-header__sub-menu-link:hover,
.ai-header__sub-menu-link.active {
    color: #fff;
    background: none;
}

.ai-header__sub-menu-link:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
    border-radius: 0;
    z-index: 1;
}

.ai-header__sub-menu-link:hover .ai-header__sub-menu-link-text {
    transform: translateX(-12px);
}

/* Focus and active styles for submenu links */
.ai-header__sub-menu-link:focus {
    outline: 2px solid #fff;
    outline-offset: -2px;
    color: #fff;
    background: none;
}

/* Remove focus outline for mouse clicks, keep for keyboard navigation */
.ai-header__sub-menu-link:focus:not(:focus-visible) {
    outline: none;
}

.ai-header__sub-menu-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.ai-header__sub-menu-link.active,
.ai-header__sub-menu-link:focus,
.ai-header__sub-menu-link:active {
    color: #fff;
    background: none;
}

.ai-header__sub-menu-link.active::before,
.ai-header__sub-menu-link:focus::before,
.ai-header__sub-menu-link:active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
    border-radius: 0;
    z-index: 1;
}

/* Fix underline so it does not move with hover */
.ai-header__sub-menu-link::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #fff;
    opacity: 0.9;
    border-radius: 0;
    z-index: 3;
    pointer-events: none;
    transition: none;
    transform: none !important;
}

/* ========================================
   HAMBURGER MENU STYLES
   ======================================== */

/* Hamburger button - hidden on desktop, visible on mobile */
.ai-header__hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.ai-header__hamburger:focus {
    outline: 2px solid #a50065;
    outline-offset: 2px;
}

/* Remove focus outline for mouse clicks, keep for keyboard navigation */
.ai-header__hamburger:focus:not(:focus-visible) {
    outline: none;
}

.ai-header__hamburger:focus-visible {
    outline: 2px solid #a50065;
    outline-offset: 2px;
}

.ai-header__hamburger__box {
    display: block;
    position: relative;
    width: 24px;
    height: 18px;
    margin: 0 auto;
}

.ai-header__hamburger__box__inner {
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ai-header__hamburger__box__inner::before,
.ai-header__hamburger__box__inner::after {
    content: '';
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ai-header__hamburger__box__inner::before {
    top: -8px;
}

.ai-header__hamburger__box__inner::after {
    top: 8px;
}

/* Hamburger animation when active */
.ai-header__hamburger--active .ai-header__hamburger__box__inner {
    background: transparent;
}

.ai-header__hamburger--active .ai-header__hamburger__box__inner::before {
    top: 0;
    transform: rotate(45deg);
}

.ai-header__hamburger--active .ai-header__hamburger__box__inner::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========================================
   MOBILE NAVIGATION STYLES
   ======================================== */

/* Mobile breakpoint */
@media (max-width: 1299px) {

        .ai-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        z-index: 1000;
    }

    /* Show hamburger on mobile */
    .ai-header__hamburger {
        display: block;
    }

    /* Hide desktop navigation on mobile */
    .ai-header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        /* Change from center to flex-start */
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        /* Make the overlay scrollable */
        padding-top: 2rem;
        /* Add top padding for spacing */
    }

    .ai-header--scrolled .ai-header__nav {
        height: 100vh;
        bottom: 0;
        position: fixed;
    }

    /* Show mobile navigation when active */
    .ai-header__nav--active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* Mobile navigation layout */
    .ai-header__nav>div {
        width: 100%;
        max-width: 400px;
        padding: 2rem;
    }

    .ai-header__nav-list {
        flex-direction: column;
        height: auto;
        gap: 0;
        text-align: center;
        display: block;
    }

    .ai-header__nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ai-header__nav-item:last-child {
        border-bottom: none;
    }

    .ai-header__nav-link {
        width: 100%;
        padding: 1.5rem 1rem;
        font-size: 1.2rem;
        justify-content: center;
        border-radius: 0;
    }

    .ai-header__nav-link.active::after {
        display: none;
    }

    .ai-header__nav-link.active {
        background: #a50065;
        color: #fff;
    }

    /* Mobile submenu styles */
    .ai-header__sub-menu {
        position: static;
        display: block !important;
        /* Always show submenu on mobile */
        background: transparent;
        /* Remove pink background */
        min-width: auto;
        width: 100%;
        box-shadow: none;
        margin-top: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ai-header__sub-menu-list {
        align-items: center;
        /* Center align for better appearance */
    }

    .ai-header__sub-menu-item {
        justify-content: center;
        /* Center align items */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ai-header__sub-menu-item:last-child {
        border-bottom: none;
    }

    .ai-header__sub-menu-link {
        text-align: center;
        /* Center align for better readability */
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    /* Remove white underline on mobile submenu links */
    .ai-header__sub-menu-link::after {
        display: none !important;
    }

    .ai-header__sub-menu-link:hover .ai-header__sub-menu-link-text {
        transform: none;
    }

    /* Adjust header layout for mobile */
    .ai-header>div {
        padding: 0 1rem;
        min-height: 64px;
    }

    .ai-header__logo {
        height: 64px;
    }

    .ai-header__logo img {
        height: 32px;
    }
}

/* ========================================
   BODY SCROLL LOCK WHEN MENU IS OPEN
   ======================================== */

.body--nav-active {
    overflow: hidden;
    position: sticky;
    width: 100%;
    height: 100%;
}

@media (prefers-reduced-motion: reduce) {

    .ai-header__sub-menu-link-text,
    .ai-header__hamburger__box__inner,
    .ai-header__hamburger__box__inner::before,
    .ai-header__hamburger__box__inner::after,
    .ai-header__nav {
        transition: none !important;
    }
}


/* hero-stage */

/* Hero Stage Component Styles - Internal Shadow DOM Styles */

.hero-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    background-color: white;
    /* margin-top: 64px; */
    /* Add space for fixed header */
    min-height: var(--hero-stage-height, 30vh);
    box-sizing: border-box;
}

.hero-stage__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    /* Ensure we clip the oversized image */
}

.hero-stage__background img {
    width: 100%;
    height: 130%;
    /* Increased from 120% to accommodate more pronounced parallax */
    object-fit: cover;
    object-position: center center;
    /* Center the image both horizontally and vertically */
    transition: transform 0.1s ease-out;
    transform: translateY(-15%);
    /* Adjusted starting position for the larger image */
}

.hero-stage__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-stage__overlay--dark {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.hero-stage__overlay--light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
}

.hero-stage__overlay--gradient {
    background: linear-gradient(135deg, rgba(165, 0, 101, 0.8), rgba(255, 148, 3, 0.6));
}

.hero-stage__overlay--none {
    background: none;
}

.hero-stage__content {
    position: relative;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-stage__content--has-logo {
    justify-content: space-between;
}

.hero-stage__content--left {
    text-align: left;
}

.hero-stage__content--center {
    text-align: center;
    justify-content: center;
}

.hero-stage__content--right {
    text-align: right;
    justify-content: flex-end;
}

.hero-stage__inner {
    animation: fadeInUp 1s ease-out;
}

.hero-stage__logo {
    flex-shrink: 0;
    max-width: 45%;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stage__logo img {
    max-width: 100%;
    max-height: 14rem;
    width: auto;
    height: auto;
    min-width: 27.5rem;
    min-height: 5rem;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Special handling for SVG files without intrinsic dimensions */
.hero-stage__logo img[src$=".svg"] {
    width: 100%;
    height: 100%;
}

.hero-stage__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: bold;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'RidleyGrotesk-Bold', sans-serif;
}

/* Reduced title size when logo is present */
.hero-stage__content--has-logo .hero-stage__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-stage__subtitle {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    margin: 0 0 2rem 0;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Reduced subtitle size when logo is present */
.hero-stage__content--has-logo .hero-stage__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.hero-stage__actions {
    margin-top: 2rem;
}

.hero-stage__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    user-select: none;
}

.hero-stage__scroll-indicator:hover {
    opacity: 1;
}

.hero-stage__scroll-arrow {
    animation: bounce 2s infinite;
    margin-bottom: 0.5rem;
}

.hero-stage__scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Variants */
.hero-stage--big {
    min-height: 40vh;
}

.hero-stage--default {
    min-height: 30vh;
}

.hero-stage--default .hero-stage__title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero-stage--default .hero-stage__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
}

/* Light variant */
.hero-stage--light {
    color: #333;
}

.hero-stage--light .hero-stage__title,
.hero-stage--light .hero-stage__subtitle,
.hero-stage--light .hero-stage__scroll-indicator span {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 80rem) {
    .hero-stage {
        min-height: var(--hero-stage-height-mobile, 45vh);
    }

    .hero-stage__content {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stage__content--has-logo {
        justify-content: center;
    }

    .hero-stage__content--has-logo .hero-stage__inner {
        max-width: 100%;
        order: 2;
    }

    .hero-stage__logo {
        display: none;
    }

    .hero-stage__title {
        margin-bottom: 0.5rem;
    }

    .hero-stage__subtitle {
        margin-bottom: 1.5rem;
    }

    .hero-stage__scroll-indicator {
        bottom: 1rem;
    }

    /* Disable parallax transforms on mobile for better performance */
    .hero-stage__background img {
        height: 180%;
        transform: translateY(-25%) !important;
    }
}

@media (max-width: 768px) {
    .hero-stage {
        min-height: var(--hero-stage-height-tablet, 45vh);
    }
}

@media (max-width: 480px) {
    .hero-stage {
        min-height: var(--hero-stage-height-xs, 40vh);
    }

    .hero-stage__logo {
        display: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-stage__inner {
        animation: none;
    }

    .hero-stage__scroll-arrow {
        animation: none;
    }

    /* Disable parallax for users who prefer reduced motion */
    .hero-stage__background img {
        transform: translateY(-15%) !important;
        /* Keep centered positioning with new offset */
    }
}

/* image-teaser */

/* Image Teaser Component Styles */

/* Clean, modern image teaser implementation with proper alignment */

.image-teaser {
    display: block;
    background-color: #F5F5F5;
    overflow: hidden;
    min-height: var(--image-teaser-height, 400px);
    box-sizing: border-box;
    
}

/* Images */

/* Image wrapper for padding */
.image-teaser__img-wrapper {
    padding: clamp(1.25rem, 2.5vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.image-teaser img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background-color: #dddddd;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 6px 24px 0 rgba(40, 40, 40, 0.20), 0 2px 8px 0 rgba(255, 255, 255, 0.7);
    border: 2px solid #d9d9d9;
}

/* Image description/copyright below image */
.image-teaser__img-description {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    font-style: italic;
    line-height: 1.3;
    word-break: break-word;
}

/* Content area */
.image-teaser>div {
    padding: 1.875rem;
    text-align: left;
    /* Default text alignment */
}

.image-teaser>div h2,
.image-teaser>div p {
    text-align: inherit;
    /* Inherit from parent div */
}

/* Desktop layout - side by side using CSS Grid */
@media screen and (min-width: 56.25rem) {
    .image-teaser {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        align-items: stretch;
        /* Fixed height for consistency */
        min-height: 600px;
        /* Maximum height constraint */
        gap: 0;
    }


    .image-teaser__img-wrapper {
        grid-row: 1;
        grid-column: 1;
        height: 100%;
        /* Padding is now on the wrapper */
    }

    .image-teaser>div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem 6rem;
        grid-row: 1;
        grid-column: 2;
        overflow-y: auto;
        /* Allow scrolling if content is too tall */
        min-height: 600px;
        /* Ensure consistent minimum height */
        height: 100%;
        /* Force full height of grid cell */
    }
}

@media screen and (max-width: 56.24rem) {
    .image-teaser {
        min-height: var(--image-teaser-height-mobile, 260px);
    }
}

/* Keep fixed height even with tall content - content will scroll instead */
@media screen and (min-width: 56.25rem) {
    .image-teaser[data-tall-content] {
        /* height: 600px !important; */
        /* Maintain fixed height */
    }

    .image-teaser[data-tall-content]>img {
        height: 100% !important;
        /* Keep image height consistent */
    }
}

/* Image positioning variants */
@media screen and (min-width: 56.25rem) {

    /* Image on the right, text on the left */
    .image-teaser.image-teaser--image-right>.image-teaser__img-wrapper {
        grid-column: 2;
    }

    .image-teaser.image-teaser--image-right>div {
        grid-column: 1;
    }

    /* Image on the left, text on the right (default) */
    .image-teaser.image-teaser--image-left>.image-teaser__img-wrapper {
        grid-column: 1;
    }

    .image-teaser.image-teaser--image-left>div {
        grid-column: 2;
    }
}

/* Text alignment - clean and simple */
.image-teaser.image-teaser--text-left>div,
.image-teaser.image-teaser--text-left>div h2,
.image-teaser.image-teaser--text-left>div p {
    text-align: left !important;
}

.image-teaser.image-teaser--text-right>div,
.image-teaser.image-teaser--text-right>div h2,
.image-teaser.image-teaser--text-right>div p {
    text-align: right !important;
}

.image-teaser.image-teaser--text-center>div,
.image-teaser.image-teaser--text-center>div h2,
.image-teaser.image-teaser--text-center>div p {
    text-align: center !important;
}

/* Content styling */
.image-teaser h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: bold;
    font-family: 'RidleyGrotesk-Regular';
}

.image-teaser p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.image-teaser p:last-child {
    margin-bottom: 0;
}

.image-teaser .button {
    margin-top: 1.25rem;
    display: inline-block;
}

/* Responsive typography */
@media screen and (min-width: 43rem) {
    .image-teaser p {
        font-size: 1rem;
    }
}

@media screen and (min-width: 62rem) {
    .image-teaser p {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 75rem) {
    .image-teaser p {
        font-size: 1.2rem;
    }
}

.image-teaser.image-teaser--transparent img {
    box-shadow: none;
    background-color: transparent;
    border: none;
}
