/* ============================================================
   BERLINER KOMPETENZFORUM – CSS
   
   FARBEN AENDERN?  → Variablen unten anpassen
   SCHRIFTEN?       → Variablen unten anpassen  
   ABSTAENDE?       → --abstand-sektion aendern
   
   AUFBAU:
   1. Variablen
   2. Grundlagen
   3. Header-Anpassungen (GeneratePress)
   4. Hero
   5. Über uns
   6. Leistungen
   7. CTA Banner
   8. USP
   9. Testimonials
   10. Projekte
   11. Gemeinschaft
   12. Footer
   13. Buttons
   14. Responsive
   ============================================================ */


/* ---------------------------------------------------------
   1. VARIABLEN – Hier Farben & Schriften aendern
   --------------------------------------------------------- */
:root {
    /* Farben */
    --farbe-akzent:       #c8374b;
    --farbe-akzent-hover: #a82d3e;
    --farbe-dunkel:       #1a1a1a;
    --farbe-dunkel-bg:    #2b2b2b;
    --farbe-text:         #333333;
    --farbe-text-hell:    #666666;
    --farbe-hg:           #ffffff;
    --farbe-hg-hell:      #f7f7f7;
    --farbe-hg-warm:      #f5f0eb;
    --farbe-linie:        #e0e0e0;

    /* Akzent-Punkte (Farbkreise bei USPs) */
    --punkt-rot:    #c8374b;
    --punkt-gelb:   #d4a843;
    --punkt-teal:   #5a9a8a;
    --punkt-blau:   #4a7ab5;
    --punkt-orange: #d4784a;

    /* Schriften */
    --schrift-ueberschrift: 'Playfair Display', Georgia, serif;
    --schrift-text:         'Source Sans 3', 'Source Sans Pro', sans-serif;

    /* Abstände */
    --abstand-sektion: 80px;
    --max-breite:      1200px;
}


/* ---------------------------------------------------------
   2. GRUNDLAGEN
   --------------------------------------------------------- */
.bkf-sektion {
    padding: var(--abstand-sektion) 0;
}

.bkf-container {
    width: 100%;
    max-width: var(--max-breite);
    margin: 0 auto;
    padding: 0 24px;
}

.bkf-titel {
    font-family: var(--schrift-ueberschrift);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--farbe-dunkel);
    margin-bottom: 24px;
}

.bkf-titel--center {
    text-align: center;
    margin-bottom: 48px;
}

.bkf-text {
    font-family: var(--schrift-text);
    color: var(--farbe-text-hell);
    line-height: 1.7;
    font-size: 1rem;
}


/* ---------------------------------------------------------
   3. HEADER (GeneratePress-Anpassungen)
   --------------------------------------------------------- */
.site-header {
    border-bottom: 1px solid var(--farbe-linie);
}

/* Navigation-Links */
.main-navigation a {
    font-family: var(--schrift-text);
    font-weight: 500;
}


/* ---------------------------------------------------------
   4. HERO
   --------------------------------------------------------- */
.bkf-hero {
    padding: 40px 0 0;
    background: var(--farbe-hg);
}

.bkf-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.bkf-hero__titel {
    font-family: var(--schrift-ueberschrift);
    font-size: 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--farbe-dunkel);
    margin-bottom: 20px;
}

.bkf-hero__text {
    font-family: var(--schrift-text);
    color: var(--farbe-text-hell);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 500px;
}

.bkf-hero__bilder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bkf-hero__bilder img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 30%;   /* Fokus auf obere Haelfte (Gesichter) */
    border-radius: 4px;
}

/* Bild 1: grosses Bild oben, volle Breite */
.bkf-hero__bilder img:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    object-position: center 25%;   /* Personen am Tisch - Koepfe sichtbar */
}

/* Bild 2: Workshop-Bild (fast quadratisch) */
.bkf-hero__bilder img:nth-child(2) {
    aspect-ratio: 4 / 3;
    object-position: center 20%;   /* Pinnwaende + Personen sichtbar */
}

/* Bild 3: Strassenszene */
.bkf-hero__bilder img:nth-child(3) {
    aspect-ratio: 4 / 3;
    object-position: center 40%;   /* Gruppe im Zentrum */
}

