/* style.css - Komplettes Design für die digitale Speisekarte - Version 6 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* Header & Titel */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    color: #d32f2f; /* Feuerwehr-Rot */
    font-size: 24px;
    margin-bottom: 5px;
}

.header p {
    color: #666;
    font-size: 14px;
}

/* Navigation & Buttons */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: #ffffff;
    border: 2px solid #d32f2f;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #d32f2f;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: background-color 0.2s, color 0.2s;
}

.btn:active, .btn:hover {
    background-color: #d32f2f;
    color: #ffffff;
}

/* --- Unabhängiger Zurück-Button --- */
.btn-back {
    display: block;
    width: 100%;
    background-color: #e0e0e0;
    border: 2px solid #cccccc;
    border-radius: 12px;
    color: #333333;
    margin-bottom: 30px;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: background-color 0.2s;
}

.btn-back:active, .btn-back:hover {
    background-color: #bdbdbd;
}

/* Listen für Speisen/Getränke (Standard) */
.menu-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.menu-item:last-child {
    border-bottom: none;
}

.item-details {
    flex: 1;
    padding-right: 15px;
}

.item-name {
    font-weight: 600;
    font-size: 16px;
    display: block;
}

.item-desc {
    font-size: 12px;
    color: #777;
    margin-top: 3px;
    display: block;
}

.item-price {
    font-weight: bold;
    color: #d32f2f;
    font-size: 16px;
    white-space: nowrap;
}

/* Rote Infotexte am Ende der Seiten */
.footer-note {
    background-color: #d32f2f;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
}

.footer-note p {
    color: white;
    margin-bottom: 5px;
}

/* --- Design für die Weinkarte --- */
.price-segment {
    border: 2px solid #d32f2f;
    border-radius: 12px;
    margin-bottom: 30px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.segment-header {
    background-color: #fff4f4;
    padding: 15px;
    border-bottom: 2px solid #d32f2f;
}

.segment-price-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-size: 16px;
    color: #d32f2f;
}

.segment-price-item {
    display: flex;
    justify-content: space-between;
    width: 140px;
}

.segment-content {
    padding: 0 15px 15px 15px;
}

.winery-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 25px 0 10px 0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.winery-title:first-child {
    margin-top: 15px;
}

.winery-name {
    font-weight: bold;
    font-size: 16px;
    color: #d32f2f;
}

.winery-location {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.location-icon {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px;
    max-width: 14px;
    fill: #d32f2f;
    flex-shrink: 0;
    display: inline-block;
}

/* --- Sponsoren Layout (Nebeneinander-Raster) --- */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sponsor-card {
    flex: 1 1 calc(50% - 12px); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fafafa;
}

.sponsor-card.pdf-card {
    flex: 1 1 100%; 
    border: none;
    background-color: transparent;
    padding: 0;
}

.sponsor-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.sponsor-pdf-link {
    display: inline-block;
    padding: 12px 20px;
    background-color: #fff4f4;
    color: #d32f2f;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #d32f2f;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    width: 100%;
    transition: all 0.2s ease;
}

.sponsor-pdf-link:hover, .sponsor-pdf-link:active {
    background-color: #d32f2f;
    color: white;
}