/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Cairo", Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    opacity: .75;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
}

/* ── Layout ── */
.content-width {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 2%;
}

/* ── Header ── */
.site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    padding: 0 20px;
    min-height: 114px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.logo img,
.custom-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: -83px;
    position: relative;
    z-index: 101;
}

.logo:hover,
.logo img:hover,
.custom-logo-link:hover {
    opacity: 1 !important;
}

.main-nav {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* ── Navigation ── */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 1.5em;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: 8px 0;
    font-size: 26px;
    transition: color .2s;
    text-decoration: none;
    color: inherit;
}

.has-submenu>.nav-link::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform .25s;
}

.has-submenu:hover>.nav-link::after {
    transform: rotate(-135deg);
}

.submenu {
    list-style: none;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    border-radius: 0 0 6px 6px;
    padding: 14px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s, visibility .25s, transform .25s;
    z-index: 999;
}

.has-submenu:hover>.submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.submenu a {
    display: block;
    padding: 10px 28px;
    font-size: 20px;
    color: #333;
    white-space: nowrap;
    transition: background .15s, color .15s;
    text-decoration: none;
}

.submenu a:hover {
    background: #f5f5f5;
    color: #000;
    opacity: 1;
}

/* Mega-Menü-Demo (?demo=1 kompakt, ?demo=2 volle Breite; zweiter Nav-Punkt) */
.submenu.submenu--mega {
    min-width: min(920px, calc(100vw - 48px));
    max-width: min(960px, calc(100vw - 48px));
    left: 0;
    right: auto;
    transform: translateX(0) translateY(8px);
    padding: 0;
    border-radius: 0 0 8px 8px;
    text-align: left;
}

.has-submenu:hover > .submenu.submenu--mega {
    transform: translateX(0) translateY(0);
}

/* Mega volle Breite (?demo=2): fixed + viewport-Kanten; top via --vl-mega-full-top (navigation.js). */
@media (min-width: 1025px) {
    .submenu.submenu--mega.submenu--mega-full {
        position: fixed;
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
        min-width: unset;
        margin-left: 0;
        top: var(--vl-mega-full-top, 120px);
        transform: translateY(8px);
        border-radius: 0;
        box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
        z-index: 1002;
    }

    .has-submenu:hover > .submenu.submenu--mega.submenu--mega-full {
        transform: translateY(0);
    }
}

.submenu--mega-full .submenu-mega__inner {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.submenu-mega__inner {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 280px);
    gap: 28px 32px;
    padding: 28px 32px;
    align-items: start;
}

.submenu-mega__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.submenu-mega__heading {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

.submenu-mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu-mega__list li {
    margin: 0;
}

.submenu-mega__list a {
    display: block;
    padding: 8px 0;
    font-size: 19px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    white-space: normal;
    border-radius: 4px;
    transition: color .15s, background .15s;
}

.submenu-mega__list a:hover {
    background: transparent;
    color: #e32728;
}

.submenu-mega__media {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.submenu-mega__figure {
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
    aspect-ratio: 3 / 2;
}

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

/* ── Mobile Menu Toggle ── */
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: #1a1a1a;
    transition: transform .3s, opacity .3s;
}

/* ── Hero Slider ── */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 114px);
    overflow: hidden;
    background: #000;
}

.hero-slider.hero-half {
    min-height: calc(50vh - 57px);
}

.hero-slides {
    position: relative;
    width: 100%;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: inherit;
    opacity: 0;
    transition: opacity .8s ease;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-media-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 60px 40px;
    text-align: center;
}

