/* =========================================
   OMT Praxis Seeger - Main Stylesheet
   ========================================= */

   :root {
    /* Brand Colors */
    --color-gold: #d9c270;
    --color-gold-hover: #c2ad62;
    --color-pastel: #FCF8E3;
    --color-pastel-light: #fdfcf7;
    
    /* Typography Colors */
    --text-main: #555555;
    --text-dark: #4a4a4a;
    --text-muted: #666666;
    --text-light: #ffffff;
    
    /* Backgrounds */
    --bg-main: #f9f9f9;
    --bg-card: #ffffff;
    --bg-alt: #f4f4f4;
    
    /* Typography & Transitions */
    --font-heading: 'Quicksand', sans-serif;
    --transition-smooth: all 0.3s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- BASIS STYLES & SLIDER --- */
.slider-container:not(.slick-initialized) .slick-slide { 
    display: none; 
}
.slider-container:not(.slick-initialized) .slick-slide:first-child { 
    display: block; 
    width: 100%; 
}
.ed-slider img { 
    max-width: 100%; 
    height: auto; 
}
body { 
    overflow-x: hidden; 
    line-height: 1.8;
    color: var(--text-main);
    font-size: 16px;
    background-color: var(--bg-main);
}

/* --- LAYOUT STYLES --- */
figure { 
    margin: 0; 
}
.nav-logo-inner { 
    flex-basis: 100%; 
    text-align: center; 
}
.nav-logo-inner img { 
    width: 25%; 
}
.nav-logo-box { 
    position: absolute; 
    left: -15rem; 
} 
.nav-logo-box > .inner { 
    justify-content: center; 
}
.top-info-item-1,
.top-info-item-2,
.top-info-item-3 { 
    flex-basis: auto; 
    order: 0; 
}
.top-info-box-1 > .inner { 
    align-items: center; 
    place-content: center flex-start; 
}
.top-info-icon { 
    text-align: center; 
}
.top-info-icon svg > * { 
    stroke-width: 0px; 
}
.top-info-box-2 > .inner,
.top-info-box-3 > .inner { 
    align-items: center; 
    place-content: center; 
}
.top-info-box-4 > .inner { 
    align-items: center; 
    justify-content: flex-end; 
}
.top-info-bar { 
    min-height: 8vh; 
}
.top-info-bar > .inner { 
    place-content: center space-between; 
    align-items: center; 
}
.hero-logo-img-box { 
    flex-basis: 100%; 
    text-align: center; 
}
.hero-logo-img-box img { 
    width: 100%; 
}
.hero-headline-box h1 { 
    text-align: left; 
}
.hero-headline-box { 
    opacity: 1; 
    flex-grow: 1; 
    flex-shrink: 1; 
}
.hero-spacer .space { 
    height: 15px; 
}
.hero-separator hr { 
    width: 250px; 
    height: 1px; 
}
.hero-headline-box > .inner { 
    align-content: flex-end; 
    align-items: flex-end; 
}
.hero-columns-wrapper > .inner { 
    justify-content: space-between; 
    align-items: stretch; 
}
.hero-text-container > .inner { 
    place-content: flex-end center; 
    flex-flow: wrap; 
    align-items: flex-end; 
}
.hero-text-container { 
    flex-basis: auto; 
    order: 0; 
    flex-grow: 1; 
}
.scroll-down-inner { 
    flex-basis: auto; 
}
.scroll-down-wrapper > .inner { 
    place-content: center; 
    align-items: center; 
}
.social-icon-item svg > * { 
    stroke-width: 0px; 
}
.social-icons-wrapper > .inner { 
    justify-content: center; 
}
.mobile-nav-container { 
    flex-grow: 1; 
    flex-basis: auto; 
}
.mobile-nav-container > .inner { 
    place-content: center flex-end; 
    align-items: center; 
}
.main-navigation { 
    flex-basis: auto; 
    flex-grow: 1; 
}
.sticky-nav-wrapper { 
    border-style: solid; 
    border-width: 0px 0px 1px; 
}
.sticky-nav-wrapper > .inner { 
    align-items: center; 
    justify-content: space-between; 
}
.hero-banner > .inner { 
    place-content: stretch flex-end; 
    flex-direction: column; 
}
.hero-banner { 
    min-height: 85vh; 
}
.dl-box-icon { 
    text-align: center; 
}
.dl-box-icon svg { 
    width: 50px; 
}
.dl-box-spacer .space { 
    height: 1.5rem; 
}
.dl-box-inner > .inner { 
    place-content: center; 
    align-items: center; 
}
.dl-box-full { 
    flex-basis: 100%; 
}
.download-section > .inner { 
    align-items: stretch; 
    align-content: center; 
}
.about-section-opacity { 
    opacity: 1; 
}

/* --- TYPOGRAPHY & HIERARCHY --- */
h1, h2, h3 {
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

h1::after, h2::after, h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin-top: 10px;
}

.center h1::after, h1.center::after,
.center h2::after, h2.center::after,
.center h3::after, h3.center::after, 
.preset-partner h3::after {
    margin-left: auto;
    margin-right: auto;
}

p {
    margin-bottom: 1.8rem;
    font-weight: 300;
}

strong, b {
    color: inherit;
    font-weight: 700;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
}

ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
    font-size: 2em;
    line-height: 0.7;
    top: 0;
}

