/*
Theme Name: Lindi Theme
Theme URI: https://kiesl-reisen.at
Author: Kiesl OG
Description: WordPress Theme für Busreisen Kiesl OG
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lindi-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #FFD200;
    --primary-dark: #E6BD00;
    --primary-glow: rgba(255, 210, 0, 0.4);
    --secondary: #1A1A1A;
    --secondary-dark: #0F0F0F;
    --text-dark: #121212;
    --text-muted: #6B7280;
    --text-light: #FFFFFF;
    --bg-light: #FFFFFF;
    --bg-alt: #F8FAFC;
    --transition-slow: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 20px;
    --container-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-align: center;
    overflow-wrap: break-word;
    hyphens: auto;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

.highlight {
    color: var(--primary);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Anfragen-Button im Header immer weiß sichtbar */
header .btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

header .btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--secondary);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%);
}

header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    margin-bottom: 2rem;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Features/Strengths */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.strength-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition-slow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.strength-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.strength-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: inline-block;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 50%;
    transition: var(--transition);
}

.strength-card:hover i {
    background: var(--primary);
    color: var(--secondary);
}

/* Service Sections */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse .service-content {
    direction: ltr;
}

.service-image {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1570125909232-eb263c188f7e?auto=format&fit=crop&q=80&w=2000') center/cover;
    padding: 8rem 0;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-member-photo {
    width: 100%;
    height: 280px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Fuhrpark Section Enhancements */
.fleet-category-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/reisebus-viadukt.jpg') center/cover scroll;
    padding: 6rem 0;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    border-radius: var(--border-radius);
    margin-top: 4rem;
}

.fleet-category-header h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.fleet-category-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.fleet-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fleet-gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 250px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.fleet-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.fleet-gallery-item:hover img {
    transform: scale(1.1);
}

.fleet-swiper {
    padding: 2rem 0 5rem;
}

.fleet-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    height: auto;
}

.fleet-image {
    height: 450px;
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fleet-info {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fleet-specs {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.fleet-specs li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.fleet-specs i {
    color: var(--primary);
    width: 20px;
}

/* Modern Swiper Buttons Fix */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    background: rgba(26, 26, 26, 0.8) !important;
    backdrop-filter: blur(10px);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: var(--transition) !important;
    --swiper-navigation-color: var(--primary);
    --swiper-navigation-size: 1.2rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    transform: scale(1.1);
    border-color: var(--primary) !important;
    --swiper-navigation-color: var(--secondary);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.stars {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.client-info strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section Improvements */
.contact-header {
    max-width: 800px;
    margin: 0 auto;
}

.contact-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-text strong {
    font-weight: 600;
}

.contact-info-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 4rem 0;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.contact-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: white;
    border-radius: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-contact i {
    font-size: 1.4rem;
}

.btn-email {
    background-color: #213B52;
    /* Dark blue from ref */
}

.btn-whatsapp {
    background-color: #25D366;
    /* WhatsApp Green */
}

.btn-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

/* Enhanced Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col p {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--primary);
    padding-left: 5px;
}

/* Legal Pages Styling */
.legal-page header {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
}

.legal-main {
    padding-top: 10rem;
    padding-bottom: 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-main section {
    padding: 2rem 0;
}

.legal-main h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 3rem;
}

.legal-main h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 2rem;
}

.legal-main p,
.legal-main li {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 300;
}

.legal-main ul {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
    list-style-type: disc;
}

.legal-main li {
    margin-bottom: 0.75rem;
}

/* =====================
   Über-uns Raster (ersetzt Inline-Styles)
===================== */
.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.values-grid-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .legal-main {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
}

/* =====================
   Section Background
===================== */
.bg-alt {
    background-color: var(--bg-alt);
}

/* =====================
   Reveal Animations
===================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   Floating CTA Button
===================== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: var(--secondary);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 998;
    box-shadow: 0 10px 30px rgba(255, 210, 0, 0.4);
    transition: var(--transition);
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 210, 0, 0.5);
}

/* =====================
   Map Container
===================== */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* =====================
   Hamburger Menu
===================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================
   Mobile Responsive
===================== */
@media (max-width: 768px) {

    /* Allgemein */
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }

    .nav-links.open {
        display: flex;
    }

    header .btn-secondary {
        display: none;
    }

    /* Hero */
    .hero p {
        font-size: 1.05rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    /* Service-Blöcke */
    .service-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-block.reverse {
        direction: ltr;
    }

    .service-image {
        height: 260px;
        overflow: hidden;
        border-radius: var(--border-radius);
    }

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Fuhrpark Slider */
    .fleet-slide {
        grid-template-columns: 1fr;
    }

    .fleet-image {
        height: 240px;
    }

    .fleet-info {
        padding: 2rem 1.5rem;
    }

    .fleet-specs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    /* Fuhrpark Galerie */
    .fleet-category-header {
        padding: 3.5rem 0;
        background-attachment: scroll;
    }

    .fleet-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .fleet-gallery-item {
        height: 180px;
    }

    /* Über uns */
    .about-header {
        padding: 5rem 0;
    }

    .about-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Stärken */
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strength-card {
        padding: 2rem 1.5rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    /* Kontakt */
    .contact-info-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-link {
        font-size: 1.3rem;
    }

    /* Karte */
    .map-container iframe {
        height: 280px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    /* Floating CTA */
    .floating-cta span {
        display: none;
    }

    .floating-cta {
        padding: 1rem;
        border-radius: 50%;
    }

    /* Legal */
    .legal-main {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    /* Fallback für alte Inline-Styles */
    div[style*="grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }
}

/* =====================
   Sehr kleine Bildschirme (< 480px)
===================== */
@media (max-width: 480px) {

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Hero */
    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    /* Fuhrpark-Galerie: 1 Spalte */
    .fleet-gallery {
        grid-template-columns: 1fr;
    }

    .fleet-gallery-item {
        height: 220px;
    }

    /* Stärken: 1 Spalte */
    .strengths-grid {
        grid-template-columns: 1fr;
    }

    /* Team: 1 Spalte */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Werte-Grid: 1 Spalte */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Footer: 1 Spalte */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Karte */
    .map-container iframe {
        height: 240px;
    }

    /* Fleet Info */
    .fleet-info {
        padding: 1.5rem 1rem;
    }

    .fleet-category-header {
        padding: 2.5rem 0;
    }

    /* About */
    .about-header {
        padding: 4rem 0;
    }

    .about-header h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}