/* ============================================================
   mein-therapiejob.de — schlichtes, seriöses Theme
   Akzentfarbe (Blau) nur sparsam für empfohlene melius-Stellen.
   ============================================================ */

:root {
    --text:        #1d2329;
    --muted:       #5b6670;
    --line:        #e5e8eb;
    --line-strong: #d4d9dd;
    --bg:          #ffffff;
    --bg-soft:     #fafbfc;
    --accent:      #2f6db0;
    --accent-soft: #eef4fb;
    --accent-line: #cfe0f1;
    --radius:      8px;
    --maxw:        1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; font-weight: 600; margin: 0 0 .5em; }

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

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Kopfzeile ---------- */
.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); flex: none; }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
    color: var(--muted);
    font-size: .97rem;
}
.main-nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- Intro ---------- */
.intro {
    padding: 64px 0 44px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}
.intro-title {
    font-size: 2rem;
    max-width: 760px;
    margin-bottom: .35em;
}
.intro-subtitle {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 620px;
    margin: 0 0 28px;
}

/* ---------- Suchleiste ---------- */
.searchbar {
    display: flex;
    gap: 10px;
    max-width: 760px;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 8px;
}
.searchbar-field { flex: 1 1 0; }
.searchbar-field--radius { flex: 0 0 132px; }
.searchbar input {
    width: 100%;
    border: 0;
    padding: 11px 12px;
    font-size: 1rem;
    color: var(--text);
    background: transparent;
}
.searchbar input:focus { outline: 2px solid var(--accent-line); border-radius: 5px; }
.searchbar-select {
    width: 100%;
    border: 0;
    padding: 11px 34px 11px 12px;
    font-size: 1rem;
    color: var(--text);
    background-color: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.searchbar-select:focus { outline: 2px solid var(--accent-line); border-radius: 5px; }
.searchbar-field + .searchbar-field {
    border-left: 1px solid var(--line);
}
.btn-search {
    flex: none;
    border: 0;
    background: var(--text);
    color: #fff;
    font-size: 1rem;
    padding: 0 22px;
    border-radius: 6px;
    cursor: pointer;
}
.btn-search:hover { background: #000; }

/* ---------- Abschnitte ---------- */
.section { padding: 44px 0; }
.section-featured { padding-bottom: 20px; }
.section-title {
    font-size: 1.2rem;
    margin-bottom: 22px;
}
.page-head { padding: 48px 0 8px; }
.page-title { font-size: 1.9rem; margin-bottom: .4em; }
.page-intro { color: var(--muted); max-width: 640px; }

/* ---------- Empfohlene Stellen (Karten) ---------- */
.job-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.job-card {
    position: relative;
    border: 1px solid var(--accent-line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px 22px;
    background: var(--bg);
}
.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    background: var(--accent-soft);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.job-badge svg { display: block; }
.job-badge--inline { margin-bottom: 16px; }
.job-title {
    font-size: 1.12rem;
    margin: 0 0 10px;
}
.job-title a { color: var(--text); }
.job-title a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Stellen-Metadaten ---------- */
.job-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: .92rem;
}
.job-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .ic { color: var(--muted); flex: none; }

/* ---------- Aktionen / Bewerben-Knopf ---------- */
.job-actions { margin-top: 16px; }
.job-actions--single { margin-top: 28px; }
.btn-apply {
    display: inline-block;
    border-radius: 6px;
    padding: 9px 18px;
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: var(--bg);
}
.btn-apply:hover { background: var(--bg-soft); text-decoration: none; }
.btn-apply--disabled { opacity: .5; cursor: default; }
/* In empfohlenen Karten dezent in Akzentfarbe hervorgehoben */
.job-card .btn-apply,
.page-job .job-actions--single .btn-apply {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.job-card .btn-apply:hover,
.page-job .job-actions--single .btn-apply:hover { background: #285f99; }

/* Bewerben-Knopf + Kurzbewerbungs-Hinweis */
.apply-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.apply-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: 999px;
}
.apply-hint svg { display: block; flex: none; }
.page-job .apply-hint { font-size: .9rem; }

/* Prominenter Hinweis oben auf der Stellen-Übersicht */
.apply-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 16px;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    font-size: .98rem;
}
.apply-promo svg { display: block; flex: none; }

/* ---------- Alle Stellen (umrandete Zeilen-Karten) ---------- */
.job-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.job-row:hover {
    border-color: var(--accent-line);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.job-row-title {
    display: inline-block;
    color: var(--text);
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 6px;
}
.job-row-title:hover { color: var(--accent); text-decoration: none; }
.job-row .job-actions { margin-top: 0; flex: none; }

.empty-note { color: var(--muted); }

/* Trefferzeile bei aktiver Suche */
.results-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.results-head .section-title { margin-bottom: 0; }
.reset-link { font-size: .92rem; color: var(--accent); }

/* ---------- Einzelne Stelle / Textseiten ---------- */
.back-link { margin: 0 0 20px; font-size: .92rem; }
.back-link a { color: var(--muted); }
.job-body, .page-body { margin-top: 18px; }
.page-body h2 { font-size: 1.25rem; margin-top: 1.4em; }
.page-body h3 { font-size: 1.08rem; margin-top: 1.2em; }

/* ---------- Fußzeile ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 40px;
    background: var(--bg-soft);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 24px;
    font-size: .9rem;
}
.footer-copy { color: var(--muted); }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
}
.faq-question { font-size: 1.08rem; margin: 0 0 8px; }
.faq-answer { margin: 0; color: var(--muted); }

/* ---------- News / Glossar / Ratgeber ---------- */
.news-list, .glossar-list, .artikel-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.news-item, .glossar-item, .artikel-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
}
.news-title, .glossar-term, .artikel-title { font-size: 1.08rem; margin: 0 0 6px; }
.news-title a, .artikel-title a { color: var(--text); }
.news-title a:hover, .artikel-title a:hover { color: var(--accent); text-decoration: none; }
.news-meta, .artikel-meta { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.news-summary, .glossar-definition, .artikel-teaser { margin: 0 0 8px; color: var(--muted); }
.news-readmore { margin: 0; font-size: .92rem; }
.news-note { margin-top: 24px; color: var(--muted); font-size: .88rem; }

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
    body { font-size: 16px; }
    .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .main-nav { gap: 18px; flex-wrap: wrap; }
    .intro { padding: 44px 0 32px; }
    .intro-title { font-size: 1.6rem; }
    .searchbar { flex-direction: column; }
    .searchbar-field + .searchbar-field { border-left: 0; border-top: 1px solid var(--line); }
    .searchbar-field--radius { flex: 0 0 auto; }
    .btn-search { padding: 12px; }
    .job-card-grid { grid-template-columns: 1fr; }
    .job-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Preise / Anzeigenpakete ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 28px;
    align-items: stretch;
}
.price-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 24px 22px;
    background: var(--bg);
}
.price-card--featured {
    border-color: var(--accent-line);
    border-top: 3px solid var(--accent);
    box-shadow: 0 4px 18px rgba(47, 109, 176, .08);
}
.price-name { font-size: 1.15rem; margin: 0 0 4px; }
.price-tagline { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.price-amount-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.price-amount { font-size: 1.9rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.price-note { color: var(--muted); font-size: .82rem; }
.price-duration { color: var(--muted); font-size: .9rem; margin: 4px 0 18px; }
.price-features {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    font-size: .93rem;
}
.price-features li { display: flex; align-items: flex-start; gap: 9px; }
.price-check { color: var(--accent); flex: none; margin-top: 2px; }
.price-cta { margin-top: 22px; }
.btn-book {
    display: block;
    text-align: center;
    border-radius: 6px;
    padding: 11px 18px;
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: var(--bg);
}
.btn-book:hover { background: var(--bg-soft); text-decoration: none; }
.btn-book--featured {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-book--featured:hover { background: #285f99; }
.price-footnote {
    color: var(--muted);
    font-size: .85rem;
    margin-top: 24px;
    max-width: 720px;
}

@media (max-width: 980px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .pricing-grid { grid-template-columns: 1fr; }
}
