/**
 * geoDiscovery Tours - Custom Styles
 * Ergänzende Styles für spezifische Komponenten aus dem Prototyp
 */

/* ==========================================================================
   Root Layout - Keine Abstände zwischen Header/Content/Footer
   ========================================================================== */

/* Entferne nur den Standard-Gap zwischen direkten Kindern von wp-site-blocks */
.wp-site-blocks {
    gap: 0 !important;
}

/* Für ältere WordPress-Versionen: margin-block-start auf direkten Kindern (außer main) */
.wp-site-blocks > header + *:not(main),
.wp-site-blocks > * + footer {
    margin-block-start: 0 !important;
}

/* ==========================================================================
   Seiten-Layout: Automatische Abstände basierend auf erstem Block
   ========================================================================== */

/* Standard: Abstände oben und unten für Seiten (main nach Header) */
.wp-site-blocks > header + main {
    margin-block-start: var(--wp--preset--spacing--3-xl, 3.5rem);
    margin-block-end: var(--wp--preset--spacing--3-xl, 3.5rem) !important;
}

/* Kein margin-top wenn Content mit Cover-Block oder alignfull beginnt */
.wp-site-blocks > header + main:has(> .wp-block-post-content > .wp-block-cover:first-child),
.wp-site-blocks > header + main:has(> .wp-block-post-content > .alignfull:first-child),
.wp-site-blocks > header + main:has(> .alignfull:first-child),
.wp-site-blocks > header + main:has(> .wp-block-cover:first-child) {
    margin-block-start: 0;
}

/* Kein zusätzlicher Abstand wenn ein Cover/Hero direkt nach dem Header kommt */
.wp-site-blocks > header + .wp-block-cover,
.wp-site-blocks > header + .alignfull {
    margin-top: 0;
}

/* ==========================================================================
   Header - Sprint 2 (Original-Style)
   ========================================================================== */

/* --- Top-Bar (weißer Hintergrund) --- */
.header-top {
    background: var(--wp--preset--color--white);
}

/* Top-Bar innerer Container: 3 Spalten - Logo | Mitte | Rechts */
.header-top .header-top-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr; /* Links | Mitte (auto) | Rechts - gleiche Abstände */
    gap: var(--wp--preset--spacing--lg);
    align-items: center;
}

/* Logo */
.header-top .wp-block-site-logo {
    flex-shrink: 0;
}

.header-top .wp-block-site-logo img {
    max-width: 180px;
    height: auto;
}

/* Mittelteil: Telefon + Slogan übereinander */
.header-top .header-mitte {
    flex-grow: 0; /* Nicht expandieren - nur so breit wie Inhalt */
    text-align: left;
    gap: 0;
    justify-content: flex-start !important; /* Überschreibt WordPress inline-style */
    align-items: flex-start !important;
}

/* Telefon-Bereich: alle Elemente inline */
.header-top .telefon-whatsapp {
    gap: var(--wp--preset--spacing--sm);
    white-space: nowrap;
    align-items: center;
    justify-content: flex-start;
}

/* "Rufen Sie uns an" Text - Schriftgröße kommt aus theme.json (large preset) */

/* Telefonnummer: GROSS und BLAU */
.header-top .telefonnummer {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.header-top .telefonnummer a {
    color: var(--wp--preset--color--primary-blue) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.header-top .telefonnummer a:hover {
    color: var(--wp--preset--color--green) !important;
}

/* WhatsApp-Link: Grün mit Icon via CSS */
.header-top .whatsapp-link {
    gap: 0 !important;
}

/* Verstecke das separate figure/img Element (WordPress generiert es) */
.header-top .whatsapp-link figure,
.header-top .whatsapp-link > .wp-block-image {
    display: none !important;
}

.header-top .whatsapp-link a {
    color: var(--wp--preset--color--green) !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.header-top .whatsapp-link a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/themes/geodiscoverytours-theme/assets/images/whatsapp-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.header-top .whatsapp-link a:hover {
    text-decoration: underline;
}

/* Slogan - Schriftgröße kommt aus theme.json (large preset) */
.header-top .slogan-text {
    margin-top: 0;
}

/* WhatsApp Icon */
.header-top .whatsapp-icon {
    margin: 0;
}

.header-top .whatsapp-icon img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* AGB + Suchfeld Gruppe */
.header-top .agb-search {
    gap: var(--wp--preset--spacing--sm);
    justify-self: end; /* Rechtsbündig in Grid-Spalte */
}

/* AGB-Link: Blau */
.header-top .agb-search a {
    color: var(--wp--preset--color--primary-blue) !important;
}

.header-top .agb-search a:hover {
    color: var(--wp--preset--color--green) !important;
}

/* Suchfeld mit grünem Border und SUCHEN Button */
.search-green-border {
    display: flex;
}

.search-green-border .wp-block-search__inside-wrapper {
    border: 2px solid var(--wp--preset--color--green) !important;
    border-radius: 0;
    background: var(--wp--preset--color--white);
    display: flex;
    align-items: center;
}

.search-green-border input.wp-block-search__input {
    border: none !important;
    padding: 8px 12px;
    font-size: 0.9rem;
    min-width: 120px;
}

.search-green-border .wp-block-search__button {
    background: var(--wp--preset--color--green);
    border: none;
    padding: 8px 16px;
    color: var(--wp--preset--color--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-green-border .wp-block-search__button:hover {
    background: var(--wp--preset--color--primary-blue);
}

/* --- Main Navigation (blauer Hintergrund) --- */
.main-navigation {
    z-index: 100;
}

/* Navigation-Container: alles auf einer Zeile */
.main-navigation > .wp-block-group {
    flex-wrap: nowrap !important;
    gap: var(--wp--preset--spacing--md);
}

/* Navigation selbst - Schriftgröße kommt aus theme.json (header-text preset) */
.main-navigation .wp-block-navigation {
    flex-grow: 1;
}

/* WooCommerce Icons in Navigation ausblenden */
.main-navigation .wp-block-woocommerce-mini-cart,
.main-navigation .wp-block-woocommerce-customer-account,
.main-navigation .wc-block-mini-cart,
.main-navigation .wc-block-customer-account {
    display: none !important;
}

/* Navigation Links weiß */
.main-navigation .wp-block-navigation-item a {
    color: var(--wp--preset--color--white) !important;
}

.main-navigation .wp-block-navigation-item a:hover {
    color: var(--wp--preset--color--green) !important;
}

/* Dropdown-Styling */
.main-navigation .wp-block-navigation__submenu-container {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--light-gray);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-navigation .wp-block-navigation__submenu-container a {
    color: var(--wp--preset--color--primary-blue) !important;
}

.main-navigation .wp-block-navigation__submenu-container a:hover {
    color: var(--wp--preset--color--green) !important;
    background: var(--wp--preset--color--off-white);
}

/* Submenu-Pfeil näher am Link-Text (Desktop) */
@media (hover: hover) and (pointer: fine) {
    /* Button-Variante (openOnClick) */
    .main-navigation .wp-block-navigation-submenu__toggle {
        width: auto;
        min-width: 20px;
        padding: 0 4px;
        margin-left: 2px;
    }

    /* Span-Variante (openOnHover) */
    .main-navigation .wp-block-navigation__submenu-icon {
        margin-left: 4px;
    }
}

/* Submenu-Pfeil weiß auf blauem Hintergrund */
.main-navigation .wp-block-navigation-submenu__toggle svg,
.main-navigation .wp-block-navigation__submenu-icon svg {
    stroke: var(--wp--preset--color--white);
}

/* WooCommerce Icons auf blauem Hintergrund: weiß */
.main-navigation .woocommerce-mini-cart__empty-message,
.main-navigation .wp-block-woocommerce-customer-account,
.main-navigation .wp-block-woocommerce-mini-cart {
    color: var(--wp--preset--color--white);
}

.main-navigation .wp-block-woocommerce-customer-account svg,
.main-navigation .wp-block-woocommerce-mini-cart svg {
    fill: var(--wp--preset--color--white);
}

/* Hamburger-Icon weiß auf blauem Hintergrund */
.main-navigation .wp-block-navigation__responsive-container-open {
    color: var(--wp--preset--color--white);
}

/* Hamburger-Icon SVG weiß machen */
.main-navigation .wp-block-navigation__responsive-container-open svg {
    fill: var(--wp--preset--color--white);
}

/* --- Responsive: Desktop-zu-Tablet Übergang (unter ~1250px) --- */
/* Fügt seitliches Padding hinzu wenn Viewport nahe am contentSize ist */
@media (max-width: 78rem) {
    /* Seitliches Padding für Header-Inhalte */
    .header-top .header-top-inner {
        padding-left: var(--wp--preset--spacing--md) !important;
        padding-right: var(--wp--preset--spacing--md) !important;
        box-sizing: border-box;
    }

    /* Navigation auch mit Padding */
    .main-navigation > .wp-block-group {
        padding-left: var(--wp--preset--spacing--md) !important;
        padding-right: var(--wp--preset--spacing--md) !important;
        box-sizing: border-box;
    }

    /* Suchfeld: kleinere feste Breite */
    .search-green-border .wp-block-search__inside-wrapper {
        max-width: 180px;
    }

    .search-green-border input.wp-block-search__input {
        min-width: 80px;
        width: 100%;
    }
}

/* --- Responsive: Zwischen Desktop und Tablet (~1050px) - Suchfeld verkleinern --- */
@media (max-width: 66rem) {
    /* Suchfeld noch kleiner */
    .search-green-border .wp-block-search__inside-wrapper {
        max-width: 150px;
    }

    /* SUCHEN Button kürzer */
    .search-green-border .wp-block-search__button {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

/* --- Responsive: Suchfeld ausblenden (~1024px) --- */
@media (max-width: 64rem) {
    /* Suchfeld komplett ausblenden - zu wenig Platz */
    .header-top .agb-search .wp-block-search {
        display: none !important;
    }

    /* AGB Link kann bleiben */
    .header-top .agb-search {
        justify-self: end;
    }
}

/* --- Responsive: Tablet (unter ~896px) --- */
@media (max-width: 56rem) {
    /* Top-Bar: 2-Spalten-Layout wie alte Seite - Logo links, Kontakt rechts */
    .header-top .header-top-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center;
        gap: var(--wp--preset--spacing--md);
    }

    /* Logo links */
    .header-top .wp-block-site-logo {
        flex-shrink: 0;
    }

    .header-top .wp-block-site-logo img {
        max-width: 140px;
    }

    /* Mittelteil: rechtsbündig */
    .header-top .header-mitte {
        text-align: right;
        align-items: flex-end !important;
    }

    /* Telefon-Bereich: inline */
    .header-top .telefon-whatsapp {
        justify-content: flex-end !important;
        gap: var(--wp--preset--spacing--sm);
    }

    /* "Rufen Sie uns an" - inline, kleiner */
    .header-top .telefon-whatsapp > p:first-child {
        font-size: 0.85rem !important;
    }

    /* Telefonnummer */
    .header-top .telefonnummer {
        font-size: 1.2rem !important;
    }

    .header-top .telefonnummer a {
        font-size: 1.2rem !important;
    }

    /* WhatsApp nur Icon (Text ausblenden) */
    .header-top .whatsapp-link a {
        font-size: 0 !important; /* Text ausblenden */
    }

    .header-top .whatsapp-link a::before {
        font-size: 1rem; /* Icon sichtbar lassen */
    }

    /* AGB + Suchfeld auf Tablet ausblenden */
    .header-top .agb-search {
        display: none !important;
    }

    /* Slogan rechtsbündig, kleiner */
    .header-top .slogan-text {
        text-align: right;
        font-size: 0.75rem !important;
        line-height: 1.3;
        max-width: none;
    }

    /* Such-Emoji (🔍) ausblenden - das Suchfeld ist hidden, aber das Emoji nicht */
    .wp-block-search::before {
        display: none !important;
    }
}

/* --- Responsive: Mobile (unter ~600px) --- */
@media (max-width: 37.5rem) {
    /* Auf kleinen Mobile-Screens: vertikales Layout */
    .header-top .header-top-inner {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .header-top .wp-block-site-logo img {
        max-width: 160px;
    }

    .header-top .header-mitte {
        text-align: center;
        align-items: center !important;
    }

    .header-top .telefon-whatsapp {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    /* "Rufen Sie uns an" - eigene Zeile */
    .header-top .telefon-whatsapp > p:first-child {
        width: 100%;
        text-align: center;
    }

    .header-top .slogan-text {
        text-align: center;
        max-width: 280px;
    }
}

/* ==========================================================================
   WordPress Navigation - Responsive Breakpoint Override
   WordPress Standard ist 600px, wir wollen 56rem (~896px)

   WICHTIG: WordPress hat bei 600px Regeln die greifen. Diese müssen
   überschrieben werden, um den Breakpoint auf 56rem zu verschieben.
   ========================================================================== */

/*
 * SCHRITT 1: WordPress 600px Regeln ÜBERSCHREIBEN
 * WordPress zeigt ab 600px die Desktop-Navigation. Wir wollen das erst ab 56rem.
 * Daher: Bei 600px-896px wieder auf Mobile-Modus zurücksetzen.
 */
@media (min-width: 600px) {
    /* Hamburger-Button WIEDER anzeigen (WordPress versteckt ihn ab 600px) */
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex !important;
    }

    /* Responsive Container WIEDER verstecken (WordPress zeigt ihn ab 600px) */
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none !important;
    }
}

/*
 * SCHRITT 2: Ab 56rem (~896px) Desktop-Navigation aktivieren
 */
@media (min-width: 56rem) {
    /* Hamburger-Button verstecken */
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    /* Navigation-Container anzeigen */
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }

    /* Navigation-Liste horizontal */
    .wp-block-navigation__container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: var(--wp--preset--spacing--md) !important;
    }
}

/*
 * SCHRITT 3: Overlay-Menü Styling (wenn geöffnet)
 * Design orientiert an der alten Seite: Zentrierte Box mit Schatten
 */
.wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.25) !important;
    z-index: 100000 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    display: block !important;
}

/* Der Wrapper für den Dialog - muss flex sein für Zentrierung */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 100% !important;
    padding: 60px var(--wp--preset--spacing--md) var(--wp--preset--spacing--xl) !important;
    box-sizing: border-box !important;
}

/* Der Dialog-Container ist die weiße Box */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    background: var(--wp--preset--color--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    width: calc(100% - 40px) !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Schließen-Button - außerhalb der Box, oben rechts im Overlay */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    position: fixed !important;
    top: var(--wp--preset--spacing--md) !important;
    right: var(--wp--preset--spacing--md) !important;
    background: var(--wp--preset--color--white) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    z-index: 100001 !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover {
    background: var(--wp--preset--color--off-white) !important;
    transform: scale(1.05) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
    fill: var(--wp--preset--color--primary-blue) !important;
    width: 20px !important;
    height: 20px !important;
}

/* Navigation-Content im Overlay - füllt die Box */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Navigation-Liste im Overlay */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
}

/* Haupt-Navigation Items - volle Breite */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    display: block !important;
    width: 100% !important;
}

