/*
Theme Name: TWW
Theme URI: https://www.tww.ch
Author: Travel Worldwide AG
Author URI: https://www.travelworldwide.ch
Description: Custom WordPress Theme für TWW.ch - Indien Reisen und Ferien
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tww
Tags: travel, tourism, india, responsive, custom
*/

/* ==========================================================================
   CSS Variables for Easy Customization
   ========================================================================== */
:root {
    /* Hauptfarben - gelb/gold Akzente */
    --primary-color: #F9C918;
    --primary-hover: #FDD835;
    --primary-dark: #E5B700;
    
    /* Hintergrund & Text */
    --bg-dark: #000000;
    --bg-darker: #0a0a0a;
    --bg-section: #111111;
    --text-light: #ffffff;
    --text-gray: #8a8a8a; /* Globale Schriftfarbe geändert zu #8a8a8a */
    --text-gray-dark: #6a6a6a;
    
    /* Akzentfarben */
    --accent-gray: #1a1a1a;
    --border-gray: #2a2a2a;
    
    /* Schriftarten */
    --font-heading: 'DIN', 'Arial', sans-serif;
    --font-body: 'Muli', sans-serif;
    
    /* Hero Button Anpassungen (individuell anpassbar) */
    --hero-button-bg: #F9C918;
    --hero-button-color: #000000;
    --hero-button-hover-bg: #FDD835;
    --hero-button-border-radius: 50px;
    --hero-button-text-transform: uppercase;
    
    /* Globale Button Styling (gilt für alle Buttons außer Hero) */
    --button-border-radius: 5px;
    --button-text-transform: none;
    
    /* Container Breiten */
    --container-width: 1200px;
    --header-footer-width: 1440px;
    --content-width: 900px; /* Neue Variable für Content-Breite */
    
    /* CTA Box Variables */
    --cta-box-bg: #d35400;
    --cta-box-bg-gradient: #e67e22;
    --cta-box-text: #ffffff;
    --cta-box-button-bg: #ffffff;
    --cta-box-button-text: #d35400;
    --cta-box-button-hover-bg: #2c3e50;
    --cta-box-button-hover-text: #ffffff;
    
    /* Footer Variables */
    --footer-bg: #1a1a1a;
    --footer-middle-bg: #2a2a2a;
    --footer-bottom-bg: #f5f5f5;
    --footer-destinations-bg: #333333;
    --footer-text: #ffffff;
    --footer-text-dark: #333333;
    --footer-link: #F9C918;
    --footer-link-hover: #FDD835;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray); /* Globale Schriftfarbe */
    background-color: var(--bg-dark);
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    max-width: 100vw; /* Verhindert Überlauf über Viewport-Breite */
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, .likeh2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 {
    font-size: 2.5rem;
}

h2, .likeh2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray); /* Globale Schriftfarbe */
}

strong {
    color: var(--text-light);
}

/* ==========================================================================
   Layout Structure
   ========================================================================== */

.site-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background: var(--bg-dark);
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Standard Container für Body Content - 1200px */
.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header und Footer Container - 1440px */
.site-header .container,
.site-footer .container {
    max-width: var(--header-footer-width);
}

/* Content Wrapper für schmäleren Textinhalt */
.content-wrapper,
.page-content .entry-content,
.single .entry-content,
.destination-single-wrapper .entry-content,
.intro-text {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

/* Ausnahmen: Diese Elemente sollen die volle Container-Breite nutzen */
.destinations-grid,
.features-grid,
.tours-grid,
.archive-grid,
.info-box-grid,
.related-tours,
.destination-cta-box,
.destination-info-boxes {
    max-width: 100% !important;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.header-top {
    background: var(--header-top-bg);
    padding: 10px 0;
    color: var(--header-text);
    border-bottom: 1px solid var(--border-gray);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.header-contact a {
    color: var(--header-text);
}

.header-contact a:hover {
    color: var(--header-link-hover);
}

.header-contact i {
    color: var(--header-link-hover);
    margin-right: 5px;
}

.contact-hours {
    color: var(--header-text);
}

.header-links a {
    color: var(--header-text);
    transition: all 0.3s ease;
}

.header-links a:hover {
    color: var(--header-link-hover);
}

.header-links i {
    color: var(--header-link-hover);
    margin-right: 5px;
}

.header-main {
    padding: 15px 0;
    background: var(--header-bg);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo img,
.custom-logo {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
    color: var(--header-text);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--header-text);
    font-weight: 600;
    padding: 10px 0;
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--header-link-hover);
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--header-top-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-gray);
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.main-navigation .sub-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-gray);
    text-transform: none;
}

.main-navigation .sub-menu a:hover {
    background: var(--accent-gray);
}

/* ==========================================================================
   Hero Section - Vollständig anpassbar
   ========================================================================== */

