/* === style.css === */
/* =========================================================
HRnetworx Gesamt-Komponenten HTML
Teil 1: Foundations / Core Components
Teil 2: Page Components / Cards / Grids / Filter / Detail / CTA
========================================================= */

/* ---------- Foundations CSS ---------- */

:root {
    --navy: #06182d;
    --navy-900: #03101f;
    --green: #007f61;
    --green-dark: #007356;
    --green-soft: #eef8f4;
    --gold: #d99a31;
    --gold-dark: #b97810;
    --text: #07172d;
    --muted: #5d6b7d;
    --line: #e3e8ef;
    --soft: #f6f8fb;
    --white: #ffffff;
    --success: #007f61;
    --warning: #d99a31;
    --error: #c93838;
    --info: #2f6fbb;
    --shadow-card: 0 8px 22px rgba(7, 29, 54, .07);
    --shadow-soft: 0 4px 14px rgba(7, 29, 54, .045);
    --shadow-modal: 0 22px 60px rgba(7, 29, 54, .22);
    --radius-sm: 4px;
    --radius-md: 7px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --radius-pill: 999px;
    --container: 1140px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html, body {
    width: 100%;
    min-height: 100%;
    background: #fff;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    font-size: 14px;
    overflow-x: hidden
}

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

button, input, select, textarea {
    font-family: inherit
}

button {
    cursor: pointer
}

.container {
    width: var(--container);
    max-width: calc(100% - 48px);
    margin: 0 auto
}

.section {
    padding: 56px 0;
    border-bottom: 1px solid var(--line)
}

.section:nth-child(even) {
    background: #fbfcfe
}

.label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px
}

.title {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 12px
}

.intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 34px
}

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

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

.grid-4 {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 18px
}

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 22px
}

.code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: #f1f4f8;
    border: 1px solid #d8e0ea;
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 12px;
    color: #26364a
}

.color-card {
    overflow: hidden;
    padding: 0
}

.color-preview {
    height: 96px
}

.color-meta {
    padding: 14px
}

.color-meta strong {
    display: block;
    font-size: 14px;
    margin-bottom: 5px
}

.color-meta span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 8px
}

.type-row {
    display: grid;
    grid-template-columns:220px 1fr 280px;
    gap: 24px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line)
}

.type-row:last-child {
    border-bottom: 0
}

.type-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .05em
}

.type-spec {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6
}

.h1 {
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.035em
}

.h2 {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.025em
}

.h3 {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800
}

.h4 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800
}

.h5 {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800
}

.h6 {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800
}

.body-lg {
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500
}

.body {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500
}

.small {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500
}

.caption {
    font-size: 11px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--muted)
}

.btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 18px
}

.btn {
    height: 38px;
    border-radius: 4px;
    border: 1px solid transparent;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s ease;
    background: #fff
}

.btn-primary {
    background: var(--green);
    border-color: var(--green);
    color: #fff
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark)
}

.btn-secondary {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff
}

.btn-outline {
    background: #fff;
    border-color: #cbd5df;
    color: var(--text)
}

.btn-outline-green {
    background: #fff;
    border-color: var(--green);
    color: var(--green)
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--green)
}

.btn-dark {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff
}

.btn-disabled, .btn:disabled {
    background: #edf1f5;
    border-color: #d8e0ea;
    color: #97a4b4;
    cursor: not-allowed
}

.btn-sm {
    height: 32px;
    font-size: 12px;
    padding: 0 14px
}

.btn-lg {
    height: 48px;
    font-size: 14px;
    padding: 0 24px
}

.btn-cta {
    height: 62px;
    min-width: 210px;
    border-radius: 10px;
    font-size: 18px
}

.icon-btn {
    width: 38px;
    height: 35px;
    border: 0;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px
}

.icon-btn.phone {
    background: var(--navy);
    color: #fff
}

.icon-btn.video {
    background: #dca345;
    color: #fff
}

.icon-btn.outline {
    background: #fff;
    border: 1px solid #cfd8e4;
    color: var(--navy)
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.field label {
    font-size: 12px;
    font-weight: 800
}

.input, .select, .textarea {
    width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 5px;
    background: #fff;
    color: #27364b;
    font-size: 13px;
    padding: 0 12px
}

.input, .select {
    height: 40px
}

.textarea {
    min-height: 100px;
    padding-top: 12px;
    resize: vertical
}

.search-box {
    position: relative
}

.search-box i, .search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted)
}

.search-box .input {
    padding-left: 40px
}

.check-row, .radio-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.check, .radio {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2b3a4f;
    font-size: 13px
}

.switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: #d8e0ea;
    border-radius: 20px;
    display: inline-block
}

.switch:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    left: 3px;
    top: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18)
}

.switch.active {
    background: var(--green)
}

.switch.active:after {
    left: 25px
}

.badge-row, .tag-row, .icon-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

.badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 11px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800
}

.badge.green {
    background: var(--green);
    color: #fff
}

.badge.gold {
    background: var(--gold);
    color: #fff
}

.badge.soft {
    background: var(--green-soft);
    color: #196b5c;
    border: 1px solid #d8ebe5
}

.badge.dark {
    background: var(--navy);
    color: #fff
}

.tag {
    height: 24px;
    border-radius: 12px;
    background: #f1f4f8;
    color: #26364a;
    font-size: 11px;
    font-weight: 600;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    border: 1px solid #d8e0ea;
    border-radius: 18px;
    background: #fff;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700
}

.chip.active {
    background: #eef8f4;
    border-color: #d8ebe5;
    color: #196b5c
}

.icon-tile {
    width: 72px;
    height: 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--navy)
}

.icon-tile i, .icon-tile svg {
    font-size: 22px;
    color: var(--green)
}

.icon-tile span {
    font-size: 10px;
    color: var(--muted)
}

.space-row {
    display: grid;
    grid-template-columns:80px 1fr 120px;
    gap: 18px;
    align-items: center;
    margin-bottom: 14px
}

.space-bar {
    height: 22px;
    background: var(--green);
    border-radius: 4px
}

.layout-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 18px
}

.layout-demo {
    display: grid;
    grid-template-columns:repeat(12, 1fr);
    gap: 8px;
    height: 70px
}

.layout-demo span {
    background: #eef8f4;
    border: 1px solid #d8ebe5;
    border-radius: 4px
}

.shadow-card, .radius-card {
    height: 94px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800
}

.shadow-card.card-shadow {
    box-shadow: var(--shadow-card)
}

.shadow-card.soft-shadow {
    box-shadow: var(--shadow-soft)
}

.shadow-card.modal-shadow {
    box-shadow: var(--shadow-modal)
}

.alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-radius: 7px;
    padding: 16px;
    border: 1px solid
}

.alert strong {
    display: block;
    margin-bottom: 4px
}

.alert.success {
    background: #eef8f4;
    border-color: #cde9df;
    color: #0d604d
}

.alert.warning {
    background: #fff8ec;
    border-color: #f0d7aa;
    color: #8a5a12
}

.alert.error {
    background: #fff0f0;
    border-color: #f1c8c8;
    color: #8b2323
}

.alert.info {
    background: #eef5ff;
    border-color: #cbdcf3;
    color: #214f86
}

.empty-state {
    text-align: center;
    padding: 44px 24px;
    border: 1px dashed #cbd5df;
    border-radius: 10px;
    background: #fff
}

.empty-state i, .empty-state svg {
    font-size: 34px;
    color: var(--green);
    margin-bottom: 14px
}

.skeleton {
    background: linear-gradient(90deg, #edf1f5, #f7f9fb, #edf1f5);
    border-radius: 6px;
    min-height: 18px
}

.skeleton-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff
}

.skeleton-img {
    height: 130px;
    margin-bottom: 14px
}

.modal-demo {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-modal);
    border-radius: 12px;
    background: #fff;
    padding: 26px;
    max-width: 520px
}

.modal-demo h3 {
    font-size: 22px;
    margin-bottom: 10px
}

.modal-demo p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 20px
}

.topbar {
    height: 73px;
    background: var(--navy);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.topbar-inner {
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo-wrap {
    width: 185px;
    display: flex;
    align-items: center
}

.logo-wrap img {
    width: 160px
}

.nav {
    display: flex;
    gap: 38px;
    font-size: 14px;
    font-weight: 700
}

.nav a {
    line-height: 73px;
    position: relative
}

.nav a.active:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--gold);
    transform: translateX(-50%)
}

.header-actions {
    display: flex;
    gap: 14px
}

.btn-small {
    height: 36px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700
}

.btn-login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff
}

.btn-request {
    background: var(--green);
    border: 1px solid var(--green);
    color: #fff
}

.mobile-nav-demo {
    background: var(--navy);
    border-radius: 8px;
    overflow: hidden;
    color: #fff
}

.mobile-nav-demo a {
    display: block;
    padding: 17px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-weight: 700
}

.burger-demo {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--navy)
}

.burger-demo span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px
}

@media (max-width: 992px) {
    .grid-4, .grid-6 {
        grid-template-columns:repeat(2, 1fr)
    }

    .grid-3, .grid-2, .form-grid {
        grid-template-columns:1fr
    }

    .type-row {
        grid-template-columns:1fr
    }

    .topbar .nav {
        display: none
    }
}

@media (max-width: 600px) {
    .container {
        max-width: calc(100% - 28px)
    }

    .section {
        padding: 42px 0
    }

    .title {
        font-size: 28px
    }

    .grid-4, .grid-6 {
        grid-template-columns:1fr
    }

    .btn-row {
        align-items: stretch
    }

    .btn-cta {
        width: 100%
    }

    .space-row {
        grid-template-columns:1fr
    }
}


/* ---------- Components CSS ---------- */

:root {
    --navy: #06182d;
    --green: #007f61;
    --green-dark: #007356;
    --gold: #d99a31;
    --text: #07172d;
    --muted: #5d6b7d;
    --line: #e3e8ef;
    --soft: #f6f8fb;
    --white: #fff;
    --shadow: 0 8px 22px rgba(7, 29, 54, .07);
    --radius-sm: 4px;
    --radius-md: 7px;
    --radius-lg: 10px;
    --container: 1140px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html, body {
    width: 100%;
    min-height: 100%;
    background: #fff;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    font-size: 14px;
    overflow-x: hidden
}

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

button, input, select {
    font-family: inherit
}

button {
    cursor: pointer
}

.page {
    width: 100%;
    background: #fff
}

.container, .topbar-inner, .hero-content {
    width: var(--container);
    margin: 0 auto
}

.component-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--line)
}

.component-section:nth-child(even) {
    background: #fbfcfe
}

.component-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    margin-bottom: 18px
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 28px
}

.demo-stack {
    display: grid;
    gap: 28px
}

.demo-grid-2 {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 24px
}

.demo-grid-3 {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 24px
}

.demo-grid-4 {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px
}

.btn {
    height: 38px;
    border-radius: 4px;
    border: 0;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.btn.green {
    background: var(--green);
    color: #fff
}

.btn.gold {
    background: var(--gold);
    color: #fff
}

.btn.outline {
    background: #fff;
    border: 1px solid #cbd5df;
    color: #0b1c32
}

.btn.outline-green {
    background: #fff;
    border: 1px solid var(--green);
    color: var(--green)
}

.badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 3px;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 800
}

.tag {
    height: 22px;
    border-radius: 12px;
    background: #f1f4f8;
    color: #26364a;
    font-size: 10px;
    font-weight: 600;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap
}

.stars {
    color: #d99525;
    letter-spacing: 1px;
    white-space: nowrap
}

.topbar {
    height: 73px;
    background: var(--navy);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: relative;
    z-index: 30
}

.topbar-inner {
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo-wrap {
    width: 185px;
    display: flex;
    align-items: center
}

.logo-wrap img {
    width: 160px;
    height: auto;
    display: block
}

.nav {
    display: flex;
    align-items: center;
    gap: 38px;
    font-size: 14px;
    font-weight: 700
}

.nav a {
    position: relative;
    line-height: 73px;
    opacity: .95
}

.nav a.active:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--gold);
    transform: translateX(-50%);
    border-radius: 4px 4px 0 0
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.btn-small {
    height: 36px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700
}

.btn-login {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55)
}

.btn-request {
    min-width: 145px;
    color: #fff;
    background: var(--green);
    border: 1px solid var(--green)
}

