/* Grundlayout */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
}


/* Kopfbereich */

header {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

header h1 {
    margin: 0 0 10px;
}

header p {
    margin: 0;
}


/* Hauptbereich */

main {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}


/* Suchfeld */

.suche {
    margin-bottom: 15px;
}

#suchfeld {
    width: 100%;
    box-sizing: border-box;

    padding: 15px;

    font-size: 18px;

    border: 1px solid #ccc;
    border-radius: 10px;

    outline: none;
}

#suchfeld:focus {
    border-color: #2563eb;
}


/* Ergebnisanzahl */

#anzahl {
    color: #666;
    margin-bottom: 20px;
}


/* Karten-Layout */

#praeparate {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}


/* Einzelne Präparat-Karte */

.praeparat {
    background: white;

    border-radius: 12px;

    padding: 20px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1);

    transition:
        transform 0.15s,
        box-shadow 0.15s;
}

.praeparat:hover {
    transform: translateY(-3px);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.15);
}


/* Bild */

.praeparat img {
    width: 100%;
    height: 200px;

    object-fit: cover;

    border-radius: 8px;

    display: block;
}


/* Name */

.praeparat h2 {
    margin-top: 15px;
    margin-bottom: 10px;
}


/* Standort */

.ort {
    color: #444;
}


/* Stichwörter */

.stichwoerter {
    color: #555;
    line-height: 1.6;
}


/* Einzelne Stichwort-Tags */

.tag {
    display: inline-block;

    background: #e5e7eb;

    border-radius: 20px;

    padding: 4px 9px;

    margin: 3px 3px 3px 0;

    font-size: 13px;
}


/* Keine Ergebnisse */

.keine-ergebnisse {
    background: white;

    padding: 30px;

    border-radius: 12px;

    text-align: center;

    color: #666;
}