/* ==========================================================================
   FotoTour Santiago - Components CSS
   Complete styling for all theme components
   ========================================================================== */

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-lg);
}

.container--narrow {
    max-width: 900px;
}

.container--wide {
    max-width: 1600px;
}

/* ==========================================================================
   ICONS
   ========================================================================== */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

/* Icon sizes */
.icon--sm svg {
    width: 16px;
    height: 16px;
}

.icon--md svg {
    width: 20px;
    height: 20px;
}

.icon--lg svg {
    width: 24px;
    height: 24px;
}

.icon--xl svg {
    width: 32px;
    height: 32px;
}

/* Standalone SVG styling (when not wrapped in .icon) */
svg {
    flex-shrink: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn--secondary {
    background-color: var(--color-text);
    color: var(--color-white);
}

.btn--secondary:hover {
    background-color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
}

.btn--outline:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

.btn--outline-white {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn--outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-text);
}

.btn--whatsapp {
    background-color: #25D366;
    color: var(--color-white);
}

.btn--whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
}

.btn svg {
    width: 20px;
    height: 20px;
}


/* ==========================================================================
   HEADER - Complete Rewrite
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-md) 0;
    background-color: #fff;
    transition: background-color 0.3s, padding 0.3s, box-shadow 0.3s;
}

/* Transparent header on homepage */
.site-header.is-transparent {
    background-color: transparent;
}

.site-header.is-transparent .header-sitename,
.site-header.is-transparent .header-tagline,
.site-header.is-transparent .header-nav__list a {
    color: #fff;
}

.site-header.is-transparent .header-burger span {
    background-color: #fff;
}

/* Scrolled state */
.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header.is-scrolled .header-sitename,
.site-header.is-scrolled .header-tagline,
.site-header.is-scrolled .header-nav__list a {
    color: var(--color-text);
}

.site-header.is-scrolled .header-burger span {
    background-color: var(--color-text);
}

/* Header Inner Layout */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

/* Brand Section */
.header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.header-logo {
    display: block;
}

.header-logo img,
.header-logo .custom-logo,
.header-logo .custom-logo-link img {
    height: 50px !important;
    width: auto !important;
    max-width: 80px !important;
}

.header-logo__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-md);
}

.header-sitename {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-text);
}

.header-sitename__foto {
    color: var(--color-primary);
}

/* Center Section - Desktop Only */
.header-center {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

@media (min-width: 1024px) {
    .header-center {
        display: flex;
    }
}

.header-tagline {
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

.header-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav__list li {
    margin: 0;
}

.header-nav__list a {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 4px 0;
}

.header-nav__list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.header-nav__list a:hover::after,
.header-nav__list .current-menu-item a::after {
    width: 100%;
}

/* CTA Button - Desktop Only */
.header-cta {
    display: none;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .header-cta {
        display: block;
    }
}

/* Burger Menu Button */
.header-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .header-burger {
        display: none;
    }
}

.header-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
}

.header-burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.header-burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE NAVIGATION - Complete Rewrite
   ========================================================================== */

.mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: calc(var(--z-header) - 1);
    background-color: var(--color-text);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav__content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.mobile-nav.is-open .mobile-nav__content {
    transform: translateY(0);
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__list li {
    margin: 0;
}

.mobile-nav__list a {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav__list a:hover {
    color: var(--color-primary);
}

.mobile-nav__cta {
    margin-top: var(--space-2xl);
}

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    z-index: calc(var(--z-header) + 1);
    transition: width 0.1s linear;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0;
}

/* Reset any spacing that might push hero down */
.site-wrapper,
.site-main,
main,
#main {
    margin-top: 0;
    padding-top: 0;
}

/* For pages with fixed header (NOT homepage), add padding */
body:not(.home):not(.is-front-page) .site-main,
body:not(.home):not(.is-front-page) #main {
    padding-top: 100px; /* Space for fixed header */
}

/* Homepage hero - ensure full viewport coverage */
body.home .hero,
body.is-front-page .hero,
.home .hero {
    margin-top: 0 !important;
}

.hero__bg,
.hero__background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__bg img,
.hero__bg-image,
.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    width: 100%;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.hero__title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.hero__title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charReveal 0.5s ease forwards;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__description {
    font-size: var(--text-lg);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    opacity: 0.8;
}

.hero__scroll[data-animate] {
    opacity: 0;
    transform: translateX(-50%) translateY(40px);
}

.hero__scroll[data-animate].is-visible {
    opacity: 0.8;
    transform: translateX(-50%) translateY(0);
}

.hero__scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white);
    cursor: pointer;
    transition: opacity var(--transition-base);
    text-align: center;
}

.hero__scroll-link:hover {
    opacity: 1;
}

.hero__scroll-link span {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__scroll-text {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-white), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ==========================================================================
   GALLERY SECTION (Horizontal Scroll)
   ========================================================================== */

.gallery,
.gallery-section {
    padding: var(--space-4xl) 0;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.gallery__header {
    margin-bottom: var(--space-2xl);
}

.gallery__track,
.gallery-scroll__track {
    display: flex;
    gap: var(--space-lg);
    cursor: grab;
    user-select: none;
    padding-bottom: var(--space-lg);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery__track::-webkit-scrollbar,
.gallery-scroll__track::-webkit-scrollbar {
    display: none;
}

.gallery__track.is-grabbing,
.gallery-scroll__track.is-grabbing {
    cursor: grabbing;
}

.gallery__item,
.gallery-scroll__item {
    flex-shrink: 0;
    width: 400px;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .gallery__item,
    .gallery-scroll__item {
        width: 300px;
        height: 400px;
    }
}

.gallery__item img,
.gallery-scroll__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.gallery__item:hover img,
.gallery-scroll__item:hover img {
    transform: scale(1.05);
}

/* Gallery overlay with tour name */
.gallery-scroll__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.gallery-scroll__item:hover .gallery-scroll__overlay {
    opacity: 1;
}

.gallery-scroll__tour-name {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--text-base);
}

a.gallery-scroll__item {
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}

/* Gallery Video Items */
.gallery-scroll__item--video,
.tour-gallery__item--video,
.tour-hero__gallery-slide--video {
    cursor: pointer;
}

.gallery-scroll__video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
    z-index: 2;
    pointer-events: none;
}

/* Video items themselves are clickable */
.gallery-scroll__item--video,
.tour-gallery__item--video,
.tour-hero__gallery-slide--video {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .gallery-scroll__item--video:hover .gallery-scroll__video-overlay,
    .tour-gallery__item--video:hover .gallery-scroll__video-overlay,
    .tour-hero__gallery-slide--video:hover .gallery-scroll__video-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.1) 100%);
    }
}

