/* ==========================================================================
   Gasthaus Pretzsch – Stylesheet
   ========================================================================== */

/* ==========================================================================
   Lokale Schriftarten (Self-Hosted – DSGVO-konform ohne externe Google-Server)
   ========================================================================== */

/* Lato - Light (300) */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/lato-v25-latin-300.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/lato-v25-latin-300-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato - Regular (400) */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-v25-latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-v25-latin-regular-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato - Bold (700) */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-v25-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-v25-latin-700-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display - Regular (400) */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-regular-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display - Italic (400) */
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-italic-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display - Bold (700) */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-700-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Design Tokens & Globals
   ========================================================================== */

:root {
    --dark-green: #1a3024;
    --light-green: #2a4a38;
    --gold: #c5a059;
    --gold-light: #e0bc7a;
    --cream: #fdfcf8;
    --text-dark: #333333;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    text-decoration: none;
}

.btn-call {
    background-color: var(--gold);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-call:hover {
    background-color: var(--gold-light);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../assets/header.jpg') center/cover no-repeat;                        
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    font-style: italic;
}

/* ==========================================================================
   Sections & Typography
   ========================================================================== */

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-green);
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto;
}

.subtitle {
    color: var(--gold);
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-intro {
    max-width: 760px;
    margin: -20px auto 45px auto;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* ==========================================================================
   Über uns
   ========================================================================== */

.about-flex {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    border: 10px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Öffnungszeiten
   ========================================================================== */

.hours-box {
    background-color: var(--dark-green);
    color: var(--cream);
    padding: 40px;
    border-radius: 4px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--gold);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hours-table tr.closed {
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

.hours-table td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.seasonal-note {
    margin-top: 25px;
    font-size: 0.95rem;
    text-align: center;
    color: var(--gold-light);
    font-style: italic;
}

/* ==========================================================================
   Speisekarte
   ========================================================================== */

.menu-card {
    background: #fff;
    padding: 50px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.btn-pdf {
    display: inline-block;
    margin-top: 25px;
    padding: 18px 45px;
    background: var(--dark-green);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-pdf:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

/* ==========================================================================
   Veranstaltungen & Feiern
   ========================================================================== */

.event-plan-card {
    margin-bottom: 50px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8e4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.event-card-img {
    height: 230px;
    overflow: hidden;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-card-img img {
    transform: scale(1.06);
}

.event-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-body h3 {
    font-size: 1.45rem;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.event-card-body p {
    font-size: 0.96rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.65;
}

.event-features {
    list-style: none;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 18px;
}

.event-features li {
    font-size: 0.92rem;
    color: var(--light-green);
    margin-bottom: 8px;
    position: relative;
    padding-left: 22px;
}

.event-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.event-consultation {
    background-color: var(--dark-green);
    color: var(--cream);
    border-radius: 6px;
    padding: 45px 30px;
    text-align: center;
    border: 1px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.event-consultation h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.event-consultation p {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 25px auto;
    opacity: 0.95;
    line-height: 1.6;
}

.event-consultation .btn-call {
    display: inline-block;
    font-size: 1.05rem;
    padding: 14px 30px;
}

/* ==========================================================================
   Galerie & Impressionen
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 280px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: var(--dark-green);
    color: var(--cream);
    padding: 60px 0 20px;
    border-top: 4px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-family: serif;
}

.footer-column p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-column .contact-details {
    margin-top: 10px;
}

.footer-column a {
    color: var(--cream);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ==========================================================================
   Rechtliche Seiten (Impressum / Datenschutz)
   ========================================================================== */

.legal-header {
    text-align: center;
    padding: 20px 0;
}

.logo-link {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.legal-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.legal-container h1 {
    color: var(--dark-green);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
}

.legal-container h2 {
    color: var(--dark-green);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.legal-container p {
    margin-bottom: 15px;
}

.legal-container ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--dark-green);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--gold);
    transition: 0.3s;
}

.back-link:hover {
    color: var(--gold);
}

.legal-footer {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 60px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 950px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .event-consultation {
        padding: 30px 20px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}
