/*
Theme Name: JobAdvice Kombi
Theme URI: https://example.com/
Author: OpenAI
Description: Kombiniertes WordPress Theme für Industrie sowie Bau und Baunebengewerbe mit gemeinsamer Vorschalteseite.
Version: 1.0.4
Text Domain: jobadvice-kombi
*/

:root {
    --navy: #052a5c;
    --navy-dark: #031d40;
    --blue: #0b4f9c;
    --text: #101522;
    --muted: #586274;
    --line: #dfe5ec;
    --soft: #f4f7fb;
    --white: #ffffff;
    --max: 1360px;
    --warm: #d08a22;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    height: 72px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(10,30,60,.08);
    position: sticky;
    top: 0;
    z-index: 30;
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 36px;
}

.brand {
    display: inline-flex;
    align-items: flex-start;
    min-width: 240px;
    font-weight: 900;
    letter-spacing: .5px;
    line-height: .8;
}

.brand__job {
    color: #08265a;
    font-size: 31px;
}

.brand__advice {
    color: #20232a;
    font-size: 31px;
}

.brand__plus {
    color: #08265a;
    font-size: 16px;
    margin: -7px 0 0 4px;
}

.brand__sub {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 8px;
    margin-left: 88px;
    color: #1f2630;
}

.main-nav {
    margin-left: auto;
    font-size: 14px;
}

.main-nav ul,
.main-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--blue);
}

.header-actions {
    display: flex;
    gap: 12px;
    margin-left: 20px;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border-radius: 5px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #062b60, #0b4a91);
    box-shadow: 0 8px 24px rgba(5,42,92,.18);
}

.btn--outline {
    color: #08265a;
    border-color: #08265a;
    background: #fff;
}

.btn--light {
    color: #fff;
    border-color: rgba(255,255,255,.8);
    background: rgba(0,0,0,.16);
    backdrop-filter: blur(4px);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #08265a;
    font-size: 28px;
    cursor: pointer;
}

/* Gateway Startseite */
.gateway {
    padding: 42px 0 58px;
    background:
        radial-gradient(circle at top left, rgba(7,80,154,.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(208,138,34,.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.gateway__intro {
    max-width: 860px;
    margin: 0 auto 26px;
    text-align: center;
}

.gateway__eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gateway h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -1px;
    color: var(--navy-dark);
}

.gateway__intro p:last-child {
    margin: 0;
    color: #4e5968;
    font-size: 18px;
}

.gateway__visual {
    position: relative;
    min-height: 540px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(18,32,56,.12);
    background: #0d223d;
}

.gateway__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(208,138,34,.14) 0%, rgba(6,43,96,.08) 32%, rgba(6,43,96,.08) 68%, rgba(11,79,156,.14) 100%);
    pointer-events: none;
    z-index: 2;
}

.gateway__visual::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 120px);
    width: 240px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,.00) 0%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.00) 100%);
    filter: blur(22px);
    z-index: 2;
    pointer-events: none;
}

.gateway-side {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.gateway-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform .35s ease;
    z-index: -2;
}

.gateway-side::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gateway-side:hover::before {
    transform: scale(1.07);
}

.gateway-side--bau::before {
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.08)),
        url("https://staging.jobadvice.ch/wp-content/uploads/2026/08/bau-baunebenbereich.jpg");
}

.gateway-side--bau::after {
    background:
        linear-gradient(125deg, rgba(25,20,14,.42) 0%, rgba(208,138,34,.75) 58%, rgba(14,18,28,.56) 100%);
}

.gateway-side--industrie::before {
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.04)),
        url("assets/images/hero-industry.jpg");
}

.gateway-side--industrie::after {
    background:
        linear-gradient(125deg, rgba(6,20,44,.72) 0%, rgba(7,60,119,.48) 46%, rgba(6,20,44,.78) 100%);
}

.gateway-side__content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 42px;
}

.gateway-side__label {
    display: inline-block;
    margin: 0 0 10px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.36);
    background: rgba(255,255,255,.08);
}

.gateway-side h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}

.gateway-side p {
    max-width: 470px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.90);
    font-size: 17px;
    min-height: 78px;
}

.gateway-side .btn {
    min-width: 220px;
}

.gateway-note {
    margin-top: 20px;
    text-align: center;
    color: #576173;
    font-size: 14px;
}

/* Allgemeine Sektorseiten */
.hero {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    color: #fff;
}

.hero__inner {
    min-height: 390px;
    display: flex;
    align-items: center;
}

