/* ── Fonts ── */
/*
@font-face {
    font-family: "Theinhardt";
    src: url("../fonts/Theinhardt-Regular.woff2") format("woff2"),
         url("../fonts/Theinhardt-Regular.woff") format("woff"),
         url("../fonts/theinhardt-regular-webfont.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Theinhardt";
    src: url("../fonts/Theinhardt-Medium.woff2") format("woff2"),
         url("../fonts/Theinhardt-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Theinhardt";
    src: url("../fonts/theinhardt-bold-webfont.woff") format("woff"),
         url("../fonts/theinhardt-bold-webfont.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Theinhardt";
    src: url("../fonts/theinhardt-light-webfont.woff") format("woff"),
         url("../fonts/theinhardt-light-webfont.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
*/

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "Barlow", 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; }
h2, h3 { font-weight: 400; }

/* ── 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-Toggle (per JS injiziert; nur Mobile sichtbar) */
.submenu-toggle {
    display: none;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
    align-items: center;
    justify-content: center;
}
.submenu-toggle__icon {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s;
}

.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;
}

/* ── 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;
}

/* ── Sticky Header (Headroom-Pattern) ── */
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 70px;
    padding-top: 20px;
    padding-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
@media (min-width: 1025px) {
    .site-header.is-sticky .nav-link {
        font-size: 22px !important;
    }
    .site-header.is-sticky .submenu a {
        font-size: 18px !important;
    }
}

/* Beim Einrasten des Sticky-Headers: Submenüs kurz unterdrücken,
   damit ein noch aktiver :hover-State kein offenes Submenu zeigt */
.site-header.is-sticky.just-activated .submenu,
.site-header.is-sticky.just-activated .has-submenu:hover > .submenu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.site-header.is-sticky .theme-toggle { display: none; }
.site-header.is-sticky.is-visible { transform: translateY(0); }
.site-header.is-sticky.is-hidden  { transform: translateY(-100%); }

/* WordPress Admin Bar Offset */
body.admin-bar .site-header.is-sticky { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .site-header.is-sticky { top: 46px; }
}
@media screen and (max-width: 600px) {
    body.admin-bar .site-header.is-sticky { top: 0; }
}

.site-header.is-sticky .logo img,
.site-header.is-sticky .custom-logo {
    max-width: 160px;
    margin-bottom: 0;
    transition: max-width .25s ease, margin-bottom .25s ease;
}
.site-header.is-sticky .main-nav {
    margin-top: 0;
    margin-bottom: 0;
}
.site-header-spacer { display: block; }

@media (prefers-reduced-motion: reduce) {
    .site-header.is-sticky {
        transition: none;
    }
}

/* Sticky-Verhalten nur ab 1025px aktiv – unterhalb deaktivieren */
@media (max-width: 1024px) {
    .site-header.is-sticky {
        position: static;
        transform: none;
        box-shadow: none;
        padding-top: 0;
        padding-bottom: 0;
        background: transparent;
        min-height: 0;
    }
    .site-header.is-sticky .theme-toggle { display: flex; }
    .site-header-spacer { display: none; }
}

/* ── Back to Top Button ── */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease, box-shadow .25s ease, color .2s ease;
    z-index: 999;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    opacity: 1;
}
.back-to-top:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 3px;
}

[data-theme="dark"] .back-to-top {
    background: #e42320;
    color: #fff;
    box-shadow: 0 8px 30px rgba(228, 35, 32, 0.35);
}
[data-theme="dark"] .back-to-top:hover {
    background: #ff0400;
    box-shadow: 0 12px 36px rgba(255, 4, 0, 0.45);
}
[data-theme="dark"] .back-to-top:focus-visible {
    outline-color: #ff0400;
}
@media (max-width: 640px) {
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: opacity .15s, visibility .15s;
        transform: none;
    }
    .back-to-top.is-visible { transform: none; }
    .back-to-top:hover { transform: none; }
}

