/* =========================================================
   FACHFINDER.DE
   Hauptstylesheet
   ========================================================= */


/* =========================================================
   1. VARIABLEN
   ========================================================= */

:root {
    --blue: #174d83;
    --blue2: #0e3b68;
    --orange: #ef7b22;
    --ink: #2e3338;
    --muted: #6f767d;
    --line: #dfe3e6;
    --soft: #f4f5f6;
    --white: #fff;
}


/* =========================================================
   2. BASIS / RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 14px/1.55 Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}


/* =========================================================
   3. TOPBAR
   ========================================================= */

.topbar {
    background: #f2f3f4;
    border-bottom: 1px solid #e0e2e4;
    color: #5d646a;
    font-size: 12px;
}

.topbar-inner {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-inner div {
    display: flex;
    gap: 22px;
}


/* =========================================================
   4. HEADER
   ========================================================= */

.header-main {
    height: 92px;
    display: grid;
    grid-template-columns: 250px 1fr 215px;
    gap: 35px;
    align-items: center;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--blue);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo small {
    font-size: 16px;
    color: var(--orange);
}

.logo-box {
    width: 42px;
    height: 42px;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 27px;
}


/* Suche */

.search {
    height: 43px;
    border: 1px solid #cfd4d8;
    display: flex;
    background: #fff;
}

.search input {
    flex: 1;
    border: 0;
    padding: 0 14px;
    font: 14px Arial;
    outline: 0;
}

.search button {
    width: 48px;
    border: 0;
    background: var(--blue);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}


/* Header CTA */

.header-cta {
    border-left: 1px solid var(--line);
    padding-left: 22px;
    color: var(--blue);
}

.header-cta b,
.header-cta small {
    display: block;
}

.header-cta b {
    font-size: 16px;
}

.header-cta small {
    color: var(--muted);
    font-size: 11px;
}


/* =========================================================
   5. HAUPTNAVIGATION
   ========================================================= */

.mainnav {
    background: var(--blue);
}

.nav-inner {
    height: 48px;
    display: flex;
    align-items: stretch;
}

.nav-inner a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #fff;
    font-size: 13px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.nav-inner a:first-child {
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.nav-inner a:hover {
    background: var(--blue2);
}


/* =========================================================
   6. BREADCRUMBS
   ========================================================= */

.breadcrumbs {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a9095;
    font-size: 12px;
}

.breadcrumbs a {
    color: var(--blue);
}


/* =========================================================
   7. HERO
   ========================================================= */

.hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: 1fr 1.06fr;
    background: #f3f5f6;
    border: 1px solid var(--line);
}

.hero-copy {
    padding: 48px 46px;
}

.kicker,
.eyebrow {
    display: block;
    color: var(--orange);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.14;
    color: var(--blue2);
    margin: 0 0 18px;
    font-weight: 600;
}

.hero p {
    font-size: 16px;
    color: #555e66;
    margin: 0 0 20px;
}


/* Hero Vorteile */

.benefits {
    display: grid;
    gap: 7px;
    color: #4f5b64;
    margin: 20px 0 27px;
}

.benefits span::first-letter {
    color: var(--orange);
}


/* Primary Button */

.primary {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 13px 22px;
    font-weight: bold;
}

.primary:hover {
    background: #d96611;
}


/* Hero Bild */

.hero-image {
    position: relative;
    min-height: 390px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-label {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(14, 59, 104, .94);
    color: #fff;
    padding: 14px 22px;
    min-width: 260px;
}

.image-label b,
.image-label span {
    display: block;
}

.image-label span {
    font-size: 11px;
    margin-top: 3px;
    color: #dbe8f3;
}


/* =========================================================
   8. GEMEINSAME SECTION-BREITEN
   ========================================================= */

.category-section,
.content-layout,
.request,
.how,
.regions,
.provider {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   9. KATEGORIEN
   ========================================================= */

.category-section {
    margin-bottom: 55px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px;
    margin-bottom: 22px;
}

.section-title h2,
.headline-row h2,
.request h2,
.regions h2 {
    font-size: 27px;
    color: var(--blue2);
    font-weight: 600;
    margin: 0;
}

.section-title p {
    margin: 0;
    color: var(--muted);
}

.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.category {
    border: 1px solid var(--line);
    background: #fff;
}

.category img,
.fake-photo {
    height: 125px;
    width: 100%;
    object-fit: cover;
    background: #e9edf0;
}

.category > div:last-child {
    padding: 12px;
}

.category b,
.category span {
    display: block;
}

.category b {
    color: var(--blue);
    font-size: 14px;
}

.category span {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}


/* Platzhalterbilder */

.fake-photo {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .85);
    font-size: 17px;
    font-weight: bold;
    letter-spacing: .12em;
    background: linear-gradient(135deg, #8f969c, #c8ccce);
}

.reception .fake-photo {
    background: linear-gradient(135deg, #a18c73, #d9d0c5);
}

.acoustic .fake-photo {
    background: linear-gradient(135deg, #687b84, #b2bec2);
}

.meeting .fake-photo {
    background: linear-gradient(135deg, #6c6257, #b3a99e);
}

.phone .fake-photo {
    background: linear-gradient(135deg, #3f535c, #91a3aa);
}

.fallback-img {
    display: none !important;
}


/* =========================================================
   10. CONTENT-LAYOUT
   ========================================================= */

.content-layout {
    display: grid;
    grid-template-columns: 225px 1fr;
    gap: 35px;
    margin-bottom: 65px;
}


/* =========================================================
   11. SIDEBAR
   ========================================================= */

.sidebar {
    border: 1px solid var(--line);
    align-self: start;
}

.sidebar h3 {
    margin: 0;
    padding: 14px 15px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
}

.sidebar a {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #e7eaec;
    font-size: 13px;
}

.sidebar a:hover,
.sidebar a.active {
    color: var(--blue);
    background: #f2f5f7;
    font-weight: bold;
}

.sidebar .side-second {
    margin-top: 15px;
}


/* =========================================================
   12. CONTENT HEADLINE
   ========================================================= */

.headline-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.result-count {
    font-size: 11px;
    color: var(--muted);
}


/* =========================================================
   13. SERVICE GRID
   ========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service {
    border: 1px solid var(--line);
    background: #fff;
}


/* Service Bilder */

.service-img {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.office {
    background-image: url(
        'images/Empfangstheke_Z-two_mit_Konfigurator.jpg'
    );
}

.desk {
    background-image: url(
        'images/Empfangstheke_XP_200-Fineline_Metallic_Icy White.jpg'
    );
}

.plan {
    background-image: url(
        'images/Thekenvorsatz XP.jpg'
    );
}

.sound {
    background-image: url(
        'images/Empfangstheke_XP_3OH_mit_Abdeckplatte.jpg'
    );
}

.conference {
    background-image: url(
        'images/Empfangstheke_Z-two_L-Form_mit_Konfigurator.jpg'
    );
}

.booth {
    background-image: url(
        'images/Empfangstheke_Z-two_Whiteline.jpg'
    );
}


/* Service Content */

.service-body {
    padding: 17px;
}

.service-body small {
    font-size: 10px;
    color: var(--orange);
    font-weight: bold;
}

.service-body h3 {
    font-size: 18px;
    color: var(--blue);
    margin: 4px 0 8px;
}

.service-body p {
    font-size: 13px;
    color: #646c72;
    min-height: 61px;
    margin: 0 0 12px;
}

.service-body a {
    font-size: 12px;
    color: var(--blue);
    font-weight: bold;
}


/* =========================================================
   14. ANFRAGE
   ========================================================= */

.request {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--blue2);
    color: #fff;
    margin-bottom: 65px;
}

.request-copy {
    padding: 45px;
}

.eyebrow.light {
    color: #ff9b50;
}

.request h2 {
    color: #fff;
    font-size: 31px;
}

.request-copy p {
    color: #d8e2eb;
    font-size: 15px;
}

.request-copy ul {
    padding-left: 18px;
    color: #d8e2eb;
}


/* Anfrageformular */

.request-form {
    background: #f4f5f6;
    color: var(--ink);
    padding: 34px 38px;
}

.request-form label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 14px;
}

.request-form input,
.request-form select,
.request-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #cfd4d8;
    background: #fff;
    padding: 11px;
    margin-top: 5px;
    font: 14px Arial;
}

.request-form .two {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
}

.request-form button {
    background: var(--orange);
    color: #fff;
    border: 0;
    padding: 13px 22px;
    font-weight: bold;
    cursor: pointer;
}

.request-form > small {
    display: block;
    margin-top: 11px;
    color: #777;
    font-size: 10px;
}


/* =========================================================
   15. SO FUNKTIONIERT'S
   ========================================================= */

.how {
    margin-bottom: 65px;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
}

.how-grid > div {
    padding: 28px;
    border-right: 1px solid var(--line);
}

.how-grid > div:last-child {
    border: 0;
}

.how-grid b {
    color: var(--orange);
    font-size: 12px;
}

.how-grid h3 {
    color: var(--blue);
    font-size: 19px;
    margin: 7px 0;
}

.how-grid p {
    color: var(--muted);
    margin: 0;
}


/* =========================================================
   16. REGIONEN
   ========================================================= */

.regions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    background: #f3f5f6;
    padding: 38px 42px;
    margin-bottom: 65px;
    border-top: 3px solid var(--blue);
}

.regions p {
    color: var(--muted);
}

.region-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
}

.region-links a {
    padding: 12px 5px;
    border-bottom: 1px solid #d3d7da;
    color: var(--blue);
    font-weight: bold;
}


/* =========================================================
   17. ANBIETER
   ========================================================= */

.provider {
    background: #e9eef2;
    border-left: 5px solid var(--orange);
    padding: 32px 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}

.provider span {
    font-size: 10px;
    color: var(--orange);
    font-weight: bold;
}

.provider h2 {
    color: var(--blue2);
    font-size: 24px;
    margin: 5px 0;
}

.provider p {
    margin: 0;
    color: var(--muted);
}

.provider > a {
    background: var(--blue);
    color: #fff;
    padding: 12px 18px;
    font-weight: bold;
}


/* =========================================================
   18. FOOTER
   ========================================================= */

footer {
    background: #26323c;
    color: #d4dbe0;
    padding: 48px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 45px;
}

.footer-logo {
    color: #fff;
}

.footer-grid p {
    color: #9da9b1;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-grid b {
    color: #fff;
    margin-bottom: 5px;
}

.footer-grid a {
    font-size: 12px;
}

.copyright {
    border-top: 1px solid #42505a;
    margin-top: 35px;
    padding-top: 18px;
    color: #87939b;
    font-size: 11px;
}


/* =========================================================
   19. TABLET
   bis 900px
   ========================================================= */

@media (max-width: 900px) {

    .header-main {
        grid-template-columns: 210px 1fr;
    }

    .header-cta {
        display: none;
    }

    .nav-inner {
        overflow-x: auto;
    }

    .nav-inner a {
        white-space: nowrap;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        min-height: 320px;
    }

    .categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .request {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   20. MOBILE
   bis 600px
   ========================================================= */

@media (max-width: 600px) {

    .topbar-inner > span {
        display: none;
    }

    .topbar-inner {
        justify-content: flex-end;
    }

    .topbar-inner div {
        gap: 12px;
    }

    .header-main {
        height: auto;
        padding: 16px 0;
        grid-template-columns: 1fr;
    }

    .search {
        grid-row: 2;
    }

    .logo {
        font-size: 22px;
    }

    .mainnav {
        display: none;
    }

    .breadcrumbs {
        height: 38px;
    }

    .hero {
        width: 100%;
        border-left: 0;
        border-right: 0;
    }

    .hero-copy {
        padding: 32px 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-image {
        min-height: 250px;
    }

    .section-title {
        align-items: start;
        gap: 15px;
        flex-direction: column;
    }

    .categories {
        grid-template-columns: 1fr 1fr;
    }

    .category img,
    .fake-photo {
        height: 105px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .request,
    .how,
    .regions,
    .provider,
    .category-section,
    .content-layout {
        width: calc(100% - 24px);
    }

    .request-copy,
    .request-form {
        padding: 28px 20px;
    }

    .how-grid {
        grid-template-columns: 1fr;
    }

    .how-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .regions {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 20px;
    }

    .provider {
        align-items: flex-start;
        gap: 22px;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-image .image-label {
        min-width: 0;
    }
}