/* Basis-Button-Stil */
.freuden-button,
.freuden-button:link,
.freuden-button:visited,
.freuden-button:hover,
.freuden-button:active {
    display: inline-block;
    text-decoration: none;      /* Keine Unterstreichung */
    color: #fff;                /* Standard: weiße Schrift */
    border-radius: 4px;         /* Leicht abgerundet */
    padding: 10px 18px;         /* Standard-Innenabstand */
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Größenvarianten */
.freuden-button.large {
    padding: 14px 26px;         /* Mehr Luft für große Buttons */
    font-size: 1.1rem;
}

.freuden-button.small {
    padding: 6px 12px;          /* Etwas mehr Luft als vorher */
    font-size: 0.85rem;
}

/* Primärer Button (Farbe #01b3a7) */
.freuden-button.primary {
    background-color: #01b3a7;
    color: #fff;
}

.freuden-button.primary:hover {
    background-color: #019c92;  /* etwas dunkler für Hover */
    color: #fff;
}

/* Sekundärer Button (Grau) */
.freuden-button.secondary {
    background-color: #999;
    color: #fff;
}

.freuden-button.secondary:hover {
    background-color: #777;
    color: #fff;
}

/* Outline-Button */
.freuden-button.outline {
    background: transparent;
    border: 2px solid #01b3a7;
    color: #01b3a7;
}

.freuden-button.outline:hover {
    background-color: #01b3a7;
    color: #fff;
}
	
/* --- Timeline -------------------------------------------- */

/* Container */
.travel-timeline {
    position: relative;
    padding: 10px 0 20px 0;
    max-width: 680px;
    margin: 0.6rem auto 1.2rem auto;
    scroll-margin-top: 120px;
}

/* Items */
.timeline-item {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 30px; 
    padding-left: 30px;
    border-left: 3px solid #27ae60;
    font-size: 0.95rem;
}

/* Link-Styling generell im Item (betrifft v.a. die Stationen) */
.timeline-item a {
    text-decoration: none;
    color: inherit;
}

/* Stationen-Titel */
.timeline-station {
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    color: #162E44;
}

.timeline-item a:hover .timeline-station {
    color: #27ae60;
}

/* JETZT: Links in der Beschreibung (überschreibt die generelle Regel oben) */
.timeline-description a {
    color: #27ae60 !important;           /* Erzwingt das Grün */
    text-decoration: underline !important; /* Erzwingt den Unterstrich */
    font-weight: 500;
    transition: color 0.3s ease;
}

.timeline-description a:hover {
    color: #162E44 !important;
    text-decoration: none !important;
}

/* Letztes Item: Linie abschalten */
.timeline-item:last-child {
    border-left: 3px solid transparent;
    padding-bottom: 0;
}

/* Punkt */
.timeline-dot {
    position: absolute;
    left: -16.5px; 
    top: 0;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border: 2px solid #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Pfeil (Dreieck) */
.timeline-item::after {
    content: "";
    position: absolute;
    left: -6.5px;
    top: 66%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #27ae60;
    transform: translateY(-50%); 
    z-index: 1;
}

.timeline-item:last-child::after {
    display: none !important;
}

/* --- Wander-Liste (Mask-Element) --- */
.custom-tour-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* 30px Abstand nach oben/unten, 'auto' sorgt für die Zentrierung links/rechts */
    margin: 30px auto; 
    /* Die magische Zahl für dein Layout: */
    max-width: 732px; 
    width: 100%;
    /* Verhindert, dass die Liste am Rand klebt, falls das Fenster kleiner wird */
    padding: 0 15px; 
    box-sizing: border-box;
}

.tour-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.tour-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.tour-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tour-circle.easy { background-color: #27ae60; }   /* Grün */
.tour-circle.medium { background-color: #f39c12; } /* Orange */
.tour-circle.hard { background-color: #e74c3c; }   /* Rot */

.tour-details { display: flex; flex-direction: column; }
.tour-name { font-weight: bold; color: #333; font-size: 1.1rem; line-height: 1.2; }
.tour-meta { font-size: 0.85rem; color: #666; margin-top: 2px; }

/* --- Fix für mobile Zentrierung --- */
@media (max-width: 768px) {
    .custom-tour-list {
        /* Stellt sicher, dass die Liste selbst links startet */
        align-items: flex-start !important; 
    }

    .tour-item {
        /* Erzwingt, dass Kreis und Text immer linksbündig nebeneinander stehen */
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100%;
    }

    .tour-details {
        /* Richtet den Namen und die Daten (km/h) linksbündig untereinander aus */
        align-items: flex-start !important;
        text-align: left !important;
    }

    .tour-name, .tour-meta {
        /* Verhindert, dass einzelne Textzeilen vom Theme zentriert werden */
        text-align: left !important;
        display: block !important;
        width: 100%;
    }
}

/* =========================================
   HERO OVERLAY
   ========================================= */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #fff;
}

/* Hintergrundbereich */
.hero__background {
    position: relative;
    width: 100%;
    height: 75vh;          /* Desktop-Höhe */
    min-height: 500px;     /* Desktop-Mindesthöhe */
}

/* Bild */
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay – Variante A */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.00) 0%,    /* oben komplett transparent */
        rgba(0, 0, 0, 0.00) 60%,   /* bis 60% weiterhin transparent */
        rgba(0, 0, 0, 0.55) 100%   /* unten dunkler Bereich für Text */
    );
    pointer-events: none;
}

/* Textbereich */
.hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 1.5rem 3rem;
}

.hero-body {
    max-width: 900px;
}

/* Titel */
.hero__title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

/* Untertitel */
.hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0;
    color: #f2f2f2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .hero__background {
        height: 65vh;       /* Mobile-Höhe */
        min-height: 350px;  /* Mobile-Mindesthöhe */
    }

    .hero__title {
        font-size: 1.9rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }
}