.header-actions .btn-small i, .header-actions .btn-small svg {
    display: none !important
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer
}

.burger span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease
}

.nav-toggle:checked ~ .topbar-inner .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.nav-toggle:checked ~ .topbar-inner .burger span:nth-child(2) {
    opacity: 0
}

.nav-toggle:checked ~ .topbar-inner .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.hero {
    position: relative;
    height: 500px;
    background: var(--navy);
    overflow: hidden;
    color: #fff
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--navy);
    background-image: linear-gradient(90deg, rgba(6, 24, 45, 1) 0%, rgba(6, 24, 45, 1) 30%, rgba(6, 24, 45, .92) 42%, rgba(6, 24, 45, .58) 55%, rgba(6, 24, 45, .24) 68%, rgba(6, 24, 45, .06) 82%, rgba(6, 24, 45, 0) 100%), url("../images/39e6ed51303503af2de5a3ed9751311e724ff2a4d41b18f1993384b144378be7.png");
    background-repeat: no-repeat;
    background-position: left center, right center;
    background-size: 50% 100%, 60% auto;
    z-index: 1
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 52px
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 19px
}

.hero h1 {
    max-width: 620px;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 800;
    margin-bottom: 25px
}

.hero h1 span {
    display: block;
    color: #02a976
}

.hero-text {
    width: 560px;
    color: rgba(255, 255, 255, .91);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
    margin-bottom: 42px
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 54px
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35
}

.trust-item i, .trust-item svg {
    width: 24px;
    color: var(--gold);
    font-size: 24px
}

.rating-box {
    position: absolute;
    right: -70px;
    bottom: -45px;
    z-index: 5;
    width: 176px;
    height: 106px;
    padding: 17px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(8, 24, 45, .48);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18)
}

.rating-box strong {
    display: block;
    font-size: 18px;
    margin-bottom: 7px
}

.rating-box span {
    font-size: 9px;
    color: rgba(255, 255, 255, .76)
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 92px;
    z-index: 4;
    pointer-events: none;
    overflow: hidden
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%
}

.hero-wave path {
    fill: #fff
}

.choice-card {
    min-height: 206px;
    background: #fff;
    border: 1px solid #e1e7ee;
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(9, 35, 64, .09);
    padding: 29px 30px 27px;
    display: grid;
    grid-template-columns:72px 1fr;
    column-gap: 24px
}

.choice-icon {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 29px
}

.choice-icon.green {
    background: var(--green)
}

.choice-icon.gold {
    background: var(--gold)
}

.choice-content h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 9px
}

.choice-content h3.green {
    color: var(--green)
}

.choice-content h3.gold {
    color: var(--gold)
}

.choice-content p {
    font-size: 12px;
    line-height: 1.55;
    color: #2a3b4e;
    margin-bottom: 15px
}

.choice-content ul {
    list-style: none;
    margin-bottom: 20px
}

.choice-content li {
    font-size: 13px;
    line-height: 2.05;
    color: #223348
}

.choice-content li i, .choice-content li svg {
    font-size: 10px;
    margin-right: 9px
}

.green-check i, .green-check svg {
    color: var(--green)
}

.gold-check i, .gold-check svg {
    color: var(--gold)
}

.stats-section {
    min-height: 106px;
    background: var(--navy);
    color: #fff
}

.stats-grid {
    min-height: 106px;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    align-items: center
}

.stat-item {
    display: grid;
    grid-template-columns:46px 1fr;
    align-items: center;
    gap: 17px
}

.stat-item i, .stat-item svg {
    color: var(--gold);
    font-size: 31px
}

.stat-item strong {
    display: block;
    color: var(--gold);
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 6px
}

.stat-item span {
    display: block;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    line-height: 1.35
}

.expert-card {
    position: relative;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 7px;
    box-shadow: 0 6px 20px rgba(7, 29, 54, .045);
    overflow: hidden
}

.expert-card.compact {
    min-height: 334px;
    overflow: visible;
    border-radius: 4px
}

.expert-card .heart {
    position: absolute;
    top: 12px;
    right: 13px;
    z-index: 2;
    color: #1d2c40;
    font-size: 20px;
    background: #fff;
    border-radius: 50%
}

.expert-card .expert-img {
    height: 151px;
    margin: 8px 8px 0;
    border-radius: 6px;
    background-size: cover;
    background-position: center top
}

.expert-card.large .expert-img {
    height: 314px;
    margin: 0;
    border-radius: 0
}

.expert-body {
    padding: 14px
}

.expert-body h3 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px
}

.expert-role, .expert-company {
    font-size: 13px;
    line-height: 1.45;
    color: #33435a
}

.expert-company {
    margin-bottom: 9px
}

.expert-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px
}

.expert-rating .stars {
    font-size: 11px;
    letter-spacing: 0
}

.expert-rating span {
    font-size: 12px;
    color: #26364a
}

.price {
    font-size: 12px;
    color: #33435a;
    margin-bottom: 12px
}

.price strong {
    color: var(--green);
    font-weight: 800
}

.tags {
    display: flex;
    gap: 7px;
    min-height: 22px;
    margin-bottom: 13px;
    flex-wrap: wrap
}

.card-actions {
    display: grid;
    grid-template-columns:34px 34px 1fr;
    gap: 9px
}

.icon-btn {
    height: 32px;
    border: 1px solid #cfd8e4;
    background: #fff;
    border-radius: 4px;
    color: var(--navy);
    font-size: 13px
}

.icon-btn.phone {
    background: var(--navy);
    color: #fff;
    border: 0
}

.icon-btn.video {
    background: #dca345;
    color: #fff;
    border: 0
}

.profile-btn {
    height: 32px;
    border: 1px solid #bed8d1;
    background: #fff;
    color: var(--green);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800
}

.expert-card.compact .profile-btn {
    background: var(--green);
    color: #fff;
    border: 0
}

.category-hero {
    padding: 0 0 30px
}

.breadcrumb {
    font-size: 11px;
    color: #637084;
    padding: 26px 0 24px
}

.breadcrumb strong {
    color: #15233b
}

.category-grid {
    display: grid;
    grid-template-columns:1fr 520px;
    gap: 64px;
    align-items: start
}

.category-hero h1 {
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -.03em;
    font-weight: 800;
    margin-bottom: 18px
}

.lead {
    font-size: 15px;
    line-height: 1.62;
    color: #24344a;
    max-width: 600px;
    margin-bottom: 43px
}

.feature-row {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 45px
}

.feature i, .feature svg {
    font-size: 31px;
    color: var(--green);
    margin-bottom: 15px
}

.feature h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 9px
}

.feature p {
    font-size: 12px;
    line-height: 1.55;
    color: #26364b
}

.hero-photo {
    height: 285px;
    border-radius: 10px;
    background: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    overflow: hidden
}

.rating-card {
    position: absolute;
    right: 14px;
    bottom: 26px;
    width: 170px;
    height: 94px;
    border-radius: 8px;
    background: rgba(6, 24, 45, .82);
    color: #fff;
    padding: 17px 19px
}

.rating-card strong {
    font-size: 20px
}

.rating-card .stars {
    font-size: 15px;
    margin: 8px 0 5px
}

.rating-card span {
    font-size: 9px;
    color: rgba(255, 255, 255, .78)
}

.metrics {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    margin: 0 0 20px
}

.metric {
    min-height: 70px;
    display: grid;
    grid-template-columns:42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 0 28px;
    border-right: 1px solid var(--line)
}

.metric:last-child {
    border-right: 0
}

.metric i, .metric svg {
    font-size: 27px;
    color: #1c2b3e
}

.metric strong {
    display: block;
    font-size: 20px;
    font-weight: 800
}

.metric span {
    font-size: 11px;
    color: #2d3b4f
}

.filter {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    padding: 22px 16px;
    height: max-content;
    box-shadow: 0 4px 14px rgba(7, 29, 54, .035)
}

.filter h2 {
    font-size: 17px;
    margin-bottom: 18px
}

.field {
    margin-bottom: 18px
}

.field label, .check-title {
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px
}

.field select {
    width: 100%;
    height: 34px;
    border: 1px solid #d8e0ea;
    border-radius: 4px;
    background: #fff;
    color: #27364b;
    font-size: 12px;
    padding: 0 10px
}

.checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #2b3a4f;
    margin: 9px 0
}

.reset {
    width: 100%;
    height: 36px;
    border: 1px solid #d8e0ea;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #24344a
}

.content-grid {
    display: grid;
    grid-template-columns:225px 1fr;
    gap: 26px
}

.detail-grid {
    display: grid;
    grid-template-columns:760px 330px;
    gap: 50px;
    align-items: start
}

.profile-head {
    display: grid;
    grid-template-columns:270px 1fr;
    gap: 38px;
    margin-bottom: 32px
}

.photo-card {
    width: 270px
}

.expert-photo {
    position: relative;
    height: 285px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #d9e1ea;
    background: #dde6ef
}

.expert-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top
}

.expert-badge {
    position: absolute;
    left: 18px;
    bottom: 16px;
    height: 32px;
    padding: 0 14px;
    border-radius: 4px;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 800
}

.photo-actions {
    display: grid;
    grid-template-columns:115px 145px;
    gap: 10px;
    margin-top: 26px
}

.white-action {
    height: 36px;
    border: 1px solid #d7e0ea;
    border-radius: 4px;
    background: #fff;
    color: #17263a;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.profile-title {
    padding-top: 7px
}

.profile-title h1 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #07172d;
    font-size: 36px;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 8px
}

.verified-dot {
    width: 17px;
    height: 17px;
    background: var(--green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    margin-top: 4px
}

.role {
    color: #1f3048;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 19px
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 38px
}

.facts {
    display: grid;
    grid-template-columns:150px 1fr;
    row-gap: 20px;
    font-size: 15px;
    line-height: 1
}

.facts dt {
    font-weight: 800;
    color: #445164
}

.facts dd {
    margin: 0;
    color: #17263d;
    font-weight: 500
}

.tabs {
    height: 58px;
    display: flex;
    align-items: stretch;
    border: 1px solid #dce4ed;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    background: #fff
}

.tabs a {
    min-width: 120px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #27354b;
    font-size: 14px;
    font-weight: 800;
    position: relative;
    white-space: nowrap
}

.tabs a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--green)
}

.content-card {
    border-left: 1px solid #eef2f6;
    border-right: 1px solid #eef2f6
}

.section-block {
    padding: 30px 20px 27px;
    border-bottom: 1px solid #e8edf2;
    background: #fff
}

.section-block h2 {
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 16px
}

.section-block p {
    max-width: 620px;
    color: #172941;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500
}

.chips {
    display: flex;
    gap: 9px;
    flex-wrap: wrap
}

.chip {
    min-height: 28px;
    border-radius: 15px;
    border: 1px solid #d8ebe5;
    background: #eef8f4;
    color: #196b5c;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600
}

.side-col {
    display: flex;
    flex-direction: column;
    gap: 21px
}

.side-card {
    border: 1px solid #e1e7ee;
    border-radius: 6px;
    background: #fff;
    padding: 25px 22px
}

.booking-card {
    text-align: center
}

.rate-label {
    color: #37445a;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px
}

.rate {
    color: var(--green);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 21px
}

.rate strong {
    font-size: 25px
}

.booking-btn {
    width: 100%;
    height: 48px;
    margin-bottom: 13px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    background: #fff
}

.booking-btn.green {
    color: #fff;
    background: var(--green);
    border: 1px solid var(--green)
}

.booking-btn.outline-green {
    color: var(--green);
    border: 1px solid var(--green)
}

.booking-btn.outline-gold {
    color: #b97810;
    border: 1px solid var(--gold)
}

.booking-btn.outline-dark {
    color: #17263d;
    border: 1px solid #25364c
}

.availability table {
    width: 100%;
    border-collapse: collapse;
    color: #1b2d45;
    font-size: 14px;
    font-weight: 500
}

.availability td {
    padding: 6px 0
}

.availability td:last-child {
    text-align: right
}

.cta-card {
    min-height: 109px;
    background: #fff;
    border: 1px solid #d9e2eb;
    display: grid;
    grid-template-columns:250px 1fr 150px 170px;
    align-items: center
}

