@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

/* =====================================================
   GLOBAL RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background:
        linear-gradient(rgba(255,255,255,0.93), rgba(255,255,255,0.93)),
        url('/assets/img/background-light.jpg') center/cover fixed no-repeat;
    color: #1a1a1a;
}

.container {
    width: 90%;
    max-width: 1350px;
    margin: auto;
}

/* =====================================================
   HEADER
===================================================== */

.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
}

.main-header.shrink {
    padding: 10px 0;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo-link img {
    height: 60px;
    transition: 0.3s ease;
}

.main-header.shrink .logo-link img {
    height: 48px;
}

/* SHRINK EFFECT */

.main-header.shrink {
    padding: 10px 0;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo-link img {
    height: 60px;
    transition: all 0.3s ease;
}

.logo-link:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

/* LOGO SHRINK */

.main-header.shrink .logo-link img {
    height: 48px;
}

/* =====================================================
   NAVIGATION (FIXED)
===================================================== */

.nav {
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    color: #333;
    padding-bottom: 5px;
    position: relative;
    transition: 0.3s;
}

.nav-item > a:hover,
.nav-item > a.active {
    color: #c40000;
}

.nav-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: #c40000;
    border-radius: 3px;
    transition: 0.3s;
}

.nav-item > a:hover::after,
.nav-item > a.active::after {
    width: 100%;
}

/* DROPDOWN FIX */

.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px 25px;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    /* IMPORTANT FIX */
    display: none;
    z-index: 2000;
}

.has-dropdown:hover > .dropdown {
    display: block;
}

.dropdown a {
    font-weight: 500;
    color: #444;
    display: block;
    padding: 6px 0;
    transition: 0.3s;
}

.dropdown a:hover {
    color: #c40000;
}

/* =====================================================
   CONTACT HEADER
===================================================== */

.contact-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone-link {
    text-decoration: none;
    font-weight: 700;
    color: #333;
    padding: 8px 20px;
    border: 2px solid #dcdcdc;
    border-radius: 8px;
    background: #f5f5f5;
    transition: 0.3s;
}

.phone-link:hover {
    background: #c40000;
    color: #fff;
    border-color: #c40000;
}

.whatsapp-link {
    background: #25D366;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(37,211,102,0.3);
    transition: 0.3s;
}

.whatsapp-link:hover {
    transform: translateY(-3px);
}

/* HERO */

.hero {
    margin-top: 100px;
    padding: 160px 0;
    background:
        linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
        url('/assets/img/hero-bg.png') center/cover no-repeat;
    border-bottom: 1px solid #eee;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* HERO TEXT */

.hero-text {
    background: #ffffff;
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.hero-text h1 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 35px;
    color: #555;
}

/* BUTTON */

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: #c40000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(196,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #a80000;
}

/* HERO IMAGE */

.hero-image {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeRight 1s ease forwards;
}

.hero-image a {
    display: block;
    border-radius: 15px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image a:hover img {
    transform: scale(1.07);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

/* ANIMATIONS */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ABOUT */

.about {
    padding: 120px 0;
}

.about .container {
    background: #ffffff;
    padding: 60px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    text-align: center;
}

/* FOOTER */

.footer {
    background: #ffffff;
    padding: 35px 0;
    border-top: 1px solid #eaeaea;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left p {
    color: #777;
    font-size: 14px;
}

.footer-right {
    display: flex;
    gap: 25px;
}

.footer-right a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.footer-right a:hover {
    color: #c40000;
}

.footer-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #c40000;
    transition: 0.3s;
}

.footer-right a:hover::after {
    width: 100%;
}

/* REVIEWS SECTION */

.reviews {
    padding: 120px 0;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.review-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.review-card h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 700;
}

.review-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-date {
    font-size: 12px;
    color: #999;
}

/* MODAL */

.review-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.review-modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    width: 500px;
    max-width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
}

.review-modal-content input,
.review-modal-content textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.review-modal-content textarea {
    height: 120px;
    resize: none;
}

/* RATING INPUT */

.rating {
    display: flex;
    gap: 5px;
    font-size: 28px;
    cursor: pointer;
    margin-bottom: 20px;
}

.rating span {
    color: #ccc;
    transition: 0.2s;
}

.rating span.active,
.rating span:hover,
.rating span:hover ~ span {
    color: #c40000;
}

/* ================= STARS DISPLAY ================= */

.stars {
    margin-top: 8px;
    font-size: 16px;
}

.star {
    color: #ddd;
    transition: 0.3s;
}

/* ===== 5 STELE - GOLD + GLOW ===== */

