/* ==========================================================================
   1. GRUNDSTIMMUNG & HINTERGRUND (Helles Fichtenholz)
   ========================================================================== */
body {
    background: radial-gradient(circle, #e8dfc7 0%, #cfc19f 100%);
    font-family: 'IM Fell English', 'Georgia', serif; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 40px 25px;
    box-sizing: border-box;
}

/* ==========================================================================
   2. SCHWARZES BRETT CONTAINER & STRUKTUR
   ========================================================================== */
/* Der äußere Haupt-Container */
.schwarzes-brett {
    width: 100%;
    max-width: 740px;
    min-height: 500px;
    position: relative;
    margin: 0 auto;
}

/* DER HOLZ-HINTERGRUND (Nur dieser wird wettergezeichnet ausgefranst) */
.brett-hintergrund {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 20%, #2c2520 0%, #1a1512 100%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    
    /* Hier wirkt der Filter isoliert auf das Holz, nicht auf die Schrift */
    clip-path: url(#brett-form);
    filter: url(#rough-edge); 
    z-index: 1;
}

/* Ein rustikaler Holzrahmen-Effekt im Brett */
.brett-hintergrund::after {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border: 2px dashed rgba(244, 237, 216, 0.15);
    pointer-events: none;
}

/* Inhalt sauber ÜBER dem Hintergrund (Gestochen scharfer Text) */
.brett-inhalt {
    position: relative;
    z-index: 10;
    padding: 80px 50px 60px 50px; 
    color: #f4edd8; 
    box-sizing: border-box;
    text-align: center;
}

/* ==========================================================================
   3. TYPOGRAFIE & TEXTELEMENTE (Zünftige Kreide-Optik)
   ========================================================================== */
.titel {
    font-family: 'UnifrakturMaguntia', serif;
    font-size: 3.8rem;
    color: #d12a2a; /* Kräftiges Fleisch-Rot */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 0px;
}

.untertitel {
    font-size: 1.5rem;
    font-style: italic;
    letter-spacing: 1px;
    color: #c5bfae;
    margin-bottom: 40px;
}

.wirtshaus-name {
    font-size: 2rem;
    font-weight: bold;
    color: #f4edd8;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.zeit-info {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #c5bfae;
}

.zeit-info .hervorhebung {
    font-weight: bold;
    font-style: normal;
    color: #f4edd8;
}

/* Perfektes Design für den mehrzeiligen Zeitraum */
.zeit-info .datum-zeile {
    display: block;
    font-weight: bold;
    font-style: normal;
    color: #f4edd8;
    margin: 5px 0;
}

.zeit-info .datum-trennwort {
    display: block;
    font-size: 1.1rem;
    font-style: italic;
    color: #c5bfae;
    margin: 2px 0;
}

/* ==========================================================================
   4. EINTRITTS- & RESERVIERUNGSBEREICH (Zweizeilig flexibel)
   ========================================================================== */
.eintritt-info {
    font-size: 1.3rem;
    margin-top: 5px;
    margin-bottom: 15px;
    white-space: pre-line; /* Ermöglicht Zeilenumbrüche aus phpMyAdmin */
}

.eintritt-info .eintritt-wert {
    font-weight: bold;
    color: #d12a2a; 
    border: 1px dashed rgba(209, 42, 42, 0.4);
    padding: 6px 15px;
    display: inline-block;
}

/* ==========================================================================
   5. INFOTEXT & WUCHTIGE INITIALE
   ========================================================================== */
.inhalt-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
    text-justify: inter-word;
    color: #e2dac6;
    /* Zwingt den Browser, echte Zeilenumbrüche aus der Zelle direkt anzuzeigen! */
    white-space: pre-line; 
}


.inhalt-text::first-letter {
    font-family: 'UnifrakturMaguntia', serif;
    font-size: 4.8rem;
    font-weight: bold;
    float: left;
    line-height: 0.85;
    margin-top: 6px;
    margin-right: 12px;
    color: #d12a2a;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.5);
}

/* ==========================================================================
   6. SCHLACHT-TRENNER & TRADITIONELLE WAPPEN
   ========================================================================== */
/* Gekreuztes Schlacht-Wappen (Axt & Messer) */
.schlacht-wappen {
    position: relative;
    width: 90px;
    height: 50px;
    margin: 25px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wappen-axt, .wappen-messer {
    position: absolute;
    font-size: 2.6rem;
    line-height: 1;
    top: 0;
    left: 25px; /* Exakt übereinander zentriert */
    filter: sepia(1) saturate(5) hue-rotate(-50deg) drop-shadow(2px 2px 3px rgba(0,0,0,0.6));
}

.wappen-axt {
    transform: rotate(-35deg) scaleX(-1); /* Nach links gekippt und gespiegelt */
    transform-origin: bottom center;
    z-index: 1;
}

.wappen-messer {
    transform: rotate(35deg); /* Nach rechts gekippt */
    transform-origin: bottom center;
    z-index: 2;
}

/* Der Mitteltrenner mit Schweinchen und Fleischstück */
.schlacht-zentrum-trenner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    font-size: 2.4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Nur die Schweinchen bekommen den Kreide-Look */
.schlacht-zentrum-trenner span:not(.trenner-fleisch) {
    filter: grayscale(100%) brightness(140%) sepia(30%);
    opacity: 0.85;
}

/* Das Fleischstück bleibt farbig und saftig */
.schlacht-zentrum-trenner .trenner-fleisch {
    font-size: 3rem;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.5));
}

/* ==========================================================================
   7. RESPONSIVE ANPASSUNGEN (Handy-Displays)
   ========================================================================== */
@media (max-width: 480px) {
    .schwarzes-brett {
        padding: 60px 25px 40px 25px;
    }
    .titel {
        font-size: 2.6rem;
    }
    .wirtshaus-name {
        font-size: 1.5rem;
    }
    .inhalt-text {
        font-size: 1.2rem;
        text-align: center;
    }
}

/* ==========================================================================
   ZUSATZ: STYLING FÜR DIE BEIDEN MENÜ-OPTIKEN
   ========================================================================== */

/* --- OPTIK 1: KREIDE-LISTE (index_kreide.php) --- */
.schlacht-speisen-liste {
    margin: 30px auto;
    max-width: 85%;
}
.speise-item {
    font-size: 1.6rem;
    font-family: 'UnifrakturMaguntia', serif; /* Zünftige Fraktur */
    color: #f4edd8; /* Kreideweiß */
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* --- OPTIK 2: SPEISEN-KASTEN (index_spezialitaeten.php) --- */
.schlacht-speisen-kasten {
    border: 2px dashed rgba(209, 42, 42, 0.5); /* Fleisch-roter Rahmen */
    background: rgba(0, 0, 0, 0.2); /* Dezent abgedunkelt */
    padding: 25px 30px;
    margin: 35px auto;
    max-width: 75%;
    box-sizing: border-box;
}
.schlacht-speisen-kasten .kasten-titel {
    font-family: 'UnifrakturMaguntia', serif;
    font-size: 1.6rem;
    color: #d12a2a; /* Fleisch-Rot */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.schlacht-speisen-kasten p {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.8;
    color: #e2dac6;
    margin: 0;
}

/* Temporäre Standard-Speisenanzeige auf der index.php */
.standard-speisen-anzeige {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    color: #e2dac6;
    margin: 30px auto;
    max-width: 85%;
    border-top: 1px dashed rgba(244, 237, 216, 0.2);
    padding-top: 15px;
}
.standard-speisen-anzeige strong {
    color: #d12a2a; /* Fleisch-Rot für die Überschrift */
    font-style: normal;
}