.menu-level-0 li::before { 
    content: none; 
}
.menu-level-0 li { 
    padding-left: 0; 
}

/* --- CARD DESIGNS --- */
.ed-container.preset-about {
    background-color: var(--bg-card);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.inner.preset-about {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    margin: 0;
}

.ed-container.preset-about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 194, 112, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.preset-about .inner {
    position: relative;
    z-index: 1;
}

.preset-about ul li {
    position: relative;
    padding-left: 25px; 
    list-style: none;     
    margin-bottom: 10px;
}

.preset-about ul li::before {
    content: ""; 
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;   
    background-color: var(--color-gold); 
    border: none;         
    position: absolute;
    left: 0;
    top: 11px; 
}

.highlight-box {
    background-color: rgba(217, 194, 112, 0.1);
    border-left: 4px solid var(--color-gold);
    padding: 30px;
    border-radius: 0 15px 15px 0;
    margin: 40px 0;
}

.highlight-box h2 {
    margin-top: 0;
    color: var(--color-gold-hover);
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.box, 
.unequal-columns-box,
.preset-partner {
    border-radius: 20px;
    overflow: hidden;
    padding-left: 30px;  
    padding-right: 30px; 
    box-sizing: border-box;
}

.preset-speisekarte-buttons-mit-hintergrund .box {
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: var(--transition-bounce), box-shadow 0.4s ease;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0;
}

.preset-speisekarte-buttons-mit-hintergrund .inner {
     padding: 25px;
     background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.preset-speisekarte-buttons-mit-hintergrund .box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* --- BUTTONS --- */
.button, .ed-button a {
    border-radius: 50px; 
    padding: 14px 40px;
    box-shadow: 0 4px 15px rgba(217, 194, 112, 0.3);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    background-color: var(--color-gold);
    color: var(--text-light);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.button:hover, .ed-button a:hover {
    transform: scale(1.05);
    background-color: var(--color-gold-hover);
    box-shadow: 0 6px 25px rgba(217, 194, 112, 0.5);
    color: var(--text-light);
}

/* --- DOWNLOAD SECTION (Liquid Glass) --- */
.download-section {
    background-color: var(--bg-alt);
    background-image: none; 
    padding: 80px 0;
    margin-top: 0;
    border-top: 1px solid rgba(0,0,0,0.05); 
}

.download-section .box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid rgba(217, 194, 112, 0.3); 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px;
    padding: 40px 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.download-section .box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.85); 
    box-shadow: 0 20px 50px rgba(217, 194, 112, 0.2); 
    border-color: var(--color-gold);
}

.download-section p, 
.download-section h1, 
.download-section h2, 
.download-section h3,
.download-section a {
    color: var(--text-dark); 
    text-shadow: none;
}

.download-section svg, 
.download-section svg path {
    fill: var(--color-gold); 
    transition: transform 0.3s ease;
}

.download-section .box:hover svg {
    transform: scale(1.15) rotate(5deg); 
}

.download-section .button, 
.download-section a.button {
    background-color: var(--color-gold);
    color: var(--text-light);
    border-radius: 50px;
    padding: 12px 15px; 
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: normal; 
    width: auto;
    max-width: 100%;
    margin-top: auto; 
}

.download-section .button:hover, 
.download-section a.button:hover {
    background-color: var(--color-gold-hover);
}

/* --- HEADER & NAVIGATION --- */
.top-info-bar {
    background-color: transparent; 
    box-shadow: none;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    transition: opacity 0.3s;
}

.top-info-bar .inner {
    display: flex;
    flex-direction: row; 
    flex-wrap: nowrap;
    justify-content: space-between; 
    align-items: center; 
    padding: 5px 0;
    width: 100%;
}

.nav-logo-box {
    flex: 0 0 auto; 
    width: auto;
    max-width: none;
    position: static; 
    left: auto;
    margin-right: 20px;
    margin-left: 0;
    padding: 0;
    transform: none;
}

.nav-logo-inner img {
    width: auto;
    height: auto;
    max-height: 45px;
    display: block;
}

.info-bar-content {
    background: transparent; 
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
}

.info-bar-content svg, .info-bar-content i, .info-bar-content figure {
    fill: var(--color-gold);
    color: var(--color-gold);
    width: 18px;
    height: auto;
    margin-right: 8px;
    display: block;
    float: none; 
}

.info-bar-content p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light); 
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.info-bar-content:hover p, 
.info-bar-content:hover span {
    color: var(--color-gold); 
    cursor: default;
}

.info-bar-content a:hover p {
     cursor: pointer;
}

.sticky-nav-wrapper .inner {
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 10px 0;
}

.main-navigation {
    flex-grow: 1;
}

.main-navigation .menu-level-0 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 4px;
    align-items: center;
    width: 100%;
    padding: 0;
}