.wp-block-navigation__responsive-container.is-menu-open > .wp-block-navigation__responsive-close > .wp-block-navigation__responsive-dialog > .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item {
    border-bottom: 1px solid var(--wp--preset--color--light-gray) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block !important;
    padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--lg) !important;
    color: var(--wp--preset--color--primary-blue) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
    background: var(--wp--preset--color--off-white) !important;
}

/* Navigation Item mit Submenu */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child {
    position: relative !important;
}

/* Link im Parent-Item muss Platz für Icon lassen */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
    padding-right: 50px !important; /* Platz für das Icon */
}

/* Submenu-Icon (Pfeil) im Overlay - Button für Toggle */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 44px !important;
    height: 100% !important;
    min-height: 44px !important;
    background: transparent !important;
    border: none !important;
    border-left: 1px solid var(--wp--preset--color--light-gray) !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    z-index: 10 !important; /* Über dem Link */
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon:hover {
    background: var(--wp--preset--color--off-white) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon svg {
    fill: var(--wp--preset--color--primary-blue) !important;
    stroke: var(--wp--preset--color--primary-blue) !important;
    width: 10px !important;
    height: 10px !important;
    transition: transform 0.3s ease !important;
}

/* Pfeil dreht sich wenn offen */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child.open > .wp-block-navigation__submenu-icon svg,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child[aria-expanded="true"] > .wp-block-navigation__submenu-icon svg {
    transform: rotate(180deg) !important;
}

/* Submenüs im Overlay - STANDARDMÄSSIG VERSTECKT */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    display: none !important;
    position: static !important;
    background: var(--wp--preset--color--off-white) !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: var(--wp--preset--spacing--xs) 0 !important;
    border-top: 1px solid var(--wp--preset--color--light-gray) !important;
}

/* Submenüs ANZEIGEN wenn Parent-Item geöffnet ist */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child.open > .wp-block-navigation__submenu-container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child[aria-expanded="true"] > .wp-block-navigation__submenu-container {
    display: block !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
    border-bottom: none !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--lg) !important;
    padding-left: calc(var(--wp--preset--spacing--lg) + var(--wp--preset--spacing--md)) !important;
    color: var(--wp--preset--color--black) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--primary-blue) !important;
    background: transparent !important;
}

/* ==========================================================================
   Tour Cards
   ========================================================================== */

.tour-card {
    display: flex;
    flex-direction: column;
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--border-radius--lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all var(--wp--custom--transition--base);
    cursor: pointer;
    height: 100%;
    gap: 0; /* Kein Abstand zwischen Bild und Content */
}

/* Destination Cards: WordPress blockGap überschreiben */
.tour-grid .tour-card.wp-block-group {
    gap: 0 !important;
}

.tour-grid .tour-card .wp-block-image {
    margin-bottom: 0;
}

/* Destination Cards: Bild füllt die figure komplett aus */
.tour-grid .tour-card figure.tour-card-image {
    margin: 0;
    padding: 0;
}

.tour-grid .tour-card figure.tour-card-image img {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Destination Cards: Buttons kompakt (nicht volle Breite) */
.tour-card .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--sm);
}

.tour-card .wp-block-button {
    width: auto;
}

.tour-card .wp-block-button__link {
    width: auto;
    white-space: nowrap;
}

.tour-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.tour-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tour-card-content {
    padding: var(--wp--preset--spacing--md);
    margin-top: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card-title {
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--sm);
    font-size: 1.5rem;
    color: var(--wp--preset--color--primary-blue);
}

.tour-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: var(--wp--preset--spacing--sm);
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--black);
}

.tour-card-description {
    flex: 1;
    margin-bottom: var(--wp--preset--spacing--md);
    color: var(--wp--preset--color--black);
}

.tour-card-excerpt {
    flex: 1;
    margin-bottom: var(--wp--preset--spacing--md);
}

.tour-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--wp--preset--spacing--md);
    border-top: 1px solid var(--wp--preset--color--light-gray);
}

.tour-card-price {
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;
    color: var(--wp--preset--color--primary-blue);
}

/* Tour Cards Hover - Only on devices with hover capability */
@media (hover: hover) and (pointer: fine) {
    .tour-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
}

/* Tour Cards Active - For touch devices */
@media (hover: none) {
    .tour-card:active {
        transform: scale(0.98);
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: clamp(400px, 50vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0 !important;
}

/* Kein Abstand zwischen Hero und folgender Section */
.hero + .section,
.hero + .wp-block-group.section {
    margin-top: 0 !important;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--lg);
    max-width: 800px;
}

.hero h1 {
    color: var(--wp--preset--color--white);
    margin-bottom: var(--wp--preset--spacing--md);
}

@media (min-width: 48rem) { /* ~768px */
    .hero {
        min-height: clamp(600px, 80vh, 900px);
    }
}

/* WordPress Cover Block als Hero (nur auf Hauptseiten, nicht Header/Footer) */
.wp-site-blocks > .wp-block-cover.alignfull .wp-block-cover__inner-container,
main .wp-block-cover.alignfull .wp-block-cover__inner-container {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
}

.wp-site-blocks > .wp-block-cover.alignfull .wp-block-cover__inner-container h1,
main .wp-block-cover.alignfull .wp-block-cover__inner-container h1 {
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.wp-site-blocks > .wp-block-cover.alignfull .wp-block-cover__inner-container p,
main .wp-block-cover.alignfull .wp-block-cover__inner-container p {
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.4);
}

/* Header sticky z-index - über TOC (z-index: 100) */
.site-header {
    z-index: 1000;
}

/* Header-Topbar und Footer: Keine max-width Begrenzung */
header .wp-block-cover .wp-block-cover__inner-container,
footer .wp-block-cover .wp-block-cover__inner-container,
.site-header .wp-block-cover .wp-block-cover__inner-container {
    max-width: none;
    text-align: left;
}

/* ==========================================================================
   Gallery Slider
   ========================================================================== */

.gallery-slider {
    display: flex;
    gap: var(--wp--preset--spacing--sm);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--wp--preset--color--black) var(--wp--preset--color--light-gray);
}

.gallery-slider::-webkit-scrollbar {
    height: 8px;
}

.gallery-slider::-webkit-scrollbar-track {
    background: var(--wp--preset--color--light-gray);
}

.gallery-slider::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--gray);
    border-radius: 4px;
}

.gallery-item {
    flex: 0 0 auto;
    width: clamp(240px, 80vw, 300px);
    scroll-snap-align: start;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--wp--custom--border-radius--md);
    transition: transform var(--wp--custom--transition--base);
}

@media (hover: hover) {
    .gallery-item:hover img {
        transform: scale(1.05);
    }
}

/* ==========================================================================
   Highlights List
   ========================================================================== */

.highlights-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--wp--preset--spacing--xs);
}

