/* === Globale Stile & Variablen === */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
}

:root {
    --primary-color: #6B46C1; /* Modern Purple */
    --accent-color: #ED8936; /* Bright Orange */
    --secondary-color: #F7FAFC; /* Light Gray Background */
    --text-color: #4A5568; /* Slate Gray */
    --heading-color: #1A202C; /* Almost Black */
    --white-color: #FFFFFF;
    --border-color: #EDF2F7;
    --success-color: #38A169; /* Green */
    --dark-bg: #1A202C;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
}

section {
    padding: 100px 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color), #f5a262);
    color: var(--white-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(237, 137, 54, 0.5);
}


/* === Header === */
header {
    background-color: var(--white-color);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    text-decoration: none;
    margin-left: 0.5rem;
}

header nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

header nav a:hover {
    color: var(--primary-color);
}

header nav a.header-contact {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

header nav a.header-contact:hover {
    background-color: #553c9a;
    color: var(--white-color);
    transform: translateY(-2px);
}

header nav a.header-contact img.fas {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-right: 0.5em;
}

header nav a.header-contact::after {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

/* === Hero Section === */
#hero {
    color: var(--white-color);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3748 100%);
    z-index: -1;
}

#hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

#hero h1 {
    color: var(--white-color);
}

#hero .subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

/* === SLA Sektion === */
#sla {
    background-color: var(--white-color);
}

/* === Leistungssektion === */
#leistungen {
    background-color: var(--secondary-color);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 60px auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--secondary-color);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(26, 32, 44, 0.08);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), #9f7aea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card img.fas {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* === Preisgestaltung === */
#preise {
    background-color: var(--secondary-color);
}
.pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

.pricing-card, .addons-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(26, 32, 44, 0.05);
}

.pricing-card {
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(45deg, var(--primary-color), var(--accent-color));
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.pricing-header {
    background-color: transparent;
    color: var(--heading-color);
    padding: 40px 30px 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.pricing-header h3 {
    color: var(--heading-color);
    font-size: 1.8rem;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}

.price-per {
    font-size: 1.1rem;
    opacity: 0.8;
    color: var(--text-color);
}

.pricing-body {
    padding: 30px;
    flex-grow: 1;
}

.ideal-for {
    text-align: center;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary-color);
    background-color: #f7fafc;
    padding: 8px;
    border-radius: 50px;
    display: inline-block;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
}

.pricing-body ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-body ul li i {
    color: var(--success-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.pricing-body ul li img.fas {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 15px;
}

.pricing-footer {
    padding: 30px;
    text-align: center;
}

.addons-card {
    padding: 40px 30px;
}

.addons-card h3 {
    text-align: center;
    font-size: 1.8rem;
}

.addon {
    margin-bottom: 30px;
}

.addon h4 {
    font-size: 1.3rem;
}

.addon-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.mwst-hinweis {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: auto;
    padding-top: 20px;
}

.scale-info {
    text-align: center;
    margin-top: 80px;
    background: var(--white-color);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* === FAQ Sektion === */
#faq {
    background-color: var(--white-color);
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-item summary span::before,
.faq-item summary span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item summary span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item summary span::before {
    transform: translate(-50%, -50%);
}

.faq-item details[open] summary span::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
    margin-top: 0;
    padding: 0 25px 20px 25px;
    border-top: 1px solid var(--border-color);
    margin-left: 0;
    padding-left: 25px;
}

/* === Kontakt Sektion === */
#kontakt {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3748 100%);
    color: var(--white-color);
    text-align: center;
}
#kontakt h2, #kontakt p, #kontakt a {
    color: var(--white-color);
}
.contact-info {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
}
.contact-info i {
    margin-right: 10px;
}
.contact-info img.fas {
    width: 1em;
    height: 1em;
    margin-right: 10px;
    vertical-align: -0.125em;
}
.large-button {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* === Footer === */
footer {
    background-color: var(--heading-color);
    color: #a0aec0;
    text-align: center;
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

footer p {
    margin: 5px 10px;
}

footer a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    header nav a {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 80px 0; }
    
    header .container {
        justify-content: space-between;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    header nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    header nav.active {
        display: flex;
    }

    header nav a {
        margin: 0;
        font-size: 1.5rem;
        color: var(--white-color);
    }

    header nav a.header-contact {
        padding: 15px 30px;
    }
    
    .hero-content {
        padding: 30px;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    footer .container {
        flex-direction: column;
        gap: 15px;
    }
}