.stars.gold .star.filled {
    color: #d4af37;
    text-shadow:
        0 0 4px rgba(212,175,55,0.6),
        0 0 8px rgba(212,175,55,0.4),
        0 0 12px rgba(212,175,55,0.2);
    animation: goldGlow 2.5s ease-in-out infinite alternate;
}

@keyframes goldGlow {
    from {
        text-shadow:
            0 0 4px rgba(212,175,55,0.5),
            0 0 8px rgba(212,175,55,0.3);
    }
    to {
        text-shadow:
            0 0 8px rgba(212,175,55,0.8),
            0 0 16px rgba(212,175,55,0.5);
    }
}

/* ===== 4 STELE - GOLD NORMAL ===== */

.stars.silver .star.filled {
    color: #d4af37;
}

/* ===== 1-3 STELE - RED ===== */

.stars.red .star.filled {
    color: #c40000;
}

/* ================= ABOUT HERO ================= */

.about-hero {
    padding: 180px 0;
    text-align: center;
    color: #fff;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* ================= HISTORY ================= */

.about-history {
    padding: 120px 0;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.history-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ================= VALUES ================= */

.about-values {
    padding: 120px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 32px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

/* ================= PARTNER ================= */

.about-partner {
    padding: 120px 0;
}

.partner-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.partner-logo img {
    max-width: 250px;
}

.partner-logo{
transition:0.35s ease;
cursor:pointer;
}

.partner-logo:hover{
transform:scale(1.08);
}

/* ================= SUBPAGE HERO ================= */

.subpage-hero {
    padding: 160px 0 80px;
    background: #f5f5f5;
    text-align: center;
}

.subpage-hero h1 {
    font-size: 40px;
    font-weight: 700;
}

/* ================= HISTORY ================= */

.company-history {
    padding: 80px 0;
}

.history-box {
    background: #fff;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.founding-year {
    display: inline-block;
    font-weight: 600;
    color: #c40000;
    margin-bottom: 20px;
}

.history-box h2 {
    margin-bottom: 25px;
}

/* ================= PARTNERS ================= */

.company-partners {
    padding: 100px 0;
    background: #fafafa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.partner-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-position {
    display: block;
    font-weight: 600;
    color: #c40000;
    margin: 10px 0;
}

.partner-exp {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

/* ================= TEAM GRID ================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.team-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    margin-bottom: 20px;
}

.team-image img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f1f1f1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.team-position {
    display: block;
    font-weight: 600;
    color: #c40000;
    margin: 10px 0;
}

.team-exp {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.company-team {
    padding: 100px 0;
    background: #fafafa;
}

/* ================= FEATURED PARTNER ================= */

.featured-partner {
    padding: 120px 0;
}

.featured-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);
}

.featured-logo img {
    max-width: 300px;
}

.featured-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* ================= OTHER PARTNERS ================= */

.partner-list {
    padding: 100px 0;
    background: #fafafa;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.partner-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 150px;
    margin-bottom: 20px;
}

/* ================= PROJECTS ================= */

.projects-section {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-content {
    padding: 25px;
}

.project-location {
    display: block;
    color: #c40000;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 15px;
    color: #777;
}

/* ================= MODAL ================= */

.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: #fff;
    padding: 40px;
    max-width: 1000px;
    width: 90%;
    border-radius: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
}

/* ================= PROJECT MODAL ================= */

.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 40px;
}

.modal-content {
    background: #fff;
    max-width: 1100px;
    width: 100%;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-title {
    margin-bottom: 30px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    font-weight: bold;
}

/* ================= GALLERY GRID ================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ================= FULLSCREEN LIGHTBOX ================= */

.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 4000;
}

.image-lightbox img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.career-section {
padding: 220px 0;
}

.career-form input,
.career-form select,
.career-form textarea {
width: 100%;
padding: 12px;
margin-bottom: 15px;
border-radius: 8px;
border: 1px solid #ddd;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    user-select: none;
    transition: 0.3s;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #c40000;
}

/* ===== FILE UPLOAD UI ===== */

.file-upload-wrapper {
    margin: 20px 0;
}

#fileInput {
    margin-bottom: 10px;
}

.file-item {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.remove-file {
    cursor: pointer;
    font-weight: bold;
    color: #c40000;
    font-size: 18px;
    transition: 0.2s;
}

.remove-file:hover {
    transform: scale(1.2);
}

.progress {
    width: 100%;
    background: #eee;
    height: 8px;
    border-radius: 4px;
    margin: 20px 0;
}

.progress-bar {
    height: 8px;
    width: 0;
    background: #c40000;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.success-box {
    background:#e6f9ed;
    border:1px solid #2ecc71;
    color:#1e7e34;
    padding:20px;
    border-radius:10px;
    margin-bottom:20px;
    text-align:center;
    font-weight:600;
}

.error-box {
    background:#ffe6e6;
    border:1px solid #e74c3c;
    color:#c0392b;
    padding:20px;
    border-radius:10px;
    margin-bottom:20px;
    text-align:center;
    font-weight:600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== OPTIONAL POSITIONS ALIGN FIX ===== */

.career-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    font-weight: 500;
}

.career-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c40000;
}