.main-navigation .menu-level-0 li a {
    display: inline-block;
    padding: 8px 12px; 
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem; 
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    background-color: transparent; 
    color: var(--text-main); 
    white-space: nowrap; 
}

.main-navigation .menu-level-0 li a:hover {
    background-color: var(--color-gold); 
    color: var(--text-light);
    transform: translateY(-2px); 
    box-shadow: 0 4px 15px rgba(217, 194, 112, 0.4);
}

.main-navigation .menu-level-0 li.active a,
.main-navigation .menu-level-0 li a.active {
    background-color: var(--color-gold);
    color: var(--text-light); 
    box-shadow: 0 4px 15px rgba(217, 194, 112, 0.4);
    transform: translateY(-1px);
}

/* --- FOOTER --- */
.footer-wrapper {
    background-color: var(--text-dark); 
    display: block;
    position: relative;
}

.clean-footer {
    background-color: var(--color-pastel); 
    padding: 80px 20px;
    border-top: 1px solid rgba(217, 194, 112, 0.2); 
    width: 100%;
}

/* HIER GEÄNDERT: Die Footer Container Breite auf 1200px (früher 1000px) angepasst */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-col {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-gold); 
    margin-bottom: 20px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 15px 0;
}

.footer-col p {
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 5px 0;
}

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

.footer-col a:hover {
    color: var(--color-gold); 
}