.cta-card.dark {
    height: 92px;
    background: linear-gradient(90deg, #02162d 0%, #00152a 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 1px 4px rgba(7, 23, 45, .22);
    overflow: hidden
}

.cta-img {
    height: 108px;
    background: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?q=80&w=700&auto=format&fit=crop") center/cover no-repeat
}

.cta-card.dark .cta-img {
    height: 92px
}

.cta-copy {
    padding-left: 31px
}

.cta-card.dark .cta-copy {
    padding-left: 0
}

.cta-copy h3 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 9px;
    font-weight: 800
}

.cta-card.dark .cta-copy h3 {
    font-size: 17px;
    color: #fff
}

.cta-copy p {
    font-size: 13px;
    color: var(--green);
    line-height: 1.45
}

.cta-card.dark .cta-copy p {
    font-size: 11px;
    color: rgba(255, 255, 255, .92)
}

.bottom-cta {
    display: grid;
    grid-template-columns:54px minmax(0, 1fr) 175px 175px;
    align-items: center;
    gap: 20px;
    border: 1px solid #d9e8e4;
    background: #f2faf8;
    border-radius: 7px;
    padding: 20px 26px;
    min-height: 86px
}

.bottom-cta > i, .bottom-cta > svg {
    font-size: 34px;
    color: #26364a
}

.bottom-cta h3 {
    font-size: 17px;
    line-height: 1.25;
    margin-bottom: 5px;
    font-weight: 800
}

.bottom-cta p {
    font-size: 12px;
    line-height: 1.35;
    color: #26364a
}

.footer {
    background: var(--navy);
    color: #fff;
    padding: 69px 0 0;
    min-height: 334px;
    position: relative
}

.footer:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image: linear-gradient(45deg, transparent 46%, rgba(255, 255, 255, .5) 49%, transparent 52%), linear-gradient(-45deg, transparent 46%, rgba(255, 255, 255, .5) 49%, transparent 52%);
    background-size: 32px 32px;
    pointer-events: none
}

.footer-inner {
    position: relative;
    z-index: 1
}

.footer-grid {
    display: grid;
    grid-template-columns:275px 1fr 1fr 1fr 1fr;
    gap: 49px;
    padding-bottom: 63px
}

.footer-logo img {
    width: 159px;
    display: block;
    margin-bottom: 26px
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
    width: 230px
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 20px
}

.footer-col ul {
    list-style: none
}

.footer-col li {
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    margin-bottom: 12px
}

.footer-col li:before {
    content: "•";
    color: #fff;
    margin-right: 10px
}

.footer-bottom {
    min-height: 63px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, .86)
}

.footer-bottom strong {
    color: var(--gold)
}

.social {
    display: flex;
    align-items: center;
    gap: 9px
}

.social span {
    margin-right: 11px
}

.social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 3px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    background: rgba(255, 255, 255, .04);
    transition: background .2s ease, border-color .2s ease, transform .2s ease
}

.social a:hover,
.social a:focus-visible {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .65);
    transform: translateY(-1px)
}

.social a .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

@media (max-width: 1200px) {
    .container, .topbar-inner, .hero-content {
        width: 94%
    }

    .demo-grid-4 {
        grid-template-columns:repeat(2, 1fr)
    }

    .category-grid {
        grid-template-columns:1fr 45%;
        gap: 32px
    }

    .detail-grid {
        grid-template-columns:minmax(0, 1fr) 320px;
        gap: 32px
    }
}

@media (max-width: 992px) {
    .topbar-inner {
        gap: 12px
    }

    .logo-wrap {
        width: auto;
        flex: 1
    }

    .header-actions {
        gap: 8px
    }

    .btn-small {
        width: 42px;
        height: 42px;
        padding: 0;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center
    }

    .btn-small span {
        display: none
    }

    .header-actions .btn-login i, .header-actions .btn-login svg {
        display: inline-block !important;
        font-size: 15px
    }

    .btn-request {
        display: none
    }

    .burger {
        display: flex;
        flex: 0 0 42px
    }

    .nav {
        position: absolute;
        top: 73px;
        left: 0;
        right: 0;
        width: 100%;
        display: grid;
        grid-template-columns:1fr;
        gap: 0;
        background: var(--navy);
        border-top: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height .25s ease
    }

    .nav-toggle:checked ~ .topbar-inner .nav {
        max-height: 330px
    }

    .nav a {
        line-height: 1;
        padding: 17px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, .08)
    }

    .nav a.active:after {
        left: 24px;
        bottom: 0;
        transform: none;
        width: 42px
    }

    .hero {
        height: 620px
    }

    .hero-bg {
        background: linear-gradient(90deg, rgba(6, 24, 45, 1) 0%, rgba(6, 24, 45, .92) 40%, rgba(6, 24, 45, .45) 100%), url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?q=80&w=1600&auto=format&fit=crop") right center/cover no-repeat, var(--navy)
    }

    .rating-box {
        right: auto;
        left: 3%;
        bottom: 125px
    }

    .demo-grid-2, .demo-grid-3, .content-grid, .category-grid, .detail-grid {
        grid-template-columns:1fr
    }

    .stats-grid, .metrics {
        grid-template-columns:repeat(2, 1fr);
        padding: 28px 0
    }

    .feature-row {
        gap: 24px
    }

    .profile-head {
        grid-template-columns:270px minmax(0, 1fr)
    }

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

    .booking-card {
        grid-column: 1/-1
    }

    .cta-card {
        grid-template-columns:220px 1fr;
        gap: 18px;
        padding: 0 20px 20px 0
    }

    .bottom-cta {
        grid-template-columns:52px 1fr
    }

    .footer-grid {
        grid-template-columns:repeat(2, 1fr);
        gap: 36px
    }

    .footer-bottom {
        height: auto;
        padding: 22px 0;
        gap: 18px;
        flex-direction: column;
        align-items: flex-start
    }
}

@media (max-width: 768px) {
    .container, .topbar-inner, .hero-content {
        width: calc(100% - 36px)
    }

    .component-section {
        padding: 42px 0
    }

    .hero {
        height: 680px
    }

    .hero h1 {
        font-size: 39px
    }

    .hero-text {
        width: 100%;
        font-size: 15px
    }

    .trust-row {
        display: grid;
        grid-template-columns:1fr;
        gap: 16px
    }

    .demo-grid-4, .stats-grid, .metrics {
        grid-template-columns:1fr
    }

    .choice-card {
        grid-template-columns:1fr;
        gap: 18px
    }

    .category-hero h1 {
        font-size: 30px
    }

    .feature-row {
        grid-template-columns:1fr
    }

    .profile-head {
        grid-template-columns:1fr
    }

    .photo-card {
        width: 100%
    }

    .expert-photo {
        height: 360px
    }

    .side-col {
        grid-template-columns:1fr
    }

    .tabs {
        overflow-x: auto
    }

    .cta-card, .bottom-cta {
        grid-template-columns:1fr;
        padding: 0 0 22px
    }

    .cta-img {
        width: 100%;
        height: 180px
    }

    .cta-copy {
        padding: 0 22px
    }

    .footer-grid {
        grid-template-columns:1fr
    }

    .social {
        flex-wrap: wrap
    }
}

@media (max-width: 480px) {
    .logo-wrap img {
        width: 138px
    }

    .hero {
        height: 720px
    }

    .hero h1 {
        font-size: 34px
    }

    .profile-title h1 {
        font-size: 28px;
        flex-wrap: wrap
    }

    .facts {
        grid-template-columns:1fr;
        row-gap: 8px
    }

    .photo-actions {
        grid-template-columns:1fr
    }

    .footer-bottom {
        font-size: 12px
    }

    .social a {
        width: 36px;
        justify-content: center
    }
}

/* --- Ergänzung: Berater Grids und Filter-Ansichten --- */
.grid-note {
    max-width: 780px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    margin: -12px 0 26px
}

.expert-grid-showcase {
    display: grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap: 27px
}

.expert-grid-category {
    display: grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap: 16px
}

.expert-grid-large {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 58px 30px;
    max-width: 1030px;
    margin: 0 auto
}

.expert-card.list-compact {
    min-height: 334px;
    border-radius: 4px;
    overflow: visible
}

.expert-card.list-compact .expert-img {
    min-height: 300px
}

.expert-card.category-card .expert-img {
    height: 132px
}

.expert-card.large-card .expert-img {
    height: 314px;
    margin: 0;
    border-radius: 0
}

.expert-card.large-card .expert-body {
    min-height: 92px
}

.expert-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px
}

.expert-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px
}

.large-price strong {
    font-size: 26px;
    letter-spacing: -.04em;
    color: var(--text)
}

.filter-open-layout {
    display: grid;
    grid-template-columns:225px minmax(0, 1fr);
    gap: 26px;
    align-items: start
}

.filter-demo-card {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    padding: 22px 16px;
    height: max-content;
    box-shadow: 0 4px 14px rgba(7, 29, 54, .035)
}

.filter-demo-card h2 {
    font-size: 17px;
    margin-bottom: 18px
}

.filter-demo-card .field {
    margin-bottom: 18px
}

.filter-demo-card label, .filter-demo-card .check-title {
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px
}

.filter-demo-card select {
    width: 100%;
    height: 34px;
    border: 1px solid #d8e0ea;
    border-radius: 4px;
    background: #fff;
    color: #27364b;
    font-size: 12px;
    padding: 0 10px
}

.filter-demo-card .checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #2b3a4f;
    margin: 9px 0;
    font-weight: 500
}

.filter-demo-card input {
    width: 14px;
    height: 14px
}

.filter-demo-card .reset {
    width: 100%;
    height: 36px;
    border: 1px solid #d8e0ea;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #24344a
}

.results-head {
    position: relative;
    text-align: center;
    margin-bottom: 24px
}

.results-head h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px
}

.results-head p {
    font-size: 12px;
    line-height: 1.55;
    color: #26364a
}

.sort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
    margin: 14px 0
}

.sort select {
    height: 34px;
    border: 1px solid #d8e0ea;
    border-radius: 5px;
    padding: 0 34px 0 12px;
    background: #fff;
    font-size: 12px
}

.found {
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 14px
}

.filter-toggle-demo {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(7, 29, 54, .045);
    overflow: hidden
}

.filter-toggle-head {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 800
}

.filter-toggle-head span {
    display: flex;
    align-items: center;
    gap: 10px
}

.filter-toggle-body {
    border-top: 1px solid var(--line);
    padding: 18px;
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 16px
}

.filter-toggle-body.closed {
    display: none
}

.filter-toggle-state {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 24px
}

.mobile-frame {
    max-width: 420px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    background: #fbfcfe
}

.mobile-frame .expert-grid-category {
    grid-template-columns:1fr
}

.mobile-frame .filter-toggle-body {
    grid-template-columns:1fr
}

.filter-chip-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 18px
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    border: 1px solid #d8e0ea;
    border-radius: 16px;
    background: #fff;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700
}

.filter-chip.active {
    background: #eef8f4;
    border-color: #d8ebe5;
    color: #196b5c
}

@media (max-width: 1200px) {
    .expert-grid-showcase, .expert-grid-category {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    .expert-grid-large {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 36px 24px
    }

    .expert-card.large-card .expert-img {
        height: 330px
    }
}

@media (max-width: 992px) {
    .filter-open-layout {
        grid-template-columns:1fr
    }

    .filter-toggle-state {
        grid-template-columns:1fr
    }

    .filter-demo-card {
        display: grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 16px
    }

    .filter-demo-card h2, .filter-demo-card .reset {
        grid-column: 1/-1
    }

    .filter-demo-card .field {
        margin-bottom: 0
    }
}

@media (max-width: 768px) {
    .expert-grid-showcase, .expert-grid-category, .expert-grid-large {
        grid-template-columns:1fr
    }

    .filter-demo-card, .filter-toggle-body {
        grid-template-columns:1fr
    }

    .expert-card.large-card .expert-img {
        height: 360px
    }

    .expert-card.category-card .expert-img {
        height: 185px
    }
}


/* CTA spacing fix */
.cta-card {
    grid-template-columns:250px minmax(0, 1fr) auto;
    padding-right: 40px;
    column-gap: 36px
}

.cta-card.dark {
    grid-template-columns:250px minmax(0, 1fr) auto;
    padding-right: 30px;
    column-gap: 34px
}

.cta-card.dark .cta-actions {
    padding-right: 0;
    margin-right: 0
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: nowrap;
    min-width: max-content
}

.cta-actions .btn {
    min-width: 170px;
    margin: 0
}

.cta-actions .btn + .btn {
    margin-left: 0
}

.cta-actions .dark-outline {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, .72)
}