.hero-title {
    color: #fff;
    font-size: 8.75rem;
    line-height: 8rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
    font-weight: 500;
    text-transform: none;
    margin: 0;
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.hero-prev,
.hero-next {
    pointer-events: auto;
    background: rgba(0, 0, 0, .3);
    border: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s;
    padding: 0;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(0, 0, 0, .6);
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background .3s;
    padding: 0;
}

.hero-dot.active {
    background: #fff;
}

/* ── Content Sections ── */
.content-block {
    padding: 25px 0;
}

.content-block h2 {
    font-size: 38px;
    line-height: 1.33;
    padding-left: 1.92%;
}

.content-block h3 {
    font-size: 34px;
    line-height: 1.1;
    padding-left: 1.92%;
}

.content-body {
    max-width: 66.67%;
    margin-left: 30.6%;
    padding-right: 7.5%;
}

.content-body p {
    font-size: 25px;
    line-height: 35px;
}

.intro-poem {
    font-family: "Cairo", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 35px;
}

/* ── WordPress Content Styles ── */
.entry-content {
    padding: 25px 0;
}

.entry-content h2 {
    font-size: 38px;
    line-height: 1.33;
    margin-bottom: 16px;
}

.entry-content h3 {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.entry-content p {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 20px;
}

.entry-content img {
    margin-bottom: 20px;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.alignwide {
    max-width: 1248px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Images ── */
.image-full {
    width: 100%;
    padding: 0 1.92%;
}

.image-full img {
    width: 100%;
}

.image-grid {
    display: flex;
    gap: 0;
    width: 100%;
}

.image-grid figure {
    flex: 1;
    padding: 0 3.84%;
    margin: 0;
}

.image-grid img {
    width: 100%;
}

/* ── Footer ── */
.site-footer {
    background: #000000;
    color: #fff;
    margin-top: 40px;
    padding: 40px 0;
}

.site-footer a {
    color: #fff;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-col p {
    font-size: 16px;
    line-height: 1.7;
}

.footer-col .footer-links {
    font-size: 16px;
    line-height: 2;
}

.footer-logo img {
    max-width: 200px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #fff;
    border-radius: 50%;
    transition: opacity .2s;
}

.social-icon svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* ── Tablet (641–1024px) ── */
@media screen and (max-width: 1024px) {
    .site-header {
        min-height: 80px;
        padding: 0 16px;
    }

    .main-nav {
        margin-top: 0;
        margin-bottom: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
        padding: 10px 0;
        z-index: 1000;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-item {
        border-bottom: 1px solid #eee;
    }

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

    .nav-link {
        padding: 14px 24px;
        font-size: 22px;
        width: 100%;
        justify-content: space-between;
    }

    .submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border-radius: 0;
        background: #fafafa;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height .3s, padding .3s;
        min-width: unset;
    }

    .has-submenu:hover>.submenu {
        max-height: 0;
        padding: 0;
    }

    .has-submenu.sub-open>.submenu {
        max-height: 500px;
        padding: 8px 0;
    }

    .has-submenu.sub-open > .submenu.submenu--mega {
        max-height: min(1200px, 85vh);
        padding: 0;
    }

    .submenu.submenu--mega {
        min-width: unset;
        max-width: none;
    }

    .submenu.submenu--mega.submenu--mega-full {
        left: auto;
        margin-left: 0;
        width: 100%;
        transform: none;
        box-shadow: none;
    }

    .has-submenu:hover > .submenu.submenu--mega.submenu--mega-full {
        transform: none;
    }

    .submenu-mega__inner {
        grid-template-columns: 1fr;
        padding: 20px 20px 24px;
        gap: 20px;
    }

    .submenu-mega__cols {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .submenu-mega__media {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .submenu-mega__figure {
        flex: 1 1 calc(50% - 7px);
        min-width: 140px;
    }

    .has-submenu.sub-open>.nav-link::after {
        transform: rotate(-135deg);
    }

    .submenu a {
        padding: 12px 40px;
        font-size: 19px;
    }

    .logo img,
    .custom-logo {
        max-width: 180px;
        margin-bottom: -70px;
    }

    .content-body {
        max-width: 80%;
        margin-left: 18%;
        padding-right: 4%;
    }

    .content-block h2 {
        font-size: 32px;
    }

    .content-block h3 {
        font-size: 28px;
    }

    .content-body p {
        font-size: 22px;
        line-height: 32px;
    }

    .intro-poem {
        font-size: 26px;
        line-height: 32px;
    }

    .entry-content h2 {
        font-size: 32px;
    }

    .entry-content h3 {
        font-size: 28px;
    }

    .entry-content p {
        font-size: 22px;
        line-height: 32px;
    }

    .hero-slider {
        min-height: calc(70vh - 80px);
    }

    .hero-slider.hero-half {
        min-height: calc(35vh - 40px);
    }

    .hero-title {
        font-size: 5rem;
        line-height: 5rem;
    }
}

/* ── Phone (≤640px) ── */
@media screen and (max-width: 640px) {
    .site-header {
        min-height: 60px;
        padding: 0 12px;
    }

    .header-inner {
        min-height: 60px;
    }

    .content-body {
        max-width: 100%;
        margin-left: 0;
        padding: 0 5%;
    }

    .content-block {
        padding: 18px 0;
    }

    .content-block h2 {
        font-size: 26px;
        padding-left: 5%;
    }

    .content-block h3 {
        font-size: 24px;
        padding-left: 5%;
    }

    .content-body p {
        font-size: 19px;
        line-height: 28px;
    }

    .intro-poem {
        font-size: 22px;
        line-height: 28px;
    }

    .entry-content h2 {
        font-size: 26px;
    }

    .entry-content h3 {
        font-size: 24px;
    }

    .entry-content p {
        font-size: 19px;
        line-height: 28px;
    }

    .image-grid {
        flex-direction: column;
    }

    .image-grid figure {
        padding: 0 5%;
        margin-bottom: 10px;
    }

    .image-full {
        padding: 0 5%;
    }

    .logo img,
    .custom-logo {
        max-width: 130px;
        margin-bottom: -50px;
    }

    .nav-link {
        font-size: 20px;
        padding: 12px 20px;
    }

    .submenu a {
        padding: 10px 36px;
        font-size: 17px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 24px;
        padding: 0 5%;
    }

    .footer-col {
        min-width: 0;
    }

    .hero-slider {
        min-height: calc(50vh - 60px);
    }

    .hero-slider.hero-half {
        min-height: calc(25vh - 30px);
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 3rem;
    }

    .hero-nav {
        padding: 0 10px;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
    }

    .hero-prev svg,
    .hero-next svg {
        width: 30px;
        height: 30px;
    }

    .theme-toggle {
        top: 8px;
        right: 12px;
    }
}

/* ── Theme Toggle ── */
.theme-toggle {
    position: absolute;
    top: 12px;
    right: 20px;
    z-index: 200;
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    transition: color .3s, border-color .3s, background .3s;
    padding: 0;
}

.theme-toggle:hover {
    background: #f0f0f0;
}

.theme-toggle__sun {
    display: block;
}

.theme-toggle__moon {
    display: none;
}

[data-theme="dark"] .theme-toggle__sun {
    display: none;
}

[data-theme="dark"] .theme-toggle__moon {
    display: block;
}

/* Logo Light/Dark */
.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

/* ── Dark Mode ── */
[data-theme="dark"] body {
    color: #e0e0e0;
    background: #121212;
}

[data-theme="dark"] .site-header {
    background: #1a1a1a;
}

[data-theme="dark"] .theme-toggle {
    color: #e0e0e0;
    border-color: #555;
}

[data-theme="dark"] .theme-toggle:hover {
    background: #333;
}

[data-theme="dark"] .menu-toggle span {
    background: #e0e0e0;
}

[data-theme="dark"] .submenu {
    background: #2a2a2a;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
}

[data-theme="dark"] .submenu a {
    color: #ddd;
}

[data-theme="dark"] .submenu a:hover {
    background: #333;
    color: #fff;
}

[data-theme="dark"] .submenu.submenu--mega {
    background: #2a2a2a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

[data-theme="dark"] .submenu-mega__heading {
    color: #999;
}

[data-theme="dark"] .submenu-mega__list a {
    color: #e8e8e8;
}

[data-theme="dark"] .submenu-mega__list a:hover {
    background: transparent;
    color: #ff6b6b;
}

[data-theme="dark"] .submenu-mega__figure {
    background: #1a1a1a;
}

[data-theme="dark"] .custom-logo {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .content-block h2,
[data-theme="dark"] .content-block h3,
[data-theme="dark"] .entry-content h2,
[data-theme="dark"] .entry-content h3 {
    color: #f0f0f0;
}

[data-theme="dark"] .content-body p,
[data-theme="dark"] .entry-content p {
    color: #ccc;
}

[data-theme="dark"] .intro-poem {
    color: #ddd;
}

[data-theme="dark"] .site-footer {
    background: #0e0e0e;
}

[data-theme="dark"] .footer-col p,
[data-theme="dark"] .footer-col .footer-links {
    color: #bbb;
}

[data-theme="dark"] .social-icon {
    border-color: #999;
}

[data-theme="dark"] .social-icon svg {
    fill: #ccc;
}

/* Dark: Mobile Navigation */
@media screen and (max-width: 1024px) {
    [data-theme="dark"] .main-nav {
        background: #1a1a1a;
        box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
    }

    [data-theme="dark"] .nav-item {
        border-bottom-color: #333;
    }

    [data-theme="dark"] .submenu {
        background: #222;
    }
}




.entry-content ul li {
    font-size: 28px;
    margin-bottom: 25px;
}

.entry-content ul {
    margin-bottom: 25px;
}

.nav-link {
    color: #fff !important;
    font-weight: 900;
    font-size: 1.35em;
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .main-nav {
        margin-bottom: 0px;
    }

    .nav-list {
        gap: 2em !important;
    }
}

#logo3 {
    padding: 30px;
}

.site-footer {
    background: transparent !important;
    /* border-top: 1px solid #1b1d23; */
}

main {
    min-height: 30em;
}

[data-theme="dark"] .site-header {
    background: #1b1d23 !important;
}

[data-theme="dark"] .site-header {
    background: radial-gradient(linear, #000 0%, #1b1d23 100%) !important;
}

[data-theme="dark"] .footer-col p,
[data-theme="dark"] .footer-col .footer-links {
    color: #fff;
}

body {
    background: #090A0B !important;
}

.hero-title {
    font-weight: 900;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 7em;
}

.site-header {
    padding: 0px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #e32728;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    opacity: 1;
}

main img {
    border-radius: 10px;
}

/* ── Card Carousel ── */
.vl-card-carousel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 60px 0 40px;
    background: #090A0B;
}

.vl-cc-header {
    padding: 0 40px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.vl-cc-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.vl-cc-track-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 0 40px;
}

.vl-cc-track-wrapper::-webkit-scrollbar {
    display: none;
}

.vl-cc-track {
    display: flex;
    gap: 1rem;
    width: max-content;
}

.vl-cc-slide {
    width: 437px;
    flex-shrink: 0;
}

.vl-cc-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 5;
    background: #1a1a1a;
}

.vl-cc-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.vl-cc-card:hover img {
    transform: scale(1.05);
}

.vl-cc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.15) 40%, transparent 60%);
    z-index: 1;
}

.vl-cc-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vl-cc-card-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}

.vl-cc-card-subtitle {
    color: rgba(255,255,255,.85);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.4);
    display: inline-block;
    width: fit-content;
    padding-bottom: 2px;
    transition: border-color .2s, color .2s;
}

a.vl-cc-card-subtitle:hover {
    color: #fff;
    border-color: #fff;
    opacity: 1;
}

/* Controls */
.vl-cc-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 40px 0;
    max-width: 100%;
}

