@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mulish", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

/* Sticky Info Bar */
.sticky-info-bar {
    transform: rotate(-15deg);
    position: fixed;
    bottom: 8vh;
    right: 8vw;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #E0674AFF;
    color: #fff;
    font-weight: bold;
    padding: 8px 0;
    z-index: 1000;
    font-size: 1.3rem;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.sticky-info-bar a {
    color: #fff;
    text-decoration: none;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    left: 0;
    width: 100%;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999;
}

.main-header .container {
    flex-direction: row;
    justify-content: space-between;
    margin: 0 50px;
}

.logo-container .logo {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.logo-container .logo .part1 {
    font-weight: 300;
}

.logo-container .logo .part2 {
    font-size: 1.3em;
    font-weight: 200;
}

.navigation ul {
    list-style: none;
    display: flex;
}

.navigation ul li {
    margin-left: 30px;
}

.navigation ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navigation ul li a:hover {
    color: #ccc;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Common Page Styles */
.page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
}

.hero-content,
.container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    text-align: left;
}

.section-header {
    margin-bottom: 50px;
    width: 600px;
    line-height: 1.2;
}

.section-header h1 {
    margin-bottom: 0.5rem;
    color: #222;
}

.section-header h1::after {
    content: "";
    background-color: black;
    width: 200px;
    height: 3px;
    display: block;
    margin: .25em 0 .5em 0;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Legal Page Content */
/* .content-box {
    max-width: 800px;
    width: 100%;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
} */

/* Hero Section */
.hero-section {
    background-color: rgba(0, 0, 0, 0);
}

.hero-content .section-header {
    color: #fff;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.8);
}

.hero-content .section-header h1 {
    color: #fff;
}

.hero-content .section-header h1::after {
    background-color: white;
}

/* Concept Section */
#concept {
    background-color: #E5E5EAFF;
}

#concept h1 {
    color: #222;
}

.concept-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.concept-card {
    padding: 40px 30px;
    text-align: left;
    flex: 0 0 calc((100% - 90px) / 4);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.concept-icon {
    margin-bottom: 20px;
}

.concept-icon img {
    width: 80px;
}

.concept-card h3 {
    margin-bottom: 15px;
    color: #222;
}

.concept-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* Software Highlight */
.software-highlight {
    background-color: #fff;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.software-highlight h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #222;
}

.software-highlight p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
}

/* Learning Path (Skills) */
#learn {
    background-color: #fff;
}

#learn h1 {
    color: #222;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.skill-card {
    position: relative;
    flex: 0 0 calc((100% - 60px) / 3);
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.skill-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #fff;
}

.skill-card h3 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 10px;
}

.skill-card p {
    font-size: 0.8rem;
    color: #ddd;
    line-height: 1;
}

/* Testimonials Section */
#testimonials {
    background-color: #fff;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-container {
    display: flex;
    width: 100%;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 1px solid #E0674AFF;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: #E0674AFF;
    /* transform: scale(1.3); */
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card p {
    font-style: italic;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #E0674AFF;
}

.testimonial-card .author {
    font-weight: bold;
    font-size: 1.3rem;
    color: #E0674AFF;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.slider-arrow.left {
    left: 10px;
}

.slider-arrow.right {
    right: 10px;
}

/* Contact Section */
#contact {
    background-color: #fff;
}

#contact .container {
    background-color: #E5E5EAFF;
    max-width: 768px;
    border-radius: 25px;
    padding: 30px 0;
}

#contact .section-header {
    margin-bottom: 0;
}

#contact .section-content {
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 0 100px;
    display: flex;
    flex-direction: column;
}

#contact .section-content ul,
#contact .section-content p {
    margin-bottom: 30px;
}

#contact .section-content .bold {
    font-weight: bold;
}

.cta-button {
    align-self: center;
    display: inline-block;
    padding: 16px 40px;
    margin: 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Footer Styles */
.site-footer {
    background-color: #222;
    color: #eee;
    padding: 50px 0 20px;
}

.site-footer a {
    color: #eee;
    text-decoration: none;
}

.footer-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

footer h4 {
    margin-bottom: 30px;
}

.footer-logo-img {
    height: 50px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 10px;
}

.footer-legal ul {
    list-style: none;
}

.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 660px) {
    .section-header {
        width: auto;
        max-width: 600px;
    }
    #contact .section-header {
        max-width: 16em;
    }
}

@media (max-width: 930px) {
    .concept-card {
        flex: 0 0 100%;
    }

}


/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(-8px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(8px);
    }

    .navigation {
        position: fixed;
        top: 35px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 35px);
        background-color: rgba(0, 0, 0, 0.95);
        transition: left 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .navigation.active {
        left: 0;
    }

    .navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .navigation ul li {
        margin: 20px 0;
    }

    .hero-section {
        color: #fff;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .skill-card,
    .concept-card,
    .testimonial-card {
        flex: 0 0 100%;
    }

    .sticky-info-bar .container {
        flex-direction: column;
        gap: 5px;
    }

    .sticky-info-bar .separator {
        display: none;
    }

    #contact .container .section-content {
        max-width: 100%;
        align-items: flex-start;
        margin: 0 50px;
    }

    .slider-arrow {
        display: none;
        /* Pfeile auf Mobile verstecken, da Wischen einfacher ist */
    }

    #contact .cta-button {
        margin: 30px 0;
        align-self: center;
    }
}