.footer-map-wrapper {
    display: block;
    height: 450px;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content a:hover {
    color: var(--color-gold);
}

.footer-wrapper.reveal {
    opacity: 1;
    transform: none;
}

.footer-map-wrapper, 
.footer-map-wrapper .map-canvas, 
.footer-map-wrapper .gm-style {
    display: block;
    height: 450px;
    min-height: 450px;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.footer-map-wrapper div {
    height: 100%;
}

.preset-footer-karma .footer-content,
.footer-alt-bg {
    background-color: var(--bg-card);
}

.footer-content .box {
    border-radius: 16px;
    background-color: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 15px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.footer-content .box:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.footer-content h2, .footer-content h3 {
    color: var(--color-gold);
}

.footer-content p, 
.footer-content span, 
.footer-content a {
    color: #ccc;
}

.footer-content i, .footer-content .fa {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--color-gold);
    display: block;
    text-align: center;
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- FULLSCREEN HERO & TRANSPARENT NAV --- */
.hero-banner {
    position: relative;
    height: 100vh; 
    min-height: 600px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.hero-banner .slick-slide, 
.hero-banner .slick-slide img,
.hero-slider .slider-container {
    height: 100vh;
    object-fit: cover;
    width: 100%;
}

.sticky-nav-wrapper {
    position: absolute;
    bottom: 0; 
    top: auto; 
    left: 0;
    width: 100%;
    margin: 0;
    z-index: 100;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    background-color: transparent;
    border: none;
}

body.is-sticky .sticky-nav-wrapper {
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    border-radius: 0 0 35px 35px;
    background: linear-gradient(to bottom, rgba(252, 248, 227, 0.85) 0%, rgba(252, 248, 227, 0.4) 100%); 
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: none;
    border-bottom: 1px solid rgba(252, 248, 227, 0.9);
    border-left: 1px solid rgba(252, 248, 227, 0.5);
    border-right: 1px solid rgba(252, 248, 227, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05), inset 0 -2px 5px rgba(252, 248, 227, 0.6), inset 0 10px 20px rgba(0, 0, 0, 0.02);
    padding: 12px 0;
    animation: slideDownGlass 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideDownGlass {
    from { 
        transform: translateY(-100%); 
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

/* --- DYNAMIC NAV COLORS --- */
body:not(.nav-text-dark) .main-navigation .menu-level-0 li a {
    color: var(--text-light); 
    text-shadow: 0 2px 8px rgba(0,0,0,0.9); 
    font-weight: 900; 
    -webkit-text-stroke: 0.5px var(--text-light); 
    background-color: transparent;
    border: 1px solid transparent; 
    transition: var(--transition-smooth); 
}

body.nav-text-dark .main-navigation .menu-level-0 li a {
    color: var(--text-main); 
    text-shadow: none; 
    font-weight: 900; 
    -webkit-text-stroke: 0.5px var(--text-main); 
    background-color: transparent;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.main-navigation .menu-level-0 li a:hover {
    background-color: var(--color-gold); 
    color: var(--text-light); 
    text-shadow: 0 1px 3px rgba(0,0,0,0.2); 
    -webkit-text-stroke: 0.5px var(--text-light);
    border: 1px solid #e3ce84; 
    transform: translateY(-4px) scale(1.08); 
    box-shadow: 0 10px 25px rgba(217, 194, 112, 0.7), inset 0 2px 5px rgba(255, 255, 255, 0.4);
}

body:not(.nav-text-dark) .main-navigation .menu-level-0 li.active a,
body:not(.nav-text-dark) .main-navigation .menu-level-0 li a.active {
    color: var(--text-light); 
    -webkit-text-stroke: 0.5px var(--text-light);
    background-color: rgba(217, 194, 112, 0.35); 
    border: 1px solid var(--color-gold);
    box-shadow: 0 0 20px rgba(217, 194, 112, 0.4);
    transform: translateY(0); 
}

body.nav-text-dark .main-navigation .menu-level-0 li.active a,
body.nav-text-dark .main-navigation .menu-level-0 li a.active {
    color: var(--text-main); 
    -webkit-text-stroke: 0.5px var(--text-main);
    background-color: rgba(217, 194, 112, 0.15); 
    border: 1px solid var(--color-gold); 
    box-shadow: none; 
    transform: translateY(0); 
}

/* --- HERO TEXT FIX --- */
.hero-text-container {
    position: absolute;
    top: 65%; 
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 50;
    padding-bottom: 50px; 
}

.hero-headline-box h1 span.color-background {
    display: block; 
    text-align: left;
    width: 100%;
}

.hero-headline-box h1 span.color-background,
.hero-headline-box h1 span.color-background span {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: none; 
}

.hero-headline-box h1::after {
    content: none;
    display: none;
}

/* --- PARTNER SECTION --- */
.partner-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(112, 111, 111, 0.8); 
}

.partner-section .inner, 
.partner-logos-container .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    gap: 20px;
}

.partner-section .ed-image,
.partner-section .ed-element {
    flex: 0 1 22%; 
    min-width: 200px; 
    height: 140px;
    margin: 10px;
    padding: 0;
    background: transparent;
    display: flex;
    position: relative;
}

.partner-section a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.partner-section a:hover {
    background-color: rgba(217, 194, 112, 0.15); 
    border-color: var(--color-pastel); 
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(217, 194, 112, 0.15);
}

.partner-section img {
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.5;
    max-height: 55px;
    max-width: 80%;
    width: auto;
    transition: all 0.4s ease;
    pointer-events: none; 
}

.partner-section a:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

.partner-headline h3 {
    color: var(--text-light);
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 4px;
    opacity: 0.9;
    margin-bottom: 50px;
}

.partner-headline h3::after {
    background-color: var(--color-pastel);
    height: 1px;
    width: 60px;
    margin-top: 20px;
    opacity: 0.8;
}

/* --- SUBPAGE HERO --- */
.hero-banner.subpage-hero {
    position: relative;
    height: 50vh; 
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.subpage-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    z-index: 0;
}

.subpage-title-container {
    position: relative;
    top: -200px; 
    transform: none;
    text-align: center;
    z-index: 50;
    margin-top: 0; 
    width: 100%;
}

.subpage-title-container h1 span.color-background {
    background-color: transparent;
    color: var(--text-light);
    text-shadow: 0 2px 15px rgba(0,0,0,0.8);
    font-size: 2.8rem; 
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* --- NAV HOVER LINE --- */
.main-navigation .menu-level-0 li a {
    position: relative;
    overflow: visible; 
}

.main-navigation .menu-level-0 li a::after {
    content: '';
    position: absolute;
    bottom: 6px; 
    left: 50%;
    width: 0%; 
    height: 2px; 
    background-color: currentColor; 
    transition: var(--transition-smooth); 
    transform: translateX(-50%); 
    display: block;
}

.main-navigation .menu-level-0 li a:hover::after,
.main-navigation .menu-level-0 li.active a::after,
.main-navigation .menu-level-0 li a.active::after {
    width: 70%; 
}

/* --- PROGRESS WRAP --- */
#progress-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: conic-gradient(var(--color-gold) 0%, #e8e8e8 0%); 
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#progress-wrap::after {
    content: '';
    position: absolute;
    top: 3px; 
    left: 3px;
    right: 3px;
    bottom: 3px;
    background-color: var(--bg-card);
    border-radius: 50%;
    z-index: 1;
}

#progress-wrap svg {
    position: relative;
    z-index: 2;
    width: 18px;
    height: 18px;
    fill: var(--color-gold);
    transition: transform 0.3s ease;
}

#progress-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(217, 194, 112, 0.4);
}

#progress-wrap:hover svg {
    transform: translateY(-3px);
}

#progress-wrap.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- ANIMATED LISTS --- */
.custom-theme ul li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    list-style-position: inside; 
}

.custom-theme ul li.li-visible {
    opacity: 1;
    transform: translateX(0);
}

.custom-theme ul li:nth-child(1) { transition-delay: 0.1s; }
.custom-theme ul li:nth-child(2) { transition-delay: 0.2s; }
.custom-theme ul li:nth-child(3) { transition-delay: 0.3s; }
.custom-theme ul li:nth-child(4) { transition-delay: 0.4s; }
.custom-theme ul li:nth-child(5) { transition-delay: 0.5s; }
.custom-theme ul li:nth-child(6) { transition-delay: 0.6s; }

/* --- UNIVERSAL BOX LINKS --- */
.preset-columns .box {
    position: relative;
}

.preset-columns .box figure.ed-icon a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; 
}

.preset-columns .box .ed-button {
    position: relative;
    z-index: 10; 
}

/* --- HUB SECTION (BENTO GRID) --- */
.hub-section {
    padding: 80px 0; 
    width: 100%;
    background-color: var(--color-pastel); 
}

/* HIER GEÄNDERT: Hub-Grid auf die volle neue Breite angepasst */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px; 
    gap: 20px;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px; 
}