/* ================= KONTAKT ================= */

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 100px 0;
}

.kontakt-form input,
.kontakt-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.kontakt-form textarea {
    height: 150px;
    resize: none;
}

.kontakt-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.agb-section {
    margin-bottom: 60px;
}

.btn-download {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #c40000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(196,0,0,0.3);
}

.btn-download:hover {
    background: #a80000;
    transform: translateY(-3px);
}

/* ================= COOKIE BANNER ================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 20px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
}

.cookie-content {
    max-width: 1100px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.6;
}

.cookie-content a {
    color: #c40000;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid #999;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #333;
}

/* ================= COOKIE ENTERPRISE ================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 30px;
    display: none;
    justify-content: center;
    z-index: 5000;
}

.cookie-box {
    max-width: 900px;
    text-align: center;
}

.cookie-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-settings {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid #c40000;
    color: #c40000;
    border-radius: 8px;
    cursor: pointer;
}

.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 6000;
}

.cookie-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    width: 500px;
    max-width: 90%;
    position: relative;
}

.close-cookie {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
}

.cookie-option {
    margin-bottom: 15px;
}

.cookie-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #c40000;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 7000;
    transition: 0.3s;
}

.cookie-icon:hover {
    transform: scale(1.1);
}

/* =====================================================
   TOOLS PAGE (PREMIUM DESIGN)
===================================================== */

.tools-section{
    padding:110px 0;
}

/* GRID */

.tools-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:45px;
}

/* CARD */

.tool-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(0,0,0,0.08);
    transition:0.35s ease;
    position:relative;
}

.tool-card:hover{
    transform:translateY(-10px);
    box-shadow:0 35px 80px rgba(0,0,0,0.12);
}

/* IMAGE */

.tool-image{
    position:relative;
    background:#f7f7f7;
}

.tool-image img{
    width:100%;
    height:320px;
    object-fit:contain;
    padding:20px;
    transition:0.4s ease;
}

.tool-card:hover .tool-image img{
    transform:scale(1.08);
}

/* STATUS BADGE */

.tool-status{
    position:absolute;
    top:18px;
    left:18px;
    padding:8px 16px;
    border-radius:25px;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.4px;
    backdrop-filter:blur(6px);
}

/* STATUS COLORS */

.status-available{
    background:#e6f9ed;
    border:1px solid #2ecc71;
    color:#1e7e34;
}

.status-sold{
    background:#fff4e6;
    border:1px solid #f39c12;
    color:#b9770e;
}

.status-defect{
    background:#ffe6e6;
    border:1px solid #e74c3c;
    color:#c0392b;
}

/* CONTENT */

.tool-content{
    padding:32px;
}

.tool-content h3{
    font-size:22px;
    margin-bottom:12px;
}

/* META INFO */

.tool-meta-wrapper{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:15px;
}

.tool-meta-wrapper span{
    background:#f5f5f5;
    padding:6px 12px;
    border-radius:8px;
    font-size:13px;
    font-weight:500;
}

/* DESCRIPTION */

.tool-content p{
    font-size:14px;
    color:#555;
    margin-top:10px;
}

/* TECHNICAL DATA */

.technical-data{
    margin-top:15px;
    padding-top:15px;
    border-top:1px solid #eee;
    font-size:13px;
    color:#666;
}

/* =====================================================
   IMAGE LIGHTBOX
===================================================== */

.image-lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.92);
    justify-content:center;
    align-items:center;
    z-index:4000;
}

.image-lightbox img{
    max-width:90%;
    max-height:90vh;
    border-radius:12px;
    box-shadow:0 30px 80px rgba(0,0,0,0.5);
}

.close-lightbox{
    position:absolute;
    top:35px;
    right:40px;
    font-size:34px;
    color:#fff;
    cursor:pointer;
    font-weight:bold;
}

/* =====================================================
   TABLET RESPONSIVE
===================================================== */

@media(max-width:992px){

.tools-grid{
    grid-template-columns:1fr;
    gap:35px;
}

.tool-image img{
    height:260px;
}

}