.highlights-list li {
    background: var(--wp--preset--color--light-green-bg);
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
    border-radius: var(--wp--custom--border-radius--sm);
    display: flex;
    align-items: flex-start;
    gap: var(--wp--preset--spacing--xs);
}

.highlights-list li::before {
    content: "✓";
    color: var(--wp--preset--color--green);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1.4;
}

@media (max-width: 35rem) { /* ~560px */
    .highlights-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Touch Targets (Minimum 44px)
   ========================================================================== */

button,
a.wp-element-button,
.wp-block-button__link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.section-bg-light {
    background: var(--wp--preset--color--light-green-bg);
}

.text-center {
    text-align: center;
}

.container {
    width: 100%;
    max-width: var(--wp--style--global--content-size);
    margin-inline: auto;
    padding-inline: var(--wp--preset--spacing--md);
}

.container-wide {
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin-inline: auto;
    padding-inline: var(--wp--preset--spacing--md);
}

/* Tour-Detail Textzentrierung (reversibel - Klasse entfernen zum Deaktivieren) */
.tour-detail-centered {
    text-align: center;
}

/* Ausnahmen: Listen und Facts bleiben linksbündig */
.tour-detail-centered .tour-overview-facts,
.tour-detail-centered ul,
.tour-detail-centered ol,
.tour-detail-centered .tour-services-list,
.tour-detail-centered .tour-itinerary-day {
    text-align: left;
}

/* ==========================================================================
   Leere Tour-Sections verstecken
   ========================================================================== */
/* Wenn ein Block keinen Inhalt hat, wird die Section ausgeblendet */
.tour-section-map:not(:has(.wp-block-geodiscovery-tour-map-image)),
.tour-section-gallery:not(:has(.wp-block-geodiscovery-tour-gallery)),
.tour-section-itinerary:not(:has(.wp-block-geodiscovery-tour-itinerary)),
.tour-section-dates:not(:has(.wp-block-geodiscovery-tour-dates-table, .wp-block-geodiscovery-early-bird-banner)),
.tour-section-services:not(:has(.wp-block-geodiscovery-tour-services)),
.tour-section-requirements:not(:has(.wp-block-geodiscovery-tour-requirements)),
.tour-section-reports:not(:has(.wp-block-geodiscovery-tour-travel-reports)),
.tour-section-extensions:not(:has(.wp-block-geodiscovery-tour-extensions)),
.tour-section-travel-info:not(:has(.wp-block-geodiscovery-tour-travel-info)),
.tour-section-downloads:not(:has(.wp-block-geodiscovery-tour-downloads)),
.tour-section-similar:not(:has(.wp-block-geodiscovery-tour-similar)) {
    display: none;
}

/* ==========================================================================
   Scroll Margin für Anker-Navigation
   ========================================================================== */
/* Anker-Sektionen - Abstand für Header (~80px) + TOC (~50px) + Puffer */
[id] {
    scroll-margin-top: 140px;
}

/* ==========================================================================
   Tour Card Link Wrapper
   ========================================================================== */
.tour-card-no-image {
    background: var(--wp--preset--color--light-gray);
}

.tour-card-excerpt {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
    margin-bottom: var(--wp--preset--spacing--md);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card-actions .btn {
    display: inline-block;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
    font-size: var(--wp--preset--font-size--small);
}

.tour-card-price small {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 400;
}

/* ==========================================================================
   Tour Detail Layout
   ========================================================================== */
.tour-detail-layout {
    gap: var(--wp--preset--spacing--xl);
}

.tour-sidebar-column {
    position: relative;
}

.tour-sidebar {
    position: sticky;
    top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

/* Mobile: Sidebar zuerst */
@media (max-width: 60rem) {
    .tour-detail-layout {
        flex-direction: column;
    }

    .tour-sidebar-column {
        order: -1;
    }

    .tour-sidebar {
        position: static;
        max-height: none;
    }
}

/* ==========================================================================
   Tour Content Section Dividers
   ========================================================================== */
.tour-main-content h2 {
    margin-top: var(--wp--preset--spacing--xl);
    padding-top: var(--wp--preset--spacing--md);
    border-top: 2px solid var(--wp--preset--color--light-gray);
}

/* Erste Sektion (Intro) ohne Border */
.tour-main-content > .tour-intro h2,
.tour-main-content > div:first-child h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ==========================================================================
   Booking Box
   ========================================================================== */
.booking-box {
    background: var(--wp--preset--color--off-white);
    padding: var(--wp--preset--spacing--md);
    border-radius: var(--wp--custom--border-radius--lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--wp--preset--spacing--md);
}

.booking-box h3,
.booking-box h4 {
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--sm);
}

.booking-box h3 {
    font-size: 1.25rem;
}

.booking-info {
    display: grid;
    gap: 2px;
    margin-bottom: var(--wp--preset--spacing--sm);
}

.booking-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid var(--wp--preset--color--light-gray);
    font-size: 0.9rem;
}

.booking-info-label {
    color: var(--wp--preset--color--black);
    font-weight: 600;
}

.booking-info-value {
    color: var(--wp--preset--color--black);
    font-weight: 400;
}

.booking-price {
    font-size: 1.5rem;
    color: var(--wp--preset--color--primary-blue);
    font-weight: 700;
}

.booking-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--xs);
    margin-top: var(--wp--preset--spacing--md);
}

.booking-buttons .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    border-radius: var(--wp--custom--border-radius--sm);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    box-sizing: border-box;
}

.booking-buttons .btn-primary {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
}

.booking-buttons .btn-primary:hover {
    background: var(--wp--preset--color--green);
}

.booking-buttons .btn-secondary {
    background: transparent;
    color: var(--wp--preset--color--primary-blue);
    border: 2px solid var(--wp--preset--color--primary-blue);
}

.booking-buttons .btn-secondary:hover {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
}

.booking-notice {
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--black);
    margin-top: var(--wp--preset--spacing--sm);
    text-align: center;
    line-height: 1.4;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: var(--wp--preset--spacing--sm) 0;
    font-size: var(--wp--preset--font-size--small);
}

.contact-info li {
    margin-bottom: var(--wp--preset--spacing--xxs);
}

.contact-hours {
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--black);
    margin: 0;
}

/* ==========================================================================
   Tour Dates
   ========================================================================== */
.tour-dates-section h4 {
    margin-bottom: var(--wp--preset--spacing--sm);
}

.tour-dates-list {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--xs);
}

.tour-date-item {
    display: block;
    padding: var(--wp--preset--spacing--sm);
    background: var(--wp--preset--color--white);
    border: 2px solid var(--wp--preset--color--light-gray);
    border-radius: var(--wp--custom--border-radius--sm);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.tour-date-item:hover {
    border-color: var(--wp--preset--color--primary-blue);
}

.tour-date-item.selected,
.tour-date-item:has(:checked) {
    border-color: var(--wp--preset--color--primary-blue);
    background: rgba(16, 33, 139, 0.05);
}

.tour-date-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tour-date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--wp--preset--spacing--xxs);
}

.tour-date-period {
    font-weight: 600;
}

.tour-date-price {
    font-weight: 700;
    color: var(--wp--preset--color--primary-blue);
}

.tour-date-price-special {
    color: var(--wp--preset--color--warm-orange);
}

.tour-date-meta {
    display: flex;
    gap: var(--wp--preset--spacing--sm);
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--black);
}

.tour-date-booked {
    opacity: 0.5;
    cursor: not-allowed;
}

.tour-date-german-guide {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--wp--preset--color--green);
    font-weight: 500;
}

.tour-date-holiday {
    color: var(--wp--preset--color--black);
}

/* ==========================================================================
   Highlights List Override für Tour-Seiten
   Wir nutzen das Standard-Flexbox-Layout aus .highlights-list (Zeile 322-345)
   und überschreiben nur das X-Icon für nicht-inkludierte Services
   ========================================================================== */
.tour-services-not-included li::before {
    content: '✗';
    color: var(--wp--preset--color--warm-orange);
}

/* ==========================================================================
   Gallery Slider Wrapper (erweitert)
   ========================================================================== */
.gallery-slider-wrapper {
    position: relative;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--wp--preset--spacing--sm);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--wp--preset--color--white);
    font-size: var(--wp--preset--font-size--small);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--wp--preset--color--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
}

.gallery-nav:hover {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
}

.gallery-nav-prev {
    left: -20px;
}

.gallery-nav-next {
    right: -20px;
}

@media (max-width: 40rem) {
    .gallery-nav {
        display: none;
    }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-caption {
    text-align: center;
    color: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--sm);
    font-size: var(--wp--preset--font-size--small);
    position: static;
    background: transparent;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--wp--preset--color--white);
    font-size: 40px;
    cursor: pointer;
    padding: var(--wp--preset--spacing--sm);
    transition: color 0.3s;
    user-select: none;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--wp--preset--color--green);
}

.lightbox-close {
    top: var(--wp--preset--spacing--md);
    right: var(--wp--preset--spacing--md);
}

.lightbox-prev {
    left: var(--wp--preset--spacing--md);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: var(--wp--preset--spacing--md);
    top: 50%;
    transform: translateY(-50%);
}

/* ==========================================================================
   Day Program / Itinerary
   ========================================================================== */
.accordion-toggle-wrapper {
    margin-bottom: var(--wp--preset--spacing--lg);
}

.accordion-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--wp--preset--spacing--xs);
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    border: none;
    border-radius: 4px;
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
    cursor: pointer;
    font-size: var(--wp--preset--font-size--small);
    transition: all 0.2s ease;
}

.accordion-toggle:hover {
    background: #0a1560;
    color: var(--wp--preset--color--white);
}

.day-program {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Day Program - Collapsed State (default - wie im Dummy) */
.day-item {
    padding: 0;
    margin-bottom: var(--wp--preset--spacing--xs);
    border-bottom: none;
    background: transparent;
    transition: all 0.3s ease;
}

.day-item h4 {
    margin: 0;
    font-family: inherit;
    font-size: 1.1rem;
    color: var(--wp--preset--color--black);
    font-weight: 700;
    cursor: pointer;
    padding: var(--wp--preset--spacing--xs) 0;
    transition: color 0.2s ease;
}

.day-item h4:hover {
    color: var(--wp--preset--color--green);
}

/* Day Program - Expanded State (wie im Dummy) */
.day-item:not(.day-item-collapsed) {
    background: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--lg);
    margin-bottom: var(--wp--preset--spacing--md);
    border-left: 4px solid var(--wp--preset--color--green);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.day-item:not(.day-item-collapsed) h4 {
    margin-bottom: var(--wp--preset--spacing--sm);
    font-size: 1.25rem;
}

.day-item-detail {
    margin-bottom: var(--wp--preset--spacing--sm);
}

.day-item-collapsed .day-item-detail {
    display: none;
}

.day-item-meta {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
}

.day-item-images {
    display: grid;
    gap: var(--wp--preset--spacing--sm);
    margin-top: var(--wp--preset--spacing--sm);
}

.day-item-images-multiple {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.day-item-image-wrapper {
    border-radius: var(--wp--custom--border-radius--sm);
    overflow: hidden;
    cursor: pointer;
}

.day-item-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s;
}

.day-item-image-wrapper:hover .day-item-image {
    transform: scale(1.05);
}

/* ==========================================================================
   TOC Horizontal
   ========================================================================== */
.tour-toc-horizontal {
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-block-start: 0 !important;
    margin-top: 0 !important;
    padding-top: var(--wp--preset--spacing--md) !important;
    padding-bottom: var(--wp--preset--spacing--md) !important;
}

.tour-toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    list-style: none;
    padding: 0;
    justify-content: center;
}

