body {
    margin: 0;
    font-family: sans-serif;
    font-size: 12px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 700;
}

p, li {
    font-weight: 400;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #00796b;
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #04dae6; 
}

a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
select:focus-visible, 
textarea:focus-visible, 
.carousel-arrow:focus-visible,
.indicator-dot:focus-visible,
.screenshot-submit-btn:focus-visible {
    outline: 3px solid #ffcc00; 
    outline-offset: 3px;
    border-radius: 4px; 
}

.main-nav {
    position: fixed;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(240, 240, 240, 0.9);
    border-radius: 10px;
    -webkit-backdrop-filter:blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.4s ease;
}

.main-nav.scrolled {
    top: 20px;
    width: calc(100% - 60px);
    max-width: 1200px;
    border-radius: 10px;
    padding: 10px 30px;
    background-color: rgba(135, 206, 235, 0.75);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter:blur(5px);
    backdrop-filter: blur(5px);
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    color: #397088;
    margin-right: 30px;
    transition: all 0.4s ease;
}

.main-nav.scrolled .logo {
    margin-right: 50px;
}

.logo img {
    height: 70px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(152, 183, 168, 0.5));
}

.nav-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    transition: all 0.4s ease;
}

.main-nav.scrolled .nav-items {
    gap: 40px;
    margin-right: 50px;
}

.nav-items li a {
    color: #142f60;
    text-decoration: none;
    font-weight: 600; 
    font-size: 1.05em;
    position: relative;
    padding: 5px 0;
    overflow: hidden;
}

.nav-items li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #8b6c8b;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.main-nav.scrolled .nav-items li a::after {
    background-color: #0d1a26;
}

.nav-items li a span {
    display: block;
    position: relative;
    transition: color 0.3s ease;
    z-index: 1;
}

.nav-items li a:hover span {
    color: #2a132c;
}

.main-nav.scrolled .nav-items li a {
    color: #0d1a26;
}

.main-nav.scrolled .nav-items li a:hover span {
    color: #0d1a26;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8em;
    color: #142f60;
    cursor: pointer;
    z-index: 1001;
}

.main-nav.scrolled .hamburger {
    color: #0d1a26;
}

