/* ===== LOCAL FONTS (self-hosted) ===== */

/* Playfair Display */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-v40-latin-latin-ext-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-v40-latin-latin-ext-700.woff2') format('woff2');
}

/* Lato */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lato-v25-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-v25-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lato-v25-latin-700.woff2') format('woff2');
}

/* Caveat */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/caveat-v23-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/caveat-v23-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/caveat-v23-latin-700.woff2') format('woff2');
}

:root {
    --primary: #c05b45; /* Warmes Terrakotta-Rot */
    --secondary: #2d2d2d; /* Dunkles Grau für Text */
    --bg-light: #fdfbf7; /* Helles Creme/Weiß */
    --bg-card: #ffffff; /* Reinweiß für Karten */
    --accent: #eaddcf; /* Helles Beige für Hintergründe */
    --gold: #d4a373;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-light);
    color: var(--secondary);
    line-height: 1.6;
}

/* --- NAVIGATION --- */
nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

nav a {
    color: var(--secondary);
    text-decoration: none;
    margin: 0 15px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover { color: var(--primary); }

/* --- HERO HEADER --- */
header {
    height: 80vh;
    background: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)),
                url('https://images.unsplash.com/photo-1595295333158-4742f28fbd85?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 60px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
}

.btn-main {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

.btn-main:hover { transform: scale(1.05); background: #a0402a; }

/* --- SECTIONS ALLGEMEIN --- */
section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
}

/* --- SEKTION MIRI --- */
.miri-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    background: white;
    padding: 40px;
    padding-left: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    justify-content: center;
    overflow: visible;
}

.miri-image {
    flex: 1.15;
    min-width: 320px;
    max-width: 520px;
    margin-left: -10px;
}

.miri-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--accent);
    display: block;
}

.personal-intro {
    flex: 1.35;
    max-width: 650px;
    min-width: 280px;
    color: #444;
}

.personal-intro h2 {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1;
}

.personal-intro p {
    margin-bottom: 18px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.signature {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    margin-top: 30px;
    color: var(--primary);
    line-height: 1.2;
}

/* --- GALERIE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

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

/* --- SPEISEKARTE --- */
.menu-category-title {
    text-align: center;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 60px 0 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
    gap: 12px;
}

.item-header span:first-child { padding-right: 10px; }

.price {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.item-desc {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* --- INFO & KONTAKT --- */
.info-container {
    background: var(--accent);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;

    /* Fix für iPhone/kleine Geräte */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.info-box { min-width: 0; }

.info-box h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.phone-btn {
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

/* --- FOOTER --- */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

footer a { color: #ccc; text-decoration: none; margin: 0 10px; font-size: 0.85rem; }
footer a:hover { color: var(--primary); }

/* --- LEGAL (permanent sichtbar, nebeneinander, responsive) --- */
.legal-wrapper {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px 80px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.legal-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
}

.legal-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.legal-card p { margin-bottom: 10px; }

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero-box { padding: 20px; }
    nav { font-size: 0.75rem; }

    .miri-container {
        padding: 20px;
        text-align: center;
        justify-content: center;
    }

    .miri-image {
        max-width: 100%;
        margin-left: 0;
    }

    .personal-intro { max-width: 100%; }
    .personal-intro h2 { font-size: 2.8rem; }

    /* Kontakt-Block: Padding reduziert, damit nichts "nach rechts" rutscht */
    .info-container {
        padding: 28px 18px;
        gap: 18px;
    }

    /* Menü: Mobile 1 Spalte */
    .menu-grid {
        grid-template-columns: 1fr;
    }

    /* Legal nebeneinander -> untereinander */
    .legal-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra kleine Geräte */
@media (max-width: 420px) {
    nav a { margin: 0 10px; }
    .item-header { font-size: 1.02rem; }
}