/* ==========================================================================
   Pferdehirt People & Talent Consulting – Stylesheet
   Markenfarben: Taupe #a2897d · Sand #f7eee6 · Bronze-Verlauf #eed5bb → #ab8672
   Schriften:    EB Garamond (Überschriften) · Georama (Fließtext), lokal gehostet
   ========================================================================== */

/* ---------- Fonts (lokal, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-wght-normal.woff2") format("woff2");
  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: "EB Garamond";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Georama";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/georama-latin-wght-normal.woff2") format("woff2");
  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: "Georama";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/georama-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---------- Design Tokens ---------- */
:root {
  --c-ink: #2a211d;
  --c-text: #3d3330;
  --c-muted: #5f524b;
  --c-brand: #a2897d;          /* Hauptfarbe (Taupe) */
  --c-brand-strong: #8c6d5e;   /* Buttons – Kontrast 4.7:1 zu Weiß */
  --c-brand-deep: #5c463b;     /* Footer, dunkle Flächen */
  --c-accent: #7a5c4c;         /* Links & Akzente auf Hell – 6:1 */
  --c-gold: #cdae97;           /* Dekor */
  --c-sand: #f7eee6;           /* Zweitfarbe */
  --c-sand-2: #efe2d6;
  --c-bubble-1: #e0cfc4;
  --c-bubble-2: #dfcdc0;
  --c-bubble-3: #ccb2a3;
  --c-line: #e7dcd3;
  --c-white: #fff;
  --c-focus: #2f6fb3;

  --grad-brand: linear-gradient(135deg, #a07d6a 0%, #8c6d5e 50%, #765a4b 100%);
  --grad-soft: linear-gradient(180deg, #fbf6f1 0%, #f7eee6 100%);

  --font-serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Georama", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
  --fs-h2: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.4rem, 1.7rem + 3vw, 4.25rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(60 40 30 / 0.06), 0 2px 8px rgb(60 40 30 / 0.05);
  --shadow: 0 2px 6px rgb(60 40 30 / 0.06), 0 12px 32px rgb(60 40 30 / 0.08);
  --shadow-lg: 0 8px 24px rgb(60 40 30 / 0.1), 0 24px 64px rgb(60 40 30 / 0.12);

  --container: 72rem;
  --container-narrow: 50rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-brand-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.18;
  color: var(--c-ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p, li { text-wrap: pretty; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-gold); color: var(--c-ink); }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important; min-height: 0 !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--c-ink); color: #fff; padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); }
.section { padding-block: var(--space-8); position: relative; }
.section--tight { padding-block: var(--space-7); }
.section--flush-top { padding-top: 0; }
.section--sand { background: var(--grad-soft); }
.section-head { max-width: 46rem; margin: 0 auto var(--space-7); text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--c-muted); font-size: var(--fs-lg); }
.section-head--split {
  max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: var(--space-5); text-align: left;
}
.section-head--split > div { max-width: 40rem; }
.section-title-sm { font-size: var(--fs-h3); margin-bottom: var(--space-5); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 var(--space-3);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(60 40 30 / 0.15), 0 6px 16px -6px rgb(118 90 75 / 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 2px 4px rgb(60 40 30 / 0.15), 0 12px 24px -8px rgb(118 90 75 / 0.6); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--lg { min-height: 3.5rem; padding: 0.95rem 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: rgb(255 255 255 / 0.85);
  color: var(--c-brand-deep);
  border-color: var(--c-bubble-3);
  box-shadow: none;
}
.btn--ghost:hover { background: #fff; color: var(--c-brand-deep); border-color: var(--c-brand-strong); box-shadow: var(--shadow-sm); }
.btn--light { background: var(--c-sand); color: var(--c-brand-deep); box-shadow: none; }
.btn--light:hover { background: #fff; color: var(--c-brand-deep); }
.btn--icon { width: 3rem; padding: 0; }
.btn--linkedin { background: #0a66c2; box-shadow: none; }
.btn--linkedin:hover { background: #004182; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; font-size: var(--fs-sm); color: var(--c-accent); text-decoration: none;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
a:hover > .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-brand-deep);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
a.chip:hover { border-color: var(--c-brand); background: var(--c-sand); color: var(--c-brand-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 4px 20px rgb(60 40 30 / 0.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: block; flex-shrink: 0; padding-block: 0.5rem; }
.brand__logo { width: clamp(150px, 12vw + 80px, 200px); height: auto; }

.site-nav__list { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.site-nav__link {
  display: block; padding: 0.55rem 0.85rem; border-radius: 999px;
  color: var(--c-text); font-size: 0.975rem; font-weight: 500; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.site-nav__link:hover { background: var(--c-sand); color: var(--c-brand-deep); }
.site-nav__link[aria-current] { color: var(--c-brand-deep); background: var(--c-sand); }
.site-nav__link--cta { background: var(--grad-brand); color: #fff; padding-inline: 1.2rem; margin-left: 0.5rem; }
.site-nav__link--cta:hover, .site-nav__link--cta[aria-current] { color: #fff; background: var(--c-brand-deep); }
.site-nav__contact { display: none; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.9rem; border: 1px solid var(--c-line); border-radius: 999px;
  background: #fff; color: var(--c-brand-deep); font-weight: 600; font-size: var(--fs-sm); cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.nav-toggle .icon { width: 1.35rem; height: 1.35rem; }

@media (max-width: 63.99em) {
  :root { --header-h: 4.25rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--c-line);
    box-shadow: 0 24px 48px rgb(60 40 30 / 0.14);
    padding: var(--space-4) var(--gutter) var(--space-6);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s var(--ease); }
  .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .js .site-nav__link { padding: 0.85rem 1rem; font-size: 1.125rem; border-radius: var(--radius-sm); }
  .js .site-nav__link--cta { margin: var(--space-3) 0 0; text-align: center; border-radius: 999px; }
  .js .site-nav__contact {
    display: grid; gap: var(--space-3); margin-top: var(--space-5); padding-top: var(--space-5);
    border-top: 1px solid var(--c-line);
  }
  .site-nav__contact a { display: flex; align-items: center; gap: 0.6rem; color: var(--c-muted); text-decoration: none; }
  /* Ohne JavaScript: Navigation als scrollbare Zeile */
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; overflow-x: auto; padding-bottom: 0.5rem; }
  html:not(.js) .site-nav__list { width: max-content; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--c-sand); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 70% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.96) 0%, rgb(255 255 255 / 0.9) 32%, rgb(255 255 255 / 0.45) 55%, rgb(255 255 255 / 0) 72%);
}
.hero__inner { display: flex; align-items: center; min-height: clamp(32rem, 72vh, 44rem); padding-block: var(--space-8); }
.hero__content { max-width: min(38rem, 54%); }
.hero__title { margin-bottom: var(--space-5); }
.hero__lead { font-size: var(--fs-lg); color: var(--c-text); max-width: 32rem; }

@media (max-width: 63.99em) {
  .hero { background: #fff; }
  .hero::before { display: none; }
  .hero__media { position: relative; inset: auto; z-index: auto; height: clamp(16rem, 52vw, 28rem); }
  .hero__media::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 35%;
    background: linear-gradient(180deg, rgb(255 255 255 / 0) 0%, #fff 100%);
  }
  .hero__img { object-position: 68% 22%; }
  .hero__inner { min-height: 0; padding-top: var(--space-4); padding-bottom: var(--space-7); margin-top: -2.5rem; position: relative; }
  .hero__content { max-width: 40rem; }
}
@media (max-width: 39.99em) {
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--c-line); background: #fff; }
.trust__list { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--space-4) var(--space-6); padding-block: var(--space-6); }
@media (min-width: 40em) { .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust__item { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.4; }
.trust__item strong { display: block; color: var(--c-ink); font-weight: 600; font-size: 1rem; }
.trust__item .icon {
  width: 2.75rem; height: 2.75rem; padding: 0.65rem; border-radius: 50%;
  background: var(--c-sand); color: var(--c-accent);
}

/* ---------- Service cards ---------- */
.service-grid { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-5); }
.service-card {
  position: relative;
  flex: 1 1 18rem; max-width: 22.5rem;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-sand); }
.service-card__media picture, .feature__media picture, .post-card__media picture { height: 100%; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5) var(--space-5) var(--space-6); }
.service-card__body p { color: var(--c-muted); font-size: var(--fs-sm); }
.service-card__title { font-size: 1.6rem; margin-bottom: 0.4em; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card .link-arrow { margin-top: auto; }
.service-card:focus-within { box-shadow: 0 0 0 3px var(--c-focus); }
.service-card__title a:focus-visible { outline: none; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--space-5); counter-reset: step; }
@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  counter-increment: step; position: relative;
  background: #fff; border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5) var(--space-5);
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: var(--space-5); right: var(--space-5);
  font-family: var(--font-serif); font-size: 2.25rem; line-height: 1; color: var(--c-bubble-1);
}
.step__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--grad-brand); color: #fff; margin-bottom: var(--space-4); }
.step__icon .icon { width: 1.4rem; height: 1.4rem; }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }

/* ---------- Bubbles (Markenelement) ---------- */
.bubbles { position: relative; overflow: hidden; isolation: isolate; background: var(--c-sand); }
.bubble { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.bubble--1 { background: var(--c-bubble-1); width: 15rem; height: 15rem; top: -6rem; left: -5rem; }
.bubble--2 { background: var(--c-bubble-2); width: 18rem; height: 18rem; top: -7rem; right: -6rem; }
.bubble--3 { background: var(--c-bubble-3); width: 22rem; height: 22rem; bottom: -15rem; left: -4rem; opacity: 0.75; }

/* ---------- About teaser ---------- */
.about-teaser {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: var(--c-bubble-3);
}
.about-teaser__text { display: flex; align-items: center; padding: clamp(2rem, 5vw, 4.5rem); }
.about-teaser__content { max-width: 32rem; }
.about-teaser__lead { font-family: var(--font-serif); font-size: var(--fs-h3); line-height: 1.35; color: var(--c-ink); }
.about-teaser__media { position: relative; min-height: 26rem; background: var(--c-bubble-3); }
.about-teaser__media picture, .about-teaser__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-teaser__media img { object-fit: cover; object-position: center 15%; }
@media (max-width: 55.99em) {
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser__media { min-height: 0; aspect-ratio: 4 / 5; max-height: 34rem; order: -1; }
}

/* ---------- Jobs ---------- */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--space-5); }
.job-grid--teaser { grid-template-columns: 1fr; }
@media (min-width: 40em) {
  .job-grid--teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-grid--teaser > :nth-child(3) { display: none; }
}
@media (min-width: 64em) {
  .job-grid--teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .job-grid--teaser > :nth-child(3) { display: flex; }
}
.job-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--space-5) var(--space-5) var(--space-5);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.job-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grad-brand); opacity: 0.85;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-bubble-1); }
.job-card:focus-within { box-shadow: 0 0 0 3px var(--c-focus); }
.job-card__category { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-accent); margin-bottom: var(--space-2); }
.job-card__title { font-size: 1.5rem; margin-bottom: 0.25em; }
.job-card__title a { color: var(--c-ink); text-decoration: none; }
.job-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.job-card__title a:focus-visible { outline: none; }
.job-card__subtitle { font-size: var(--fs-sm); color: var(--c-muted); font-weight: 500; margin-bottom: var(--space-3); }
.job-card__meta { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-4); font-size: var(--fs-sm); color: var(--c-text); }
.job-card__meta li { display: inline-flex; align-items: center; gap: 0.35rem; }
.job-card__meta .icon { width: 1.05rem; height: 1.05rem; color: var(--c-accent); }
.job-card__teaser { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: var(--space-4); }
.job-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; font-size: var(--fs-sm); color: var(--c-accent); }
.job-card__more .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
.job-card:hover .job-card__more .icon { transform: translateX(3px); }
.job-card--initiative { background: var(--c-sand); border-style: dashed; border-color: var(--c-bubble-3); }
.job-card--initiative::before { display: none; }

