:root {
    --blue: #003D6A;
    --darkblue: #003155;
    --red: #CD1423;
    --gray: #f5f5f5;
    --darkgray: #cdcdcd;
    --white: #ffffff;
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #1A1A1A;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--blue);
}

header {
    background: var(--white);
    color: var(--blue);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header img {
    height: 40px;
}

nav a {
    color: var(--blue);
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 600;
}

nav a:hover {
    color: var(--red);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 2rem;
    padding: 40vh;
    height: 100vh;
    background: url("adler_weiss.png") center/contain no-repeat, var(--darkgray);
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* dunkles Overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: white;
}

.hero-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--blue);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background: var(--darkblue);
}

.section {
    padding: 100px 120px;
    text-align: center;
    margin: auto;
}

.section h2 {
    padding-bottom: 8px;
}

.team2,
.contact {
    background: var(--gray);
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    width: 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team .card p {
    padding-bottom: 8px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input,
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: var(--red);
    color: white;
    border: none;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    background: var(--blue);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

iframe {
    border: 0;
    width: 100%;
    height: 500px;
}

label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .team-cards {
        flex-direction: column;
        align-items: center;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 1rem;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .section {
        padding: 60px 20px;
    }

    form {
        width: 100%;
    }

    .hero {
        padding: 40vh 1rem;
        background-size: 80%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    iframe {
        height: 300px;
    }
}