/**
 * DI_CODER Landingpage - Custom Styles
 * Fensterbau Frontale 2026
 */

/* ===== CSS Custom Properties ===== */
:root {
    --color-primary: #29707A;
    --color-accent: #F5A623;
    --color-white: #FFFFFF;
    --color-light-gray: #F5F5F5;
    --color-dark-overlay: rgba(41, 112, 122, 0.7);
    --color-footer: #29323E;
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: #29323E;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Navigation ===== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background: linear-gradient(to bottom, rgba(41, 50, 62, 0.5) 0%, rgba(41, 50, 62, 0.4) 50%, rgba(41, 50, 62, 0.2) 75%, rgba(41, 50, 62, 0.05) 90%, rgba(41, 50, 62, 0) 100%);
    backdrop-filter: blur(5px);
    box-shadow: none;
}

.navbar-brand .logo {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo {
    height: 24px;
}

.navbar-nav .nav-link {
    color: var(--color-white) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--color-white) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--color-accent) !important;
}

.navbar-nav .nav-cta {
    background-color: var(--color-accent);
    color: #ffffff !important;
    font-weight: 800;
    padding: 0.4rem 1.2rem !important;
    margin: 0;
}

.navbar-nav .nav-cta:hover {
    background-color: #e09a1a;
    color: #ffffff !important;
}

/* ===== Social Sidebar ===== */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    text-decoration: none;
}

.social-sidebar a:hover {
    background-color: var(--color-primary);
    padding-left: 10px;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.hero-content-box {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: var(--color-accent);
    padding: 4rem 4.5rem;
    max-width: 720px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-content-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 240px;
    height: 240px;
    background-image: url('/assets/img/pixel-gelb.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(33%, 42%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: var(--color-white);
}

.hero-title strong {
    font-weight: 800;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: #29323E;
}

/* ===== Countdown Timer ===== */
.countdown-wrapper {
    position: absolute;
    bottom: 0rem;
    right: 15%;
    display: flex;
    gap: 0.6rem;
    z-index: 2;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-primary);
    padding: 0.92rem 1.15rem;
    border-radius: 0;
    min-width: 90px;
}

.countdown-value {
    font-size: 2.07rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    margin-top: 0.35rem;
}

/* ===== CTA Buttons ===== */
.cta-button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    border: none;
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #1f5862;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 112, 122, 0.4);
}

.btn-accent {
    background-color: var(--color-primary);
    border: none;
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: #002a42;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 59, 92, 0.4);
}