/* ── Hero Slider ── */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}
.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 CTA */
.hero-cta {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: max-content;
    max-width: 90%;
}
.hero-btn {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 14px 32px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: .5px;
    transition: opacity .3s;
    white-space: nowrap;
}
.hero-btn:hover { opacity: .85; color: #333; }
.hero-btn--pill { border-radius: 30px; }

/* 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; }
.hero-slider.has-cta .hero-dots { bottom: 140px; }

/* ── 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: "Barlow", 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: #333;
    color: #fff;
    margin-top: 40px;
    padding: 40px 0;
}
.site-footer a { color: #fff; }
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1236px;
    margin: 0 auto;
    padding: 0 3%;
}
.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;
    }
    /* Parent-Items mobil: Link bleibt klickbar (Navigation), separater Toggle für Submenu */
    .has-submenu {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .has-submenu > .nav-link {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        justify-content: flex-start;
        padding-right: 12px;
    }
    .has-submenu > .nav-link::after {
        display: none;
    }
    .submenu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        width: 64px;
        padding: 0 22px;
        align-self: stretch;
        border-left: 1px solid rgba(0, 0, 0, .06);
    }
    .submenu-toggle:hover {
        background: rgba(0, 0, 0, .03);
    }
    .submenu-toggle:focus-visible {
        outline: 2px solid rgba(255, 4, 0, .8);
        outline-offset: -2px;
    }
    .has-submenu.sub-open > .submenu-toggle .submenu-toggle__icon {
        transform: rotate(-135deg);
    }
    .has-submenu > .submenu {
        flex: 0 0 100%;
        width: 100%;
    }
    .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 > .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: 70vh; }
    .hero-title { font-size: 5rem; line-height: 5rem; }
    .hero-cta { bottom: 60px; }
    .hero-btn { font-size: 18px; padding: 12px 24px; }
    .hero-slider.has-cta .hero-dots { bottom: 120px; }
}

/* ── 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: 50vh; }
    .hero-title { font-size: 2.8rem; line-height: 3rem; }
    .hero-cta { bottom: 32px; flex-direction: column; align-items: center; gap: 12px; }
    .hero-btn { font-size: 16px; padding: 10px 20px; }
    .hero-slider.has-cta .hero-dots { bottom: 110px; }
    .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"] .site-header.is-sticky {
    background: #1a1a1a;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .nav-link {
    color: #fff !important;
}
[data-theme="dark"] .submenu a {
    color: #fff !important;
}
[data-theme="dark"] .submenu-toggle {
    border-left-color: rgba(255, 255, 255, .08);
}
[data-theme="dark"] .submenu-toggle:hover {
    background: rgba(255, 255, 255, .06);
}
[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"] .custom-logo {
    filter: brightness(0) invert(1);
}
[data-theme="dark"] .hero-btn {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
}
[data-theme="dark"] .hero-btn:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
}
[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;
    }
}


[data-theme="dark"] .hero-btn {
    background: #e42320 !important;
    color: #fff;
    opacity: 100% !important;
    border: 1px solid rgba(255, 255, 255, .3);
}

[data-theme="dark"] .hero-btn:hover {
    background: #ff0400 !important;
    color: #fff;
    opacity: 100% !important;
    border: 1px solid rgba(255, 255, 255, .3);
}

.hero-btn {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%) !important;
    opacity: 100% !important;
    transition: background .3s ease, box-shadow .3s ease, transform .3s ease !important;
}

.hero-btn:hover {
    background: linear-gradient(180deg, #ffffff 0%, #d4d4d4 100%) !important;
    opacity: 100% !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.18) !important;
    transform: translateY(-1px) !important;
}

/* ── Referenzprojekte Single ── */
.projekt-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}
.projekt-video video,
.projekt-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Fotogalerie Referenz (Hero-Muster, content-width, 16:9 wie .projekt-video) ── */

.projekt-gallery-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.projekt-gallery-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.projekt-gallery-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
    transition: opacity .75s ease;
    z-index: 0;
}

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

.projekt-gallery-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.projekt-gallery-open {
    position: absolute;
    inset: 0;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}

.projekt-gallery-open:focus-visible {
    outline: 2px solid #ff0400;
    outline-offset: -4px;
}

.projekt-gallery-nav {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.projekt-gallery-prev,
.projekt-gallery-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;
}

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

.projekt-gallery-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

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

.projekt-gallery-dot.active {
    background: #fff;
}

/* Lightbox */
.projekt-gallery-lightbox {
    border: none;
    padding: 0;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    background: #070708;
    color: #fff;
    overflow: hidden;
}

.projekt-gallery-lightbox::backdrop {
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.projekt-gallery-lightbox-head {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1rem 0;
    pointer-events: none;
}

.projekt-gallery-lightbox-close {
    pointer-events: auto;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .9);
    font: inherit;
    font-size: .95rem;
    letter-spacing: .02em;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: .4rem .5rem;
}