.vl-cc-progress {
    flex: 1;
    height: 2px;
    position: relative;
    overflow: hidden;
}

.vl-cc-progress-bg {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.2);
    border-radius: 2px;
}

.vl-cc-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    transition: width .15s ease;
}

.vl-cc-arrows {
    display: flex;
    gap: 0.5rem;
}

.vl-cc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s, opacity .2s;
    padding: 0;
}

.vl-cc-arrow:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
}

.vl-cc-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.vl-cc-arrow:disabled:hover {
    background: transparent;
    border-color: rgba(255,255,255,.3);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .vl-cc-slide { width: 400px; }
    .vl-cc-track-wrapper { padding: 0 24px; }
    .vl-cc-header { padding: 0 24px 24px; }
    .vl-cc-controls { padding: 1.5rem 24px 0; }
    .vl-cc-title { font-size: 2rem; }
}

@media screen and (max-width: 640px) {
    .vl-cc-slide { width: 300px; }
    .vl-cc-track-wrapper { padding: 0 16px; }
    .vl-cc-header { padding: 0 16px 20px; }
    .vl-cc-controls { padding: 1rem 16px 0; }
    .vl-cc-title { font-size: 1.5rem; }
    .vl-cc-card-title { font-size: 1.5rem; }
    .vl-cc-card-content { padding: 1.5rem; }
    .vl-cc-arrows { display: none; }
    .vl-card-carousel { padding: 40px 0 30px; }
}

