/* ---------------------- Layout Basis ---------------------- */

.cruise-results-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 1px 1px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ---------------------- Sidebar ---------------------- */

.cruise-filter-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* ---------------------- Content ---------------------- */

.cruise-results-content {
    width: 100%;
}

.cruise-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* ---------------------- Horizontal Card ---------------------- */

.cruise-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cruise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ---------------------- Links: Text ---------------------- */

.cruise-info {
    width: 60%;
    padding: 25px;
}

.cruise-info h3 {
    font-size: 22px;
    color: #083d77;
    margin-bottom: 12px;
}

.cruise-info p {
    font-size: 15px;
    margin: 5px 0;
}

.promo {
    margin-top: 8px;
    font-style: italic;
    color: #666;
}

/* ---------------------- Rechts: Bild + Button ---------------------- */

.cruise-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Bild oben */
.cruise-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.cruise-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.cruise-card:hover .cruise-img {
    transform: scale(1.12);
}

/* Anbieter-Logo */
.cruise-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 85px;
    background: rgba(255,255,255,0.88);
    border-radius: 6px;
    padding: 4px;
}

/* Buttons unten */
.cruise-actions {
    width: 100%;
    padding: 20px;
    text-align: center;
}

/* Hauptbutton (AB Preis …) */
.cruise-btn-details {
    display: block;
    width: 100%;
    background: #062c56;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-size: 18px !important;
    font-weight: 600;
    text-decoration: none;
    text-transform: lowercase !important;
    transition: none !important;   /* Keine Hover-Animation */
}

/* Hover deaktiviert (Button bleibt identisch) */
.cruise-btn-details:hover {
    background: #062c56;
    color: #fff;
}

/* Preisnote */
.price-note {
    font-size: 12px;
    margin-top: 6px;
    color: #777;
}

/* ------------------------------- */
/* PAGINATION – Google Style    */
/* ------------------------------- */

.cruise-pagination {
    width: 100%;
    text-align: center;
    margin: 35px 0 10px 0;
    font-size: 16px;
}

.cruise-pagination a {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 10px;
    color: #0b1d55;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.cruise-pagination a.active {
    background: #0b76ff;
    color: #fff !important;
    border-color: #0b76ff;
}

/* ---------------------- Suchfilter ---------------------- */

.cruise-search-container {
    background: #ffffffb3;
    padding: 25px 30px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    max-width: 780px;
    margin: 0 auto 35px auto;
    border: 1px solid #e0e0e0;
}

/* Radiobuttons */
.cruise-type {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-bottom: 25px;
    font-size: 18px;
    align-items: center;
}

.cruise-type input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #062c56;
}

/* Zeilen */
.cruise-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.cruise-field {
    position: relative;
    flex: 1;
}

/* Inputs */
.date-input,
.cruise-field select {
    width: 100%;
    padding: 14px;
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
}

/* Button unten (Suchformular) */
.cruise-btn {
    width: 100%;
    background: #062c56;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.cruise-btn:hover {
    background: #0b2e6f;
}

/* Responsive */
@media (max-width: 600px) {
    .cruise-row {
        flex-direction: column;
    }
}

/* ---------------------- GLOBAL FIX ---------------------- */
/* Entfernt das komplette Seiten-Fade-In / Laden-Hover */
* {
    transition: none !important;
}
/* Flugzeug-Icon neben Anbieter */
.flight-icon {
    display: inline-block;
    margin-left: 8px;
    color: #000;
    font-size: 18px;
    vertical-align: middle;
    cursor: pointer;
}

.flight-icon:hover {
    color: #062c56;
}
#flightTooltip h3 {
    font-size: 16px;
    color: #062c56;
}

#flightTooltip strong {
    color: #000;
}

#flightTooltip hr {
    border: 0;
    border-top: 1px solid #e0e0e0;
}
/* Neue Filter-Elemente */
.sidebar-filter h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #062c56;
}

.filter-select,
.filter-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    margin-bottom: 6px;
}

.filter-text {
    height: 38px;
}
/* PERSONENBLOCK */
.person-row {
    background: #f8f9fa;
    border: 1px solid #d4d4d4;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.person-label {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.person-label i {
    font-size: 20px;
    color: #062c56;
}

.person-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.person-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #bbb;
    background: #fff;
    color: #333;
    border-radius: 6px;
    font-size: 18px;
    line-height: 30px;
    cursor: pointer;
    transition: background 0.2s;
}

.person-btn:hover {
    background: #e6e6e6;
}

.person-count {
    font-size: 17px;
    min-width: 22px;
    text-align: center;
}

.kid-age-row {
    margin-left: 44px;
    margin-bottom: 10px;
}

.kid-age-row select {
    width: 90px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* ---------------------- SIDEBAR FIX: Reisetyp Dropdown Breite ---------------------- */
/* Begrenzt die Breite des Reisetyp-Dropdowns, damit es nicht in die Ergebnisse ragt */
.cruise-filter-sidebar #reisetyp {
    max-width: 100%; /* Stellt sicher, dass es nicht aus der Sidebar herausragt */
    /* Optional: Eine feste Breite, falls 100% zu breit ist, aber 100% sollte passen */
    /* width: 250px; */ 
}
}