.job-filter {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "search search" "chips chips" "count count";
  position: relative; z-index: 10;
  display: grid; gap: var(--space-3) var(--space-4); align-items: center;
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.job-filter__search { position: relative; grid-area: search; }
.job-filter__search .icon { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; color: var(--c-muted); pointer-events: none; }
.job-filter__search input {
  width: 100%; min-height: 3rem; padding: 0.7rem 1rem 0.7rem 3rem;
  border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: 1rem;
}
.job-filter__search input:focus { outline: none; border-color: var(--c-brand-strong); box-shadow: 0 0 0 3px rgb(162 137 125 / 0.25); }
.job-filter__chips { grid-area: chips; display: flex; gap: var(--space-2); min-width: 0; margin: 0; padding: 0; border: 0; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.chip--toggle { position: relative; cursor: pointer; }
.chip--toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip--toggle:has(input:checked) { background: var(--c-brand-deep); border-color: var(--c-brand-deep); color: #fff; }
.chip--toggle:has(input:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.job-filter__count { grid-area: count; margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.job-filter__empty { text-align: center; padding: var(--space-6); color: var(--c-muted); }
@media (min-width: 40em) {
  .job-filter { grid-template-areas: "search count" "chips chips"; }
}
@media (min-width: 64em) {
  .job-filter { position: sticky; top: calc(var(--header-h) + 0.5rem); }
  .job-filter__chips { flex-wrap: wrap; overflow: visible; }
}

/* Job detail */
.page-hero--job { padding-bottom: var(--space-6); }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.badges li { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-brand-deep); background: var(--c-sand); border: 1px solid var(--c-bubble-1); padding: 0.3rem 0.75rem; border-radius: 999px; }
.job-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-5); font-weight: 500; color: var(--c-ink); }
.job-facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.job-facts .icon { color: var(--c-accent); }
.job-facts__extra { margin: var(--space-3) 0 0; color: var(--c-muted); font-size: var(--fs-sm); }
.job__grid { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: var(--space-7); align-items: start; }
.job__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.job__back { padding-bottom: var(--space-8); }
.job__quick-apply { display: none; }
@media (max-width: 63.99em) {
  .job__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .job__aside { position: static; }
  .job__quick-apply { display: flex; }
}

.contact-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow);
  display: grid; gap: var(--space-3);
}
.contact-card__person { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-2); }
.contact-card__person picture { flex-shrink: 0; }
.contact-card__photo { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid var(--c-sand); }
.contact-card__label { margin: 0; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-accent); }
.contact-card__name { margin: 0; font-family: var(--font-serif); font-size: 1.5rem; color: var(--c-ink); line-height: 1.2; }
.contact-card__role { margin: 0.2rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.4; }
.contact-card__note { display: flex; gap: 0.6rem; margin: var(--space-2) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--c-line); font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.5; }
.contact-card__note .icon { color: var(--c-accent); width: 1.15rem; height: 1.15rem; }
.share-box { margin-top: var(--space-4); padding: var(--space-4) var(--space-5); border: 1px dashed var(--c-bubble-3); border-radius: var(--radius-lg); background: var(--c-sand); }
.share-box__title { margin: 0; font-weight: 600; color: var(--c-ink); }
.share-box__text { margin: 0.15rem 0 var(--space-3); font-size: var(--fs-sm); color: var(--c-muted); }
.share-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.share-links a, .share-links button {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-brand-deep); cursor: pointer; padding: 0;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.share-links a:hover, .share-links button:hover { background: var(--c-brand-deep); color: #fff; transform: translateY(-1px); }
.share-links .icon { width: 1.2rem; height: 1.2rem; }
.share-links [hidden] { display: none; }
.share-box__status { margin: var(--space-2) 0 0; font-size: var(--fs-xs); color: var(--c-accent); min-height: 1em; }
.share-box__status:empty { display: none; }
.contact-card__heading { font-size: 1.75rem; margin-bottom: var(--space-2); }
.contact-card__calendly { margin-top: var(--space-4); padding: var(--space-5); background: var(--c-sand); border-radius: var(--radius); }
.contact-card__calendly h3 { font-size: 1.35rem; margin-bottom: 0.3em; }
.contact-card__calendly p { font-size: var(--fs-sm); color: var(--c-muted); }

.contact-list { list-style: none; display: grid; gap: var(--space-3); }
.contact-list li { display: flex; align-items: flex-start; gap: 0.65rem; line-height: 1.45; }
.contact-list .icon { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; color: var(--c-accent); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list--compact { font-size: var(--fs-sm); margin-top: var(--space-2); }
.contact-list--large { gap: var(--space-4); }
.contact-list--large li > span { display: grid; }
.contact-list__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.contact-list--large a { font-weight: 500; color: var(--c-ink); }

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero { padding-block: clamp(2.5rem, 2rem + 4vw, 5rem) var(--space-7); }
.page-hero h1 { max-width: 20em; }
.page-hero__lead { font-size: var(--fs-lg); color: var(--c-muted); max-width: 44rem; }
.chip-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }

.breadcrumb { margin-bottom: var(--space-5); font-size: var(--fs-sm); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--c-bubble-3); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-accent); text-decoration: underline; }

