/* =====================================================
   STANDARD-KARTEN
===================================================== */

.karte {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: 0.25s;
}

.karte:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.20);
}

.karte img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.karte h3 {
    color: #205070;
    margin: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #205070;
}

.karte p {
    margin: 12px;
    line-height: 1.5;
}

.karte a {
    color: #205070;
    text-decoration: none;
    font-weight: bold;
}

.karte a:hover {
    text-decoration: underline;
}

/* =====================================================
   KARTEN-GRIDS
===================================================== */

.karten-grid-2,
.vorstand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.karten-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* =====================================================
   VORSTAND-KARTEN
===================================================== */

.vorstand-karte {
    text-align: center;
    padding: 20px;
    border: 2px solid #205070;
}

.vorstand-karte img {
    display: block;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border-radius: 10px;
    border: 2px solid #205070;
}

.vorstand-karte strong {
    color: #205070;
}

/* =====================================================
   RASSEN-KARTEN
===================================================== */

.rasse-karte {
    display: flex;
    flex-direction: column;

    padding: 20px;

    text-align: center;

    border: 2px solid #205070;
}

.rasse-karte img {
    display: block;

    width: 100%;
    max-width: 260px;
    height: 220px;

    object-fit: contain;
    object-position: center;

    background: #ffffff;

    margin: 0 auto 15px auto;

    border-radius: 10px;
    border: 2px solid #205070;
}

.rasse-karte h3 {
    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;
}

.rasse-karte .rasse-beschreibung {
    flex: 1;

    width: 100%;
    margin: 0 0 15px 0;
    padding: 0;
    box-sizing: border-box;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    line-height: 1.6;
}

.rasse-button {
    margin-top: 20px;

    text-align: center;
}

.rasse-button .mehr-link {
    display: inline-flex;

    justify-content: center;
    align-items: center;
    min-width: 240px;
    max-width: 240px;
    min-height: 52px;
    padding: 10px 15px;
    background: #205070;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.35;
    box-sizing: border-box;
    transition: .25s;
}

.rasse-button .mehr-link:hover {
    background: #2f6b92;
    text-decoration: none;
}

/* =====================================================
   GALERIE-KARTEN
===================================================== */

.galerie-kachel img {
    height: 160px;
}