/* ------------------------------- */
/* NEUES AKKORDEON DESIGN        */
/* ------------------------------- */

.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f8f8f8;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    margin: 0;
    font-size: 16px; 
    font-weight: 700;
    color: #062c56; /* Passend zur globalen Farbe */
    margin-top: 0; /* Überschreibt sidebar-filter h3 */
    margin-bottom: 0; /* Überschreibt sidebar-filter h3 */
}

.accordion-content {
    padding: 10px 15px 15px 15px;
    display: none; 
    overflow: hidden; 
    border-top: 1px solid #e0e0e0; /* Trennlinie zum Header */
}

/* WICHTIGE ERGÄNZUNG FÜR SCROLLBAR (Max 10-12 Angebote) */
.accordion-content.scrollable {
    max-height: 280px; 
    overflow-y: auto;  
    padding-right: 5px; 
}


/* Icon für den Akkordeon-Header (Plus/Minus-Symbol) */
.accordion-icon {
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0; /* Wichtig, damit das Icon nicht gequetscht wird */
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #062c56;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Vertikale Linie (das 'Plus'-Symbol) */
.accordion-icon::before {
    width: 2px;
    height: 14px;
    top: 0;
    left: 6px; /* Zentrieren */
}

/* Horizontale Linie (das 'Plus'-Symbol) */
.accordion-icon::after {
    width: 14px;
    height: 2px;
    top: 6px;
    left: 0;
}

/* Zustand 'Geöffnet': Icon wird zum Minus */
.accordion-icon.open::before {
    opacity: 0; /* Versteckt die vertikale Linie */
    transform: rotate(90deg); /* Nur zur Sicherheit, falls opacity nicht funktioniert */
}

/* Anpassung der Label im Akkordeon-Inhalt */
.accordion-content label {
    display: block;
    margin-bottom: 8px;
    line-height: 1.2;
}
/* Anpassung der Inputs im Akkordeon-Inhalt */
.accordion-content input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    margin-bottom: 10px;
}
/* Anpassung des Reisetyp-Select im Akkordeon-Inhalt */
.accordion-content #reisetyp {
    padding: 10px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    margin-bottom: 0;
}
/* =========================================
   SIDEBAR – Grundlayout
========================================= */
.sidebar-filter {
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.sidebar-filter label {
    display: block;
    margin: 4px 0;
}

/* =========================================
   Abstände zwischen Accordion-Elementen
========================================= */
.sidebar-filter .accordion-item {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 12px;
}

.sidebar-filter .accordion-header h3 {
    margin: 0 0 8px 0 !important;
    font-size: 17px;
    font-weight: bold;
}

/* =========================================
   Accordion Header
========================================= */
.accordion-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-icon {
    width: 18px;
    height: 18px;
    border: solid #666;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: 0.2s;
}

.accordion-icon.open {
    transform: rotate(-135deg);
}

/* =========================================
   Accordion Content
========================================= */
.accordion-content {
    display: none;
    padding-left: 5px;
}

.accordion-content label {
    margin: 5px 0;
}

.scrollable {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 8px;
}

/* =========================================
   HMI (Flughafen) Auswahl
========================================= */
.hmi-tag {
    background: #eee;
    padding: 5px 8px;
    display: inline-block;
    margin: 2px;
    border-radius: 4px;
    font-size: 13px;
}

#hmi-modal h3 {
    margin-top: 0;
}

/* =========================================
   Personen-Bereiche
========================================= */
.person-control-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.person-control-row button {
    width: 36px;
    height: 36px;
    border: 1px solid #aaa;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
}

.adult-icon, .child-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    margin-right: 4px;
}

.child-age-input {
    min-width: 100px;
}

.child-age-select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
}

/* =========================================
   Reisedauer Radio Buttons
========================================= */
.dur-radio {
    margin-right: 6px;
}

/* =========================================
   Buttons
========================================= */
.filter-submit-btn {
    background: #0073aa;
    color: #fff !important;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
}

.filter-submit-btn:hover {
    background: #005e87;
}

/* =========================================
   Allgemeine UX-Verbesserungen
========================================= */
input[type="date"] {
    width: 100%;
    padding: 6px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

select {
    padding: 6px;
    width: 100%;
    margin-bottom: 10px;
}

.checkbox-line {
    margin: 4px 0;
}

/* ===========================
   Haustürabholung – Bus Icon
   =========================== */

.cruise-image-wrapper {
    position: relative; /* ABSOLUT notwendig */
}

.cruise-bus-icon {
    position: absolute;
    top: 10px;
    left: 10px;

    z-index: 30; /* höher als Logo */
    font-size: 35px;
    line-height: 1;

    background: #ffffff;
    padding: 6px;
    border-radius: 50%;

    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Farben – mit !important gegen Überschreiben */
.bus-green  { color: #2e7d32 !important; }
.bus-yellow { color: #f9a825 !important; }
.bus-red    { color: #c62828 !important; }