.tour-toc-list li {
    margin: 0;
}

/* TOC Buttons: Blau gefüllt, weiße Schrift (wie Original) */
.tour-toc-list a {
    display: inline-block;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--md);
    background: var(--wp--preset--color--primary-blue);
    border-radius: 4px;
    text-decoration: none;
    color: var(--wp--preset--color--white);
    font-size: 1.0625rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
}

.tour-toc-list a:hover {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
    transform: translateY(-2px);
}

/* TOC Active State - Aktuell sichtbare Sektion */
.tour-toc-list a.active {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
}

/* Active hat Vorrang vor Hover */
.tour-toc-list a.active:hover {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
    transform: none;
}

/* Mobile: TOC nicht sticky (nimmt zu viel Platz) */
@media (max-width: 60rem) {
    .tour-toc-horizontal {
        position: static !important;
    }
}

/* ==========================================================================
   Back to TOC
   ========================================================================== */
.back-to-toc-wrapper {
    text-align: right;
    margin-top: var(--wp--preset--spacing--md);
}

/* Buttons nach Termintabelle */
.tour-dates-suggest-wrapper {
    margin-top: var(--wp--preset--spacing--lg);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--sm);
}

.back-to-toc {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.back-to-toc::before {
    content: '↑ ';
}

.back-to-toc:hover {
    color: var(--wp--preset--color--primary-blue);
    transform: translateY(-2px);
}

/* ==========================================================================
   Info Boxes
   ========================================================================== */
.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--wp--preset--spacing--md);
}

.info-box {
    background: var(--wp--preset--color--off-white);
    padding: var(--wp--preset--spacing--md);
    border-radius: var(--wp--custom--border-radius--md);
    border-left: 4px solid var(--wp--preset--color--green);
}

.info-box h4 {
    margin: 0 0 var(--wp--preset--spacing--xs);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    color: var(--wp--preset--color--black);
}

.info-box p {
    margin: 0;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
}

.info-box-content {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
}

.info-box-content p {
    margin: 0 0 var(--wp--preset--spacing--xs);
}

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

/* ==========================================================================
   Tour Filters (Archive) - Legacy
   ========================================================================== */
.tour-filter-select {
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
    border: 1px solid var(--wp--preset--color--light-gray);
    border-radius: var(--wp--custom--border-radius--sm);
    font-size: var(--wp--preset--font-size--small);
    background: var(--wp--preset--color--white);
    min-width: 150px;
}

/* ==========================================================================
   Filter Bar (wie im Dummy)
   ========================================================================== */
.filter-bar {
    background: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--lg);
    border-radius: var(--wp--custom--border-radius--lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--wp--preset--spacing--xl);
    scroll-margin-top: 120px; /* Platz für Sticky-Header beim Anker-Scroll */
}

.filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--wp--preset--spacing--md);
    align-items: end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--xs);
}

.filter-item label {
    font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
    color: var(--wp--preset--color--black);
}

.filter-item select {
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    border: 1px solid #adb5bd;
    border-radius: var(--wp--custom--border-radius--sm);
    font-size: var(--wp--preset--font-size--base);
    background: var(--wp--preset--color--white);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.filter-item select:hover,
.filter-item select:focus {
    border-color: var(--wp--preset--color--primary-blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(16, 33, 139, 0.1);
}

.filter-results {
    color: var(--wp--preset--color--black);
    margin: var(--wp--preset--spacing--lg) 0;
}

.filter-results strong {
    color: var(--wp--preset--color--black);
}

@media (max-width: 35rem) {
    .filter-group {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Tour Meta Bar (Hero)
   ========================================================================== */
.tour-meta-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    color: var(--wp--preset--color--white);
    font-size: var(--wp--preset--font-size--small);
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--xxs);
}

/* ==========================================================================
   General Buttons (Dummy-Kompatibilität)
   ========================================================================== */
.btn {
    display: inline-block;
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    border-radius: var(--wp--custom--border-radius--sm);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
}

.btn-primary:hover {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
}

.btn-secondary {
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--primary-blue);
    border: 2px solid var(--wp--preset--color--primary-blue);
}

.btn-secondary:hover {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
}

/* ==========================================================================
   WordPress Block Buttons
   ========================================================================== */

/* Blauer Button (Standard) - Hover zu Grün */
.wp-block-button__link {
    transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .wp-block-button__link:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(16, 33, 139, 0.3);
    }
}

/* Outline Button */
.wp-block-button.is-style-outline .wp-block-button__link {
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--primary-blue);
    border: 2px solid var(--wp--preset--color--primary-blue);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
    border-color: var(--wp--preset--color--primary-blue);
    transform: none;
    box-shadow: none;
}

/* Outline Button im Hero (weißer Rand) */
.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--wp--preset--color--white);
    border-color: var(--wp--preset--color--white);
}

.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--primary-blue);
    border-color: var(--wp--preset--color--white);
}

/* ==========================================================================
   Tour Price Block
   ========================================================================== */
.tour-price {
    display: flex;
    align-items: baseline;
    gap: var(--wp--preset--spacing--xxs);
}

.tour-price-label {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
}

.tour-price-value {
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 700;
    color: var(--wp--preset--color--primary-blue);
}

.tour-price-suffix {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
}

/* ==========================================================================
   Blog Slider (Horizontal Scroll)
   ========================================================================== */
.blog-slider-wrapper {
    position: relative;
    margin: var(--wp--preset--spacing--lg) 0;
}

.blog-slider,
.wp-block-query.blog-slider {
    display: flex;
    gap: var(--wp--preset--spacing--md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--wp--preset--spacing--sm) 48px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--wp--preset--color--light-gray) var(--wp--preset--color--off-white);
}

.blog-slider::-webkit-scrollbar,
.wp-block-query.blog-slider::-webkit-scrollbar {
    height: 8px;
}

.blog-slider::-webkit-scrollbar-track,
.wp-block-query.blog-slider::-webkit-scrollbar-track {
    background: var(--wp--preset--color--off-white);
    border-radius: 4px;
}

.blog-slider::-webkit-scrollbar-thumb,
.wp-block-query.blog-slider::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--light-gray);
    border-radius: 4px;
}

.blog-slider::-webkit-scrollbar-thumb:hover,
.wp-block-query.blog-slider::-webkit-scrollbar-thumb:hover {
    background: var(--wp--preset--color--gray);
}

/* Query Loop inside blog-slider */
.wp-block-query.blog-slider .wp-block-post-template {
    display: flex;
    gap: var(--wp--preset--spacing--md);
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: stretch;
}

/* Ensure all cards in slider are vertically aligned */
.wp-block-query.blog-slider .wp-block-post-template > li {
    margin: 0;
    padding: 0;
    display: flex;
}

.blog-slider .blog-card,
.wp-block-query.blog-slider .blog-card {
    flex: 0 0 320px;
    max-width: 320px;
    min-width: 320px;
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--border-radius--lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform var(--wp--custom--transition--base), box-shadow var(--wp--custom--transition--base);
    display: flex;
    flex-direction: column;
}

/* Slider Cards: Link und Content als Flex-Container für Button am Ende */
.blog-slider .blog-card-link {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-slider .blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Slider Cards: Button nach unten drücken */
.blog-slider .blog-card-content .blog-link {
    margin-top: auto;
}

/* Slider Cards: Kompakte Abstände für Meta/Datum, Titel, Text */
.blog-slider .blog-card-content .blog-meta,
.blog-slider .blog-card-content .travel-report-meta,
.blog-slider .blog-card-content .blog-date {
    margin-bottom: 0.25rem;
}

.blog-slider .blog-card-content .blog-card-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.blog-slider .blog-card-content p {
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--sm);
}

@media (hover: hover) and (pointer: fine) {
    .blog-slider .blog-card:hover,
    .wp-block-query.blog-slider .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
}

.blog-card-image,
.blog-card .wp-block-post-featured-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
}

.blog-card-image img,
.blog-card .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Wenn .blog-card-image selbst ein img ist (nicht Container) - überschreibt HTML width/height */
.blog-card img.blog-card-image,
.blog-slider img.blog-card-image,
.ajax-slider img.blog-card-image,
.travel-reports-grid img.blog-card-image,
.blog-cards-grid img.blog-card-image {
    width: 100%;
    height: auto !important; /* Überschreibt HTML height-Attribut */
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.blog-card-content {
    padding: var(--wp--preset--spacing--md);
}

.blog-meta,
.travel-report-meta {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
    margin-bottom: var(--wp--preset--spacing--xs);
}

.blog-date,
.blog-card .wp-block-post-date {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
    margin-bottom: var(--wp--preset--spacing--xs);
}

.blog-card-title,
.blog-card .wp-block-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--wp--preset--spacing--xs);
    line-height: 1.4;
}

.blog-card .wp-block-post-title a {
    text-decoration: none;
    color: var(--wp--preset--color--black);
}

.blog-card .wp-block-post-title a:hover {
    color: var(--wp--preset--color--primary-blue);
}

.blog-card .wp-block-post-excerpt {
    font-size: 0.9rem;
    color: var(--wp--preset--color--black);
    margin-bottom: var(--wp--preset--spacing--sm);
}

.blog-link,
.blog-card .wp-block-read-more {
    display: inline-block;
    font-size: var(--wp--preset--font-size--medium);
    background: none;
    color: var(--wp--preset--color--primary-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    transition: color 0.3s;
}

.blog-link:hover,
.blog-card .wp-block-read-more:hover {
    color: var(--wp--preset--color--green);
}

/* Blog Slider Navigation Buttons */
.blog-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--light-gray);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    line-height: 48px;
}

.blog-slider-nav:hover {
    background: var(--wp--preset--color--off-white);
    border-color: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--primary-blue);
}

.blog-slider-nav-prev {
    left: 0;
}

.blog-slider-nav-next {
    right: 0;
}

@media (max-width: 40rem) {
    .blog-slider-nav {
        display: none;
    }

    .blog-slider,
    .wp-block-query.blog-slider {
        padding-left: var(--wp--preset--spacing--sm);
        padding-right: var(--wp--preset--spacing--sm);
    }
}