.hero__content {
    width: min(650px, 56%);
    padding: 48px 0 44px;
}

.hero h1 {
    margin: 0 0 6px;
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1.08;
    letter-spacing: -.8px;
}

.hero__kicker {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 14px;
}

.hero__lead {
    max-width: 600px;
    margin: 0;
    font-size: 17px;
    color: rgba(255,255,255,.94);
}

.hero__actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero--industry {
    background:
        linear-gradient(90deg, rgba(0,14,31,.96) 0%, rgba(0,20,42,.87) 34%, rgba(0,23,49,.42) 58%, rgba(0,23,49,.16) 100%),
        url("assets/images/hero-industry.jpg") center right / cover no-repeat;
}

.hero--construction {
    background:
        linear-gradient(90deg, rgba(45,28,6,.94) 0%, rgba(70,45,7,.82) 32%, rgba(87,61,16,.38) 57%, rgba(0,0,0,.16) 100%),
        url("assets/images/category-7.jpg") center center / cover no-repeat;
}

.benefit-bar {
    background: linear-gradient(90deg, #032653, #06366f);
    color: #fff;
}

.benefit-bar--construction {
    background: linear-gradient(90deg, #6c4708, #b6781b);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.benefit {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    position: relative;
}

.benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 24%;
    height: 52%;
    width: 1px;
    background: rgba(255,255,255,.2);
}

.benefit__icon {
    flex: 0 0 38px;
    font-size: 30px;
    line-height: 1;
    opacity: .95;
}

.benefit__text {
    font-size: 13px;
    color: rgba(255,255,255,.96);
}

.section {
    padding: 22px 0 28px;
}

.section-title {
    margin: 0;
    text-align: center;
    font-size: 27px;
    line-height: 1.2;
}

.section-subtitle {
    margin: 2px 0 20px;
    text-align: center;
    color: #2f3742;
    font-size: 14px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}

.category-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(20,40,70,.04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(20,40,70,.10);
}

.category-card img {
    width: 100%;
    aspect-ratio: 1.48 / 1;
    object-fit: cover;
}

.category-card__body {
    min-height: 62px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #08265a;
    font-size: 13px;
    font-weight: 700;
}

.arrow {
    font-size: 18px;
    line-height: 1;
}

.category-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 1.48 / 1;
    display: grid;
    place-items: center;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(108,71,8,.95), rgba(208,138,34,.76)),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,.05) 0,
            rgba(255,255,255,.05) 12px,
            transparent 12px,
            transparent 24px
        );
    color: #fff;
    text-align: center;
}

.category-placeholder__icon {
    display: block;
    margin-bottom: 8px;
    font-size: 34px;
    line-height: 1;
}

.category-placeholder__small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,.76);
}

.process-jobs {
    background: linear-gradient(180deg, #f4f7fb 0%, #f8fafc 100%);
    border-top: 1px solid #edf1f5;
    padding: 18px 0 34px;
}

.process-jobs__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
}

.panel {
    background: rgba(255,255,255,.84);
    border: 1px solid #e7ebf0;
    border-radius: 6px;
}

.panel__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    padding: 0 0 12px;
}

.panel-title {
    margin: 0;
    font-size: 18px;
    color: #0a2c64;
}

.process {
    padding-top: 10px;
}

.process__box {
    padding: 26px 26px 24px;
    min-height: 154px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 32px;
}

.step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
}

.step__num {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #08265a;
    background: #e9eef6;
    font-weight: 800;
    font-size: 18px;
}

.step h3 {
    margin: 2px 0 6px;
    font-size: 14px;
    color: #08265a;
}

.step p {
    margin: 0;
    font-size: 12px;
    color: #4b5563;
}

.jobs {
    padding-top: 10px;
}

.jobs__box {
    padding: 6px 18px;
}

.job-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e9ef;
}

.job-row:last-child {
    border-bottom: 0;
}

.job-row h3 {
    margin: 0 0 2px;
    color: #0a2c64;
    font-size: 13px;
}

.job-row p {
    margin: 0;
    color: #6b7280;
    font-size: 11px;
}

.job-location {
    white-space: nowrap;
    font-size: 11px;
    color: #68707d;
}

.job-location::before {
    content: "⌖ ";
}

.jobs-link {
    color: #0a2c64;
    font-size: 12px;
    font-weight: 600;
}

/* Berufsunterseiten */
.profession-hero {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
    border-bottom: 1px solid #e1e7ee;
}

