      
/* General Styles */
:root {
    --primary-color: #007bff; /* Example: Blue */
    --secondary-color: #0056b3; /* Darker Blue */
    --accent-color: #ffc107; /* Example: Yellow */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --light-gray: #f4f4f4;
    --dark-gray: #555;
    --white: #ffffff;
    --header-height: 70px;
    --font-main: 'Arial', sans-serif; /* Fallback font */
}

/* Import a nice Google Font (optional, but recommended) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', var(--font-main);
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrollbars */
}

main {
    flex-grow: 1;
    padding-top: var(--header-height); /* Ensure content isn't hidden by fixed header */
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 0.8em;
}

h1 {
    font-size: 2.8em;
    font-weight: 700;
    animation: fadeInDown 1s ease-out;
}

h2 {
    font-size: 2.2em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5em;
}

p {
    margin-bottom: 1em;
    font-size: 1.05em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    animation: slideInLeft 0.8s ease-out;
}

.logo-accent {
    color: var(--accent-color);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--dark-gray);
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--white);
    background-color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section (Homepage) */
.hero {
    background: linear-gradient(rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.1)), url('bg6.webp') no-repeat center center/cover; /* Replace with a real image */
    color: var(--text-color); /* Text color that contrasts with the light overlay */
    padding: 60px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(80vh - var(--header-height));
    position: relative; /* For potential parallax or pseudo-elements */
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: backwards; /* Element is invisible before animation starts */
    background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white background */
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero .sub-headline {
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 1.5em;
    color: var(--secondary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 15px 35px;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 1em;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: #ffb300; /* Darker accent */
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Features Section (Homepage) */
.features {
    padding: 50px 20px;
    background-color: var(--bg-color);
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 2em;
}

.feature-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

      
.feature-icon {
    font-size: 28px; /* Kleinere Icon-Größe, damit es in den Kreis passt */
    width: 60px;     /* Breite des Kreises beibehalten */
    height: 60px;    /* Höhe des Kreises beibehalten */
    line-height: 60px; /* Vertikal zentrieren im Kreis */
    text-align: center; /* Horizontal zentrieren im Kreis */
    margin-bottom: 15px;
    background-color: var(--primary-color); /* Hintergrundfarbe des Kreises */
    color: var(--white); /* Farbe des Icons selbst */
    border-radius: 50%; /* Macht es rund */
    display: inline-block;
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Page Title Section (Services, Contact) */
.page-title {
    padding: 40px 20px;
    text-align: center;
    background-color: var(--light-gray);
}
.page-title h1 {
    margin-bottom: 0.5em;
}

/* Accordion Section (Services) */
.accordion-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.accordion-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden; /* Important for the slide animation */
}

.accordion-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: var(--secondary-color);
}

.accordion-header.active {
    background-color: var(--secondary-color);
}

.accordion-icon {
    font-size: 1.4em;
    font-weight: bold;
    transition: transform 0.3s ease-out;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 25px; /* Initial padding for animation */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth transition for height and padding */
    background-color: var(--white);
}

.accordion-content p {
    padding: 20px 0; /* Padding will be applied when content is visible */
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

/* CTA Section (Services) */
.cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--accent-color);
    color: var(--text-color);
}
.cta-section h2 {
    color: var(--text-color); /* Overriding default h2 color for this section */
}
.cta-section .cta-button {
    background-color: var(--primary-color);
    color: var(--white);
}
.cta-section .cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Contact Info Section (Contact) */
.contact-info {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.email-info {
    margin: 20px 0;
}

.email-link {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-color);
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.email-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.contact-message {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    text-align: center;
}
.contact-message h2 {
    color: var(--secondary-color);
}


/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: auto; /* Pushes footer to bottom */
}
footer p {
    margin: 0;
    font-size: 0.9em;
}
footer a {
    color: var(--accent-color);
}
footer a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero {
        padding: 40px 15px;
        min-height: calc(70vh - var(--header-height));
    }
    .hero-content {
        padding: 1.5em;
    }
    .hero .sub-headline {
        font-size: 1.2em;
    }
    .cta-button {
        padding: 12px 28px;
        font-size: 1.1em;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 10px; /* Add padding if nav items wrap */
    }
    header {
        height: auto; /* Adjust header height for stacked nav */
        min-height: var(--header-height);
    }
    main {
        padding-top: 100px; /* Adjust if header becomes taller */
    }


    nav ul {
        margin-top: 10px;
        width: 100%;
        justify-content: space-around; /* Better distribution on small screens */
    }
    nav ul li {
        margin-left: 0; /* Remove left margin for better spacing */
        margin-right: 10px; /* Add some right margin */
    }
    nav ul li:last-child {
        margin-right: 0;
    }
    nav ul li a {
        font-size: 1em;
        padding: 8px;
    }

    .feature-grid {
        grid-template-columns: 1fr; /* Stack features on smaller screens */
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5em;
    }
    nav ul {
        flex-direction: column; /* Stack nav items completely on very small screens */
        align-items: center;
    }
    nav ul li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    nav ul li a {
        display: block; /* Make nav links full width */
    }
    main {
        padding-top: 160px; /* Further adjust if header becomes even taller */
    }

    h1 {
        font-size: 1.8em;
    }
    .hero .sub-headline {
        font-size: 1.1em;
    }
    .accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .accordion-content p {
        font-size: 0.95em;
    }
}


    
