/* ==========================================================================
   Hanse Begleitservice — Custom Styles
   ملاحظة: هذه الأنماط تكمّل Tailwind CSS (المُحمّل عبر CDN في index.html)
   ولا تحل محله. إعدادات الألوان والخطوط والمسافات موجودة في js/tailwind-config.js
   ========================================================================== */

/* --- Hero Slider (Cross-fade / Ken Burns Effect) --- */
.hero-slide {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s ease-in-out, transform 8s linear;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* --- Scroll Reveal Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Pulse Animation for CTA Buttons --- */
@keyframes pulse-yellow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.btn-pulse {
    animation: pulse-yellow 2s infinite;
}

/* --- Hazard Stripe Decoration (BF3 / Sicherheit Thema) --- */
.hazard-stripe {
    background: repeating-linear-gradient(
        45deg,
        #FFD700,
        #FFD700 10px,
        #1a2b3c 10px,
        #1a2b3c 20px
    );
}

/* ==========================================================================
   Inner Pages — Shared Components
   (Fuhrpark, Zertifikate, Kontakt, Begleitung buchen)
   ========================================================================== */

/* --- Card / Container Outlines --- */
.ghost-border {
    border: 1px solid #E0E0E0;
}

/* --- Generic Form Inputs (Kontakt page) --- */
.input-border {
    border: 1px solid #333333;
}

.input-active:focus {
    border: 2px solid #041627;
    outline: none;
    box-shadow: 0 0 0 2px #fcd400;
}

/* --- Safety Stripe Variants --- */
.safety-banner-bg {
    background: repeating-linear-gradient(
        45deg,
        #FFD700,
        #FFD700 10px,
        #041627 10px,
        #041627 20px
    );
}

.safety-stripe {
    background-image: repeating-linear-gradient(
        45deg,
        #fcd400,
        #fcd400 10px,
        #1b1c1c 10px,
        #1b1c1c 20px
    );
    height: 4px;
    width: 100%;
}

/* --- Booking Form (Begleitung buchen page) ---
   Hinweis: Diese Klassen ersetzen die ursprünglichen @apply-Regeln,
   da @apply außerhalb eines Tailwind-Build-Prozesses (CDN-Version)
   im Browser nicht zuverlässig funktioniert. */
.input-field {
    width: 100%;
    border: 1px solid #333333;
    background-color: #fbf9f8;
    border-radius: 0.125rem;
    padding: 12px 16px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: #1b1c1c;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
    outline: none;
    border: 2px solid #041627;
    box-shadow: 0 0 0 1px #fcd400;
}

.input-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #44474c;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-section {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    padding: 40px;
    border-radius: 0.25rem;
    margin-bottom: 24px;
}

.form-section-header {
    background-color: #041627;
    color: #ffffff;
    padding: 16px 40px;
    margin: -40px -40px 40px -40px;
    border-radius: 0.25rem 0.25rem 0 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-section {
        padding: 64px;
    }
    .form-section-header {
        margin: -64px -64px 40px -64px;
        padding: 16px 64px;
    }
}

/* --- Shared Inner-Page Navbar & Mobile Menu --- */
.site-nav a {
    transition: color 0.2s ease;
}