.gallery-scroll__play-btn {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: transform var(--transition-base), background var(--transition-base);
    padding-left: 4px; /* optical center for play triangle */
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.gallery-scroll__item--video:hover .gallery-scroll__play-btn,
.tour-gallery__item--video:hover .gallery-scroll__play-btn,
.tour-hero__gallery-slide--video:hover .gallery-scroll__play-btn {
    transform: scale(1.1);
    background: var(--color-white);
}

/* Video playing state – hide overlay + thumbnail */
.gallery-scroll__item--video.is-playing .gallery-scroll__video-overlay,
.gallery-scroll__item--video.is-playing > img,
.tour-gallery__item--video.is-playing .gallery-scroll__video-overlay,
.tour-gallery__item--video.is-playing > img,
.tour-hero__gallery-slide--video.is-playing .gallery-scroll__video-overlay,
.tour-hero__gallery-slide--video.is-playing > img {
    display: none;
}

.gallery-scroll__item--video.is-playing .gallery-scroll__overlay,
.tour-hero__gallery-slide--video.is-playing .gallery-scroll__overlay {
    display: none;
}

/* Inline video/iframe fills the item */
.gallery-scroll__item--video iframe,
.gallery-scroll__item--video video,
.tour-gallery__item--video iframe,
.tour-gallery__item--video video,
.tour-hero__gallery-slide--video iframe,
.tour-hero__gallery-slide--video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
    z-index: 3;
}

.gallery-scroll__video-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-scroll__video-caption {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 500;
    text-align: center;
    pointer-events: none;
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery__item:hover .gallery__caption {
    transform: translateY(0);
}

.gallery__hint,
.gallery-scroll__hint {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about,
.about-section {
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.about__grid,
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .about__grid,
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about__image,
.about-image {
    position: relative;
}

.about__image img,
.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about__image::before,
.about-image::before {
    content: '';
    position: absolute;
    top: var(--space-xl);
    left: var(--space-xl);
    right: calc(var(--space-xl) * -1);
    bottom: calc(var(--space-xl) * -1);
    border: 3px solid var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-image__placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

.about__content,
.about-content {
    max-width: 500px;
}

.about__subtitle {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.about__title,
.about-content__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xl);
}

.about__text,
.about-content__text {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.about__signature {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-style: italic;
}

/* ==========================================================================
   TOURS SECTION
   ========================================================================== */

.tours,
.tours-section {
    padding: var(--space-4xl) 0;
    background-color: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header--flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
}

.section-description {
    max-width: 600px;
    margin-inline: auto;
    margin-top: var(--space-lg);
    color: var(--color-text-light);
}

.tours__grid,
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

@media (max-width: 480px) {
    .tours__grid,
    .tours-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TOUR CARD (with 3D Tilt Effect)
   ========================================================================== */

.tour-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.tour-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Image Section */
.tour-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tour-card:hover .tour-card__image img {
    transform: scale(1.05);
}

.tour-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
}

.tour-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tour-card:hover .tour-card__overlay {
    opacity: 1;
}

.tour-card__view {
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transform: scale(0.8);
    transition: transform var(--transition-base);
}

.tour-card:hover .tour-card__view {
    transform: scale(1);
}

.tour-card__view .icon svg {
    width: 20px;
    height: 20px;
}

/* Price Badge - in image */
.tour-card__image .tour-card__price {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
}

/* Content Section */
.tour-card__content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Price inline - hidden by default, shown in no-image variant */
.tour-card__price-inline {
    display: none;
}

.tour-card__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-card__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-base);
    line-height: 1.3;
}

.tour-card:hover .tour-card__title {
    color: var(--color-primary);
}

.tour-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.tour-card__meta {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-sm);
    margin-top: auto;
}

.tour-card__meta > span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-light);
    white-space: nowrap;
}

.tour-card__meta .icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.tour-card__meta .icon svg {
    width: 16px;
    height: 16px;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.tours-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .tours-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tours-grid,
    .tours-grid--3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TOUR CARD WITHOUT IMAGE
   ========================================================================== */

.tour-card--no-image {
    border: 1px solid var(--color-border);
    box-shadow: none;
}

.tour-card--no-image:hover {
    box-shadow: var(--shadow-md);
}

.tour-card--no-image .tour-card__link {
    flex-direction: row;
    align-items: stretch;
}

.tour-card--no-image .tour-card__content {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-lg);
    padding: var(--space-lg);
    width: 100%;
}

.tour-card--no-image .tour-card__price-inline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    min-width: 90px;
    padding-right: var(--space-lg);
    border-right: 1px solid var(--color-border);
}

