@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


/* Allgemeine Farbgebung */
:root {
    /* Standardwerte für den Lightmode */
    --primary-color-light: #B35A1F;
    --secondary-color-light: #2B655C;
    --secondary-color-lightButton: #2B655C;
    --primary-hover-color: #D17342; /* Hellerer Rot-Braun für Hover */
    --secondary-hover-color: #3c907a; /* Helleres Grün für Hover */
    --background-color-light: #F5E8C7;
    --text-color-light: #4A2C2A;
    --overlay-bg: rgba(206, 190, 155, 0.8);
    --header-background-light: #B35A1F;
    --nav-link-bg: transparent;
    --nav-link-hover-bg: rgba(236, 240, 241, 0.1);
    --nav-link-hover-color: #ecf0f1;
    --nav-logo-bg: rgba(236, 240, 241, 0.1);
    --nav-logo-hover-bg: rgba(236, 240, 241, 0.2);

    /* Farben für den Arrow */
    --arrow-color-light: #4A2C2A; /* Standardfarbe im Lightmode */
    --arrow-hover-color-light: #B35A1F; /* Hover-Farbe im Lightmode */
}

/* Darkmode-Variablen */
.dark-mode {
    --primary-color-light: #701d1d;
    --secondary-color-light: #ffffff;
    --secondary-color-lightButton: #184A45;
    --primary-hover-color: #9b2d2d; /* Intensiveres Rot-Braun */
    --secondary-hover-color: #236d6d; /* Intensiveres Grün */
    --background-color-light: #1A1A1A;
    --text-color-light: #FAF3E0;
    --overlay-bg: rgba(0, 0, 0, 0.7);
    --secondary-color-dark: #FAF3E0;
    --background-color-dark: #1A1A1A;

    /* Farben für den Arrow */
    --arrow-color-light: #FAF3E0; /* Standardfarbe im Darkmode */
    --arrow-hover-color-light: #701d1d; /* Hover-Farbe im Darkmode */
}
::-webkit-scrollbar {
  width: 0; /* Entfernt die Scrollbar */
}
/* Allgemeines Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Cinzel', serif;
    background-color: var(--background-color-light);
    color: var(--text-color-light);
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden; /* Entfernt horizontale Scrollbars */
}
body {
    padding-top: 100px; /* Platz für den fixierten Header */
    padding-bottom: 100px;
}
::-webkit-scrollbar {
    width: 0; /* Entfernt die Scrollbar */
}

a {
    text-decoration: none;
    color: var(--text-color-light);
}

a:hover {
    color: var(--secondary-color-light);
}
/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 10%;
    background-color: var(--primary-color-light);
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Dark/Light Mode Switch */
.header-switch {
    position: absolute;
    right: 20px;
}

.mode-toggle {
    border: none;
    background: none;
    cursor: pointer;
}

.mode-toggle img {
    width: 30px;
    height: 30px;
}