/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media(max-width:768px){

.tools-section{
    padding:70px 0;
}

.tool-card{
    border-radius:15px;
}

.tool-image img{
    height:220px;
    padding:15px;
}

.tool-content{
    padding:22px;
}

.tool-content h3{
    font-size:18px;
}

.tool-meta-wrapper{
    justify-content:center;
}

.tool-meta-wrapper span{
    font-size:12px;
}

.tool-content p{
    font-size:13px;
}

}

/* =====================================================
   SMALL PHONES
===================================================== */

@media(max-width:480px){

.tool-image img{
    height:200px;
}

.tool-content{
    padding:18px;
}

.tool-content h3{
    font-size:16px;
}

}

/* ================= TOOL STATUS BADGES ================= */

.tool-status {
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* Verfügbar */
.status-available {
    background: #e6f9ed;
    color: #1e7e34;
    border: 1px solid #2ecc71;
}

/* Verkauft */
.status-sold {
    background: #fff4e6;
    color: #b9770e;
    border: 1px solid #f39c12;
}

/* Defekt */
.status-defect {
    background: #ffe6e6;
    color: #c0392b;
    border: 1px solid #e74c3c;
}

/* =====================================================
   MOBILE MENU (ADDED FIX)
===================================================== */

.mobile-menu-toggle {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    padding: 100px 30px;
    transition: 0.4s ease;
    z-index: 3000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 2500;
}

.menu-overlay.active {
    display: block;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {

    .nav {
        display: none !important;
    }

    .contact-header {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        width: 26px;
        height: 3px;
        background: #333;
        border-radius: 3px;
    }
}

@media (max-width: 768px) {

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =====================================================
   MOBILE GLOBAL LAYOUT OPTIMIZATION
===================================================== */

@media (max-width: 768px) {

    /* ================= GLOBAL CENTERING ================= */

    body {
        font-size: 14px;
        line-height: 1.5;
    }

    .container {
        width: 92%;
        max-width: 500px;
        margin: 0 auto;
        text-align: center;
    }

    section {
        padding: 60px 0 !important;
    }

    /* ================= HEADINGS ================= */

    h1 {
        font-size: 20px !important;
        line-height: 1.3;
    }

    h2 {
        font-size: 18px !important;
    }

    h3 {
        font-size: 16px !important;
    }

    p {
        font-size: 14px;
    }

    /* ================= HERO ================= */

    .hero {
        padding: 90px 0 50px !important;
        margin-top: 70px;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }

    .hero-text {
        padding: 25px !important;
    }

    .hero-text p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    /* ================= CARDS GLOBAL ================= */

    .review-card,
    .project-card,
    .tool-card,
    .value-card,
    .partner-card,
    .team-card,
    .history-box,
    .featured-box {
        padding: 20px !important;
        text-align: center;
    }

    /* ================= GRIDS 1 COLUMN ================= */

    .reviews-grid,
    .projects-grid,
    .tools-grid,
    .partners-grid,
    .team-grid,
    .values-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .history-grid,
    .partner-box,
    .featured-box {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }

    /* ================= TOOL PAGE ================= */

    .tool-image img {
        height: 220px;
    }

    .tool-content h3 {
        font-size: 18px;
    }

    .technical-data {
        font-size: 13px;
    }

    /* ================= FORMS ================= */

    input,
    textarea,
    select {
        font-size: 16px; /* prevents iOS zoom */
        padding: 12px;
    }

    .career-section {
        padding: 120px 0 !important;
    }

    .kontakt-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    /* ================= BUTTONS ================= */

    .btn-primary,
    .btn-download {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    /* ================= FOOTER ================= */

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

}
/* MOBILE LIGHTBOX IMPROVEMENTS */

@media (max-width: 768px) {

    .image-lightbox img {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 50px;
        padding: 20px;
    }

    .close-lightbox {
        font-size: 36px;
        top: 20px;
        right: 25px;
    }

}

/* =====================================================
   SMALL PHONES EXTRA OPTIMIZATION
===================================================== */

@media (max-width: 480px) {

    .container {
        width: 94%;
    }

    h1 {
        font-size: 18px !important;
    }

    h2 {
        font-size: 16px !important;
    }

    p {
        font-size: 13px;
    }

    .hero-text {
        padding: 20px !important;
    }

    .review-card,
    .project-card,
    .tool-card {
        padding: 18px !important;
    }

}

/* ================= MITARBEITER LINK (DISCREET) ================= */

.mitarbeiter-link {
    font-size: 11px;
    color: #bbb;
    text-decoration: none;
    opacity: 0.5;
    transition: 0.3s;
}

.mitarbeiter-link:hover {
    opacity: 1;
    color: #999;
}

.tool-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background:#f5f5f5;
}