.bottom-cta {
    grid-template-columns:54px minmax(0, 1fr) auto
}

.bottom-cta .cta-actions {
    padding-right: 0
}

@media (max-width: 992px) {
    .cta-card, .cta-card.dark {
        grid-template-columns:220px minmax(0, 1fr);
        padding: 0 22px 22px 0
    }

    .cta-actions {
        justify-content: flex-start;
        grid-column: 2;
        gap: 16px
    }

    .bottom-cta {
        grid-template-columns:52px 1fr
    }

    .bottom-cta .cta-actions {
        grid-column: 2
    }
}

@media (max-width: 768px) {
    .cta-card, .cta-card.dark, .bottom-cta {
        grid-template-columns:1fr;
        padding: 0 0 22px
    }

    .cta-actions {
        grid-column: auto;
        flex-direction: column;
        width: 100%;
        padding: 0 22px;
        min-width: 0
    }

    .cta-actions .btn {
        width: 100%;
        min-width: 0
    }

    .bottom-cta .cta-actions {
        grid-column: auto;
        padding: 0
    }
}


/* Expert card variant corrections */
.card-variant-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: start
}

.card-variant-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0
}

.variant-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: .04em;
    text-transform: uppercase
}

.card-variant-grid .expert-card {
    width: 100%;
    height: auto;
    min-height: 0;
    align-self: start
}

.card-variant-grid .expert-card.compact {
    min-height: 0;
    overflow: hidden;
    border-radius: 7px
}

.card-variant-grid .expert-card.list-card {
    border-radius: 7px;
    overflow: hidden
}

.card-variant-grid .expert-card.large-card {
    border-radius: 7px;
    overflow: hidden
}

.card-variant-grid .expert-card .expert-img {
    background-position: center top
}

.card-variant-grid .expert-card.compact .expert-img {
    height: 151px;
    margin: 8px 8px 0;
    border-radius: 6px
}

.card-variant-grid .expert-card.list-card .expert-img {
    height: 132px;
    margin: 8px 8px 0;
    border-radius: 6px
}

.card-variant-grid .expert-card.large-card .expert-img {
    height: 314px;
    margin: 0;
    border-radius: 0
}

.card-variant-grid .expert-card.compact .profile-btn {
    background: var(--green);
    color: #fff;
    border: 0
}

.card-variant-grid .expert-card.list-card .profile-btn {
    background: #fff;
    color: var(--green);
    border: 1px solid #bed8d1
}

.card-variant-grid .expert-card.large-card .expert-body {
    padding: 14px 16px 16px;
    min-height: 96px
}

.card-variant-grid .large-price strong {
    font-size: 26px;
    letter-spacing: -.04em;
    color: var(--text)
}

.card-variant-grid .expert-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px
}

.card-variant-grid .expert-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px
}

.card-note {
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 360px
}

@media (max-width: 1200px) {
    .card-variant-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 768px) {
    .card-variant-grid {
        grid-template-columns:1fr
    }

    .card-variant-grid .expert-card.large-card .expert-img {
        height: 360px
    }
}


/* --- FIX: Desktop Variante 2 Expert Cards exakt wie Beraterliste --- */
.expert-grid-large {
    width: 1030px;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 58px 30px;
    align-items: start;
}

.expert-grid-large .expert-card.large-card,
.card-variant-grid .expert-card.large-card {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(7, 29, 54, .045);
    min-height: 0;
}

.expert-grid-large .expert-card.large-card .expert-img,
.card-variant-grid .expert-card.large-card .expert-img {
    height: 314px;
    margin: 0;
    border-radius: 0;
    background-size: cover;
    background-position: center top;
}

.expert-grid-large .expert-card.large-card .expert-body,
.card-variant-grid .expert-card.large-card .expert-body {
    padding: 12px 13px 13px;
    min-height: 83px;
}

.expert-grid-large .expert-card.large-card .expert-head,
.card-variant-grid .expert-card.large-card .expert-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.expert-grid-large .expert-card.large-card h3,
.card-variant-grid .expert-card.large-card h3 {
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3px;
    letter-spacing: 0;
}

.expert-grid-large .expert-card.large-card .expert-role,
.card-variant-grid .expert-card.large-card .expert-role {
    font-size: 8px;
    line-height: 1.25;
    color: #27384c;
    font-weight: 600;
    margin: 0;
}

.expert-grid-large .expert-card.large-card .stars,
.card-variant-grid .expert-card.large-card .stars {
    color: #d99525;
    letter-spacing: 2px;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    padding-top: 4px;
}

.expert-grid-large .expert-card.large-card .expert-foot,
.card-variant-grid .expert-card.large-card .expert-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.expert-grid-large .expert-card.large-card .price,
.card-variant-grid .expert-card.large-card .price {
    font-size: 10px;
    color: #2d3d50;
    white-space: nowrap;
    margin: 0;
}

.expert-grid-large .expert-card.large-card .price strong,
.card-variant-grid .expert-card.large-card .price strong {
    font-size: 26px;
    letter-spacing: -.04em;
    color: #07172d;
    font-weight: 800;
}

.expert-grid-large .expert-card.large-card .price small,
.card-variant-grid .expert-card.large-card .price small {
    font-size: 10px;
    color: #2d3d50;
}

.expert-grid-large .expert-card.large-card .icon-btn,
.card-variant-grid .expert-card.large-card .icon-btn {
    width: 38px;
    height: 35px;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.expert-grid-large .expert-card.large-card .icon-btn.phone,
.card-variant-grid .expert-card.large-card .icon-btn.phone {
    background: #06182d;
    color: #fff;
}

.expert-grid-large .expert-card.large-card .icon-btn.video,
.card-variant-grid .expert-card.large-card .icon-btn.video {
    background: #dca345;
    color: #fff;
}

@media (max-width: 1200px) {
    .expert-grid-large {
        width: 100%;
        grid-template-columns:repeat(2, 1fr);
        gap: 36px 24px
    }

    .expert-grid-large .expert-card.large-card .expert-img {
        height: 330px
    }
}

@media (max-width: 768px) {
    .expert-grid-large {
        grid-template-columns:1fr;
        gap: 20px
    }

    .expert-grid-large .expert-card.large-card {
        max-width: 380px;
        width: 100%;
        margin: 0 auto
    }

    .expert-grid-large .expert-card.large-card .expert-img {
        height: 360px
    }
}


/* Expert large card button fix - exact desktop variant buttons */
.expert-grid-large .large-card-actions,
.card-variant-grid .large-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.expert-grid-large .expert-card.large-card .icon-btn,
.card-variant-grid .expert-card.large-card .icon-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.expert-grid-large .expert-card.large-card .icon-btn.phone,
.card-variant-grid .expert-card.large-card .icon-btn.phone {
    background: #06182d !important;
    color: #ffffff !important;
}

.expert-grid-large .expert-card.large-card .icon-btn.video,
.card-variant-grid .expert-card.large-card .icon-btn.video {
    background: #dca345 !important;
    color: #ffffff !important;
}

.expert-grid-large .expert-card.large-card .icon-btn i,
.expert-grid-large .expert-card.large-card .icon-btn svg,
.card-variant-grid .expert-card.large-card .icon-btn i,
.card-variant-grid .expert-card.large-card .icon-btn svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 14px !important;
    color: inherit !important;
}


/* ---------- Merge Helpers ---------- */
.merge-divider {
    padding: 28px 0;
    background: #06182d;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.merge-divider .container {
    width: var(--container, 1140px);
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.merge-divider h2 {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 6px;
}

.merge-divider p {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.5;
}

/* === custom.css === */
.process-section {
    background: #f5f7fa;
    padding: 37px 0 50px;
}

.process-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 33px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    position: relative;
    margin-bottom: 39px;
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 21px;
    right: -48px;
    width: 76px;
    height: 1px;
    background: #cfd8e4;
}

.step-top {
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 11px;
}

.num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.step-icon {
    color: var(--green);
    font-size: 29px;
}

.step h4 {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.step p {
    width: 150px;
    margin: 0 auto;
    color: #34445a;
    font-size: 10px;
    line-height: 1.55;
}

.cta-card {
    min-height: 109px;
    background: #fff;
    border: 1px solid #d9e2eb;
    display: grid;
    grid-template-columns: 250px 1fr 150px 170px;
    align-items: center;
}

.all-experts {
    text-align: center;
    margin-top: 36px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.all-experts i,
.all-experts svg {
    margin-left: 9px;
}


.section-head {
    text-align: center;
    margin-bottom: 38px;
}

.section-head h2 {
    font-size: 23px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.015em;
    margin-bottom: 9px;
}

.section-head p {
    font-size: 12px;
    color: #536172;
}

.section-head::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
    border-radius: 4px;
}


.choose-section {
    margin-bottom: 30px;
}

.experts-title {
    text-align: center;
}

.hero {

    margin-bottom: 25px;
}


.content-card .spacer {
    margin: 30px;
}


.btn-small {
    height: 36px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    text-decoration: none;
    line-height: 1;
}


:root {
    --bkui_dark-blue: #f5f7fa !important;
    --bkui_blue: #0b1d32 !important;
    --bkui_blue-2: #0b1d32 !important;
    --bkui_light-blue2: #f5f7fa !important;
    --bkui_light-blue: #ffffff !important;
    --green-color: #4CAF50 !important;
    --red-color: #F44336 !important;
    --yellow-color: #FFEB3B !important;
    --orange-color: #FF9800 !important;
    --gray-color: #ececec !important;
    --dark-gray-color: #858585 !important;

}


.bkui_payment__icon img.payment.aktive {
    border: 3px solid orange;
}

.section-beraterportal .bkui_section {
    background-color: #fff !important;
}

.bkui_wrapper {
    background: #fff !important;

}

.bkui_shell h1 {
    background-color: #f5f7fa !important;
    color: #0b1d32 !important;
}

.bkui_btn:hover {
    color: #757575;
}


.section-beraterportal .info-msg {
    color: #0b1d32 !important;
    border: 1px solid #0b1d32;
    background-color: #f5f7fa !important;
}


.hidden {
    display: none;
}

.content-section {
    background: #fff;
    padding: 64px 0 80px;
}

.content-prose {
    max-width: 900px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}

.content-prose h1 {
    margin: 0 0 32px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
}

.content-prose h2 {
    margin: 40px 0 16px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
}

.content-prose h3 {
    margin: 30px 0 12px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.content-prose p {
    margin: 0 0 18px;
}

.content-prose ul,
.content-prose ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.content-prose li {
    margin-bottom: 8px;
}

.content-prose a {
    color: var(--green);
    text-decoration: underline;
}

.content-prose strong {
    font-weight: 700;
}


/* ===========================================================
   Sidebar-Widgets (WordPress-kompatibles Markup)
   .widget > .widget__head/.widgettitle + .widget__body
   Navigation: ul.menu > li.menu-item > a
   =========================================================== */
.c-side .widget {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.c-side {
    padding-top: 25px;
}

/* Kopf / Titel (Gold-Header) */
.widget__head {
    background: linear-gradient(135deg, var(--gold), #cf8f2c);
    padding: 15px 22px
}

.widget__head .title {
    margin: 0
}

.widget__head .widgettitle {
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .2px
}

.widget__body {
    padding: 0
}

/* Navigationsmenüs: li.menu-item > a mit Punkt + Trennlinien
   (display:block überschreibt das globale .menu der Header-Navigation) */
.c-side .widget .menu {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0
}

.c-side .widget .menu-item {
    display: block;
    width: 100%
}

.widget .menu-item {
    border-bottom: 1px solid var(--line-soft)
}

.widget .menu-item:last-child {
    border-bottom: none
}

.widget .menu-item > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    font-size: 14.5px;
    color: #555;
    line-height: 1.3;
    transition: .15s
}

.widget .menu-item > a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex: none;
    transition: .15s
}

.widget .menu-item > a:hover {
    background: #fdf3f2;
    color: var(--red);
    padding-left: 27px
}

.widget .menu-item > a:hover::before {
    background: var(--red)
}

.widget .menu-item.current-menu-item > a {
    color: var(--red);
    font-weight: 600
}

.widget .menu-item.current-menu-item > a::before {
    background: var(--red)
}

/* Text-Widget (z. B. black-studio-tinymce / .textwidget) */
.widget_black_studio_tinymce .widget__body, .widget .textwidget {
    padding: 16px 22px
}

.widget .textwidget p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 10px
}

.widget .textwidget ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.widget .textwidget li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 7px;
    font-size: 14.5px;
    color: #555
}

