:root {
    --color-primary: #0A6EBD; /* Ein professionelles Blau */
    --color-secondary: #004b8d;
    --color-text-dark: #333333;
    --color-text-light: #555555;
    --color-background-light: #f9f9f9;
    --color-background-white: #ffffff;
    --color-footer: #2c3e50; /* Dunkelblau für den Footer */
}

/* Fonts */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Globale Stile */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    scroll-behavior: smooth;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
h1, h2, h3 {
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: 1.2;
}

/* Header und Navigation */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
    width: auto;
    padding-right: 1rem;
}
nav a {
    color: var(--color-text-light);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}
nav a:hover {
    color: var(--color-primary);
}
.mobile-menu-button {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: var(--color-background-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.mobile-menu a {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--color-text-dark);
    border-top: 1px solid #eee;
}
.mobile-menu a:hover {
    background-color: #f0f8ff;
    color: var(--color-primary);
}

/* Hero Sektion */
#home {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)),
                url('../images/hero-section.png') center center / cover no-repeat;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}
#home h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}
#home h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
#home p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
}
.cta-button:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 123, 255, 0.4);
}

/* Services Sektion */
#services {
    padding: 5rem 0;
    background-color: var(--color-background-light);
    text-align: center;
}
#services .header {
    margin-bottom: 3.5rem;
}
#services h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.service-card {
    background-color: var(--color-background-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: inline-block;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.service-card p {
    color: var(--color-text-light);
}

/* About Sektion */
#about {
    padding: 5rem 0;
    background-color: var(--color-background-white);
}
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}
.about-image {
    flex: 0 0 250px;
    text-align: center;
}
.profile-pic img {
    width: 200px;
    height: 200px;
    background-color: #e0e7ff;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1rem;
}
.about-text {
    flex-grow: 1;
}
#about h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

/* Contact Sektion */
#contact {
    padding: 5rem 0;
    background-color: var(--color-background-light);
    text-align: center;
}
#contact h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.contact-form-wrapper {
    max-width: 700px;
    margin: 2.5rem auto 0;
    background-color: var(--color-background-white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-group label {
    display: block;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10, 110, 189, 0.2);
}
.form-row {
    display: flex;
    gap: 1.5rem;
}
.form-row > div {
    flex: 1;
}
.submit-button {
    background-color: var(--color-primary);
    color: white;
    font-weight: 700;
    padding: 0.75rem 2.5rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
}
.submit-button:hover {
    background-color: var(--color-secondary);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 123, 255, 0.4);
}

/* Portfolio Sektion */
#portfolio {
    padding: 5rem 0 8rem;
    background-color: var(--color-background-light);
}
#portfolio .header {
    text-align: center;
    margin-bottom: 4rem;
}
#portfolio h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
#portfolio p.subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Projekt-Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background-color: var(--color-background-white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: #e0e7ff; /* Platzhalterfarbe */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.project-tags {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}
.project-tags span {
    display: inline-block;
    background-color: #e0f2ff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin: 0.2rem 0.5rem;
}

.project-description {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-link {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: background-color 0.3s, color 0.3s;
}
.project-link:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Impressum Content */
#impressum {
    padding: 5rem 0 8rem;
    background-color: var(--color-background-white);
}
#impressum .container {
    max-width: 800px;
}
#impressum h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-primary);
}
#impressum h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
}
#impressum p, #impressum address {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}
#impressum ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
#impressum li {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}
#impressum a {
    color: var(--color-primary);
    text-decoration: none;
}
#impressum a:hover {
    text-decoration: underline;
}
.disclaimer-note {
    background-color: #f0f8ff;
    padding: 1.5rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    margin-top: 3rem;
    font-style: italic;
}

/* Footer */
footer {
    background-color: var(--color-footer);
    color: #bdc3c7;
    padding: 3rem 0;
    text-align: center;
}
footer a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: var(--color-primary);
}
footer p {
    margin: 0.5rem 0;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Media Queries für Responsivität */
@media (max-width: 768px) {
    nav {
        display: none;
    }
    .mobile-menu-button {
        display: block;
    }
    #home h1, #home h2 {
        font-size: 2.5rem;
    }
    #home p {
        font-size: 1rem;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        margin-bottom: 2rem;
    }
    .profile-pic {
        width: 150px;
        height: 150px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    #portfolio h1 {
        font-size: 2rem;
    }
    #impressum h1 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    #home {
        padding: 4rem 0;
    }
    #home h1, #home h2 {
        font-size: 2rem;
    }
}