.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-india.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--text-gray);
}

/* Hero Button - Individuell anpassbar über CSS Variablen */
.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--hero-button-bg);
    color: var(--hero-button-color);
    border-radius: var(--hero-button-border-radius);
    font-weight: 700;
    text-transform: var(--hero-button-text-transform);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-cta:hover {
    background: var(--hero-button-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(249, 201, 24, 0.4);
    color: var(--hero-button-color);
}

/* ==========================================================================
   Content Section
   ========================================================================== */

.content-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.intro-text strong {
    color: var(--text-light);
    font-weight: 600;
}

/* ==========================================================================
   Destinations Grid
   ========================================================================== */

.destinations-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.destination-card {
    background: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 201, 24, 0.15);
}

.destination-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-content {
    padding: 25px;
}

.destination-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.destination-title a {
    color: var(--text-light);
}

.destination-title a:hover {
    color: var(--primary-color);
}

.destination-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.destination-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.destination-link:hover {
    gap: 1rem;
}

.tour-meta {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tour-meta i {
    color: var(--primary-color);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-section);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 201, 24, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-dark);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-darker));
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--primary-color);
    color: var(--button-primary-text);
    border-radius: var(--button-border-radius);
    font-weight: 700;
    text-transform: var(--button-text-transform);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(249, 201, 24, 0.4);
    color: var(--button-primary-text);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-gray);
    padding: 60px 0 30px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget-area h3 {
    color: var(--footer-text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-widget-area p,
.footer-widget-area li {
    color: var(--footer-text);
    line-height: 1.8;
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
}

.footer-widget-area ul li {
    margin-bottom: 10px;
}

.footer-widget-area a {
    color: var(--footer-link);
    transition: color 0.3s ease;
}

.footer-widget-area a:hover {
    color: var(--footer-link-hover);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-section);
    border-radius: 50%;
    color: var(--footer-link);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.social-links a:hover {
    background: var(--footer-link-hover);
    color: var(--footer-bg);
    border-color: var(--footer-link-hover);
    transform: translateY(-3px);
}

.footer-bottom {
    background: var(--footer-bottom-bg);
    border-top: 1px solid var(--border-gray);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--footer-text);
    margin-bottom: 15px;
}

.footer-bottom a {
    color: var(--footer-link);
}

.footer-bottom a:hover {
    color: var(--footer-link-hover);
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: var(--footer-link);
}

.footer-navigation a:hover {
    color: var(--footer-link-hover);
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
}

.menu-toggle-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
    left: 0;
}

.menu-toggle-icon::before {
    top: -8px;
}

.menu-toggle-icon::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .menu-toggle-icon {
    background: transparent;
}

.mobile-menu-toggle.active .menu-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .menu-toggle-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

/* ==========================================================================
   Entry Content / Single Post / Page Styles
   ========================================================================== */

.entry-content,
.entry-summary {
    color: var(--text-gray);
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.entry-meta {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.entry-meta i {
    color: var(--primary-color);
}

.post-thumbnail {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
}

.tags-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-links i {
    color: var(--primary-color);
}

.tags-links a {
    background: var(--bg-section);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
    border: 1px solid var(--border-gray);
}

.tags-links a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.cat-links a {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* Archive Styles */
.page-header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 2px solid var(--border-gray);
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    color: var(--text-light);
}

.archive-description {
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.archive-card {
    background: var(--bg-section);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gray);
}

.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 201, 24, 0.15);
}

.archive-thumbnail {
    height: 250px;
    overflow: hidden;
}

.archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-card:hover .archive-thumbnail img {
    transform: scale(1.05);
}

.archive-content {
    padding: 1.5rem;
}

.archive-content .entry-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.archive-content .entry-title a {
    color: var(--text-light);
    text-decoration: none;
}

.archive-content .entry-title a:hover {
    color: var(--primary-color);
}

.entry-summary p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Post Navigation */
.post-navigation,
.posts-navigation {
    margin: 3rem 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 15px 20px;
    background: var(--bg-section);
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.nav-previous a:hover,
.nav-next a:hover {
    background: var(--accent-gray);
    border-color: var(--primary-color);
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray-dark);
    margin-bottom: 0.5rem;
}

.nav-title {
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination .page-numbers {
    padding: 10px 15px;
    background: var(--bg-section);
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.page-links {
    margin: 2rem 0;
    display: flex;
    gap: 0.5rem;
}

.page-links a,
.page-links > span {
    padding: 8px 15px;
    background: var(--bg-section);
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    color: var(--text-light);
    text-decoration: none;
}

.page-links a:hover,
.page-links > span {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
    background: var(--bg-section);
    color: var(--text-light);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--accent-gray);
}

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

button,
input[type="submit"],
.wp-block-button__link {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--button-primary-text);
    border: none;
    border-radius: var(--button-border-radius);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: var(--button-text-transform);
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--button-primary-text);
}

