:root {
    --primary-blue: #0066cc;
    --dark-navy: #051d35;
    --text-dark: #2c3e50;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --primary-red: #a9231f; /* Kept for logo/legacy accents if needed */
}

@font-face {
    font-family: 'Roboto';
    src: url('font/Roboto-Regular.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('font/Roboto-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: 'Roboto';
    src: url('font/Roboto-Black.ttf') format('truetype');
    font-style: normal;
    font-weight: 900;
}

a,
a:hover {
    color: inherit;
}

body {
    font-family: Roboto, sans-serif;
    color: var(--text-dark);
}

i,
.product-member i {
    color: var(--primary-blue);
}

.section-heading {
    color: var(--dark-navy);
}

.section {
    padding-top: 100px;
}

h2.section-heading {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 500;
    color: var(--dark-navy);
}

.company-heading {
    font-size: 56px;
    line-height: 1.1;
    text-align: left;
}

h3.section-subheading {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 60px;
    text-transform: none;
}

h4 {
    font-size: 36px;
    margin-top: 25px;
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-toggler,
.navbar-toggler i {
    color: var(--text-dark);
}
.navbar.scrolled .navbar-toggler,
.navbar.scrolled .navbar-toggler i {
    color: var(--text-dark);
}

.navbar.scrolled {
    background: var(--white);
    color: var(--text-dark);
}

.nav-link {
    position: relative;
}

.navbar-nav a {
    color: var(--text-dark) !important;
}

.navbar-nav a:hover::after,
.navbar-nav a.hovered::after,
.navbar-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all 0.6s ease;
}

.navbar.scrolled .navbar-nav a:hover::after,
.navbar.scrolled .navbar-nav a.hovered::after,
.navbar.scrolled .navbar-nav a.active::after {
    background-color: var(--primary-blue);
}

.masthead {
    position: relative;
    padding: 120px 0 80px;
    text-align: left;
    background-image: linear-gradient(to right, rgba(255,255,255,0.95) 10%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0) 80%), url('images/new/header_background.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}
.header-img {
    max-width: 270px;
    margin-bottom: 20px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

.intro-heading {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--dark-navy);
    text-transform: uppercase;
    letter-spacing: -2px;
}

@media (max-width: 767px) {
    .intro-heading {
        font-size: 34px;
        letter-spacing: -1px;
    }
}

.intro-text .intro-lead-in {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.stats-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stats-arrow {
    margin-right: 25px;
    display: flex;
    align-items: center;
}

.stats-arrow-svg {
    width: 75px;
    height: 75px;
    color: var(--primary-blue);
}

.stats-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--dark-navy);
    line-height: 1;
    letter-spacing: -1px;
}

@media (max-width: 767px) {
    .stats-number {
        font-size: 32px;
    }
    .stats-arrow-svg {
        width: 40px;
        height: 40px;
    }
    .stats-arrow {
        margin-right: 12px;
    }
}

.stats-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-top: 2px;
}

@media (max-width: 767px) {
    .stats-label {
        font-size: 14px;
    }
}

.intro-subtext {
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-dark);
    max-width: 500px;
    margin-bottom: 30px;
}

.btn-primary-blue {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
}
.btn-primary-blue:hover {
    background-color: var(--dark-navy);
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}
.more {
    cursor: pointer;
    color: var(--primary-blue);
    font-weight: bold;
}
.more:hover {
    text-decoration: underline;
}
.product-member {
    margin-bottom: 50px;
}

.solution-card,
.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 6px solid var(--primary-blue);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.solution-card {
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.solution-card img,
.info-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    object-fit: contain;
}

.info-card-img-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
}

.info-card-img-wrapper img {
    position: absolute;
    top: 35px;
    left: 30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    cursor: zoom-in;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.info-card-img-wrapper img.enlarged {
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px;
    z-index: 100;
    cursor: zoom-out;
}

.solution-card h4,
.info-card h4 {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 15px;
    color: var(--dark-navy);
    font-weight: 850;
    text-transform: none;
    letter-spacing: -0.5px;
}

.solution-card p,
.info-card p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}
#akut,
#services {
    background: var(--bg-light);
}

