/* =========================================================
   Kompass Personal AG – Website
   Farben aus dem bisherigen Auftritt, neue Typografie
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Markenfarben (aus kompasspersonal.ch übernommen) */
  --green: #03843C;        /* Logo-Grün, Buttons */
  --green-600: #02702F;
  --petrol: #2A7C6F;       /* Hauptfarbe */
  --petrol-700: #21665B;
  --petrol-900: #163F38;   /* Footer, dunkle Flächen */
  --teal: #40BCA8;
  --teal-300: #7DD3C6;
  --teal-100: #BDE9E2;
  --mint: #EEFAF7;
  --offwhite: #FFFEFC;

  --ink: #10201D;
  --text: #2E3B38;
  --muted: #5F6360;
  --line: #DDE9E6;
  --white: #FFFFFF;
  --danger: #B42318;
  --danger-bg: #FEF3F2;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 29, .06), 0 1px 3px rgba(16, 32, 29, .05);
  --shadow: 0 10px 30px -12px rgba(22, 63, 56, .22);
  --shadow-lg: 0 24px 60px -20px rgba(22, 63, 56, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--offwhite); color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal-100); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.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: 16px; top: -60px; z-index: 100; background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: #fff; --bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--font-head);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary:hover { --bg: var(--green-600); --bd: var(--green-600); box-shadow: 0 8px 20px -8px rgba(3, 132, 60, .6); }