.has-submenu > .nav-link::after { display: none !important; }

.entry-content a { text-decoration underline; }

/* ==========================================================================
   Kontaktformular (/kontakt/kontaktformular/)
   ========================================================================== */
.page-kontaktformular .entry-content,
.page-kontaktformular .si_contact_form2,
body.page-kontaktformular form {
    max-width: 700px;
}

.page-kontaktformular .si_contact_form2,
body.page-kontaktformular form {
    width: 100%;
    margin: 1.5rem 0;
}

.page-kontaktformular form p,
.page-kontaktformular .si_contact_form2 p {
    margin: 0 0 1.1rem;
}

.page-kontaktformular label,
.page-kontaktformular .si_contact_form2 label {
    display: block;
    width: 100%;
    margin-bottom: .35rem;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.page-kontaktformular input[type="text"],
.page-kontaktformular input[type="email"],
.page-kontaktformular input[type="tel"],
.page-kontaktformular input[type="url"],
.page-kontaktformular input[type="number"],
.page-kontaktformular textarea,
.page-kontaktformular select,
.si_contact_form2 input[type="text"],
.si_contact_form2 input[type="email"],
.si_contact_form2 textarea,
.si_contact_form2 select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    font-size: 18px;
    line-height: 1.45;
    color: #111;
    background: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 6px;
    transition: border-color .15s ease, box-shadow .15s ease;
    font-family: inherit;
}