.widget .textwidget li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold)
}

/* CTA-Widget */
.widget_cta .widget__body {
    padding: 24px;
    text-align: center;
    background: radial-gradient(circle at 22% 18%, #fbdbe2, #fdeef0 55%, #fdf3ee)
}

.widget_cta .heart {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--red)
}

.widget_cta h4 {
    font-size: 17px;
    color: var(--serif-red);
    font-weight: 700;
    margin-bottom: 8px
}

.widget_cta p {
    font-size: 13.5px;
    color: #6a5550;
    line-height: 1.55;
    margin-bottom: 16px
}

.widget_cta .btn {
    width: 100%;
    justify-content: center
}

/* ===========================================================
   Sidebar-Position flexibel: links (Standard) oder rechts
   .content-wrap.sidebar-left  -> Sidebar links (= Standard)
   .content-wrap.sidebar-right -> Sidebar rechts
   =========================================================== */
.content-wrap.sidebar-right {
    grid-template-columns:1fr 300px
}

.content-wrap.sidebar-right .c-side {
    order: 2
}

/* Sidebar nach rechts; mobil unter den Content */

/* Mobil: Rechts-Variante ebenfalls einspaltig (Content oben, Sidebar unten) */
@media (max-width: 980px) {
    .content-wrap.sidebar-right {
        grid-template-columns:1fr
    }
}

/* ===========================================================

   Content + Sidebar Layout

   =========================================================== */

.content-wrap {

    width: var(--container);

    max-width: calc(100% - 40px);

    margin: 40px auto;

    display: grid;

    grid-template-columns: 300px minmax(0, 1fr);

    gap: 32px;

    align-items: start;

}

/* Wichtig bei Grid:

   verhindert, dass Plugin-Inhalte die Content-Spalte aufsprengen */

.content-wrap .c-content {

    min-width: 0;

    width: 100%;

}

.content-wrap .c-side {

    min-width: 0;

    width: 100%;

}

/* Sidebar rechts */

.content-wrap.sidebar-right {

    grid-template-columns: minmax(0, 1fr) 300px;

}

.content-wrap.sidebar-right .c-content {

    order: 1;

}

.content-wrap.sidebar-right .c-side {

    order: 2;

}

/* Sidebar links */

.content-wrap.sidebar-left {

    grid-template-columns: 300px minmax(0, 1fr);

}

.content-wrap.sidebar-left .c-side {

    order: 1;

}

.content-wrap.sidebar-left .c-content {

    order: 2;

}

/* Tablet / Mobile */

@media (max-width: 980px) {

    .content-wrap,
    .content-wrap.sidebar-left,
    .content-wrap.sidebar-right {

        grid-template-columns: 1fr;

        gap: 24px;

    }

    .content-wrap .c-content,
    .content-wrap.sidebar-left .c-content,
    .content-wrap.sidebar-right .c-content {

        order: 1;

    }

    .content-wrap .c-side,
    .content-wrap.sidebar-left .c-side,
    .content-wrap.sidebar-right .c-side {

        order: 2;

    }

}

@media (max-width: 600px) {

    .content-wrap {

        max-width: calc(100% - 24px);

        margin-top: 24px;

        margin-bottom: 24px;

    }

}


.c-side .widget {

    margin-bottom: 30px;

}

.c-side .widget:last-child {

    margin-bottom: 0;

}


.c-side .widget__head .title,
.c-side .widget__head .widgettitle {

    text-align: center;

}


/* ===========================================================
   Sidebar Widgets – HRnetworx CI
   =========================================================== */

.c-side .widget {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 30px;
}

.c-side .widget:last-child {
    margin-bottom: 0;
}

/* Widget Header */
.c-side .widget__head {
    background: var(--navy);
    padding: 15px 22px;
}

.c-side .widget__head .title {
    width: 100%;
    margin: 0;
    text-align: center;
}

.c-side .widget__head .widgettitle {
    margin: 0;
    color: var(--white);
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
}

/* Navigation */
.c-side .widget .menu {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.c-side .widget .menu-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--line);
}

.c-side .widget .menu-item:last-child {
    border-bottom: 0;
}

.c-side .widget .menu-item > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.35;
    transition: background-color .15s ease,
    color .15s ease,
    padding-left .15s ease;
}

/* Punkt */
.c-side .widget .menu-item > a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex: 0 0 8px;
    transition: background-color .15s ease;
}

/* Hover */
.c-side .widget .menu-item > a:hover {
    background: var(--green-soft);
    color: var(--green);
    padding-left: 27px;
}

.c-side .widget .menu-item > a:hover::before {
    background: var(--green);
}

/* Aktiver Menüpunkt */
.c-side .widget .menu-item.current-menu-item > a {
    background: var(--green-soft);
    color: var(--green);
    font-weight: 700;
}

.c-side .widget .menu-item.current-menu-item > a::before {
    background: var(--green);
}

/* Text Widgets */
.c-side .widget_black_studio_tinymce .widget__body,
.c-side .widget .textwidget {
    padding: 18px 22px;
}

.c-side .widget .textwidget p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.c-side .widget .textwidget p:last-child {
    margin-bottom: 0;
}

.footer-grid {

    display: grid;

    grid-template-columns: 275px 1fr 1fr 1fr 1fr;

}

.footer-col a {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

/* Expert registration / Clickwrap onboarding */
.expert-register-page {
    background: #f7f9fc;
    padding: 56px 0 80px;
    color: #061a33
}

.expert-register-shell {
    max-width: 980px
}

.expert-register-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 30px
}

.expert-register-header h1, .expert-register-card h1 {
    font-size: 34px;
    line-height: 1.15;
    margin: 8px 0 12px
}

.expert-register-header p, .expert-register-card > p {
    color: #5b6675;
    font-size: 16px
}

.expert-register-eyebrow {
    color: #008e72;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 13px
}

.expert-register-progress {
    list-style: none;
    padding: 0;
    margin: 0 0 42px;
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 8px
}

.expert-register-progress__item {
    position: relative;
    text-align: center;
    color: #8792a0;
    font-size: 12px
}

.expert-register-progress__item:before {
    content: "";
    height: 2px;
    background: #dce3eb;
    position: absolute;
    left: -50%;
    right: 50%;
    top: 17px;
    z-index: 0
}

.expert-register-progress__item:first-child:before {
    display: none
}

.expert-register-progress__number {
    position: relative;
    z-index: 1;
    margin: 0 auto 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9eef4;
    color: #425268;
    font-weight: 700
}

.expert-register-progress__item.is-active .expert-register-progress__number {
    background: #061f3d;
    color: #fff
}

.expert-register-progress__item.is-complete .expert-register-progress__number {
    background: #008e72;
    color: #fff
}

.expert-register-progress__item.is-complete:before, .expert-register-progress__item.is-active:before {
    background: #008e72
}

.expert-register-card {
    background: #fff;
    border: 1px solid #e2e7ee;
    border-radius: 8px;
    padding: 36px;
    box-shadow: 0 8px 26px rgba(5, 27, 55, .06)
}

.expert-register-card label {
    display: block;
    font-weight: 600;
    margin: 0 0 20px
}

.expert-register-card label span {
    color: #061a33;
}

.expert-register-card input[type=text], .expert-register-card input[type=email], .expert-register-card input[type=password], .expert-register-card select, .expert-register-card textarea {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid #bdc7d3;
    border-radius: 4px;
    background: #fff;
    font: inherit;
    color: #061a33
}

.expert-register-card input:focus, .expert-register-card select:focus, .expert-register-card textarea:focus {
    outline: 2px solid rgba(0, 142, 114, .18);
    border-color: #008e72
}

.expert-register-grid {
    display: grid;
    gap: 20px
}

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

.expert-register-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 28px
}

.expert-register-actions--end {
    justify-content: flex-end
}

.expert-register-actions--center {
    justify-content: center
}

.expert-register-actions .btn {
    min-width: 150px;
    text-align: center;
    border: 0;
    cursor: pointer;
    text-decoration: none
}

.btn.outline {
    background: #fff;
    color: #061f3d;
    border: 1px solid #9cabbc
}

.expert-contract-list {
    display: grid;
    gap: 14px
}

.expert-contract-item {
    display: grid;
    grid-template-columns:42px 1fr auto;
    gap: 15px;
    align-items: center;
    border: 1px solid #e0e6ed;
    border-radius: 7px;
    padding: 17px
}

.expert-contract-item__icon {
    font-size: 26px;
    color: #d44
}

.expert-contract-item__copy h2 {
    font-size: 16px;
    margin: 0 0 4px
}

.expert-contract-item__copy p {
    margin: 0;
    color: #687483;
    font-size: 13px
}

.expert-contract-item__link {
    color: #006ab7;
    font-weight: 600;
    text-decoration: none
}

.expert-register-info {
    display: flex;
    gap: 12px;
    background: #f1f6fb;
    border: 1px solid #d8e4ef;
    border-radius: 6px;
    padding: 16px;
    margin-top: 22px;
    color: #37516b
}

.expert-register-info i {
    margin-top: 3px;
    color: #176bb0
}

.expert-register-info p {
    margin: 0
}

.expert-consent-box {
    background: #f7fbf9;
    border: 1px solid #9dd0c2;
    border-radius: 8px;
    padding: 26px
}

.expert-consent-checkbox {
    display: grid !important;
    grid-template-columns:26px 1fr;
    gap: 14px;
    align-items: start;
    margin: 0 !important;
    line-height: 1.55
}

.expert-consent-checkbox input {
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    accent-color: #008e72
}

.expert-consent-checkbox span {
    color: #061a33 !important;
    font-weight: 500
}

.expert-register-card--center {
    text-align: center
}

.expert-register-spinner {
    width: 62px;
    height: 62px;
    border: 5px solid #dfe6ed;
    border-top-color: #008e72;
    border-radius: 50%;
    margin: 0 auto 22px
}

.expert-register-success {
    width: 76px;
    height: 76px;
    border: 3px solid #118d61;
    color: #118d61;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin: 0 auto 22px
}

.expert-acceptance-summary, .expert-register-summary-card {
    max-width: 620px;
    margin: 28px auto 0;
    text-align: left;
    border: 1px solid #e0e6ed;
    border-radius: 7px;
    padding: 20px
}

.expert-acceptance-summary > div, .expert-register-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f5
}

.expert-acceptance-summary > div:last-child, .expert-register-summary-row:last-child {
    border-bottom: 0
}

.expert-register-summary-card h2 {
    font-size: 18px;
    margin: 0 0 10px
}

@media (max-width: 767px) {
    .expert-register-page {
        padding: 32px 0 55px
    }

    .expert-register-progress {
        grid-template-columns:repeat(3, 1fr);
        row-gap: 20px
    }

    .expert-register-progress__item:before {
        display: none
    }

    .expert-register-progress__label {
        display: block
    }

    .expert-register-grid--2 {
        grid-template-columns:1fr
    }

    .expert-register-card {
        padding: 22px 18px
    }

    .expert-register-header h1, .expert-register-card h1 {
        font-size: 28px
    }

    .expert-register-actions {
        flex-direction: column-reverse;
        align-items: stretch
    }

    .expert-register-actions .btn {
        width: 100%
    }

    .expert-contract-item {
        grid-template-columns:36px 1fr
    }

    .expert-contract-item__link {
        grid-column: 2
    }

    .expert-acceptance-summary > div, .expert-register-summary-row {
        flex-direction: column;
        gap: 4px
    }
}

/* Expert Register - 7-step progress */
.expert-register-progress--7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

@media (max-width: 768px) {
    .expert-register-progress--7 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 8px;
    }

    .expert-register-progress--7 .expert-register-progress__label {
        font-size: 12px;
        line-height: 1.25;
    }
}


