/* Farbpalette */
:root {
    --primary-color: #ff7c3d;
    --secondary-color: #626262;
    --accent-color: #9fa6a1;
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--secondary-color);
    background-color: #fff;
    padding-top: 120px;
}

/* Navigation */
nav {
    position: fixed;
    width: calc(100% - 40px);
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 10px 20px;
    z-index: 1000;
    right: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img {
    height: 50px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    white-space: nowrap;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Burger menu styles */
.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
}

/* Responsive menu - hidden initially */
#menu {
    display: flex;
}

/* Header */
header {
    background-image: none;
    background-color: #fff;
    background-size: 70%;
    background-position: center 150px;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

header h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

header p {
    font-size: 24px;
    margin-top: 10px;
    color: var(--primary-color);
}

header img {
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
}

#main {
    padding: 60px 20px;
    color: var(--secondary-color);
}

section {
    max-width: 1200px;
    margin: 0 auto 80px;
    text-align: center;
}

h2::before {
    content: "";
    display: block;
    height: 150px;
    margin-top: -160px;
    visibility: hidden;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: clamp(18px, 4vw, 36px);
    text-align: center;
    position: relative;
    text-transform: uppercase;
}

h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    display: block;
    margin: 20px auto 0;
}

.service-description h3 {
    text-align: left;
}

p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary-color);
}

/* Dienstleistungen - nur zwei Kacheln nebeneinander */
.service {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--secondary-color);
    position: relative;
}

/* Flankierende Leistungen und Leitplanken sollen unberührt bleiben */
.leitplanke {
    flex: 1 1 280px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--secondary-color);
    /* Gleiche Textfarbe */
}

.service:hover{
    transform: none;
    box-shadow: none;
}

/* Hover-Effekt für Leitplanken deaktivieren */
.leitplanke:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */

footer {
    background-color: #626262;
    color: #e0e0e0;
    padding: 40px 20px;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
}

footer ul li a {
    color: #e0e0e0;
    text-decoration: none;
}

footer p {
    margin-top: 20px;
    padding-top: 20px;
}

.footer-background {
    text-align: center;
}

.footer-img {
    max-width: 100%;
    height: auto;
}

.bullet-icon {
    width: 10px;
    height: 10px;
    margin-right: 10px;
}

/* Über uns Abschnitt */
#about p {
    max-width: 800px;
    /* Maximale Breite des Textes */
    margin: 0 auto;
    /* Zentriere den Text */
    text-align: justify;
    /* Blocksatz für den Text */
    line-height: 1.8;
    /* Verbesserung der Lesbarkeit */
    font-size: 18px;
    /* Standard Textgröße */
    color: var(--secondary-color);
    /* Textfarbe in secondary-color */
}

/* Cloud-Transformation spezifische Styles */

#header.cloud-header {
    background-image: none;
    background-size: 70%;
    background-position: center 150px;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    height: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

#header.cloud-header h1 {
    font-size: 48px;
    color: var(--primary-color);
}

#header.cloud-header p {
    font-size: 24px;
    margin-top: 10px;
    color: var(--primary-color);
}

/* Data Analytics spezifische Styles */

#header.data-header {
    background-image: none;
    background-size: 70%;
    background-position: center 150px;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    height: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

#header.data-header h1 {
    font-size: 48px;
    color: var(--primary-color);
}

#header.data-header p {
    font-size: 24px;
    margin-top: 10px;
    color: var(--primary-color);
}

/* Coding spezifische Styles */

#header.coding-header {
    background-image: none;
    background-size: 70%;
    background-position: center 150px;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    height: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

#header.coding-header h1 {
    font-size: 48px;
    color: var(--primary-color);
}

#header.coding-header p {
    font-size: 24px;
    margin-top: 10px;
    color: var(--primary-color);
}

/* KI spezifische Styles */

#header.ki-header {
    background-image: none;
    background-size: 70%;
    background-position: center 150px;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    height: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

#header.ki-header h1 {
    font-size: 48px;
    color: var(--primary-color);
}

#header.ki-header p {
    font-size: 24px;
    margin-top: 10px;
    color: var(--primary-color);
}

/* PM spezifische Styles */

#header.pm-header {
    background-image: none;
    background-size: 70%;
    background-position: center 150px;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    height: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

#header.pm-header h1 {
    font-size: 48px;
    color: var(--primary-color);
}

#header.pm-header p {
    font-size: 24px;
    margin-top: 10px;
    color: var(--primary-color);
}

/* PMO spezifische Styles */

#header.pmo-header {
    background-image: none;
    background-size: 70%;
    background-position: center 150px;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    height: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

#header.pmo-header h1 {
    font-size: 48px;
    color: var(--primary-color);
}

#header.pmo-header p {
    font-size: 24px;
    margin-top: 10px;
    color: var(--primary-color);
}

.service-detail {
    flex: 1 1 calc(33% - 20px);
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: left;
}

.custom-list {
    list-style-type: none;
    /* Entferne die Standard-Bulletpoints */
    padding-left: 20px;
    text-align: left;
}