.page-kontaktformular textarea,
.si_contact_form2 textarea {
    min-height: 180px;
    resize: vertical;
}

.page-kontaktformular input:focus,
.page-kontaktformular textarea:focus,
.page-kontaktformular select:focus,
.si_contact_form2 input:focus,
.si_contact_form2 textarea:focus,
.si_contact_form2 select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

/* CAPTCHA-Bild & dazugehöriges Eingabefeld */
.page-kontaktformular img.fs_captcha_image,
.si_contact_form2 img {
    height: auto;
    max-width: 100%;
    border-radius: 6px;
}

/* Submit-Button */
.page-kontaktformular input[type="submit"],
.page-kontaktformular button[type="submit"],
.si_contact_form2 input[type="submit"],
.si_contact_form2 button[type="submit"] {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: #000;
    border: 1px solid #000;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity .15s ease;
}
.page-kontaktformular input[type="submit"]:hover,
.page-kontaktformular button[type="submit"]:hover,
.si_contact_form2 input[type="submit"]:hover,
.si_contact_form2 button[type="submit"]:hover {
    opacity: .85;
}

/* Hinweistexte & Pflichtfeld-Markierung */
.page-kontaktformular .si_contact_required,
.page-kontaktformular form span.required,
.si_contact_form2 .si_contact_required {
    color: #b1281e;
    margin-left: .15em;
}

@media (max-width: 700px) {
    .page-kontaktformular input[type="text"],
    .page-kontaktformular input[type="email"],
    .page-kontaktformular input[type="tel"],
    .page-kontaktformular textarea,
    .page-kontaktformular select,
    .si_contact_form2 input[type="text"],
    .si_contact_form2 input[type="email"],
    .si_contact_form2 textarea,
    .si_contact_form2 select {
        width: 100%;
        font-size: 18px;
        padding: 14px 14px;
    }
}

/* ==========================================================================
   Mobile Navigation – Submenu Fix
   Das ':hover'-Rule aus dem Desktop-Block (außerhalb der Media-Query) setzte
   beim Tap auf einem Touch-Gerät 'transform: translateX(-50%)' und schob das
   Submenu off-screen, bis durch Scrollen/Drag der Hover-State entfernt wurde.
   Hier wird der Transform für Mobile explizit zurückgesetzt und Hover als
   Auslöser auf Touch-Geräten entkoppelt.
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .has-submenu:hover > .submenu,
    .has-submenu.sub-open > .submenu,
    .has-submenu:hover > .submenu.submenu--mega,
    .has-submenu.sub-open > .submenu.submenu--mega,
    .has-submenu:hover > .submenu.submenu--mega.submenu--mega-full,
    .has-submenu.sub-open > .submenu.submenu--mega.submenu--mega-full {
        transform: none;
        left: auto;
        right: auto;
    }

    /* Hover allein (ohne .sub-open) darf das Submenu auf Mobile NIE öffnen.
       Nur .sub-open (per Tap-Toggle) entscheidet sichtbar. */
    .has-submenu:hover > .submenu {
        max-height: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
    }

    .has-submenu:hover > .nav-link::after {
        transform: rotate(45deg); /* Pfeil bleibt zu, solange nicht .sub-open */
    }

    .has-submenu.sub-open > .nav-link::after {
        transform: rotate(-135deg);
    }
}

/* Touch-Geräte: Hover komplett ignorieren, falls die UA den Hover sticky lässt. */
@media (hover: none) and (max-width: 1024px) {
    .has-submenu:hover > .submenu {
        transform: none;
        max-height: 0;
        padding: 0;
    }
    .has-submenu.sub-open > .submenu {
        max-height: 500px;
        padding: 8px 0;
    }
    .has-submenu.sub-open > .submenu.submenu--mega {
        max-height: min(1200px, 85vh);
        padding: 0;
    }
}

@media (max-width: 990px) {
    .submenu a {
        padding: 10px 36px;
        font-size: 1.5em;
        font-weight: bold;
        text-transform: uppercase;
    }
}