/* ---------- Feature (Leistungen) ---------- */
.feature { scroll-margin-top: var(--header-h); }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--c-sand); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__lead { font-family: var(--font-serif); font-size: var(--fs-h3); line-height: 1.35; color: var(--c-ink); }
.feature__content p:not(.feature__lead):not(.eyebrow) { color: var(--c-text); }
.feature__subtitle { font-size: 1.35rem; margin: var(--space-5) 0 var(--space-3); }
.feature__list { list-style: none; display: grid; gap: 0.6em; margin: 0 0 var(--space-4); }
.feature__list li { position: relative; padding-left: 1.85em; }
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15em; height: 1.15em; border-radius: 50%;
  background: var(--c-sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.7em no-repeat;
}
.section--sand .feature__list li::before { background-color: #fff; }
.feature__list strong { color: var(--c-ink); font-weight: 600; }
.feature__advantage { padding: var(--space-4) var(--space-5); margin-top: var(--space-4); border-radius: var(--radius); background: var(--c-sand); }
.section--sand .feature__advantage { background: #fff; }
.feature__advantage .feature__subtitle { margin-top: 0; }
.feature__advantage p { margin: 0; }
.feature__target {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: var(--space-4) var(--space-5); margin: var(--space-5) 0;
  background: #fff; border-left: 3px solid var(--c-brand); border-radius: var(--radius-sm);
  font-weight: 500; color: var(--c-ink); box-shadow: var(--shadow-sm);
}
.feature__target .icon { color: var(--c-accent); margin-top: 0.2rem; }
@media (max-width: 55.99em) {
  .feature__grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
}

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-lg); padding: clamp(3rem, 6vw, 5.5rem) var(--space-5); text-align: center; }
.cta-band__content { max-width: 42rem; margin-inline: auto; position: relative; }
.cta-band__title { margin-bottom: var(--space-3); }
.cta-band__text { font-size: var(--fs-lg); color: var(--c-text); }
@media (max-width: 39.99em) { .cta-band .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--space-3); }
.faq__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); transition: box-shadow 0.2s, border-color 0.2s; }
.faq__item[open] { border-color: var(--c-bubble-1); box-shadow: var(--shadow-sm); }
.faq__question {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); cursor: pointer; list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question h3 { margin: 0; font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); }
.faq__icon { display: grid; place-items: center; flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--c-sand); color: var(--c-accent); transition: transform 0.25s var(--ease), background 0.2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--c-brand-deep); color: #fff; }
.faq__answer { padding: 0 var(--space-5) var(--space-4); color: var(--c-muted); }
.faq__question:focus-visible { outline-offset: -3px; border-radius: var(--radius); }

