/* ==========================================================================
   Poda. Personal- und Kaderselektion – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/open-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/open-sans-latin-italic.woff2") format("woff2");
}

:root {
  /* Markenfarben (aus dem bisherigen Auftritt übernommen) */
  --green: #618935;
  --green-bright: #6a992f;
  --green-deep: #4d7027;
  --green-dark: #43581b;
  --green-ink: #2c3a14;
  --tint: #f3f8ec;
  --tint-strong: #e6f1da;
  --sage: #bbcca5;

  --ink: #2b2f2c;
  --text: #4b504c;
  --muted: #6c726d;
  --line: #e1e6da;
  --bg: #ffffff;
  --bg-soft: #f8faf5;
  --footer: #333835;

  --radius: 14px;
  --radius-ctl: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 8px 24px rgba(0, 0, 0, 0.06);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1.1em; }
strong, b { color: var(--ink); font-weight: 600; }

a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green-dark); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   Kopfbereich
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--green-dark);
  color: #e9f1dd;
  font-size: 0.875rem;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 40px;
}
.topbar-claim { font-size: 0.875rem; font-weight: 400; }
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 84px;
}

/* Wortmarke */
.logo { display: inline-flex; align-items: flex-end; gap: 12px; text-decoration: none; line-height: 1; }
.logo-name {
  font-size: 2.9rem; font-weight: 300; letter-spacing: -0.01em; color: var(--green);
}
.logo-name span { font-weight: 800; }
.logo-sub {
  font-size: 0.9rem; letter-spacing: 0.07em; color: #6e706f; line-height: 1.3;
  padding-bottom: 0.42rem; white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block; padding: 8px 12px; border-radius: var(--radius-ctl);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.nav-link:hover { background: var(--tint); color: var(--green-dark); }
.nav-link[aria-current="page"] { color: var(--green-deep); background: var(--tint-strong); }
.nav-link.nav-cta { background: var(--green-deep); color: #fff; padding-inline: 16px; margin-left: 8px; }
.nav-link.nav-cta:hover,
.nav-link.nav-cta[aria-current="page"] { background: var(--green-dark); color: #fff; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-ctl); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--green-deep); color: var(--green-deep); background: transparent; }
.btn-outline:hover { background: var(--green-deep); color: #fff; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--tint-strong); color: var(--green-ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--green-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.more-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--green-deep);
}
.more-link::after { content: "→"; }
.more-link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Startseite: Bühne
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--green-dark);
  color: #fff;
  overflow: hidden;
}
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(420px, 44vw, 560px);
  opacity: 0; visibility: hidden;
  transition: opacity 400ms var(--ease), visibility 0s linear 400ms;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 400ms var(--ease), visibility 0s; }

