/* IBM Plex Mono – lokal eingebunden */

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Quark2-Schriftarten überschreiben */

:root,
:root[data-theme="light"],
:root[data-theme="dark"] {
    --pico-font-family-display:
        "IBM Plex Mono",
        monospace;

    --pico-font-family-sans-serif:
        "IBM Plex Mono",
        monospace;

    --pico-font-family-monospace:
        "IBM Plex Mono",
        monospace;
}

/* Alle Tabellen */
table,
table th,
table td {
    background: #1d1f25;
}

/* Alle Zitate türkis Linie und orangen Text */
blockquote,
blockquote p {
    color: #fb982c;
}

blockquote {
    border-left-color: #0dfef1 !important;
}

/* Linkfarbe von Quark2 */
:root,
:root[data-theme='dark'] {
    --q2-link: #fb982c;
}

/* Normale Links im Inhalt */
#body-wrapper a:hover,
#body-wrapper a:focus {
    color: #0dfef1;
}

/* Hauptmenü */
#header a {
    color: #fb982c !important;
    font-size: 1.05rem;
}

#header a:hover,
#header a:focus {
    color: #fb982c !important;
}

/* Hauptmenü */
#header a {
    color: #fb982c !important;
    font-size: 1.07rem;
}

#header a:hover,
#header a:focus {
    color: #fb982c !important;
}


/* =========================================
   Dienstleistungen – Zielgruppen-Kacheln
   ========================================= */

.dienstleistung-kacheln {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.dienstleistung-kachel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 230px;
    padding: 2rem 1.5rem;

    background: #111;
    border: 1px solid #333;
    border-radius: 12px;

    text-align: center;
    text-decoration: none !important;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

    transition: transform 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.dienstleistung-kachel i {
    font-size: 3.5rem;
    color: #fb982c;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 10px rgba(251, 152, 44, 0.4));
}

.dienstleistung-kachel-titel {
    color: #fb982c;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.dienstleistung-kachel-text {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
}

.dienstleistung-kachel:hover {
    transform: translateY(-5px);
    border-color: #fb982c;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(251, 152, 44, 0.18);
}

h3[id] {
    scroll-margin-top: 7rem;
}

@media (max-width: 800px) {
    .dienstleistung-kacheln {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dienstleistung-kachel {
        min-height: 180px;
    }
}


/* =========================================================
   Technologien & Lösungen – Kacheln
   ========================================================= */

.technologien-einleitung {
    margin-bottom: 2.5rem;
    max-width: 75ch;
}


/* Kachelraster */

.technologien-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}


/* Einzelne Kachel */

.technologie-karte {
    margin: 0;
    padding: 0;
    overflow: hidden;

    background: #202126;
    border: 1px solid #2c2e34;
    border-radius: 14px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.technologie-karte:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.32);
}


/* Gesamte Kachel anklickbar */

.technologie-karte__link,
.technologie-karte__link:hover,
.technologie-karte__link:focus,
.technologie-karte__link:visited {

    display: flex;
    flex-direction: column;
    height: 100%;

    color: #eeeeee;

    text-decoration: none !important;
}


/* Bild */

.technologie-karte__bildbereich {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    background: #18191d;
}


.technologie-karte__bild {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}


.technologie-karte:hover .technologie-karte__bild {
    transform: scale(1.03);
}


/* Textbereich */

.technologie-karte__inhalt {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 1.6rem;
}


/* Titel */

.technologie-karte__inhalt h2 {
    margin: 0 0 1rem 0;

    font-size: 1.4rem;
    line-height: 1.25;

    color: #ffffff;

    text-decoration: none !important;
}


.technologie-karte__inhalt h2::after {
    display: none;
}


/* Beschreibung */

.technologie-karte__inhalt p {
    margin: 0 0 1.5rem 0;

    line-height: 1.55;

    color: #c9c9cb;

    text-decoration: none !important;
}


/* Mehr erfahren */

.technologie-karte__mehr {
    margin-top: auto;

    color: #dd9933;

    font-weight: 600;

    text-decoration: none !important;
}


.technologie-karte:hover .technologie-karte__mehr {
    text-decoration: underline !important;
}


/* Tablet */

@media screen and (max-width: 1100px) {

    .technologien-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* Smartphone */

@media screen and (max-width: 700px) {

    .technologien-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .technologie-karte__inhalt {
        padding: 1.4rem;
    }

}