.tour-card--no-image .tour-card__price-inline .price-label {
    font-size: var(--text-xs);
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.tour-card--no-image .tour-card__price-inline .price-amount {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.tour-card--no-image .tour-card__info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tour-card--no-image .tour-card__title {
    font-size: var(--text-base);
}

.tour-card--no-image .tour-card__excerpt {
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.tour-card--no-image .tour-card__meta {
    padding-top: var(--space-sm);
    gap: var(--space-lg);
}

/* Mobile: Stack layout for no-image cards */
@media (max-width: 480px) {
    .tour-card--no-image .tour-card__content {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .tour-card--no-image .tour-card__price-inline {
        flex-direction: row;
        align-items: baseline;
        gap: var(--space-sm);
        min-width: auto;
        padding-right: 0;
        padding-bottom: var(--space-md);
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */

.marquee {
    padding: var(--space-3xl) 0;
    background-color: var(--color-text);
    overflow: hidden;
}

.marquee__track {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee__item {
    flex-shrink: 0;
    padding: 0 var(--space-2xl);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.marquee__item::after {
    content: '✦';
    color: var(--color-primary);
}

.marquee__text {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    white-space: nowrap;
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */

.blog,
.blog-section {
    padding: var(--space-4xl) 0;
}

.blog__grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* ==========================================================================
   BLOG CARD
   ========================================================================== */

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
}

.blog-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.blog-card:hover .blog-card__overlay {
    opacity: 1;
}

.blog-card__view {
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transform: scale(0.8);
    transition: transform var(--transition-base);
}

.blog-card:hover .blog-card__view {
    transform: scale(1);
}

.blog-card__view .icon svg {
    width: 20px;
    height: 20px;
}

.blog-card__content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__cat {
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.blog-card__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    transition: color var(--transition-base);
}

.blog-card:hover .blog-card__title {
    color: var(--color-primary);
}

.blog-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__meta {
    display: flex;
    gap: var(--space-md);
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: auto;
    padding-top: var(--space-md);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact,
.contact-section {
    padding: var(--space-4xl) 0;
    background-color: var(--color-bg-alt);
}

.contact-section[data-theme="dark"] {
    background-color: var(--color-bg-dark, #111111);
    color: var(--color-white);
}

.contact__grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .contact__grid,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__info h3,
.contact-info__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xl);
}

.contact-info__text {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.contact-section[data-theme="dark"] .contact-info__text {
    color: rgba(255, 255, 255, 0.7);
}

.contact__list,
.contact-info__list {
    margin-bottom: var(--space-xl);
    list-style: none;
    padding: 0;
}

.contact__item,
.contact-info__list li {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info__list a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-light);
    transition: color var(--transition-base);
}

.contact__item svg,
.contact-info__list li .icon {
    color: var(--color-primary);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.contact-info__list li .icon svg {
    width: 20px;
    height: 20px;
}

.contact-info__list a:hover {
    color: var(--color-primary);
}

.contact-section[data-theme="dark"] .contact-info__list a {
    color: rgba(255, 255, 255, 0.7);
}

.contact-section[data-theme="dark"] .contact-info__list a:hover {
    color: var(--color-white);
}

.contact__social {
    display: flex;
    gap: var(--space-md);
}

.contact__social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.contact__social a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.contact__social svg {
    width: 24px;
    height: 24px;
}

/* Contact Form */
.contact-form,
.contact-form-wrapper {
    background-color: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
}

.contact-section[data-theme="dark"] .contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

.contact-section[data-theme="dark"] .form-group label {
    color: var(--color-primary);
}

.contact-section[data-theme="dark"] .fts-form-group label {
    color: var(--color-primary);
}

.contact-section[data-theme="dark"] .fts-booking-form-wrapper,
.contact-section[data-theme="dark"] .fts-booking-form {
    --fts-text: #ffffff;
    --fts-text-light: rgba(255, 255, 255, 0.5);
    --fts-border: rgba(255, 255, 255, 0.15);
    --fts-bg: rgba(255, 255, 255, 0.06);
    --fts-white: rgba(255, 255, 255, 0.06);
}

.contact-section[data-theme="dark"] .fts-booking-form select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

.contact-section[data-theme="dark"] .fts-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-section[data-theme="dark"] .form-group input,
.contact-section[data-theme="dark"] .form-group select,
.contact-section[data-theme="dark"] .form-group textarea,
.contact-section[data-theme="dark"] .fts-form-group input,
.contact-section[data-theme="dark"] .fts-form-group select,
.contact-section[data-theme="dark"] .fts-form-group textarea,
.contact-section[data-theme="dark"] .fts-booking-form input,
.contact-section[data-theme="dark"] .fts-booking-form select,
.contact-section[data-theme="dark"] .fts-booking-form textarea {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.contact-section[data-theme="dark"] .form-group input::placeholder,
.contact-section[data-theme="dark"] .form-group textarea::placeholder,
.contact-section[data-theme="dark"] .fts-booking-form input::placeholder,
.contact-section[data-theme="dark"] .fts-booking-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-section[data-theme="dark"] .form-group input:focus,
.contact-section[data-theme="dark"] .form-group select:focus,
.contact-section[data-theme="dark"] .form-group textarea:focus,
.contact-section[data-theme="dark"] .fts-booking-form input:focus,
.contact-section[data-theme="dark"] .fts-booking-form select:focus,
.contact-section[data-theme="dark"] .fts-booking-form textarea:focus {
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-section[data-theme="dark"] .fts-booking-form label,
.contact-section[data-theme="dark"] .fts-form-group label {
    color: var(--color-white);
}

.contact-section[data-theme="dark"] .flatpickr-input[readonly] {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.form-group,
.fts-form-group {
    margin-bottom: var(--space-lg);
}

.form-group label,
.fts-form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea,
.fts-form-group input,
.fts-form-group select,
.fts-form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    background-color: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition-base);
    -webkit-appearance: none;
    appearance: none;
}

/* Date input specific styling */
input[type="date"] {
    min-height: 48px;
    line-height: 1.4;
    color: var(--color-text);
    background-color: var(--color-white);
}

input[type="date"]::-webkit-datetime-edit {
    padding: 0;
}

input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

/* Empty date input placeholder color */
input[type="date"]:invalid,
input[type="date"][value=""] {
    color: var(--color-text-muted);
}

/* Date input in dark context (booking card on dark bg) */
/* Flatpickr alt-input inherits booking card styling */
.tour-booking-card .flatpickr-input[readonly],
.tour-booking-mobile .flatpickr-input[readonly],
.fts-booking-form .flatpickr-input[readonly] {
    background-color: var(--color-bg-alt, #f5f5f5);
    cursor: pointer;
}

.tour-booking-card .flatpickr-input[readonly]:focus,
.fts-booking-form .flatpickr-input[readonly]:focus {
    background-color: var(--color-white);
}

/* Booking form inputs inside booking card */
.tour-booking-card input,
.tour-booking-card select,
.tour-booking-card textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    min-height: 48px;
    background-color: var(--color-bg-alt, #f5f5f5);
    color: var(--color-text);
    transition: border-color var(--transition-base), background-color var(--transition-base);
}

.tour-booking-card select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: calc(var(--space-md) * 2 + 12px);
}

.tour-booking-card input:focus,
.tour-booking-card select:focus,
.tour-booking-card textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

/* Mobile booking section styling */
.tour-booking-mobile input,
.tour-booking-mobile select,
.tour-booking-mobile textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    min-height: 48px;
    background-color: var(--color-bg-alt, #f5f5f5);
    color: var(--color-text);
}

.tour-booking-mobile select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: calc(var(--space-md) * 2 + 12px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.fts-form-group input:focus,
.fts-form-group select:focus,
.fts-form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-section {
    padding: var(--space-5xl) 0;
    overflow: hidden;
}

.testimonials-section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Testimonials Slider - base rules, overrides weiter unten */
.testimonials-slider {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md) var(--container-padding);
    align-items: flex-start;
    max-width: 100%;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonials-slider .testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
}

@media (max-width: 640px) {
    .testimonials-slider .testimonial-card {
        flex: 0 0 300px;
    }
}

/* Testimonial Card */
.testimonial-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card__rating {
    color: #f59e0b;
}

.star-rating {
    display: inline-flex;
    gap: 2px;
}

.star-rating .star {
    width: 18px;
    height: 18px;
}

.star--filled {
    color: #f59e0b;
}

.star--empty {
    color: var(--color-gray-300);
}

.testimonial-card__text {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
    flex-grow: 1;
}

.testimonial-card__text::before {
    content: '"';
    font-size: var(--text-3xl);
    font-family: Georgia, serif;
    color: var(--color-primary);
    line-height: 0;
    vertical-align: -0.3em;
    margin-right: 4px;
}

.testimonial-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
    background-color: var(--color-bg);
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-card__name {
    font-weight: 600;
    color: var(--color-text);
}

.testimonial-card__country {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.testimonial-card__source {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    background-color: var(--color-bg-alt);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Dark theme variant */
[data-theme="dark"] .testimonial-card {
    background-color: var(--color-bg-alt);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--color-bg-dark, #111111);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand__logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    text-decoration: none;
}

.footer-brand__logo img {
    max-height: 40px;
    width: auto;
}

.footer-brand__tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4,
.footer-cta h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
}

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

.footer-nav__list li a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-xs) 0;
    font-size: var(--text-sm);
    transition: color var(--transition-base);
    text-decoration: none;
}

.footer-nav__list li a:hover {
    color: var(--color-white);
}

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

.footer-contact__list li {
    margin-bottom: var(--space-sm);
}

.footer-contact__list a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    transition: color var(--transition-base);
    text-decoration: none;
}

.footer-contact__list a:hover {
    color: var(--color-white);
}

.footer-contact__list svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.footer-copyright {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: var(--space-lg);
}

.footer-legal__list li a {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-base);
    text-decoration: none;
}

.footer-legal__list li a:hover {
    color: var(--color-white);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal__list {
        justify-content: center;
    }
}

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

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

.page-header {
    position: relative;
    padding: calc(var(--space-4xl) + 80px) 0 var(--space-4xl);
    background-color: var(--color-text);
    color: var(--color-white);
    text-align: center;
}

.page-header--with-image {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header__background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
}

.page-header__content {
    position: relative;
    z-index: 1;
}

.page-header__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
}

.page-header__label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.page-header__subtitle {
    font-size: var(--text-lg);
    opacity: 0.8;
    max-width: 600px;
    margin-inline: auto;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.breadcrumbs a {
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs span {
    margin: 0 var(--space-sm);
    opacity: 0.5;
}

/* ==========================================================================
   TOUR SINGLE PAGE
   ========================================================================== */

.tour-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.tour-hero__bg {
    position: absolute;
    inset: 0;
}

.tour-hero__bg img,
.tour-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   TOUR HERO WITH GALLERY SLIDER
   Layout-Regeln in High-Specificity Block weiter unten.
   Hier nur Basis-Element-Styles.
   ========================================================================== */

@keyframes autoScrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tour-hero__gallery-slider {
    overflow: hidden;
}

.tour-hero__gallery-track {
    display: flex;
    height: 100%;
    cursor: grab;
    user-select: none;
}

.tour-hero__gallery-track:active {
    cursor: grabbing;
}

.tour-hero__gallery-track.is-dragging {
    cursor: grabbing;
    animation: none !important;
}

.tour-hero__gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.tour-hero__content {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
    color: var(--color-white);
    width: 100%;
}

.tour-hero__category {
    display: inline-block;
    background-color: var(--color-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.tour-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
}

.tour-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.tour-hero__meta > span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.tour-hero__meta .icon {
    opacity: 0.8;
}

.tour-hero__meta .icon svg {
    width: 20px;
    height: 20px;
}

.tour-hero__meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.tour-hero__meta-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    flex-shrink: 0;
}

.tour-hero__meta-item .icon svg {
    width: 20px;
    height: 20px;
}

/* Tour Content Grid */
.tour-content {
    padding: var(--space-4xl) 0;
}

.tour-content__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .tour-content__grid {
        grid-template-columns: 1fr 400px;
    }
}

.tour-content__main h2,
.tour-description h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-2xl);
}

.tour-content__main h2:first-child,
.tour-description h2:first-child {
    margin-top: 0;
}

.tour-content__main p,
.tour-description p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.tour-content__main ul,
.tour-content__main ol,
.tour-description ul,
.tour-description ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.tour-content__main li,
.tour-description li {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    list-style: disc;
}

/* Tour Highlights */
.tour-highlights {
    background-color: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-2xl) 0;
}

.tour-highlights h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
    margin-top: 0;
}

.tour-highlights__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
}

.tour-highlights__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-highlights__list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    color: var(--color-text);
}

.tour-highlights__list li .icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.tour-highlights__list li .icon svg {
    width: 20px;
    height: 20px;
}

.tour-highlights__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.tour-highlights__item svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.tour-highlights__item .icon {
    color: var(--color-primary);
}

.tour-highlights__item .icon svg {
    width: 20px;
    height: 20px;
}

/* Tour Sidebar / Booking Card */
.tour-sidebar {
    position: relative;
}

.tour-booking-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: var(--space-xl);
}