.service-card-new {
    padding: 20px;
    transition: transform 0.3s ease;
}

.service-card-new:hover {
    transform: translateY(-5px);
}

.service-card-new h4 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 12px;
    color: var(--dark-navy);
}

.service-card-new p {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

.service-icon-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-wrapper img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.service-card-new:hover .service-icon-wrapper img {
    transform: scale(1.1);
}
/* Modern Timeline */
.modern-timeline {
    position: relative;
    padding: 20px 0;
}

.modern-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 20px;
    left: 100px;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    flex: 0 0 80px;
    text-align: right;
    font-size: 22px;
    font-weight: 500;
    color: #6c757d;
    padding-right: 40px;
    line-height: 1.2;
    margin-top: 2px;
}

.timeline-marker {
    position: absolute;
    left: 101px;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #cde0f5;
    z-index: 1;
    margin-top: 6px;
}

.timeline-content {
    flex: 1;
    padding-left: 50px;
}

.timeline-content h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-navy);
    margin-top: 0;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 0;
}

.timeline-item.active .timeline-marker {
    background-color: var(--primary-blue);
    width: 32px;
    height: 32px;
    box-shadow: 0 0 0 10px rgba(0, 102, 204, 0.15);
    margin-top: -2px;
}

.timeline-item.active .timeline-year {
    color: var(--primary-blue);
    font-weight: 700;
}

.timeline-item.active .timeline-content h5 {
    color: var(--primary-blue);
}

@media (max-width: 767px) {
    .modern-timeline::before {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column;
        padding-left: 55px;
        margin-bottom: 40px;
    }
    .timeline-year {
        flex: none;
        width: 100%;
        text-align: left;
        font-size: 18px;
        padding-right: 0;
        margin-bottom: 5px;
        color: var(--primary-blue);
        font-weight: bold;
    }
    .timeline-marker {
        left: 21px;
        margin-top: 5px;
    }
    .timeline-content {
        padding-left: 0;
    }
    
    .company-heading {
        font-size: 38px !important;
        margin-bottom: 30px;
    }
}


.partner-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px 80px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.partner-links > * {
    flex: 0 0 30%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.partner-links img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.partner-links img:hover {
    transform: scale(1.05);
}


@media (max-width:991px) {
    .partner-links {
        gap: 60px 40px;
    }
    .partner-links > * {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width:575px) {
    .partner-links {
        flex-direction: column;
        gap: 50px;
    }
    .partner-links > * {
        flex: 0 0 auto;
    }
}

footer {
    background: var(--dark-navy);
    color: #fff;
    padding: 30px 0 50vh; /* Further reduced top padding to 30px and increased bottom padding */
    text-align: center;
    min-height: 80vh;
}

footer a {
    color: var(--primary-blue);
    text-decoration: none;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}

.contact-links {
    margin: 50px 0;
}

@media (max-width:991px) {
    .contact-links {
        gap: 20px;
        text-align: left;
    }
}

/* Animations  */
section,
header {
    overflow: hidden;
}

.animation-elem {
    transform: translateY(300px);
    opacity: 0;
    transition: opacity 0.3s;
}

.element-show {
    animation: appearance 1s linear forwards;
    opacity: 1;
}

.animation-elem-2 {
    animation-delay: 0.2s;
}

.animation-elem-3 {
    animation-delay: 0.4s;
}

.animation-elem-4 {
    animation-delay: 0.6s;
}

.animation-elem-5 {
    animation-delay: 0.8s;
}

.animation-elem-6 {
    animation-delay: 1s;
}

@keyframes appearance {
    from {
        transform: translateY(300px);
    }

    to {
        transform: translateY(0);
    }
}

/* Pages Datenschutz and Impressum  */
