/* Allgemeine Reset-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #D0B369;
}

/* Header */
header {
    background: #000; /* Schwarz, kein Farbverlauf */
    padding: 0 0 10px;
    position: relative;
    overflow: hidden;
    animation: slideIn 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header-Background-Animation */
@keyframes slideIn {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.logo {
    margin-bottom: 5px;
    position: relative;
    display: block;
}

header nav {
    display: flex;
    justify-content: center;
    z-index: 2;
}

header nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 20px;
    position: relative;
}

header nav ul li a {
    color: #D0B369;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
}

header nav ul li a:hover {
    color: #fff;
    transform: translateY(-5px);
    letter-spacing: 2px;
}

header nav ul li a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D0B369;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

header nav ul li a:hover::before {
    transform: scaleX(1);
}

/* Responsive Header */
@media (max-width: 768px) {
    header {
        padding: 30px 0 10px;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    header nav ul li a {
        font-size: 18px;
    }

    .logo {
        margin-bottom: 15px;
    }

    header {
        justify-content: flex-start;
    }

    .header-container {
        justify-content: flex-start;
    }

    .logo {
        position: absolute;
        left: 10px;
    }
}

/* Hauptbereich */
main {
    margin-top: 30px;
}

/* Bildsektionen */
.image-section {
    position: relative;
    width: 100%;
    height: 700px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

#vermietung {
    background-image: url('images/Oberhof.jpg'); 
}

#sonderzuege {
    background-image: url('images/1753866932561.jpg');
}

#dampfzuege {
    background-image: url('images/20250412_190737 (002).jpg');
}

#neues {
    background-image: url('images/weinberg.jpg');
}

#schienenbus {
    background-image: url('images/vt98_edited.jpg');
}

/* Overlay-Styling */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.0);
    color: #D0B369;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.overlay h2 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    padding-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.overlay p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 20px;
}

.overlay button {
    background-color: #D0B369;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}

.overlay button:hover {
    background-color: #fff;
    color: #000;
}

.overlay h2 {
    position: absolute;
    top: 20px;
    left: 20px;
}

.overlay p {
    position: absolute;
    bottom: 40px;
    left: 20px;
    font-size: 24px;
    max-width: 60%;
}

.overlay button {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* Footer */
footer {
    background-color: #000;
    color: #D0B369;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    font-size: 14px;
    margin: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    width: 30%;
}

.footer-center {
    padding: 20px;
    width: 40%;
    text-align: center;
}

.footer-right {
    width: 30%;
    text-align: right;
}

.footer-link a {
    text-decoration: none;
    color: #D0B369;
}

/* Responsive Design */
@media (max-width: 768px) {
    .overlay h2 {
        font-size: 24px;
        position: relative;
    }

    .overlay p {
        font-size: 16px;
        position: relative;
        margin-top: 10px;
    }

    .overlay button {
        font-size: 14px;
    }
}

/* Allgemeine Formatierungen für den Event - Hauptbereich */
.centered {
    text-align: center;
}

/* Bild + Text */
.image-container {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.image-container img {
    max-width: 450px;
    margin-right: 20px;
    padding: 20px;
}

.text-container {
    width: 900px;
    color: #D0B369;
}

.text-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.text-container ul {
    list-style-type: disc;
    padding-left: 20px;
}

.text-container ul li {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Tabs */
.tabs-container {
    display: flex;
    margin-top: 20px;
}

.tab {
    background-color: #111;
    padding: 10px 20px;
    cursor: pointer;
    text-align: center;
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    border: none;
    position: relative;
    color: #D0B369;
}

.tab:hover {
    background-color: #222;
    border-bottom: 3px solid #D0B369;
}

.tab-content {
    display: none;
    margin-top: 20px;
    color: #D0B369;
}

.active-tab {
    background-color: #D0B369;
    color: #000;
}

.tab.active {
    background-color: #D0B369;
    color: #000;
}

/* Anker-Überschriften */
#dinner, #dampf {
    padding-top: 30px;
    margin-top: 50px;
    font-size: 28px;
    color: #D0B369;
    border-bottom: 2px solid #D0B369;
}

/* Charter */
.charter-container {
    width: 55%;
    margin: 0 auto;
    padding: 20px;
    background-color: #111;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
    color: #D0B369;
}

.charter-container h2,
.charter-container h4,
.charter-container h5 {
    text-align: center;
}

.charter-container h4 {
    text-align: left;
    margin-bottom: 10px;
}

.charter-container ul {
    list-style-type: none;
    padding-left: 0;
}

.charter-container li {
    text-align: left;
    margin-left: 20px;
    line-height: 1.6;
}

.charter-container a {
    color: #D0B369;
    text-decoration: none;
}

.charter-container a:hover {
    text-decoration: underline;
}

/* Preisschilder */
.container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
    margin: 20px;
}

.preisschild {
    width: 200px;
    padding: 20px;
    background-color: #111;
    border: 2px solid #D0B369;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #D0B369;
}

.preisschild::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #D0B369;
}

.preisschild h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: #D0B369;
}

.preisschild .preis {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
    color: #D0B369;
}

.preisschild .währung {
    font-size: 16px;
    font-weight: 300;
    color: #D0B369;
    letter-spacing: 1px;
}
