/*************************************
 * GENERAL 
 *************************************/

.fk-home {
    padding: 0 !important;
}

/* CONTAINER */
.fk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.fk-container.services {
    max-width: 1500px;
}

/* TEXT BLOCK */
.fk-home-text h2 {
    margin-bottom: 20px;
}

.fk-home-text p {
    max-width: 700px;
    margin: 0 auto 10px;
    color: #555;
    line-height: 1.6;
}

.fk-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.fk-col {
    flex: 1;
}

.fk-col-6 { flex: 0 0 calc(50% - 15px); }
.fk-col-3 { flex: 0 0 calc((100% - 90px) / 4);  }

.fk-home-text {
    padding: 100px 0;
    text-align: center;
}

/* HEADLINE */
.fk-headline {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.fk-headline h2 {
    font-size: 28px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.fk-headline p {
    color: #555;
    line-height: 1.6;
}

/*************************************
 * HOME SECTION 
 *************************************/

/* SECTION SPACING */
.fk-home-intro {
    padding: 120px 0 120px;
    background: #f8f9fb;
    background-image: url('../../../../wp-content/uploads/2026/04/fk-home-banner.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.fk-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

/*************************************
 * FEATURES 
 *************************************/

.fk-features {
    display: flex;
    margin: 100px 0 0 0;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.fk-feature {
    flex: 1;
    min-width: 220px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-align: center;
}

.fk-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.fk-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.fk-feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.fk-feature p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/*************************************
 * SERVICES 
 *************************************/

.fk-services {
    padding: 80px 0;
    background: #ffffff;
}

/* HEADLINE */
.fk-services-headline {
    text-align: center;
    margin-bottom: 50px;
}

.fk-services-headline h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.fk-services-headline p {
    color: #666;
}

/* GRID */
.fk-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 80px 0 20px 0;
}

/* CARD */
.fk-service-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 220px;
    display: block;
}

/* IMAGE FIX */
.fk-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* OVERLAY */
.fk-service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 32, 0.4);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.3s ease;
}

.fk-service-overlay h3 {
    color: #fff;
    font-size: 18px;
}

/* HOVER */
.fk-service-card:hover img {
    transform: scale(1.08);
}

.fk-service-card:hover .fk-service-overlay {
    background: rgba(231, 233, 234, 0.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .fk-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .fk-services-grid {
        grid-template-columns: 1fr;
    }
}

/*************************************
 * STATS 
 *************************************/

/* 🔷 STATS PARALLAX */
.fk-stats {
    position: relative;
    color: #fff;
    padding: 70px 20px;
    overflow: hidden;
    background-image: url('../../../../wp-content/uploads/2023/10/kuechen_centrum.jpg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
.fk-stats::before {
    content: "";
    position: absolute;
    inset: -200px 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
    transform: translateY(var(--parallaxY, 0));
}

/* Overlay für Lesbarkeit */
.fk-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
}

/* Grid */
.fk-stats-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

/* Intro */
.fk-stat-intro h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.fk-stat-intro span {
    color: #1e73be;
}

/* Counter */
.fk-stat {
    text-align: center;
    background-color: rgba(41, 145, 214, 0.7);
    border-radius: 8px;
    padding: 10px 0;
}

.fk-counter {
    font-size: 40px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.fk-number {
    font-size: 48px;
}

.fk-plus {
    font-size: 24px;
    align-self: flex-start;
}

.fk-stat p {
    font-size: 14px;
}

/*************************************
 * PDM 
 *************************************/

.fk-pdm {
    padding: 100px 30px 100px 30px;
}

/* CARD */
.fk-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(.22,.61,.36,1);

    display: flex;
    flex-direction: column;
    height: 100%;
}
.fk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.fk-card h3 {
    font-size: 22px;
    margin: 15px 15px 8px;
    font-weight: 600;
    line-height: 1.3;
}
.fk-card p {
    font-size: 16px;
    color: #666;
    margin: 0 15px 15px;
    flex-grow: 1;
}

.fk-card-img {
    width: 100%;
    height: 180px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: #ddd;
    border-radius: 6px;
}
.fk-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 🔷 CAROUSEL */
.fk-carousel {
    position: relative;
}

.fk-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.8s cubic-bezier(.22,.61,.36,1);
}

/* 5 Items sichtbar */
.fk-carousel-item {
    flex: 0 0 calc((100% - 80px) / 5);
    max-width: calc((100% - 80px) / 5);
}

/* Card bleibt wie gehabt */
.fk-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

/*************************************
 * CONTACT 
 *************************************/

.fk-contact {
    padding: 80px 0 120px;
    color: #fff;
    background-image: url('../../../../wp-content/uploads/2023/10/kontakt_bg.jpg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.fk-contact .fp-section-title.two {
    margin-top: 60px;
}

/* HEADLINE */
.fk-contact-headline {
    text-align: center;
    margin-bottom: 50px;
}

.fk-contact-headline h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.fk-contact-headline p {
    font-size: 17px !important;
    margin-bottom: 80px !important;
    color: #9ca3af;
}

/* GRID */
.fk-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: stretch;
}

/* CARDS */
.fk-contact-card {
    background: rgba(255,255,255,0.04);
    padding: 30px;
    border: 1px solid #38bdf8;
    border-radius: 10px;
    backdrop-filter: blur(6px);
}
.fk-contact-card .two {
    margin-top: 60px;
}

/* FORM */
.fk-contact-form {
    background: rgba(255,255,255,0.06);
    padding: 30px;
    border-radius: 10px;
}

.fk-contact-form .fp-form-3 input[type=email],
.fk-contact-form .fp-form-3 input[type=text],
.fk-contact-form .fp-form-3 textarea {
    background-color: rgba(22, 22, 22, .59);
    border-color: #212121;
}

.fk-contact-form .fp-form-3 input[type=email]:focus,
.fk-contact-form .fp-form-3 input[type=text]:focus,
.fk-contact-form .fp-form-3 textarea:focus {
    background-color: rgba(35, 35, 35, 0.85); /* heller als vorher */
    border-color: #4a90e2; /* dezenter Akzent (blau) */
    color: #ffffff;
    outline: none;
}

.fk-contact-form .fp-form-3 input:focus,
.fk-contact-form .fp-form-3 textarea:focus {
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.fk-contact-form .fp-form-3 input::placeholder,
.fk-contact-form .fp-form-3 textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.fk-contact-form .fp-form-3 input:focus::placeholder,
.fk-contact-form .fp-form-3 textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.fk-contact-form .fp-form-3 input:hover,
.fk-contact-form .fp-form-3 textarea:hover {
    border-color: #3a3a3a;
}

/* TYPO */
.fk-contact h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #d1d5db;
}

.fk-contact h3 {
    margin: 10px 0 5px;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    
}

.fk-contact h3 span {
    font-size: 12px;
    color: #38bdf8;
    margin-left: 5px;
}

.fk-contact p {
    margin: 0 0 3px;
    font-size: 14px;
    color: #d1d5db;
}

.fk-contact a {
    color: #d1d5db;
    text-decoration: none;
}

.fk-contact a:hover {
    text-decoration: underline;
}

.fk-contact-row {
    display: flex;
    gap: 40px;
}

.fk-contact-row .fk-contact-block {
    flex: 1;
}

/* BLOCK SPACING */
.fk-contact-block {
    margin-bottom: 25px;
}

.muted {
    color: #38bdf8 !important;
    font-size: 13px;
}

/*************************************
 * RESPONSIVE 
 *************************************/

@media (max-width: 900px) {
    .fk-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    .fk-carousel-item {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 900px) {
    .fk-features {
        flex-direction: column;
    }
    .fk-stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .fk-col-6,
    .fk-col-3 {
        flex: 100%;
    }

    .fk-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .fk-contact-row {
        flex-direction: column;
        gap: 20px;
    }
    .fk-carousel-item {
        flex: 0 0 100%;
    }
}

@supports (aspect-ratio: 16/9) {
    .fk-card-img {
        height: auto;
    }
}