/* heyeres. steuerberatung – Sichermann & Brucksch PartG mbB
   Schriften lokal gehostet (keine Verbindung zu Google), keine Cookies, kein Tracking. */

/* ---------- Schriften ---------- */
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin-standard-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: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-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+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;
}

/* ---------- Gestaltungswerte (Farben aus dem Logo) ---------- */
:root {
  --ink: #3c3c3b;          /* Logo-Anthrazit: Text, dunkle Flächen */
  --ink-soft: #5a6366;     /* Nebentext */
  --petrol: #5293a2;       /* Logo-Petrol: Flächen, Linien, Markierungen */
  --petrol-dark: #356f7d;  /* Petrol dunkel: Links, Buttons (Kontrast > 5:1) */
  --petrol-darker: #2b5c68;
  --petrol-light: #8cbcc7; /* Petrol hell: Schrift auf dunklem Grund */
  --paper: #ffffff;
  --mist: #eef4f5;         /* getönte Abschnitte */
  --mist-deep: #d9e7ea;
  --line: #d3dfe2;
  --line-dark: #5c5c5a;
  --on-dark: #ececeb;
  --on-dark-soft: #bdbdbb;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: var(--serif);
  --display-weight: 560;

  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: 0.375rem;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: var(--display-weight);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: inherit;
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { padding: 0; }

a { color: var(--petrol-dark); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--petrol-dark); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-petrol :focus-visible { outline-color: #fff; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 10;
  background: var(--ink); color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--sans); text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.button--primary { background: var(--petrol-dark); color: #fff; }
.button--primary:hover { background: var(--petrol-darker); }
.button--secondary { border-color: var(--ink); color: var(--ink); }
.button--secondary:hover { background: var(--ink); color: #fff; }
.button--light { background: #fff; color: var(--ink); }
.button--light:hover { background: var(--mist); }

/* ---------- Kopfzeile ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 6rem; flex-wrap: wrap; }
.brand { display: block; margin-right: auto; padding-block: 1rem; }
.brand img { height: 4.25rem; width: auto; }

.site-nav ul { list-style: none; display: flex; gap: 0.25rem 1.75rem; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; padding-block: 0.5rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--petrol); text-decoration-thickness: 2px; }

.header-phone { font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.header-phone:hover { text-decoration: underline; }

.nav-toggle {
  display: none;
  font: 600 1rem/1 var(--sans); color: var(--ink);
  background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 0.6rem 1rem; cursor: pointer;
}

@media (max-width: 66rem) { .header-phone { display: none; } }
@media (max-width: 52rem) {
  .header-inner { gap: 0 1rem; min-height: 4.5rem; }
  .brand img { height: 3.25rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 1rem; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding-block: 0.85rem; font-size: 1.0625rem; }
}

/* ---------- Einstieg ---------- */
.hero { background: var(--mist); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 2rem 4rem; align-items: center; }
.hero h1 {
  font-size: clamp(1.9rem, 0.6rem + 4.2vw, 4rem);
  font-weight: calc(var(--display-weight) - 20);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: wrap;
}
.lead { margin-top: 1.5rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.5; max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

.quick {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.quick > div { padding: 1.25rem 1.5rem 0 0; }
.quick > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.quick dt { font-size: 0.875rem; color: var(--ink-soft); }
.quick dd { margin-top: 0.25rem; font-size: 1rem; line-height: 1.5; font-weight: 500; }
.quick a { color: var(--ink); }

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick > div { padding: 1.25rem 1rem 1rem 0; }
  .quick > div + div { padding-left: 0; border-left: 0; }
  .quick > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .quick > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 26rem) {
  .quick { grid-template-columns: 1fr; }
  .quick > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .quick > div + div { border-top: 1px solid var(--line); }
}

/* ---------- Partnerschaft und Chronik ---------- */
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark a { color: #fff; }
.change { padding-block: clamp(4rem, 8vw, 6rem); }
.change-intro { display: grid; grid-template-columns: 6fr 6fr; gap: 1.5rem 4rem; align-items: end; }
.change h2 { color: #fff; font-size: clamp(1.375rem, 0.9rem + 2.8vw, 2.5rem); max-width: 26ch; }
.change-intro p { color: var(--on-dark); max-width: 48ch; }

.timeline {
  list-style: none; position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0.5rem;
  height: 1px; background: var(--line-dark);
}
.timeline li { position: relative; padding-top: 2.25rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0.125rem;
  width: 0.75rem; height: 0.75rem;
  background: var(--ink); border: 2px solid var(--on-dark-soft);
}
.timeline .year { display: block; font-family: var(--display); font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--on-dark-soft); }
.timeline .event { display: block; margin-top: 0.6rem; font-size: 1rem; line-height: 1.5; color: var(--on-dark-soft); }
.timeline .is-current::before { background: var(--petrol); border-color: var(--petrol); width: 1rem; height: 1rem; top: 0; }
.timeline .is-current .year { color: var(--petrol-light); }
.timeline .is-current .event { color: #fff; font-weight: 500; }

@media (max-width: 52rem) {
  .change-intro { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline::before { left: 0.4375rem; right: auto; top: 0.5rem; bottom: 0.5rem; width: 1px; height: auto; }
  .timeline li { padding-top: 0; padding-left: 2.25rem; }
  .timeline li::before { top: 0.5rem; }
  .timeline .is-current::before { left: -0.125rem; top: 0.375rem; }
  .timeline .event { margin-top: 0.35rem; }
}

/* ---------- Abschnitte allgemein ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--mist); }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: 1rem 4rem; align-items: baseline; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2, .office h2, .contact h2 { font-size: clamp(1.75rem, 1rem + 2.4vw, 2.625rem); }
.section-head p { color: var(--ink-soft); max-width: 58ch; }
.section-link { margin-top: 2.5rem; font-weight: 600; font-size: 1rem; }
@media (max-width: 52rem) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Schwerpunkte ---------- */
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4.5rem); }
.focus-item { display: flex; flex-direction: column; border-top: 3px solid var(--petrol); padding-top: 2rem; }
.focus-item h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.focus-item > p { margin-top: 0.85rem; color: var(--ink-soft); max-width: 46ch; }

.ticks { list-style: none; margin-top: 1.5rem; }
.ticks li { position: relative; padding: 0.55rem 0 0.55rem 1.5rem; border-top: 1px solid var(--line); font-size: 1rem; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 1.15rem;
  width: 0.5rem; height: 0.5rem; background: var(--petrol);
}

.person { display: flex; gap: 1.25rem; align-items: center; margin-top: 2rem; }
.person p { font-size: 1rem; line-height: 1.45; }
.person strong { font-weight: 650; }
.person-role { font-size: 0.875rem; color: var(--ink-soft); }
.portrait { flex: none; width: 5.5rem; height: 5.5rem; border-radius: 50%; overflow: hidden; background: var(--mist-deep); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.more { margin-top: 1.75rem; font-weight: 600; font-size: 1rem; align-self: flex-start; }

@media (max-width: 52rem) { .focus-grid { grid-template-columns: 1fr; gap: 3.5rem; } }

/* ---------- Leistungen ---------- */
.service-list { list-style: none; border-bottom: 1px solid var(--line); }
.service-list li {
  display: grid; grid-template-columns: 5fr 7fr; gap: 0.5rem 4rem;
  padding-block: 1.5rem; border-top: 1px solid var(--line);
}
.service-list h3 { font-size: 1.375rem; }
.service-list h3 a { color: var(--ink); text-decoration: none; }
.service-list h3 a:hover { text-decoration: underline; text-decoration-color: var(--petrol); text-decoration-thickness: 2px; }
.service-list p { color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 52rem) { .service-list li { grid-template-columns: 1fr; } }

/* ---------- Mandanten ---------- */
.client-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem clamp(1.5rem, 4vw, 3rem); }
.client-grid li { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.client-grid h3 { font-size: 1.25rem; }
.client-grid p { margin-top: 0.5rem; font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 62rem) { .client-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .client-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Kanzlei ---------- */
.office-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem 4rem; align-items: center; }
.office-text p:not(.section-link) { margin-top: 1.25rem; color: var(--ink-soft); max-width: 44ch; }
.office-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.office-photo--natural img { aspect-ratio: auto; }
.team-photo { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.team-photo img { width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 52rem) { .office-grid { grid-template-columns: 1fr; } }

/* ---------- Stellen ---------- */
.on-petrol { background: var(--petrol-dark); color: #fff; }
.jobs { padding-block: clamp(2.75rem, 6vw, 4rem); }
.jobs-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.jobs h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.125rem); }
.jobs p { margin-top: 0.6rem; max-width: 56ch; }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 2.5rem 4rem; align-items: start; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.contact-grid > div { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.contact-grid h2, .contact-grid h3 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.contact-grid p { margin-top: 0.5rem; }
.contact-grid p + p { margin-top: 0.75rem; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.contact-photo figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 52rem) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-photo { max-width: 26rem; }
}
@media (max-width: 34rem) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Fußzeile ---------- */
.site-footer { padding-block: 3rem; font-size: 1rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 3rem; }
.footer-logo { height: 3.75rem; width: auto; margin-right: auto; }
.footer-contact { color: var(--on-dark-soft); line-height: 1.6; }
.footer-contact a { color: var(--on-dark); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-links a[aria-current="page"] { text-decoration-thickness: 2px; }

/* =========================================================
   Unterseiten
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fine { font-size: 0.9375rem; color: var(--ink-soft); }

/* Seitenkopf */
.page-head { background: var(--mist); padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2rem, 1rem + 3.6vw, 3.5rem); letter-spacing: -0.02em; }
.page-head .lead { max-width: 52ch; }
.page-head--plain { background: none; padding-bottom: 1.5rem; }
.section--flush-top { padding-top: 1rem; }

/* Bildband unter dem Seitenkopf */
.banner { background: var(--mist); }
.banner img { width: 100%; height: clamp(11rem, 26vw, 24rem); object-fit: cover; }
.banner--left img { object-position: 20% 40%; }
.banner--bottom img { object-position: 50% 92%; }

/* Zwei Spalten: Überschrift links, Text rechts */
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 1rem 4rem; align-items: start; }
.two-col h2 { font-size: clamp(1.625rem, 1rem + 2vw, 2.375rem); }
.two-col p + p { margin-top: 1rem; }
.two-col .actions { margin-top: 1.5rem; }
@media (max-width: 52rem) { .two-col { grid-template-columns: 1fr; } }

/* Leistungen: Inhaltsverzeichnis + Abschnitte */
.with-toc { display: grid; grid-template-columns: 16rem 1fr; gap: 2rem 5rem; align-items: start; }
.toc { position: sticky; top: 1.5rem; }
.toc ul { list-style: none; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 0.45rem 0 0.45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: 1rem; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--petrol); }
.detail-list { max-width: 46rem; }
.detail-list .intro { font-size: 1.1875rem; margin-bottom: 1rem; }
.detail { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.detail h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.detail > p { margin-top: 0.85rem; color: var(--ink-soft); }
.detail .ticks { margin-top: 1.25rem; }
.detail--focus { border-top: 3px solid var(--petrol); }
@media (max-width: 62rem) {
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 0.5rem; border-left: 0; }
  .toc a { margin: 0; padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9375rem; }
  .toc a:hover { border-color: var(--petrol); }
}

/* Hinweisbox */
.note { margin-top: 3.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--mist); border-left: 4px solid var(--petrol); }
.note h2 { font-size: 1.5rem; }
.note p { margin-top: 0.85rem; }
.note .button { margin-top: 0.5rem; }
.note--small { margin-top: 2.5rem; padding: 1.5rem; }
.note--small h2 { font-family: var(--sans); font-size: 1rem; font-weight: 650; }

/* Mandanten */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chips li { padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9375rem; background: var(--paper); }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 3rem); }
.branch-grid section { border-top: 2px solid var(--petrol); padding-top: 1.25rem; }
.branch-grid h3 { font-size: 1.375rem; }
.branch-grid ul { list-style: none; margin-top: 0.75rem; }
.branch-grid li { padding-block: 0.3rem; font-size: 1rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.branch-grid li:last-child { border-bottom: 0; }

/* Profil */
.history { display: grid; grid-template-columns: 6fr 5fr; gap: 2.5rem 5rem; align-items: start; }
.prose h2 { font-size: clamp(1.625rem, 1rem + 2vw, 2.375rem); margin-bottom: 1.25rem; }
.prose p { max-width: 64ch; }
.prose p + p { margin-top: 1rem; }
.history-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.history-photo figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 52rem) { .history { grid-template-columns: 1fr; } }

.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 5vw, 4rem); }
.partner { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: start; }
.partner img { width: 9rem; height: 9rem; border-radius: 50%; object-fit: cover; }
.partner h3 { font-size: 1.625rem; }
.partner-title { margin-top: 0.35rem; font-weight: 600; font-size: 1rem; line-height: 1.45; }
.partner p + p { margin-top: 0.75rem; }
.partner p:not(.partner-title) { color: var(--ink-soft); }
.partner a { font-weight: 600; font-size: 1rem; }
@media (max-width: 62rem) { .partner-grid { grid-template-columns: 1fr; } }
@media (max-width: 34rem) { .partner { grid-template-columns: 1fr; } .partner img { width: 7.5rem; height: 7.5rem; } }