.tour-booking-card[data-sticky] {
    position: sticky;
    top: 100px;
}

.tour-booking-card__price {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.tour-booking-card__price .label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.tour-booking-card__price .amount {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
}

.tour-booking-card__price .suffix {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.tour-booking-card__note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.tour-booking-card hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-lg) 0;
}

.tour-booking-card__info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-booking-card__info li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.tour-booking-card__info li:last-child {
    border-bottom: none;
}

.tour-booking-card__info li .icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.tour-booking-card__info li .icon svg {
    width: 20px;
    height: 20px;
}

.tour-booking-card__info li span {
    color: var(--color-text-light);
}

.tour-booking-card__info li strong {
    margin-left: auto;
    font-weight: 600;
}

.tour-booking-card__payment {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-lg);
    margin-bottom: 0;
}

/* Button modifiers for booking card */
.btn--full {
    width: 100%;
}

.btn--accent {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--accent:hover {
    background-color: var(--color-primary-dark);
}

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

/* Mobile CTA Buttons - hidden on desktop */
.tour-mobile-cta {
    display: none;
}

/* Mobile Booking Section - hidden on desktop */
.tour-booking-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Show mobile CTAs */
    .tour-mobile-cta {
        display: block;
        padding: var(--space-md) var(--container-padding);
    }
    
    .tour-mobile-cta .btn {
        font-size: var(--text-base);
        font-weight: 700;
        padding: var(--space-md) var(--space-xl);
    }
    
    /* Hide desktop sidebar */
    .tour-sidebar {
        display: none;
    }
    
    /* Single column on mobile */
    .tour-content__grid {
        grid-template-columns: 1fr;
    }
    
    /* Show mobile booking section */
    .tour-booking-mobile {
        display: block;
        padding: var(--space-3xl) 0;
        background-color: var(--color-bg-alt);
    }
    
    .tour-booking-mobile__title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-xl);
        text-align: center;
    }
    
    .tour-booking-mobile .tour-booking-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Timeline compact: small thumbs inline */
    .tour-timeline__inner {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .tour-timeline__image {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        border-radius: var(--radius-md);
    }
    
    .tour-timeline__content {
        padding: var(--space-sm) var(--space-md);
    }
    
    .tour-timeline__excerpt {
        font-size: var(--text-sm);
    }
}

