/* =====================================================================
   Deutschland-Jobs.com – Stylesheet
   Keine externen Schriften (DSGVO-freundlich, schnell)
   ===================================================================== */
:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #5b6474;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --primary: #1d4ed8;
  --primary-2: #1e40af;
  --accent: #ffcc00;
  --accent-2: #f5b700;
  --red: #dd0000;
  --green: #0f766e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17,24,39,.06), 0 8px 24px rgba(17,24,39,.06);
  --shadow-lg: 0 20px 50px rgba(17,24,39,.14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-2); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(29,78,216,.28); }
.btn-primary:hover { background: var(--primary-2); color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 6px 18px rgba(245,183,0,.35); }
.btn-accent:hover { background: var(--accent-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(17,24,39,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { display: inline-flex; flex-direction: column; width: 26px; height: 26px; border-radius: 7px; overflow: hidden; transform: rotate(-8deg); box-shadow: 0 3px 10px rgba(0,0,0,.18); transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(0) scale(1.08); }
.logo-mark i { flex: 1; }
.logo-mark i:nth-child(1) { background: #111; }
.logo-mark i:nth-child(2) { background: var(--red); }
.logo-mark i:nth-child(3) { background: var(--accent); }
.logo-text { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.logo-text b { color: var(--primary); }
.logo-text small { font-size: .75em; color: var(--muted); font-weight: 600; }
.logo-light { color: #fff; }
.logo-light .logo-text b { color: var(--accent); }
.logo-light .logo-text small { color: #9ca3af; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; transition: background .2s; position: relative; }
.main-nav > a:not(.btn):hover, .main-nav > a[aria-current] { background: var(--bg-soft); }
.main-nav > a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--accent); border-radius: 2px; }
.main-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; min-height: 640px; display: flex; align-items: center; padding: 80px 0 110px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(10,14,25,.92) 0%, rgba(10,14,25,.72) 45%, rgba(10,14,25,.35) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #111 0 33.3%, var(--red) 33.3% 66.6%, var(--accent) 66.6%); }
@keyframes kenburns { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.16) translate(-2%, -1%); } }
.hero-content { max-width: 860px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; margin-bottom: 20px; backdrop-filter: blur(6px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .14em; background: currentColor; opacity: .35; border-radius: 4px; transform-origin: left; animation: underline 1.2s .6s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lead { font-size: 1.2rem; color: #d1d5db; max-width: 620px; margin-bottom: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: .92rem; color: #cbd5e1; align-items: center; }
.hero-chips a { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 4px 12px; border-radius: 999px; text-decoration: none; transition: background .2s; }
.hero-chips a:hover { background: rgba(255,255,255,.22); color: #fff; }
.hero-float { position: absolute; right: 6%; bottom: 120px; display: grid; gap: 14px; }
.float-card { background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); font-size: .9rem; animation: floaty 6s ease-in-out infinite; min-width: 240px; }
.float-card:nth-child(2) { animation-delay: -3s; margin-left: 40px; }
.float-card .fc-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #eef2ff; color: var(--primary); flex: none; }
.float-card strong { display: block; }
.float-card span { color: var(--muted); font-size: .85rem; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Suchformular ---------- */
.search-form { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr auto; gap: 8px; background: #fff; padding: 8px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.sf-field { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; background: var(--bg-soft); color: var(--muted); transition: box-shadow .2s, background .2s; min-width: 0; }
.sf-field:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--primary) inset; color: var(--primary); }
.sf-field input, .sf-field select { border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); padding: 14px 0; width: 100%; min-width: 0; outline: none; appearance: none; -webkit-appearance: none; }
.sf-field select { cursor: pointer; }
.sf-btn { border-radius: 12px; padding-inline: 1.5em; }
.search-band { background: var(--ink); padding: 26px 0; position: relative; }
.search-band .search-form { box-shadow: none; }

/* ---------- Sektionen ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #e5e7eb; }
.section-dark h2 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-bottom: 10px; }
.section-dark .kicker { color: var(--accent); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: left; border: 1px solid var(--line); }
.stat b { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.stat span { color: var(--muted); font-size: .95rem; }

/* Städte */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.city-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow); }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.city-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82)); transition: background .4s; }
.city-card:hover img { transform: scale(1.08); }
.city-card:hover { color: #fff; }
.city-card .cc-body { padding: 20px; width: 100%; }
.city-card h3 { margin: 0; font-size: 1.35rem; color: #fff; }
.city-card .cc-land { font-size: .85rem; opacity: .8; }
.city-card .cc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: .9rem; color: var(--accent); transform: translateY(8px); opacity: 0; transition: .35s var(--ease); }
.city-card:hover .cc-go { transform: none; opacity: 1; }
.more-cities { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 600; transition: .2s; }
.pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* Berufsfelder */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 700; transition: .3s var(--ease); }
.cat-card .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: var(--primary); flex: none; transition: .3s var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.cat-card:hover .ci { background: var(--primary); color: #fff; transform: rotate(-8deg); }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 3rem; font-weight: 800; color: var(--accent); opacity: .9; line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { color: #fff; }
.step p { color: #9ca3af; margin: 0; }

/* Aggregator-Hinweis */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split-img .badge { position: absolute; left: -20px; bottom: 30px; background: var(--accent); color: var(--ink); padding: 16px 20px; border-radius: 14px; font-weight: 800; box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li .ico { flex: none; color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Stellenkarten ---------- */
.job-list { display: grid; gap: 14px; }
.job-card { display: flex; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.job-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--primary); transform: scaleY(0); transition: transform .3s var(--ease); }
.job-card:hover::before { transform: scaleY(1); }
.job-logo { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.35rem; color: hsl(var(--h) 60% 32%); background: hsl(var(--h) 80% 93%); }
.job-body { flex: 1; min-width: 0; }
.job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.job-title { margin: 0 0 6px; font-size: 1.15rem; }
.job-title a { color: var(--ink); text-decoration: none; }
.job-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.job-title a:hover { color: var(--primary); }
.job-ref { font-size: .75rem; background: #fef3c7; color: #92400e; padding: 3px 8px; border-radius: 6px; font-family: ui-monospace, monospace; white-space: nowrap; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta strong { color: var(--ink-2); font-weight: 600; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.tag-date { background: #ecfdf5; color: #047857; }
.tag-salary { background: #eff6ff; color: #1d4ed8; }
.tag-type { background: #fdf4ff; color: #a21caf; }
.job-snippet { color: var(--muted); font-size: .95rem; margin: 12px 0 0; }
.job-foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; position: relative; z-index: 1; }
.job-details { font-size: .9rem; font-weight: 600; color: var(--muted); }
.notice { background: var(--bg-soft); border: 1px dashed #cbd5e1; padding: 24px; border-radius: var(--radius); color: var(--ink-2); font-weight: 600; }
.notice-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Jobs-Seite */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0 90px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,14,25,.94), rgba(10,14,25,.6)); }
.page-hero .ph-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: #cbd5e1; max-width: 720px; font-size: 1.1rem; }
.page-hero .breadcrumb a, .page-hero .breadcrumb li { color: #cbd5e1; }
.page-hero-search { margin-top: -54px; position: relative; z-index: 3; }
.jobs-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; padding: 40px 0 80px; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results-head h2 { font-size: 1.35rem; margin: 0; }
.results-head span { color: var(--muted); font-size: .95rem; }
.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
.side-box { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; }
.side-box h3 { font-size: 1rem; }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.side-box a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.side-box a:hover { color: var(--primary); }
.side-box.info { background: #fffbeb; border: 1px solid #fde68a; font-size: .95rem; }
.seo-text { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 30px; color: var(--ink-2); }
.seo-text h2 { font-size: 1.4rem; }

/* Breadcrumb */
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Stellen-Detailseite */
.job-detail { display: grid; grid-template-columns: 1fr 340px; gap: 36px; padding: 40px 0 80px; align-items: start; }
.jd-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.jd-main h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.jd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 22px 0; }
.jd-fact { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.jd-fact small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.jd-fact b { font-weight: 700; }
.jd-desc { font-size: 1.05rem; color: var(--ink-2); }
.jd-apply { position: sticky; top: 92px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px; }
.jd-apply h2 { color: #fff; font-size: 1.2rem; }
.jd-apply p { color: #9ca3af; font-size: .93rem; }
.jd-apply .btn { width: 100%; }

/* ---------- Ratgeber ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .pc-img { overflow: hidden; aspect-ratio: 16/10; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.07); }
.post-card .pc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.15rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.post-cat { background: #eef2ff; color: var(--primary); font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.post-card.featured { grid-column: span 3; flex-direction: row; }
.post-card.featured .pc-img { flex: 1.2; aspect-ratio: auto; min-height: 340px; }
.post-card.featured .pc-body { flex: 1; padding: 40px; justify-content: center; }
.post-card.featured h3 { font-size: 1.8rem; }

.article-hero { position: relative; color: #fff; padding: 80px 0 60px; isolation: isolate; overflow: hidden; }
.article-hero img.ah-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 30s ease-in-out infinite alternate; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,14,25,.92), rgba(10,14,25,.55)); }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 900px; }
.article-hero .post-meta { color: #cbd5e1; font-size: .92rem; }
.article-hero .breadcrumb a, .article-hero .breadcrumb li { color: #cbd5e1; }
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); padding: 50px 0 30px; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose .lead { font-size: 1.25rem; color: var(--ink); }
.callout { background: #fffbeb; border-left: 4px solid var(--accent-2); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 28px 0; font-size: 1rem; }
.toc { background: var(--bg-soft); border-radius: 14px; padding: 18px 24px; margin-bottom: 10px; font-size: .98rem; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 30px; }
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 60; width: 0; transition: width .1s linear; }
.article-cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 34px; margin: 20px 0 60px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta h2 { color: #fff; font-size: 1.4rem; margin: 0 0 4px; }
.article-cta p { color: #9ca3af; margin: 0; }

/* Teilen */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.share-label { font-weight: 700; font-size: .95rem; margin-right: 4px; }
.share-btn { font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; cursor: pointer; transition: .2s var(--ease); }
.share-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.share-copy.done { background: var(--green); border-color: var(--green); color: #fff; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Rechtliches */
.legal { padding: 50px 0 80px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; background: var(--bg-soft); padding: 22px; border-radius: 14px; }
.legal dt { font-weight: 700; color: var(--ink-2); }
.legal dd { margin: 0; }
.legal .fr { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 30px; color: var(--muted); font-size: .95rem; }


/* ---------- Berufe-Guide ---------- */
.niv { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #334155; white-space: nowrap; }
.niv-ohne { background: #ecfdf5; color: #047857; }
.niv-ausbildung { background: #eff6ff; color: #1d4ed8; }
.niv-weiterbildung { background: #fdf4ff; color: #a21caf; }
.niv-studium { background: #fff7ed; color: #c2410c; }
.article-hero .post-cat { text-decoration: none; }
.article-hero .niv { margin-left: 4px; }
.hero-sub { color: #d1d5db; font-size: 1.15rem; max-width: 760px; }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.beruf-layout { display: grid; grid-template-columns: 1fr 330px; gap: 44px; align-items: start; }
.beruf-main { padding-top: 40px; }
.beruf-side { position: sticky; top: 92px; display: grid; gap: 18px; padding: 40px 0; }
.side-links { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: .92rem; }
.side-links a { color: #fde68a; text-decoration: none; }
.side-links a:hover { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.facts > div { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; font-size: .95rem; line-height: 1.35; }
.facts small { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 4px; }
.checks { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { flex: none; color: var(--green); margin-top: 5px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill { background: #eef2ff; color: var(--primary-2); font-weight: 600; font-size: .92rem; padding: 6px 14px; border-radius: 999px; }
.salary { background: var(--ink); color: #e5e7eb; border-radius: 18px; padding: 26px 26px 34px; margin: 22px 0; }
.salary-scale { position: relative; height: 16px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.salary-range { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #f59e0b); transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease) .2s; }
.salary.in .salary-range, .no-js .salary-range { transform: scaleX(1); }
.salary-labels { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: .92rem; color: #9ca3af; }
.salary-labels b { color: #fff; display: block; font-size: 1.15rem; }
.salary-axis { position: relative; height: 18px; margin-top: 14px; font-size: .72rem; color: #6b7280; }
.salary-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.salary-axis span:first-child { transform: none; }
.salary-axis span:last-child { transform: translateX(-100%); }
.small-note { font-size: .9rem; color: var(--muted); }
.city-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 20px; }
.city-cta { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: .97rem; transition: .25s var(--ease); }
.city-cta span { flex: 1; }
.city-cta .ico:first-child { color: var(--primary); }
.city-cta:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.city-cta:hover .ico:last-child { transform: translateX(3px); }
.city-cta .ico:last-child { transition: transform .25s var(--ease); color: var(--primary); }
.beruf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.beruf-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, opacity .35s; }
.beruf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.beruf-card .bc-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: var(--primary); transition: .3s var(--ease); }
.beruf-card:hover .bc-ico { background: var(--primary); color: #fff; transform: rotate(-8deg); }
.beruf-card .bc-body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.beruf-card strong { font-size: .98rem; line-height: 1.3; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.bc-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bc-sal { font-size: .8rem; color: var(--muted); font-weight: 600; }
.bc-go { color: var(--muted); transition: .3s var(--ease); }
.beruf-card:hover .bc-go { color: var(--primary); transform: translateX(3px); }
.beruf-card.hidden { display: none; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 30px 0 14px; font-weight: 700; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: .2s var(--ease); color: var(--ink-2); }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.bereich-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.bereich-nav a { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); transition: .2s; }
.bereich-nav a:hover { color: var(--primary); background: #eef2ff; }
.bereich { padding: 40px 0 10px; scroll-margin-top: 90px; }
.bereich h2 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.bereich h2 .ico { color: var(--primary); }
.bereich h2 small { color: var(--muted); font-weight: 600; font-size: .9rem; }
.bereich.empty { display: none; }
.narrow-left { max-width: 820px; margin-bottom: 70px; }
/* Berufe-Guide-Hinweis in der Jobsuche */
.guide-teaser { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(110deg, #eef2ff, #fffbeb); text-decoration: none; color: var(--ink); border: 1px solid #e0e7ff; transition: .3s var(--ease); }
.guide-teaser:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.guide-teaser > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.guide-teaser small { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.guide-teaser span span { color: var(--muted); font-size: .9rem; }
.gt-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.seo-text h3 { font-size: 1.1rem; margin-top: 1.2em; }

/* Linkwolke */
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud a { font-size: .9rem; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: .2s var(--ease); }
.link-cloud a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.section-dark .link-cloud a { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #cbd5e1; }
.related-box { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; margin-top: 30px; }
.related-box h2 { font-size: 1.2rem; }
/* Seitenübersicht */
.sitemap-cols { columns: 3 260px; column-gap: 40px; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 30px; }
.sitemap-cols h2 { font-size: 1.15rem; }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.sitemap-cols a { text-decoration: none; }
.sitemap-cols a:hover { text-decoration: underline; }
@media (max-width: 1080px) {
  .beruf-layout { grid-template-columns: 1fr; gap: 0; }
  .beruf-side { position: static; padding-top: 0; }
  .beruf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .beruf-grid, .city-ctas { grid-template-columns: 1fr; }
  .salary-labels span:nth-child(2) { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: #0b0f19; color: #9ca3af; padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr 1fr; gap: 34px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul.cols-2 { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-brand p { margin-top: 16px; }
.footer-note { display: flex; gap: 8px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px; font-size: .88rem; }
.footer-note .ico { flex: none; color: var(--accent); margin-top: 3px; }
.footer-note strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s var(--ease); z-index: 40; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary); color: #fff; }

/* ---------- Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-left.in { opacity: 1; transform: none; }
.fade-up { animation: fadeUp .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.no-js .reveal, .no-js .reveal-left { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-left { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-float { display: none; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .jobs-layout, .job-detail { grid-template-columns: 1fr; }
  .sidebar, .jd-apply { position: static; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s var(--ease); }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav > a:not(.btn) { padding: 12px 14px; }
  .main-nav .btn { margin: 8px 0 0; }
  .search-form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps, .post-grid, .split { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: auto; flex-direction: column; }
  .post-card.featured .pc-img { min-height: 220px; }
  .post-card.featured .pc-body { padding: 22px; }
  .post-card.featured h3 { font-size: 1.3rem; }
  .split-img .badge { left: 12px; }
  .section { padding: 64px 0; }
  .hero { min-height: 0; padding: 60px 0 100px; }
  .toc ol { columns: 1; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
@media (max-width: 560px) {
  .city-grid, .cat-grid { grid-template-columns: 1fr; }
  .city-card { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr; }
  .job-card { padding: 18px; gap: 14px; }
  .job-logo { width: 44px; height: 44px; font-size: 1.1rem; }
  .jd-main { padding: 22px; }
}
