/* inter-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/inter-v19-latin-500.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/inter-v19-latin-600.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/inter-v19-latin-700.woff2') format('woff2');
}

:root {
    --orange-light: #EC6608;
    --orange-dark: #d4530a;
    --text-dark: #ffffff;
    --text-light: #f2f2f2;
    --gray: rgba(0, 0, 0, 0.85);
    --white: rgba(0, 0, 0, 0.85);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: #111;
    background-image: url('../img/bg_c.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.tdn { text-decoration: none; }
.bg-gray { background: var(--gray); }
.mb1i { margin-bottom: 1rem!important; }
.icon-title { color: var(--orange-light); margin-right: 10px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--gray);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 1);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--orange-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-light);
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

/* Custom Hamburger Icon */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
    background-color: var(--orange-light);
}

.mobile-menu-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: var(--orange-light);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.section.bg-gray::before {
    background: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About / Betrieb - FULL SCREEN */
.section-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url("../img/duesseldorf_4k_c.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 92px;
}

.section-full::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

.betrieb-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.about-content {
    display: flex;
    justify-content: flex-start;
}

.about-text {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    backdrop-filter: blur(5px);
}

.about-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.2;
}

.about-text p {
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
}

.about-features i {
    color: var(--orange-light);
    margin-right: 1.2rem;
    font-size: 1.4rem;
    width: 25px;
    text-align: center;
}

/* Person / Über Mich */
.person-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.person-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.person-text p {
    font-size: 1.1rem;
}

/* Das neue CSS-Setup für Vladimirs Foto */
.person-photo {
    position: relative;
    height: 400px; /* Schön groß für Desktop */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--orange-light);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Schneidet das Bild automatisch randlos ab */
    object-position: 15% 30%; /* DAS IST DER TRICK: Zoomt perfekt auf sein Gesicht (links im Bild) */
    transition: transform 0.5s ease;
}

.person-photo:hover img {
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Drüberfahren */
}

.person-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
}

.person-photo-caption p {
    margin: 0;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.person-photo-caption span {
    color: var(--orange-light);
    font-size: 0.9rem;
    font-weight: 400;
}

/* Services Grid */
.services-grid.two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-light);
    background: rgba(0, 0, 0, 0.95);
}

.service-card h3,
.service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.service-card p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-img-placeholder {
    height: 180px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--orange-light);
    position: relative;
    overflow: hidden;
    padding: 15px;
}

.service-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-placeholder img {
    transform: scale(1.08);
}

/* Swiper */
.references-carousel { position: relative; }
.swiper {
    width: 100%;
    height: auto;
    aspect-ratio: 1244 / 700;
    max-height: 700px;
    border-radius: 15px;
    overflow: hidden;
}
.swiper-slide {
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-pagination-bullet { background: var(--orange-light); }
.swiper-button-next, .swiper-button-prev { color: var(--orange-light); }

/* Contact Form & Inputs */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group label i {
    margin-right: 8px;
    color: var(--orange-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

/* Custom Select Styling - GEFIXT FÜR FONT AWESOME 6 */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free'; /* Hier das Update auf v6 */
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange-light);
    pointer-events: none;
    font-size: 1.2rem;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 45px 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.form-group select option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 12px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(236, 102, 8, 0.2);
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

/* Animated Buttons */
.btn-submit, .orange-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--orange-light);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit { width: 100%; margin-top: 0.5rem; }

.btn-submit:hover, .orange-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(236, 102, 8, 0.4);
}

.btn-submit i, .orange-btn i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i { transform: translateX(4px) scale(1.1); }
.orange-btn:hover i { transform: scale(1.1); }

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--orange-light);
    margin-right: 1.2rem;
    margin-top: 3px;
}

.contact-item p { margin: 0; color: var(--text-light); line-height: 1.5; }

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    color: #ccc;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links .nav-link {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links .nav-link:hover { color: #fff; }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0 20px 1rem 20px;
        box-shadow: var(--shadow);
        gap: 1rem;
    }

    .nav-menu li:first-child {
        border-top: 1px solid var(--text-light);
        padding-top: 1rem;
    }

    .nav-menu.active { display: flex; }
    .mobile-menu-btn { display: flex; }
}

@media (max-width: 768px) {
    .header-contact { display: none; }

    .section-full {
        align-items: flex-start;
        padding-top: 100px;
        padding-bottom: 250px;
        background-position: 30% bottom;
    }

    .section-full::before {
        background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 45%, rgba(0,0,0,0) 100%);
    }

    .about-content {
        justify-content: center;
    }

    .about-text {
        padding: 0 10px;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        background-color: transparent;
    }

    .about-text h1 { font-size: 2.2rem; margin-bottom: 1rem; }
    .about-text p { font-size: 1rem; margin-bottom: 1rem; }
    .about-features { margin-top: 1rem; padding-top: 1rem; }
    .about-features li { font-size: 0.95rem; margin-bottom: 0.8rem; }

    .section { padding: 50px 0; }
    .section-title { margin-bottom: 1.5rem; }
    .section-title h2 { font-size: 1.8rem; }

    .person-grid, .contact-content, .services-grid.two-cols {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .person-photo {
        height: 350px;
        order: -1;
        margin-bottom: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-item i {
        margin-right: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    /* Dein gewünschtes Padding für ganz kleine Geräte */
    .section-full {
        padding-bottom: 100px;
        padding-top: 140px;
    }

    .section { padding: 40px 0; }
    .btn-submit, .orange-btn { width: 100%; }
}

/* Modals (Impressum & Datenschutz) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none; /* Standardmäßig ausgeblendet */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.modal-container {
    position: relative;
    background: #1e1e1e;
    border: 2px solid var(--orange-light);
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    z-index: 2001;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    border-bottom: 2px solid var(--orange-light);
    background: #1e1e1e;
    position: relative;
    z-index: 2003;
}

.modal-header h2 {
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: calc(100% - 50px);
}

.modal-close {
    position: relative;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    z-index: 2004;
}

.modal-close:hover {
    color: var(--orange-light);
    transform: rotate(90deg);
}

.modal-content {
    padding: 30px 40px 40px 40px;
    overflow-y: auto;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 15px 15px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--orange-light);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--orange-dark);
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--orange-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.modal-section {
    margin-bottom: 1.8rem;
}

.modal-section h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 600;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.modal-section h4 {
    font-size: 1.1rem;
    color: var(--orange-light);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.modal-section p {
    margin-bottom: 0.8rem;
}

.modal-link {
    color: var(--orange-light);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.modal-link:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.modal-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.modal-list li {
    margin-bottom: 0.5rem;
}

/* Scroll-Lock für den Main Body */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .modal-container {
        max-height: 90vh;
        width: 95%;
    }
    .modal-header {
        padding: 15px 20px;
    }
    .modal-header h2 {
        font-size: 1.5rem;
    }
    .modal-close {
        font-size: 2rem;
        height: 30px;
        width: 30px;
    }
    .modal-content {
        padding: 20px;
    }
    .modal-section h3 {
        font-size: 1.15rem;
    }
    .modal-section h4 {
        font-size: 1.05rem;
    }
}

/* Form Validation & Modal Loading Feedback */
.modal-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--orange-light);
    padding: 50px 0;
}

.error-msg {
    display: none;
    color: #ff3333;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff3333 !important;
    background: rgba(255, 51, 51, 0.05) !important;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-feedback-box {
    display: none;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
}

.form-feedback-box.active {
    display: block;
    animation: feedbackFadeIn 0.3s ease;
}

@keyframes feedbackFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-feedback-box.success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.form-feedback-box.error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.email-link {
    color: var(--orange-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.email-link:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}