/* ---------- About page ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--c-bubble-3); }
.about__photo::after { content: ""; position: absolute; inset: auto -3rem -3rem auto; width: 10rem; height: 10rem; border-radius: 50%; background: var(--c-bubble-1); opacity: 0.6; z-index: -1; }
.about__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 55.99em) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: static; order: -1; max-width: 28rem; }
}
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-5); text-align: center; margin-bottom: var(--space-6); }
.stat { display: grid; gap: 0.25rem; }
.stat__value { font-family: var(--font-serif); font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; color: var(--c-brand-deep); }
.stat__label { color: var(--c-muted); font-size: var(--fs-sm); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.tag-list li { background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 0.45rem 1rem; font-size: var(--fs-sm); color: var(--c-brand-deep); }
.quote-panel h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); }
.quote {
  margin: var(--space-6) 0 0; padding: calc(var(--space-7) + 0.5rem) var(--space-6) var(--space-5);
  background: var(--c-sand); border-radius: var(--radius-lg); position: relative;
}
.quote::before { content: "“"; position: absolute; top: 0.75rem; left: var(--space-6); font-family: var(--font-serif); font-size: 5.5rem; line-height: 1; color: var(--c-bubble-3); }
.quote p { font-family: var(--font-serif); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); line-height: 1.35; color: var(--c-ink); }
.quote footer { color: var(--c-accent); font-weight: 600; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: var(--space-6); }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card:focus-within { box-shadow: 0 0 0 3px var(--c-focus); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.post-card__body { padding: var(--space-5) var(--space-5) var(--space-6); display: flex; flex-direction: column; flex: 1; }
.post-card__body p { color: var(--c-muted); }
.post-card__title { font-size: 1.75rem; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:focus-visible { outline: none; }
.post-card .link-arrow { margin-top: auto; }
.post__byline { color: var(--c-muted); margin: 0; }
.post__figure { margin: 0 0 var(--space-6); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post__figure img { width: 100%; }
.post__actions { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--c-line); }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem); margin: 1.8em 0 0.6em; }
.prose h3 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); margin: 1.6em 0 0.5em; }
.prose ul { list-style: none; margin: 0 0 1.25em; display: grid; gap: 0.55em; }
.prose ul li { position: relative; padding-left: 1.85em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15em; height: 1.15em; border-radius: 50%;
  background: var(--c-sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.7em no-repeat;
}
.prose ol { margin: 0 0 1.25em 1.25em; }
.prose strong { color: var(--c-ink); font-weight: 600; }
.prose--large { font-size: var(--fs-lg); }
.prose--legal { max-width: none; overflow-wrap: anywhere; }
.prose--legal h2 { font-size: 1.65rem; padding-top: var(--space-4); border-top: 1px solid var(--c-line); }
.prose--legal h3 { font-size: 1.3rem; }
.prose--legal ul li::before { background: var(--c-bubble-3); width: 0.45em; height: 0.45em; top: 0.65em; left: 0.5em; }
.job__content h2 { padding-top: var(--space-5); border-top: 1px solid var(--c-line); }
.job__content > p:first-of-type { font-size: var(--fs-lg); color: var(--c-ink); }

/* ---------- Contact page / Forms ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 63.99em) { .contact__grid { grid-template-columns: 1fr; } }
.form-card { border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.form-card .bubble { opacity: 0.55; }
.form { position: relative; display: grid; gap: var(--space-4); }
.form__title { font-size: 1.9rem; margin: 0; }
.form__hint { margin: -0.5rem 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 39.99em) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); }
.field__optional { font-weight: 400; color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.95rem;
  border: 1px solid #d9c9bd; border-radius: var(--radius-sm); background: #fff;
  font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f524b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1.1rem no-repeat; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand-strong); box-shadow: 0 0 0 3px rgb(162 137 125 / 0.3); }
.field input[readonly] { background: var(--c-sand-2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3262d; }
.checkbox { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-text); line-height: 1.5; cursor: pointer; }
.checkbox input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; flex-shrink: 0; accent-color: var(--c-brand-deep); }
.form-notice { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: #fdf0ef; border: 1px solid #f0c2bd; color: #7d1f16; font-size: var(--fs-sm); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }

/* ---------- Map (Zwei-Klick-Lösung) ---------- */
.map-consent {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--c-sand) url("../img/map-placeholder.svg") center / cover no-repeat;
  border: 1px solid var(--c-line);
}
.map-consent__placeholder {
  position: relative; display: grid; place-items: center; align-content: center; text-align: center;
  min-height: 24rem; padding: var(--space-6) var(--space-5);
  background: rgb(250 245 240 / 0.78);
}
.map-consent__placeholder > * { max-width: 34rem; }
.map-consent__pin {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: var(--space-3);
  border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: var(--grad-brand); color: #fff; box-shadow: 0 6px 16px -4px rgb(92 70 59 / 0.5);
}
.map-consent__pin .icon { rotate: 45deg; width: 1.35rem; height: 1.35rem; }
.map-consent__title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--c-ink); margin-bottom: var(--space-2); }
.map-consent__text { font-size: var(--fs-sm); color: var(--c-muted); }
.map-consent iframe { display: block; width: 100%; height: 28rem; border: 0; }