.team-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 2.5rem 1.5rem; }
.team-grid li { text-align: center; }
.team-grid p { margin-top: 0.85rem; font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }
.team-grid strong { display: block; color: var(--ink); font-weight: 650; }
.team-grid .role { display: block; }
.team-grid .role--extra { margin-top: 0.3rem; font-size: 0.875rem; line-height: 1.35; color: var(--petrol-dark); }
.portrait--team { width: 8.5rem; height: 8.5rem; margin-inline: auto; }
.portrait--empty { display: grid; place-items: center; color: var(--petrol-dark); font-family: var(--display); font-size: 1.75rem; font-weight: 500; }
@media (min-width: 62rem) { .team-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 26rem) { .team-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } .portrait--team { width: 7rem; height: 7rem; } }

/* Stellenangebote */
.list-title { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin-top: 2rem; }
.benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin-top: 0.75rem; }
.benefits li { position: relative; padding: 0.55rem 0 0.55rem 1.5rem; border-top: 1px solid var(--line); font-size: 1rem; }
.benefits li::before { content: ""; position: absolute; left: 0.1rem; top: 1.15rem; width: 0.5rem; height: 0.5rem; background: var(--petrol); }
@media (max-width: 34rem) { .benefits { grid-template-columns: 1fr; } }

.job { background: var(--paper); border-top: 3px solid var(--petrol); padding: clamp(1.5rem, 4vw, 3rem); }
.job-head h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); }
.job-head p { margin-top: 0.4rem; color: var(--ink-soft); font-size: 1rem; }
.job-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; margin-top: 2rem; }
.job-body h4 { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin: 0 0 0.75rem; }
.job-apply { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.job-apply p { max-width: 62ch; }
.job-apply p + p { margin-top: 1.25rem; }
@media (max-width: 52rem) { .job-body { grid-template-columns: 1fr; } }

/* Impressum, Datenschutz */
.legal > * { max-width: 48rem; }
.legal h2 { font-size: 1.375rem; margin: 2.5rem 0 0.85rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1.0625rem; }
.legal ul { margin: 0.75rem 0 1rem 1.25rem; }
.legal li + li { margin-top: 0.25rem; }
.legal .fine { margin-top: 2.5rem; }
.facts { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 15rem 1fr; gap: 0.25rem 2rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.9375rem; color: var(--ink-soft); }
.facts dd { font-size: 1.0625rem; }
@media (max-width: 40rem) { .facts > div { grid-template-columns: 1fr; } }