/* ==========================================================================
   FLATPICKR THEME OVERRIDE
   ========================================================================== */

.flatpickr-calendar {
    font-family: var(--font-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.flatpickr-calendar.open {
    z-index: 99999;
}

/* Header */
.flatpickr-months {
    background-color: var(--color-primary);
    padding: var(--space-xs) 0;
}

.flatpickr-months .flatpickr-month {
    color: var(--color-white);
    fill: var(--color-white);
    height: 40px;
}

.flatpickr-current-month {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: var(--color-white);
    font-weight: 600;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: rgba(255, 255, 255, 0.15);
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: var(--color-white);
    fill: var(--color-white);
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: var(--color-white);
    fill: var(--color-white);
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    fill: var(--color-white);
}

/* Weekday header */
.flatpickr-weekdays {
    background-color: var(--color-bg-alt);
}

span.flatpickr-weekday {
    color: var(--color-text-light);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Days */
.flatpickr-day {
    color: var(--color-text);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    max-width: 40px;
    height: 40px;
    line-height: 40px;
    transition: all 0.15s ease;
}

.flatpickr-day:hover {
    background-color: var(--color-bg-alt);
    border-color: var(--color-bg-alt);
}

.flatpickr-day.today {
    border-color: var(--color-primary);
    font-weight: 700;
}

.flatpickr-day.today:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.flatpickr-day.selected {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
}

.flatpickr-day.selected:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* Disabled / past days */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: var(--color-text-muted, #ccc);
    background: transparent;
    cursor: not-allowed;
}

/* Future disabled dates (blocked/booked) get strikethrough */
.flatpickr-day.flatpickr-disabled:not(.prevMonthDay):not(.nextMonthDay).flatpickr-booked {
    color: var(--color-danger, #dc3545);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    opacity: 0.7;
}

.flatpickr-day.flatpickr-disabled:not(.prevMonthDay):not(.nextMonthDay).flatpickr-booked:hover {
    background-color: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.2);
    color: var(--color-danger, #dc3545);
}

/* Previous/next month days */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: var(--color-text-muted, #ccc);
}

/* Alt input (the visible one) */
.flatpickr-input[readonly],
input.flatpickr-input[readonly] {
    cursor: pointer;
    background-color: var(--color-bg-alt, #f5f5f5);
}

/* Calendar icon indicator */
.fts-form-group .flatpickr-input[readonly] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: calc(var(--space-md) * 2 + 18px);
}

/* ==========================================================================
   BOOKING FORM
   ========================================================================== */

.fts-booking-form-wrapper {
    width: 100%;
}

.fts-booking-form .fts-form-group {
    margin-bottom: var(--space-md);
}

.fts-booking-form .fts-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 480px) {
    .fts-booking-form .fts-form-row {
        grid-template-columns: 1fr;
    }
}

.fts-booking-form label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.fts-booking-form input,
.fts-booking-form select,
.fts-booking-form textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    min-height: 44px;
    background-color: var(--color-bg-alt, #f5f5f5);
    color: var(--color-text);
    transition: border-color var(--transition-base), background-color var(--transition-base);
}

.fts-booking-form input:focus,
.fts-booking-form select:focus,
.fts-booking-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

.fts-booking-form textarea {
    min-height: 80px;
    resize: vertical;
}

.fts-booking-form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: calc(var(--space-md) * 2 + 12px);
}

.fts-booking-form__legal {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: var(--space-md);
    margin-bottom: 0;
}

/* Minimal style (inside booking card) */
.fts-booking-form--minimal .fts-booking-form label {
    font-size: var(--text-xs);
}

.fts-booking-form--minimal .fts-booking-form input,
.fts-booking-form--minimal .fts-booking-form select,
.fts-booking-form--minimal .fts-booking-form textarea {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-sm);
    min-height: 40px;
}

/* ==========================================================================
   FILTER BAR
   ========================================================================== */

.filter-bar {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.filter-bar__list {
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-sm) 0;
}

.filter-bar__list::-webkit-scrollbar {
    display: none;
}

.filter-bar__item {
    flex-shrink: 0;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-light);
    border-radius: var(--radius-full);
    transition: color var(--transition-base), background var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.filter-bar__item:hover {
    color: var(--color-text);
    background: var(--color-gray-100);
}

.filter-bar__item.is-active {
    color: var(--color-text);
    background: var(--color-gray-100);
    font-weight: 600;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.is-active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-md);
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-base);
}

.pagination a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination .current {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.pagination .dots {
    border: none;
    background: none;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
}

.lightbox__close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: transform var(--transition-fast);
}

