/* =========================================
   TASCHENMEISTER - Modern Travel Theme
   ========================================= */

/* --- Variables --- */
:root {
    /* Colors: Matte Black, Off-White, Olive Green */
    --c-bg-main: #FFFFFF;
    --c-bg-alt: #F3F4F6;
    --c-bg-dark: #111827;
    /* Near Black */

    --c-text-main: #1F2937;
    --c-text-light: #6B7280;
    --c-text-inv: #F9FAFB;

    --c-accent: #5D7953;
    /* Olive Green */
    --c-accent-hover: #4A6341;
    --c-accent-dark: #374151;
    /* Charcoal for secondary buttons */

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;

    /* Shadows */
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hard: 4px 4px 0px rgba(0, 0, 0, 0.1);
}

/* --- Resets (Strict Class-Based) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tm-html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.tm-site {
    font-family: var(--font-body);
    color: var(--c-text-main);
    background-color: var(--c-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Safety for images */
.tm-img,
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent long text overflow */
.tm-heading {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.tm-link {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.tm-list {
    list-style: none;
}

/* --- Utility Classes --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--c-accent);
    color: #fff;
    border: 2px solid var(--c-accent);
}

.btn-primary:hover {
    background-color: var(--c-accent-hover);
    border-color: var(--c-accent-hover);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--c-bg-dark);
    color: #fff;
    border: 2px solid var(--c-bg-dark);
}

.btn-accent:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--c-text-main);
    border: 2px solid var(--c-text-main);
}

.btn-outline:hover {
    background: var(--c-text-main);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--c-accent);
    margin: 15px auto 0;
}

/* --- Loader --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
    opacity: 1;
    visibility: visible;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--c-accent);
    border-bottom-color: var(--c-accent);
    animation: spin 1.5s linear infinite;
}

.loader-wrapper::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.loader-icon {
    font-size: 2rem;
    color: #fff;
    animation: pulse-plane 2s ease-in-out infinite;
}

.loader-text {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    animation: pulse-text 1.5s infinite alternate;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-plane {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

@keyframes pulse-text {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* --- Top Advertisement Bar --- */
.top-bar {
    background-color: #f3f4f6;
    color: #4b5563;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}

/* --- Header --- */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-bg-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-dot {
    color: var(--c-accent);
}

.desktop-nav .nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--c-text-main);
    position: relative;
}

.nav-link:hover {
    color: var(--c-accent);
}

.header-cta {
    display: block;
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--c-bg-dark);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-list {
    text-align: center;
    margin-bottom: 40px;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--c-bg-dark);
    margin-bottom: 20px;
    text-decoration: none;
}

/* --- Hero --- */
.hero-section {
    position: relative;
    padding: 100px 0;
    background-color: #F8FAFC;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    background: var(--c-accent);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--c-bg-dark);
}

.hero-subline {
    font-size: 1.1rem;
    color: var(--c-text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--c-text-main);
    font-weight: 500;
    align-items: center;
    flex-wrap: wrap;
}

.hero-trust i {
    color: var(--c-accent);
    margin-right: 5px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transform: scale(1.05);
    width: 100%;
    height: auto;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.badge-icon {
    background: var(--c-accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--c-bg-dark);
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--c-accent);
}

/* --- Features --- */
.features-section {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--c-accent);
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--c-accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--c-text-light);
    font-size: 0.95rem;
}

/* --- Highlight (Compression) --- */
.highlight-section {
    background-color: var(--c-bg-alt);
    padding: var(--section-padding);
}

.highlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.rounded-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.accent-text {
    display: block;
    color: var(--c-accent);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.highlight-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-content p {
    margin-bottom: 30px;
    color: var(--c-text-light);
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-list i {
    color: var(--c-accent);
}

.check-list {
    margin-bottom: 30px;
}

/* --- Specs --- */
.specs-section {
    padding: var(--section-padding);
    background: #fff;
}

.specs-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 20px;
    border-bottom: 1px solid #E5E7EB;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    width: 30%;
    color: var(--c-text-light);
}

.specs-table td:last-child {
    font-weight: 600;
    color: var(--c-bg-dark);
}

/* --- FAQ Section --- */
.faq-section {
    padding: var(--section-padding);
    background-color: #F9FAFB;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    transition: 0.3s;
}

.faq-item:first-child {
    border-top: 1px solid #E5E7EB;
}

.faq-item:hover {
    background-color: #FAFAFA;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px 20px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--c-bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.faq-question:hover {
    color: var(--c-accent);
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--c-text-light);
    transition: transform 0.3s, color 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--c-accent);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s;
    color: var(--c-text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    padding: 0 20px 25px;
    max-height: 300px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--c-bg-dark);
    color: #fff;
    padding: 80px 0 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 15px;
    display: block;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 300px;
}

.site-footer h4 {
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 12px;
}

.footer-links a,
.modal-trigger {
    color: #D1D5DB;
    font-size: 0.95rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    padding: 0;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover,
.modal-trigger:hover,
.footer-contact a:hover {
    color: var(--c-accent);
}

.footer-contact p,
.footer-contact a {
    color: #D1D5DB;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-contact a {
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #6B7280;
    font-size: 0.8rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--c-text-light);
}

.modal-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--c-bg-dark);
}

.modal-body p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--c-text-main);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: calc(100% - 50px);
    flex-direction: column;
    gap: 15px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cookie-icon {
    font-size: 2rem;
    color: var(--c-accent);
    margin-bottom: 5px;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--c-text-main);
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: var(--c-accent);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
}

.cookie-actions .btn {
    flex: 1;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 900px) {

    .header-cta,
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .stats-bar {
        gap: 30px;
        flex-wrap: wrap;
    }

    .stat-item {
        flex-direction: column;
        gap: 5px;
    }

    .highlight-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .check-list li {
        justify-content: center;
    }

    .floating-badge {
        right: 0;
        bottom: 0;
        position: relative;
        margin-top: 20px;
        display: inline-flex;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .cookie-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .specs-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* Fix sticky header offset for all anchor links */
.tm-html {
    scroll-padding-top: 100px;
}