/* ==================================================
   EXPERT REGISTER - FORMULAR LAYOUT
   Korrigiert fuer die tatsaechlichen Klassen in den Step-Templates
   ================================================== */

.expert-register-form {
    width: 100%;
}

/* Sections */
.expert-register-form .expert-register-section {
    margin: 0 0 30px;
    padding: 0;
}

.expert-register-form .expert-register-section:last-of-type {
    margin-bottom: 0;
}

.expert-register-form .expert-register-section + .expert-register-section {
    margin-top: 8px;
    padding-top: 0;
}

.expert-register-form .expert-register-section > h2 {
    margin: 0 0 18px;
    padding: 0;
    color: #071b33;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}

/* Jede Feldgruppe besitzt ihren eigenen, klaren vertikalen Rhythmus. */
.expert-register-form .expert-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 18px;
    padding: 0;
    min-width: 0;
}

.expert-register-form .expert-register-section > .expert-form-group:last-child {
    margin-bottom: 0;
}

/* In 2-spaltigen Reihen steuert das Grid den Abstand. */
.expert-register-form .expert-register-grid {
    display: grid;
    gap: 18px 20px;
    margin: 0 0 18px;
    padding: 0;
}

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

.expert-register-form .expert-register-grid .expert-form-group {
    margin: 0;
}

/* Label sitzt direkt ueber seinem eigenen Feld. */
.expert-register-form .expert-form-group > label {
    display: block;
    margin: 0;
    padding: 0;
    color: #071b33;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
}

.expert-register-form .expert-form-group > label .required {
    color: #d44;
}

.expert-register-form .expert-form-group > label small {
    color: #5b6675;
    font-size: 12px;
    font-weight: 500;
}

/* Einheitliche Controls - ohne den alten margin-top am Input. */
.expert-register-form .expert-form-group > input[type="text"],
.expert-register-form .expert-form-group > input[type="email"],
.expert-register-form .expert-form-group > input[type="tel"],
.expert-register-form .expert-form-group > input[type="date"],
.expert-register-form .expert-form-group > input[type="number"],
.expert-register-form .expert-form-group > input[type="password"],
.expert-register-form .expert-form-group > select,
.expert-register-form .expert-form-group > textarea,
.expert-register-form .expert-phone-row input[type="tel"],
.expert-register-form .expert-phone-row select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #b7c5d8;
    border-radius: 4px;
    background: #fff;
    color: #081d36;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
    outline: none;
}

.expert-register-form .expert-form-group > input[type="date"] {
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
    appearance: auto;
    -webkit-appearance: auto;
}

.expert-register-form .expert-form-group > select,
.expert-register-form .expert-phone-row select {
    cursor: pointer;
}

.expert-register-form .expert-form-group > input:focus,
.expert-register-form .expert-form-group > select:focus,
.expert-register-form .expert-form-group > textarea:focus,
.expert-register-form .expert-phone-row input:focus,
.expert-register-form .expert-phone-row select:focus {
    border-color: #009879;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(0, 152, 121, 0.12);
}

/* Telefonnummer: Vorwahl + Nummer in einer Zeile. */
.expert-register-form .expert-phone-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    width: 100%;
    margin: 0;
}

.expert-register-form .expert-phone-prefix,
.expert-register-form .expert-phone-number {
    margin: 0 !important;
}

/* Buttonbereich */
.expert-register-form .expert-register-actions {
    margin-top: 26px;
}

/* Mobile */
@media (max-width: 768px) {
    .expert-register-form .expert-register-section {
        margin-bottom: 26px;
    }

    .expert-register-form .expert-register-section > h2 {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .expert-register-form .expert-register-grid--2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .expert-register-form .expert-form-group,
    .expert-register-form .expert-register-grid {
        margin-bottom: 18px;
    }

    .expert-register-form .expert-phone-row {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .expert-register-form .expert-phone-row {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .expert-register-form .expert-phone-row select,
    .expert-register-form .expert-phone-row input[type="tel"] {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }
}

/* ==========================================================
   Expert register - unified spacing + profile upload/editor
   ========================================================== */
:root {
    --hrx-form-field-gap: 20px;
    --hrx-form-label-gap: 7px;
    --hrx-form-section-gap: 32px;
    --hrx-card-padding: 36px;
}

.expert-register-page .expert-register-header {
    margin-bottom: 30px;
}

.expert-register-page .expert-register-card {
    padding: var(--hrx-card-padding);
}

/* Generic card rhythm for steps 2-7 */
.expert-register-card > h2 {
    margin: 0 0 18px;
    font-size: 21px;
    line-height: 1.25;
}

.expert-register-card > h2:not(:first-child) {
    margin-top: var(--hrx-form-section-gap);
}

.expert-register-card > label:not(.expert-consent-checkbox) {
    display: block;
    margin: 0 0 var(--hrx-form-field-gap);
    font-weight: 600;
    line-height: 1.3;
}

.expert-register-card > label:not(.expert-consent-checkbox) > input,
.expert-register-card > label:not(.expert-consent-checkbox) > select,
.expert-register-card > label:not(.expert-consent-checkbox) > textarea {
    margin-top: var(--hrx-form-label-gap);
}

/* Forms using the structured form-group markup */
.expert-register-form .expert-register-section {
    margin: 0 0 var(--hrx-form-section-gap);
}

.expert-register-form .expert-register-section:last-of-type {
    margin-bottom: 0;
}

.expert-register-form .expert-register-section > h2 {
    margin: 0 0 18px;
}

.expert-register-form .expert-form-group {
    margin: 0 0 var(--hrx-form-field-gap);
}

.expert-register-form .expert-form-group:last-child,
.expert-register-form .expert-register-grid .expert-form-group:last-child {
    margin-bottom: 0;
}

.expert-register-form .expert-form-group > label {
    margin: 0 0 var(--hrx-form-label-gap);
}

.expert-register-form .expert-form-group > input,
.expert-register-form .expert-form-group > select,
.expert-register-form .expert-form-group > textarea {
    margin-top: 0;
}

.expert-register-form .expert-register-grid {
    gap: var(--hrx-form-field-gap);
    margin-bottom: var(--hrx-form-field-gap);
}

.expert-register-form .expert-register-grid .expert-form-group {
    margin-bottom: 0;
}

.expert-register-info {
    margin-top: var(--hrx-form-field-gap);
}

.expert-register-actions {
    margin-top: 28px;
}

/* Field helper text */
.expert-field-help {
    display: block;
    margin-top: 7px;
    color: #6a7686;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
}

/* Profile image dropzone */
.expert-upload-dropzone {
    position: relative;
    min-height: 190px;
    padding: 28px 24px;
    border: 2px dashed #b9c8d8;
    border-radius: 8px;
    background: #f8fbfd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.expert-upload-dropzone:hover,
.expert-upload-dropzone:focus,
.expert-upload-dropzone.is-dragover {
    border-color: #008e72;
    background: #f2fbf8;
    box-shadow: 0 0 0 3px rgba(0, 142, 114, .08);
    outline: none;
}

.expert-upload-dropzone.has-file {
    border-style: solid;
    border-color: #008e72;
    background: #f4fbf8;
}

.expert-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.expert-upload-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6f5f1;
    color: #008e72;
    font-size: 23px;
}

.expert-upload-dropzone strong {
    color: #061a33;
    font-size: 16px;
    margin-bottom: 4px;
}

.expert-upload-dropzone > span {
    color: #566579;
    font-size: 14px;
    font-weight: 400;
}

.expert-upload-dropzone > small {
    margin-top: 8px;
    color: #7a8796;
    font-size: 12px;
    font-weight: 400;
}

.expert-upload-file {
    margin-top: 10px;
    color: #008e72;
    font-weight: 700;
    font-size: 13px;
}

/* WordPress classic editor / TinyMCE inside the profile step */
.expert-register-editor-field .wp-editor-wrap {
    margin-top: 0;
    border-radius: 4px;
}

.expert-register-editor-field .wp-editor-container {
    border: 1px solid #bdc7d3;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.expert-register-editor-field .wp-editor-tools {
    margin-bottom: 0;
}

.expert-register-editor-field .wp-editor-tabs {
    margin-bottom: 0;
}

.expert-register-editor-field .mce-toolbar-grp,
.expert-register-editor-field .quicktags-toolbar {
    background: #f7f9fc;
    border-color: #d7e0e9;
}

.expert-register-editor-field .mce-btn,
.expert-register-editor-field .quicktags-toolbar input.button {
    min-height: 28px;
}

.expert-register-editor-field textarea.wp-editor-area {
    min-height: 300px;
    margin: 0;
    border: 0;
    border-radius: 0;
}

@media (max-width: 767px) {
    :root {
        --hrx-form-field-gap: 18px;
        --hrx-form-section-gap: 28px;
        --hrx-card-padding: 22px;
    }

    .expert-upload-dropzone {
        min-height: 165px;
        padding: 24px 16px;
    }
}

/* ==========================================================
   Expert Register Step 6 - WYSIWYG + character meter
   ========================================================== */
.expert-register-form .expert-field-help--above {
    display: block;
    margin: -2px 0 8px;
}

.expert-register-editor-field .wp-editor-wrap {
    margin-top: 0;
}

.expert-register-editor-field .wp-editor-container {
    border: 1px solid #b9c8da;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.expert-register-editor-field .mce-toolbar-grp,
.expert-register-editor-field .quicktags-toolbar {
    border-bottom: 1px solid #b9c8da;
    background: #fff;
    padding: 6px 8px;
}

.expert-register-editor-field .mce-btn,
.expert-register-editor-field .quicktags-toolbar input.button {
    margin: 2px;
}

.expert-register-editor-field .mce-edit-area,
.expert-register-editor-field textarea.wp-editor-area {
    background: #fff;
}

.expert-short-editor-field .wp-editor-container iframe {
    min-height: 190px !important;
}

.expert-detail-editor-field .wp-editor-container iframe {
    min-height: 330px !important;
}

.expert-char-meter {
    margin-top: 10px;
}

.expert-char-meter__track {
    width: 100%;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbe6ef;
}

.expert-char-meter__bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #009879;
    transition: width .18s ease, background-color .18s ease;
}

.expert-char-meter__bar.is-warning {
    background: #d99a24;
}

.expert-char-meter__bar.is-full {
    background: #c93f4a;
}

.expert-char-meter__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
    color: #5b6b7e;
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .expert-char-meter__meta {
        flex-direction: column;
        gap: 2px;
    }

    .expert-short-editor-field .wp-editor-container iframe {
        min-height: 210px !important;
    }

    .expert-detail-editor-field .wp-editor-container iframe {
        min-height: 360px !important;
    }
}

/* Step 6 TinyMCE: visible text-format selectors */
.expert-register-editor-field .mce-toolbar .mce-listbox,
.expert-register-editor-field .mce-toolbar .mce-btn-group .mce-listbox {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 92px;
}

.expert-register-editor-field .mce-toolbar .mce-listbox.mce-btn-has-text button {
    padding-left: 8px;
    padding-right: 8px;
}

.expert-register-editor-field .mce-toolbar .mce-listbox .mce-txt {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .expert-register-editor-field .mce-toolbar .mce-listbox,
    .expert-register-editor-field .mce-toolbar .mce-btn-group .mce-listbox {
        min-width: 76px;
    }
}

/* Step 6 editor bootstrap guard: keep WordPress/TinyMCE toolbars visible. */
.expert-register-editor-field .mce-container-body.mce-stack-layout,
.expert-register-editor-field .mce-toolbar-grp,
.expert-register-editor-field .mce-toolbar,
.expert-register-editor-field .mce-toolbar .mce-btn-group {
    visibility: visible !important;
    opacity: 1 !important;
}

.expert-register-editor-field .mce-toolbar-grp {
    display: block !important;
    min-height: 42px;
}

.expert-register-editor-field .mce-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
}

.expert-register-editor-field .mce-toolbar .mce-btn-group {
    display: inline-flex !important;
    flex-wrap: wrap;
}

/* Step 6 - guaranteed frontend editor controls */
.expert-register-editor-field > textarea {
    display: block;
    width: 100%;
    min-height: 220px;
    box-sizing: border-box;
    border: 1px solid #b9c8da;
    border-radius: 6px;
    padding: 14px;
    font: inherit;
    line-height: 1.5;
    background: #fff;
}

.expert-detail-editor-field > textarea {
    min-height: 380px;
}

.expert-register-editor-field .mce-panel {
    background: #fff;
}

.expert-register-editor-field .mce-toolbar-grp {
    border-bottom: 1px solid #b9c8da !important;
}

.expert-register-editor-field .mce-toolbar .mce-btn-group {
    margin: 4px 6px 4px 0;
}

.expert-register-editor-field .mce-toolbar .mce-listbox {
    min-width: 112px !important;
}

.expert-register-editor-field .mce-toolbar .mce-listbox .mce-txt {
    max-width: 150px !important;
}

.expert-register-editor-field .mce-toolbar .mce-btn button {
    min-height: 30px;
}

/* ==========================================================
   Step 6 - dependency-free WYSIWYG (avoids TinyMCE version conflict)
   ========================================================== */
.hrx-wysiwyg {
    width: 100%;
    border: 1px solid #b9c8da;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.hrx-wysiwyg-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid #b9c8da;
    background: #f8fafc;
}

.hrx-wysiwyg-select,
.hrx-editor-btn {
    min-height: 36px;
    border: 1px solid #ccd6e1;
    border-radius: 4px;
    background: #fff;
    color: #071b33;
    font: inherit;
    font-size: 13px;
}

.hrx-wysiwyg-select {
    width: auto !important;
    min-width: 124px;
    padding: 0 30px 0 10px !important;
    margin: 0 !important;
}

.hrx-wysiwyg-size {
    min-width: 96px;
}

.hrx-editor-btn {
    width: auto;
    min-width: 36px;
    padding: 0 9px;
    cursor: pointer;
    line-height: 1;
}

.hrx-editor-btn:hover,
.hrx-editor-btn:focus,
.hrx-wysiwyg-select:focus {
    border-color: #008e72;
    box-shadow: 0 0 0 2px rgba(0, 142, 114, .10);
    outline: none;
}

.hrx-toolbar-separator {
    width: 1px;
    height: 25px;
    background: #d7e0e9;
    margin: 0 2px;
}

.hrx-wysiwyg-surface {
    min-height: 220px;
    padding: 18px;
    background: #fff;
    color: #071b33;
    font-size: 16px;
    line-height: 1.55;
    outline: none;
    overflow-y: auto;
}

.hrx-wysiwyg-surface.is-detail {
    min-height: 380px;
}

.hrx-wysiwyg-surface:focus {
    box-shadow: inset 0 0 0 2px rgba(0, 142, 114, .08);
}

.hrx-wysiwyg-surface p {
    margin: 0 0 12px;
}

.hrx-wysiwyg-surface h2,
.hrx-wysiwyg-surface h3,
.hrx-wysiwyg-surface h4 {
    margin: 18px 0 10px;
    line-height: 1.25;
}

.hrx-wysiwyg-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 768px) {
    .hrx-wysiwyg-toolbar {
        gap: 5px;
        padding: 7px;
    }

    .hrx-wysiwyg-select {
        min-width: 108px;
        flex: 1 1 130px;
    }

    .hrx-wysiwyg-size {
        min-width: 90px;
    }

    .hrx-editor-btn {
        min-width: 34px;
        padding: 0 7px;
    }

    .hrx-toolbar-separator {
        display: none;
    }

    .hrx-wysiwyg-surface {
        min-height: 240px;
        padding: 14px;
    }

    .hrx-wysiwyg-surface.is-detail {
        min-height: 360px;
    }
}