/* ==========================================================================
   Section Header (aus Dummy)
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--wp--preset--spacing--lg);
}

.section-header h2 {
    margin-bottom: var(--wp--preset--spacing--sm);
}

.section-header p {
    color: var(--wp--preset--color--black);
    margin-inline: auto;
}

/* ==========================================================================
   Tour Grid (Grid Layout for destination cards)
   ========================================================================== */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--wp--preset--spacing--md);
}

/* WordPress Query Loop mit Grid-Layout: Cards gleiche Höhe */
.tour-grid.wp-block-post-template {
    align-items: stretch;
}

.tour-grid.wp-block-post-template > li {
    display: flex;
    flex-direction: column;
}

/* Einzelne Tour-Card soll nicht die volle Breite einnehmen */
.tour-grid > .tour-card,
.tour-grid > li > .tour-card {
    max-width: 450px;
    height: 100%;
    flex: 1;
}

@media (max-width: 35rem) {
    .tour-grid {
        grid-template-columns: 1fr;
    }

    .tour-grid > .tour-card,
    .tour-grid > li > .tour-card {
        max-width: none;
    }
}

/* Tour Card Image in Grid */
.tour-grid .tour-card .wp-block-image {
    margin: 0;
}

.tour-grid .tour-card .wp-block-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Tour Card in Grid - gleiche Höhe und Buttons auf einer Linie */
.tour-grid .tour-card,
.tour-grid > .tour-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* WordPress Grid: Cards sollen gleiche Höhe haben */
.tour-grid.wp-block-group.is-layout-grid > .tour-card {
    align-self: stretch;
}

.tour-grid .tour-card .tour-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Paragraph wächst, um Platz zu füllen */
.tour-grid .tour-card .tour-card-content > .wp-block-paragraph,
.tour-grid .tour-card .tour-card-content > p {
    flex: 1;
    margin-bottom: var(--wp--preset--spacing--md);
}

/* Buttons immer am unteren Rand */
.tour-grid .tour-card .tour-card-content .wp-block-buttons {
    margin-top: auto;
}

/* Titel keine untere Margin-Überschreibung */
.tour-grid .tour-card .tour-card-content .tour-card-title {
    margin-bottom: var(--wp--preset--spacing--sm);
}

/* ==========================================================================
   Similar Tours Section
   ========================================================================== */
.similar-tours-section {
    /* Hintergrundfarbe kommt von has-light-green-bg-background-color */
}

.similar-tours-title {
    margin-bottom: var(--wp--preset--spacing--xs);
}

.similar-tours-intro {
    margin-bottom: var(--wp--preset--spacing--lg);
    color: var(--wp--preset--color--black);
}

.similar-tours-grid {
    display: grid;
    gap: var(--wp--preset--spacing--md);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Bei 3 Karten: 3-spaltiges Grid auf Desktop */
@media (min-width: 50rem) {
    .similar-tours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Max-width für einzelne Karten um zu große Cards zu vermeiden */
.similar-tours-grid > .tour-card {
    max-width: 450px;
    height: 100%;
}

/* Mobile: volle Breite */
@media (max-width: 35rem) {
    .similar-tours-grid {
        grid-template-columns: 1fr;
    }

    .similar-tours-grid > .tour-card {
        max-width: none;
    }
}

/* ==========================================================================
   Skeleton Loading Animation
   ========================================================================== */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.blog-card-skeleton {
    pointer-events: none;
}

.skeleton-image,
.skeleton-line {
    background: linear-gradient(
        90deg,
        var(--wp--preset--color--light-gray) 0px,
        var(--wp--preset--color--off-white) 40px,
        var(--wp--preset--color--light-gray) 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--wp--custom--border-radius--sm);
}

.skeleton-image {
    width: 100%;
    height: 200px;
}

.skeleton-line {
    height: 1em;
    margin-bottom: var(--wp--preset--spacing--xs);
}

.skeleton-date {
    width: 40%;
    height: 0.8em;
}

.skeleton-title {
    width: 90%;
    height: 1.2em;
}

.skeleton-title-short {
    width: 60%;
    height: 1.2em;
}

.skeleton-text {
    width: 100%;
    height: 0.9em;
}

.skeleton-text:last-of-type {
    width: 80%;
}

.skeleton-link {
    width: 35%;
    height: 0.9em;
    margin-top: var(--wp--preset--spacing--sm);
}

/* Screen Reader Only (for accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Tour Travel Reports (Reiseberichte-Sektion)
   ========================================================================== */
.tour-travel-reports {
    margin-bottom: var(--wp--preset--spacing--xl);
}

.tour-section-intro {
    color: var(--wp--preset--color--black);
    margin-bottom: var(--wp--preset--spacing--lg);
}

/* Travel Reports Slider */
.travel-reports-slider-wrapper {
    position: relative;
    margin-top: var(--wp--preset--spacing--lg);
}

.travel-reports-slider {
    display: flex;
    gap: var(--wp--preset--spacing--md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--wp--preset--spacing--sm) 48px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--wp--preset--color--light-gray) var(--wp--preset--color--off-white);
}

.travel-reports-slider::-webkit-scrollbar {
    height: 8px;
}

.travel-reports-slider::-webkit-scrollbar-track {
    background: var(--wp--preset--color--off-white);
    border-radius: 4px;
}

.travel-reports-slider::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--light-gray);
    border-radius: 4px;
}

.travel-reports-slider::-webkit-scrollbar-thumb:hover {
    background: var(--wp--preset--color--gray);
}

/* Slider Navigation */
.travel-reports-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--light-gray);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--black);
}

.travel-reports-slider-nav:hover {
    background: var(--wp--preset--color--off-white);
    border-color: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--primary-blue);
}

.travel-reports-slider-nav-prev {
    left: 0;
}

.travel-reports-slider-nav-next {
    right: 0;
}

@media (max-width: 40rem) {
    .travel-reports-slider-nav {
        display: none;
    }

    .travel-reports-slider {
        padding-left: var(--wp--preset--spacing--sm);
        padding-right: var(--wp--preset--spacing--sm);
    }
}

.travel-report-card {
    flex: 0 0 320px;
    max-width: 320px;
    min-width: 320px;
    background: var(--wp--preset--color--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.travel-report-card-clickable {
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .travel-report-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .travel-report-card:hover .travel-report-image {
        transform: scale(1.05);
    }
}

.travel-report-header {
    overflow: hidden;
}

.travel-report-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.travel-report-content {
    padding: var(--wp--preset--spacing--md);
}

.travel-report-title {
    font-size: 1.1rem;
    margin: 0 0 var(--wp--preset--spacing--xs);
    line-height: 1.4;
    color: var(--wp--preset--color--black);
}

.travel-report-meta {
    display: flex;
    gap: var(--wp--preset--spacing--md);
    color: var(--wp--preset--color--black);
    font-size: var(--wp--preset--font-size--small);
    margin-bottom: var(--wp--preset--spacing--sm);
}

.travel-report-excerpt {
    font-size: 0.9rem;
    color: var(--wp--preset--color--black);
    margin-bottom: var(--wp--preset--spacing--sm);
}

.travel-report-link {
    color: var(--wp--preset--color--green);
    font-weight: 500;
    text-decoration: none;
    font-size: var(--wp--preset--font-size--small);
}

.travel-report-link:hover {
    color: var(--wp--preset--color--green-hover);
}

.travel-reports-all-button-wrapper {
    margin-top: var(--wp--preset--spacing--lg);
    text-align: center;
}

.travel-reports-all-button {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--md);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.travel-reports-all-button:hover {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
}

/* ==========================================================================
   Tour Extensions (Verlängerungen-Sektion)
   ========================================================================== */
.tour-extensions {
    margin-bottom: var(--wp--preset--spacing--xl);
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--wp--preset--spacing--lg);
    margin-top: var(--wp--preset--spacing--lg);
}

.extension-card {
    background: var(--wp--preset--color--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 450px;
}

@media (hover: hover) and (pointer: fine) {
    .extension-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
}

.extension-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.extension-content {
    padding: var(--wp--preset--spacing--md);
}

.extension-content h4 {
    margin: 0 0 var(--wp--preset--spacing--xs);
    font-size: 1.1rem;
    color: var(--wp--preset--color--black);
}

.extension-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--wp--preset--spacing--sm);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
}

.extension-price {
    color: var(--wp--preset--color--green);
    font-weight: 600;
}

.extension-content > p {
    font-size: 0.9rem;
    color: var(--wp--preset--color--black);
    margin-bottom: var(--wp--preset--spacing--sm);
}

.extension-toggle {
    width: 100%;
    padding: var(--wp--preset--spacing--sm);
    border: 1px solid var(--wp--preset--color--light-gray);
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--wp--preset--font-size--small);
    transition: all 0.2s ease;
    border-radius: 4px;
}

.extension-toggle:hover {
    background: var(--wp--preset--color--off-white);
    border-color: var(--wp--preset--color--primary-blue);
}

.extension-details {
    margin-top: var(--wp--preset--spacing--md);
    padding: var(--wp--preset--spacing--md) 0 0 0;
    border-top: 1px solid var(--wp--preset--color--light-gray);
}

.extension-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.extension-details li {
    padding: var(--wp--preset--spacing--xs) 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ==========================================================================
   Ajax Slider Specific Styles
   ========================================================================== */
.ajax-slider {
    display: flex;
    gap: var(--wp--preset--spacing--md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--wp--preset--spacing--sm) 48px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--wp--preset--color--light-gray) var(--wp--preset--color--off-white);
}

.ajax-slider::-webkit-scrollbar {
    height: 8px;
}

.ajax-slider::-webkit-scrollbar-track {
    background: var(--wp--preset--color--off-white);
    border-radius: 4px;
}

.ajax-slider::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--light-gray);
    border-radius: 4px;
}

.ajax-slider::-webkit-scrollbar-thumb:hover {
    background: var(--wp--preset--color--gray);
}

.ajax-slider .blog-card {
    flex: 0 0 320px;
    max-width: 320px;
    min-width: 320px;
}

/* Ajax-loaded cards - ensure consistent image sizing */
.ajax-slider .blog-card .blog-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    overflow: hidden;
}

/* No-image placeholder */
.ajax-slider .blog-card .blog-card-no-image {
    background: var(--wp--preset--color--light-gray);
}

@media (max-width: 40rem) {
    .ajax-slider {
        padding-left: var(--wp--preset--spacing--sm);
        padding-right: var(--wp--preset--spacing--sm);
    }
}

/* ==========================================================================
   Taxonomy Hero (Land-Seiten, Schwierigkeit-Seiten etc.)
   ========================================================================== */
.taxonomy-hero {
    position: relative;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

@media (max-width: 35rem) {
    .taxonomy-hero {
        min-height: 50vh;
    }
}

.taxonomy-hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.taxonomy-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--xl);
    max-width: 800px;
}