/* Statistiken */
.bkf-stats {
    display: flex;
    gap: 48px;
    padding: 40px 0 0;
    margin-top: 40px;
    border-top: 1px solid var(--farbe-linie);
    flex-wrap: wrap;
}

.bkf-stat__zahl {
    font-family: var(--schrift-ueberschrift);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--farbe-dunkel);
}

.bkf-stat__label {
    font-size: 0.85rem;
    color: var(--farbe-text-hell);
    margin-top: 4px;
}

.bkf-stats__text {
    max-width: 280px;
    font-size: 0.9rem;
    color: var(--farbe-text-hell);
    line-height: 1.6;
    padding-top: 8px;
}


/* ---------------------------------------------------------
   5. ÜBER UNS
   --------------------------------------------------------- */
.bkf-about {
    background: var(--farbe-hg);
}

.bkf-about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bkf-about__bild-wrap {
    position: relative;
}

.bkf-about__bild-wrap::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 70px;
    height: 70px;
    border-top: 3px solid var(--farbe-akzent);
    border-left: 3px solid var(--farbe-akzent);
    pointer-events: none;
}

.bkf-about__bild {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 4px;
}

.bkf-about__text {
    margin-bottom: 16px;
}

.bkf-about__autor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.bkf-about__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--farbe-hg-hell);
}

.bkf-about__autor strong {
    display: block;
    font-size: 0.95rem;
}

.bkf-about__autor span {
    font-size: 0.8rem;
    color: var(--farbe-text-hell);
}


/* ---------------------------------------------------------
   6. LEISTUNGEN
   --------------------------------------------------------- */
.bkf-leistungen {
    background: var(--farbe-hg-hell);
}

.bkf-leistung {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--farbe-linie);
    max-width: 900px;
    margin: 0 auto;
}

.bkf-leistung:first-of-type {
    border-top: 1px solid var(--farbe-linie);
}

.bkf-leistung__nr {
    font-family: var(--schrift-ueberschrift);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--farbe-akzent);
}

.bkf-leistung__titel {
    font-family: var(--schrift-ueberschrift);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: var(--farbe-dunkel);
    letter-spacing: 0.3px;
}

.bkf-leistung__text {
    font-size: 0.9rem;
    color: var(--farbe-text-hell);
    line-height: 1.6;
}

.bkf-leistung__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--farbe-akzent);
    white-space: nowrap;
    text-decoration: none;
}

.bkf-leistung__link:hover {
    color: var(--farbe-akzent-hover);
}


/* ---------------------------------------------------------
   7. CTA BANNER
   --------------------------------------------------------- */
.bkf-cta-banner {
    padding: var(--abstand-sektion) 0;
    background: var(--farbe-dunkel);
    position: relative;
    overflow: hidden;
}

.bkf-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200,55,75,0.2) 0%, transparent 60%);
}

.bkf-cta-banner__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bkf-cta-banner__titel {
    font-family: var(--schrift-ueberschrift);
    font-size: 2.2rem;
    color: #fff;
    text-transform: uppercase;
    max-width: 500px;
    line-height: 1.2;
}


/* ---------------------------------------------------------
   8. ALLEINSTELLUNGSMERKMALE (USP)
   --------------------------------------------------------- */
.bkf-usp {
    background: var(--farbe-hg);
}

.bkf-usp__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.bkf-usp-item {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--farbe-linie);
}

.bkf-usp-item:last-child {
    border-bottom: none;
}

.bkf-usp-item__titel {
    font-family: var(--schrift-ueberschrift);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--farbe-dunkel);
}

.bkf-usp-item__text {
    font-size: 0.9rem;
    color: var(--farbe-text-hell);
    line-height: 1.7;
}

.bkf-usp__bild {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* Farbpunkte */
.bkf-farbpunkte {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.bkf-farbpunkt {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}


/* ---------------------------------------------------------
   9. TESTIMONIALS
   --------------------------------------------------------- */
.bkf-testimonials {
    background: var(--farbe-hg-warm);
}

.bkf-testimonials__header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.bkf-testimonials__icon {
    font-family: var(--schrift-ueberschrift);
    font-size: 5rem;
    line-height: 1;
    color: var(--farbe-akzent);
    opacity: 0.6;
}

.bkf-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
}

.bkf-testimonial {
    background: var(--farbe-hg);
    padding: 28px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.bkf-testimonial__text {
    font-size: 0.95rem;
    color: var(--farbe-text-hell);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.bkf-testimonial__autor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bkf-testimonial__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--farbe-hg-hell);
}

.bkf-testimonial__name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--farbe-dunkel);
}


