:root {
    --primary-color: #1a2530; /* Very dark blue/gray - Serious */
    --accent-color: #34495e; /* Lighter slate */
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --spacing-unit: 1rem;
    --container-width: 1100px;
}

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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1,
h2,
h3 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky top navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Header / Hero */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    padding-top: calc(2rem + 72px); /* offset for fixed header */
}

.hero .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.branding {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.logo-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
    line-height: 1.4;
}

.nav-links {
    display: flex;
    gap: 2rem;
    padding-top: 0.5rem; /* Align with logo text roughly */
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    margin-top: auto;
    margin-bottom: auto;
    padding-bottom: 4rem; /* Visual balance */
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition:
        background-color 0.3s,
        transform 0.2s;
}

.cta-button:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
}

/* Sections General */
.section {
    padding: 5rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.profil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start; /* Align text to top */
}

@media (max-width: 768px) {
    .profil-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Profil Section */
.profil-section {
    background-color: var(--white);
}

.image-wrapper-inline {
    margin: 2rem 0;
}

.profile-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.profil-section p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Angebot Section */
.angebot-section {
    background-color: #e8e9eb;
}

.section-intro {
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Kontakt Section */
/* Referenzen */
.referenzen-section {
    background-color: var(--bg-light);
}

.referenzen-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.referenz-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--white);
    padding: 1.75rem 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.referenz-logo {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.referenz-logo img {
    max-width: 180px;
    max-height: 90px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.referenz-logo--text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.3;
}

.referenz-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.referenz-text p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.referenz-text ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.referenz-text ul li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.25rem;
}

.referenz-text ul li:last-child {
    margin-bottom: 0;
}

.kontakt-section {
    background-color: var(--white);
}

.contact-info address {
    font-style: normal;
    margin: 1.5rem 0;
    line-height: 1.8;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.uid {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.contact-image {
    width: 100%;
    max-width: 350px;
    border-radius: 4px;
    filter: grayscale(100%); /* Optional: makes it look more serious/artistic */
    transition: filter 0.3s;
}

.contact-image:hover {
    filter: grayscale(0%);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none; /* Simple mobile hide for now, or could be a hamburger */
    }

    .image-wrapper {
        order: -1; /* Image on top on mobile */
    }

    .referenz-card {
        flex-direction: column;
        gap: 1rem;
    }

    .referenz-logo {
        flex: 0 0 auto;
        width: auto;
        min-height: 70px;
        justify-content: flex-start;
        padding: 1rem 0;
    }

    .referenz-logo img {
        /*width: 200px;*/
        max-width: 100%;
        min-height: 70px;
        max-height: 70px;
        object-fit: contain;
    }
}