/* ===== Scroll Down Indicator ===== */
.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.scroll-down:hover {
    color: var(--color-accent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Messe-Info Sektion ===== */
.messe-section {
    background-color: var(--color-primary);
    padding: 4rem 0;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
}

.messe-section .row {
    min-height: 300px;
}

.messe-logo {
    max-width: 300px;
    height: auto;
}

.messe-date {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: -10px;
    color: var(--color-white);
}

.messe-location {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.messe-claim {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.messe-highlight {
    color: var(--color-accent);
    font-weight: 800;
}

.btn-messe {
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    text-decoration: none;
    display: inline-block;
    align-self: flex-start;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-messe:hover {
    background-color: #e09a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    color: var(--color-primary);
}

.messe-pixel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 33.333%;
    background-image: url('/assets/img/pixel-blau.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== About Sektion ===== */
.about-section {
    padding: 0;
    background-color: var(--color-white);
    min-height: 800px;
}

.about-section .row {
    min-height: 800px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.section-subheadline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #29323E;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #29323E;
}

/* About Image Background */
.about-image-bg {
    position: relative;
    background-image: url('/assets/img/about-img.jpg');
    background-size: cover;
    background-position: center;
    min-height: 800px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 3rem;
    padding-bottom: 9rem;
    text-align: left;
}

.about-fertig {
    font-size: 6rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 2rem 0;
    line-height: 1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.about-benefits {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin: 0;
    line-height: 1.8;
}

/* ===== CTA Sektion ===== */
.cta-section {
    background: #ffffff;
    padding: 5rem 0;
    color: var(--color-primary);
    border: 25px solid var(--color-accent);
}




.cta-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: 1.2rem;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #29323E;
    margin-bottom: 1.5rem;
}

.cta-messe-details {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.8;
}

/* ===== Buchungsformular ===== */
.booking-form {
    padding-right: 2rem;
}

.booking-step-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.booking-step-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

.booking-options {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.booking-days {
    grid-template-columns: repeat(4, 1fr);
}

.booking-slots {
    grid-template-columns: repeat(3, 1fr);
}

.booking-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.5rem;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
    border-radius: 0;
}

.booking-option:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.booking-option.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.booking-option-day {
    font-size: 1.1rem;
    font-weight: 800;
}

.booking-option-date {
    font-size: 0.72rem;
    font-weight: 500;
    margin-top: 0.1rem;
}

.booking-option-slot {
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-booking-next {
    background-color: var(--color-accent);
    color: #ffffff;
    font-weight: 800;
    font-family: var(--font-family);
    border: none;
    border-radius: 0;
    padding: 0.6rem 2rem;
    transition: background-color 0.2s ease;
}

.btn-booking-next:hover:not(:disabled) {
    background-color: #e09a1a;
    color: #ffffff;
}

.btn-booking-next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.booking-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.booking-back {
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    opacity: 0.7;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.booking-back:hover {
    opacity: 1;
    color: var(--color-primary);
}

.booking-input {
    display: block;
    width: 100%;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.7rem;
    border: 1px solid var(--color-primary);
    border-radius: 0;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--color-primary);
    background: transparent;
    outline: none;
    transition: border-color 0.2s ease;
}

.booking-input:focus {
    border-color: var(--color-accent);
}

.booking-input::placeholder {
    color: var(--color-primary);
    opacity: 0.5;
}

.booking-success {
    text-align: center;
    padding: 2rem 0;
    color: var(--color-primary);
}

.booking-success i {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.booking-success p {
    font-size: 1rem;
    opacity: 0.8;
}

/* ===== Map Sektion ===== */
.map-section {
    padding: 0;
}

.map-section iframe {
    display: block;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-footer);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-logo {
    max-width: 220px;
    height: auto;
}

.footer-slogan {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-accent);
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #e09a1a;
    color: var(--color-white);
    transform: scale(1.1);
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 1.2rem 0 0;
}

/* ===== Scroll Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    .social-sidebar {
        display: none;
    }

    .hero-content-box {
        left: 3%;
        max-width: 90%;
        padding: 2rem;
    }

    .hero-content-box::after {
        width: 192px;
        height: 192px;
        transform: translate(30%, 30%);
    }


    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .countdown-wrapper {
        bottom: 0.5rem;
        right: 10%;
        gap: 0.35rem;
    }

    .countdown-item {
        padding: 0.69rem 0.92rem;
        min-width: 69px;
    }

    .countdown-value {
        font-size: 1.73rem;
    }

    .countdown-label {
        font-size: 0.69rem;
    }

    .messe-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .hero-content-box {
        left: 5%;
        right: 5%;
        max-width: none;
        padding: 1.5rem;
    }

    .hero-content-box::after {
        width: 100px;
        height: 100px;
        transform: translate(30%, 30%);
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .countdown-wrapper {
        bottom: 0.5rem;
        right: 5%;
        gap: 0.35rem;
    }

    .countdown-item {
        padding: 0.58rem 0.69rem;
        min-width: 58px;
    }

    .countdown-value {
        font-size: 1.38rem;
    }

    .countdown-label {
        font-size: 0.63rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Messe-Sektion */
    .messe-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .messe-section .row {
        min-height: auto;
    }

    .messe-pixel {
        display: none;
    }

    .messe-logo {
        max-width: 180px;
    }

    .messe-date {
        font-size: 1.4rem;
    }

    .messe-location {
        font-size: 1.4rem;
    }

    /* About-Sektion */
    .section-title {
        font-size: 1.6rem;
    }

    .about-section {
        min-height: auto;
    }

    .about-section .row {
        min-height: auto;
    }

    .about-image-bg {
        min-height: 400px;
        padding: 2rem;
    }

    .about-fertig {
        font-size: 3.5rem;
    }

    .about-benefits {
        font-size: 1.1rem;
    }

    .col-lg-6[style*="padding-right"] {
        padding-right: 20px !important;
        padding-left: 20px !important;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* CTA / Termin-Sektion */
    .cta-section {
        border-width: 10px;
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .booking-form {
        padding-right: 0;
    }

    .booking-days {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .booking-input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-logo {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .hero-content-box {
        left: 4%;
        right: 4%;
        padding: 1rem;
    }

    .hero-content-box::after {
        width: 70px;
        height: 70px;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .countdown-wrapper {
        right: 3%;
        gap: 0.2rem;
    }

    .countdown-item {
        padding: 0.5rem;
        min-width: 50px;
    }

    .countdown-value {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .about-fertig {
        font-size: 2.8rem;
    }

    .cta-title {
        font-size: 1.3rem;
    }

    .booking-days {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-slots {
        grid-template-columns: 1fr;
    }
}

