/* Vistoria Group – Stylesheet
   Gestaltung angelehnt an die bisherige vistoria.ch: schwarzer Verlaufs-Header,
   silbergraues Band mit Text und Foto, Kästen mit grünen Häkchen, Bordeaux-Knöpfe,
   Bordeaux-Kennzahlenstreifen, Schrift Open Sans. */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 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: "Open Sans";
  src: url("../fonts/open-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 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;
}

:root {
  --black: #0d0d0d;
  --graphit: #2b2b2b;
  --graphit-3: #444;
  --silver-top: #dadada;
  --silver-bottom: #959595;
  --bordeaux: #8c1f48;
  --bordeaux-dark: #6f1838;
  --bordeaux-light: #b8406b;
  --logo-v: #a33463;
  --green: #8cc63e;
  --rose: #f6ecf0;
  --paper: #ffffff;
  --mist: #f3f3f3;
  --ink: #222222;
  --muted: #666666;
  --line: #d9d9d9;
  --on-dark: #e9e9e9;
  --on-dark-muted: #a8a8a8;

  --font: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 3px;
  --r-md: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-compact, 108px) + 14px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--paper); font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--bordeaux); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bordeaux-dark); }
:focus-visible { outline: 3px solid var(--bordeaux-light); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 300; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1;
  padding: .95em 1.5em; border-radius: var(--r-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--bordeaux); color: #fff; }
.btn-primary:hover { background: var(--bordeaux-dark); color: #fff; }
.btn-primary:disabled { opacity: .55; cursor: progress; }
.btn-ghost { border-color: currentColor; color: var(--bordeaux); background: transparent; }
.btn-ghost:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.btn-block {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, #9a2652 0%, var(--bordeaux) 100%); color: #fff; text-decoration: none;
  padding: 1em 1.2em; font-size: 1.02rem; font-weight: 500; border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.btn-block svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-block:hover { background: var(--bordeaux-dark); color: #fff; }

/* Logo */
.logo { height: 64px; width: auto; overflow: visible; }
.logo .logo-v { fill: var(--logo-v); }
.logo .logo-word { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 380px; font-weight: 300; fill: #d4d4d4; letter-spacing: 2px; }

/* Kopfzeile */
.site-header {
  background: linear-gradient(180deg, var(--black) 0%, #353535 100%); color: var(--on-dark);
  position: sticky; top: 0; z-index: 50; transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 18px -8px rgba(0,0,0,.55); }
/* gleicht das Schrumpfen aus, damit der Inhalt darunter nicht springt */
.site-header.is-scrolled { margin-bottom: calc(var(--header-full, 0px) - var(--header-compact, 0px)); }
/* Beim Scrollen wird die Kopfzeile schmaler */
.site-header .header-row, .site-header .logo, .site-header .hi-sub { transition: min-height .2s, height .2s, opacity .2s; }
.site-header.is-scrolled .header-row { min-height: 66px; }
.site-header.is-scrolled .logo { height: 44px; }
.site-header.is-scrolled .hi-sub { display: none; }
.site-header.is-scrolled .nav-row { min-height: 40px; }
.header-row { display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: center; min-height: 112px; gap: 24px; }
.brand { display: block; padding: 10px 0; }
.header-info { text-align: center; line-height: 1.5; }
.header-info p { margin: 0; }
.hi-main { font-size: 1.02rem; color: #cfcfcf; font-weight: 300; }
.hi-sub { font-size: .8rem; color: #a5a5a5; margin-top: 6px !important; line-height: 1.9; }
.header-info a { color: inherit; text-decoration: none; }
.header-info a:hover { color: #fff; text-decoration: underline; }
.main-nav { background: #1b1b1b; border-top: 1px solid #3a3a3a; }
.nav-row { display: flex; align-items: center; gap: 30px; min-height: 46px; }
.main-nav a { color: #d6d6d6; text-decoration: none; font-size: .9rem; }
.main-nav a:hover { color: #fff; text-decoration: underline; }
.main-nav .nav-phone { display: none; }
.nav-toggle { display: none; font: inherit; color: var(--on-dark); background: none; border: 1px solid var(--graphit-3); border-radius: var(--r-sm); padding: .5em 1.1em; cursor: pointer; }

/* Silbergraues Band: Einleitung, Suche und Foto */
.intro {
  position: relative; z-index: 3; isolation: isolate; overflow-x: clip;
  background: linear-gradient(180deg, var(--silver-top) 0%, #b9b9b9 55%, var(--silver-bottom) 100%);
  padding: clamp(44px, 6vw, 72px) 0 clamp(48px, 6vw, 76px);
}
.intro-v { position: absolute; z-index: -1; left: -6vw; bottom: -8%; width: min(60vw, 720px); opacity: .18; pointer-events: none; }
.intro-v path { fill: #fff; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.intro h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 300; color: #1d1d1d; max-width: 20ch; margin-bottom: .6em; }
.intro-copy { columns: 2 280px; column-gap: 40px; max-width: 760px; color: #2a2a2a; font-size: .98rem; }
.intro-copy p { break-inside: avoid; }
.hero-search {
  display: flex; gap: 6px; margin-top: 18px; max-width: 640px;
  background: #fff; border-radius: var(--r-md); padding: 6px;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.08);
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem;
  padding: 0 .9em; color: var(--ink);
}
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 3px var(--bordeaux-light), 0 10px 30px -14px rgba(0,0,0,.45); }

/* Vorschläge unter dem Suchfeld */
.hero-search-wrap { position: relative; max-width: 640px; z-index: 5; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: #fff; color: var(--ink); border-radius: var(--r-md);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.08);
  max-height: min(70vh, 460px); overflow-y: auto;
}
.suggest li { margin: 0; }
.suggest a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline;
  padding: 9px 12px; border-radius: 2px; color: var(--ink); text-decoration: none;
}
.suggest .sg-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .sg-title mark { background: none; color: var(--bordeaux); font-weight: 700; }
.suggest .sg-ref { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.suggest .sg-meta { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.suggest a:hover, .suggest [aria-selected="true"] a { background: var(--rose); }
.suggest .sg-all a { display: block; color: var(--bordeaux); font-weight: 600; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 11px; }
.suggest .sg-none { padding: 12px; color: var(--muted); font-size: .92rem; }

/* Foto */
.portrait { margin: 0; text-align: center; }
.portrait-frame {
  position: relative; aspect-ratio: 6 / 7; background: #777; border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 18px 34px -18px rgba(0,0,0,.6);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame.no-img::after { content: ""; position: absolute; inset: 22%; background: url("../img/v.svg") center / contain no-repeat; }
.portrait figcaption { margin-top: 16px; color: #2b2b2b; font-size: .9rem; line-height: 1.45; }
.portrait figcaption strong { display: block; font-weight: 400; font-size: 1.05rem; color: #1a1a1a; }

/* Leistungen: zwei Kästen und Knöpfe */
.services { padding: clamp(44px, 6vw, 64px) 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); align-items: start; }
.svc h2, .svc-cta h2 { font-size: 1.05rem; font-weight: 400; color: #222; margin: 0 0 14px; }
.svc-cta h2 { text-align: center; }
.svc-cta h2:not(:first-child) { margin-top: 30px; }
.ticks { list-style: none; margin: 0; padding: 18px 20px; border: 1px solid #cfcfcf; background: #fff; }
.ticks li { position: relative; padding: 4px 0 4px 30px; font-size: .93rem; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 15px; height: 8px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); border-radius: 1px;
}

/* Kennzahlen-Streifen */
.stats { background: linear-gradient(180deg, #9b2a55 0%, var(--bordeaux) 55%, #7a1a3e 100%); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.st-num { display: block; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }
.st-label { display: block; font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 300; margin-top: 10px; color: #f3e3ea; }

/* Abschnitts-Köpfe */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px 48px; align-items: end; margin-bottom: 30px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 54ch; }

/* Berufsfelder */
.fields { padding: clamp(56px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.field-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.field-list li { border-bottom: 1px solid var(--line); }
.field-item {
  width: 100%; display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 16px;
  font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 12px 18px 4px; transition: background-color .15s;
}
.field-item:hover, .field-item[aria-pressed="true"] { background: var(--rose); }
.fi-count { font-size: 2rem; font-weight: 300; color: var(--bordeaux); line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.fi-name { display: block; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.fi-roles { display: block; color: var(--muted); font-size: .86rem; line-height: 1.45; margin-top: 3px; }
.fi-cta { font-size: .85rem; color: var(--bordeaux); white-space: nowrap; }
.field-item[aria-pressed="true"] .fi-cta::before { content: "Filter aktiv: "; color: var(--muted); }

/* Stellenpool */
.pool { padding: clamp(36px, 5vw, 56px) 0 clamp(64px, 8vw, 104px); }
.filters { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; margin-bottom: 16px; }
.filters input[type="search"], .filters select {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  border: 1px solid #c9c9c9; border-radius: var(--r-sm); padding: .8em .9em; appearance: none;
}
.filters select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; background-size: 12px; padding-right: 2.5em; }
.filters input:focus, .filters select:focus { outline: none; border-color: var(--bordeaux); }
.seg { display: inline-flex; border: 1px solid #c9c9c9; border-radius: var(--r-sm); overflow: hidden; }
.seg label { position: relative; }
.seg label + label { border-left: 1px solid #c9c9c9; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: .72em 1em; font-size: .92rem; color: var(--muted); white-space: nowrap; background: #fff; }
.seg input:checked + span { background: var(--bordeaux); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--bordeaux-light); outline-offset: -3px; }
.pool-start { display: none; }
.js .pool-start:not([hidden]) {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 6px; padding: 24px 26px; border: 1px solid #cfcfcf; background: var(--mist);
}
.pool-start p { margin: 0; max-width: 56ch; color: var(--muted); }
.js .job-list:not(.is-ready), .js .result-count:not(.is-ready) { display: none; }
.js .job-list[hidden], .js .result-count[hidden] { display: none; }
.result-count { color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.job-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job-list li { border-bottom: 1px solid var(--line); }
.job-row {
  display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.1fr) minmax(0, 1fr) 6.5rem; gap: 20px; align-items: center;
  padding: 16px 8px; color: var(--ink); text-decoration: none;
}
.job-row:hover { background: var(--mist); color: var(--ink); }
.job-row:hover .jr-title { color: var(--bordeaux); }
.jr-title { font-size: 1.02rem; font-weight: 600; }
.jr-cat { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.jr-place, .jr-load { font-size: .92rem; }
.jr-ref { font-size: .8rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; vertical-align: 2px; margin-left: 6px; background: var(--green); color: #fff; font-size: .7rem; font-weight: 700; padding: .15em .55em; border-radius: 2px; }
.empty { padding: 30px 0 0; max-width: 60ch; }

/* Bewerbung */
.apply { background: linear-gradient(180deg, #ececec 0%, #d6d6d6 100%); padding: clamp(56px, 7vw, 88px) 0; }
.apply-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.apply-intro p { color: #444; max-width: 42ch; }
.apply-ref { color: var(--ink) !important; border-left: 3px solid var(--bordeaux); padding-left: 14px; font-weight: 600; }
.apply-box { background: var(--paper); color: var(--ink); border: 1px solid #cfcfcf; padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 14px 30px -20px rgba(0,0,0,.35); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="email"], .field input[type="text"], .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #c9c9c9;
  border-radius: var(--r-sm); padding: .7em .85em;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bordeaux); }
.field textarea { resize: vertical; min-height: 5em; }
.dropzone { position: relative; border: 1px dashed #b5b5b5; padding: 24px 20px; text-align: center; background: var(--mist); transition: border-color .15s, background-color .15s; }
.dropzone.drag { border-color: var(--bordeaux); background: var(--rose); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { border-color: var(--bordeaux); }
.dz-text { margin: 0 0 4px; }
.dz-link { color: var(--bordeaux); text-decoration: underline; }
.dz-hint { margin: 0; color: var(--muted); font-size: .82rem; }
.dz-list { list-style: none; margin: 0; padding: 0; text-align: left; position: relative; z-index: 2; }
.dropzone.has-files .dz-list { margin-top: 14px; border-top: 1px solid var(--line); }
.dz-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.dz-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-list small { color: var(--muted); }
.dz-list button { font: inherit; font-size: .82rem; color: var(--bordeaux); background: none; border: 0; cursor: pointer; text-decoration: underline; padding: 4px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .86rem; color: var(--muted); line-height: 1.55; margin: 8px 0 22px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bordeaux); }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: .9rem; color: var(--muted); }
.form-status.is-error { color: #a1182e; }
.hp { position: absolute; left: -9999px; }
.apply-done { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.apply-done[hidden] { display: none; }
.apply-done:focus { outline: none; }
.apply-done svg { width: 52px; height: 52px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.apply-done h3 { margin-top: 10px; }
.apply-done p { color: var(--muted); margin: 0; }

/* Stellen-Einzelseite */
.job-hero { position: relative; isolation: isolate; overflow-x: clip; background: linear-gradient(180deg, var(--silver-top) 0%, #b5b5b5 60%, #9d9d9d 100%); color: var(--ink); padding: 30px 0 44px; }
.back { color: #333; text-decoration: none; font-size: .9rem; display: inline-block; margin-bottom: 26px; }
.back::before { content: "‹"; margin-right: .45em; }
.back:hover { color: var(--bordeaux); text-decoration: underline; }
.job-ref { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #444; margin-bottom: 10px; font-size: .9rem; }
.job-ref span:first-child { color: var(--bordeaux); font-weight: 600; font-variant-numeric: tabular-nums; }
.job-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 300; max-width: 26ch; color: #1a1a1a; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); gap: 14px 44px; margin: 24px 0 28px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.15); }
.facts dt { color: #4a4a4a; font-size: .82rem; }
.facts dd { margin: 2px 0 0; font-size: 1rem; font-weight: 600; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start; }
.job-intro { font-size: 1.04rem; line-height: 1.7; margin-bottom: 8px; max-width: 64ch; }
.job-section { margin-top: 32px; }
.job-section h2 { font-size: 1.2rem; font-weight: 600; padding-bottom: 8px; border-bottom: 2px solid var(--bordeaux); display: inline-block; margin-bottom: 10px; }
.job-section ul { list-style: none; padding: 0; margin: 0; max-width: 64ch; }
.job-section li { position: relative; padding: 5px 0 5px 28px; }
.job-section li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 13px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.job-aside { position: sticky; top: calc(var(--header-compact, 108px) + 16px); display: grid; gap: 18px; }
.map-card { margin: 0; overflow: hidden; border: 1px solid #cfcfcf; background: var(--mist); }
.map { height: 280px; background: var(--mist); }
.map-card figcaption { padding: 12px 16px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .95rem; }
.map-card figcaption span { color: var(--muted); font-weight: 400; font-size: .84rem; }
.map-pin span { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--bordeaux); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.contact-card { background: var(--mist); border: 1px solid #cfcfcf; padding: 20px 22px; }
.contact-card p { margin: 0 0 6px; }
.cc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.cc-head p { margin: 0; }
.cc-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 6px 16px -6px rgba(0,0,0,.5); }
.cc-label { color: var(--muted); font-size: .84rem; }
.cc-name { font-size: 1.15rem; font-weight: 600; }
.contact-card a { font-weight: 600; font-size: 1.05rem; }

/* Rechtliches */
.legal { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 300; }
.legal h2 { font-size: 1.25rem; font-weight: 600; margin-top: 2em; }
.legal h3 { font-size: 1.02rem; margin-top: 1.4em; margin-bottom: .3em; }
.legal p { max-width: 68ch; }
#bewerbungsunterlagen { padding-top: 1em; border-top: 2px solid var(--bordeaux); }
.notfound .btn { margin-top: 12px; }

/* Fusszeile */
.site-footer { background: linear-gradient(180deg, #353535 0%, var(--black) 100%); color: var(--on-dark-muted); padding: 48px 0 24px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #444; }
.site-footer address { font-style: normal; line-height: 1.75; }
.site-footer strong { color: var(--on-dark); font-weight: 600; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.logo-footer { height: 54px; margin-bottom: 14px; }
.footer-claim { max-width: 34ch; }
.footer-contact { line-height: 1.9; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 20px; font-size: .84rem; }
.footer-legal span { margin-right: auto; }
.footer-legal a { color: var(--on-dark-muted); }

/* Knopf «Nach oben» */
.to-top {
  position: fixed; z-index: 60; right: max(18px, env(safe-area-inset-right, 0px) + 12px); bottom: max(18px, env(safe-area-inset-bottom, 0px) + 12px);
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bordeaux); color: #fff; box-shadow: 0 8px 22px -8px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s, background-color .15s; pointer-events: none;
}
.to-top[hidden] { display: grid !important; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--bordeaux-dark); color: #fff; }
.to-top svg { width: 26px; height: 26px; fill: currentColor; }
@media print { .to-top { display: none !important; } }

/* Wasserzeichen: das V als sehr schwacher Hintergrund, je Abschnitt anders platziert */
html, body { overflow-x: clip; }
.fields, .services, .apply, .site-footer, .job-layout, .legal, .job-hero { position: relative; isolation: isolate; }
.fields::before, .services::before, .apply::before, .site-footer::before, .job-layout::before, .legal::before, .job-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  aspect-ratio: 1776 / 1122;
  background: url("../img/v.svg") center / contain no-repeat;
}
.fields, .services, .apply, .site-footer { overflow: clip; }
.fields::before { width: min(62vw, 760px); left: -14vw; top: -40px; opacity: .045; transform: rotate(-8deg); }
.services::before { width: min(60vw, 760px); right: -14vw; bottom: -30%; opacity: .04; transform: rotate(6deg); }
.apply::before { width: min(70vw, 880px); left: -12vw; top: 18%; opacity: .07; }
.site-footer::before { width: 360px; right: 4vw; top: 18px; opacity: .07; transform: rotate(-4deg); }
.job-layout::before { width: min(80vw, 820px); left: -8vw; bottom: 4%; opacity: .035; transform: rotate(-6deg); }
.legal::before { width: min(56vw, 560px); right: -22vw; top: 30px; opacity: .05; transform: rotate(8deg); }
.job-hero::before { width: min(52vw, 620px); right: -6vw; top: -20%; opacity: .1; filter: brightness(10); }

/* Responsiv */
@media (max-width: 1000px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .header-row .header-info:not(.header-phone) { display: none; }
  .header-phone { text-align: right; }
  .intro-grid { grid-template-columns: minmax(0, 1fr) 220px; }
  .intro-copy { columns: 1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-cta { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .svc-cta h2:not(:first-child) { margin-top: 0; }
  .svc-cta h2:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .svc-cta .btn-block:nth-of-type(2) { grid-column: 2; grid-row: 2; }
}
@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; }
  .field-list { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .seg { grid-column: 1 / -1; justify-self: start; }
  .job-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .jr-main { grid-column: 1; }
  .jr-ref { grid-row: 1; grid-column: 2; align-self: start; }
  .jr-place, .jr-load { font-size: .88rem; color: var(--muted); grid-column: 1 / -1; }
  .apply-grid, .job-layout { grid-template-columns: 1fr; }
  .job-aside { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header-row { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .header-phone { display: none; }
  .nav-toggle { display: block; grid-column: 3; }
  .main-nav { display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .site-header.is-scrolled .header-row { min-height: 60px; }
  .site-header.is-scrolled .logo { height: 38px; }
  .nav-row { flex-direction: column; align-items: stretch; gap: 0; padding-block: 6px 16px; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid #333; }
  .main-nav .nav-phone { display: block; margin-top: 12px; text-align: center; border: 1px solid #444; border-radius: var(--r-sm); }
  .logo { height: 44px; }
  .intro-grid { grid-template-columns: 1fr; }
  .portrait { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; text-align: left; order: -1; }
  .portrait figcaption { margin: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-cta { display: block; }
  .svc-cta h2:not(:first-child) { margin-top: 26px; }
  .stats-grid { gap: 12px; }
}
@media (max-width: 600px) {
  .hero-search { flex-direction: column; }
  .hero-search input { padding: .75em .8em; }
  .filters { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .field-item { grid-template-columns: 2.4rem 1fr; }
  .fi-cta { display: none; }
  .fi-count { font-size: 1.7rem; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .seg { display: flex; width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .fields::before { width: 120vw; left: -40vw; }
  .apply::before { width: 150vw; left: -50vw; top: 2%; }
  .legal::before { right: -40vw; }
  .site-footer::before { width: 240px; right: -40px; }
}
@media print {
  .site-header, .site-footer, .apply, .job-aside .map-card, .hero-search { display: none !important; }
  .job-hero, .intro { background: none; }
  .fields::before, .services::before, .apply::before, .site-footer::before, .job-layout::before, .legal::before, .job-hero::before { display: none; }
}
