/* Hintergrundfarbe der gesamten Seite */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #2f2f2f; /* Kohlegrau */
    padding-top: 140px; /* genug Platz für fixed header */
}

/* Hauptüberschrift */
h1 {
    color: #1e3a8a; /* Dunkelblau */
    margin: 0;
    font-size: 24px;
    text-align: center; /* Zentriert */
}

/* Absatztext */
p {
    font-size: 18px;
    line-height: 1.6;
    margin: 15px;
    color: #6c757d; /* Stahlgrau */
    text-align: center;
}

/* Container für die Inhalte */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px; /* Minimalistische Form */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    justify-content: space-between; /* Navigation, Überschrift, Logo */
    background-color: #1e3a8a; /* Dunkelblau */
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation */
header nav {
    display: flex;
    gap: 15px; /* Abstand zwischen Links */
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

header nav a:hover {
    color: #f8f9fa;
    text-decoration: underline;
}

/* Überschrift im Header */
header h1 {
    flex-grow: 1; /* Füllt den Platz zwischen Navigation und Logo */
    text-align: center; /* Überschrift zentriert */
    margin: 0;
}

/* Logo */
.header-logo {
    max-height: 50px; /* Begrenze die Höhe des Logos */
    width: auto; /* Proportionale Breite */
    margin-left: 20px; /* Abstand zur Überschrift */
}

/* Kontaktformular */
.contact-form {
    background-color: #f8f9fa;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
}

.contact-form label {
    font-weight: bold;
    margin-top: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form button {
    background-color: #1e3a8a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-form button:hover {
    background-color: #142957;
    transform: scale(1.05); /* Interaktiver Effekt */
}

/* Bildstil */
.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* Minimalistische geometrische Galerie */
.image-gallery img {
    border-radius: 0; /* Geometrische Form */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Galerie-Container */
.image-container {
    text-align: center;
    margin-top: 20px;
}

h2, h3 {
    color: #1e3a8a; /* Dunkelblau */
    margin-bottom: 15px;
}

p {
    font-size: 18px;
    line-height: 1.6;
    color: #2f2f2f; /* Kohlegrau */
}

ul {
    list-style-type: disc;
    margin: 15px 0 15px 20px;
}

ul li {
    margin-bottom: 10px;
}

.image-gallery {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.image-gallery img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Grundlegendes Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #1f3b7d;
    color: white;
    text-align: center;
    padding: 20px;
}

.container {
    width: 80%;
    margin: 20px auto;
    text-align: center;
}

/* Projektboxen */
.project {
    display: flex;
    align-items: center;
    justify-content: space-between;  /* Abstand zwischen Bild und Text */
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding: 20px;
}

/* Bild */
.project img {
    width: 40%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Text */
.project-text {
    width: 55%;
    padding: 0 20px;
    text-align: left; /* Blocksatz */
}

/* Zweites Projekt (umgekehrte Reihenfolge) */
.project.reverse {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project,
    .project.reverse {
        flex-direction: column;
        text-align: center;
    }

    .project img,
    .project-text {
        width: 100%;
    }
}

.navbar.shrink {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    background-color: #ffffffcc;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: height 0.3s ease;
}

.navbar.shrink .navbar-brand img {
    height: 35px !important;
}
