/* Globale Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #ffcc3f;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between; /* Schiebt Logo-Gruppe nach links und Menü nach rechts */
    align-items: center;
    padding: 15px 5%;
    background-color: #ffcc3f;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Container für Logo + Anschrift (Bleibt ganz links) */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Abstand zwischen Logo und Textblock */
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Höhe deines Logos */
    width: auto;
    display: block;
}

/* Der Textblock (Anschrift) direkt rechts neben dem Logo */
.logo-address {
    display: flex;
    flex-direction: column; /* Stapelt die 3 Zeilen sauber untereinander */
    font-size: 13px;
    line-height: 1.4;
    color: #444;
    border-left: 1px solid #ccc; /* Feine Trennlinie zwischen Logo und Text */
    padding-left: 15px; /* Abstand vom Text zur Trennlinie */
}

/* Menü-Links (Bleiben ganz rechts) */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0056b3;
}

/* Blendet die Adresse auf sehr kleinen Smartphones aus, damit das Menü Platz hat */
@media (max-width: 650px) {
    .logo-address {
        display: none;
    }
}


/* Hero-Bereich (Blickfang oben) */
.hero {
    background: linear-gradient(135deg, #56a8ff 0%, #002a5c 100%);
    color: white;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background-color: #ffc107; /* Akzentfarbe (Gelb/Gold) */
    color: #212529;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #e0a800;
}

/* Leistungen (Raster-Layout) */
.services-section {
    padding: 80px 5%;
    text-align: center;
}

.services-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: left;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #0056b3;
}

/* Fußzeile (Footer) */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

.footer-links a:hover {
    color: white;
}