.lightbox__close:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger children */
[data-animate-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

[data-animate-stagger].is-visible > *:nth-child(1) { transition-delay: 0.1s; }
[data-animate-stagger].is-visible > *:nth-child(2) { transition-delay: 0.2s; }
[data-animate-stagger].is-visible > *:nth-child(3) { transition-delay: 0.3s; }
[data-animate-stagger].is-visible > *:nth-child(4) { transition-delay: 0.4s; }
[data-animate-stagger].is-visible > *:nth-child(5) { transition-delay: 0.5s; }
[data-animate-stagger].is-visible > *:nth-child(6) { transition-delay: 0.6s; }

[data-animate-stagger].is-visible > * {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   BLOG SINGLE
   ========================================================================== */

.post-content {
    padding: var(--space-4xl) 0;
}

.post-content__inner {
    max-width: 800px;
    margin-inline: auto;
}

.post-content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.post-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.post-content p {
    margin-bottom: var(--space-lg);
    color: var(--color-text-light);
}

.post-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

.post-content ul,
.post-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.post-content li {
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
    list-style: disc;
}

.post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-xl);
    margin: var(--space-xl) 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.post-meta__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.post-meta__item svg {
    width: 16px;
    height: 16px;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.post-tags a {
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.post-tags a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.share-buttons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-alt);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.share-buttons a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.share-buttons svg {
    width: 20px;
    height: 20px;
}

/* Related Posts */
.related-posts {
    padding: var(--space-4xl) 0;
    background-color: var(--color-bg-alt);
}

.related-posts__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

/* Related Tours */
.related-tours {
    padding: var(--space-4xl) 0;
    background-color: var(--color-bg-alt);
}

.tours-grid {
    display: grid;
    gap: var(--space-xl);
}

.tours-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

@media (min-width: 1024px) {
    .tours-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   BLOG SINGLE - HERO (mirrors tour-hero)
   ========================================================================== */

.blog-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
}

.blog-hero__bg img,
.blog-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.blog-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.blog-hero__content {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
    color: var(--color-white);
    width: 100%;
}

.blog-hero__content .breadcrumbs {
    color: rgba(255, 255, 255, 0.7);
}

.blog-hero__content .breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.blog-hero__content .breadcrumbs a:hover {
    color: var(--color-white);
}

.blog-hero__cats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.blog-hero__cat {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.blog-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
    color: var(--color-white);
}

.blog-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    color: rgba(255, 255, 255, 0.8);
}

.blog-hero__meta > span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.blog-hero__meta .icon {
    opacity: 0.8;
}

.blog-hero__meta .icon svg {
    width: 18px;
    height: 18px;
}

/* Blog without featured image - dark fallback */
.blog-hero:not(:has(.blog-hero__image)) {
    min-height: 40vh;
    background-color: var(--color-text);
}

/* ==========================================================================
   CONTENT BLOCKS (Media+Text, Image Strip)
   ========================================================================== */

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin: var(--space-3xl) 0;
}

.content-block--reversed {
    direction: rtl;
}

.content-block--reversed > * {
    direction: ltr;
}

.content-block__media img,
.content-block__media video {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.content-block__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.content-block__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .content-block {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .content-block--reversed {
        direction: ltr;
    }
}

/* Image Strip */
.content-block__strip {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-3xl) 0;
}

.content-block__strip--1 { grid-template-columns: 1fr; }
.content-block__strip--2 { grid-template-columns: 1fr 1fr; }
.content-block__strip--3 { grid-template-columns: 1fr 1fr 1fr; }
.content-block__strip--4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.content-block__strip-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
}

.content-block__strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.content-block__strip-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .content-block__strip--3,
    .content-block__strip--4 {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   BLOG SINGLE - CONTENT
   ========================================================================== */

.blog-single__content .prose {
    max-width: 800px;
}

.blog-single__tags {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.blog-single__tags span {
    font-weight: 600;
    color: var(--color-text);
}

.blog-single__tags a {
    color: var(--color-primary);
    transition: opacity var(--transition-base);
}

.blog-single__tags a:hover {
    opacity: 0.7;
}

/* Blog Share */
.blog-share {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.blog-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    margin-left: var(--space-sm);
    transition: all var(--transition-base);
}

.blog-share a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   BLOG POST COMPONENTS
   ========================================================================== */

/* Post Gallery Slider */
.post-gallery-slider {
    margin: var(--space-2xl) calc(var(--container-padding) * -1);
    overflow: hidden;
}

.post-gallery-slider__track {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) var(--container-padding);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.post-gallery-slider__track::-webkit-scrollbar {
    display: none;
}

.post-gallery-slider__item {
    flex: 0 0 auto;
    width: 300px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
}

.post-gallery-slider__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.post-gallery-slider__item:hover img {
    transform: scale(1.05);
}

/* Post Gallery Grid */
.post-gallery-grid {
    margin: var(--space-2xl) 0;
}

.post-gallery-grid__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
}

.post-gallery-grid__images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.post-gallery-grid__item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.post-gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.post-gallery-grid__item:hover img {
    transform: scale(1.05);
}

/* Image Text Block */
.image-text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin: var(--space-2xl) 0;
}

.image-text-block--reverse {
    direction: rtl;
}

.image-text-block--reverse > * {
    direction: ltr;
}

.image-text-block__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-text-block__image img {
    width: 100%;
    height: auto;
}

.image-text-block__content {
    font-size: var(--text-base);
}

.image-text-block__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .image-text-block {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .image-text-block--reverse {
        direction: ltr;
    }
}

/* Post Tour Card (embedded in post) */
.post-tour-card {
    margin: var(--space-2xl) 0;
    max-width: 400px;
}

.post-tour-card .tour-card {
    box-shadow: var(--shadow-lg);
}

/* Post Connected Tours */
.post-connected-tours {
    margin: var(--space-3xl) 0;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.post-connected-tours__header {
    margin-bottom: var(--space-xl);
}

.post-connected-tours__title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin: 0;
}

.post-connected-tours__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

