/* Grundlayout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    height: 60px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.yellow-line {
    height: 6px;
    background-color: #f4d000;
}

/* Hero */
.hero {
    text-align: center;
    padding: 40px 20px;
}

/* Links ausgerichteter Einleitungstext in zentrierter Box */
.hero-textblock {
    max-width: 1150px;   /* dein perfekter Wert */
    margin: 0 auto;
    text-align: left;
    padding: 20px 40px;
}

/* Handy-Optimierung */
@media (max-width: 600px) {
    .hero-textblock {
        max-width: 90%;
        padding: 10px 20px;
    }
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px 16px;
    background-color: #005bbb;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.button:hover {
    background-color: #004999;
}
/* Hero-Bereich */
/* ... */

/* Familien-Info-Blöcke */
/* ... */

/* Einleitung vor den Kacheln */
.angebote-einleitung {
    max-width: 1150px;
    margin: 40px auto 20px auto;
    padding: 0 20px;
    text-align: left;
    font-weight: bold;
    color: #005bbb;
}

/* ------------------------------------------------ */
/* ⭐ ANGEBOTSSEITE GRID */
/* ------------------------------------------------ */

.angebote-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
}

/* 1 Spalte auf Handy */
@media (max-width: 600px) {
    .angebote-grid {
        grid-template-columns: 1fr;
    }
}

/* 2 Spalten auf Tablet */
@media (min-width: 601px) and (max-width: 1199px) {
    .angebote-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 3 Spalten auf großen Bildschirmen */
@media (min-width: 1200px) {
    .angebote-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Angebotskacheln */
.angebot-kachel {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    min-height: 260px;

    width: 320px;   /* ← HIER: feste Breite für alle Kacheln */
}
/* Tablet: Kacheln etwas schmaler */
@media (max-width: 900px) {
    .angebot-kachel {
        width: 280px;
    }
}

/* Handy: Eine Kachel pro Zeile, volle Breite minus Rand */
@media (max-width: 600px) {
    .angebote-grid {
        justify-content: center;
    }

    .angebot-kachel {
        width: 100%;
        max-width: 360px;   /* verhindert zu breite Kacheln auf großen Handys */
    }
}

/* Farbbalken oben */
.angebot-kachel.gelb {
    border-top: 10px solid #f4d000;
}

.angebot-kachel.blau {
    border-top: 10px solid #005bbb;
}

/* Titel */
.angebot-kachel h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Untertitel */
.angebot-kachel p {
    margin-top: 0;
}

/* Unterer Bereich */
.kachel-bottom {
    margin-top: auto;
    text-align: left;
}

.pdf-hinweis {
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ------------------------------------------------ */
/* ⭐ TEAMSEITE – KACHEL-GRID */
/* ------------------------------------------------ */

.team-grid {
    display: grid;
    gap: 30px;
    padding: 40px 20px;
}

/* 1 Spalte auf Handy */
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* 2 Spalten auf Tablet */
@media (min-width: 601px) and (max-width: 1199px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 3 Spalten auf großen Bildschirmen */
@media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Teamfotos */
.teamfoto {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-top: 20px;
}
/* -----------------------------------------------------------
   Grundlayout der Angebotskacheln (bestehender Stil)
----------------------------------------------------------- */

.angebot-kachel {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.angebot-kachel:hover {
    transform: translateY(-4px);
}

.angebot-kachel.blau {
    border-top: 8px solid #005a9c;
}

.angebot-kachel.gelb {
    border-top: 8px solid #e6b800;
}

/* -----------------------------------------------------------
   TEAMKARTEN – VISITENKARTEN-LAYOUT
   Bild links oben, Name rechts daneben, Text darunter
----------------------------------------------------------- */

.teamkarte {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "foto name"
        "text text";
    gap: 12px 18px;
    align-items: start;
}

/* Bild links oben */
.teamkarte img {
    grid-area: foto;
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
}

/* Name rechts daneben */
.teamkarte h2 {
    grid-area: name;
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
    line-height: 1.2;
}

/* Text unter dem gesamten oberen Bereich */
.teamkarte p {
    grid-area: text;
    margin: 0;
    padding-top: 5px;
    font-size: 1rem;
    line-height: 1.45;
}

/* -----------------------------------------------------------
   GRID für die Teamseite
----------------------------------------------------------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

/* -----------------------------------------------------------
   Responsive Anpassungen
----------------------------------------------------------- */

@media (max-width: 600px) {
    .teamkarte {
        grid-template-columns: 90px 1fr;
    }

    .teamkarte img {
        width: 90px;
        height: 90px;
    }

    .teamkarte h2 {
        font-size: 1.2rem;
    }
}
.flyer {
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border-top: 10px solid #e6b800; /* oder blau */
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.flyer-header {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
}

.flyer h1 {
    margin: 0;
    font-size: 2rem;
    text-align: center;
}

.flyer-subtitle {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 1.2rem;
    color: #444;
}

.flyer section {
    margin-bottom: 35px;
}

.flyer section h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #333;
}

.flyer p {
    line-height: 1.55;
    margin: 0 0 12px 0;
}