.taxonomy-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
    border-radius: 20px;
    font-size: var(--wp--preset--font-size--small);
    margin-bottom: var(--wp--preset--spacing--sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.taxonomy-hero h1 {
    color: var(--wp--preset--color--white);
    margin: 0 0 var(--wp--preset--spacing--sm);
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
}

.taxonomy-hero p {
    font-size: var(--wp--preset--font-size--large);
    margin: 0;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Taxonomy Description
   ========================================================================== */
.taxonomy-description {
    margin-bottom: var(--wp--preset--spacing--xl);
    padding: var(--wp--preset--spacing--lg);
    background: var(--wp--preset--color--off-white);
    border-radius: var(--wp--custom--border-radius--lg);
    border-left: 4px solid var(--wp--preset--color--green);
}

.taxonomy-description p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Tour Date Flags
   ========================================================================== */
.tour-date-language {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tour-date-flag {
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================================================
   Booking Guarantee
   ========================================================================== */
.booking-guarantee {
    color: var(--wp--preset--color--green);
    font-size: var(--wp--preset--font-size--small);
    margin-bottom: var(--wp--preset--spacing--sm);
}

/* ==========================================================================
   WPML Language Switcher - Flags Style (like Dummy)
   ========================================================================== */
.wpml-ls-statics-shortcode_actions {
    display: flex;
    gap: var(--wp--preset--spacing--xs);
    align-items: center;
    margin-left: var(--wp--preset--spacing--md);
}

.wpml-ls-statics-shortcode_actions a {
    display: flex;
    align-items: center;
    padding: var(--wp--preset--spacing--xs);
    border-radius: var(--wp--custom--border-radius--sm, 4px);
    transition: all 0.2s ease;
    opacity: 0.6;
    text-decoration: none;
}

.wpml-ls-statics-shortcode_actions a:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

.wpml-ls-statics-shortcode_actions .wpml-ls-current-language a {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.08);
}

.wpml-ls-statics-shortcode_actions img.wpml-ls-flag {
    display: block;
    border-radius: 2px;
    width: auto;
    height: auto;
    max-width: 24px;
    max-height: 18px;
    flex-shrink: 0;
}

/* Hide language text - show only flags */
.wpml-ls-statics-shortcode_actions .wpml-ls-native,
.wpml-ls-statics-shortcode_actions .wpml-ls-display {
    display: none;
}

/* ==========================================================================
   Travel Report Single Page Meta
   ========================================================================== */
.travel-report-meta-container {
    color: var(--wp--preset--color--black);
    gap: var(--wp--preset--spacing--md);
}

.travel-report-meta-info {
    color: var(--wp--preset--color--black);
    margin: 0;
}

.travel-report-tour-link {
    margin: 0;
}

.travel-report-tour-link a {
    color: var(--wp--preset--color--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.travel-report-tour-link a:hover {
    color: var(--wp--preset--color--green);
}

/* ==========================================================================
   Travel Reports Grid (Archiv-Seite)
   ========================================================================== */
.travel-reports-grid,
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--wp--preset--spacing--lg);
    margin-bottom: var(--wp--preset--spacing--xl);
}

/* Blog-Card Basis-Styling (für Grid und Slider) */
.travel-reports-grid .blog-card,
.blog-cards-grid .blog-card {
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--border-radius--lg, 12px);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Blog-Card Link muss auch flex: 1 haben für Button-Ausrichtung */
.travel-reports-grid .blog-card .blog-card-link,
.blog-cards-grid .blog-card .blog-card-link {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Blog-Card Content Styling */
.travel-reports-grid .blog-card .blog-card-content,
.blog-cards-grid .blog-card .blog-card-content {
    padding: var(--wp--preset--spacing--md, 1.5rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Blog-Card Bild */
.travel-reports-grid .blog-card .blog-card-image,
.blog-cards-grid .blog-card .blog-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    overflow: hidden;
}

/* Blog-Card Title */
.travel-reports-grid .blog-card .blog-card-title,
.blog-cards-grid .blog-card .blog-card-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0 0 var(--wp--preset--spacing--sm, 0.75rem) 0;
    color: var(--wp--preset--color--black, #1a1a1a);
}

/* Blog-Card Meta */
.travel-reports-grid .blog-card .blog-meta,
.blog-cards-grid .blog-card .blog-meta {
    font-size: 0.85rem;
    color: var(--wp--preset--color--gray, #6c757d);
    margin-bottom: 0.25rem;
    display: block;
}

/* Blog-Card Title im Grid: kompakter Abstand */
.travel-reports-grid .blog-card .blog-card-title,
.blog-cards-grid .blog-card .blog-card-title {
    margin-bottom: 0.5rem;
}

/* Blog-Card Excerpt */
.travel-reports-grid .blog-card p,
.blog-cards-grid .blog-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--wp--preset--color--black, #1a1a1a);
    margin: 0 0 var(--wp--preset--spacing--sm) 0;
}

/* Grid: Button (und umschließendes p) nach unten drücken */
.travel-reports-grid .blog-card .blog-link,
.blog-cards-grid .blog-card .blog-link {
    margin-top: auto;
}

/* Grid: Das p das den Button enthält muss auch margin-top: auto haben */
.travel-reports-grid .blog-card-content p:last-of-type,
.blog-cards-grid .blog-card-content p:last-of-type {
    margin-top: auto;
    margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
    .travel-reports-grid .blog-card:hover,
    .blog-cards-grid .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
}

/* Blog-Card-Link für klickbare Cards */
.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card-link:hover {
    text-decoration: none;
}

.blog-card-link .blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-link .blog-card-content p {
    margin-bottom: var(--wp--preset--spacing--sm);
}


/* Leere p-Tags von wpautop ausblenden */
.blog-card-link > p:empty,
.blog-card-link .blog-card-content > p:empty {
    display: none;
}

/* Störendes p am Ende des article ausblenden */
.blog-card > p:last-child {
    display: none;
}

/* Blog-Link als Button-Style - nicht auf volle Breite strecken */
.blog-card .blog-link {
    align-self: flex-start;
    width: auto;
}

/* Button nach unten drücken - span statt p, daher eigene Regel */
.blog-card-link .blog-card-content .blog-link {
    margin-top: auto;
}

/* ==========================================================================
   Pagination Styling
   ========================================================================== */
.pagination-nav {
    margin-top: var(--wp--preset--spacing--xl);
    margin-bottom: var(--wp--preset--spacing--3-xl);
}

.pagination-nav ul,
.pagination-nav .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--wp--preset--spacing--xs);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.pagination-nav li {
    margin: 0;
}

.pagination-nav a.page-numbers,
.pagination-nav span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
    border-radius: var(--wp--custom--border-radius--md, 8px);
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--light-gray);
    color: var(--wp--preset--color--black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-nav a.page-numbers:hover {
    background: var(--wp--preset--color--off-white);
    border-color: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--primary-blue);
}

.pagination-nav .page-numbers.current {
    background: var(--wp--preset--color--primary-blue);
    border-color: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
}

.pagination-nav .page-numbers.prev,
.pagination-nav .page-numbers.next {
    font-size: 1.25rem;
}

.pagination-nav .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 var(--wp--preset--spacing--xs);
}

/* Screen Reader Only */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Footer Social Icons - Brand Colors
   ========================================================================== */
footer .wp-block-social-links .wp-social-link-facebook a {
    background-color: #1877f2 !important;
}

footer .wp-block-social-links .wp-social-link-instagram a {
    background-color: #e4405f !important;
}

footer .wp-block-social-links .wp-social-link-x a {
    background-color: #1da1f2 !important;
}

footer .wp-block-social-links .wp-social-link-flickr a {
    background-color: #0063dc !important;
}

footer .wp-block-social-links .wp-social-link-whatsapp a {
    background-color: #25d366 !important;
}

/* Icons weiß auf buntem Hintergrund */
footer .wp-block-social-links .wp-block-social-link a {
    color: #ffffff !important;
}

/* Runde Icons */
footer .wp-block-social-links .wp-block-social-link a {
    border-radius: 50% !important;
}

/* Hover-Effekt: leichte Aufhellung */
footer .wp-block-social-links .wp-block-social-link a:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ==========================================================================
   Partner Section (über Footer)
   ========================================================================== */
.partner-section {
    border-top: 1px solid var(--wp--preset--color--light-gray);
    padding-top: var(--wp--preset--spacing--xl) !important;
    padding-bottom: var(--wp--preset--spacing--xl) !important;
}

.partner-section h5 {
    font-size: var(--wp--preset--font-size--medium);
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--wp--preset--color--black);
}

.partner-logo {
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo img {
    max-height: 100px;
    width: auto !important;
    object-fit: contain;
}

@media (max-width: 35rem) {
    .partner-section .wp-block-group {
        gap: var(--wp--preset--spacing--md) !important;
    }

    .partner-logo img {
        max-height: 70px;
    }
}

/* ==========================================================================
   WordPress Core Pagination - siehe Sprint 4 Styles unten
   ========================================================================== */

/* ==========================================================================
   Sprint 4: Tour-Übersicht Verbesserungen
   ========================================================================== */

/* --- Tour Card Flagge --- */
.tour-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.tour-card-flag {
    position: absolute;
    top: var(--wp--preset--spacing--sm);
    right: var(--wp--preset--spacing--sm);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

/* --- Rating Icons (PNG) --- */
.rating-icon {
    display: inline-block;
    vertical-align: middle;
    height: auto;
    width: 100px; /* Feste Breite wie auf Originalseite */
}

.tour-card-meta .rating-icon {
    width: 150px; /* Größer für bessere Lesbarkeit */
}

/* Responsive: Icons auf kleineren Bildschirmen */
@media (max-width: 48rem) {
    .tour-card-meta .rating-icon {
        width: 120px;
    }
}

@media (max-width: 30rem) {
    .tour-card-meta .rating-icon {
        width: 100px;
    }
}

/* --- Tour Card Meta: Dunkler und Größer --- */
.tour-card-meta {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
    gap: var(--wp--preset--spacing--xs);
}

.tour-card-meta span {
    font-weight: 500;
}

.tour-card-meta .tour-meta-difficulty,
.tour-card-meta .tour-meta-fitness {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- Filter-Styling verbessert --- */
.filter-bar {
    position: relative;
}

.filter-bar::before {
    content: "Touren filtern";
    display: block;
    font-size: var(--wp--preset--font-size--large);
    font-weight: 600;
    color: var(--wp--preset--color--primary-blue);
    margin-bottom: var(--wp--preset--spacing--md);
}

.filter-item label {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
}

.filter-item select {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 500;
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    border-width: 2px;
}

.filter-results {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 500;
}

.filter-results strong {
    font-size: var(--wp--preset--font-size--large);
}

/* --- Paginierung als Buttons --- */
.wp-block-query-pagination {
    margin-top: var(--wp--preset--spacing--lg);
    margin-bottom: var(--wp--preset--spacing--xl);
    gap: var(--wp--preset--spacing--xs);
}

.wp-block-query-pagination-numbers .page-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--wp--preset--spacing--sm);
    font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--wp--custom--border-radius--sm);
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
    transition: background 0.2s ease;
}

.wp-block-query-pagination-numbers .page-numbers:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
}

