/* ==========================================================================
   PIZZA CANTATA - ZENTRALES FUSION-CSS (HAUPTSEITE + RETRO-ZEITUNG)
   ========================================================================== */

:root {
    --color-primary: #2e531a;   /* Dunkelgrün */
    --color-secondary: #4A554A;
    --color-accent: #9a3725;    /* Terrakotta-Rot */
    --color-dark: #222222;
    --color-light: #f9f9f9;
    --color-background: #E6ECE6; /* Dein sanftes Salbei-Beige von der Hauptseite */
    --color-paper: #f4ebd9;      /* Innerer Zeitungskontrast für Artikel */
}
/* --- FIXED SLIDESHOW IM HINTERGRUND --- */
.hero-slideshow {
    position: fixed; /* Fixiert im Hintergrund beim Scrollen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2; /* Liegt ganz hinten */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Weicher Überlauf wie auf Hauptseite */
}

.slide.active {
    opacity: 1;
}

/* --- ANPASSUNG BODY FÜR PREUSSISCHEN SCROLL-EFFEKT --- */
body.vintage-bg { 
    line-height: 1.6;
    padding: 220px 20px 60px 20px; /* Großer oberer Abstand fängt die Navigation ab */
    min-height: 100vh;
}

/* --- POSITIONIERUNG NAV & LOGO FÜR UNTERSEITEN --- */
.logo-container {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 110;
}

.diagonal-nav {
    position: absolute;
    right: 40px;
    top: calc(90vh - 14vh);
    display: flex;
    gap: 8px; /* Etwas enger zusammen, damit die Farbverläufe ineinandergreifen */
    align-items: flex-end;
    font-family: 'Special Elite', monospace;
    transform-origin: right bottom;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item {
    display: inline-block;
    padding: 16px 38px;
    color: #ffffff !important; /* Erzwingt weißen Text auf den Verläufen */
    text-decoration: none;
    font-family: 'Special Elite', monospace;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    
    /* Feiner Vintage-Rahmen für jeden Button */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- TRICOLORE FARBVERLÄUFE (Elegant gestaffelt) --- */

/* Button 1: Moosgrün zu sanftem Beige */
.item-1 {
    background-color: var(--color-primary);
    clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
    padding-right: 45px;
}

/* Button 2: Ein weicheres, helleres Salbeigrün als Übergang */
.item-2 {
    background-color: #557543;
    clip-path: polygon(4% 0%, 96% 0%, 100% 100%, 8% 100%);
}

/* Button 3: Das warme Braun/Beige (Die Mitte) */
.item-3 {
    background-color: var(--color-secondary);
    clip-path: polygon(0% 0%, 88% 0%, 100% 100%, 12% 100%);
    padding-left: 45px;
}

/* Button 4: Ein erdiger Braunton als Übergang zu Rot */
.item-4 {
    background-color: #a47c59;
    clip-path: polygon(4% 0%, 96% 0%, 100% 100%, 8% 100%);
}

/* Button 5: Volles Terrakotta-Rot */
.item-5 {
    background-color: var(--color-accent);
    clip-path: polygon(0% 0%, 88% 0%, 100% 100%, 12% 100%);
    padding-left: 45px;
}

/* Instagram-Button: Ein tiefes, dunkles Rot als edler Abschluss */
.item-instagram {
    background-color: #7e2a1b;
    clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
    padding: 16px 24px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- AKTUALISIERTER NEWSPAPER HEADER --- */
.newspaper-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px auto; /* Kein Riesen-Abstand mehr nötig, da Body paddet */
    background-color: var(--color-paper); /* Verhindert, dass Bilder durchscheinen */
    padding: 30px;
}

/* --- RESET & GLOBALE STYLES (Von deiner Hauptseite) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- DEIN ORIGINALER VINTAGE-BORDER MIT SVG-RAUSCHEN --- */
.vintage-border {
    position: relative;
    border: 1px solid rgba(34, 34, 34, 0.25);
}

.vintage-border::after, .blog-card::after, .menu-container::after {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    pointer-events: none;
    border: 1px solid transparent;
    /* Der korrigierte SVG-Pfad mit geschlossenem Anführungszeichen */
    border-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='www.w3.org/2000/svg' id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.35'/%3E%3C/svg%3E") 1 round;
    z-index: 3;
}

/* --- NEUE ASYMMETRISCHE ZEITUNGS-RAHMEN (In deine Farben getaucht) --- */
.standard-border {
    position: relative;
    border-top: 2px solid var(--color-primary); /* Akzent durch dein Grün */
    border-bottom: 4px double var(--color-dark);
    border-left: 1px dashed rgba(34, 34, 34, 0.4);
    border-right: 1px dashed rgba(34, 34, 34, 0.4);
    padding: 25px;
}

.featured-border {
    position: relative;
    border: 4px solid var(--color-dark);
    padding: 30px;
    box-shadow: inset 0 0 0 2px var(--color-paper), inset 0 0 0 4px var(--color-primary);
}

/* --- HERO- / HEADER-BEREICH (Ebenfalls im Zeitungslook veredelt) --- */
.newspaper-header {
    text-align: center;
    max-width: 1200px;
    margin: 140px auto 40px auto; /* Platz nach oben für dein Logo */
    padding: 0 20px;
}

.newspaper-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'Special Elite', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-dark);
    padding-bottom: 6px;
    color: var(--color-secondary);
}

