/* Grundlegende Stile */

:root {

    --color-dark-metal: #2c3e50; /* Dunkles Metallgrau */

    --color-brass: #e6b325;     /* Messing/Gold */

    --color-accent-red: #c0392b; /* Akzentrot */

    --color-light-grey: #ecf0f1; /* Helles Grau für Hintergrund/Text */

    --color-white: #ffffff;

    --font-heading: 'Oswald', sans-serif;

    --font-body: 'Roboto', sans-serif;

}

body {

    font-family: var(--font-body);

    margin: 0;

    padding: 0;

    background-color: var(--color-light-grey);

    color: var(--color-dark-metal);

    line-height: 1.6;

}

.container {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 0;

}

/* Header */

.main-header {

    background-color: var(--color-dark-metal);

    color: var(--color-white);

    padding: 20px 0;

    box-shadow: 0 4px 8px rgba(0,0,0,0.2);

}

.site-title {

    font-family: var(--font-heading);

    text-align: center;

    margin: 0;

    font-size: 2.5em;

    letter-spacing: 2px;

    text-transform: uppercase;

}

.main-nav ul {

    list-style: none;

    padding: 0;

    display: flex;

    justify-content: center;

    margin-top: 15px;

}

.main-nav ul li {

    margin: 0 20px;

}

.main-nav ul li a {

    color: var(--color-white);

    text-decoration: none;

    font-weight: 700;

    font-size: 1.1em;

    padding: 5px 0;

    transition: color 0.3s ease, border-bottom 0.3s ease;

}

.main-nav ul li a:hover {

    color: var(--color-brass);

    border-bottom: 2px solid var(--color-brass);

}

/* Hero Section */

.hero-section {

    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1600x600/34495e/ffffff?text=Dampflok+in+SH') no-repeat center center/cover;

    color: var(--color-white);

    text-align: center;

    padding: 100px 20px;

    margin-bottom: 40px;

    position: relative;

    overflow: hidden;

}

.hero-section h2 {

    font-family: var(--font-heading);

    font-size: 3em;

    margin-bottom: 20px;

    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);

}

.hero-section p {

    font-size: 1.3em;

    max-width: 800px;

    margin: 0 auto;

}

/* Content Area */

.content-area {

    background-color: var(--color-white);

    padding: 40px;

    border-radius: 8px;

    box-shadow: 0 0 15px rgba(0,0,0,0.1);

}

.section-block {

    margin-bottom: 40px;

    padding-bottom: 20px;

    border-bottom: 1px solid #eee;

}

.section-block:last-child {

    border-bottom: none;

}

.section-block h3 {

    font-family: var(--font-heading);

    font-size: 2em;

    color: var(--color-dark-metal);

    margin-bottom: 20px;

    position: relative;

    padding-bottom: 10px;

}

.section-block h3::after {

    content: '';

    position: absolute;

    left: 0;

    bottom: 0;

    width: 60px;

    height: 4px;

    background-color: var(--color-brass);

    border-radius: 2px;

}

/* Grid Layout für Strecken */

.grid-layout {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    margin-top: 30px;

}

.grid-item {

    background-color: #f9f9f9;

    border: 1px solid #ddd;

    border-radius: 5px;

    padding: 20px;

    text-align: center;

    box-shadow: 0 2px 5px rgba(0,0,0,0.05);

    transition: transform 0.3s ease;

}

.grid-item:hover {

    transform: translateY(-5px);

}

.grid-item h4 {

    color: var(--color-accent-red);

    font-family: var(--font-heading);

    font-size: 1.4em;

    margin-top: 0;

}

/* Bahnhofsuhr */

.clock-section {

    text-align: center;

}

.clock-container {

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 30px 0;

}

.clock {

    width: 250px;

    height: 250px;

    border: 8px solid var(--color-dark-metal);

    border-radius: 50%;

    position: relative;

    background-color: var(--color-white);

    box-shadow: inset 0 0 15px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.3);

}

.clock::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 10px;

    height: 10px;

    background-color: var(--color-brass);

    border-radius: 50%;

    z-index: 10;

}

.hand {

    position: absolute;

    left: 50%;

    transform-origin: bottom center;

    background-color: var(--color-dark-metal);

    border-radius: 2px;

    z-index: 5;

}

.hour {

    width: 6px;

    height: 70px;

    top: calc(50% - 70px);

    margin-left: -3px;

}

.minute {

    width: 4px;

    height: 90px;

    top: calc(50% - 90px);

    margin-left: -2px;

}

.second {

    width: 2px;

    height: 100px;

    top: calc(50% - 100px);

    margin-left: -1px;

    background-color: var(--color-accent-red); /* Roter Sekundenzeiger */

}

.center-dot {

    width: 15px;

    height: 15px;

    background-color: var(--color-brass);

    border-radius: 50%;

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 11;

    border: 2px solid var(--color-white);

}

/* Galerie Platzhalter */

.image-placeholder {

    background-color: #ddd;

    height: 200px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 5px;

    margin-bottom: 15px;

    font-style: italic;

    color: #666;

}

/* Kontaktformular */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 15px;

    max-width: 500px;

    margin: 20px auto 0;

}

.contact-form input[type="text"],

.contact-form input[type="email"],

.contact-form textarea {

    padding: 12px;

    border: 1px solid #ccc;

    border-radius: 5px;

    font-size: 1em;

    font-family: var(--font-body);

}

.contact-form textarea {

    min-height: 120px;

    resize: vertical;

}

.contact-form button {

    background-color: var(--color-accent-red);

    color: var(--color-white);

    padding: 12px 20px;

    border: none;

    border-radius: 5px;

    font-size: 1.1em;

    cursor: pointer;

    transition: background-color 0.3s ease;

}

.contact-form button:hover {

    background-color: #a32e22; /* Dunkleres Rot beim Hover */

}

/* Footer */

.main-footer {

    background-color: var(--color-dark-metal);

    color: var(--color-white);

    padding: 30px 0;

    text-align: center;

    margin-top: 40px;

    box-shadow: 0 -4px 8px rgba(0,0,0,0.2);

}

.social-links a {

    color: var(--color-brass);

    text-decoration: none;

    margin: 0 10px;

    font-weight: 700;

    transition: color 0.3s ease;

}

.social-links a:hover {

    color: var(--color-white);

}

/* Responsive Design */

@media (max-width: 768px) {

    .site-title {

        font-size: 2em;

    }

    .main-nav ul {

        flex-direction: column;

        align-items: center;

    }

    .main-nav ul li {

        margin: 10px 0;

    }

    .hero-section h2 {

        font-size: 2.2em;

    }

    .content-area {

        padding: 20px;

    }

    .grid-layout {

        grid-template-columns: 1fr;

    }

}

