* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.hero {
    /*background: url('dein-hintergrundbild.jpg') no-repeat center center/cover;*/
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-content {
    color: black;
    max-width: 100%; /* Verhindert Überlauf auf kleinen Bildschirmen */
    display: flex;
    flex-direction: column; /* Stellt sicher, dass Kinder untereinander liegen */
    align-items: center; /* Zentriert die Kinder (z. B. Button) horizontal */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-btn {
    background: #ff7b00; /* Beispiel-Farbe aus früher */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block; /* Ermöglicht Zentrierung mit margin */
    margin: 10px auto; /* Vertikaler Abstand und horizontale Zentrierung */
}

.cta-btn:hover {
    background: #ff5a00;
}

.scroll-indicator {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    margin-top: 20px;
}

.scroll-indicator:hover {
    color: #ff7b00;
}

.about {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 20px;
}

.portfolio {
    padding: 60px 20px;
    text-align: center;
}

.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.project-link {
    text-decoration: none; /* Entfernt die Unterstreichung des Links */
    color: inherit; /* Vererbt die Farbe vom Eltern-Element, z. B. schwarz */
    display: block; /* Macht den Link zu einem Block-Element wie das ursprüngliche div */
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Trennstrich zwischen den Projekten */
.project-grid > * + * {
    border-left: 2px solid #ccc; /* Vertikaler Strich, grau */
}

.project img {
    width: 100%;
    height: auto; /* Höhe automatisch anpassen, damit das Bild nicht verzerrt wird */
    max-height: 200px; /* Maximale Höhe beibehalten, aber nicht erzwingen */
    object-fit: contain; /* Bild vollständig anzeigen, ohne es zu beschneiden */
    border-radius: 10px;
}

.project h3 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.contact {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact button {
    background-color: #ff7b00;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

.contact button:hover {
    background-color: #ff5a00;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Query für kleine Bildschirme */
@media (max-width: 480px) {
    .project-grid > * + * {
        border-left: none; /* Trennstrich ausblenden */
        border-top: 2px solid #ccc;
    }

    .hero {
        padding: 10px; /* Weniger Padding auf Smartphones */
    }

    .hero-content {
        width: 100%; /* Volle Breite auf kleinen Bildschirmen */
    }

    .cta-btn {
        padding: 10px 20px; /* Etwas kleiner für Smartphones */
        font-size: 16px; /* Lesbare Größe */
    }
}