.profession-hero__grid {
    min-height: 390px;
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: stretch;
}

.profession-hero__content {
    padding: 70px 70px 70px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profession-eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profession-hero h1 {
    margin: 0 0 16px;
    color: var(--navy-dark);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -1px;
}

.profession-hero__content > p:not(.profession-eyebrow) {
    max-width: 560px;
    margin: 0 0 28px;
    color: #4c5969;
    font-size: 18px;
}

.profession-hero__content .btn {
    align-self: flex-start;
}

.profession-hero__image {
    min-height: 390px;
    overflow: hidden;
}

.profession-hero__image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.profession-content {
    padding: 58px 0 70px;
}

.profession-content__inner {
    max-width: 1040px;
}

.profession-intro {
    max-width: 860px;
    margin: 0 0 42px;
    color: #344052;
    font-size: 20px;
    line-height: 1.75;
}

.profession-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-bottom: 34px;
}

.profession-columns section {
    padding: 30px;
    background: #f7f9fc;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
}

.profession-columns h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: 23px;
}

.profession-columns ul {
    margin: 0;
    padding-left: 20px;
}

.profession-columns li {
    margin: 0 0 10px;
    color: #465162;
}

.profession-cta {
    margin-top: 30px;
    padding: 36px;
    color: #fff;
    background: linear-gradient(135deg, #04275a, #07509a);
    border-radius: 8px;
}

.profession-cta.profession-cta--construction {
    background: linear-gradient(135deg, #6b4508, #b6781b);
}

.profession-cta h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.profession-cta p {
    max-width: 760px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.9);
}

.profession-cta .btn--outline {
    margin-left: 8px;
    color: #fff;
    border-color: rgba(255,255,255,.85);
    background: transparent;
}

.profession-back {
    margin-top: 34px;
}

.profession-back a {
    color: var(--navy);
    font-weight: 700;
}

.site-footer {
    background: #031d40;
    color: rgba(255,255,255,.85);
    padding: 28px 0;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 1180px) {
    .main-nav ul,
    .main-nav__list {
        gap: 22px;
    }

    .header-actions {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .benefit-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefit:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 900px) {
    .site-header {
        height: auto;
        min-height: 70px;
    }

    .site-header__inner {
        min-height: 70px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .brand {
        min-width: auto;
    }

    .brand__job,
    .brand__advice {
        font-size: 26px;
    }

    .brand__sub {
        margin-left: 73px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin: 0;
        padding: 12px 0 4px;
    }

    .main-nav ul,
    .main-nav__list {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav.is-open {
        display: block;
    }

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

    .gateway__visual::after {
        display: none;
    }

    .gateway-side,
    .gateway-side__content {
        min-height: auto;
    }

    .gateway-side {
        min-height: 360px;
    }

    .hero {
        min-height: 440px;
    }

    .hero__inner {
        min-height: 440px;
    }

    .hero__content {
        width: 82%;
    }

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

    .benefit::after {
        display: none;
    }

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

    .process-jobs__grid {
        grid-template-columns: 1fr;
    }

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

    .profession-hero__grid {
        grid-template-columns: 1fr;
    }

    .profession-hero__content {
        padding: 52px 0 38px;
    }

    .profession-hero__image,
    .profession-hero__image img {
        min-height: 280px;
        max-height: 360px;
    }

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

@media (max-width: 600px) {
    .site-shell {
        width: min(100% - 28px, var(--max));
    }

    .hero__content {
        width: 100%;
        padding: 44px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero__kicker {
        font-size: 18px;
    }

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

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

    .hero__actions,
    .gateway-side__content .btn + .btn {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .panel__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .profession-content {
        padding: 38px 0 52px;
    }

    .profession-intro {
        font-size: 17px;
    }

    .profession-columns section,
    .profession-cta {
        padding: 24px;
    }

    .profession-cta .btn {
        width: 100%;
    }

    .profession-cta .btn--outline {
        margin: 10px 0 0;
    }
}


/* Footer Legal Links */
.footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.footer-legal {
    display: flex;
    gap: 18px;
    margin-top: 4px;
}
.footer-legal a {
    color: rgba(255,255,255,.75);
    font-size: 12px;
}
.footer-legal a:hover {
    color: #fff;
}

/* Logo-Bild statt Text-Wortmarke (02.09.2026) */
.brand { min-width: 0; }
.brand__logo { height: 40px; width: auto; }
@media (max-width: 600px) { .brand__logo { height: 32px; } }