.hub-tile {
    position: relative;
    border-radius: 20px;
    overflow: hidden; 
    display: block; 
    text-decoration: none; 
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    margin: 0; 
}

.hub-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(217, 194, 112, 0.2);
    border-color: rgba(217, 194, 112, 0.5);
    z-index: 10; 
}

.tile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.hub-tile:hover .tile-image {
    transform: scale(1.05); 
}

.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.8) 100%);
    transition: background 0.4s ease;
}

.hub-tile:hover .tile-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.9) 100%);
}

.tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2; 
}

.tile-content h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tile-content h3::after {
    content: none;
}

.tile-content p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.tile-xl { grid-column: span 2; }
.tile-m { grid-column: span 1; }
.tile-l { grid-column: span 1; }
.tile-s { grid-column: span 2; }

/* --- WELCOME & FIRST CONTACT --- */
.welcome-section {
    padding: 80px 0;
    width: 100%;
    background-color: transparent;
}

.welcome-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.welcome-image.tilt-card {
    flex: 1;
    position: relative;
    max-width: 500px;
    perspective: 1000px; 
    overflow: visible;
}

.tilt-card-inner {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    border-radius: 12px;
}

.welcome-image.tilt-card:hover .tilt-card-inner {
    box-shadow: 0 0 0 4px var(--color-pastel), 0 0 50px 15px rgba(252, 248, 227, 0.7);
}

.welcome-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 2;
    pointer-events: none; 
}

.image-backdrop {
    position: absolute;
    top: 25px;
    left: -25px;
    width: 100%;
    height: 100%;
    background-color: rgba(217, 194, 112, 0.08);
    border-radius: 12px;
    z-index: 1;
    transform: translateZ(-20px); 
}

.welcome-text {
    flex: 1.2;
}