@media (max-width: 640px) {
    .post-connected-tours__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ARCHIVE PAGES
   ========================================================================== */

.archive-content {
    padding: var(--space-4xl) 0;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* ==========================================================================
   SEARCH PAGE
   ========================================================================== */

.search-form {
    display: flex;
    max-width: 600px;
    margin: var(--space-2xl) auto;
}

.search-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    font-size: var(--text-base);
}

.search-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-form button {
    padding: var(--space-md) var(--space-xl);
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    font-weight: 600;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
}

.error-404__title {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.error-404__subtitle {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
}

.error-404__text {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-inline: auto;
}

/* ==========================================================================
   NO RESULTS
   ========================================================================== */

.no-results {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.no-results p {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .hero__title {
        font-size: var(--text-4xl);
    }
    
    .section-header--flex {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }
    
    .tour-content__grid {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .tour-sidebar {
        position: relative;
        margin-bottom: var(--space-xl);
    }
    
    .tour-booking-card[data-sticky] {
        position: relative;
        top: 0;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__legal {
        justify-content: center;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero__scroll-line {
        animation: none;
    }
    
    .marquee__track {
        animation: none;
    }
}

/* ==========================================================================
   BENEFITS BLOCK
   ========================================================================== */

.benefits-block {
    background-color: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-2xl) 0;
}

.benefits-block__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.benefits-block__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .benefits-block__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefits-block__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.benefits-block__item .icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-block__item .icon svg {
    width: 20px;
    height: 20px;
}

.benefits-block__item span {
    color: var(--color-text);
}

/* Compact variant */
.benefits-block--compact {
    padding: var(--space-lg);
}

.benefits-block--compact .benefits-block__list {
    grid-template-columns: 1fr;
}

/* ==========================================================================
   TOUR GALLERY
   ========================================================================== */

.tour-gallery {
    margin: var(--space-3xl) 0;
}

.tour-gallery h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xl);
}

.tour-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .tour-gallery__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tour-gallery__item {
    display: block;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.tour-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tour-gallery__item:hover img {
    transform: scale(1.05);
}

.tour-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background var(--transition-base);
}

.tour-gallery__item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   TOUR TIMELINE
   ========================================================================== */

.tour-timeline {
    margin: var(--space-3xl) 0;
}

.tour-timeline h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xl);
}

.tour-timeline__list {
    position: relative;
    padding-left: var(--space-3xl);
}

/* Vertical line */
.tour-timeline__list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-border));
}

.tour-timeline__item {
    position: relative;
    padding-bottom: var(--space-lg);
}

.tour-timeline__item:last-child {
    padding-bottom: 0;
}

.tour-timeline__marker {
    position: absolute;
    left: calc(var(--space-3xl) * -1);
    top: 0;
    width: 32px;
    height: 32px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    z-index: 1;
}

.tour-timeline__marker .icon svg {
    width: 16px;
    height: 16px;
}

.tour-timeline__content {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-base);
    border: 1px solid var(--color-border);
}

/* Inner grid: image left, text right */
.tour-timeline__inner {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.tour-timeline__image {
    flex: 0 0 140px;
    width: 140px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.tour-timeline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-timeline__body {
    flex: 1;
    min-width: 0;
}

.tour-timeline__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.tour-timeline__time {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2px var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
}

.tour-timeline__title {
    font-size: var(--text-base);
    font-weight: 600;
    margin: 0;
}

.tour-timeline__title a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text);
    transition: color var(--transition-base);
}

.tour-timeline__title a:hover {
    color: var(--color-primary);
}

.tour-timeline__title a .icon svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.tour-timeline__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: var(--space-xs);
}

.tour-timeline__meta span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.tour-timeline__meta .icon svg {
    width: 13px;
    height: 13px;
}

.tour-timeline__excerpt {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    margin: var(--space-xs) 0 0;
    line-height: 1.4;
}

/* Timeline responsive */
@media (max-width: 640px) {
    .tour-timeline__list {
        padding-left: var(--space-2xl);
    }
    
    .tour-timeline__marker {
        left: calc(var(--space-2xl) * -1);
        width: 28px;
        height: 28px;
    }
    
    .tour-timeline__list::before {
        left: 13px;
    }

    .tour-timeline__inner {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .tour-timeline__image {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        border-radius: var(--radius-md);
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.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;
}

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

.text-primary {
    color: var(--color-primary);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ==========================================================================
   BENEFITS BLOCK
   ========================================================================== */

.benefits-block {
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-white) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
}

.benefits-block__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.benefits-block__title::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: 700;
}

.benefits-block__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .benefits-block__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefits-block__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text);
}

.benefits-block__list li .icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-block__list li .icon svg {
    width: 18px;
    height: 18px;
}

/* Compact variant */
.benefits-block--compact {
    padding: var(--space-xl);
}

.benefits-block--compact .benefits-block__list {
    grid-template-columns: 1fr;
}

/* ==========================================================================
   TOUR GALLERY
   ========================================================================== */

.tour-gallery {
    margin: var(--space-3xl) 0;
}

.tour-gallery__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
}

.tour-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .tour-gallery__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tour-gallery__item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.tour-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tour-gallery__item:hover img {
    transform: scale(1.05);
}

.tour-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tour-gallery__item:hover::after {
    opacity: 1;
}

/* Masonry-style first item larger */
.tour-gallery__grid--featured .tour-gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 640px) {
    .tour-gallery__grid--featured .tour-gallery__item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ==========================================================================
   GALLERY SCROLL (Horizontal Drag Gallery - Startseite)
   Falls diese Styles schon in deiner components.css sind, diesen Block weglassen
   ========================================================================== */

.gallery-section {
    overflow: hidden;
}

.gallery-scroll {
    position: relative;
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.gallery-scroll.is-dragging {
    cursor: grabbing;
}

.gallery-scroll__track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md) var(--container-padding);
}

.gallery-scroll__track::-webkit-scrollbar {
    display: none;
}

.gallery-scroll.is-dragging .gallery-scroll__track {
    scroll-behavior: auto;
}

.gallery-scroll__item {
    flex: 0 0 auto;
    width: clamp(280px, 35vw, 500px);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

/* Video items adapt to their native aspect ratio */
.gallery-scroll__item--video {
    height: auto;
    aspect-ratio: auto;
    width: auto;
    min-width: 280px;
    max-width: 600px;
    max-height: 500px;
}

.gallery-scroll__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    pointer-events: none;
}

.gallery-scroll__item:hover img {
    transform: scale(1.05);
}

/* Navigation Arrows (auto-generated by JS) */
.gallery-scroll__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.gallery-scroll__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-300);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-text);
}

.gallery-scroll__btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: scale(1.1);
}

.gallery-scroll__btn:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

.gallery-scroll__btn svg {
    width: 20px;
    height: 20px;
}

.gallery-scroll__hint {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-md);
}