/* Button Klassen */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--button-border-radius);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: var(--button-text-transform);
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background: var(--text-gray-dark);
    color: var(--text-light);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

input.error,
textarea.error {
    border-color: #ff4444;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
    margin: 2rem auto;
}

.search-form label {
    flex: 1;
}

.search-field {
    width: 100%;
}

.search-submit {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.search-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   Sticky Header Enhancement
   ========================================================================== */

.site-header.scrolled {
    box-shadow: 0 5px 30px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.95);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .header-main .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 10001;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-darker);
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 10000;
        padding: 80px 20px 20px;
        border-left: 1px solid var(--border-gray);
    }
    
    .main-navigation.mobile-menu-active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid var(--border-gray);
    }
    
    .main-navigation a {
        padding: 15px 0;
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        background: var(--bg-section);
    }
    
    .header-contact {
        flex-direction: row; /* Behalte horizontal */
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.75rem; /* Kleinere Schrift für mobil */
    }
    
    .header-contact a,
    .header-contact .contact-hours {
        font-size: 0.75rem;
    }
    
    .header-links {
        font-size: 0.75rem;
    }
    
    .header-links a {
        white-space: nowrap; /* Verhindere Zeilenumbruch */
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Mobile Menu Overlay - FIXED z-index to be below menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.8);
        z-index: 9998; /* Below menu (10000) and toggle (10001) */
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-section,
    .destinations-section,
    .features-section,
    .cta-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .destinations-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .header-top .container {
        flex-direction: row; /* Behalte horizontale Ausrichtung */
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
}

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

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

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

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

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}
/* =============================================================================
   THREE-SECTION FOOTER STYLES
   Inspired by travelindia.ch footer structure
   ============================================================================= */

.site-footer {
    font-size: 0.9rem;
}

/* =============================================================================
   FOOTER TOP SECTION (Dark Section)
   ============================================================================= */