.custom-list li {
    position: relative;
    /* Ermöglicht das Hinzufügen von Symbolen */
    margin-bottom: 10px;
    text-align: left;
    padding-left: 20px;
    /* Abstand für das Kästchen */
}

.custom-list li::before {
    content: "";
    /* Leeres Content-Feld für das Symbol */
    position: absolute;
    left: 0;
    /* Positioniere das Kästchen links vom Text */
    top: 5px;
    /* Vertikaler Abstand, damit es zentriert ist */
    width: 10px;
    /* Breite des Kästchens */
    height: 10px;
    /* Höhe des Kästchens */
    background-color: var(--primary-color);
    /* Kästchen in primary-color */
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* Eine Kachel pro Zeile */
.single-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Abstand zwischen den Kacheln */
}

.single-column .service {
    flex: 1 1 50%;
    /* Kachel nimmt die gesamte Breite ein */
}

.service-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    /* Blocksatz */
    line-height: 1.8;
    font-size: 18px;
    color: var(--secondary-color);
    /* Textfarbe bleibt erhalten */
}

.service-description ul {
    list-style-type: none;
    padding-left: 0;
}

.service-description ul li {
    margin-bottom: 10px;
    display: flex;
    text-align: left;
    font-size: 18px;
    color: var(--secondary-color);
}

.service-link {
    display: flex; /* Verwende Flexbox */
    flex-direction: column; /* Vertikal anordnen */
    justify-content: space-between; /* Platz zwischen Text und Button */
    height: 100%; /* Höhe des Containers */
    align-items: center; /* Zentriere den Button horizontal */
}

.service-link:hover {
    transform: none;
    box-shadow: none;
}

.service h3,
.service ul {
    margin: 0;
    padding-top: 10px;
    list-style: none;
}

/* Button Styles */
.read-more {
    display: inline-block;    
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    z-index: 2;
}

.read-more:hover {
    background-color: #ff5b1c;
}

/* Abschnitt Unsere Vorgehensweise */
#vorgehensweise {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
}

.vorgehensweise-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.vorgehensweise-item {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    border-radius: 8px;
    color: #ffffff;
    /* Textfarbe auf Weiß gesetzt */
    text-align: justify;
    /* Blocksatz für Text */
}

.primary-background {
    background-color: var(--primary-color);
}

.secondary-background {
    background-color: var(--secondary-color);
}

.accent-background {
    background-color: var(--accent-color);
}

.vorgehensweise-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
    /* Zentriert den Text horizontal */
    display: flex;
    /* Ermöglicht Zentrierung mit Icons */
    align-items: center;
    /* Vertikal zentriert */
    justify-content: center;
    /* Horizontale Zentrierung */
    gap: 0.5rem;
    /* Abstand zwischen Icon und Text */
}

.copyright {
    font-size: 0.3em;
}

.vorgehensweise-item p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    /* Absatz in Weiß */
}

/* Pfeil-Styling mit CSS */
.arrow {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 40px solid var(--secondary-color);
    margin: 20px 0;
}

/* Responsiveness */

@media (max-width: 768px) {

    /* Burger-Icon sichtbar, Menü-Links verborgen */
    .menu-icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
    }

    /* Standardmäßig ist das Menü geschlossen */
    #menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    /* Menü sichtbar machen, wenn die Klasse 'active' hinzugefügt wird */
    #menu.active {
        display: flex;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    /* Header Anpassungen für kleine Geräte */
    header {
        height: 400px;
        background-image: none;
    }

    header h1 {
        font-size: 36px;
    }

    header p {
        font-size: 18px;
    }

    /* Dienstleistungen und Leitplanken in einer Spalte auf kleinen Geräten */
    .service,
    .leitplanke {
        flex: 1 1 100%;
    }

    /* nav a img {
        display: none;
    } */

    nav img {
        height: 30px;
    }

    /* Feste Höhe für die Navigation im Responsive Mode */
    nav {
        height: 40px;
    }

    /* Cloud-Transformation Spezifikation */
    #header.cloud-header {
        height: 300px;
    }

    #header.cloud-header h1 {
        font-size: 32px;
    }

    #header.cloud-header p {
        font-size: 18px;
    }

    /* Data Analytics Spezifikation */
    #header.data-header {
        height: 300px;
    }

    #header.data-header h1 {
        font-size: 32px;
    }

    #header.data-header p {
        font-size: 18px;
    }

    /* Coding Spezifikation */
    #header.coding-header {
        height: 300px;
    }

    #header.coding-header h1 {
        font-size: 32px;
    }

    #header.coding-header p {
        font-size: 18px;
    }

    /* KI Spezifikation */
    #header.ki-header {
        height: 300px;
    }

    #header.ki-header h1 {
        font-size: 32px;
    }

    #header.ki-header p {
        font-size: 18px;
    }

    /* PM Spezifikation */
    #header.pm-header {
        height: 300px;
    }

    #header.pm-header h1 {
        font-size: 32px;
    }

    #header.pm-header p {
        font-size: 18px;
    }

    /* PMO Spezifikation */
    #header.pmo-header {
        height: 300px;
    }

    #header.pmo-header h1 {
        font-size: 32px;
    }

    #header.pmo-header p {
        font-size: 18px;
    }

}