/* ============================================
   Airport Taxi Wien - Exact Replica Stylesheet
   Original template: cm_dh_068
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: small;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    background-color: #FFFFFF;
}

a {
    color: #3a585f;
    text-decoration: none;
}

a:hover {
    color: #498d8d;
}

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

h1 {
    font-size: 22px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: initial;
    margin-bottom: 0.7em;
}

h2 {
    font-size: medium;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: initial;
    margin-bottom: 0.7em;
}

h3 {
    font-size: small;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: initial;
    margin-bottom: 0.7em;
}

p {
    margin-bottom: 0.7em;
}

ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1em;
}

/* --- Page Wrapper --- */
.page-wrapper {
    background-color: rgba(255, 255, 255, 0.55);
    max-width: 1200px;
    margin: 0 auto;
    -webkit-box-shadow: 0 0 5px rgba(20, 20, 20, 0.7);
    box-shadow: 0 0 5px rgba(20, 20, 20, 0.7);
}

/* --- Keyvisual / Slideshow --- */
.keyvisual {
    width: 100%;
    height: 400px;
    overflow: visible;
    position: relative;
}

.slideshow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
}

.slide.scale-up {
    transform: scale(1.05);
    transition: opacity 1s ease-in-out, transform 6s ease-in-out;
}

/* --- Logo (overlays slideshow, from top to nav) --- */
.logo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 90px;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.logo-img {
    height: 150px;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: left top;
}

/* --- Navigation (overlays slideshow above title) --- */
.navigation-wrapper {
    position: absolute;
    bottom: 211px;
    left: -20px;
    right: -20px;
    z-index: 10;
    background-color: rgba(33, 61, 68, 0.9);
    -webkit-box-shadow: 0 4px 7px -4px #444;
    box-shadow: 0 4px 7px -4px #444;
}

.navigation-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 15px solid rgba(33, 61, 68, 0.4);
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
}

.navigation-wrapper::after {
    content: '';
    position: absolute;
    top: -15px;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 15px solid rgba(33, 61, 68, 0.4);
    border-left: 0 solid transparent;
    border-right: 20px solid transparent;
}

.main-nav {
    color: #FFFFFF;
}

.main-navigation {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-navigation li a {
    display: block;
    padding: 16px 10px;
    color: #FFFFFF;
    background-color: transparent;
    font-family: 'Open Sans', sans-serif;
    font-size: small;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.main-navigation li.cm_current a {
    color: rgba(33, 61, 68, 0.61);
    background-color: #FFFFFF;
}

.main-navigation li a:hover {
    color: rgba(33, 61, 68, 0.61);
    background-color: #FFFFFF;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #FFFFFF;
}

/* --- Title Wrapper (overlays slideshow at bottom) --- */
.title-wrapper {
    position: absolute;
    bottom: 0;
    left: -20px;
    right: -20px;
    z-index: 10;
    color: #FFFFFF;
    background-color: rgba(33, 61, 68, 0.9);
    padding: 10px 20px;
}

.title-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 15px solid rgba(33, 61, 68, 0.4);
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
}

.title-wrapper::after {
    content: '';
    position: absolute;
    top: -15px;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 15px solid rgba(33, 61, 68, 0.4);
    border-left: 0 solid transparent;
    border-right: 20px solid transparent;
}

.title {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: initial;
    text-align: center;
}

.subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: initial;
}

/* --- Content Layout (Two Column) --- */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.content-main {
    flex: 1;
    min-width: 0;
    padding: 20px;
    color: #000000;
}

.content-sidebar {
    width: 300px;
    padding: 20px;
    border-left: 1px solid #097791;
}

.content-sidebar a {
    color: #000000;
}

/* --- Main Content Styles --- */
.content-main h1 {
    color: #000000;
}

.content-main h2 {
    color: #000000;
}

.content-main h3 {
    color: #000000;
}

.content-main ul {
    list-style: disc;
    padding-left: 30px;
}

.content-main ul li {
    margin-bottom: 5px;
    font-size: 16px;
}