/* ---------------------------------------------------------
   10. PROJEKTE
   --------------------------------------------------------- */
.bkf-projekte {
    background: var(--farbe-hg);
}

.bkf-projekte__filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.bkf-filter-btn {
    background: none;
    border: none;
    font-family: var(--schrift-text);
    font-size: 0.85rem;
    color: var(--farbe-text-hell);
    cursor: pointer;
    padding: 6px 14px;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
}

.bkf-filter-btn:hover,
.bkf-filter-btn.active {
    color: var(--farbe-dunkel);
    border-bottom-color: var(--farbe-akzent);
}

.bkf-projekte__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bkf-projekt-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
    background: var(--farbe-hg-hell);
}

.bkf-projekt-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bkf-projekt-card:hover img {
    transform: scale(1.05);
}

.bkf-projekt-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bkf-projekt-card:hover .bkf-projekt-card__overlay {
    opacity: 1;
}

.bkf-projekt-card__overlay h3 {
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 2px;
}

.bkf-projekt-card__overlay span {
    font-size: 0.8rem;
    opacity: 0.8;
}


/* ---------------------------------------------------------
   11. GEMEINSCHAFT CTA
   --------------------------------------------------------- */
.bkf-community {
    padding: var(--abstand-sektion) 0;
    background: var(--farbe-dunkel);
    text-align: center;
    color: #fff;
}

.bkf-community__titel {
    font-family: var(--schrift-ueberschrift);
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.bkf-community__text {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------- */
.bkf-footer {
    background: var(--farbe-dunkel);
    color: rgba(255,255,255,0.6);
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bkf-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bkf-footer__links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bkf-footer__links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-decoration: none;
}

.bkf-footer__links a:hover {
    color: #fff;
}


/* ---------------------------------------------------------
   13. BUTTONS
   --------------------------------------------------------- */
.bkf-btn {
    display: inline-block;
    padding: 13px 30px;
    font-family: var(--schrift-text);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 2px solid;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: 2px;
}

.bkf-btn--dunkel {
    background: var(--farbe-dunkel);
    border-color: var(--farbe-dunkel);
    color: #fff;
}

.bkf-btn--dunkel:hover {
    background: transparent;
    color: var(--farbe-dunkel);
}

.bkf-btn--akzent {
    background: var(--farbe-akzent);
    border-color: var(--farbe-akzent);
    color: #fff;
}

.bkf-btn--akzent:hover {
    background: var(--farbe-akzent-hover);
    border-color: var(--farbe-akzent-hover);
    color: #fff;
}


/* ---------------------------------------------------------
   14. RESPONSIVE
   --------------------------------------------------------- */

/* Tablet */
@media (max-width: 992px) {
    .bkf-hero__inner,
    .bkf-about__inner,
    .bkf-usp__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bkf-hero__titel {
        font-size: 2rem;
    }

    .bkf-leistung {
        grid-template-columns: 50px 1fr;
    }

    .bkf-leistung__link {
        grid-column: 2;
    }

    .bkf-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .bkf-projekte__grid {
        grid-template-columns: 1fr 1fr;
    }

    .bkf-cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobil */
@media (max-width: 768px) {
    :root {
        --abstand-sektion: 56px;
    }

    .bkf-hero__titel {
        font-size: 1.7rem;
    }

    .bkf-hero__bilder {
        grid-template-columns: 1fr;
    }

    .bkf-hero__bilder img,
    .bkf-hero__bilder img:first-child,
    .bkf-hero__bilder img:nth-child(2),
    .bkf-hero__bilder img:nth-child(3) {
        aspect-ratio: 16 / 10;
        grid-column: auto;
    }

    .bkf-stats {
        gap: 24px;
    }

    .bkf-stat__zahl {
        font-size: 1.6rem;
    }

    .bkf-projekte__grid {
        grid-template-columns: 1fr;
    }

    .bkf-cta-banner__titel {
        font-size: 1.5rem;
    }

    .bkf-community__titel {
        font-size: 1.5rem;
    }

    .bkf-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .bkf-titel {
        font-size: 1.6rem;
    }
}