/* Mini-Karte im Footer */
.map-consent--mini { aspect-ratio: 4 / 3; border-radius: var(--radius); border-color: rgb(255 255 255 / 0.15); }
.map-consent--mini .map-consent__placeholder { min-height: 100%; height: 100%; padding: var(--space-4); gap: var(--space-2); background: rgb(250 245 240 / 0.55); }
.map-consent--mini .map-consent__pin { width: 2.5rem; height: 2.5rem; margin-bottom: 0; }
.map-consent--mini .map-consent__pin .icon { width: 1.1rem; height: 1.1rem; }
.map-consent--mini .btn { margin-top: 0; }
.map-consent__hint { margin: 0; font-size: 0.75rem; color: var(--c-brand-deep); }
.site-footer .map-consent__hint a { color: var(--c-brand-deep); text-decoration: underline; }
.map-consent--mini.is-loaded iframe { height: 100%; }

.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.site-footer .map-consent .btn { color: #fff; }
.site-footer__route { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: var(--space-3); font-weight: 600; }
.site-footer__route .icon { width: 1.15rem; height: 1.15rem; color: var(--c-gold); }
.contact-list__route { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem; font-size: var(--fs-sm); font-weight: 600; color: var(--c-accent) !important; }
.contact-list__route .icon { width: 1rem; height: 1rem; margin: 0; }
.consent-status { display: block; margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--c-muted); }

