/* Grundlegende Stil-Anpassungen für die gesamte Seite */
:root {
    --primary-color: #722F37; /* Weinrot für Akzente */
    --secondary-color: #A34A54; /* Leichteres Weinrot für Hover-Effekte */
    --text-color: #f7f3f3; /* Helle Textfarbe für dunkle Hintergründe */
    --dark-text-color: #333; /* Dunkle Textfarbe für helle Hintergründe */
    --background-color: #f5f5dc; /* Helles Beige als Hintergrund */
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--dark-text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Header-Stile */
.header {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 0;
    border-bottom: 5px solid var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo {
    height: 50px; /* Kleinere Logo-Größe für die Navbar */
    margin-right: 10px;
    border-radius: 5px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.nav-active {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Hauptbereich und Sektionen */
.hero-section {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 6rem 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.content-section {
    padding: 40px 0;
    text-align: center;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Allgemeine Button-Stile */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Raster-Layout für Expertise-Abschnitt */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-top: 0;
}

/* Team-Seite Stile */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
}

.member-name {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin: 0;
}

.member-title {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Formular-Stile */
.form-section {
    padding: 40px 0;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.status-message {
    padding: 10px;
    margin-top: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Fußzeilen-Stile */
.footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 1rem 0;
}
