:root {
    --bg-color: #f4f8fa;       /* Sehr helles Eisblau/Grau für den Hintergrund */
    --text-color: #1a3652;     /* Tiefes Dunkelblau für hervorragende Lesbarkeit */
    --accent-color: #2b7cb6;   /* Das dominante Mittelblau aus dem Bild */
    --light-beige: #d4e5f0;    /* Helles Pastellblau für dezente Trennlinien und Borders */
    --white: #ffffff;          /* Reines Weiß für Karten und Header */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-beige);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    background: url("logo-hintergrund.png") no-repeat center center/cover;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 15px;
}

.logo h1 {
    font-size: 2.0rem;
    letter-spacing: 2px;
    color: var(--white);
    margin: 0;
    text-align: center;
}

.logo span {
    font-size: 1.0rem;
    display: block;
    color: var(--white);
    text-transform: uppercase;
    margin-top: 1px;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

/* Sektionen Basis-Layout */
section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
	scroll-margin-top: 60px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Hero / Startbereich */
.hero {
    background: linear-gradient(rgba(26, 54, 82, 0.3), rgba(26, 54, 82, 0.7)), url('Titelbild.JPG') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 300px 20px;
    max-width: 100%;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #1e5c8a; 
}

/* Dienstleistungen / Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 6px;
    border: 1px solid var(--light-beige);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Referenzen / Objekte */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.reference-item {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--light-beige); /* Nutzt jetzt das helle Pastellblau statt Beige */
}

.reference-img {
    width: 100%;
    height: 200px;
    background-color: var(--light-beige); /* Ersetzt das alte Standard-Grau durch das Eisblau */
    object-fit: cover;
}

.reference-info {
    padding: 15px;
}

.reference-info h4 {
    margin-bottom: 5px;
}

.reference-info p {
    font-size: 0.9rem;
    color: #4a6b82; /* Ein harmonisches Graublau statt des alten Braun-Graus */
}

/* Kontaktbereich & Formular */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-info strong {
    color: var(--accent-color);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--light-beige); 
    border-radius: 4px;
    background-color: var(--white);
}

.contact-form button {
    background-color: var(--text-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: var(--accent-color);
}

/* Footer & Rechtliches */
footer {
    background-color: var(--text-color);
    color: #8daac2; 
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 5px solid var(--accent-color);
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; text-align: center; }
    nav { margin-top: 15px; }
    nav a { margin: 0 10px; }
    .hero h2 { font-size: 2rem; }
}