/* --- Buttons (Blue with Red border - like original) --- */
.btn-booking {
    display: inline-block;
    border-radius: 15px;
    border: 2px solid rgba(255, 0, 0, 1);
    background-color: rgba(0, 0, 255, 1);
    padding: 15px 15px;
    width: 250px;
    font-size: 16px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.btn-booking:hover {
    box-shadow: inset 0px 0px 0px 1px rgba(255, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
}

.btn-plz {
    display: inline-block;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 0, 1);
    background-color: rgba(0, 0, 255, 1);
    padding: 15px 15px;
    width: 250px;
    font-size: inherit;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.btn-plz:hover {
    box-shadow: inset 0px 0px 0px 1px rgba(255, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
}

/* --- Sidebar Buttons --- */
.sidebar-btn {
    display: block;
    border-radius: 25px;
    border: 2px solid rgba(0, 0, 0, 0.96);
    background-color: rgba(0, 0, 255, 0.99);
    padding: 15px 15px;
    width: 230px;
    font-size: 16px;
    color: rgba(255, 255, 255, 1) !important;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    margin: 10px auto;
}

.sidebar-btn:hover {
    box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.96);
    color: rgba(255, 255, 255, 1) !important;
}

/* --- Sidebar --- */
.sidebar {
    font-family: 'Open Sans', sans-serif;
}

.sidebar p {
    margin-bottom: 0.5em;
}

.sidebar-image {
    margin: 15px 0;
}

.sidebar-image img {
    width: 100%;
    display: block;
}

.image-caption {
    display: block;
    font-size: small;
    margin-top: 5px;
}

.sidebar-buttons {
    margin-top: 20px;
}

/* --- Table (Einsatzgebiete) --- */
.regions-table {
    border-spacing: 0;
    width: 100%;
    margin: 10px 0;
    text-align: left;
    border: 1px solid #0000ff;
}

.regions-table td {
    padding: 5px;
    border-right: 1px solid #0000ff;
    border-bottom: 1px solid #0000ff;
    vertical-align: top;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

.regions-table tr:last-child td {
    border-bottom: 0;
}

.regions-table td:last-child {
    border-right: 0;
}

.regions-table a {
    color: #040404;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

/* --- Footer --- */
.footer-wrapper {
    background-color: rgba(33, 61, 68, 0.9);
    padding: 15px 20px;
    position: relative;
    color: #FFFFFF;
    margin-left: -20px;
    margin-right: -20px;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 15px solid rgba(33, 61, 68, 0.4);
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
}

.footer-wrapper::after {
    content: '';
    position: absolute;
    top: -15px;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 15px solid rgba(33, 61, 68, 0.4);
    border-left: 0 solid transparent;
    border-right: 20px solid transparent;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    border-bottom: 15px solid rgba(33, 61, 68, 0.61);
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
}

.footer-wrapper::after {
    content: '';
    position: absolute;
    top: -15px;
    right: 0;
    border-bottom: 15px solid rgba(33, 61, 68, 0.61);
    border-left: 0 solid transparent;
    border-right: 20px solid transparent;
}

#footer {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

#footer a {
    color: #FFFFFF;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

/* --- Smart Access (Mobile Quick Links) --- */
.smart-access-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(33, 61, 68, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.smart-access-menu {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

.smart-access-menu.active {
    display: flex;
}

.smart-access-menu a {
    text-decoration: none;
}

.smart-access-menu .tile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(33, 61, 68, 0.9);
    color: #fff;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    white-space: nowrap;
}

.smart-access-menu .tile i {
    font-size: 16px;
}

/* --- Booking Form (for booking pages) --- */
.booking-form {
    margin: 20px 0;
}

.booking-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.booking-form .form-group {
    flex: 1;
    min-width: 200px;
}

.booking-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: small;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.45);
    color: #000000;
    border-radius: 2px;
    padding: 11px 12px;
    background-color: rgba(0, 0, 0, 0.03);
    transition: border 0.3s, box-shadow 0.3s;
    font-family: 'Open Sans', sans-serif;
    font-size: small;
}

.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover {
    border: 1px solid rgba(0, 0, 0, 0.8);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: 0;
    border: 1px solid #000000;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.booking-form .form-submit {
    margin-top: 20px;
}

.booking-form .form-submit button {
    background-color: rgba(0, 0, 255, 1);
    border: 2px solid rgba(255, 0, 0, 1);
    color: #fff;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.booking-form .form-submit button:hover {
    box-shadow: inset 0px 0px 0px 1px rgba(255, 0, 0, 1);
}

/* --- Important Notice Box --- */
.important-notice {
    background: #ffe0e0;
    border: 2px solid #ff0000;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
}

/* --- Contact Form Specific --- */
#contactForm textarea {
    width: 100%;
    resize: vertical;
}

/* --- Clear Floating --- */
.clear {
    clear: both;
    height: 0;
    width: auto;
}

/* --- Responsive --- */
@media only screen and (max-width: 1023px) {
    .page-wrapper {
        max-width: 100%;
    }

    .main-navigation li a {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-navigation li:first-child a {
        border-top: 0;
    }

    .main-navigation li.cm_current a {
        color: #FFFFFF;
        background-color: rgba(33, 61, 68, 0.61);
        font-weight: 700;
    }
}

@media only screen and (max-width: 767px) {
    .content-wrapper {
        flex-direction: column;
    }

    .content-sidebar {
        width: 100%;
        border-left: 0;
        border-top: 1px solid #097791;
    }

    .keyvisual {
        height: 220px;
    }

    .logo-img {
        height: 60px;
    }

    .title {
        font-size: 20px;
    }

    .subtitle {
        font-size: 14px;
    }

    .nav-toggle {
        display: flex;
    }

    .navigation-wrapper {
        position: absolute;
        top: 10px;
        right: 10px;
        left: auto;
        bottom: auto;
        background-color: transparent;
        z-index: 20;
        box-shadow: none;
        padding: 0;
    }

    .navigation-wrapper::before,
    .navigation-wrapper::after {
        display: none;
    }

    .main-nav {
        position: relative;
        flex-direction: column;
        align-items: flex-end;
    }

    .main-navigation {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(33, 61, 68, 0.95);
        margin-top: 0;
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation {
        display: none;
        flex-direction: column;
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation li a {
        padding: 12px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-booking,
    .btn-plz {
        width: 100%;
        max-width: 250px;
    }

    .booking-form .form-row {
        flex-direction: column;
    }

    .regions-table {
        font-size: 14px;
    }

    .regions-table td {
        display: block;
        border-right: 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .keyvisual {
        height: 300px;
    }

    .content-sidebar {
        width: 250px;
    }
}