/* ==========================================================
   Step 6 - compact editor toolbar, visual style like profile editor reference
   ========================================================== */
.hrx-wysiwyg-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    min-height: 54px;
    padding: 7px 10px;
    background: #fff;
    border-bottom: 1px solid #314052;
}

.hrx-wysiwyg-select {
    min-height: 38px;
    height: 38px;
    min-width: 105px;
    max-width: 135px;
    padding: 0 26px 0 9px !important;
    border: 0;
    border-radius: 4px;
    background-color: #fff;
    color: #15263a;
    font-size: 13px;
    font-weight: 500;
    box-shadow: none;
}

.hrx-wysiwyg-select:hover,
.hrx-wysiwyg-select:focus {
    background: #eef5fb;
    border: 0;
    box-shadow: none;
}

.hrx-wysiwyg-size {
    min-width: 78px;
    max-width: 88px;
}

.hrx-wysiwyg-select[data-command="formatBlock"] {
    margin-right: 8px;
}

.hrx-editor-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #14253a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 38px;
    text-align: center;
    box-shadow: none;
}

.hrx-editor-btn i {
    font-size: 17px;
}

.hrx-editor-btn strong {
    font-size: 20px;
}

.hrx-editor-btn em {
    font-family: Georgia, serif;
    font-size: 21px;
}

.hrx-editor-btn u,
.hrx-editor-btn s {
    font-size: 18px;
}

.hrx-editor-btn--omega {
    font-family: Georgia, serif;
    font-size: 22px;
}

.hrx-editor-btn--clear {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 19px;
}

.hrx-editor-btn--clear sub {
    font-size: 10px;
}

.hrx-editor-btn:hover,
.hrx-editor-btn:focus {
    background: #edf4fb;
    border: 0;
    box-shadow: none;
    outline: none;
}

.hrx-editor-btn:active,
.hrx-editor-btn.is-active {
    background: #a9d5ff;
}

.hrx-editor-btn--muted {
    color: #aeb8c4;
}

.hrx-toolbar-separator {
    width: 1px;
    height: 27px;
    margin: 0 6px;
    background: #e1e6ec;
}

.hrx-toolbar-spacer {
    flex: 1 1 auto;
}

.hrx-wysiwyg-surface {
    border-top: 0;
    padding: 22px 26px;
    font-size: 17px;
    line-height: 1.55;
}

.hrx-wysiwyg-surface.is-short {
    min-height: 205px;
}

.hrx-wysiwyg-surface.is-detail {
    min-height: 360px;
}

@media (max-width: 900px) {
    .hrx-wysiwyg-toolbar {
        padding: 6px;
        gap: 1px;
    }

    .hrx-wysiwyg-select {
        min-width: 95px;
        max-width: 118px;
        flex: 0 1 auto;
        font-size: 12px;
    }

    .hrx-wysiwyg-size {
        min-width: 72px;
        max-width: 78px;
    }

    .hrx-editor-btn {
        width: 34px;
        min-width: 34px;
        height: 36px;
        min-height: 36px;
        line-height: 36px;
    }

    .hrx-toolbar-separator {
        margin: 0 3px;
    }

    .hrx-toolbar-spacer {
        display: none;
    }
}

@media (max-width: 620px) {
    .hrx-wysiwyg-toolbar {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .hrx-wysiwyg-select {
        flex: 0 0 auto;
    }

    .hrx-editor-btn {
        flex: 0 0 34px;
    }

    .hrx-toolbar-separator {
        flex: 0 0 1px;
    }
}

/* Clickwrap-Zustimmungsnachweis / elektronische Signatur (Steps 4-7) */
.expert-contract-signature {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    margin: 22px 0;
    padding: 18px 20px;
    border: 1px solid #b9c8da;
    border-radius: 8px;
    background: #f7fafc;
    text-align: left;
    box-sizing: border-box;
}

.expert-contract-signature.is-accepted {
    border-color: rgba(0, 143, 114, .35);
    background: #f4fbf8;
}

.expert-contract-signature__seal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e8f0f7;
    color: #0a2744;
    font-size: 21px;
}

.expert-contract-signature.is-accepted .expert-contract-signature__seal {
    background: #dff4ec;
    color: #008f72;
}

.expert-contract-signature__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.expert-contract-signature__topline strong {
    color: #071b33;
    font-size: 16px;
}

.expert-contract-signature__status {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e8f0f7;
    color: #38536f;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.expert-contract-signature.is-accepted .expert-contract-signature__status {
    background: #dff4ec;
    color: #00775e;
}

.expert-contract-signature p {
    margin: 0 0 10px;
    color: #4c5d70;
    line-height: 1.5;
}

.expert-contract-signature__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 8px 0 12px;
}

.expert-contract-signature__meta span,
.expert-contract-signature__versions span {
    display: flex;
    gap: 8px;
    color: #42556a;
    font-size: 12px;
    line-height: 1.4;
}

.expert-contract-signature__meta b,
.expert-contract-signature__versions b {
    color: #071b33;
}

.expert-contract-signature__meta span {
    justify-content: space-between;
    border-bottom: 1px solid #e2e9f0;
    padding-bottom: 5px;
}

.expert-contract-signature__versions {
    display: grid;
    gap: 5px;
    margin-top: 8px;
}

.expert-contract-signature__versions span {
    justify-content: space-between;
}

.expert-contract-signature small {
    display: block;
    margin-top: 10px;
    color: #738196;
    font-size: 10px;
}

@media (max-width: 700px) {
    .expert-contract-signature {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .expert-contract-signature__seal {
        width: 42px;
        height: 42px;
    }

    .expert-contract-signature__topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .expert-contract-signature__meta {
        grid-template-columns: 1fr;
    }

    .expert-contract-signature__versions span {
        flex-direction: column;
        gap: 2px;
    }
}


/* ==========================================================
   Expert register - Step 4: same typography/spacing rhythm
   as the remaining onboarding steps
   ========================================================== */
.expert-register-card--step4 .expert-register-section {
    margin: 0 0 32px;
    padding: 0;
}

.expert-register-card--step4 .expert-register-section:last-of-type {
    margin-bottom: 0;
}

.expert-register-card--step4 .expert-register-section > h2 {
    margin: 0 0 8px;
    padding: 0;
    color: #071b33;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}

.expert-register-card--step4 .expert-register-section-intro {
    margin: 0 0 18px;
    color: #5b6675;
    font-size: 14px;
    line-height: 1.45;
}

.expert-register-card--step4 .expert-contract-list {
    margin: 0;
}

.expert-register-card--step4 .expert-contract-item {
    min-height: 74px;
}

.expert-register-card--step4 .expert-contract-item__copy h3 {
    margin: 0 0 4px;
    color: #061a33;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}

.expert-register-card--step4 .expert-contract-item__copy p {
    margin: 0;
    color: #687483;
    font-size: 13px;
    line-height: 1.35;
}

.expert-register-card--step4 .expert-consent-box {
    margin: 0;
    padding: 24px;
}

.expert-register-card--step4 .expert-register-actions {
    margin-top: 28px;
}

@media (max-width: 768px) {
    .expert-register-card--step4 .expert-register-section {
        margin-bottom: 26px;
    }

    .expert-register-card--step4 .expert-register-section > h2 {
        font-size: 20px;
    }

    .expert-register-card--step4 .expert-register-section-intro {
        margin-bottom: 16px;
    }

    .expert-register-card--step4 .expert-consent-box {
        padding: 20px;
    }
}

/* ==================================================
   EXPERT REGISTER - MOBILE PROGRESSBAR
   Desktop-Stepper bleibt unveraendert, auf Mobile wird
   stattdessen eine kompakte Fortschrittsanzeige gezeigt.
   ================================================== */
.expert-register-mobile-progress {
    display: none;
}

@media (max-width: 767px) {
    .expert-register-progress--7 {
        display: none;
    }

    .expert-register-mobile-progress {
        display: block;
        margin: 0 0 28px;
    }

    .expert-register-mobile-progress__meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 9px;
        color: #008e72;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .expert-register-mobile-progress__meta span:last-child {
        color: #425268;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .expert-register-mobile-progress__track {
        width: 100%;
        height: 8px;
        overflow: hidden;
        border-radius: 999px;
        background: #e4eaf1;
    }

    .expert-register-mobile-progress__bar {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #061f3d;
        transition: width .25s ease;
    }

    /* "Schritt X von 7" steht auf Mobile bereits in der Progressbar. */
    .expert-register-header .expert-register-eyebrow {
        display: none;
    }

    .expert-register-header {
        margin-bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .expert-register-mobile-progress__bar {
        transition: none;
    }
}

/*
 * 14.10.2026: Checkbox-Raster fuer die neuen Schritt-6-Abschnitte
 * "Beratungs-Sprachen" / "Beratungs-Kategorien" (Erweiterung der Anmeldung
 * um dieselben Felder, die Berater spaeter auch unter /advicer-edit-
 * beratungssprachen/ bzw. /advicer-edit-beratungkategorien/ pflegen koennen).
 */
.expert-register-form .expert-register-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin-top: 14px;
}

.expert-register-form .expert-register-checkbox {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    font-weight: 400 !important;
    line-height: 1.3;
    cursor: pointer;
}

.expert-register-form .expert-register-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: #008e72;
}

.expert-register-form .expert-register-checkbox img {
    flex: 0 0 auto;
    border-radius: 2px;
}

@media (max-width: 767px) {
    .expert-register-form .expert-register-checkbox-grid {
        grid-template-columns: 1fr;
    }
}
.card-actions a.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 32px;
    padding: 2px 6px;
    font-family: inherit;
    line-height: normal;
    text-align: center;
    text-decoration: none;
}


