/* JOBWOCHE Firmenprofile – Besucheransicht als One-Pager (2026-11-12, nach Entwurf). Baut auf firma.css auf. */

.jwf-b { --karte: #0e4a46; --karte2: #0b3c39; --mint: #e8f4f2; --mint2: #d5ece8; --hg: #f6f9f9; padding-bottom: 40px; }
.jwf-b-wrap { max-width: 1140px; }
.jwf-b h1, .jwf-b h2, .jwf-b h3 { font-family: Nunito, sans-serif; color: var(--text); }

/* ---------- Kopf: Logo, Name, Eckdaten – Titelbild rechts ---------- */
.jwf-b-kopf { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; margin-top: 22px; background: #fff; border-radius: var(--r); box-shadow: var(--schatten); overflow: hidden; min-height: 150px; }
.jwf-b-kopf.ohne-bild { grid-template-columns: 1fr; }
.jwf-b-kopf-text { display: flex; align-items: center; gap: 22px; padding: 24px 28px; min-width: 0; }
.jwf-b-logo { flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 18px; background: #fff; box-shadow: 0 2px 10px rgba(15, 43, 48, .1); overflow: hidden; font: 800 42px/1 Nunito, sans-serif; color: #fff; }
.jwf-b-logo img { width: 100%; height: 100%; object-fit: contain; }
.jwf-b-logo > span { display: grid; place-items: center; width: 100%; height: 100%; background: var(--t); }
.jwf-b-kopf h1 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.15; }
.jwf-b-unterzeile { margin: 4px 0 0; color: var(--grau); font-size: 15px; }
.jwf-b-fakten { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: 14px; }
.jwf-b-fakten > * { display: inline-flex; align-items: center; gap: 7px; color: var(--text); text-decoration: none; }
.jwf-b-fakten a:hover { color: var(--t); }
.jwf-b-fakten .jwf-i { color: var(--t-dunkel); width: 18px; height: 18px; }
.jwf-b-kopf-bild { position: relative; min-height: 150px; }
.jwf-b-kopf-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jwf-b-kopf-bild::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 90px; z-index: 1; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }

/* ---------- Reiter ---------- */
.jwf-b-reiter.jwf-reiter { margin: 18px 0 0; padding: 0 4px; border-radius: 0; background: rgba(246, 249, 249, .96); backdrop-filter: blur(8px); z-index: 20; gap: 6px; }
.jwf-b-reiter.jwf-reiter a { padding: 14px 16px 12px; font-size: 15px; }

.jwf-b-abschnitt { padding-top: 34px; scroll-margin-top: 64px; }
.jwf-b-gross { margin: 0 0 18px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; }
.jwf-b-dach { display: block; margin-bottom: 6px; color: var(--t); font: 800 13px/1.2 Nunito, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.jwf-b-h3 { margin: 22px 0 10px; font-size: 18px; font-weight: 800; }

/* ---------- Gespräch: Video-Karte links, Termine rechts ---------- */
.jwf-b-zwei { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 22px; align-items: start; }

.jwf-live-b { background: linear-gradient(160deg, var(--karte), var(--karte2)); padding: 16px; border-radius: 20px; box-shadow: 0 18px 50px rgba(11, 60, 57, .25); }
.jwf-live-b .jwf-buehne { aspect-ratio: 16 / 10; max-height: 70vh; border-radius: 14px; background: #0b2a2b; }
.jwf-b-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: opacity .3s; }
.jwf-b-foto-leer { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 20%, #1f4e55, #0b2226); color: rgba(255, 255, 255, .85); font: 800 96px/1 Nunito, sans-serif; }
.jwf-live-b .jwf-buehne::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(5, 20, 22, .72), rgba(5, 20, 22, 0)); pointer-events: none; z-index: 1; transition: opacity .3s; }
.jwf-live-b .jwf-buehne[data-phase="gespraech"]::after, .jwf-live-b .jwf-buehne[data-phase="gespraech"] .jwf-b-foto { opacity: 0; }
.jwf-live-b .jwf-fern { z-index: 1; }

.jwf-b-status { position: absolute; left: 14px; top: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--text); font: 800 13px/1 Nunito, sans-serif; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.jwf-b-status .jwf-punkt { width: 9px; height: 9px; }
.jwf-live-b .jwf-gross-knopf { position: absolute; right: 14px; top: 14px; z-index: 4; padding: 8px; background: rgba(5, 20, 22, .45); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.jwf-live-b .jwf-gross-knopf b { display: none; }
.jwf-live-b.ist-gross .jwf-gross-knopf { padding: 8px 13px; }
.jwf-live-b.ist-gross .jwf-gross-knopf b { display: inline; }
.jwf-b-person { position: absolute; left: 18px; bottom: 16px; z-index: 3; display: flex; flex-direction: column; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.jwf-b-person b { font: 800 18px/1.2 Nunito, sans-serif; }
.jwf-b-person small { font-size: 14px; opacity: .92; }
.jwf-b-verbindung { position: absolute; right: 14px; bottom: 16px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(5, 20, 22, .6); color: #e6f2f1; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px); }
.jwf-live-b .jwf-buehne:is([data-phase="gespraech"], [data-phase="verbinde"]) :is(.jwf-b-status, .jwf-b-person, .jwf-b-verbindung) { opacity: 0; pointer-events: none; }

/* Mittlere Ebene nur, solange etwas passiert (Name eingeben, anklopfen, klingeln, verbinden) */
.jwf-live-b .jwf-buehne-ruhe { z-index: 2; background: rgba(6, 26, 28, .62); backdrop-filter: blur(2px); }
.jwf-live-b .jwf-buehne[data-phase="ruhe"] .jwf-buehne-ruhe, .jwf-live-b .jwf-buehne[data-phase="gespraech"] .jwf-buehne-ruhe { opacity: 0; pointer-events: none; }
.jwf-live-b .jwf-buehne-bild { width: 74px; height: 74px; background: rgba(255, 255, 255, .14); box-shadow: none; }
.jwf-live-b .jwf-buehne[data-phase="name"] .jwf-buehne-bild { display: none; }
.jwf-live-b .jwf-buehne-text { color: #fff; font-size: 16px; font-weight: 600; max-width: 360px; }
.jwf-live-b .jwf-name-form { display: flex; gap: 8px; width: min(100%, 380px); }
.jwf-live-b .jwf-name-form[hidden] { display: none; }
.jwf-live-b .jwf-name-form input[name=name] { flex: 1; min-width: 0; padding: 12px 14px; border: 0; border-radius: 12px; font: inherit; font-size: 15px; }
.jwf-live-b .jwf-buehne-status { top: 58px; }
.jwf-live-b .jwf-steuerung { z-index: 5; }

.jwf-b-fuss { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding: 16px 6px 2px; color: #fff; }
.jwf-b-fuss > p[data-jwf-status-text] { flex: 1 1 200px; margin: 0; font-weight: 700; font-size: 15px; color: #fff; }
.jwf-b-fuss .jwf-buehne-knoepfe { width: auto; flex-direction: row; }
.jwf-b-anklopfen { padding: 13px 26px; font-size: 16px; box-shadow: 0 8px 22px rgba(230, 38, 111, .35); }
.jwf-b-nachricht { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0 6px 18px; border: 0; border-left: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.jwf-b-nachricht:hover { color: #bff0e8; }
.jwf-b-nachricht .jwf-zahl { text-decoration: none; }
.jwf-b-fuss .jwf-meldung-klein { flex-basis: 100%; margin: 0; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .95); color: var(--text); }

/* Chat: im One-Pager eingeklappt, in der Großansicht rechts daneben */
.jwf-live-b:not(.ist-gross) .jwf-chat { display: none; }
.jwf-live-b.ist-gross { padding: 16px; gap: 14px 16px; grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 440px); grid-template-rows: minmax(0, 1fr) auto; background: linear-gradient(160deg, var(--karte), var(--karte2)); }
.jwf-live-b.ist-gross .jwf-buehne { grid-column: 1; grid-row: 1; }
.jwf-live-b.ist-gross .jwf-b-fuss { grid-column: 1; grid-row: 2; padding-top: 0; }
.jwf-live-b.ist-gross .jwf-chat { grid-column: 2; grid-row: 1 / 3; border-radius: 14px; }
@media (max-width: 760px) {
	.jwf-live-b.ist-gross { padding: 10px; gap: 10px; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 38%) auto minmax(0, 1fr); }
	.jwf-live-b.ist-gross .jwf-chat { grid-column: 1; grid-row: 3; }
	.jwf-live-b.ist-gross .jwf-b-fuss > p[data-jwf-status-text] { display: none; }
}

/* ---------- Termine rechts ---------- */
.jwf-b-termine { background: #fff; border-radius: 20px; padding: 16px 18px 18px; box-shadow: var(--schatten); border: 1px solid #edf2f2; }
.jwf-b-sprechstunde { display: flex; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--mint); }
.jwf-b-sprechstunde.ist-jetzt { background: #dcf5e7; }
.jwf-b-sprechstunde-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--t-dunkel); }
.jwf-b-sprechstunde-icon .jwf-i { width: 26px; height: 26px; }
.jwf-b-sprechstunde small { display: block; font-weight: 700; font-size: 13.5px; color: var(--text); }
.jwf-b-sprechstunde strong { display: block; font: 900 21px/1.25 Nunito, sans-serif; color: var(--text); }
.jwf-b-sprechstunde span { display: block; font-size: 13.5px; color: var(--text); }
.jwf-b-sprechstunde em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: var(--grau); }
.jwf-b-termine .jwf-b-h3 { margin-top: 18px; }
.jwf-b-slots { display: flex; flex-direction: column; gap: 8px; }
.jwf-b-slot { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 12px; background: #fff; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.jwf-b-slot:hover { border-color: var(--t); background: var(--mint); }
.jwf-b-slot .jwf-i:first-child { color: var(--t-dunkel); width: 20px; height: 20px; }
.jwf-b-slot b { flex: 1; font-size: 15px; }
.jwf-b-slot .jwf-i:last-child { color: var(--t-dunkel); }
.jwf-b-weitere { display: block; margin: 10px auto 0; padding: 4px; border: 0; background: none; color: var(--t-dunkel); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.jwf-b-termine .jwf-tage { margin-top: 12px; }
.jwf-b-wunsch { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding: 14px 16px 16px; border-radius: 14px; background: var(--mint); border-top: 1px solid var(--linie); }
.jwf-b-wunsch strong { font: 800 17px/1.3 Nunito, sans-serif; }
.jwf-b-wunsch span { font-size: 14px; margin-bottom: 10px; }
.jwf-b-knopf-rand { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; border: 2px solid var(--pink); border-radius: 12px; background: #fff; color: var(--pink); font: 800 16px/1.2 Nunito, sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.jwf-b-knopf-rand:hover { background: var(--pink); color: #fff; }
.jwf-b-knopf-gruen { border-color: var(--t); color: var(--t-dunkel); border-radius: 999px; padding: 12px 24px; }
.jwf-b-knopf-gruen:hover { background: var(--t); color: #fff; }

/* ---------- Über uns ---------- */
.jwf-b-ueber { border-top: 1px solid var(--linie); margin-top: 34px; }
.jwf-b-ueber-raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 34px; align-items: center; }
.jwf-b-ueber-raster.ohne-bild { grid-template-columns: 1fr; }
.jwf-b-text { font-size: 16.5px; line-height: 1.6; color: #2b3a3f; }
.jwf-b-text p { margin: 0 0 12px; }
.jwf-b-ueber-bild { display: block; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; box-shadow: var(--schatten); aspect-ratio: 16 / 9; background: #e9eef0; }
.jwf-b-ueber-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.jwf-b-ueber-bild:hover img { transform: scale(1.03); }
.jwf-b-vorteile { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.jwf-b-vorteile li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-size: 15px; font-weight: 600; border-right: 1px solid var(--linie); }
.jwf-b-vorteile .jwf-i { flex: none; width: 26px; height: 26px; color: var(--t-dunkel); }

/* ---------- Einblicke ---------- */
.jwf-b-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jwf-b-kachel { position: relative; display: block; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9.5; background: #1d3b3f; cursor: pointer; box-shadow: var(--schatten); }
.jwf-b-kachel[hidden] { display: none; }
.jwf-b-kachel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.jwf-b-kachel:hover img { transform: scale(1.04); }
.jwf-b-kachel::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(5, 20, 22, .78), rgba(5, 20, 22, 0)); }
.jwf-b-kachel-titel { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; font: 800 16px/1.25 Nunito, sans-serif; text-align: left; }
.jwf-b-play { position: absolute; left: 50%; top: 45%; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--nacht); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.jwf-b-play .jwf-i { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.jwf-b-mehr { display: block; margin: 16px auto 0; padding: 10px 20px; border: 1.5px solid var(--linie); border-radius: 999px; background: #fff; color: var(--t-dunkel); font: 800 14px/1 Nunito, sans-serif; cursor: pointer; }
.jwf-b-mehr:hover { border-color: var(--t); }

/* ---------- Stellen ---------- */
.jwf-b-stellen { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--linie); border-radius: 16px; overflow: hidden; }
.jwf-b-stellen li + li { border-top: 1px solid var(--linie); }
.jwf-b-stellen li[hidden] { display: none; }
.jwf-b-stellen a { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, .8fr) auto; align-items: center; gap: 16px; padding: 13px 20px; color: var(--text); text-decoration: none; transition: background .15s; }
.jwf-b-stellen a:hover { background: var(--mint); }
.jwf-b-art { justify-self: start; padding: 4px 11px; border-radius: 999px; background: var(--mint2); color: var(--t-dunkel); font: 800 12.5px/1.2 Nunito, sans-serif; }
.jwf-b-art.ist-ausbildung { background: #e3f1dc; color: #2f6b1f; }
.jwf-b-stellen strong { font-size: 15.5px; font-weight: 700; }
.jwf-b-stellen small { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--grau); }
.jwf-b-stellen small .jwf-i { flex: none; width: 15px; height: 15px; }
.jwf-b-ansehen { display: inline-flex; align-items: center; gap: 6px; color: var(--t-dunkel); font-weight: 800; font-size: 14px; }
.jwf-b-leer { margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--linie); border-radius: 16px; color: var(--grau); }

/* ---------- Noch Fragen? ---------- */
.jwf-b-fragen { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 20px 26px; border-radius: 18px; background: var(--mint); scroll-margin-top: 64px; }
.jwf-b-fragen-foto { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px #fff; color: var(--t); }
.jwf-b-fragen-foto img { width: 100%; height: 100%; object-fit: cover; }
.jwf-b-fragen-text { flex: 1; min-width: 0; }
.jwf-b-fragen h2 { margin: 0; font-size: 22px; font-weight: 900; }
.jwf-b-fragen-text > p { margin: 2px 0 0; font-size: 14.5px; color: #2b3a3f; }
.jwf-b-kontakt { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.jwf-b-kontakt li { display: inline-flex; align-items: center; gap: 6px; color: var(--grau); }
.jwf-b-kontakt a { color: var(--t-dunkel); text-decoration: none; }
.jwf-b-kontakt a:hover { text-decoration: underline; }
.jwf-b-kontakt .jwf-i { width: 15px; height: 15px; }

/* ---------- Tablet / Handy ---------- */
@media (max-width: 960px) {
	.jwf-b-zwei { grid-template-columns: minmax(0, 1fr); }
	.jwf-b-ueber-raster { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.jwf-b-stellen a { grid-template-columns: auto minmax(0, 1fr) auto; }
	.jwf-b-stellen small { grid-column: 2; grid-row: 2; margin-top: -8px; }
	.jwf-b-ansehen { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 680px) {
	.jwf-b-kopf { grid-template-columns: minmax(0, 1fr); }
	.jwf-b-kopf-bild { order: -1; min-height: 130px; }
	.jwf-b-kopf-bild::before { inset: auto 0 0 0; width: auto; height: 50px; background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0)); }
	.jwf-b-kopf-text { padding: 0 16px 18px; gap: 14px; align-items: flex-start; }
	.jwf-b-logo { width: 72px; height: 72px; margin-top: -30px; position: relative; z-index: 2; border: 3px solid #fff; }
	.jwf-b-reiter.jwf-reiter { margin: 10px -12px 0; padding: 0 8px; }
	.jwf-b-reiter.jwf-reiter a { padding: 12px 10px 10px; font-size: 14px; white-space: nowrap; }
	.jwf-live-b { padding: 10px; border-radius: 16px; }
	.jwf-live-b .jwf-buehne { aspect-ratio: 4 / 4.2; }
	.jwf-b-fuss { padding: 12px 4px 2px; gap: 10px; }
	.jwf-b-fuss > p[data-jwf-status-text] { flex-basis: 100%; }
	.jwf-b-fuss .jwf-buehne-knoepfe { flex: 1; }
	.jwf-b-anklopfen { width: 100%; justify-content: center; }
	.jwf-b-vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jwf-b-vorteile li { padding: 12px 10px; font-size: 14px; gap: 9px; }
	.jwf-b-kacheln { grid-template-columns: minmax(0, 1fr); }
	.jwf-b-stellen a { padding: 12px 14px; gap: 10px; }
	.jwf-b-ansehen { font-size: 0; }
	.jwf-b-ansehen .jwf-i { font-size: 16px; }
	.jwf-b-fragen { flex-wrap: wrap; padding: 18px; }
	.jwf-b-fragen-text { flex-basis: calc(100% - 92px); }
	.jwf-b-fragen .jwf-b-knopf-rand { width: 100%; }
}

/* Status-Punkt auf der Besucherkarte: grün bei erreichbar und bei „Online“ (Firma angemeldet, Video-Chat aus), 21.11.2026 */
[data-zustand="free"] .jwf-b-status .jwf-punkt, [data-zustand="da"] .jwf-b-status .jwf-punkt { background: var(--gruen, #16a34a); }
[data-zustand="busy"] .jwf-b-status .jwf-punkt, [data-zustand="break"] .jwf-b-status .jwf-punkt { background: var(--gelb, #f59e0b); }
