
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #1a1a1a;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.underline {
    display: block;
    width: 300px;
    height: 4px;
    background-color: #f0f0f0; 
    margin: 2rem auto;
    border-radius: 2px;
    align-items: center;
}

/* Container-Stile */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

/* Header und Navigation */
.header {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    min-width: 100vw;
    left: 0;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    flex-wrap: nowrap;
}
.logo {
    flex: 0 0 auto;
}
.logo img {
    height: 100px;
}
.nav-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
    color: #ffd700;
    background: #232526;
    border-radius: 6px;
    padding: 0.3em 0.8em;
}
.social-icons {
    flex: 0 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    min-width: 120px;
}
.icon {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.icon:hover {
    color: #888;
}
.lang-switch {
    background: #fff;
    color: #1a1a1a;
    padding: 0.3em 1em;
    border-radius: 20px;
    font-weight: 700;
    margin-left: 1rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.lang-switch:hover {
    background: #ccc;
    color: #222;
}

/* Blog Hero und Submenu */
.blog-hero {
    position: relative;
    background: #232526;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem 2rem 1rem;
    margin-top: 200px;
    margin-bottom: 2rem;
    overflow: hidden;
    min-height: 420px;
        display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.blog-banner {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
    background: url('Travel/Spanien/Bannerspanien.jpg') center center/cover no-repeat;
}
.blog-hero > *:not(.blog-banner) {
    position: relative;
    z-index: 2;
}
.blog-submenu {
    background: #181818;
    padding: 0.7rem 0;
    text-align: center;
    margin-bottom: 2rem;
}
.blog-submenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 2rem;
}
.blog-submenu a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.3em 0.8em;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.blog-submenu a:hover,
.blog-submenu a:focus {
    background: #333;
    color: #fff;
}

/* Blog Grid */
.blog-list h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.blog-preview {
    background: #181818;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    max-width: 320px;
    min-width: 220px;
    overflow: hidden;
    transition: transform 0.2s;
}
.blog-preview:hover {
    transform: translateY(-6px) scale(1.03);
}
.blog-preview img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.blog-preview h3 {
    color: #ffd700;
    margin: 1rem 1rem 0.5rem 1rem;
    font-size: 1.15rem;
}
.blog-preview p {
    color: #ccc;
    margin: 0 1rem 1.2rem 1rem;
    font-size: 1rem;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #1a1a1a;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 1rem;
    margin: 0 auto; 
}
.cta-button:hover {
    background-color: #ccc;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: #111;
    width: 100%;
    position: relative;
}
.footer a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: #888;
}

.text-with-inline-img {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 1.5rem 0 2rem 0;
}
.text-with-inline-img .text {
    flex: 1 1 0;
    min-width: 0;
}
.text-with-inline-img .inline-img {
    flex: 0 0 220px; /* Breite der Bildspalte */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.text-with-inline-img .inline-img img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}


/* Mobile Optimierung */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
        align-items: center;
    }
    .blog-grid {
        flex-direction: column;
        align-items: center;
    }
    .blog-submenu ul {
        gap: 1rem;
    }
    .logo img {
        margin-bottom: 0.1rem;
    }
    .footer {
        padding: 1rem;
        width: 100%;
        left: 0;
        box-sizing: border-box;
    }
    .text-with-inline-img {
        flex-direction: column;
        gap: 1rem;
    }
    .text-with-inline-img .inline-img {
        flex: 0 0 auto;
        width: 100%;
    }
    .text-with-inline-img .inline-img img {
        max-width: 100%;
    }
}

/* Schriftgrößen für Blog */
.blog-list h2,
.blog-preview h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

#lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
}
#lightbox-overlay.active {
    display: flex;
}
#lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    background: #222;
}
#lightbox-close {
    position: absolute;
    top: 2.5rem;
    right: 3.5rem;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}
#lightbox-close:hover {
    color: #ffd700;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    user-select: none;
    padding: 0 0.5em;
    transition: color 0.2s;
}
#lightbox-prev { left: 2vw; }
#lightbox-next { right: 2vw; }
.lightbox-arrow:hover {
    color: #ffd700;
}

.lostplace-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: center;
}
@media (max-width: 1100px) {
    .lostplace-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .lostplace-grid {
        grid-template-columns: 1fr;
    }
}
.lostplace-preview {
    width: 100%;
    max-width: 320px;
}
.lostplace-preview img {
    width: 100%;
    border-radius: 10px;
    display: block;
}
@media (min-width: 900px) {
    .nav-toggle {
        display: none !important;
    }
}
/* Mobile Navigation: Burger-Menü */
@media (max-width: 900px) {
    .nav-toggle {
        display: block !important;
        background: none;
        border: none;
        position: absolute;
        top: 2.2rem;
        right: 2.5rem;
        z-index: 1100;
        cursor: pointer;
    }
    .nav-toggle .bar {
        display: block;
        width: 32px;
        height: 4px;
        margin: 6px 0;
        background: #fff;
        border-radius: 2px;
        transition: 0.3s;
    }
    .nav-center {
        display: none;
        width: 100%;
        background: #232526;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 8px 32px rgba(0,0,0,0.25);
        z-index: 1099;
    }
    .nav-center.open {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        align-items: center;
    }
}

/* Desktop: Toggle ausblenden */
@media (min-width: 900px) {
    .nav-toggle {
        display: none !important;
    }
    .nav-center {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }
}
        .tipps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            justify-items: center;
            margin-top: 2.5rem;
        }
        .tipps-card {
            background: #181818;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.13);
            width: 200px;
            overflow: hidden;
            transition: transform 0.2s;
            text-decoration: none;
        }
        .tipps-card:hover {
            transform: translateY(-6px) scale(1.03);
        }
        .tipps-card img {
            width: 100%;
            height: 110px;
            object-fit: cover;
            display: block;
        }
        .tipps-card-content {
            padding: 0.8rem;
        }
        .tipps-card-title {
            color: #ffd700;
            font-size: 1.05rem;
            margin: 0 0 0.4rem 0;
        }
        .tipps-card-desc {
            color: #ccc;
            font-size: 0.97rem;
            margin: 0;
        }
        @media (max-width: 1100px) {
            .tipps-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 700px) {
            .tipps-grid { grid-template-columns: 1fr; }
            .tipps-card { width: 98vw; }
        }



.container ul li a,
.container ul p a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}
.container ul li a:hover,
.container ul p a:hover,
.container ul li a:focus,
.container ul p a:focus {
    color: #ffd700; /* Optional: beim Hover gold, sonst wie Text */
    text-decoration: underline;
}

.auch-interessant-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    justify-items: center;
    margin-bottom: 2.5rem;
}
.auch-interessant-grid > a:nth-child(5) {
    grid-column: 2 / span 2;
    justify-self: center;
}
@media (max-width: 1100px) {
    .auch-interessant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .auch-interessant-grid > a:nth-child(5) {
        grid-column: 1 / span 2;
    }
}
@media (max-width: 700px) {
    .auch-interessant-grid {
        grid-template-columns: 1fr;
    }
    .auch-interessant-grid > a:nth-child(5) {
        grid-column: 1;
    }
}