.projekt-gallery-lightbox-close:hover {
    color: #fff;
}

.projekt-gallery-lightbox-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 3.25rem .75rem 1.75rem;
    box-sizing: border-box;
}

.projekt-gallery-lightbox-img {
    max-width: min(1400px, 96vw);
    max-height: calc(100vh - 5rem);
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.projekt-gallery-lightbox-prev,
.projekt-gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.projekt-gallery-lightbox-prev:hover,
.projekt-gallery-lightbox-next:hover {
    background: rgba(255, 255, 255, .18);
}

.projekt-gallery-lightbox-prev:focus-visible,
.projekt-gallery-lightbox-next:focus-visible {
    outline: 2px solid rgba(255, 4, 0, .8);
    outline-offset: 3px;
}

.projekt-gallery-lightbox-prev { left: 18px; }
.projekt-gallery-lightbox-next { right: 18px; }

@media (max-width: 600px) {
    .projekt-gallery-nav {
        padding: 0 10px;
    }
    .projekt-gallery-prev,
    .projekt-gallery-next {
        width: 40px;
        height: 40px;
    }
    .projekt-gallery-prev svg,
    .projekt-gallery-next svg {
        width: 30px;
        height: 30px;
    }
    .projekt-gallery-lightbox-img {
        max-width: 100vw;
        max-height: calc(100vh - 4.5rem);
    }
    .projekt-gallery-lightbox-prev,
    .projekt-gallery-lightbox-next {
        width: 44px;
        height: 44px;
    }
    .projekt-gallery-lightbox-prev { left: 8px; }
    .projekt-gallery-lightbox-next { right: 8px; }
    .projekt-gallery-lightbox-prev svg,
    .projekt-gallery-lightbox-next svg {
        width: 32px;
        height: 32px;
    }
}

/* ── Fotoprojekt: Bilder im Inhalt ohne unteren Abstand ── */
body.is-fotoprojekt .entry-content img {
    margin-bottom: 0px;
}

/* ── Masonry-Modus für Fotoprojekte ── */
.projekt-gallery-slider--masonry {
    aspect-ratio: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 2.5rem;
}

.projekt-gallery-masonry {
    column-count: 3;
    column-gap: 12px;
    width: 100%;
}

@media (max-width: 900px) {
    .projekt-gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 540px) {
    .projekt-gallery-masonry {
        column-count: 2;
    }
}

.projekt-gallery-masonry__item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 12px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    inset: auto;
    height: auto;
    opacity: 1;
    transition: none;
    overflow: hidden;
    border-radius: 0px;
    background: rgba(0, 0, 0, .04);
}

.projekt-gallery-masonry__img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.projekt-gallery-masonry__item .projekt-gallery-open {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease;
}

.projekt-gallery-masonry__item:hover .projekt-gallery-open {
    background: rgba(0, 0, 0, .06);
}

[data-theme="dark"] .projekt-gallery-masonry__item {
    background: rgba(255, 255, 255, .04);
}

[data-theme="dark"] .projekt-gallery-masonry__item:hover .projekt-gallery-open {
    background: rgba(255, 255, 255, .06);
}

.newsletter-form { margin: 0px !important; }

.newsletter-form__field label {
    text-transform: uppercase;
    color: #000 !important;
    text-transform: none !important;
    font-size: 1.5em;
    font-weight: 600;
    font-size: 20px !important;
    letter-spacing: 0px !important;
}
.newsletter-form__row input { font-size: 20px !important; }
.newsletter-form { background: #efefef !important; }
.newsletter-form__field a:hover { text-decoration: none !important; }

.projekt-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3rem;
    margin-bottom: 2.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(128,128,128,.2);
    border-bottom: 1px solid rgba(128,128,128,.2);
}
.projekt-meta__item {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.projekt-meta__label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .55;
}
.projekt-meta__value {
    font-size: 22px;
    font-weight: 500;
}

.projekt-meta__item--stichworte {
    grid-column: 1 / -1;
}

.projekt-meta__label--stichworte {
    font-size: 13px;
    text-transform: none;
    letter-spacing: .02em;
    font-weight: 500;
    color: rgba(100, 100, 100, .95);
    opacity: 1;
}

.projekt-meta__value--stichworte {
    display: block;
    max-width: 100%;
}

