/* ============================================================
   AUSSTELLER STYLES – Datei als "aussteller.css" ins Child-Theme
   Root-Verzeichnis hochladen (gleiche Ebene wie style.css)
   ============================================================ */

/* --- Grid & Karten (Übersichtsseite + Startseite) --- */
.aussteller-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 992px) {
    .aussteller-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .aussteller-grid { grid-template-columns: 1fr; }
}

.aussteller-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.aussteller-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.aussteller-card-logo {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 12px;
}
.aussteller-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
}
.aussteller-card-branche {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px;
}
.aussteller-card-link {
    color: #2f6f2f;
    font-weight: 600;
    font-size: 14px;
}

/* --- Suchleiste + Filterbuttons --- */
.aussteller-suchleiste {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.aussteller-suchleiste input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}
.aussteller-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}
.aussteller-filter button {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}
.aussteller-filter button.active {
    background: #2f6f2f;
    color: #fff;
    border-color: #2f6f2f;
}
.aussteller-card.aussteller-hidden {
    display: none;
}

/* --- Einzelne Steckbrief-Seite (single-aussteller.php) --- */
.aussteller-single-header {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    margin: 30px 0;
}
@media (max-width: 768px) {
    .aussteller-single-header { grid-template-columns: 1fr; }
}
.aussteller-single-sidebar img {
    max-width: 100%;
    margin-bottom: 15px;
}
.aussteller-single-sidebar a {
    display: block;
    margin-bottom: 8px;
    color: #2f6f2f;
    text-decoration: none;
}
.aussteller-single-galerie {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 25px 0;
}
.aussteller-single-galerie img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 600px) {
    .aussteller-single-galerie { grid-template-columns: 1fr; }
}
.aussteller-single-angebot {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}
.aussteller-single-angebot ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aussteller-single-angebot li::before {
    content: "✓ ";
    color: #2f6f2f;
    font-weight: bold;
}
.aussteller-single-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}
@media (max-width: 768px) {
    .aussteller-single-info { grid-template-columns: repeat(2, 1fr); }
}
.aussteller-single-info-block strong {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}
.aussteller-single-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.aussteller-single-actions a {
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.aussteller-btn-back {
    background: #1b2a4a;
    color: #fff;
}
.aussteller-btn-website {
    background: #fff;
    border: 1px solid #1b2a4a;
    color: #1b2a4a;
    display: inline-block;
}

/* --- Startseite: Hero-Bereich --- */
.gewerbeschau-hero {
    background-size: cover;
    background-position: center;
    padding: 100px 20px 60px;
    color: #fff;
}
.gewerbeschau-hero-overlay {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}
.gewerbeschau-hero-overlay h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 15px;
}
.gewerbeschau-hero-overlay h1 span {
    color: #7ed957;
}
.gewerbeschau-hero-overlay p {
    font-size: 18px;
    margin-bottom: 30px;
}
.gewerbeschau-termine {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.gewerbeschau-termin-karte {
    background: rgba(255,255,255,0.95);
    color: #1b2a4a;
    border-radius: 10px;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    min-width: 220px;
}
.gewerbeschau-termin-karte strong {
    color: #2f6f2f;
    margin-bottom: 6px;
}

/* --- Startseite: Icon-Leiste --- */
.gewerbeschau-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
@media (max-width: 768px) {
    .gewerbeschau-icons { grid-template-columns: repeat(2, 1fr); }
}
.gewerbeschau-icon-item span {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}
.gewerbeschau-icon-item p {
    color: #666;
    font-size: 14px;
}
