/**
 * Startseite Template - Frontend Styles
 */

/* ===== HEADER SECTION ===== */
.st-header {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
}

.st-header-overlay {
    width: 100%;
    padding: 0px 40px 10px;
}

/* ===== NEWS LINE ===== */
.st-news-line {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.st-news-line .st-news-item {
    background: rgba(255,255,255,0.8);
    border-left: 5px solid var(--primary);
    padding: 10px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    max-width:30%;
}
a.st-news-item:hover {
    background: rgba(255,255,255,0.95);
}

.st-news-line .st-news-titel {
    margin: 0 0 10px 0;
    font-size: 22px;
    line-height: 1.3;
}

.st-news-line .st-news-untertitel {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #4c4c4c;
    font-weight: bold;
}

.st-news-line .st-news-text {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #4c4c4c;
    line-height: 1;
}

.st-news-line .st-news-datum {
    font-size: 12px;
    color: #4c4c4c;
    margin: 0 0 5px;
}

.st-news-line .st-news-button {
    display: flex;
    padding: 10px 25px;
    background: rgba(105,19,47,0.8);
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: 500;
}

.st-news-line .st-news-button:hover {
    background: rgba(105,19,47,1);
    color: #fff;
}

@media (max-width: 900px) {
    .st-news-line {
        flex-direction: column;
    }
    .st-news-line .st-news-item {
        max-width: 100%;
    }
}
/* ===== OPENER SECTION ===== */
.st-opener {
    padding: 0px 20px 40px;
}

.st-opener .st-container {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .st-opener {
        padding: 30px 15px;
    }
}

/* ===== ÖFFNUNGSZEITEN ===== */
.st-oeffnungszeiten {
    padding: 0px 0;
}

.st-oeffnungszeiten .st-container {
    margin: 0 auto;
    text-align: center;
}

.st-oeffnungszeiten h2 {
    margin-bottom: 15px;
    font-size: 2em;
}


.st-oeffnungszeiten-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Tag-Karten */
.st-tag {
    position: relative;
    padding: 25px 30px;
    border-radius: 8px;
    min-width: 200px;
    max-width: 260px;
    flex: 1;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.st-tag-offen {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
}

.st-tag-geschlossen {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #e53935;
}

.st-tag-heute {
    box-shadow: 0 0 0 3px #2196f3, 0 4px 15px rgba(33, 150, 243, 0.3);
}

.st-tag-label {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.st-tag-datum {
    display: block;
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
}

.st-tag .st-status {
    display: block;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 8px;
}

.st-tag .st-status-offen {
    color: #2e7d32;
}

.st-tag .st-status-geschlossen {
    color: #c62828;
}

.st-tag .st-zeiten {
    display: block;
    color: #555;
    font-size: 0.95em;
    margin: 0;
}

.st-tag .st-einlass {
    display: block;
    font-size: 0.85em;
    color: #777;
    margin-top: 5px;
}

.st-heute-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #2196f3;
    color: #fff;
    font-size: 0.7em;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.st-keine-termine {
    padding: 30px;
    background: #f5f5f5;
    border-radius: 8px;
    width: 100%;
}

.st-keine-termine .st-zeiten {
    margin: 0;
    color: #666;
}

/* Day Events */
.oh-day-events {
    padding-top: 10px;
    border-top: 1px solid rgba(76, 175, 80, 0.25);
    display: flex;
    flex-direction: column;
}

.oh-day-event {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 7px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.oh-day-event:hover {
}

.oh-day-event svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    stroke: currentColor;
    margin: 2px 0 0;
}

.oh-day-event--collage {
    color: ;
}

.oh-day-event--collage:hover {
    color: ;
}

/* ===== FÜHRUNGEN SECTION ===== */
.st-fuehrungen {
}

.st-fuehrungen .st-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CONTENT SECTION ===== */
.st-content {
    padding: 60px 20px;
}

.st-content .st-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .st-header {
        min-height: 50vh;
    }

    .st-header-overlay {
        padding: 20px;
    }

    .st-news-line .st-news-item {
        padding: 20px;
    }

    .st-news-line .st-news-titel {
        font-size: 1.4em;
    }

    .st-oeffnungszeiten {
        padding: 40px 15px;
    }

    .st-oeffnungszeiten-info {
        flex-direction: column;
        align-items: center;
    }

    .st-tag {
        width: 100%;
        max-width: 300px;
    }

    .st-fuehrungen,
    .st-content {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .st-header {
        min-height: 40vh;
    }

    .st-news-line .st-news-item {
        padding: 15px;
    }

    .st-news-line .st-news-button {
        display: block;
        text-align: center;
    }

    .st-tag {
        padding: 20px;
        min-width: unset;
    }

    .st-tag-label {
        font-size: 1.1em;
    }
}