[data-theme="dark"] .projekt-meta__label--stichworte {
    color: rgba(170, 170, 170, .95);
}
.projekt-meta__value a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.projekt-beschreibung {
    max-width: 100%;
}
.projekt-beschreibung p {
    font-size: 25px;
    line-height: 35px;
}

@media (max-width: 600px) {
    .projekt-meta {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .projekt-meta__value {
        font-size: 19px;
    }
    .projekt-beschreibung p {
        font-size: 19px;
        line-height: 28px;
    }
}

/* ── Portfolio: Kategorie-Filter + Grid ([portfolio] Shortcode) ── */
.portfolio-filter__btn:hover { background: #000 !important; color: #fff !important; }

[data-theme="dark"] .portfolio-card { background: #1a1a1a !important; }
[data-theme="dark"] .portfolio-filter__btn:hover { background: #e42320 !important; color: #fff !important; }
[data-theme="dark"] .portfolio-filter__btn.is-active {
    background: #e42320 !important;
    color: #fff;
    border-color: #111;
}
[data-theme="dark"] .portfolio-card__title { color: #ccc !important; }
[data-theme="dark"] .portfolio-card__excerpt { color: #aaa !important; }
[data-theme="dark"] .portfolio-card__btn { background: #ccc !important; border-color: #ccc !important; }
[data-theme="dark"] .portfolio-card__btn:hover { background: #efefef !important; border-color: #efefef !important; }
[data-theme="dark"] .kunden-grid__item { background: #fff !important; }

[data-theme="dark"] #bclogo img {
    background: #fff;
    padding: 20px;
    max-width: 180px;
}
[data-theme="dark"] #rlogo {
    background: #fff;
    padding: 10px;
    width: 200px;
    height: 200px;
}
[data-theme="dark"] #rlogo img {
    background: #fff;
    padding: 20px;
    max-width: 180px;
}
[data-theme="dark"] #regainslogo {
    background: #fff;
    padding: 0px;
    width: 220px;
    height: 220px;
    float: right;
}
[data-theme="dark"] #regainslogo img {
    background: #fff;
    padding: 20px;
    max-width: 220px;
    padding-top: 90px;
}

@media (max-width: 768px) {

    .partnerItem .wpb_single_image.vc_align_right {
        text-align: center !important;
    }
    .partnerItem .wpb_single_image.vc_align_left {
        text-align: center !important;
    }
    #rlogo { text-align: center !important; margin: 0 auto !important; }
    #regainslogo { text-align: center !important; margin: 0 auto !important; float: none !important; }

    .kunden-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 15px;
    }

    /* Spalten der Partner-Reihen auf Mobile untereinander stapeln */
    .partnerItem.vc_row {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .partnerItem.vc_row > .wpb_column,
    .partnerItem.vc_row > .vc_column_container {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Einheitliche Reihenfolge: Text oben, Logo darunter — auch in invertierten Rows */
    .partnerItem.vc_row > .wpb_column:has(.wpb_text_column) {
        order: 1;
    }
    .partnerItem.vc_row > .wpb_column:has(.wpb_single_image) {
        order: 2;
    }

}

[data-theme="dark"] .portfolio-filter__btn.is-active {
    background: #e42320 !important;
    color: #fff;
    border-color: #e42320 !important;
}
[data-theme="dark"] .portfolio-filter__btn.is-active:hover {
    background: #e42320 !important;
    color: #fff;
    border-color: #e42320 !important;
}
[data-theme="dark"] .portfolio-filter__btn:hover {
    background: #e42320 !important;
    color: #fff;
    border-color: #e42320 !important;
}
[data-theme="dark"] .portfolio-filter__btn {
    background: #ccc !important;
    border-color: #ccc !important;
}

[data-theme="dark"] .portfolio-card__btn {
    color: #000 !important;
}

.portfolio-block {
    margin-bottom: 0;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.portfolio-filter__btn {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    padding: .55rem 1.25rem;
    border: 2px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.portfolio-filter__btn:hover {
    opacity: .9;
}

.portfolio-filter__btn.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.portfolio-filter__btn:focus-visible {
    outline: 2px solid #ff0400;
    outline-offset: 2px;
}

.portfolio-card.is-filtered-out {
    display: none !important;
}

.portfolio-filter-empty {
    margin: 0 0 1.25rem;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

[data-theme="dark"] .portfolio-filter__btn:not(.is-active) {
    background: #fff;
    color: #111;
    border-color: #111;
}

[data-theme="dark"] .portfolio-filter__btn.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

[data-theme="dark"] .portfolio-filter-empty {
    color: #aaa;
}

/* ── Portfolio Grid ([portfolio] Shortcode) ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.portfolio-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    transition: box-shadow .25s ease, transform .25s ease;
}
.portfolio-card:hover {
    box-shadow: 0 14px 36px rgba(0,0,0,.22);
    transform: translateY(-4px);
    opacity: 1;
}
.portfolio-card__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #ddd;
    overflow: hidden;
    position: relative;
}
.portfolio-card__img-inner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.portfolio-card:hover .portfolio-card__img-inner {
    transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
    .portfolio-card,
    .portfolio-card:hover,
    .portfolio-card__img-inner,
    .portfolio-card:hover .portfolio-card__img-inner {
        transition: none;
        transform: none;
    }
}
.portfolio-card__img--empty {
    background-color: #ccc;
}
.portfolio-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.5rem 1.5rem;
}
.portfolio-card__title {
    font-size: 22px !important;
    font-weight: 600;
    margin-bottom: .5rem;
    line-height: 1.3;
}
.portfolio-card__excerpt {
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: #555;
    margin-bottom: 1.25rem !important;
    flex: 1;
}
.portfolio-card__btn {
    display: inline-block;
    align-self: flex-start;
    font-size: 15px;
    font-weight: 600;
    padding: .55rem 1.25rem;
    border: 2px solid currentColor;
    border-radius: 4px;
    transition: background .2s, color .2s;
}
.portfolio-card:hover .portfolio-card__btn {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Dark Mode */
[data-theme="dark"] .portfolio-card {
    background: #1a1a1a;
}
[data-theme="dark"] .portfolio-card__excerpt {
    color: #aaa;
}
[data-theme="dark"] .portfolio-card:hover .portfolio-card__btn {
    background: #fff;
    color: #111;
    border-color: #fff;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ── FAQ Accordion ── */
.faq-section {
    margin: 2.5rem 0;
}
.faq-section__title {
    margin-bottom: 1.5rem;
}
.faq-accordion {
    border-top: 1px solid rgba(128,128,128,.2);
}
.faq-item {
    border-bottom: 1px solid rgba(128,128,128,.2);
}
.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    list-style: none;
}
.faq-item__question::-webkit-details-marker {
    display: none;
}
.faq-chevron {
    flex-shrink: 0;
    transition: transform .3s ease;
}
.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}
.faq-item__answer {
    padding: 0 0 1.5rem;
}
.faq-item__answer p {
    font-size: 18px !important;
    line-height: 1.65 !important;
    margin-bottom: .75rem !important;
}
.faq-item__answer p:last-child {
    margin-bottom: 0 !important;
}
.entry-content ul { list-style: disc !important; margin-left: 25px !important; margin-bottom: 30px !important; }
.entry-content ul li { font-size: 1.75rem !important; }
.entry-content ul li a { font-size: 1.75rem !important; }

.entry-content ol { margin-left: 30px !important; margin-bottom: 30px !important; text-align: left !important; }
.entry-content ol li { font-size: 1.75rem !important; }
.entry-content ol li a { font-size: 1.75rem !important; }

.entry-content ul.slides { margin-left: 0px !important; margin-bottom: 0px !important; }
.wpb_gallery_slides ul.slides, body .wpb_gallery_slides ul li { margin-left: 0px !important; }
.flexslider { margin: 0px !important; }
@media (max-width: 768px) {
    .flexslider { margin: 10px !important; border: 0px !important; }
}

/* Dark Mode */
[data-theme="dark"] .faq-item__question {
    color: #f0f0f0;
}
[data-theme="dark"] .faq-item__answer p {
    color: #ccc;
}

@media (max-width: 600px) {
    .faq-item__question {
        font-size: 18px;
        padding: 1rem 0;
    }
    .faq-item__answer p {
        font-size: 16px !important;
    }
}

.wpb_gallery .wpb_flexslider .flex-control-paging { display: none; }
.content-block h2.faq-section__title {
    padding-left: 0px !important;
}

/* ── Kunden-Grid (Shortcode [kunden]) ── */
.kunden-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}
.kunden-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.kunden-grid__item img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.kunden-grid__empty {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 2rem 0;
}

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

[data-theme="dark"] .flexslider {
    background: transparent;
    border: 4px solid transparent;
}

/* ── Newsletter-Form ── */
.newsletter-form {
    --nl-fg: #111;
    --nl-border: rgba(0, 0, 0, .18);
    --nl-bg: #fff;
    --nl-muted: #555;

    max-width: 640px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: var(--nl-bg);
    border: 1px solid var(--nl-border);
    border-radius: 8px;
    color: var(--nl-fg);
}

.newsletter-form__title {
    margin: 0 0 1.25rem;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.newsletter-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.newsletter-form__field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1rem;
}

.newsletter-form__field label {
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nl-muted);
}

.newsletter-form__field input[type="text"],
.newsletter-form__field input[type="email"] {
    width: 100%;
    padding: .85rem 1rem;
    font: inherit;
    font-size: 17px;
    color: var(--nl-fg);
    background: #fff;
    border: 1px solid var(--nl-border);
    border-radius: 6px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.newsletter-form__field input:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(255, 4, 0, .18);
}

.newsletter-form__field--check {
    margin-bottom: 1.25rem;
}

.newsletter-form__check {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--nl-fg);
    cursor: pointer;
}

.newsletter-form__check input[type="checkbox"] {
    margin-top: .25rem;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #111;
}

.newsletter-form__check a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.newsletter-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.newsletter-form__actions {
    display: flex;
    justify-content: flex-start;
}

.newsletter-form__submit {
    display: inline-block;
    background: #111;
    color: #fff;
    border: 2px solid #111;
    padding: .85rem 1.6rem;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .15s ease;
    font-family: inherit;
}

.newsletter-form__submit:hover {
    background: #ff0400;
    border-color: #ff0400;
    color: #fff;
    transform: translateY(-1px);
}

.newsletter-form__status {
    margin: 0 0 1.25rem;
    padding: .9rem 1rem;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.45;
}
.newsletter-form__status--success {
    background: rgba(46, 160, 67, .12);
    color: #1a7431;
    border: 1px solid rgba(46, 160, 67, .35);
}
.newsletter-form__status--error {
    background: rgba(255, 4, 0, .08);
    color: #b40400;
    border: 1px solid rgba(255, 4, 0, .35);
}

.newsletter-form__notice {
    margin-top: 1.25rem;
    font-size: 18px;
    line-height: 1.5;
    color: var(--nl-muted);
}

@media (max-width: 600px) {
    .newsletter-form {
        padding: 1.25rem;
    }
    .newsletter-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .newsletter-form__title {
        font-size: 24px;
    }
}

[data-theme="dark"] .newsletter-form {
    --nl-fg: #f0f0f0;
    --nl-border: rgba(255, 255, 255, .14);
    --nl-bg: #1a1a1a;
    --nl-muted: #aaa;
}
[data-theme="dark"] .newsletter-form__field input[type="text"],
[data-theme="dark"] .newsletter-form__field input[type="email"] {
    background: #111;
    color: #f5f5f5;
}
[data-theme="dark"] .newsletter-form__field input:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 4, 0, .35);
}
[data-theme="dark"] .newsletter-form__check input[type="checkbox"] {
    accent-color: #fff;
}
[data-theme="dark"] .newsletter-form__submit {
    background: #fff;
    color: #111;
    border-color: #fff;
}
[data-theme="dark"] .newsletter-form__submit:hover {
    background: #ff0400;
    color: #fff;
    border-color: #ff0400;
}

@media (max-width: 1200px) {
    .kunden-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 768px) {
    .kunden-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
    .kunden-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
    .entry-content ul li {
        word-wrap: break-word !important;
    }
    .submenu { width: 100% !important; }
    .entry-content h2 { margin-left: 0px !important; padding-left: 0px !important; }
    .vc_column_container>.vc_column-inner { padding: 0px !important; }
    main { margin: 15px !important; }
    .header-inner { padding: 0px !important; }
    .theme-toggle {
        top: 50%;
        right: 70px;
        transform: translateY(-50%);
    }
    .menu-toggle { margin-left: auto; }
    .submenu { background: #fff !important; color: #000 !important; position: relative !important; }
    .submenu a { font-size: 20px !important;color: #000 !important; font-weight: 500 !important; }
    .nav-link {
        font-size: 20px;
        padding: 12px 20px;
        font-weight: 500;
        color: #000 !important;
        opacity: 100% !important;
    }
    .has-submenu { height: auto !important; }
    .has-submenu.sub-open > .submenu {
        max-height: auto !important;
        padding: 8px 0;
    }
    .header-inner {
        max-width: calc(100% - 0px) !important;
    }
}