.wp-block-query-pagination-numbers .current {
    background: var(--wp--preset--color--green);
    cursor: default;
}

/* "Seite X von Y" Anzeige */
.pagination-info {
    text-align: center;
    margin-top: var(--wp--preset--spacing--lg);
    color: var(--wp--preset--color--black);
    font-size: var(--wp--preset--font-size--medium);
}

.pagination-info strong {
    color: var(--wp--preset--color--primary-blue);
}

/* ==========================================================================
   Tour Overview (Grid-Layout für Highlights + Facts nebeneinander)
   ========================================================================== */

/* Container: Grid Layout */
.tour-overview-wrapper {
    display: grid;
    gap: var(--wp--preset--spacing--lg);
}

/* Desktop: Zwei Spalten */
@media (min-width: 48rem) {
    .tour-overview-wrapper {
        grid-template-columns: 1fr 350px;
        grid-template-rows: auto auto;
        gap: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--xl);
    }

    /* .tour-overview enthält Highlights + Facts,
       aber wir wollen sie in verschiedene Grid-Zellen */
    .tour-overview {
        display: contents;
    }

    /* Highlights: Linke Spalte, erste Zeile */
    .tour-overview-highlights {
        grid-column: 1;
        grid-row: 1;
    }

    /* Facts: Rechte Spalte, beide Zeilen überspannend */
    .tour-overview-facts {
        grid-column: 2;
        grid-row: 1 / 3;
        position: sticky;
        top: 150px;
        height: fit-content;
        align-self: start;
    }

    /* Tour-Intro: Linke Spalte, zweite Zeile */
    .tour-intro {
        grid-column: 1;
        grid-row: 2;
    }
}

/* Mobile: Einspaltig, Facts oben */
@media (max-width: 47.999rem) {
    .tour-overview-wrapper {
        grid-template-columns: 1fr;
    }

    .tour-overview {
        display: flex;
        flex-direction: column;
    }

    /* Facts oben */
    .tour-overview-facts {
        order: -1;
        margin-bottom: var(--wp--preset--spacing--lg);
    }

    .tour-overview-highlights {
        margin-bottom: var(--wp--preset--spacing--lg);
    }
}

.tour-overview-highlights h2,
.tour-detail-single-column .tour-overview-highlights h2 {
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--md);
    padding-top: 0;
    border-top: none;
    font-size: var(--wp--preset--font-size--large);
    color: var(--wp--preset--color--black);
}

.tour-overview-highlights-list {
    margin: 0;
}

.tour-overview-highlights-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-overview-highlights-list li {
    background: var(--wp--preset--color--light-blue-bg);
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
    margin-bottom: var(--wp--preset--spacing--xs);
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: var(--wp--preset--spacing--sm);
}

.tour-overview-highlights-list li::before {
    content: '✓';
    color: var(--wp--preset--color--green);
    font-weight: 700;
    flex-shrink: 0;
}

.tour-overview-facts {
    background: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--md);
    border-radius: var(--wp--custom--border-radius--md, 8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.tour-overview-facts-heading {
    margin: 0 0 var(--wp--preset--spacing--sm) 0;
    font-size: var(--wp--preset--font-size--large);
    color: var(--wp--preset--color--black);
}

.tour-fact-ez-surcharge {
    color: var(--wp--preset--color--primary-blue);
    font-weight: 600;
}

.tour-overview-facts-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.tour-fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--wp--preset--spacing--sm);
    padding: var(--wp--preset--spacing--xs) 0;
    border-bottom: 1px solid var(--wp--preset--color--light-gray);
}

.tour-fact-item:last-child {
    border-bottom: none;
}

.tour-fact-item dt {
    color: var(--wp--preset--color--black);
    font-size: var(--wp--preset--font-size--small);
    font-weight: bold;
    margin: 0;
    flex-shrink: 0;
}

.tour-fact-item dd {
    margin: 0;
    font-weight: 600;
    color: var(--wp--preset--color--black);
    text-align: right;
}

.tour-fact-item dd strong {
    color: var(--wp--preset--color--primary-blue);
    font-size: 1.1rem;
}

/* Rating Icons in Fakten-Box */
.tour-fact-item .rating-icon {
    width: 150px;
    height: auto;
}

/* Button "Termine & Preise" unter Kurzfassung */
.tour-overview-dates-button {
    margin-top: var(--wp--preset--spacing--md);
}

.tour-overview-dates-button a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
}

/* ==========================================================================
   Tour Detail Single Column Layout (Sprint 2)
   ========================================================================== */
.tour-detail-single-column {
    max-width: var(--wp--style--global--wide-size);
}

/* Booking-Sidebar im Single-Column Layout: volle Breite, keine Sticky */
.tour-detail-single-column .booking-box {
    max-width: 100%;
}

.tour-detail-single-column .tour-sidebar {
    position: static;
    max-height: none;
}

/* Titel-Sektion */
.tour-title-section h1 {
    margin: 0;
    font-size: var(--wp--preset--font-size--x-large);
    color: var(--wp--preset--color--black);
    font-weight: bold;
}

/* Section Dividers fuer Single-Column */
.tour-detail-single-column h2 {
    margin-top: var(--wp--preset--spacing--xl);
    padding-top: var(--wp--preset--spacing--md);
    border-top: 2px solid var(--wp--preset--color--light-gray);
}

/* Erste Sektion (nach Overview) ohne Border */
.tour-detail-single-column > .tour-intro h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ==========================================================================
   Tour Dates Table (Sprint 3)
   ========================================================================== */

.wp-block-geodiscovery-tour-dates-table {
    margin-bottom: var(--wp--preset--spacing--xl);
}

.wp-block-geodiscovery-tour-dates-table h2 {
    margin-top: var(--wp--preset--spacing--xl);
    padding-top: var(--wp--preset--spacing--md);
    border-top: 2px solid var(--wp--preset--color--light-gray);
    margin-bottom: var(--wp--preset--spacing--md);
}

/* Desktop-Tabelle */
.tour-dates-table-desktop {
    display: none;
}

@media (min-width: 56rem) {
    .tour-dates-table-desktop {
        display: block;
    }
    
    .tour-dates-table-mobile {
        display: none;
    }
}

.tour-dates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.tour-dates-table thead {
    background: var(--wp--preset--color--off-white);
}

.tour-dates-table th,
.tour-dates-table td {
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
    text-align: left;
    border-bottom: 1px solid var(--wp--preset--color--light-gray);
}

.tour-dates-table th {
    font-weight: 600;
    color: var(--wp--preset--color--dark-gray);
    font-size: 0.875rem;
    white-space: nowrap;
}

.tour-dates-table tbody tr:hover {
    background: var(--wp--preset--color--off-white);
}

/* Status-Badges */
.tour-date-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.tour-date-status.status-available {
    background: var(--wp--preset--color--light-green-bg);
    color: #2e7d32;
}

.tour-date-status.status-almost-full {
    background: #fff3e0;
    color: #e65100;
}

.tour-date-status.status-booked {
    background: var(--wp--preset--color--light-gray);
    color: var(--wp--preset--color--black);
}

/* Preis-Spalte */
.tour-date-price-cell {
    white-space: nowrap;
}

.tour-date-price-cell strong {
    color: var(--wp--preset--color--primary-blue);
    font-size: 1.0625rem;
}

.tour-date-price-cell small {
    display: block;
    font-size: 0.8125rem;
    color: var(--wp--preset--color--black);
}

/* Details-Spalte */
.tour-date-details-cell {
    font-size: 0.875rem;
    color: var(--wp--preset--color--dark-gray);
}

.tour-date-separator {
    color: var(--wp--preset--color--black);
    margin: 0 0.25rem;
}

.tour-date-lang img {
    vertical-align: middle;
    margin-right: 0.25rem;
}

.tour-date-holiday {
    color: var(--wp--preset--color--black);
}

/* Aktionen-Spalte */
.tour-date-actions-cell {
    white-space: nowrap;
}

.tour-date-actions-cell .btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.tour-date-actions-cell .btn:first-child {
    margin-left: 0;
}

.tour-date-actions-cell .btn-primary {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
}

.tour-date-actions-cell .btn-primary:hover {
    background: #6fb317;
}

.tour-date-actions-cell .btn-secondary {
    background: transparent;
    color: var(--wp--preset--color--primary-blue);
    border: 1px solid var(--wp--preset--color--primary-blue);
}

.tour-date-actions-cell .btn-secondary:hover {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
}

/* Ausgebucht-Zeile */
.tour-date-row-booked {
    opacity: 0.6;
}

.tour-date-booked-label {
    font-size: 0.8125rem;
    color: var(--wp--preset--color--black);
    font-style: italic;
}

/* Feiertags-Zeile */
.tour-date-row-holiday {
    background: #fff8f0;
}

.tour-date-row-holiday:hover {
    background: #fff3e0;
}

/* ==========================================================================
   Tour Dates Mobile Cards
   ========================================================================== */

.tour-dates-table-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--md);
}

/* Desktop: Mobile-Cards verstecken (muss NACH display:flex stehen) */
@media (min-width: 56rem) {
    .tour-dates-table-mobile {
        display: none;
    }
}

.tour-date-card {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--light-gray);
    border-radius: 8px;
    padding: var(--wp--preset--spacing--md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tour-date-card-booked {
    opacity: 0.6;
}

.tour-date-card-holiday {
    border-color: var(--wp--preset--color--warm-orange);
    background: #fff8f0;
}

.tour-date-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--wp--preset--spacing--sm);
}

.tour-date-card-date {
    font-weight: 600;
    color: var(--wp--preset--color--black);
}

.tour-date-card-price {
    font-size: 1.125rem;
    margin-bottom: var(--wp--preset--spacing--xs);
}

.tour-date-card-price strong {
    color: var(--wp--preset--color--primary-blue);
}

.tour-date-card-price small {
    font-size: 0.875rem;
    color: var(--wp--preset--color--black);
}

.tour-date-card-details {
    font-size: 0.875rem;
    color: var(--wp--preset--color--dark-gray);
    margin-bottom: var(--wp--preset--spacing--sm);
}

.tour-date-card-details img {
    vertical-align: middle;
    margin-right: 0.25rem;
}

.tour-date-card-actions {
    display: flex;
    gap: var(--wp--preset--spacing--xs);
}

.tour-date-card-actions .btn {
    flex: 1;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.tour-date-card-actions .btn-primary {
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
}

.tour-date-card-actions .btn-secondary {
    background: transparent;
    color: var(--wp--preset--color--primary-blue);
    border: 1px solid var(--wp--preset--color--primary-blue);
}

/* ==========================================================================
   Early Bird Banner (Frühbucher)
   ========================================================================== */

.early-bird-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--wp--preset--spacing--sm);
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    background: var(--wp--preset--color--light-green-bg);
    border: 2px solid var(--wp--preset--color--green);
    border-radius: 8px;
    margin: var(--wp--preset--spacing--lg) 0;
    text-align: center;
}