.btn--outline { --bg: transparent; --fg: var(--petrol); --bd: var(--teal-100); }
.btn--outline:hover { --bd: var(--petrol); --fg: var(--petrol); }
.btn--ghost { --bg: var(--white); --fg: var(--petrol-900); --bd: var(--line); }
.btn--ghost:hover { --bd: var(--petrol); }
.btn--light { --bg: #fff; --fg: var(--petrol-900); --bd: #fff; }
.btn--light:hover { --bg: var(--mint); --bd: var(--mint); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; margin: 0 0 1rem;
  font: 700 .8rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
.eyebrow .icon { width: 1.25em; height: 1.25em; }

.tag {
  display: inline-flex; align-items: center; padding: .3em .75em; border-radius: 999px;
  font: 600 .75rem/1.2 var(--font-head); letter-spacing: .02em; background: var(--mint); color: var(--petrol-700);
}
.tag--bau { background: #E7F4EC; color: var(--green-600); }
.tag--facility { background: #E6F6F3; color: var(--petrol-700); }
.tag--garten { background: #EEF6E3; color: #4C6B12; }
.tag--accent { background: var(--green); color: #fff; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--petrol-900); color: var(--teal-100); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__claim { letter-spacing: .08em; text-transform: uppercase; font: 600 .72rem/1 var(--font-head); }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--teal-300); }
.topbar .icon { width: 15px; height: 15px; color: var(--teal-300); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 254, 252, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { width: auto; height: 44px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  display: block; padding: .55em .9em; border-radius: 999px; text-decoration: none;
  font: 600 .98rem/1 var(--font-head); color: var(--ink); transition: background .2s, color .2s;
}
.main-nav ul a:hover { background: var(--mint); color: var(--petrol); }
.main-nav ul a[aria-current="page"] { background: var(--mint); color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon--close { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: center; }
  .brand img { height: 36px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px var(--gutter) 28px; background: var(--offwhite); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: .9em 1em; font-size: 1.1rem; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .icon--open { display: none; }
  .nav-open .nav-toggle .icon--close { display: block; }
}
@media (max-width: 520px) {
  .topbar__links { gap: 14px; font-size: .78rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mint) 0%, var(--offwhite) 100%); padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid var(--teal-100); box-shadow: 0 0 0 60px rgba(189, 233, 226, .25), 0 0 0 120px rgba(189, 233, 226, .15);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hl { color: var(--green); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--teal-100); z-index: -1; border-radius: 4px; }
.hero__text { position: relative; z-index: 1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__facts { display: flex; gap: clamp(20px, 4vw, 44px); list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--teal-100); }
.hero__facts strong { display: block; font: 800 1.8rem/1 var(--font-head); color: var(--petrol); }
.hero__facts span { font-size: .88rem; color: var(--muted); }

.hero__media { position: relative; aspect-ratio: 1 / 1; }
.hero__img { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { inset: 0 18% 22% 0; }
.hero__img--a { right: 0; top: 14%; width: 38%; height: 44%; border: 6px solid var(--offwhite); }
.hero__img--b { right: 8%; bottom: 0; width: 56%; height: 36%; border: 6px solid var(--offwhite); }
.hero__badge {
  position: absolute; left: -22px; bottom: 14%; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: var(--shadow-lg);
  animation: spin 24s linear infinite;
}
.hero__badge .icon { width: 52px; height: 52px; stroke-width: 1.4; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__badge { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: 100%; margin: 0 auto; }
  .hero__badge { left: 0; width: 72px; height: 72px; }
  .hero__badge .icon { width: 40px; height: 40px; }
}

/* ---------- Werte ---------- */
.values { background: var(--petrol); color: var(--teal-100); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value { display: flex; gap: 16px; align-items: flex-start; padding: 32px 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.value:first-child { border-left: 0; padding-left: 0; }
.value .icon { width: 36px; height: 36px; color: var(--teal-300); stroke-width: 1.5; }
.value h2 { color: #fff; font-size: 1.2rem; margin: 0 0 .25em; }
.value p { margin: 0; font-size: .95rem; }
@media (max-width: 760px) {
  .values__grid { grid-template-columns: 1fr; }
  .value { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; }
  .value:first-child { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.section--tint { background: var(--mint); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p:last-child { margin-bottom: 0; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }

.page-hero { background: linear-gradient(180deg, var(--mint), var(--offwhite)); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero .lead { max-width: 680px; }
.page-hero--compact { padding-bottom: clamp(24px, 3vw, 40px); }

/* ---------- Bereiche ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.area__img { aspect-ratio: 16 / 10; overflow: hidden; }
.area__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.area:hover .area__img img { transform: scale(1.05); }
.area__body { position: relative; padding: 36px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.area__icon { position: absolute; top: -28px; left: 28px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: var(--shadow); }
.area__icon .icon { width: 28px; height: 28px; }
.area p { color: var(--muted); flex: 1; }
.area__link { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1 var(--font-head); color: var(--green); }
.area:hover .area__link .icon { transform: translateX(4px); }
.area__link .icon { transition: transform .2s; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Job-Karten ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-grid--list { grid-template-columns: repeat(2, 1fr); }
.job-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.job-card:hover { border-color: var(--teal-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.job-card__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job-card__title { font-size: 1.15rem; margin: 0; }
.job-card__title a { color: var(--ink); text-decoration: none; }
.job-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--muted); }
.job-card__facts li { display: inline-flex; align-items: center; gap: 6px; }
.job-card__facts .icon { width: 16px; height: 16px; color: var(--teal); }
.job-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem/1 var(--font-head); color: var(--green); }
.job-card__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.job-card:hover .job-card__more .icon { transform: translateX(4px); }
@media (max-width: 1000px) { .job-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .job-grid, .job-grid--list { grid-template-columns: 1fr; } }

/* Filter */
.job-filter { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.job-filter__search { position: relative; flex: 1 1 320px; }
.job-filter__search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.job-filter__search input { width: 100%; padding: .85em 1em .85em 3em; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--offwhite); }
.job-filter__search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(64, 188, 168, .2); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: .6em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 600 .9rem/1 var(--font-head); color: var(--ink); transition: .2s; }
.chip span { font-size: .78rem; padding: .2em .55em; border-radius: 999px; background: var(--mint); color: var(--petrol); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--teal-300); }
.chip:has(input:checked) { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.chip:has(input:checked) span { background: rgba(255, 255, 255, .18); color: #fff; }
.chip:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

.empty { text-align: center; padding: 56px 24px; background: #fff; border: 1px dashed var(--teal-100); border-radius: var(--radius-lg); }
.empty__icon { width: 56px; height: 56px; color: var(--teal); margin: 0 auto 16px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 20px; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.about__cards { display: grid; gap: 20px; }
.info-card { display: grid; grid-template-columns: 56px 1fr; gap: 4px 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.info-card__icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--mint); color: var(--petrol); }
.info-card__icon .icon { width: 28px; height: 28px; }
.info-card h3 { margin: 4px 0 6px; }
.info-card p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__intro { position: static; }
}
@media (max-width: 520px) {
  .info-card { grid-template-columns: 1fr; padding: 22px; }
  .info-card__icon { grid-row: auto; margin-bottom: 8px; }
}

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(56px, 8vw, 104px); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta__box { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--petrol); color: var(--teal-100); }
.cta__box:nth-child(2) { background: var(--petrol-900); }
.cta__box::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); }
.cta__box h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta__box p { max-width: 420px; }
.cta__icon { width: 44px; height: 44px; color: var(--teal-300); margin-bottom: 16px; stroke-width: 1.5; }
@media (max-width: 760px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Split (Dienstleistungen) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__img { order: 2; }
.split__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__img { order: 0; }
}
.steps { list-style: none; counter-reset: s; margin: 24px 0 32px; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--green); font: 800 1.05rem/1 var(--font-head); border: 2px solid var(--teal-100); }
.steps strong { font-family: var(--font-head); color: var(--ink); }
.steps span { color: var(--muted); font-size: .95rem; }

.checklist { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--mint); color: var(--green); stroke-width: 2.6; margin-top: 2px; }

/* ---------- Job-Detail ---------- */
.job-hero { background: linear-gradient(180deg, var(--mint), var(--offwhite)); padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.job-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 16px 0 24px; max-width: 900px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font: 600 .92rem/1 var(--font-head); text-decoration: none; color: var(--petrol); }
.back-link + .tag { display: table; }
.job-facts { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0 0 28px; }
.job-facts li { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.job-facts .icon { width: 22px; height: 22px; color: var(--green); }
.job-facts small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.job-facts span { font-weight: 600; color: var(--ink); line-height: 1.3; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.job-body__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; margin-bottom: 32px; }
.job-body__img img { width: 100%; height: 100%; object-fit: cover; }
.job-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.job-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.apply { margin-top: 48px; padding: clamp(24px, 4vw, 40px); background: var(--mint); border-radius: var(--radius-lg); border: 1px solid var(--teal-100); }
.apply h2 { margin-top: 0; }
@media (max-width: 960px) {
  .job-layout { grid-template-columns: 1fr; }
  .job-aside { position: static; }
}

.contact-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h2 { font-size: 1.25rem; }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; }
.contact-card li .icon { color: var(--green); margin-top: 3px; }
.contact-card a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-card a.btn { color: var(--fg); }
.contact-card--dark { background: var(--petrol); border-color: var(--petrol); color: var(--teal-100); }
.contact-card--dark h2, .contact-card--dark a { color: #fff; }
.contact-card--dark li .icon { color: var(--teal-300); }

.preview-bar { background: #FFF4D6; color: #6B4E00; border-bottom: 1px solid #F3D88A; padding: 10px 0; font-size: .92rem; }
.preview-bar .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.preview-bar a { color: #6B4E00; font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field__label { font: 600 .9rem/1.3 var(--font-head); color: var(--ink); }
.field abbr { color: var(--green); text-decoration: none; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; padding: .8em 1em; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #C9DAD6; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(64, 188, 168, .2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; color: var(--danger); font-size: .88rem; }
.field--check label { display: flex; gap: 12px; align-items: flex-start; font: 400 .92rem/1.5 var(--font-body); color: var(--text); cursor: pointer; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 28px 20px; text-align: center;
  background: var(--offwhite); border: 2px dashed var(--teal-100); border-radius: var(--radius); cursor: pointer; transition: .2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--teal); background: #fff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { width: 36px; height: 36px; color: var(--teal); }
.dropzone__text strong { color: var(--green); }
.dropzone__hint { font-size: .82rem; color: var(--muted); }
.dropzone__files { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; width: 100%; max-width: 420px; }
.dropzone__files li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--mint); border-radius: 8px; font-size: .88rem; text-align: left; }
.dropzone__files li span:last-child { color: var(--muted); white-space: nowrap; }
.dropzone__files li.is-too-big { background: var(--danger-bg); color: var(--danger); }

.alert { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 4px; }
.alert .icon { width: 28px; height: 28px; flex: none; }
.alert p { margin: 4px 0 0; }
.alert--success { background: #E8F6EE; color: #0B5A2D; border: 1px solid #B8E2C8; }
.alert--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #FECDCA; }

/* ---------- Fliesstext (Impressum, Datenschutz) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }

.error-page { text-align: center; }
.error-page__icon { width: 72px; height: 72px; color: var(--teal); margin: 0 auto 24px; stroke-width: 1.3; }
.error-page .lead { max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-900); color: var(--teal-100); padding-top: clamp(48px, 6vw, 80px); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { width: 220px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 300px; }
.site-footer__title { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: var(--teal-100); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: var(--teal-300); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: .2s; }
.social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.social .icon { width: 20px; height: 20px; }
.social--dark a { border-color: var(--line); color: var(--petrol); }
.social--dark a:hover { color: #fff; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Kundenportal ---------- */
.main-nav__login { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem/1 var(--font-head); color: var(--petrol); text-decoration: none; padding: .55em .4em; }
.main-nav__login:hover, .main-nav__login[aria-current="page"] { color: var(--green); }
.main-nav__login .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--mint); }
@media (max-width: 900px) { .main-nav__login { justify-content: center; padding: .9em; border: 1px solid var(--line); border-radius: 999px; } }

.portal-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .portal-choose { grid-template-columns: 1fr; } }
.portal-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.portal-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--mint); color: var(--green); margin-bottom: 20px; }
.portal-card__icon .icon { width: 30px; height: 30px; }
.portal-card .checklist { margin: 20px 0 28px; }
.portal-card--dark { background: var(--petrol-900); border-color: var(--petrol-900); color: var(--teal-100); }
.portal-card--dark h2, .portal-card--dark strong { color: #fff; }
.portal-card--dark .portal-card__icon { background: rgba(255, 255, 255, .08); color: var(--teal-300); }
.portal-card--dark .checklist .icon { background: rgba(255, 255, 255, .1); color: var(--teal-300); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { --bd: #fff; }
.btn--danger { --bg: #fff; --fg: var(--danger); --bd: #FECDCA; }
.btn--danger:hover { --bg: var(--danger); --fg: #fff; --bd: var(--danger); }

.portal-auth { background: linear-gradient(180deg, var(--mint), var(--offwhite) 60%); }
.auth-box { max-width: 460px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-box--wide { max-width: 680px; }
.auth-box--center { max-width: 620px; text-align: center; }
.auth-box h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 8px; }
.auth-box__icon { width: 56px; height: 56px; color: var(--green); margin: 0 auto 16px; }
.auth-box__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 20px 0 0; font-size: .92rem; }
.auth-box .form { margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--mint); border-radius: 999px; margin-bottom: 20px; }
.seg a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: .65em .8em; border-radius: 999px; text-decoration: none; font: 600 .9rem/1 var(--font-head); color: var(--petrol); }
.seg a .icon { width: 18px; height: 18px; }
.seg a[aria-current="page"] { background: #fff; color: var(--green); box-shadow: var(--shadow-sm); }
.seg a { min-width: 0; }
@media (max-width: 480px) { .seg a { font-size: .82rem; padding: .7em .4em; gap: 5px; } .seg a .icon { width: 15px; height: 15px; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chip:has(input[type=checkbox]:checked) { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.form__span2 { grid-column: span 2; }
@media (max-width: 640px) { .form__row--3 { grid-template-columns: 1fr; } .form__span2 { grid-column: auto; } }
.field select { width: 100%; padding: .8em 1em; font: inherit; color: var(--ink); background: #fff; border: 1px solid #C9DAD6; border-radius: 10px; }
.field input[type=number], .field input[type=password] { width: 100%; padding: .8em 1em; font: inherit; color: var(--ink); background: #fff; border: 1px solid #C9DAD6; border-radius: 10px; }
.field input[type=password]:focus, .field input[type=number]:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(64, 188, 168, .2); }
.field input:not([type]) { width: 100%; padding: .8em 1em; font: inherit; color: var(--ink); background: #fff; border: 1px solid #C9DAD6; border-radius: 10px; }
.field input:not([type]):focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(64, 188, 168, .2); }

.portal-head { background: linear-gradient(180deg, var(--mint), var(--offwhite)); padding: clamp(32px, 5vw, 56px) 0 24px; }
.portal-head__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.portal-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .2em; }
.portal-head__meta { color: var(--muted); margin: 0; }
.idchip { display: inline-block; padding: .25em .7em; border-radius: 8px; background: var(--petrol); color: #fff; font: 700 .85rem/1.4 var(--font-head); letter-spacing: .04em; }
.portal-flash { margin-top: 16px; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .portal-grid { grid-template-columns: 1fr; } }
.panel-card { display: block; padding: clamp(20px, 3vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.panel-card h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.panel-card--tint { background: var(--mint); border-color: var(--teal-100); box-shadow: none; }
.panel-card--danger { border-color: #FECDCA; }
.panel-card .field { margin-bottom: 16px; }
details.panel-card summary { cursor: pointer; list-style: none; }
details.panel-card summary::-webkit-details-marker { display: none; }
details.panel-card summary h2 { margin: 0; }
details.panel-card summary h2::after { content: "+"; margin-left: auto; color: var(--muted); font-weight: 400; }
details.panel-card[open] summary h2 { margin-bottom: 16px; }
details.panel-card[open] summary h2::after { content: "–"; }
.count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--mint); color: var(--petrol); font-size: .85rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 16px; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); word-break: break-all; }
.switch { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; cursor: pointer; font-weight: 600; color: var(--ink); }
.switch input { position: absolute; opacity: 0; }
.switch__ui { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #C9DAD6; transition: .2s; flex: none; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: .2s; }
.switch input:checked + .switch__ui { background: var(--green); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--teal); outline-offset: 2px; }
.mini-jobs { list-style: none; padding: 0; margin: 0 0 12px; }
.mini-jobs li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-jobs a { font-weight: 600; color: var(--ink); text-decoration: none; }
.mini-jobs a:hover { color: var(--green); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.req-list { list-style: none; padding: 0; margin: 0; }
.req { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.req:last-child { border-bottom: 0; }
.req__main { display: grid; gap: 4px; }
.req__main strong { color: var(--ink); font-family: var(--font-head); }
.req__main .muted { font-size: .9rem; }
.req__note { display: flex; gap: 8px; margin: 8px 0 0; padding: 10px 12px; background: var(--mint); border-radius: 10px; font-size: .92rem; }
.req__note .icon { color: var(--petrol); margin-top: 2px; }
.req__side { display: grid; justify-items: end; align-content: start; gap: 4px; text-align: right; flex: none; }
.status { display: inline-block; padding: .3em .8em; border-radius: 999px; font: 600 .8rem/1.3 var(--font-head); background: var(--mint); color: var(--petrol); }
.status--neu { background: #FFF4D6; color: #6B4E00; }
.status--bearbeitung { background: #EEF0FF; color: #3840A8; }
.status--besetzt { background: #E8F6EE; color: #0B5A2D; }
.status--abgeschlossen, .status--abgebrochen { background: #F1F3F2; color: var(--muted); }

@media print {
  .topbar, .site-header, .site-footer, .apply, .job-aside, .cta { display: none !important; }
}