.newspaper-title {
    font-size: 4.5rem;
    font-family: 'UnifrakturMaguntia', cursive;
    font-weight: normal;
    margin: 15px 0;
    color: var(--color-dark);
}

.newspaper-tagline {
    font-style: italic;
    font-size: 1.2rem;
    font-family: 'Times New Roman', serif;
    color: var(--color-secondary);
}

.newspaper-divider {
    border-top: 1px solid var(--color-dark);
    margin: 5px 0;
}
.newspaper-divider.double {
    border-top: 4px double var(--color-dark);
    margin-top: 5px;
}

/* --- DEINE DIAGONALE NAVIGATION (Exakt übernommen & farbecht) --- */
.logo-container {
    position: absolute;
    top: 40px; left: 40px; z-index: 10;
}
.site-logo { height: 120px; width: auto; display: block; }

.diagonal-nav {
    position: absolute;
    right: 40px;
    top: 40px; /* Für Unterseiten oben fixiert statt im Hero-Ende */
    display: flex;
    gap: 8px;
    align-items: flex-end;
    z-index: 100;
}

.nav-item {
    display: inline-block;
    padding: 16px 38px;
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'Special Elite', monospace;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-item:hover {
    transform: translateY(-4px);
    filter: brightness(1.15); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Tricolore Zuweisungen */
.item-1 { background-color: var(--color-primary); clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%); padding-right: 45px; }
.item-2 { background-color: #557543; clip-path: polygon(4% 0%, 96% 0%, 100% 100%, 8% 100%); }
.item-3 { background-color: var(--color-secondary); clip-path: polygon(0% 0%, 88% 0%, 100% 100%, 12% 100%); padding-left: 45px; }
.item-4 { background-color: #a47c59; clip-path: polygon(4% 0%, 96% 0%, 100% 100%, 8% 100%); }
.item-5 { background-color: var(--color-accent); clip-path: polygon(0% 0%, 88% 0%, 100% 100%, 12% 100%); padding-left: 45px; }

/* KATEGORIEN-NAV (Als flache Unter-Ressorts) */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 10px 0;
    border-bottom: 2px dashed var(--color-secondary);
}

.category-btn {
    background: transparent;
    color: var(--color-dark);
    border: 1px solid var(--color-secondary);
    padding: 6px 14px;
    font-family: 'Special Elite', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.1s ease;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* --- INHALTS-KARTEN (ZEITUNGS-PERGAMENT) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 900px) { .blog-card.featured { grid-column: span 2; } }

.blog-card {
    background-color: var(--color-paper); /* Hellerer Zeitungskontrast */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-meta {
    font-family: 'Special Elite', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #ffffff;
    background-color: var(--color-accent); /* Dein Terrakotta-Rot als Stempel */
    padding: 3px 8px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
}

.article-title {
    font-size: 1.8rem;
    margin: 5px 0 10px 0;
    line-height: 1.1;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
}

.article-title a { color: var(--color-dark); text-decoration: none; }
.article-title a:hover { color: var(--color-primary); text-decoration: underline; }

.article-date {
    font-size: 0.8rem;
    font-family: 'Special Elite', monospace;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.article-preview {
    font-size: 1rem;
    text-align: justify;
    font-family: 'Times New Roman', serif;
    color: var(--color-dark);
}
.article-preview p::first-line { font-weight: bold; }

.read-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--color-primary);
    font-family: 'Special Elite', monospace;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid var(--color-primary);
    align-self: flex-start;
}

/* --- DIEDRECKIGE WERBEANZEIGE (Farblich angepasst) --- */
.newspaper-ad {
    background-color: var(--color-paper);
    border: 3px dashed var(--color-accent) !important; /* Gestrichelt in Terrakotta */
    text-align: center;
    padding: 30px 20px;
}
.ad-logo { max-height: 90px; filter: grayscale(100%) contrast(140%); mix-blend-mode: multiply; margin-bottom: 15px; }
.ad-title { font-family: 'Times New Roman', serif; font-weight: bold; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 10px; }
.ad-text { font-family: 'Times New Roman', serif; font-size: 0.9rem; font-style: italic; margin-bottom: 20px; }
.ad-btn {
    display: inline-block;
    padding: 10px 15px;
    font-family: 'Special Elite', monospace;
    font-size: 0.8rem;
    color: #ffffff;
    background-color: var(--color-accent); /* Button in Terrakotta */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid transparent;
}
.ad-btn:hover { background-color: transparent; color: var(--color-accent); border-color: var(--color-accent); }

/* --- SPEISEKARTEN ELEMENTE --- */
.menu-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--color-paper);
    padding: 40px 30px !important;
}
.menu-section-title { font-family: 'UnifrakturMaguntia', cursive; font-size: 2.2rem; color: var(--color-dark); margin-bottom: 5px; }
.menu-item { margin: 20px 0 25px 0; }
.menu-item-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 4px; }
.menu-item-name { font-family: 'Times New Roman', serif; font-weight: bold; font-size: 1.25rem; padding-right: 8px; background-color: var(--color-paper); z-index: 2; }
.menu-item-dots { flex-grow: 1; border-bottom: 2px dotted var(--color-secondary); margin-bottom: 5px; }
.menu-item-price { font-family: 'Special Elite', monospace; font-size: 1.1rem; font-weight: bold; padding-left: 8px; background-color: var(--color-paper); z-index: 2; }
.menu-item-description { font-family: 'Times New Roman', serif; font-size: 0.95rem; font-style: italic; color: #3a3a3a; text-align: justify; }

.blog-footer { text-align: center; margin-top: 60px; font-family: 'Special Elite', monospace; font-size: 0.8rem; text-transform: uppercase; }
.blog-footer a { color: var(--color-accent); font-weight: bold; }

/* --- FOOTER --- */
.modern-footer {
    width: 100vw; /* Erzwingt die volle Breite des sichtbaren Bildschirms */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw; /* Diese drei Zeilen brechen den Footer aus jedem engen Kasten aus */
    
    background-color: #53545145;
    color: #ffffff;
    clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
    padding: 100px 0 50px 0; /* Oben/Unten viel Platz, links/rechts 0 für den Hintergrund */
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-brand h3 {
    color: var(--color-secondary);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: 'Special Elite', monospace; /* Passt es an deinen Navigations-Look an */
    letter-spacing: 1px;
}

/* --- EINHEITLICHES LINK-STYLING FÜR BEIDE SPALTEN --- */
.footer-links a, 
.footer-contact a {
    display: block; /* Macht den Link über die volle Breite anklickbar wie im Menü */
    color: #ffffff !important; /* Erzwingt klares Weiß und löscht das Browser-Blau */
    text-decoration: none !important; /* Entfernt die hässliche Unterstreichung */
    font-family: 'Special Elite', 'Courier New', monospace; /* Exakter Schreibmaschinen-Look */
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

/* --- ROTER HOVER-EFFEKT (TERRAKOTTA) --- */
.footer-links a:hover, 
.footer-contact a:hover {
    color: var(--color-accent) !important; /* Schaltet beim Drüberfahren auf dein Rot um */
    transform: translateX(4px); /* Minimaler, eleganter Ruck nach rechts beim Hovern */
}

/* Reiner Text (Ort) bleibt weiß und reagiert nicht auf Hover */
.footer-contact .footer-location {
    color: #ffffff;
    font-family: 'Special Elite', monospace;
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.8;
}
