* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
}

.menu a,
.submenu-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.submenu-card a:hover {
    text-decoration: underline;
}

body {
    font-family: "BodyFont";
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #fff0b9;
    font-family: "BodyFont";
}

a {
    color: black;
}

.title {
    font-family: "HeadingFont";
    color: #8f1d1d;
    font-size: larger;
    padding-bottom: 1%;
    padding-top: 50px;
}

text {
    font-family: "BodyFont";
    line-height: 2;
}

img {
    display: block;
    max-width: 100%;
}

#posts img {
    width: 100%;
    height: auto;
}

#posts figure {
    margin: 25px 0;
}

.page-hero {
    height: 55vh;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 0;
    background-color: #8f1d1d;
}

.container {
    margin: 10%;
    margin-top: 5%;
    font-size: large;
}

#post-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: larger;
}

#page-site-header {
    background-color: #fff0b9;
    background-size: cover;
    background-position: 50%;
    position: relative;
    text-align: center;
    padding: 250px 0;
}

.wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

h1 {
    color: #8f1d1d;
    font-family: "headingFont";
    font-size: 50px;
}

.page-title-bar {
    background: #8f1d1d;
    padding: 28px 0;
    text-align: center;
}

.page-title-bar h1 {
    color: #fff0b9;
    font-family: "HeadingFont";
    font-size: 50px;
    margin: 0;
}

/* =========================
   Startseite Intro
========================= */

#homepage-title {
    text-align: center;
    font-size: 64px;
    margin-bottom: 40px;
}

#posts {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: larger;
}

@media (max-width: 768px) {

    #homepage-title {
        font-size: 42px;
        margin-bottom: 30px;
    }

}

/* =========================
   Info Box index.html
========================= */

.info-bar {
    position: relative;
    margin-top: -70px; /* überlappt Hero */
    display: flex;
    justify-content: center;
}

.info-inner {
    background: #8f1d1d;
    color: white;
    padding: 30px 50px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    max-width: 1100px;
    width: 90%;
}

.divider {
    width: 2px;
    height: 70px;
    background: #fff0b9;
}

.info-left,
.info-right {
    flex: 1;
}

.info-bar a {
    color: #fff0b9;
    font-weight: bold;
    text-decoration: none;
}

.info-bar a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .info-inner {
        flex-direction: column;
        text-align: center;
    }
    .divider {
        display: none;
    }
}

/* =========================
   LOGO
========================= */

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

/* =========================
   FONTS
========================= */