.gold-subtitle {
    color: var(--color-gold);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.welcome-text h2 {
    font-size: 2.6rem;
    line-height: 1.2;
    color: #222222;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 35px;
}

.first-contact-box {
    background-color: var(--color-pastel); 
    border: 1px solid rgba(217, 194, 112, 0.4); 
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(217, 194, 112, 0.1); 
    margin-bottom: 35px;
    align-items: flex-start;
}

.box-icon {
    flex-shrink: 0;
    width: 30px; 
    height: 30px;
    background-color: transparent; 
    border-radius: 0; 
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    margin-top: 2px; 
}

.box-icon svg {
    width: 30px; 
    height: 30px;
}

.first-contact-box h4 {
    font-size: 1.15rem;
    color: var(--text-dark); 
    margin: 0 0 10px 0;
    font-weight: 700;
}

.first-contact-box p {
    font-size: 0.95rem;
    color: var(--text-muted); 
    margin: 0;
    line-height: 1.6;
}

/* --- TEAM & EXPERTISE TEASER --- */
.team-teaser-section {
    padding: 60px 0 100px 0;
    width: 100%;
}

/* HIER GEÄNDERT: Team-Teaser-Breite angepasst */
.team-teaser-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    gap: 80px;
}

.team-teaser-text {
    flex: 1;
    max-width: 550px;
}

.black_subtitle {
    color: #222;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.gold-subtitle::after {
    content: none; 
}

.team-teaser-text h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #333333;
}

.team-teaser-text h2::after {
    margin-top: 15px;
}

.team-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0 40px 0;
}

.team-benefits li {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 15px;
    padding-left: 0;
    font-weight: 600;
}

.team-benefits li::before {
    content: none; 
}

.team-benefits svg {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.outline-button {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: none;
}

.outline-button:hover {
    background-color: var(--color-gold);
    color: var(--text-light);
    box-shadow: 0 10px 25px rgba(217, 194, 112, 0.3);
}

.team-teaser-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-main {
    width: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/5; 
}

.image-sub {
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 55%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 8px solid var(--bg-main); 
    z-index: 3;
    transition: transform 0.4s ease;
}

.image-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1/1; 
}

.team-teaser-image:hover .image-sub {
    transform: translateY(-10px) scale(1.02);
}

.image-deco-dots {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--color-gold) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
}

/* --- REVIEWS --- */
.reviews-section {
    padding: 60px 0 80px 0;
    width: 100%;
    background-color: var(--bg-alt); 
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* HIER GEÄNDERT: Review Grid an neue Breite angepasst */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.review-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-smooth), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(217, 194, 112, 0.15);
    border-color: rgba(217, 194, 112, 0.3);
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.stars svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(217, 194, 112, 0.3)); 
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.review-author {
    font-weight: 700;
    color: #333333;
    font-size: 0.95rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- RECRUITING TEASER --- */
.recruiting-teaser {
    padding: 80px 0; 
    width: 100%;
    background-color: var(--color-pastel);
    display: flex;
    justify-content: center;
}

/* HIER GEÄNDERT: Recruitment Teaser leicht verbreitert */
.recruiting-glass-card {
    position: relative;
    width: 100%;
    max-width: 1200px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(25,25,25,0.95) 0%, rgba(15,15,15,0.98) 100%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.05);
    overflow: hidden;
    padding: 1px; 
    transition: var(--transition-smooth), box-shadow 0.4s ease;
}

.recruiting-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.2), 0 0 0 1px rgba(217, 194, 112, 0.4);
}

.glow-orb {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 194, 112, 0.25) 0%, rgba(217, 194, 112, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: orbFloat 12s infinite alternate ease-in-out;
    z-index: 0;
    pointer-events: none;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50%, 20%) scale(1.3); }
}

.recruiting-glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shimmerSweep 6s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.recruiting-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 45px 55px;
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px); 
    border-radius: 23px; 
    gap: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.hiring-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(217, 194, 112, 0.1);
    border: 1px solid rgba(217, 194, 112, 0.25);
    color: var(--color-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(217, 194, 112, 0.8);
    animation: dotPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes dotPulse {
    to { box-shadow: 0 0 0 12px rgba(217, 194, 112, 0); }
}

.recruiting-text {
    flex: 1;
}

.recruiting-text h4 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.recruiting-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

.recruiting-action {
    flex-shrink: 0;
}

.premium-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--color-gold);
    color: #1a1a1a; 
    padding: 18px 35px;
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.premium-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.premium-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(217, 194, 112, 0.3);
}