.btn-request-demo {
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-request-demo.nav-btn {
    font-size: 0.9em;
    padding: 8px 20px;
    background:  linear-gradient(90deg, #04dae6, #6583c5);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-nav.scrolled .btn-request-demo.nav-btn {
    background: linear-gradient(90deg, #04dae6, #6583c5);
    box-shadow: 0 3px 10px rgba(89, 2, 109, 0.3);
}

.btn-request-demo.nav-btn:hover {
    transform: translateY(-2px);
}

.btn-request-demo .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-request-demo:hover .arrow-icon {
    transform: translateX(5px);
}
.top-banner {
    background-image: linear-gradient(to right, #03353e, #3a97a3);
    padding: 30px 0;
    text-align: center;
    color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.top-banner::before,
.top-banner::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,25 100,75 50,100 0,75 0,25" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    background-size: 50px;
    opacity: 0.2;
    pointer-events: none;
}

.top-banner::before {
    left: -50px;
    top: -50px;
    transform: rotate(30deg);
}

.top-banner::after {
    right: -50px;
    bottom: -50px;
    transform: rotate(-30deg);
}

.top-banner p {
    margin: 0;
    font-size: 1.1em;
    font-weight: 500;
}

.top-banner button {
    background-color: #9cb14d;
    color: #2a132c;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.top-banner button:hover {
    background-color: #a9f100;
}
.footer-main {
    background-color: #3c3c3d;
    color: #cccccc;
    padding: 40px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    width: 100%; 
    box-sizing: border-box;
    margin: 0;
}

.footer-section.logo-and-partners {
    flex: 1.5;
    min-width: 250px;
}

.footer-main > .footer-section:not(.logo-and-partners) {
     flex: 1;
}

.footer-section {
    min-width: 180px;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-weight: 400; 
}

.footer-section ul li a {
    color:#e0e0e0;
    text-decoration: none;
    font-weight: 400; 
    transition: color 0.3s ease;
}
.footer-section ul li a:hover {
    color:#e0e0e0;
}

.logo-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-section img {
    height: 40px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.logo-section span {
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 1px;
}

.partners-section {
    background-color:whitesmoke;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    justify-content: center;
    min-height: 80px;
}

.partners-section img {
    height: 50px;
    object-fit: contain;
    max-width: 30%;
}
.partners-section .kofinanziert {
    height: 50px;
    /* max-width: none; */
}
.partners-section .berlin {
    height: 30px;
    max-width: none;
}
.partners-section .sibb {
    height: 40px;
    max-width: none;
}

.footer-bottom {
    background-color: #4e4a4a;
    color:#c6bebe;
    padding: 20px 5%;
    border-top: 1px solid #555;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color:rgb(181, 177, 177);
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: rgb(26, 18, 33);
}

@media (max-width: 1024px) {
   .main-nav {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center; 
        top: 20px;
        width: calc(100% - 40px);
        border-radius: 10px;
        padding: 15px 20px;
        background-color: rgba(240, 240, 240, 0.95);
        -webkit-backdrop-filter:blur(10px);
        backdrop-filter: blur(10px);
        height: auto;
    }

    .main-nav.scrolled {
        top: 10px;
        width: calc(100% - 20px);
        padding: 10px;
        background-color: rgba(135, 206, 235, 0.85);
        justify-content: space-between;
    }

    .logo {
        margin-bottom: 0;
        margin-right: 0;
        order: 1;
    }
    .logo img {
        height: 50px;
    }
    .hamburger {
        display: block;
        order: 2;
        margin-left: auto;
        transition: color 0.3s ease;
    }

    .nav-items {
        width: 100%;
        margin: 15px 0 0 0;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        padding-bottom: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        order: 3;
        display: none;
        text-align: center;
    }

    .nav-items.active {
        display: flex;
    }

    .nav-items li a {
        padding: 10px 0;
        color: #142f60;
        font-size: 1.1em;
    }

    .main-nav.scrolled .nav-items li a {
        color: #0d1a26;
    }

    .desktop-only {
        display: none;
    }

    .nav-item-demo-mobile {
        display: list-item;
        width: 100%;
    }

    .btn-request-demo.nav-btn {
        display: none;
    }
    .btn-request-demo.nav-btn.mobile-only {
        display: inline-flex;
        width: calc(100% - 40px);
        margin: 10px auto 0 auto;
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .top-banner {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 768px) {
    .top-banner {
        padding: 20px 5%;
        margin: 0;
        gap: 10px; 
        flex-wrap: wrap; 
        justify-content: center;
    }
    .top-banner p {
        width: 100%;
        text-align: center; 
    }
    .top-banner button {
        width: auto;
        min-width: 120px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px 5%;
    }

    .footer-section.logo-and-partners {
        flex: none;
        min-width: 100%;
    }
     .footer-main > .footer-section:not(.logo-and-partners) {
        flex: none;
        min-width: 100%;
    }

    .logo-section {
        width: 100%;
        justify-content: center;
    }

    .partners-section {
        width: 100%;
        justify-content: center;
        max-width: 100%;
        padding: 15px 10px;
        gap: 15px;
    }
    .partners-section img {
        width: 45%;
        height: auto;
        max-height: 40px;
    }
    .partners-section .kofinanziert {
        height: 40px;
        max-width: 45%;
    }
    .partners-section .berlin {
        height: 25px;
        max-width: 45%;
    }
    .partners-section .sibb {
        height: 35px;
        max-width: 45%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav-items {
        gap: 10px;
    }
    .btn-request-demo.nav-btn.mobile-only {
        font-size: 0.75em;
        padding: 8px 12px;
    }
    .logo-section img {
        height: 30px;
    }
    .logo-section span {
        font-size: 1.5em;
    }

    .partners-section {
        padding: 15px 5px;
        gap: 8px;
    }
    .partners-section img {
        max-width: 48%;
        height: auto;
        max-height: 30px;
    }
    .partners-section .kofinanziert {
        height: 30px;
    }
    .partners-section .berlin {
        height: 20px;
    }
    .partners-section .sibb {
        height: 30px;
    }
    .top-banner {
        padding: 15px 5%;
    }
}
/* --- Cookie Banner Styles --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2a132c;
    color: #f4f4f4;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-banner p {
    margin: 0 20px 10px 0;
    flex: 1 1 400px;
    font-size: 0.9em;
}

.cookie-banner a {
    color: #04dae6;
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #ffffff;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept-btn,
.cookie-decline-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.cookie-accept-btn {
    background-color: #9cb14d;
    color: #2a132c;
}

.cookie-accept-btn:hover {
    background-color: #a9f100;
}

.cookie-decline-btn {
    background-color: #6c757d;
    color: #ffffff;
}

.cookie-decline-btn:hover {
    background-color: #5a6268;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        padding: 15px;
    }
    .cookie-banner p {
        margin-bottom: 15px;
        text-align: center;
    }
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* --- Cloudflare Turnstile Styles (Added specifically for this feature) --- */
.cf-turnstile-container {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}


.wrapper,
.container,
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header,
main,
section,
footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
}

.hero-content,
.insights-container,
.solutions-container,
.prosec-container,
.get-started-wrapper,
.sectors-grid {
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;     
}

svg {
    max-width: 100%;
    height: auto;
}

@media (min-width: 1400px) {
    .hero-section {
        height: 80vh;
        padding-top: 150px;
    }

    .hero-content h1 {
        font-size: 3.5em;
    }

    .hero-content h2 {
        font-size: 2.4em;
    }

    .hero-content,
    .solutions-container,
    .prosec-container,
    .sectors-grid {
        max-width: 1300px;
    }
}