.card-actions .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

.card-actions .icon-btn svg {
    width: 1em;
    height: 1em;
}

.card-actions .icon-btn.is-disabled {
    color: #999;
    background: #eee;
    border-color: #ddd;
    cursor: not-allowed;
}

/* berater-detail.php: Chat/Videochat-Button ausgegraut, wenn der Experte die Beratungsart nicht anbietet */
.booking-card .booking-btn.is-disabled {
    color: #999;
    background: #eee;
    border-color: #ddd;
    cursor: not-allowed;
    pointer-events: none;
    opacity: .7;
}


/* Header: Login / Registrieren (bzw. Mein Konto / Logout) auf Mobile nur als Icon */
@media (max-width: 767px) {
    .header-actions {
        gap: 8px;
    }

    .header-actions .btn-small {
        width: 40px;
        min-width: 0;
        height: 40px;
        padding: 0;
        font-size: 16px;
    }

    .header-actions .btn-small i,
    .header-actions .btn-small svg {
        display: inline-block !important;
        width: 1em;
        height: 1em;
    }

    .header-actions .btn-small__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* Mobile navigation: use the same WordPress menu as on desktop. */
.topbar .mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.mobile-menu-toggle .mobile-menu-toggle__close,
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__open {
    display: none;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__close {
    display: block;
}

.mobile-menu-toggle:focus-visible,
.topbar .nav a:focus-visible {
    outline: 2px solid var(--gold, #e5a32d);
    outline-offset: 3px;
}

@media (max-width: 992px) {
    .topbar .mobile-menu-toggle {
        display: inline-flex;
    }

    .topbar .header-actions {
        flex-shrink: 0;
        align-items: center;
    }

    .topbar .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px;
        max-height: calc(100vh - 73px);
        max-height: calc(100dvh - 73px);
        overflow-y: auto;
        box-sizing: border-box;
        background: var(--navy, #071a2c);
        border-top: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 12px 20px rgba(0, 0, 0, .18);
    }

    .topbar.is-menu-open .nav {
        display: flex;
    }

    .topbar .nav a {
        display: block;
        padding: 13px 8px;
        line-height: 1.5;
        color: #fff;
        border-radius: 4px;
    }

    .topbar .nav a:hover,
    .topbar .nav a.active {
        color: var(--gold, #e5a32d);
        background: rgba(255, 255, 255, .06);
    }

    .topbar .nav a.active::after {
        display: none;
    }
}

/* ------------------------------------------------------------------
   Berater-Karten (template-parts/content/berater-liste.php, Shortcode
   BPWPKIT-ADVICER-LIST): Beraterbild quadratisch ueber die volle
   Kartenbreite - gilt ueberall, wo die Liste eingebunden ist
   (Startseite, Expertise, Business, Experten finden).
   ------------------------------------------------------------------ */
.expert-grid-showcase .expert-card .expert-img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
}

.expert-grid-showcase .expert-card .expert-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 0 !important;
}

@supports not (aspect-ratio: 1 / 1) {
    .expert-grid-showcase .expert-card .expert-img {
        position: relative;
        padding-top: 100%;
    }

    .expert-grid-showcase .expert-card .expert-img img {
        position: absolute;
        inset: 0;
    }
}

/* ------------------------------------------------------------------
   Berater-Detail (berater-detail.php): Freitexte aus dem Portal-Editor
   ("Ueber mich", "Qualifikation"). Die style.css setzt global
   * { margin:0; padding:0 } - hier werden Absatz-, Listen- und
   Ueberschriften-Abstaende fuer Editor-HTML wiederhergestellt.
   ------------------------------------------------------------------ */
.section-block .rich-text {
    max-width: 620px;
    color: #172941;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

.section-block .rich-text p {
    margin: 0 0 14px;
}

.section-block .rich-text h1,
.section-block .rich-text h2,
.section-block .rich-text h3,
.section-block .rich-text h4,
.section-block .rich-text h5,
.section-block .rich-text h6 {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: #07172d;
    margin: 22px 0 8px;
}

.section-block .rich-text > :first-child {
    margin-top: 0;
}

.section-block .rich-text > :last-child {
    margin-bottom: 0;
}

.section-block .rich-text strong,
.section-block .rich-text b {
    font-weight: 800;
    color: #07172d;
}

.section-block .rich-text ul,
.section-block .rich-text ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.section-block .rich-text ul {
    list-style: disc;
}

.section-block .rich-text ol {
    list-style: decimal;
}

.section-block .rich-text li {
    margin: 0 0 6px;
}

.section-block .rich-text li > ul,
.section-block .rich-text li > ol {
    margin: 6px 0 0;
}

.section-block .rich-text a {
    color: #007f61;
    text-decoration: underline;
}

.section-block .rich-text blockquote {
    margin: 0 0 14px;
    padding: 10px 16px;
    border-left: 3px solid #007f61;
    background: #f6f8fb;
    color: #26364a;
}

.section-block .rich-text hr {
    border: 0;
    border-top: 1px solid #e3e8ef;
    margin: 18px 0;
}

.section-block .rich-text img {
    max-width: 100%;
    height: auto;
}

.section-block .rich-text table {
    border-collapse: collapse;
    width: 100%;
    margin: 0 0 14px;
    font-size: 13px;
}

.section-block .rich-text th,
.section-block .rich-text td {
    border: 1px solid #e3e8ef;
    padding: 6px 10px;
    text-align: left;
    vertical-align: top;
}

/* ------------------------------------------------------------------
   Berater-Detail: Bewertungen (Sidebar-Zusammenfassung + Liste)
   ------------------------------------------------------------------ */
.rating-stars {
    display: inline-flex;
    gap: 3px;
    line-height: 0;
    color: #007f61;
}

.rating-star {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
}

.rating-star svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rating-star-bg {
    color: #d7dee7;
}

.rating-star-fg {
    color: #007f61;
    clip-path: inset(0 calc(100% - var(--fill, 0%)) 0 0);
}

/* Sidebar-Card */
.side-card.rating-card h3 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 16px;
}

.rating-summary {
    text-align: center;
    padding: 4px 0 18px;
}

.rating-score {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.rating-score strong {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: #007f61;
}

.rating-score span {
    font-size: 16px;
    font-weight: 700;
    color: #637084;
}

.rating-summary-stars .rating-star {
    width: 24px;
    height: 24px;
}

.rating-count {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #26364a;
}

.rating-bars {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.rating-bars li {
    display: grid;
    grid-template-columns: 52px 1fr 22px;
    align-items: center;
    gap: 10px;
    margin: 0 0 9px;
    font-size: 12px;
}

.rating-bar-label {
    font-weight: 700;
    color: #26364a;
    white-space: nowrap;
}

.rating-bar {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #e9eef4;
    overflow: hidden;
}

.rating-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #007f61;
}

.rating-bar-count {
    text-align: right;
    color: #637084;
}

.rating-all-btn,
.reviews-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #c9d3df;
    border-radius: 5px;
    background: #fff;
    color: #07172d !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.rating-all-btn {
    width: 100%;
}

.rating-all-btn i,
.reviews-all-btn i {
    font-size: 11px;
}

.rating-all-btn:hover,
.reviews-all-btn:hover {
    background: #f6f8fb;
}

/* Bewertungs-Karte unter den Dateien */
.reviews-card {
    margin-top: 22px;
    border: 1px solid #e1e7ee;
    border-radius: 6px;
    background: #fff;
    scroll-margin-top: 90px;
}

.reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 20px;
    border-bottom: 1px solid #e8edf2;
}

.reviews-head h2 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0;
}

.reviews-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.review-item {
    padding: 20px 20px 22px;
    border-bottom: 1px solid #eef2f6;
}

.review-item:last-child {
    border-bottom: 0;
}

.review-item[hidden] {
    display: none;
}

.review-meta {
    display: grid;
    grid-template-columns: 70px auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

.review-author {
    font-size: 14px;
    font-weight: 800;
    color: #07172d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-stars .rating-star {
    width: 16px;
    height: 16px;
}

.review-date {
    justify-self: end;
    font-size: 12px;
    color: #637084;
}

.review-text {
    margin: 0 0 0 84px;
    max-width: 620px;
    font-size: 14px;
    line-height: 1.7;
    color: #172941;
}

.reviews-more {
    padding: 6px 20px 22px;
    text-align: center;
}

.reviews-more[hidden] {
    display: none;
}

.reviews-more-btn {
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid #c9d3df;
    border-radius: 5px;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    color: #07172d;
    cursor: pointer;
}

.reviews-more-btn:hover {
    background: #f6f8fb;
}

.reviews-empty,
.reviews-note {
    margin: 0;
    padding: 18px 20px;
    font-size: 12px;
    line-height: 1.6;
    color: #637084;
}

.reviews-note {
    border-top: 1px solid #eef2f6;
}

@media (max-width: 640px) {
    .reviews-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-meta {
        grid-template-columns: 1fr auto;
    }

    .review-meta .review-stars {
        grid-column: 1 / -1;
        order: 3;
    }

    .review-text {
        margin-left: 0;
    }
}
.section-block .container {
    max-width: none;
}


.booking-btn.gray{
    background-color: #c5c5c5;
    background: #f1f1f1;
}

.booking-btn.red{
    background-color: #ef0000 !important;;
    color:   #fff !important;

}

.booking-btn.orange{
    background-color: #e6a727 !important;;
    color: #c5c4c4 !important;

}

.booking-btn.green{
    background-color: #2aa12d !important;;
    color: #fdfdfd !important;

}


/* ========================================
   HRNETWORX EXPERTENKARTEN
   Status, Hinweis, Kurzbeschreibung
======================================== */

/* Online-Status auf dem Expertenbild */

.expert-grid-showcase .expert-card .expert-img {
    position: relative;
}

.expert-status-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 6px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.expert-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.expert-status-online {
    color: #00866d;
}

.expert-status-pause {
    color: #bf841d;
}

.expert-status-offline {
    color: #7b8795;
}

/* Durchwahl-Badge (unten links auf dem Expertenbild) */

.expert-ddi-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 6px;
    background: rgba(6, 24, 45, .88);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.18);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.expert-ddi-icon {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    color: #2fc59a;
}

.expert-ddi-label {
    font-weight: 500;
    opacity: .78;
}

.expert-ddi-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

@media (max-width: 420px) {
    .expert-ddi-label {
        display: none;
    }
}

/* Aktueller Hinweis */

.expert-current-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px;
    margin: 12px 0;
    border: 1px solid #d3e9df;
    border-left: 3px solid #00866d;
    border-radius: 5px;
    background: #f0f9f5;
    color: #183d34;
}

.expert-notice-icon {
    display: flex;
    flex-shrink: 0;
    color: #00866d;
    margin-top: 1px;
}

.expert-notice-content {
    min-width: 0;
}

.expert-notice-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #007d65;
}

.expert-notice-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Description short */

.expert-short-description {
    margin: 10px 0 13px;
    font-size: 12px;
    line-height: 1.6;
    color: #506077;
    overflow-wrap: anywhere;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Kleine Bildschirme */

.expert-status-badge{
    top: unset;
    left: unset;
}
@media (max-width: 767px) {
    .expert-status-badge {
        right: 9px;
        bottom: 9px;
        padding: 6px 9px;
        font-size: 11px;
    }

    .expert-ddi-badge {
        left: 9px;
        bottom: 9px;
        padding: 6px 9px;
        font-size: 11px;
    }

    .expert-current-notice {
        padding: 10px;
    }
}