.early-bird-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.early-bird-banner p {
    margin: 0;
    color: var(--wp--preset--color--black);
    font-size: 1.0625rem;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 35rem) {
    .early-bird-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Tour Dates Empty State
   ========================================================================== */

.tour-dates-empty {
    background: var(--wp--preset--color--off-white);
    padding: var(--wp--preset--spacing--lg);
    border-radius: 8px;
    text-align: center;
}

.tour-dates-empty p {
    margin: 0;
    color: var(--wp--preset--color--black);
    font-size: 1rem;
}

/* ==========================================================================
   Frühbucher-Badge in Termin-Tabelle
   ========================================================================== */

.tour-date-earlybird-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #dc3545;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    cursor: help;
    position: relative;
    transition: transform 0.2s, background-color 0.2s;
    vertical-align: middle;
    line-height: 1;
}

.tour-date-earlybird-badge:hover {
    transform: scale(1.1);
    background-color: #c82333;
}

/* Tooltip für Frühbucher */
.tour-date-earlybird-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    margin-bottom: 0.5rem;
}

.tour-date-earlybird-badge::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--wp--preset--color--black);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    margin-bottom: -6px;
}

.tour-date-earlybird-badge:hover::after,
.tour-date-earlybird-badge:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Anfragen-Button als blauer Button (nicht outline)
   ========================================================================== */

.tour-date-actions-cell .btn-secondary {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
    border: none;
}

.tour-date-actions-cell .btn-secondary:hover {
    background: var(--wp--preset--color--light-blue);
    color: var(--wp--preset--color--white);
}

.tour-date-card-actions .btn-secondary {
    background: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
    border: none;
}

.tour-date-card-actions .btn-secondary:hover {
    background: var(--wp--preset--color--light-blue);
    color: var(--wp--preset--color--white);
}

/* ==========================================================================
   Flagge in Fakten-Tabelle
   ========================================================================== */

.tour-fact-flag {
    width: 24px;
    height: auto;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tour-fact-item a {
    color: var(--wp--preset--color--primary-blue);
    text-decoration: none;
}

.tour-fact-item a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Destination FAQs - Akkordeon (Design wie Tagesprogramm)
   ========================================================================== */

.destination-faqs {
    margin-top: var(--wp--preset--spacing--xl);
    margin-bottom: var(--wp--preset--spacing--xl);
}

.destination-faqs h2 {
    margin-bottom: var(--wp--preset--spacing--md);
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    padding: 0;
    margin-bottom: var(--wp--preset--spacing--xs);
    border-bottom: none;
    background: transparent;
    transition: all 0.3s ease;
}

.faq-item h4 {
    margin: 0;
    font-family: inherit;
    font-size: 1.1rem;
    color: var(--wp--preset--color--primary-blue);
    cursor: pointer;
    padding: var(--wp--preset--spacing--xs) 0;
    transition: color 0.2s ease;
}

.faq-item h4:hover {
    color: var(--wp--preset--color--light-blue);
}

/* FAQ - Expanded State (wie Tagesprogramm) */
.faq-item:not(.faq-item-collapsed) {
    background: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--lg);
    margin-bottom: var(--wp--preset--spacing--md);
    border-left: 4px solid var(--wp--preset--color--green);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item:not(.faq-item-collapsed) h4 {
    margin-bottom: var(--wp--preset--spacing--sm);
    font-size: 1.25rem;
}

.faq-item-detail {
    margin-bottom: var(--wp--preset--spacing--sm);
}

.faq-item-collapsed .faq-item-detail {
    display: none;
}

/* FAQ-Bilder (wie day-item-images) */
.faq-item-images {
    display: grid;
    gap: var(--wp--preset--spacing--sm);
    margin-top: var(--wp--preset--spacing--sm);
}

.faq-item-images-multiple {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.faq-item-image-wrapper {
    border-radius: var(--wp--custom--border-radius--sm);
    overflow: hidden;
    cursor: pointer;
}

.faq-item-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s;
}

.faq-item-image-wrapper:hover .faq-item-image {
    transform: scale(1.05);
}

/* ==========================================================================
   Taxonomy Hero Slider
   ========================================================================== */

.taxonomy-hero--slider {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}

@media (max-width: 35rem) {
    .taxonomy-hero--slider {
        min-height: 50vh;
    }
}

.taxonomy-hero--slider .hero-slider {
    position: absolute;
    inset: 0;
}

.taxonomy-hero--slider .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.taxonomy-hero--slider .hero-slide.active {
    opacity: 1;
}

.taxonomy-hero--slider .taxonomy-hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.taxonomy-hero--slider .taxonomy-hero-content {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Tabellen-Styling (z.B. Wetter-Tabellen auf Länderinfo-Seiten)
   ========================================================================== */

.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}

.wp-block-table th,
.wp-block-table td {
    border: 1px solid #d0d0d0;
    padding: 0.5rem;
}

.wp-block-table th {
    text-align: center;
    font-weight: 700;
}

.wp-block-table td {
    text-align: left;
}

/* Responsive Tabellen */
@media (max-width: 48rem) {
    .wp-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wp-block-table table {
        min-width: 600px;
    }

    .wp-block-table th,
    .wp-block-table td {
        padding: 0.375rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   Contact Form 7 Styles
   ========================================================================== */

/* Form Container */
.wpcf7-form {
    max-width: 100%;
}

/* Labels */
.wpcf7-form p {
    margin-bottom: var(--wp--preset--spacing--sm);
}

/* Basis-Stile für alle Formularfelder */
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-captchac) {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    border: 1px solid #adb5bd;
    border-radius: var(--wp--custom--border-radius--sm);
    font-family: var(--wp--preset--font-family--muli);
    font-size: var(--wp--preset--font-size--medium);
    color: var(--wp--preset--color--black);
    background-color: var(--wp--preset--color--white);
    transition: border-color var(--wp--custom--transition--base), box-shadow var(--wp--custom--transition--base);
    appearance: none;
    -webkit-appearance: none;
}

/* Text Inputs */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-url,
.wpcf7-form-control.wpcf7-date {
    height: auto;
}

/* Captcha Input - kleineres Feld */
.wpcf7-form-control.wpcf7-captchar {
    width: 120px !important;
    display: inline-block;
    vertical-align: middle;
}

/* Textarea */
.wpcf7-form-control.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: var(--wp--custom--line-height--base);
}

/* Select / Dropdown */
.wpcf7-form-control.wpcf7-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--wp--preset--spacing--md) center;
    padding-right: calc(var(--wp--preset--spacing--md) * 2 + 12px);
}

/* Focus States */
.wpcf7-form-control:focus:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    outline: none;
    border-color: var(--wp--preset--color--primary-blue);
    box-shadow: 0 0 0 3px rgba(16, 33, 139, 0.1);
}

/* Hover States */
.wpcf7-form-control:hover:not(:focus):not(.wpcf7-submit):not(.wpcf7-acceptance):not(:disabled) {
    border-color: var(--wp--preset--color--black);
}

/* Placeholder */
.wpcf7-form-control::placeholder {
    color: var(--wp--preset--color--black);
    opacity: 1;
}

/* Validation Error State */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3545;
}

.wpcf7-form-control.wpcf7-not-valid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Error Messages */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: var(--wp--preset--font-size--small);
    margin-top: var(--wp--preset--spacing--xs);
    display: block;
}

/* Submit Button */
.wpcf7-form-control.wpcf7-submit {
    display: inline-block;
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--lg);
    background-color: var(--wp--preset--color--primary-blue);
    color: var(--wp--preset--color--white);
    border: none;
    border-radius: var(--wp--custom--border-radius--sm);
    font-family: var(--wp--preset--font-family--muli);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--wp--custom--transition--base), transform var(--wp--custom--transition--base);
    text-transform: none;
    letter-spacing: normal;
}

.wpcf7-form-control.wpcf7-submit:hover:not(:disabled) {
    background-color: var(--wp--preset--color--green);
}

@media (hover: hover) and (pointer: fine) {
    .wpcf7-form-control.wpcf7-submit:hover:not(:disabled) {
        transform: translateY(-2px);
    }
}

.wpcf7-form-control.wpcf7-submit:active:not(:disabled) {
    transform: translateY(0);
}

.wpcf7-form-control.wpcf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spinner (beim Senden) */
.wpcf7-spinner {
    display: inline-block;
    vertical-align: middle;
    margin-left: var(--wp--preset--spacing--sm);
}

/* Acceptance / Checkbox */
.wpcf7-form p.acceptance-field {
    display: flex;
    align-items: flex-start;
    gap: var(--wp--preset--spacing--sm);
}

.wpcf7-form p.acceptance-field .wpcf7-form-control-wrap,
.wpcf7-form p.acceptance-field .wpcf7-acceptance,
.wpcf7-form p.acceptance-field .wpcf7-list-item {
    display: contents;
}

.wpcf7-acceptance input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    accent-color: var(--wp--preset--color--green);
    cursor: pointer;
}

.acceptance-field__label {
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--custom--line-height--base);
}

.acceptance-field__label a {
    color: var(--wp--preset--color--primary-blue);
    text-decoration: underline;
}

.acceptance-field__label a:hover {
    color: var(--wp--preset--color--green);
}

/* Captcha Bild */
.wpcf7-captchac {
    vertical-align: middle;
    margin-right: var(--wp--preset--spacing--sm);
    border-radius: var(--wp--custom--border-radius--sm);
}

/* Response Output (Success/Error Messages) */
.wpcf7-response-output {
    margin-top: var(--wp--preset--spacing--md);
    padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
    border-radius: var(--wp--custom--border-radius--sm);
    font-size: var(--wp--preset--font-size--small);
}

.wpcf7-form.sent .wpcf7-response-output {
    border-color: var(--wp--preset--color--green);
    background-color: var(--wp--preset--color--light-green-bg);
    color: #155724;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

/* Required Asterisk */
.wpcf7-form .required {
    color: #dc3545;
    margin-left: 2px;
}

/* Mobile Optimierungen */
@media (max-width: 48rem) {
    .wpcf7-form-control.wpcf7-submit {
        width: 100%;
        text-align: center;
    }

    .wpcf7-form p.acceptance-field {
        align-items: flex-start;
    }
}

/* ==========================================================================
   Destination Grid - Klickbare Kacheln (Startseite)
   ========================================================================== */

.destination-card-clickable {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Stretched-Link: Der Link im Titel deckt die gesamte Karte ab */
.destination-card-clickable .tour-card-title a {
    color: inherit;
    text-decoration: none;
}

.destination-card-clickable .tour-card-title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
    .destination-card-clickable:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
}

.destination-card-clickable:active {
    transform: scale(0.98);
}

/* Intro-Text in Destination-Grid-Section volle Breite */
.destination-grid-section .section-header + .wp-block-paragraph,
.destination-grid-section .section-header + p,
.destination-grid-section .section-header .wp-block-paragraph:not(:first-of-type),
.destination-grid-section > .wp-block-paragraph {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: var(--wp--preset--spacing--lg);
}