/* ---------- Status pages ---------- */
.status-card { border-radius: var(--radius-lg); text-align: center; padding: clamp(3rem, 8vw, 6rem) var(--space-5); }
.status-card > * { position: relative; }
.status-card__icon { display: inline-grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--grad-brand); color: #fff; margin-bottom: var(--space-5); }
.status-card__icon .icon { width: 2rem; height: 2rem; }
.status-card__code { font-family: var(--font-serif); font-size: 6rem; line-height: 1; color: var(--c-brand); margin-bottom: var(--space-3); }
.status-card p { color: var(--c-muted); font-size: var(--fs-lg); max-width: 34rem; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-brand-deep); color: #eadcd1; font-size: var(--fs-sm); margin-top: var(--space-7); }
.page-home .site-footer, .page-job .site-footer { margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.15fr 0.75fr 1.1fr 1.2fr; gap: var(--space-6); padding-block: var(--space-8) var(--space-7); }
@media (max-width: 71.99em) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 39.99em) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__name { font-family: var(--font-serif); font-size: 2rem; line-height: 1.1; color: #fff; margin-bottom: var(--space-3); }
.site-footer__name span { display: block; font-family: var(--font-sans); font-size: var(--fs-sm); letter-spacing: 0.04em; color: #eadcd1; margin-top: 0.35rem; }
.site-footer__claim { font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; color: #f3e7dd; }
.site-footer__heading { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #dcc2ad; margin-bottom: var(--space-4); }
.site-footer__col ul { list-style: none; display: grid; gap: var(--space-2); }
.site-footer .contact-list .icon { color: var(--c-gold); }
.site-footer .btn { margin-top: var(--space-2); }
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--c-brand-deep); text-decoration: none; }
.social { list-style: none; display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgb(255 255 255 / 0.1); transition: background 0.2s; }
.social a:hover { background: rgb(255 255 255 / 0.22); }
.social .icon { width: 1.15rem; height: 1.15rem; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; align-items: center;
  padding-block: var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.14); font-size: var(--fs-xs);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; gap: var(--space-5); }

/* ---------- Schwebender WhatsApp-Button ---------- */
.wa-float {
  --wa: #1da851;
  position: fixed; z-index: 40;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; flex-direction: row-reverse;
  height: 3.5rem; min-width: 3.5rem;
  border-radius: 999px;
  background: var(--wa); color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.18), 0 10px 28px -6px rgb(29 168 81 / 0.55);
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { background: #168a43; color: #fff; transform: translateY(-2px); }
.wa-float__icon { width: 1.9rem; height: 1.9rem; margin-inline: 0.8rem; }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: var(--fs-sm); font-weight: 600;
  opacity: 0; padding-left: 0;
  transition: max-width 0.35s var(--ease), opacity 0.25s, padding 0.35s var(--ease);
}
@media (hover: hover) and (min-width: 48em) {
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 20rem; opacity: 1; padding-left: 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .wa-float { animation: wa-in 0.5s var(--ease) 0.8s both; }
}
@keyframes wa-in { from { opacity: 0; transform: translateY(16px) scale(0.9); } to { opacity: 1; transform: none; } }
.site-footer__bottom { padding-right: 4.5rem; }

/* ---------- Inhalte aus dem Baukasten (CMS) ---------- */
.content-figure { margin: var(--space-5) 0; }
.content-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.content-figure figcaption { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--c-muted); }
.content-button { margin: var(--space-5) 0; }
.prose .quote { margin: var(--space-6) 0; }
.draft-note {
  display: inline-block; margin: 0 0 var(--space-4); padding: 0.4rem 0.9rem; border-radius: 999px;
  background: #fff4dc; color: #6b4a00; font-size: var(--fs-sm); font-weight: 600;
}

/* Admin-Leiste (nur sichtbar, wenn im Admin-Bereich angemeldet) */
.admin-bar {
  position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem var(--space-4);
  padding: 0.45rem var(--gutter); background: #2a211d; color: #eadcd1; font-size: var(--fs-sm);
}
.admin-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.admin-bar a:hover { text-decoration: underline; }
.admin-bar .icon { width: 1rem; height: 1rem; color: var(--c-gold); }

/* ---------- Reveal-Animationen (nur mit JS & ohne reduzierte Bewegung) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .btn, .btn-row, .job__aside, .job-filter, .map-consent, .bubble, .wa-float { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1rem; }
  a { color: inherit; }
}