/* =========================================
   Mask-FAQ - Harmonisiert auf 800px
   ========================================= */

.faq-accordion {
    max-width: 800px;      /* Identisch zur Wanderinfobox */
    width: 95%;           /* Sicherheitsabstand mobil */
    margin: 2rem auto;    /* Zentrierung */
}

.faq-card {
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
}

/* Der Button/Header */
.faq-header button {
    background: none;
    border: none;
    padding: 15px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    box-shadow: none !important;
    transition: background 0.2s ease;
}

.faq-header button:hover {
    background-color: #f9f9f9;
}

/* Emoji & Text */
.faq-emoji {
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-question-text {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    flex-grow: 1;
    line-height: 1.4;
}

/* Der Pfeil */
.faq-arrow {
    transition: transform 0.3s ease;
    color: #999;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* Rotation des Pfeils bei Bootstrap-Akkordeon */
.faq-header button:not(.collapsed) .faq-arrow {
    transform: rotate(180deg);
}

/* Antwort-Bereich */
.faq-answer-container {
    padding: 0 20px 20px 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-divider {
    margin: 0 0 15px 0;
    border-top: 1px solid #eee;
}

/* Mobile Anpassung */
@media (max-width: 600px) {
    .faq-accordion {
        width: 100%; /* Mobil volle Breite nutzen */
    }
    .faq-header button {
        padding: 12px 15px;
    }
}

/* --- Wander-Infobox (Harmonisiert) ----------------------------------- */

/* 1. Die Hauptbox - Einheitlich mit FAQ-Breite */
.wander-infobox {
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-left: 6px solid #4a6741;
    border-radius: 4px;
    padding: 1.4rem 1.6rem;
    max-width: 800px; 
    width: 95%;
    margin: 1.2rem auto 1.6rem auto; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    box-sizing: border-box;
    text-align: left;
}

/* 2. Der Header innerhalb der Box */
.wander-header-container {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

.wander-header-container h2, 
.wander-header-container h3, 
.wander-header-container h4 {
    text-align: left !important;
    margin: 0 !important;
    color: #4a6741; 
    font-size: 1.15rem !important; 
    font-weight: 600;
    line-height: 1.2;
}

/* 3. Das Spalten-Grid (Desktop 2-spaltig, mobil 1-spaltig) */
.wander-infobox-grid {
    display: grid;
    /* Nutzt auto-fit: Schaltet automatisch auf 1 Spalte, wenn Platz < 250px */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem 1.2rem; 
    text-align: left;
    margin-top: 15px;
}

/* 4. Die einzelnen Info-Elemente */
.wander-infobox-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.95rem; 
    color: #555;
    line-height: 1.35;
}

.wander-infobox-item .icon {
    font-size: 1.25rem;
    width: 1.5rem;
    margin-right: 10px;
    flex-shrink: 0;
    text-align: center;
    opacity: 0.85;
}

/* 5. Links & Ampel-Logik */
.wander-infobox-item a {
    color: #4a6741;
    text-decoration: underline;
    font-weight: 500;
}

.difficulty-1, .difficulty-leicht { color: #28a745 !important; font-weight: bold; }
.difficulty-2, .difficulty-mittel { color: #fd7e14 !important; font-weight: bold; }
.difficulty-3, .difficulty-schwer { color: #dc3545 !important; font-weight: bold; }

/* Mobile Korrekturen */
@media (max-width: 600px) {
    .wander-infobox {
        padding: 1rem;
        width: 100%; /* Nutzt mobil den vollen Platz im Container */
    }
}

/* Mobil: Untereinander in voller Breite */
.image-duo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    width: 100%;
    margin-bottom: 3rem; /* Abstand nach unten */
}

.image-duo__item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px; /* optional */
}

/* Desktop: Hochformat (links, schmaler) & Querformat (rechts, breiter) */
@media (min-width: 768px) {
    .image-duo {
        /* 4fr für Hochformat (2:3), 9fr für Querformat (3:2) */
        grid-template-columns: 4fr 9fr;
        align-items: start;
    }
}

/* --- Bild-Duo Hover-Effekt & Optik --- */
.image-duo__item {
    overflow: hidden; /* Verhindert, dass das Bild beim Skalieren über den abgerundeten Rahmen ragt */
    border-radius: 4px;
}

.image-duo__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Weicher Übergang beim Hovern */
}

/* Der Hover-Effekt: Bild zoomt minimal heran */
.image-duo__item:hover img {
    transform: scale(1.2);
    opacity: 0.95;
}

/* Anklickbare Bilder im Duo-Element bekommen den Hand-Cursor */
.image-duo__item a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}