.gallery-scroll__progress {
    width: 120px;
    height: 3px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.gallery-scroll__progress-bar {
    height: 100%;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 150ms ease;
}


/* ==========================================================================
   TOUR HERO - GALLERY VARIANT (Tour-Einzelseite)
   Hohe Spezifität um base .tour-hero Styles zu überschreiben
   ========================================================================== */

/* Override base .tour-hero - overflow darf NICHT hidden sein */
section.tour-hero.tour-hero--gallery {
    position: relative;
    height: 65vh;
    min-height: 420px;
    max-height: 650px;
    display: flex;
    align-items: flex-end;
    overflow: visible;
    color: var(--color-white);
}

/* Gallery Slider füllt den Hero komplett */
.tour-hero--gallery .tour-hero__gallery-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.tour-hero--gallery .tour-hero__gallery-slider.is-dragging {
    cursor: grabbing;
}

/* Der scrollbare Track */
.tour-hero--gallery .tour-hero__gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    height: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.tour-hero--gallery .tour-hero__gallery-track::-webkit-scrollbar {
    display: none;
}

/* Jedes Slide: 45vw breit = ca. 2,2 sichtbar */
.tour-hero--gallery .tour-hero__gallery-slide {
    flex: 0 0 45vw;
    width: 45vw;
    min-width: 45vw;
    max-width: 45vw;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.tour-hero--gallery .tour-hero__gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.8s ease;
}

.tour-hero--gallery .tour-hero__gallery-slide:hover img {
    transform: scale(1.03);
}

/* Dunkler Gradient-Overlay für Textlesbarkeit */
.tour-hero--gallery .tour-hero__overlay--desktop {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Content (absolut positioniert über der Galerie) */
.tour-hero--gallery .tour-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding-bottom: var(--space-3xl);
    pointer-events: none;
}

.tour-hero--gallery .tour-hero__content .container {
    pointer-events: auto;
}

/* Drag Hint */
.tour-hero__drag-hint {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--container-padding);
    z-index: 3;
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.tour-hero__gallery-slider.is-dragging ~ .tour-hero__drag-hint {
    opacity: 0;
}


/* ==========================================================================
   TOUR HERO GALLERY - RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    section.tour-hero.tour-hero--gallery {
        height: auto;
        min-height: auto;
        max-height: none;
        flex-direction: column;
    }

    /* Hide gallery slider on mobile */
    section.tour-hero.tour-hero--gallery .tour-hero__gallery-slider {
        display: none;
    }

    /* Show static hero image instead */
    section.tour-hero.tour-hero--gallery .tour-hero__mobile-image {
        display: block;
        width: 100%;
        height: 250px;
        overflow: hidden;
    }

    section.tour-hero.tour-hero--gallery .tour-hero__mobile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tour-hero--gallery .tour-hero__overlay--desktop {
        display: none;
    }

    .tour-hero--gallery .tour-hero__content {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        background-color: var(--color-bg);
        color: var(--color-text);
        padding: var(--space-xl) 0 var(--space-md);
        pointer-events: auto;
    }

    .tour-hero--gallery .tour-hero__title {
        color: var(--color-text);
        font-size: var(--text-2xl);
    }

    .tour-hero--gallery .tour-hero__meta {
        color: var(--color-text-light);
    }

    .tour-hero--gallery .breadcrumbs {
        color: var(--color-text-light);
    }

    .tour-hero--gallery .breadcrumbs a {
        color: var(--color-text-light);
    }

    .tour-hero__drag-hint {
        display: none;
    }
}

/* Hide mobile image on desktop */
.tour-hero__mobile-image {
    display: none;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .tour-hero--gallery .tour-hero__gallery-slide {
        flex: 0 0 50vw;
        width: 50vw;
        min-width: 50vw;
        max-width: 50vw;
    }
}

/* ==========================================================================
   FIX 1: TESTIMONIALS - Zentriert, gleiche Höhe, Hover-Expand
   Ans Ende der components.css anhängen
   ========================================================================== */

/* Slider zentriert mit Padding links/rechts */
.testimonials-slider {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md) var(--container-padding);
    align-items: flex-start;
    max-width: 100%;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

/* Cards feste Breite, NICHT stretchen */
.testimonials-slider .testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) {
    .testimonials-slider .testimonial-card {
        flex: 0 0 300px;
        min-height: 260px;
    }
}

/* Text beschränkt mit smooth max-height Transition */
.testimonial-card__text {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    padding-bottom: var(--space-sm);
    max-height: 7.5em; /* ~5 Zeilen bei line-height 1.7 */
    transition: max-height 0.5s ease;
}

/* Gradient-Fade am unteren Rand wenn Text abgeschnitten */
.testimonial-card__text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Hover: NUR aktive Card expandiert */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover,
.testimonial-card.is-expanded {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    z-index: 1;
}

.testimonial-card:hover .testimonial-card__text,
.testimonial-card.is-expanded .testimonial-card__text {
    max-height: 600px; /* groß genug für jeden Text */
    transition: max-height 0.6s ease;
}

.testimonial-card:hover .testimonial-card__text::after,
.testimonial-card.is-expanded .testimonial-card__text::after {
    opacity: 0;
}

/* Footer immer sauber unter dem Text */
.testimonial-card__footer {
    position: relative;
    z-index: 1;
    background-color: var(--color-bg);
}

/* Sektion Header zentrieren */
.testimonials-section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding: 0 var(--container-padding);
}

/* Sektion selber */
.testimonials-section {
    padding: var(--space-5xl) 0;
    overflow: hidden;
}

/* Grid-Layout auch zentrieren */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}


/* ==========================================================================
   FIX 2: GALLERY SCROLL - Pfeile + Progress weg
   ========================================================================== */

/* Pfeil-Navigation und Progress komplett ausblenden */
.gallery-section .gallery-scroll__nav,
.gallery-section ~ .gallery-scroll__nav {
    display: none !important;
}

/* Auch wenn die Nav nach dem gallery-scroll eingefügt wird */
.gallery-scroll + .gallery-scroll__nav {
    display: none !important;
}


/* ==========================================================================
   FIX 3: GALLERY HINT - Dezent animierte Pfeile
   ========================================================================== */

.gallery-scroll__hint {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-lg);
    letter-spacing: 0.05em;
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

/* Animierte Pfeile im Hint-Text */
.gallery-scroll__hint-arrow--left,
.gallery-scroll__hint-arrow--right {
    display: inline-block;
    animation: hintArrowPulse 2s ease-in-out infinite;
}

.gallery-scroll__hint-arrow--left {
    animation-name: hintArrowLeft;
    margin-right: var(--space-xs);
}

.gallery-scroll__hint-arrow--right {
    animation-name: hintArrowRight;
    margin-left: var(--space-xs);
}

@keyframes hintArrowLeft {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(-6px); opacity: 1; }
}

@keyframes hintArrowRight {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(6px); opacity: 1; }
}

/* Hint bleibt immer sichtbar */