.navMenu {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.navMenu a {
    color: #f6f4e6;
    text-decoration: none;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    width: 80px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.navMenu a:hover {
    color: var(--secondary-color-light);
}

.navMenu .dot {
    width: 6px;
    height: 6px;
    background: var(--secondary-color-light);
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.navMenu a:nth-child(1):hover ~ .dot {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}

.navMenu a:nth-child(2):hover ~ .dot {
    -webkit-transform: translateX(110px);
    transform: translateX(110px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}

.navMenu a:nth-child(3):hover ~ .dot {
    -webkit-transform: translateX(200px);
    transform: translateX(200px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}

.navMenu a:nth-child(4):hover ~ .dot {
    -webkit-transform: translateX(285px);
    transform: translateX(285px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}
.navMenu a:nth-child(5):hover ~ .dot {
    -webkit-transform: translateX(358px);
    transform: translateX(358px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}

/* Hamburger-Menü */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    border: none;
    background: none;
    color: var(--text-color-light);
    cursor: pointer;
}


@media (max-width: 830px) {
    .menu-toggle {
        display: flex; /* Zeigt das Hamburger-Menü */


    }

    .nav-links {
        display: none; /* Versteckt die Links */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color-light);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        padding: 15px 0;
    }

    .nav-links.active {
        display: flex; /* Links einblenden */

    }

    .nav-links a {
        margin: 10px -100%;

    }
    .navMenu .dot {
        display: none; /* Versteckt den Punkt-Indikator im mobilen Menü */
    }
}

/* Dark/Light Mode Switch */
.header-switch {
    position: absolute;
    right: 20px; /* Switch weiter nach links */
    display: flex;
    align-items: center;
}

.mode-toggle {
    border: none;
    background: none;
    cursor: pointer;
}

.mode-toggle img {
    width: 25px;
    height: 25px;
}
/* Blogübersicht */
.blog-overview {
    padding: 20px;
    margin-top: 100px; /* Abstand vom Header */
}

.highlight {
    text-align: center; /* Zentriert den Text */
    font-size: 4rem; /* Optionale Anpassung der Schriftgröße */
    font-weight: bold; /* Hebt die Überschrift hervor */
    margin-bottom: 20px; /* Abstand nach unten */
    color: var(--primary-color-light); /* Nutzt die Primärfarbe */
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Abstand zwischen Blog-Einträgen */
}

/* Blog-Karten */
.blog-card {
    display: flex; /* Flexbox für Bild und Details */
    align-items: flex-start; /* Vertikale Ausrichtung der Inhalte */
    background-color: var(--background-color-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
    gap: 15px; /* Abstand zwischen Bild und Text */
}

/* Vorschau-Bild */
.blog-card img {
    width: 150px; /* Einheitliche Breite */
    height: 150px; /* Einheitliche Höhe */
    object-fit: cover; /* Bild skalieren, ohne zu verzerren */
    border-radius: 5px; /* Optional: Abgerundete Ecken */
}

/* Blog-Details */
.blog-card .blog-info {
    flex: 1; /* Nimmt den verbleibenden Platz ein */
}

.blog-card h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--text-color-light);
}

.blog-card .blog-meta {
    font-size: 0.9rem;
    color: var(--secondary-color-light);
    margin-bottom: 10px;
    display: block;
}

.blog-card p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.blog-card .read-more {
    text-decoration: none;
    color: var(--primary-color-light);
    font-weight: bold;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.error {
    text-align: center;
    color: var(--secondary-color-light);
    padding: 20px;
    border-radius: 10px;
    background-color: var(--background-color-light);
}

.error a {
    color: var(--primary-color-light);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-color-light);
    color: var(--text-color-light);
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-links a {
    color: var(--secondary-color-light);
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary-color-dark);
}
#blog-post {
    margin: 80px auto; /* Abstand vom Header */
    padding: 20px;
    max-width: 800px; /* Beschränke die Breite */
    background-color: var(--background-color-light); /* Angenehmer Hintergrund */
    color: var(--text-color-light); /* Textfarbe */
    border-radius: 10px; /* Abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Sanfter Schatten */
    line-height: 1.6; /* Lesbarkeit verbessern */
}

/* Blog-Überschrift */
#blog-content h1 {
    font-size: 2.5rem; /* Große, markante Überschrift */
    margin-bottom: 20px;
    color: var(--primary-color-light); /* Primärfarbe */
    text-align: center; /* Zentriert */
    text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
}

/* Metadaten (Datum, Typ) */
.blog-meta {
    font-size: 1.4rem;
    color: var(--secondary-color-light); /* Dezente Farbe */
    margin-bottom: 20px;
    text-align: center; /* Zentriert */
    font-style: italic; /* Kursiv für Stil */
}

/* Bild */
.blog-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px; /* Leicht abgerundete Ecken */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Sanfter Schatten */
}

/* Inhalt */
.blog-content {
    font-size: 1.1rem; /* Angenehme Lesbarkeit */
    margin-top: 20px;
}

.blog-content h2 {
    font-size: 1.8rem; /* Zwischenüberschriften */
    margin: 30px 0 10px;
    color: var(--primary-color-light);
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.blog-content p {
    margin: 10px 0;
    line-height: 1.8;
}

/* Listen */
.blog-content ul,
.blog-content ol {
    margin: 20px;
    padding-left: 40px; /* Einrückung für Listen */
}

.blog-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Links */
.blog-content a {
    color: var(--primary-color-light);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.blog-content a:hover {
    color: var(--secondary-color-light);
    text-decoration: underline;
}

/* Zitat (Blockquote) */
.blog-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: var(--overlay-bg);
    border-left: 4px solid var(--primary-color-light);
    font-style: italic;
    color: var(--text-color-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
hr {
    border: 0; /* Entfernt die Standardlinie */
    height: 2px; /* Dicke der Linie */
    background: linear-gradient(
            90deg,
            var(--primary-color-light) 0%,
            var(--secondary-color-light) 50%,
            var(--primary-color-light) 100%
    ); /* Farbverlauf */
    margin: 30px auto; /* Abstand oben und unten */
    width: 80%; /* Breite der Linie */
    border-radius: 5px; /* Leicht abgerundete Enden */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sanfter Schatten */
    transition: transform 0.3s ease; /* Animation bei Hover */
}

hr:hover {
    transform: scaleX(1.1); /* Leichte Vergrößerung bei Hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Verstärkter Schatten */
}

.blog-footer {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--primary-color-light);
    color: var(--text-color-light);
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    line-height: 1.5;
}

.blog-footer .author {
    display: inline-block;
    font-weight: bold;
    color: var(--secondary-color-light);
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.blog-footer .author:before {
    content: "✍️ "; /* Optional: Ein Icon vor dem Namen */
}

.blog-footer p {
    margin: 5px 0;
}

.blog-footer a {
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: bold;
}

.blog-footer a:hover {
    color: var(--secondary-color-light);
}