.hero-text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px) clamp(72px, 7vw, 96px);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.hero-eyebrow {
  display: block; margin: 0 0 16px;
  font-size: 1rem; font-weight: 600; color: #dfeacf;
}
.hero-title {
  margin: 0 0 22px; color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-title strong { color: #fff; font-weight: 600; }
.hero-claim { margin: 0 0 32px; font-size: 1.1rem; color: #eaf3dc; max-width: 34ch; }

.hero-media { position: relative; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-dots {
  position: absolute; z-index: 3; bottom: 28px;
  left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: flex; gap: 10px; align-items: center;
}
.hero-dot {
  width: 34px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center;
}
.hero-dot::before {
  content: ""; display: block; width: 100%; height: 4px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.4); transition: background 0.2s ease;
}
.hero-dot[aria-current="true"]::before { background: #fff; }
.hero-dot:hover::before { background: rgba(255, 255, 255, 0.8); }

/* --------------------------------------------------------------------------
   Abschnitte & Karten
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; margin: 0; }
.eyebrow {
  display: block; margin-bottom: 12px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--green-deep);
}

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.card:hover { box-shadow: var(--shadow-lift); border-color: #cfdcbd; }
.card-icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  display: grid; place-items: center; border-radius: var(--radius-ctl);
  background: var(--tint-strong); color: var(--green-deep);
}
.card-icon svg { width: 24px; height: 24px; }
.card h2, .card h3 { font-size: 1.45rem; font-weight: 300; margin-bottom: 0.5em; }
.card h2 a, .card h3 a { color: inherit; text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card .lead { color: var(--green-deep); font-weight: 600; margin-bottom: 0.6em; }
.card p:last-of-type { margin-bottom: 1.4em; }
.card .more-link { margin-top: auto; }

/* Hinweisband (jobstrategin.ch) */
.callout {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--tint-strong); border-radius: var(--radius);
}
.callout > * { position: relative; }
.callout h2, .callout h3 { color: var(--green-dark); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 300; margin-bottom: 0.35em; }
.callout p { margin: 0; font-size: 1.08rem; color: #3f4a33; max-width: 62ch; }
.callout a:not(.btn) { color: var(--green-dark); font-weight: 600; }

/* --------------------------------------------------------------------------
   Unterseiten
   -------------------------------------------------------------------------- */

.page-head {
  position: relative; overflow: hidden;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 76px);
}
.page-head::after {
  content: ""; position: absolute; right: max(-40px, calc((100vw - var(--wrap)) / 2 - 80px)); top: 0;
  width: clamp(180px, 26vw, 360px); height: 100%;
  background: var(--green); opacity: 0.14;
  clip-path: polygon(0 0, 100% 0, 100% 28%, 46% 100%, 0 80%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { margin: 0; max-width: 20ch; }
.page-head .eyebrow { margin-bottom: 14px; }

.content-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.content-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0; margin-top: 1.8em; margin-bottom: 0.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.7em; margin-bottom: 0.4em; }
.lead-in { font-size: 1.15rem; color: var(--ink); }

.check-list { list-style: none; margin: 0 0 1.4em; padding: 0; }
.check-list li {
  position: relative; padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 600; line-height: 1.5;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--tint-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%234d7027' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.check-list a { color: inherit; text-decoration: none; }
.check-list a:hover { color: var(--green-deep); text-decoration: underline; }

.plain-list { margin: 0 0 1.2em; padding-left: 1.2em; }
.plain-list li { margin-bottom: 0.5em; }
.plain-list li::marker { color: var(--green); }
.plain-list .plain-list { margin-top: 0.6em; list-style: circle; }

.figure {
  margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--tint);
}
.figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.side-note { margin-top: 1.4em; }

.quote {
  margin: 1.4em 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--green);
  font-size: 1.08rem; color: var(--ink);
}

.person-name { font-size: 1.5rem; font-weight: 300; margin: 1.2em 0 0.2em; }
.person-role { color: var(--muted); margin-bottom: 0; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.post-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post { }
.post .kicker { font-size: 0.9rem; font-weight: 600; color: var(--green-deep); margin-bottom: 8px; }
.post .meta { color: var(--muted); font-size: 0.92rem; }
.card.post h3, .card.post h2 { font-size: 1.3rem; font-weight: 600; }

/* Tabs (Bewerbungstipps) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.tab {
  padding: 8px 16px; border-radius: var(--radius-ctl); border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.tab:hover { background: var(--tint); border-color: #cfdcbd; }
.tab[aria-selected="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.tab-panel { scroll-margin-top: 250px; }
.tab-panel[hidden] { display: none; }
.tab-panel > h2 { margin-bottom: 1em; }

/* Kontakt */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-item .card-icon { margin: 0; flex: none; width: 46px; height: 46px; }
.contact-item .label { display: block; font-size: 0.9rem; color: var(--muted); }
.contact-item .value { font-size: 1.15rem; color: var(--ink); font-weight: 600; text-decoration: none; }
a.value:hover { color: var(--green-deep); text-decoration: underline; }
.contact-item address { font-style: normal; color: var(--ink); font-weight: 600; line-height: 1.55; }

.map {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--tint);
}
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; }

.embed-note { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Stellenangebote
   -------------------------------------------------------------------------- */

.job-filter {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px;
  margin-bottom: 16px;
}
.field { position: relative; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 16px;
  font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #cfd6c6; border-radius: var(--radius-ctl);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(97, 137, 53, 0.18); }

.job-status { min-height: 1.7em; margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }

.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.job-card {
  display: flex; flex-direction: column; width: 100%; text-align: left;
  padding: clamp(24px, 2.6vw, 32px);
  font: inherit; color: inherit; text-decoration: none; cursor: pointer;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.job-card:hover { box-shadow: var(--shadow-lift); border-color: #cfdcbd; color: inherit; }
.job-card .job-area { font-size: 0.9rem; font-weight: 600; color: var(--green-deep); margin-bottom: 8px; }
.job-card .job-title { font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--ink); margin: 0 0 8px; }
.job-card .job-teaser { margin: 0 0 18px; font-size: 0.98rem; line-height: 1.6; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.job-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 6px; background: var(--tint-strong);
  font-size: 0.85rem; font-weight: 500; color: var(--green-ink);
}
.job-card .job-more { margin-top: auto; font-weight: 600; color: var(--green-deep); display: inline-flex; gap: 8px; }
.job-card .job-more::after { content: "→"; }
.job-card:hover .job-more { text-decoration: underline; }
.job-empty {
  grid-column: 1 / -1; padding: 40px; text-align: center;
  background: var(--bg-soft); border: 1px dashed #cfd6c6; border-radius: var(--radius);
}
.job-demo-note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); }

.job-dialog {
  width: min(820px, calc(100vw - 28px)); max-height: min(88vh, 900px);
  padding: 0; border: 0; border-radius: 16px; color: var(--text);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.job-dialog::backdrop { background: rgba(28, 36, 18, 0.5); }
.job-dialog[open] { display: flex; flex-direction: column; }
.job-dialog-head {
  position: relative; padding: 30px clamp(22px, 4vw, 40px) 24px;
  background: var(--tint); border-bottom: 1px solid var(--line);
}
.job-dialog-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; margin: 0 48px 12px 0; }
.job-dialog-head .job-tags { margin: 0; }
.job-dialog-head .job-tag { background: #fff; }
.job-dialog-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border: 0; border-radius: var(--radius-ctl); background: #fff; color: var(--ink); cursor: pointer;
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.job-dialog-close:hover { background: var(--green-deep); color: #fff; }
.job-dialog-body { padding: 26px clamp(22px, 4vw, 40px); overflow-y: auto; }
.job-dialog-body h3 { margin-top: 1.5em; margin-bottom: 0.5em; font-size: 1.05rem; }
.job-dialog-body h3:first-child { margin-top: 0; }
.job-dialog-body ul { margin: 0 0 1em; padding-left: 1.2em; }
.job-dialog-body li { margin-bottom: 0.35em; }
.job-dialog-body li::marker { color: var(--green); }
.job-dialog-foot {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 18px clamp(22px, 4vw, 40px); border-top: 1px solid var(--line); background: #fff;
}
.job-dialog-foot .ref { font-size: 0.9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Fussbereich
   -------------------------------------------------------------------------- */

.site-footer { background: var(--footer); color: #d6dbd3; font-size: 0.97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sage); text-decoration: underline; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 72px);
}
.footer-brand .logo-name { color: #fff; font-size: 2.4rem; }
.footer-brand .logo-name span { color: var(--green-bright); }
.footer-brand p { margin: 14px 0 0; color: var(--sage); max-width: 26ch; }
.site-footer h2 {
  font-size: 1rem; font-weight: 600;
  color: var(--sage); margin-bottom: 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; line-height: 1.75; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px; font-size: 0.88rem; color: #aab2a6;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Einblenden beim Scrollen
   -------------------------------------------------------------------------- */

/* Inhalte stehen sofort da (kein Einfliegen beim Scrollen) */
.js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .job-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .job-filter .field:first-child { grid-column: 1 / -1; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid > .aside { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
  .content-grid > .aside .figure img { aspect-ratio: 4 / 3; }
  .cards, .job-grid, .post-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(44, 58, 20, 0.35);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; }
  .nav-link { padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; }
  .nav-link.nav-cta { margin: 8px 0 0; text-align: center; }
  .topbar-claim { display: none; }
  .topbar .wrap { justify-content: center; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .site-header .wrap { min-height: 72px; }
  .logo-name { font-size: 2.3rem; }
  .logo-sub { font-size: 0.74rem; padding-bottom: 0.32rem; }

  .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; height: 56vw; max-height: 300px; }
  .hero-media img { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .hero-text { padding: 26px var(--gutter) 76px; }

  .cards, .job-grid, .post-grid, .post-grid.three,
  .content-grid, .content-grid.two { grid-template-columns: 1fr; }
  .content-grid > .aside { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  .job-filter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .topbar-contact { gap: 14px; font-size: 0.8rem; }
  .logo { gap: 9px; }
  .logo-name { font-size: 2rem; }
  .logo-sub { font-size: 0.68rem; letter-spacing: 0.04em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .hero-dots, .btn-row, .job-filter { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* jobdesk-Inserat in der Detailansicht */
.job-header-image { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; margin: 0 0 1.4em; }
.job-ad h2, .job-ad h3, .job-ad h4 { font-size: 1.05rem; margin: 1.5em 0 0.5em; }
.job-ad > :first-child { margin-top: 0; }
.job-ad ul, .job-ad ol { margin: 0 0 1em; padding-left: 1.2em; }
.job-ad li { margin-bottom: 0.35em; }
.job-ad li::marker { color: var(--green); }
.job-ad a { color: var(--green-deep); }