.premium-button:hover svg {
    transform: translateX(6px);
}

.premium-button::before {
    content: '';
    position: absolute;
    top: 0; 
    left: -100%;
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.premium-button:hover::before {
    left: 100%;
}

/* --- PATIENTEN-SERVICE --- */
.service-intro {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 50px; 
    position: relative;
    z-index: 2;
}

.service-intro h2 {
    font-size: 2.2rem;
    color: #333333;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.service-intro h2::after {
    margin-top: 15px;
}

.service-intro p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* HIER GEÄNDERT: Service-Sektion an neue Breite angepasst */
.patient-service-section {
    max-width: var(--container-max-width);
    margin: 60px auto;
    padding: 0 20px;
}

.service-lead {
    font-family: var(--font-heading);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(217, 194, 112, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(217, 194, 112, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-pastel-light); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.service-card p {
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 25px 0;
    flex-grow: 1; 
}

.card-btn {
    display: inline-block;
    background-color: #f7eecf;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%; 
    box-sizing: border-box;
}

.card-btn:hover {
    background-color: var(--color-gold);
    color: var(--text-light);
}

.card-btn-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.outline-btn {
    background-color: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.outline-btn:hover {
    background-color: var(--color-gold);
    color: var(--text-light);
}

/* --- 3D GLASS ICONS --- */
.service-glass-icon {
    position: relative;
    width: 4.5em;
    height: 4.5em;
    margin-bottom: 25px;
    perspective: 24em;
    transform-style: preserve-3d;
    pointer-events: none; 
}

.icon-btn__back,
.icon-btn__front {
    transition: opacity 0.4s cubic-bezier(0.83, 0, 0.17, 1), transform 0.4s cubic-bezier(0.83, 0, 0.17, 1);
    border-radius: 1.25em;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.icon-btn__back {
    box-shadow: 0.5em -0.5em 0.75em hsla(223, 10%, 10%, 0.05);
    display: block;
    transform: rotate(15deg);
    transform-origin: 100% 100%;
    will-change: transform;
}

.icon-btn__front {
    background-color: hsla(0, 0%, 100%, 0.15);
    box-shadow: 0 0 0 0.1em hsla(0, 0%, 100%, 0.3) inset;
    backdrop-filter: blur(0.75em);
    -webkit-backdrop-filter: blur(0.75em);
    display: flex;
    transform-origin: 80% 50%;
    will-change: transform;
}

.icon-btn__icon {
    margin: auto;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn__icon svg {
    width: 100%;
    height: 100%;
}

.service-card:hover .icon-btn__back {
    transform: rotate(25deg) translate3d(-0.5em, -0.5em, 0.5em);
}

.service-card:hover .icon-btn__front {
    transform: translate3d(0, 0, 1.5em);
}

/* --- LIGHTBOX GALERIE --- */
.lightbox-modal {
    display: none; 
    position: fixed;
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 1100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    animation: fadeZoom 0.3s ease; 
    object-fit: contain;
}

@keyframes fadeZoom {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: var(--text-light);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 100000;
}

.lightbox-close:hover {
    color: var(--color-gold); 
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none; 
    backdrop-filter: blur(5px);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--color-gold);
    color: #1a1a1a;
}

.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

.image-main::after, .image-sub::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.image-main:hover::after, .image-sub:hover::after {
    opacity: 1;
}

.image-main::before, .image-sub::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.3);
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
}

.image-main:hover::before, .image-sub:hover::before {
    opacity: 1;
}

/* --- PREMIUM KONTAKT DROPDOWN --- */
.premium-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-toggle-btn {
    border-radius: 12px; 
    padding: 15px 30px;
    background-color: var(--bg-card); 
    color: #D6C258; 
    font-weight: 900; 
    font-size: 1.05rem; 
    border: 2px solid #F0E68C; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.04); 
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.dropdown-toggle-btn:hover {
    background-color: var(--bg-card); 
    border-color: #D6C258; 
    color: #D6C258 !important; /* HIER GEÄNDERT: Zwingt den Text, gold zu bleiben */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 194, 88, 0.2); 
}

.dropdown-toggle-btn svg {
    fill: #D6C258;
    stroke: #D6C258; 
    stroke-width: 15px; 
}

.dropdown-menu-content {
    position: absolute;
    top: calc(100% + 15px);
    background: var(--bg-card);
    min-width: 250px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-dropdown-wrapper.align-right .dropdown-menu-content {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(10px);
}

.premium-dropdown-wrapper:hover .dropdown-menu-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) translateY(0);
}

.premium-dropdown-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 25px;
    background: transparent;
}

.premium-dropdown-wrapper.align-right .dropdown-menu-content::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 35px;
    transform: rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
}

.premium-dropdown-wrapper:hover #dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #D6C258; 
    font-weight: 800; 
    text-decoration: none;
    font-size: 1.05rem;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background-color: rgba(214, 194, 88, 0.1); 
    color: #c2b04f; 
    transform: translateX(6px); 
}