.footer-top {
    background-color: var(--footer-top-bg, #2c2c2c);
    color: var(--footer-top-text, #ffffff);
    padding: 3rem 0 2.5rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Footer Brand/Logo */
.footer-brand {
    text-align: left;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1); /* Make logo white if dark */
}

.footer-site-title {
    color: var(--footer-top-text, #ffffff);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--footer-top-text-light, #cccccc);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-certifications .cert-logo {
    height: 40px;
    width: auto;
}

/* Footer Contact Info */
.footer-contact-info {
    border-left: 1px solid var(--footer-top-border, #4a4a4a);
    border-right: 1px solid var(--footer-top-border, #4a4a4a);
    padding: 0 2rem;
}

.footer-contact-info h4 {
    color: var(--footer-top-heading, #F9C918);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: lowercase;
    font-weight: 400;
}

.footer-contact-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-contact-info a {
    color: var(--footer-top-link, #ffffff);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--footer-top-link-hover, #F9C918);
}

.footer-address,
.footer-phone,
.footer-fax,
.footer-email,
.footer-website {
    font-size: 0.9rem;
}

/* Adresse und Fax in weißer Schrift */
.footer-address,
.footer-fax {
    color: #ffffff;
}

/* Tel, Email und Website behalten die Standard-Farbe */
.footer-phone,
.footer-email,
.footer-website {
    color: var(--footer-top-text, #ffffff);
}

/* Footer Hours */
.footer-hours h4 {
    color: var(--footer-top-heading, #F9C918);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.opening-hours {
    line-height: 1.8;
}

/* =============================================================================
   FOOTER MIDDLE SECTION (Medium Section)
   ============================================================================= */
.footer-middle {
    background-color: var(--footer-middle-bg, #3d3d3d);
    color: var(--footer-middle-text, #ffffff);
    padding: 2.5rem 0;
}

.footer-middle-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* Footer Link Columns */
.footer-links-column h4 {
    color: var(--footer-middle-heading, #ffffff);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--footer-middle-link, #F9C918);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--footer-middle-link-hover, #ffffff);
    padding-left: 5px;
}

/* Footer Social Icons */
.footer-social h4 {
    color: var(--footer-middle-heading, #ffffff);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    color: var(--footer-middle-link, #F9C918);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.social-icon i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--footer-middle-link, #F9C918);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--footer-middle-link-hover, #ffffff);
    padding-left: 5px;
}

.social-icon:hover i {
    color: var(--footer-middle-link-hover, #ffffff);
}

/* Individual Social Icon Colors (Optional - jetzt nur für Icons) */
.social-icon.team i {
    color: var(--footer-middle-link, #F9C918);
}

.social-icon.facebook i {
    color: var(--footer-middle-link, #F9C918);
}

.social-icon.newsletter i {
    color: var(--footer-middle-link, #F9C918);
}

.social-icon.instagram i {
    color: var(--footer-middle-link, #F9C918);
}

/* =============================================================================
   FOOTER BOTTOM SECTION (Light Section)
   ============================================================================= */
.footer-bottom {
    background-color: var(--footer-bottom-bg, #ffffff);
    color: var(--footer-bottom-text, #2c2c2c);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Footer Rating/Stars */
.footer-rating {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.footer-rating i {
    color: var(--footer-rating-star-color, #F9C918);
    font-size: 1.2rem;
}

.footer-rating-text {
    margin: 0;
}

.footer-rating-text a {
    color: var(--footer-bottom-link, #2c2c2c);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-rating-text a:hover {
    color: var(--footer-bottom-link-hover, #d35400);
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-contact-info {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--footer-top-border, #4a4a4a);
        border-bottom: 1px solid var(--footer-top-border, #4a4a4a);
        padding: 2rem 0;
    }
    
    .footer-middle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-social {
        grid-column: span 3;
    }
    
    .social-icons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 2rem 0;
    }
    
    .footer-middle {
        padding: 2rem 0;
    }
    
    .footer-middle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-social {
        grid-column: span 2;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .footer-top-grid {
        gap: 1.5rem;
    }
    
    .footer-middle-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-social {
        grid-column: span 1;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .social-icons {
        flex-direction: column;
    }
    
    .footer-rating i {
        font-size: 1rem;
    }
}

/* =============================================================================
   FOOTER DESTINATIONS & THEMES SECTION
   ============================================================================= */
.footer-destinations-themes {
    background: var(--footer-destinations-bg);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.destinations-themes-grid {
    display: grid;
    gap: 3rem;
}

.footer-destinations h4,
.footer-themes h4 {
    color: var(--footer-text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: var(--font-heading);
}

/* Destination Logos Grid */
.destination-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    justify-items: center;
    align-items: center;
}

.destination-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    height: auto;
}

.destination-logo-link:hover {
    transform: translateY(-3px);
}

.destination-logo-link img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Filter entfernt - Logos werden in Originalfarben angezeigt */
    transition: all 0.3s ease;
}

.destination-logo-link:hover img {
    /* Filter entfernt - nur Transform beim Hover */
    transform: scale(1.05);
}

.destination-logo-icon {
    font-size: 1.5rem;
    color: var(--footer-text);
    margin-bottom: 0.25rem;
}

.destination-logo-text {
    font-size: 0.75rem;
    color: var(--footer-text);
    text-align: center;
    line-height: 1.2;
}

.destination-logo-link:hover .destination-logo-icon,
.destination-logo-link:hover .destination-logo-text {
    color: var(--footer-link);
}

/* Theme Logos Grid */
.theme-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    align-items: center;
}

.theme-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    height: auto;
}

.theme-logo-link:hover {
    transform: translateY(-3px);
}

.theme-logo-link img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Filter entfernt - Logos werden in Originalfarben angezeigt */
    transition: all 0.3s ease;
}

.theme-logo-link:hover img {
    /* Filter entfernt - nur Transform beim Hover */
    transform: scale(1.05);
}
    transform: scale(1.05);
}

.theme-logo-icon {
    font-size: 2rem;
    color: var(--footer-text);
    margin-bottom: 0.5rem;
}

.theme-logo-text {
    font-size: 0.85rem;
    color: var(--footer-text);
    text-align: center;
}

.theme-logo-link:hover .theme-logo-icon,
.theme-logo-link:hover .theme-logo-text {
    color: var(--footer-link);
}

/* Mobile Responsiveness for Destinations & Themes */
@media (max-width: 1024px) {
    .destination-logos {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .destination-logo-link {
        height: auto;
        padding: 0.5rem;
    }
    
    .theme-logos {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-destinations-themes {
        padding: 2rem 0;
    }
    
    .destinations-themes-grid {
        gap: 2rem;
    }
    
    .destination-logos {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.5rem;
    }
    
    .destination-logo-link {
        height: auto;
        padding: 0.4rem;
    }
    
    .destination-logo-link img {
        max-height: 40px;
    }
    
    .destination-logo-icon {
        font-size: 1.2rem;
    }
    
    .destination-logo-text {
        font-size: 0.65rem;
    }
    
    .theme-logos {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
    
    .theme-logo-link {
        height: auto;
    }
    
    .theme-logo-link img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .destination-logos {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .theme-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================================================
   PRINT STYLES
   ============================================================================= */
@media print {
    .site-footer {
        background: white !important;
        color: black !important;
    }
    
    .footer-top,
    .footer-middle,
    .footer-bottom {
        background: white !important;
        color: black !important;
        border-top: 1px solid #000;
    }
    
    .social-icons {
        display: none;
    }
}