@font-face {
    font-family: "HeadingFont";
    src: url("assets/fonts/martina-2.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "BodyFont";
    src: url("assets/fonts/din1451alt.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================
     HEADER
========================= */

.header {
    background: #8f1d1d;
    font-family: "HeadingFont";
    padding: 22px 20px;
    position: sticky;
    top: 0;
    z-index: 2000;
    font-size: larger;
}

/* =========================
     MENU
========================= */

.menu {
    position: relative;
    list-style: none;
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 50px;
    color: #fff0b9;
    font-weight: 600;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
}

.menu li {
    padding: 10px;
}

#card-title {
    display: none;
}

.menu li.active-submenu {
    color: #ffffff;
}

.menu li.active-submenu a {
    color: #ffffff;
}

/* =========================
     DIE EINE KARTE
========================= */

.submenu-card {
    position: fixed;
    top: 0;
    left: 70%;
    transform: translate(-50%, -120%) rotate(-5deg);
    width: min(1400px, 92vw);
    padding: 20px 40px;
    background: #fff0b9;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition:
        transform .90s cubic-bezier(.22, 1, .36, 1),
        opacity .25s;
    z-index: 1999;
}

.submenu-card::before {
    content: "";
    position: absolute;

    top: -180px;
    left: 0;
    width: 100%;
    height: 183px;

    background: #fff0b9;

    z-index: 0;
}

.submenu-card.open {
    transform: translate(-50%, 80px) rotate(-5deg);
    opacity: 1;
    pointer-events: auto;
    z-index: 1999;
}

.submenu-card h3 {
    margin-bottom: 10px;
}

.submenu-card ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.submenu-card li {
    margin-bottom: 6px;
}

/* =========================
   BURGER
========================= */

.burger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #8f1d1d;
    padding: 80px 20px 20px;
    transition: right .3s ease;
    z-index: 999;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
}

.mobile-sub {
    display: none;
    padding-left: 15px;
    margin-top: 8px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.mobile-sub.open {
    display: block;
}

/* =========================
   RESPONSIVE LOGO + MENU
========================= */

@media (max-width: 1100px) {
    .logo img {
        height: 50px;
    }
    .menu {
        gap: 30px;
        font-size: 1.4rem;
    }
    .submenu-card {
        font-size: large;
    }
}

@media (max-width: 900px) {
    .logo img {
        height: 50px;
    }
    .menu {
        gap: 20px;
        font-size: 1.2rem;
    }
    .submenu-card {
        font-size: medium;
    }
}

@media (max-width: 800px) {
    .menu {
        display: none;
    }
    .burger {
        display: block;
    }
    .submenu-card {
        display: none;
    }
    .logo img {
        height: 50px;
    }
}

/*
-------- Homepage Karussell ---------
*/

.homepage-carousel {
    background: #fff0b9;
    padding: 30px 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 90%;
    margin: 0 auto;
    z-index: 1;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 320px; /* feste Breite */
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 3 / 2; /* festes Bildformat */
    object-fit: cover;
    display: block;
}

/* Pfeile */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    background: #8f1d1d;
    color: #fff0b9;
    border: none;
    font-size: 28px;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.carousel-btn.prev {
    left: -40px;
}

.carousel-btn.next {
    right: -40px;
}

.carousel-btn:hover {

    background: #b52626;

}

/* =========================
   Mitgliedsantrag
========================= */

.apply-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background: #fff0b9;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    font-family: "BodyFont";
}

.apply-section h2 {
    margin-bottom: 25px;
    font-size: 2rem;
}

.apply-form .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.apply-form input,
.apply-form select {
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #8f1d1d;
    background: white;
}

.apply-form input:focus,
.apply-form select:focus {
    outline: none;
    border-color: #c52d2d;
}

.check {
    display: block;
    margin: 12px 0;
}

.btn-primary {
    background: #8f1d1d;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-primary:hover {
    background: #b52626;
}

/* =========================
   Mitgliedschaftsauswahl
========================= */

.membership {
    margin: 15px 0 20px 0;
}

.membership .label {
    font-weight: 600;
    margin-bottom: 8px;
}

.membership label {
    display: block;
    padding: 10px 14px;
    margin-bottom: 8px;
    background: white;
    border: 2px solid #8f1d1d;
    cursor: pointer;
    transition: .15s;
}

.membership input {
    margin-right: 8px;
}

.membership label:hover {
    background: #ffe7a3;
}

/* =========================
   Download-Links (Satzung/DSGVO/Beitragsordnung)
========================= */

.apply-documents {
    margin-bottom: 30px;
    padding: 20px;
    background: #f6f6f6;
}

.apply-documents h3 {
    margin-top: 0;
}

.apply-documents ul {
    list-style: none;
    padding: 0;
}

.apply-documents li {
    margin: 6px 0;
}

.apply-documents a {
    font-weight: 600;
}

/* =========================
   Veranstaltungen (NEU – integriert)
========================= */

.events-section {
    margin: 2rem auto;
}

.events-card {
    padding: 1.25rem 1.25rem 0.75rem;
    background: #fff0b9; /* angepasst an dein Karten-Design */
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.events-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-family: "HeadingFont";
}

.events-more {
    font-size: 0.95rem;
    text-decoration: none;
}

.events-more:hover {
    text-decoration: underline;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.events-table th,
.events-table td {
    padding: 0.75rem 0.6rem;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    text-align: left;
    vertical-align: top;
}

.events-table thead th {
    font-weight: 700;
}

.events-table a {
    text-decoration: none;
}

.events-table a:hover {
    text-decoration: underline;
}

/* =========================
   Fahrkalender
========================= */

.fahrkalender {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin: 30px 0;
}
  
.fahrkalender .monat {
    border: 3px solid #000;
    background: #fff0b9;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    padding: 16px 14px 14px;
    overflow: hidden; 
}
  
.fahrkalender .monat h3 {
    font-family: "BodyFont";
    color: #8f1d1d;
    text-align: center;
    font-size: 1.6rem;
    margin: 6px 0 12px;
}
  
.fahrkalender .grid {
    display: grid;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.fahrkalender .weekday {
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 0;
    background: rgba(0,0,0,0.08);
}
  
.fahrkalender .tag {
    min-width: 0;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    min-height: 40px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    font-family: "BodyFont";
    font-size: 1rem;
    user-select: none;
    transition: transform .08s ease, box-shadow .12s ease;
}

.fahrkalender .tag.empty {
    background: transparent;
    border: 0;
}

.fahrkalender .tag:not(.empty):hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

.fahrkalender .tag.event      { background: #00b050; color: #fff; border-color: transparent; }
.fahrkalender .tag.akku_pm    { background: #a6c9ec; color: #fff; border-color: transparent; }
.fahrkalender .tag.akku_full  { background: #0070c0; color: #fff; border-color: transparent; }
.fahrkalender .tag.dampf_full { background: #861A22; color: #fff; border-color: transparent; }
.fahrkalender .tag.mix        { background: #f3bbbe; color: #111; border-color: transparent; }
.fahrkalender .tag.winter     { background: #73899e; color: #fff; border-color: transparent; }
  
.fahrkalender-legende {
    margin: 18px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
  
.fahrkalender-legende .legend-item {
    padding: 8px 12px;
    font-family: "BodyFont";
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 10px 18px rgba(0,0,0,.15);
}
  
.fahrkalender-legende .legend-item.event      { background: #00b050; }
.fahrkalender-legende .legend-item.akku_pm    { background: #a6c9ec; }
.fahrkalender-legende .legend-item.akku_full  { background: #0070c0; }
.fahrkalender-legende .legend-item.dampf_full { background: #861A22; }
.fahrkalender-legende .legend-item.mix        { background: #f3bbbe; color:#111; }
.fahrkalender-legende .legend-item.winter     { background: #73899e; }

/* =========================
   Fahrkalender Tooltip / Popover
========================= */

.fahrkalender .tag {
    position: relative;
    cursor: pointer;
}

.fahrkalender .tag:focus {
    outline: 2px solid #8f1d1d;
    outline-offset: 2px;
}

.fahrkalender-tooltip {
    position: fixed;
    z-index: 9999;
    max-width: 280px;
    background: #fffdf3;
    color: #222;
    border: 2px solid #8f1d1d;
    box-shadow: 0 16px 35px rgba(0,0,0,.22);
    padding: 12px 14px;
    font-family: "BodyFont";
    font-size: 0.95rem;
    line-height: 1.4;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease;
}

.fahrkalender-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fahrkalender-tooltip .fk-date {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    color: #8f1d1d;
}

.fahrkalender-tooltip .fk-info {
    display: block;
}

.fahrkalender-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #8f1d1d transparent transparent transparent;
}

.fahrkalender-tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #fffdf3 transparent transparent transparent;
    z-index: 1;
}

.fahrkalender-tooltip a {
    color: #8f1d1d;
    font-weight: bold;
    pointer-events: auto;
}

.fahrkalender-tooltip a:hover {
    text-decoration: underline;
}

/* Mobile: Tooltip als Bottom Sheet */
@media (max-width: 768px) {
    .fahrkalender-tooltip {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        top: auto !important;
        max-width: none;
        width: auto;
        transform: translateY(20px);
        pointer-events: auto;
        border-radius: 16px;
        padding: 14px 16px;
    }

    .fahrkalender-tooltip.visible {
        transform: translateY(0);
    }

    .fahrkalender-tooltip::after,
    .fahrkalender-tooltip::before {
        display: none;
    }
}

/*
Fahrpreise
*/

.fahrpreise-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: "BodyFont";
    border: solid 3px black;
}
  
.fahrpreise-table th {
    background: #8f1d1d;
    color: #fff0b9;
    padding: 10px;
    text-align: left;
}
  
.fahrpreise-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
  
.fahrpreise-table tr:nth-child(even) {
    background: #fff7d6;
}
  
.fahrpreise-footnotes {
    margin-top: 15px;
    font-size: 0.9rem;
}

.fahrpreise-footnotes ul {
    margin: 6px 0 12px 20px;
    padding-left: 20px;
}

/*
------------ FAQ ------------
*/
.faq-accordion {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #d9d9d9;
    overflow: hidden;
    background: #000;
}

.faq-question {
    color: #fff0b9;
    width: 100%;
    background: #861A22;
    border: none;
    padding: 1rem 1.25rem;
    font: inherit;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #4b0f14;
}

.faq-icon {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.2s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-answer {
    background-color: #fff0b9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer p:first-child,
.faq-answer ul:first-child,
.faq-answer ol:first-child {
    margin-top: 1rem;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
    margin-bottom: 0;
}

/*
-------- Karten / Leaflet ---------
*/

/* Gemeinsamer Kartenstil für beide Karten */
.auensee-map,
.deutschland-map {
    z-index: 1;
    width: 100%;
    height: 560px;
    margin-top: 2rem;
    overflow: hidden;

    border: 6px solid #8f1d1d;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    background: #fffaf0;
}

/* Falls die Deutschlandkarte etwas größer sein soll */
.deutschland-map {
    height: 650px;
}

/* Optionaler Einleitungstext über Karten */
.strecke-intro {
    margin-top: 1rem;
    line-height: 1.6;
}

/* Leaflet allgemein */
.leaflet-container {
    font-family: "BodyFont", sans-serif;
    background: #f6f1e3;
}

/* Popup außen */
.leaflet-popup-content-wrapper {
    background: #fffaf0;
    border-radius: 0;
    box-shadow: 0 12px 24px rgba(0,0,0,.2);
}

/* Popup innen */
.leaflet-popup-content {
    margin: 14px 16px;
    color: #222;
    line-height: 1.5;
    min-width: 220px;
}

/* Überschriften in Popups */
.leaflet-popup-content h3,
.map-popup h3 {
    margin: 0 0 0.5rem 0;
    color: #8f1d1d;
    font-family: "HeadingFont", sans-serif;
    font-size: 1.2rem;
}

/* Popup-Text */
.leaflet-popup-content p,
.map-popup p {
    margin: 0;
}

/* Popup-Spitze */
.leaflet-popup-tip {
    background: #fffaf0;
}

/* Bild im Popup */
.map-popup-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    border: 3px solid #8f1d1d;
}

/* Custom Marker */
.custom-pin {
    width: 34px;
    height: 34px;
    display: block;
}

/* Mobile etwas flacher */
@media (max-width: 768px) {
    .auensee-map,
    .deutschland-map {
        height: 420px;
    }

    .deutschland-map {
        height: 500px;
    }

    .leaflet-popup-content {
        min-width: 180px;
    }
}

/*
-------- Entlang der Strecke: Detailkarten ---------
*/

.location-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-card {
    background: #fff0b9;
    border: 4px solid #8f1d1d;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    scroll-margin-top: 120px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.location-card.active {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0,0,0,.25);
}

.location-card-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    align-items: stretch;
}

.location-card-image img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    border-right: 4px solid #8f1d1d;
}

.location-card-content {
    padding: 2rem;
}

.location-card-content h3 {
    font-family: "HeadingFont";
    color: #8f1d1d;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location-card-content p {
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
}

.location-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.location-btn,
.location-link,
.popup-detail-btn {
    font-family: "BodyFont";
    font-size: 1rem;
    padding: 12px 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.location-btn,
.popup-detail-btn {
    background: #8f1d1d;
    color: #fff0b9;
    border: none;
}

.location-btn:hover,
.popup-detail-btn:hover {
    background: #b52626;
}

.location-link {
    background: transparent;
    color: #8f1d1d;
    border: 2px solid #8f1d1d;
}

.location-link:hover {
    background: #8f1d1d;
    color: #fff0b9;
}

.map-popup .popup-detail-btn {
    margin: 0 0 0.75rem 0;
    display: inline-block;
}

@media (max-width: 900px) {
    .location-card-inner {
        grid-template-columns: 1fr;
    }

    .location-card-image img {
        border-right: none;
        border-bottom: 4px solid #8f1d1d;
        min-height: 220px;
    }

    .location-card-content {
        padding: 1.5rem;
    }

    .location-card-content h3 {
        font-size: 1.7rem;
    }
}

/* =========================
   Timeline / Projekte
========================= */

.projects-section {
    padding: 60px 0 100px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Desktop Layout */

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
}

.timeline-image,
.timeline-line,
.timeline-text {
    grid-row: 1;
}

/* Linie */

.timeline-line {
    height: 4px;
    width: 100%;
    background: #111;
}

/* Bild */

.timeline-image img {
    width: 100%;
    max-width: 420px;
    height: auto;

    border: 6px solid #8f1d1d;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

/* Text */

.timeline-text {
    background: #8f1d1d;
    color: #fff0b9;

    padding: 32px 36px;

    border: 4px solid #111;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);

    max-width: 520px;
}

.timeline-text h2 {
    font-family: "HeadingFont";
    font-size: 2.2rem;
    margin-bottom: 16px;
}

/* Links */

.timeline-item.left .timeline-image {
    grid-column: 1;
    justify-self: end;
}

.timeline-item.left .timeline-line {
    grid-column: 2;
}

.timeline-item.left .timeline-text {
    grid-column: 3;
}

/* Rechts */

.timeline-item.right .timeline-image {
    grid-column: 3;
}

.timeline-item.right .timeline-line {
    grid-column: 2;
}

.timeline-item.right .timeline-text {
    grid-column: 1;
    justify-self: end;
}

/* Große Bildschirme */

@media (min-width: 1600px) {

    .timeline-image img {
        max-width: 520px;
    }

    .timeline-text {
        max-width: 620px;
        padding: 40px 44px;
    }

}

/* =========================
   MOBILE LAYOUT
========================= */

@media (max-width: 900px) {

    .timeline-item {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .timeline-line {
        display: none;
    }

    /* Bild leicht rechts */

    .timeline-image img {
        width: 85%;
        max-width: 420px;
        margin-left: auto;
    }

    /* Text leicht links */

    .timeline-text {
        width: 85%;
        max-width: none;
        margin-right: auto;
    }

}

/*
--------- Anreise ---------
*/
.anreise-section {
    padding: 3rem 0 5rem;
}

.anreise-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    align-items: stretch;
}

.anreise-info {
    background: #8f1d1d;
    color: #fff0b9;
    padding: 2rem;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.anreise-info h2 {
    font-family: "HeadingFont";
    color: #fff0b9;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.anreise-info p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.anreise-info p:last-child {
    margin-bottom: 0;
}

#anreise-map {
    z-index: 1;
    min-height: 420px;
}

@media (max-width: 900px) {
    .anreise-grid {
        grid-template-columns: 1fr;
    }

    #anreise-map {
        min-height: 380px;
    }
}

/*
-------- Kontakt ---------
*/

.kontakt-section {
    padding: 3rem 0 5rem;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

.kontakt-form-box,
.kontakt-info-box {
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.kontakt-form-box {
    background: #fff0b9;
    padding: 2rem;
}

.kontakt-info-box {
    background: #8f1d1d;
    color: #fff0b9;
    padding: 2rem;
}

.kontakt-form-box h2,
.kontakt-info-box h2 {
    font-family: "HeadingFont";
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.kontakt-form-box h2 {
    color: #8f1d1d;
}

.kontakt-info-box h2,
.kontakt-info-box h3 {
    color: #fff0b9;
}

.kontakt-info-box h3 {
    font-family: "HeadingFont";
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.kontakt-block + .kontakt-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 240, 185, 0.35);
}

.kontakt-info-box p {
    line-height: 1.7;
    margin: 0;
}

.kontakt-info-box a {
    color: #fff0b9;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.kontakt-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-field label {
    font-family: "BodyFont";
    font-weight: 700;
    color: #8f1d1d;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #8f1d1d;
    background: #fff;
    font: inherit;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #b52626;
}

.kontakt-form .btn-primary {
    align-self: flex-start;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-form-row {
        grid-template-columns: 1fr;
    }
}

/*
-------- Sonderfahrten ---------
*/

.sonderfahrten-section {
    padding: 3rem 0 5rem;
}

.sonderfahrten-hinweis {
    background: #8f1d1d;
    color: #fff0b9;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.sonderfahrten-hinweis h2 {
    font-family: "HeadingFont";
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff0b9;
}

.sonderfahrten-hinweis p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
}

.sonderfahrten-hinweis p:last-child {
    margin-bottom: 0;
}

.sonderfahrten-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.sonderfahrten-form-box {
    background: #fff0b9;
    padding: 2rem;
    border: 4px solid #8f1d1d;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.sonderfahrten-form-box h2 {
    font-family: "HeadingFont";
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #8f1d1d;
}

.sonderfahrten-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

/*
-------- Footer Partner ---------
*/

.site-footer {
    background: #fff0b9;
    margin-top: 4rem;
}

.footer-partners {
    padding: 2.5rem 10%;
    border-top: 6px solid #8f1d1d;
}

.footer-partners h2 {
    font-family: "HeadingFont";
    color: #8f1d1d;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.footer-partner-item {
    width: 160px;
    height: 120px;
    background: #fff;
    border: 2px solid #8f1d1d;
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0,0,0,.18);
}

.footer-partner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 1.25rem;
    background: #8f1d1d;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-bottom a {
    color: #fff0b9;
    text-decoration: none;
    font-family: "BodyFont";
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/*
-------- Footer Social / Intranet ---------
*/

.footer-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: #fff0b9;
    border-top: 2px solid rgba(0,0,0,0.1);
}

.footer-social span {
    font-family: "BodyFont";
    margin-right: 10px;
}

.footer-social-left,
.footer-social-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-left img {
    width: 28px;
    height: 28px;
    transition: transform .2s ease;
}

.footer-social-left img:hover {
    transform: translateY(-2px);
}

/* EasyVerein Logo */
.footer-social-right img {
    height: 34px;
    width: auto;
}

@media (max-width: 700px) {

    .footer-social {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

}