.dropdown-item svg {
    width: 20px;
    height: 20px;
    fill: #D6C258; 
    stroke: #D6C258; 
    stroke-width: 15px; 
    transition: var(--transition-smooth);
}

.dropdown-item:hover svg {
    fill: #c2b04f;
    stroke: #c2b04f;
}

/* --- RESPONSIVE QUERIES --- */
@media screen and (max-width: 1100px) {
    .top-info-bar .inner {
        flex-direction: column; 
        gap: 10px;
        text-align: center;
        height: auto; 
    }
    .info-bar-content {
        justify-content: center;
        margin-bottom: 5px;
    }
    .nav-logo-box {
        margin: 0 auto;
    }
    .info-bar-content p {
         text-shadow: 0 1px 2px rgba(0,0,0,0.5); 
    }
}

@media screen and (max-width: 975px) {
    .top-info-item-2 > .inner,
    .top-info-item-3 > .inner { 
        justify-content: space-between; 
    }
    .hero-spacer,
    .hero-separator,
    .hero-columns-wrapper,
    .hero-text-container { 
        flex-basis: auto; 
    }
    .hero-text-container > .inner { 
        align-content: flex-end; 
    }
    .social-icons-wrapper { 
        margin: auto 0rem auto auto; 
        flex-basis: auto; 
        flex-grow: 1; 
    }
    .mobile-nav-container > .inner { 
        justify-content: flex-end; 
    }
    .main-navigation .menu-level-0 li a { 
        padding: 6px 10px; 
        font-size: 0.7rem; 
        margin-bottom: 5px; 
    }
    .first-contact-box {
        padding: 20px; 
    }
    .team-teaser-inner {
        flex-direction: column;
        gap: 60px;
    }
    .team-teaser-text {
        max-width: 100%;
    }
    .team-teaser-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding-bottom: 10%; 
    }
    .welcome-image .image-backdrop {
        right: 20px;
    }
}

@media screen and (max-width: 950px) {
    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px; 
    }
    .tile-xl, .tile-m, .tile-l, .tile-s {
        grid-column: span 1; 
    }
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media screen and (max-width: 900px) {
    .partner-section .ed-image,
    .partner-section .ed-element { 
        flex: 0 1 45%; 
    }
}

@media screen and (max-width: 850px) {
    .recruiting-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }
}

@media screen and (max-width: 768px) {
    .clean-footer {
        padding: 60px 20px;
    }
    .footer-container {
        flex-direction: column;
        gap: 60px; 
    }
    .hero-banner.subpage-hero {
        height: 40vh; 
        min-height: 300px;
    }
    .subpage-bg-image {
        background-attachment: scroll; 
    }
    .subpage-title-container h1 span.color-background {
        font-size: 1.8rem;
    }
    .lightbox-prev, .lightbox-next {
        width: 40px; 
        height: 40px; 
        font-size: 20px;
    }
}

@media screen and (max-width: 650px) {
    .hub-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px; 
    }
    .reviews-grid {
        grid-template-columns: 1fr; 
    }
}

@media screen and (max-width: 575px) {
    .top-info-item-2,
    .top-info-item-3 { 
        margin: 0px 6px; 
    }
    .top-info-bar > .inner { 
        justify-content: center; 
    }
    .hero-logo-box > .inner { 
        align-content: center; 
    }
    .hero-headline-box { 
        flex-basis: 100%; 
    }
    .hero-text-container > .inner { 
        align-items: flex-end; 
        align-content: flex-end; 
    }
    .hero-headline-box h1 span.color-background {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 500px) {
    .partner-section .ed-image,
    .partner-section .ed-element { 
        flex: 0 1 100%; 
        height: 100px;
    }
    .partner-section img { 
        max-height: 35px; 
    }
}

/* --- GSAP ANIMATION UTILITIES --- */
.split-char {
    display: inline-block;
    will-change: transform, opacity;
}