/* Nunito Sans (SIL Open Font License 1.1), lokal eingebunden: keine Verbindung zu Drittservern */
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/nunito-sans-latin-400-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: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/nunito-sans-latin-ext-400-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: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/nunito-sans-latin-600-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: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/nunito-sans-latin-ext-600-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: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/nunito-sans-latin-700-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: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/nunito-sans-latin-ext-700-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: 'Nunito Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/nunito-sans-latin-800-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: 'Nunito Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/nunito-sans-latin-ext-800-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: 'Nunito Sans'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/nunito-sans-latin-900-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: 'Nunito Sans'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/nunito-sans-latin-ext-900-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; }

/* Basis & Firmenfarben (Werte aus dem Entwurf) */
:root {
  --base: #666c75;
  --ink: #23272c;
  --ink-2: #3a3e45;
  --muted: #5b616a;
  --line: #d5d7da;
  --page: #f2f2f2;
  --font: "Nunito Sans", "Avenir Next LT Pro", "Avenir Next", Avenir, system-ui, sans-serif;
  --maxw: 1280px;
}
[data-co="perm"]   { --main: #ae535c; --dark: #7c3039; --tint: #f3e4e6; --on-main: #fff; }
[data-co="praxis"] { --main: #91999f; --dark: #4b5359; --tint: #e8ebed; --on-main: #1f2328; }
[data-co="adv"]    { --main: #afa89d; --dark: #6a6356; --tint: #efede9; --on-main: #1f2328; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--page); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #1a5fb4; outline-offset: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
[id] { scroll-margin-top: 140px; }

/* Kopfbereich: drei Unternehmen immer sichtbar */
:root { --hdr-full: 69px; --hdr: 69px; }
html.is-scrolled { --hdr: 47px; }
body { padding-top: var(--hdr-full); }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: stretch; column-gap: 32px; }
.co-nav { display: flex; flex-wrap: wrap; column-gap: 6px; }
.co-nav.fill { flex: 1 1 100%; }
.co-nav.right { margin-left: auto; }
.co-tab { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px; min-height: 68px;
          border-bottom: 4px solid var(--main); }
.co-nav.fill .co-tab { flex: 1 1 220px; }
.co-tab img { height: 40px; width: auto; flex: none; }
.co-tab b { display: block; font-size: 15px; font-weight: 800; }
.co-tab small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.co-tab[aria-current="page"] { background: var(--tint); }
.home-logo { display: flex; align-items: center; padding: 8px 0; }
.home-logo img { height: 52px; width: auto; transition: height .2s ease; }
.co-tab, .co-tab img { transition: min-height .2s ease, height .2s ease, padding .2s ease; }
/* Beim Scrollen kleiner, damit die Leiste weniger Platz braucht */
html.is-scrolled .home-logo img { height: 40px; }
html.is-scrolled .brand-text { font-size: 20px; }
html.is-scrolled .co-tab { min-height: 46px; padding: 0 12px; gap: 8px; }
html.is-scrolled .co-tab img { height: 26px; }
html.is-scrolled .co-tab small { display: none; }
html.is-scrolled .co-tab b { font-size: 14px; }
.burger { display: none; }
.mobile-menu { display: none; }

/* Unterseiten-Menü (zweite feste Leiste) */
.sub-bar { position: sticky; top: var(--hdr); z-index: 9; transition: top .2s ease; background: var(--tint); border-bottom: 1px solid color-mix(in srgb, var(--dark) 25%, transparent); }
.sub-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.sub-bar nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.sub-bar nav a { padding: 15px 0 12px; border-bottom: 3px solid transparent; }
.sub-bar nav a:hover, .sub-bar nav a.is-current { border-bottom-color: var(--main); text-decoration: none; }
.sub-bar nav a.is-current { color: var(--dark); }
.sub-tools { margin-left: auto; display: flex; align-items: center; gap: 0 4px; font-size: 14px; font-weight: 800; color: var(--dark); }
.sub-tools a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.sub-tools svg { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; }
.hero .wrap { position: relative; }
.hero h1 { font-weight: 800; color: var(--dark); }
.hero-group { background: var(--page); scroll-margin-top: 72px; }
.hero-group > img { object-position: center; }
.hero-group .shade { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 38%, rgba(255,255,255,.2) 72%, rgba(255,255,255,0) 100%); }
.hero-group .wrap { padding-top: 88px; padding-bottom: 96px; min-height: 420px; display: flex; align-items: center; }
.hero-group .inner { flex: 0 1 640px; }
.hero-group .eyebrow { font-size: 14px; letter-spacing: .1em; color: var(--base); margin-bottom: 12px; }
.hero-group h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: 0; color: var(--ink-2); margin-bottom: 20px; }
.hero-group p.lead { max-width: 600px; font-size: 19px; line-height: 1.55; }

.hero-co { background: #e5edf4; min-height: 330px; }
.hero-co > img { object-position: left center; }
.hero-co .shade { background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 30%, rgba(255,255,255,.55) 100%); }
.hero-co .wrap { padding-top: 56px; padding-bottom: 104px; display: flex; justify-content: flex-end; }
.hero-co .inner { flex: 0 1 740px; }
.hero-co .kicker { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.hero-co h1 { font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 16px; }
.hero-co p.lead { max-width: 600px; font-size: 19px; line-height: 1.5; }

/* Infobox über dem Hero */
.infobox { position: relative; z-index: 2; margin: -64px auto 0; max-width: var(--maxw); padding: 0 32px; }
.infobox > div { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--main); padding: 24px 28px;
                 display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.infobox .hours { flex: 1 1 280px; }
.infobox .hours .eyebrow { color: var(--muted); margin-bottom: 4px; }
.infobox .hours p.big { font-size: 28px; line-height: 1.15; font-weight: 800; color: var(--dark); }
.infobox .addr { flex: 1 1 260px; font-size: 16px; color: var(--ink-2); }
.infobox .actions { flex: 1 1 280px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px;
       background: var(--main); color: var(--on-main); font-weight: 800; border-radius: 6px; }
.btn:hover { text-decoration: none; filter: brightness(.95); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.lg { min-height: 52px; font-size: 19px; border-radius: 6px; flex: 1 1 200px; }
.btn.outline { background: #fff; color: var(--dark); border: 2px solid var(--main); font-weight: 800; font-size: 16px; flex: 1 1 160px; border-radius: 6px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; color: var(--dark); font-weight: 800; text-decoration: underline; }
.link svg { width: 18px; height: 18px; }

/* Firmenkarten (Startseite) */
.cards { display: flex; flex-wrap: wrap; gap: 20px; padding: 64px 32px; max-width: var(--maxw); margin: 0 auto; }
.co-card { flex: 1 1 360px; min-width: 0; background: var(--tint); border-top: 4px solid var(--main); padding: 32px;
           display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 84px; }
.co-card .eyebrow { display: flex; align-items: center; gap: 12px; color: var(--dark); }
.co-card .eyebrow img { height: 48px; width: auto; }
.co-card h2 { font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: 0; color: var(--dark); }
.co-card .claim { font-size: 20px; line-height: 1.3; font-weight: 800; color: var(--dark); }
.co-card .desc { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.co-card .facts { border-top: 1px solid color-mix(in srgb, var(--dark) 35%, transparent); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.co-card .facts .eyebrow { color: var(--dark); }
.co-card .facts strong { font-size: 24px; font-weight: 800; line-height: 1.2; }
.co-card .note { background: #fff; border-left: 6px solid var(--main); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.co-card .note span { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.co-card .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.co-card .legal { padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--dark) 35%, transparent); font-size: 13px; color: var(--muted); }

/* Inhaltsabschnitte */
.band-white { background: #fff; }
.band-grey { background: var(--page); }
.section { padding: 64px 32px; max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px; }
.section h2 { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: 0; color: var(--ink-2); margin-bottom: 16px; }
.section p { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.section p + p { margin-top: 12px; }
.col { flex: 1 1 320px; min-width: 0; }
.steps { flex: 2 1 520px; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 24px; }
.steps li { flex: 1 1 200px; min-width: 0; border-top: 6px solid var(--c); padding-top: 16px; }
.steps li:nth-child(1) { --c: #ae535c; } .steps li:nth-child(2) { --c: #91999f; } .steps li:nth-child(3) { --c: #666c75; }
.steps small { font-size: 14px; font-weight: 800; color: var(--base); }
.steps h3 { margin: 4px 0 8px; font-size: 20px; font-weight: 800; }
.steps p { font-size: 16px; line-height: 1.5; }

.jobs { position: relative; }
.job-links { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; padding-top: 56px; }
.job-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 20px; border: 2px solid var(--main);
               border-radius: 6px; font-weight: 800; color: var(--dark); background: #fff; }
.job-links svg { width: 18px; height: 18px; }
.stoerer { position: absolute; top: 36px; right: 48px; width: 132px; height: 132px; border-radius: 50%; background: var(--main); color: var(--on-main);
           display: flex; align-items: center; justify-content: center; text-align: center; font-size: 21px; line-height: 1.1; font-weight: 800;
           transform: rotate(-8deg); }
.stoerer:hover { text-decoration: none; }

.map { flex: 2 1 480px; min-width: 0; min-height: 280px; background: #e8ebed; border: 1px dashed #8a8f97; border-radius: 8px;
       display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; font-weight: 700; }

/* Unterseiten */
.sub-section { max-width: var(--maxw); margin: 0 auto; padding: 24px 32px; }
.sub-section.first { padding-top: 72px; }
.sub-section h2.big { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: 0; color: var(--ink-2); margin-bottom: 32px; }
.pair { display: flex; flex-wrap: wrap; gap: 24px; }
.pair article { flex: 1 1 420px; min-width: 0; background: #fff; border-top: 4px solid var(--main); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.pair article.tint { background: var(--tint); }
.pair .eyebrow { color: var(--dark); }
.pair :is(h2, h3) { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: 0; }
.pair p { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.pair p.fact { margin-top: auto; padding-top: 12px; font-size: 20px; font-weight: 800; color: var(--dark); }
.banner { min-height: 160px; background: var(--tint); border: 1px dashed color-mix(in srgb, var(--main) 70%, transparent); border-radius: 6px; padding: 24px 32px;
          display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.banner :is(h2, h3) { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.banner p { font-size: 16px; color: var(--ink-2); max-width: 620px; }
.banner .btn { background: var(--main); color: var(--on-main); }
.contact { max-width: var(--maxw); margin: 0 auto; padding: 56px 32px 72px; display: flex; flex-wrap: wrap; gap: 40px; }
.contact h2 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: 0; color: var(--ink-2); margin-bottom: 16px; }
.contact p { font-size: 18px; line-height: 1.6; margin-bottom: 8px; }
.contact a.u { font-weight: 800; text-decoration: underline; }
.modules { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin: 0; }
.modules li { flex: 1 1 240px; background: #fff; border-top: 4px solid var(--main); padding: 20px 24px; font-size: 18px; font-weight: 800; color: var(--dark); }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.foot-cols > div { flex: 1 1 280px; min-width: 0; }
.foot-cols img { display: block; height: 64px; width: auto; max-width: 100%; margin-bottom: 16px; }
.foot-cols p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.foot-cols p.name { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.foot-fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.foot-fine a { text-decoration: underline; }
.site-footer.co-foot { background: var(--dark); color: #fff; border: 0; }
.site-footer.co-foot .wrap { padding: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: 15px; }
.site-footer.co-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer.co-foot a { text-decoration: underline; }

.todo { background: #fff3cd; padding: 0 .25em; border-radius: 3px; }

@media (max-width: 760px) {
  .wrap, .cards, .section, .sub-section, .contact, .infobox { padding-left: 20px; padding-right: 20px; }
  .stoerer { position: static; transform: rotate(-4deg); margin: 0 0 8px; }
  .job-links { padding-top: 0; }
  .hero-co .wrap { justify-content: flex-start; }
}

/* ---------- WordPress-Ergänzungen ---------- */
h2.big.sm { font-size: 30px; }
.prose img { height: auto; margin-bottom: 1rem; }
.prose p, .prose li { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.pair article p { margin: 0; }
.pair article p + p { margin-top: 12px; }
.pair article p.fact { margin-top: auto; }
.pair article > :where(div, ul, ol) { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.map.has-embed { position: relative; display: block; min-height: 380px; padding: 0; overflow: hidden; }
.map.has-embed iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.map.has-img img { width: 100%; height: 100%; object-fit: cover; }
.map.has-embed, .map.has-img { border: 0; }
.banner { position: relative; overflow: hidden; }
.banner .banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.banner > :not(.banner-bg) { position: relative; }
.hero > img { display: block; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.admin-bar .site-header { top: 32px; }
.admin-bar .sub-bar { top: calc(32px + var(--hdr)); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .sub-bar { top: calc(46px + var(--hdr)); } }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Bildsprache ---------- */
:root { --main: var(--base); }



.prose.with-img { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.prose.with-img figure { margin: 0; }
.prose.with-img img { display: block; width: 100%; height: auto; margin: 0; border-radius: 6px; }
.prose.img-links figure { order: -1; }
.prose.img-rechts { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.prose.img-oben { grid-template-columns: 1fr; }

@media (max-width: 760px) {
  .prose.with-img, .prose.img-rechts { grid-template-columns: 1fr; }
  .prose.img-rechts figure { order: -1; }
}

/* Startseite: drei Spalten aus Reiter, Foto und Karte */
.brand-text { font-size: 28px; font-weight: 800; letter-spacing: 0; color: var(--base); }
.columns { max-width: var(--maxw); margin: 0 auto; padding: 32px 32px 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.co-col { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 20px; }
.col-photo { --col-ratio: 3 / 4; position: relative; display: block; flex: none; aspect-ratio: 3 / 4; overflow: hidden; background: var(--page); }
.col-photo > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 25%; transition: transform .4s ease; }
.col-photo:hover > img { transform: scale(1.02); }
.col-logo { display: block; padding: 14px 24px; background: #fff; border-bottom: 4px solid var(--main); }
.col-logo:hover { text-decoration: none; }
.col-logo img { display: block; height: 56px; width: auto; max-width: 100%; }
.co-col .co-card { flex: 1; border-top: 0; }
@media (max-width: 900px) {
  .columns { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .col-photo { --col-ratio: 4 / 5; }
}

/* Karten ausrichten: Öffnungszeiten, Hinweis, Button/Link und Rechtsform beginnen in allen Spalten auf gleicher Höhe */
@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    .columns { column-gap: 12px; row-gap: 0; }
    .co-col { display: grid; grid-row: span 10; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); }
    .col-photo { grid-row: 1; }
    .col-logo { grid-row: 2; }
    .co-col .co-card { grid-row: 3 / span 8; display: grid; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 18px; align-content: start; }
    /* Zielgruppe, Titel, Claim und Text liegen je in einer eigenen Zeile, damit der Claim in allen Spalten auf gleicher Höhe steht */
    .co-card .card-head { display: contents; }
    .co-card .card-head .eyebrow { grid-row: 1; align-self: start; }
    .co-card .card-head h2 { grid-row: 2; align-self: start; }
    .co-card .card-head .claim { grid-row: 3; align-self: start; }
    .co-card .card-head .desc { grid-row: 4; align-self: start; }
    .co-card .facts { grid-row: 5; align-self: start; }
    .co-card .note { grid-row: 6; align-self: start; }
    .co-card .row { grid-row: 7; align-self: start; margin-top: 0; }
    .co-card .legal { grid-row: 8; align-self: end; }
  }
}

/* Telefon-Button und Link in getrennten Zeilen */
.co-card .row { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: start; align-items: stretch; gap: 10px; }
.co-card .row .btn, .co-card .row .btn-outline { width: 100%; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 2px solid var(--dark); border-radius: 6px; background: transparent; color: var(--dark); font-weight: 800; }
.btn-outline:hover { text-decoration: none; background: color-mix(in srgb, var(--dark) 10%, transparent); }
.btn-outline svg { width: 18px; height: 18px; flex: none; }

/* Jobs: Text links, Job-Links rechts unterhalb des Störers (Störer: 36 px Abstand oben, 132 px hoch) */
.jobs .job-links { padding-top: 124px; }
@media (max-width: 760px) { .jobs .job-links { padding-top: 0; } }

/* ---------- Jobs ---------- */
.job-board { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; scroll-margin-top: 140px; }
.job-board .eyebrow { color: var(--muted); margin-bottom: 8px; }
.job-board h2 { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: 0; color: var(--ink-2); margin-bottom: 12px; }
.job-intro { max-width: 720px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 36px; align-items: start; }
.has-info .job-layout { grid-template-columns: minmax(0, 1fr) 340px; }
.job-group + .job-group { margin-top: 40px; }
.job-group-title { margin: 0 0 16px; padding-left: 12px; border-left: 6px solid var(--main); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 94px 20px; padding-top: 74px; }
.job-card { position: relative; display: flex; flex-direction: column; background: var(--page); border-top: 4px solid var(--main); transition: box-shadow .2s ease, transform .2s ease; }
.job-card:hover { box-shadow: 0 8px 24px rgba(35, 39, 44, .12); transform: translateY(-2px); }
.job-body { flex: 1; display: flex; flex-direction: column; padding: 36px 22px 24px; }
.job-co { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); margin-bottom: 6px; }
.job-card h3 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: 0; margin: 0 0 12px; }
.job-meta { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 16px; font-weight: 700; }
.job-meta li { display: contents; }
.job-meta span { font-weight: 600; color: var(--muted); }
.job-text { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-bottom: 12px; }
.job-cta { margin-top: auto; padding-top: 8px; }
.job-empty { font-size: 18px; color: var(--ink-2); }

.job-info { background: var(--page); border-top: 6px solid var(--base); padding: 28px; position: sticky; top: 160px; }
.job-info-block + .job-info-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.job-info p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0 0 12px; }
.job-info strong { color: var(--ink); }
.job-info a { text-decoration: underline; font-weight: 700; }
.job-badges { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.job-badges img { display: block; height: 84px; width: auto; max-width: 100%; }

@media (max-width: 1000px) {
  .has-info .job-layout { grid-template-columns: 1fr; }
  .job-info { position: static; }
}
@media (max-width: 760px) {
  .job-board .wrap { padding-left: 20px; padding-right: 20px; }
}

/* Jobs-Seite: kompakter Einstieg ohne überlappende Infobox */

/* Ganze Karte klickbar: Link spannt sich über die Karte */
.job-card.has-pdf { cursor: pointer; }
.job-pdf-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; color: var(--dark); }
.job-pdf-link:hover { text-decoration: none; }
.job-pdf-link::after { content: ""; position: absolute; inset: 0; }
.job-pdf-link:hover .pdf-btn, .job-pdf-link:focus-visible .pdf-btn { filter: brightness(.92); }
.job-card.has-pdf:hover h3 { text-decoration: underline; }
.pdf-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--main); color: var(--on-main); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.pdf-btn svg { width: 14px; height: 14px; }
.job-pdf-link:focus-visible { outline-offset: 6px; }

.job-info-title { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); }

/* Seitenleiste der Jobs-Seite: Gestaltung wie die Infoboxen (Firmenfarbe, Tönung, farbiger Kopf) */
.has-info .job-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
.job-info { background: var(--tint); border-top: 4px solid var(--main); border-left: 0; padding: 32px 30px 30px; }
.job-info-block + .job-info-block { margin-top: 26px; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--dark) 25%, transparent); }
.job-info p { color: var(--ink); }
.job-info a { color: var(--dark); }
.job-info-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--dark); }
.job-info-title::before { content: ""; flex: none; width: 22px; height: 4px; background: var(--main); }
.job-info strong { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); }
.job-badges { margin-top: 26px; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--dark) 25%, transparent); display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.job-badges li { display: flex; align-items: center; justify-content: center; padding: 14px; background: #fff; }
.job-badges img { height: 72px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 1000px) { .has-info .job-layout { grid-template-columns: 1fr; } }

/* ---------- Team (Gestaltung wie die Jobs-Seite) ---------- */
.team-board { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0 64px; }
.team-group + .team-group { margin-top: 52px; }
.team-group-title { margin: 0 0 16px; padding-left: 12px; border-left: 6px solid var(--main); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); }
.team-intro { max-width: 720px; margin-bottom: 20px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }

.person-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.person-card { position: relative; display: flex; flex-direction: column; background: var(--page); border-top: 4px solid var(--main); transition: box-shadow .2s ease, transform .2s ease; }
.person-card.is-clickable:hover { box-shadow: 0 8px 24px rgba(35, 39, 44, .12); transform: translateY(-2px); }
.pc-photo { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tint); }
.pc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.pc-photo.is-initials { display: flex; align-items: center; justify-content: center; }
.pc-photo.is-initials span { font-size: 64px; font-weight: 800; letter-spacing: 0; color: var(--dark); opacity: .55; }
.pc-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.pc-body h3 { font-size: 20px; line-height: 1.2; font-weight: 800; margin: 0 0 6px; }
.pc-role { font-size: 15px; line-height: 1.45; color: var(--muted); }
.pc-more { margin: auto 0 0; padding-top: 14px; }
.pc-open { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: var(--dark); text-align: left; cursor: pointer; }
.pc-open::after { content: ""; position: absolute; inset: 0; }
.pc-open svg { width: 18px; height: 18px; flex: none; }
.pc-open:focus-visible { outline: 3px solid #1a5fb4; outline-offset: -3px; }

.person-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 16px; }
.person-row { display: flex; flex-direction: column; gap: 2px; padding: 13px 16px; background: var(--page); border-left: 4px solid var(--main); }
.person-row strong { font-size: 17px; font-weight: 800; }
.person-row span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.person-row.is-clickable { padding: 0; }
.pr-open { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 13px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pr-open:hover { background: var(--tint); }

/* Detailfenster einer Person */
body:has(dialog[open]) { overflow: hidden; }
.person-dialog { width: min(92vw, 780px); max-height: 90vh; padding: 0; overflow: auto; border: 0; border-top: 6px solid var(--main); background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.person-dialog::backdrop { background: rgba(35, 39, 44, .6); }
.pd-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; padding: 32px; }
.pd-inner.has-photo { grid-template-columns: 240px minmax(0, 1fr); }
.pd-photo { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tint); }
.pd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.pd-close { position: absolute; top: 6px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 34px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.pd-close:hover { color: var(--dark); }
.pd-text h3 { margin: 0 0 4px; padding-right: 40px; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: 0; }
.pd-role { margin: 0 0 18px; font-size: 16px; color: var(--muted); }
.pd-profile p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.pd-contact { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 17px; font-weight: 700; }
.pd-contact li { display: flex; align-items: center; gap: 10px; }
.pd-contact li svg { flex: none; width: 20px; height: 20px; color: var(--main); }
.pd-contact a { color: var(--dark); text-decoration: underline; word-break: break-word; }

@media (max-width: 760px) {
  .team-board .wrap { padding-left: 20px; padding-right: 20px; }
  .pd-inner, .pd-inner.has-photo { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .pd-photo { max-height: 320px; aspect-ratio: 1 / 1; }
}

/* ---------- Hinweisboxen ---------- */
.notices { padding-top: 16px; padding-bottom: 16px; }
.notice { --nb: var(--tint); display: flex; align-items: flex-start; gap: 20px; padding: 24px 28px; background: var(--tint); border-left: 6px solid var(--main); color: var(--ink); }
.notice-icon { flex: none; color: var(--dark); }
.notice-icon svg { display: block; width: 32px; height: 32px; }
.notice-icon .glyph { fill: var(--nb); }
.notice-body { min-width: 0; }
.notice :is(h2, h3) { margin: 0 0 6px; font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--dark); }
.notice-text { font-size: 17px; line-height: 1.6; }
.notice-text p { margin: 0; }
.notice-text p + p { margin-top: 10px; }
.notice-text a { text-decoration: underline; font-weight: 700; }
.notice.is-strong { --nb: var(--main); background: var(--main); color: var(--on-main); border-left-color: var(--dark); }
.notice.is-strong .notice-icon, .notice.is-strong :is(h2, h3) { color: inherit; }
@media (max-width: 760px) { .notice { padding: 20px; gap: 14px; } .notice-icon svg { width: 26px; height: 26px; } }

.pair .card-link { margin: 10px 0 0; }
.pair .card-link .btn { gap: 10px; }
.pair .card-link .btn:hover { text-decoration: none; }
.pair .card-link .btn svg { width: 18px; height: 18px; flex: none; }

/* Störer auf der Stellenkarte: runder Button mit dem Claim des Unternehmens, halb über der Karte */
.job-stoerer { position: absolute; top: -74px; right: 14px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: var(--main); color: #fff; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; text-align: center; font-size: 14px; line-height: 1.15; font-weight: 800; box-shadow: 0 4px 14px rgba(35, 39, 44, .18); pointer-events: none; }
.job-stoerer span { display: block; padding: 0 8px; }

/* ---------- PDF-Button in Hinweisboxen ---------- */
.notice-actions { margin: 14px 0 0; }
.notice-actions .btn { min-height: 44px; }
.notice.is-strong .notice-actions .btn { background: #fff; color: var(--dark); }
.notice-actions .btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Spaltenkarten mit Aufzählung ---------- */
.cols-intro { max-width: 720px; margin: 0 0 20px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.cols-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cols-card { background: #fff; border-top: 4px solid var(--main); padding: 28px 28px 26px; }
.cols-card :is(h2, h3) { margin: 0 0 16px; font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--dark); }
.cols-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cols-card li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.cols-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--main); }

/* ---------- Einbettung (erst nach Klick geladen) ---------- */
.embed-frame { --h: 480px; position: relative; height: var(--h); background: #e8ebed; border: 1px solid var(--line); overflow: hidden; }
.embed-frame.h-niedrig { --h: 320px; }
.embed-frame.h-hoch { --h: 640px; }
.embed-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.embed-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.embed-gate p { max-width: 540px; margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) { .embed-frame { --h: 360px; } .embed-frame.h-hoch { --h: 460px; } }

/* ---------- Startseite: Über uns und Philosophie ---------- */
.about .col { flex: 1.3 1 360px; }
.about .eyebrow { color: var(--muted); margin-bottom: 8px; }
.prose-block p { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.prose-block p + p { margin-top: 14px; }
.quotes { flex: 1 1 340px; min-width: 0; display: grid; gap: 20px; align-content: start; }
.quote-card { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px; background: var(--page); border-top: 4px solid var(--base); }
.quote-card:not(:has(.quote-photo)) { grid-template-columns: 1fr; }
.quote-photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; }
.quote-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.quote-card blockquote { margin: 0 0 12px; font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--ink-2); }
.quote-card blockquote::before { content: "\201E"; }
.quote-card blockquote::after { content: "\201C"; }
.quote-name { margin: 0; font-size: 16px; font-weight: 800; }
.quote-name span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }

@media (max-width: 760px) { .quote-card { grid-template-columns: 88px minmax(0, 1fr); } }


@media (max-width: 760px) { .hero-co { min-height: 260px; } }

/* ---------- Einstieg: Störer, Bildausschnitt «Aus» ---------- */
.hero-plain .shade { display: none; }
.hero-stoerer { position: absolute; top: 28px; right: calc(max(0px, (100% - var(--maxw)) / 2) + 32px); z-index: 2; display: flex; align-items: center; justify-content: center; width: 224px; height: 224px; padding: 20px; border-radius: 50%; background: var(--main); color: #fff; text-align: center; font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: 0; transform: rotate(8deg); }
a.hero-stoerer:hover { text-decoration: none; filter: brightness(.95); }
.hero-stoerer span { display: block; }
@media (min-width: 1001px) { .hero-has-stoerer .wrap { padding-right: calc(32px + 224px + 32px); } }
@media (max-width: 1000px) {
  .hero-stoerer { position: relative; top: auto; right: auto; width: 136px; height: 136px; padding: 12px; margin: 20px 32px 0 auto; font-size: 20px; }
}
@media (max-width: 760px) { .hero-stoerer { margin-right: 20px; } }

/* Startseite: Wechsel Weiss / Hellgrau, Philosophie als helles Band mit den drei Firmenfarben */
.band-grey .quote-card { background: #fff; }
.philo { background: #fff; color: var(--ink); padding: 72px 0 80px; scroll-margin-top: 20px; }
.philo .eyebrow { margin-bottom: 10px; color: var(--muted); }
.philo-statement { max-width: 900px; margin: 0 0 40px; font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: 0; color: var(--ink-2); }
.philo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 40px; }
.philo-list li { display: flex; gap: 14px; align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.philo-list svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--base); }
@media (max-width: 760px) { .philo { padding: 56px 0 64px; } }

/* Startseite: gleiche Grösse für die Zeile über dem Titel («Die MedCenter Unternehmensgruppe», «Unsere Philosophie») */
.about .eyebrow, .philo .eyebrow { font-size: 18px; line-height: 1.55; margin-bottom: 8px; }

/* Kartenbild (Alternative zu Google Maps): kleiner, unbeschnitten, in seinem Seitenverhältnis */
.map.has-img { flex: 0 1 380px; min-height: 0; align-self: flex-start; background: none; border-radius: 6px; overflow: hidden; }
.map.has-img img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 760px) { .map.has-img { flex-basis: 100%; max-width: 380px; } }

/* Störer der Stellenkarte: längere Wörter (mehr als 10 Zeichen) etwas kleiner, damit sie im Kreis bleiben */
.job-stoerer.is-long { font-size: 12px; }
.job-stoerer span { overflow-wrap: normal; }


/* ---------- Textseite (z. B. Datenschutzerklärung) ---------- */
.textpage-head { background: #fff; padding: 56px 0 36px; }
.textpage-head .eyebrow { color: var(--muted); margin-bottom: 8px; }
.textpage-head h1 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: 0; color: var(--ink-2); }
.textpage-lead { max-width: 720px; margin: 0 0 10px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.textpage-stand { margin: 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.textpage { background: var(--page); padding: 48px 0 72px; }
.textpage-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.textpage-grid.has-toc { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.textpage-toc { position: sticky; top: 105px; max-height: calc(100vh - 184px); overflow-y: auto; padding: 20px 22px; background: #fff; border-top: 4px solid var(--base); }
.textpage-toc .eyebrow { color: var(--muted); margin: 0 0 10px; }
.textpage-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.4; }
.textpage-toc a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.textpage-toc a:hover { color: var(--ink); }
.textpage-body { max-width: 800px; min-width: 0; }
.textpage-body > section { scroll-margin-top: 96px; }
.textpage-body > section + section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.textpage-body h2 { margin: 0 0 14px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: 0; color: var(--ink-2); }
.textpage-text { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.textpage-text h3 { margin: 24px 0 8px; font-size: 20px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.textpage-text p { margin: 0 0 14px; }
.textpage-text ul, .textpage-text ol { margin: 0 0 14px; padding-left: 24px; }
.textpage-text li { margin: 0 0 6px; }
.textpage-text a { color: var(--ink); text-decoration: underline; font-weight: 600; }
.textpage-text table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 16px; }
.textpage-text th, .textpage-text td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
@media (max-width: 900px) {
  .textpage-grid.has-toc { grid-template-columns: 1fr; gap: 28px; }
  .textpage-toc { position: static; }
}
@media (max-width: 760px) { .textpage-head, .textpage { padding-left: 0; padding-right: 0; } }

/* Kontakt: E-Mail direkt unter der Adresse, Link als Button mit Rahmen */
.mail-link { font-weight: 800; text-decoration: underline; color: var(--ink); }
.anreise-button, .contact-button { margin-top: 14px; }
.anreise-button .btn-outline { --dark: var(--base); }

/* Unterseite eines Unternehmens (z. B. Angebot) */
.unterseite { padding: 0; }

/* Einbettung mit Standbild: Bild im Hintergrund, Datenschutzhinweis in einer Fläche darüber */
.embed-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.embed-frame.has-poster .embed-gate { background: rgba(35, 39, 44, .35); }
.embed-panel { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.embed-frame.has-poster .embed-panel { max-width: 560px; padding: 24px 28px; background: rgba(255, 255, 255, .94); border-radius: 6px; box-shadow: 0 6px 24px rgba(35, 39, 44, .25); }

/* Hauptkarten: Text, hervorgehobene Zeile und Button liegen in allen Karten einer Reihe auf derselben Höhe,
   egal wie viel Inhalt die Karte hat. */
.pair .card-main { display: flex; flex-direction: column; gap: 14px; }
.pair article > .fact, .pair article > .card-link { align-self: start; }
@supports (grid-template-rows: subgrid) {
  .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 24px; }
  .pair article { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 24px; align-content: start; }
  .pair article > .card-main { grid-row: 1; }
  .pair article > .fact { grid-row: 2; margin-top: 14px; padding-top: 0; }
  .pair article > .card-link { grid-row: 3; margin-top: 14px; }
}
@supports not (grid-template-rows: subgrid) {
  .pair article > .card-main { flex: 1; }
  .pair article > .fact { margin-top: 14px; }
}

/* Eine einzelne letzte Karte in der Reihe (z. B. die dritte) nimmt die volle Breite */
@supports (grid-template-rows: subgrid) {
  .pair article:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Spaltenkarten ohne Aufzählungszeichen */
.cols-grid.no-bullets .cols-card li { padding-left: 0; }
.cols-grid.no-bullets .cols-card li::before { display: none; }

/* Modulübersicht: Symbole in einer Reihe als Einstieg, darunter eine Karte je Modul */
.modul-grid { list-style: none; margin: 4px 0 44px; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px 12px; }
.modul-grid a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 700; line-height: 1.3; overflow-wrap: normal; }
.modul-grid a:hover .modul-disc, .modul-grid a:focus-visible .modul-disc { background: var(--dark); }
.modul-disc { display: grid; place-items: center; width: 100%; max-width: 84px; aspect-ratio: 1; border-radius: 50%; background: var(--main); color: #fff; transition: background .15s; }
.modul-disc svg, .modul-disc > img { width: 56%; height: 56%; object-fit: contain; }
.modul-glyph { display: block; width: 62%; height: 62%; background: currentColor; -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; }
.modul-disc.small { width: 56px; max-width: none; flex: none; }
.modul-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.modul-row { background: #fff; border-top: 4px solid var(--main); padding: 26px 28px 24px; scroll-margin-top: 150px; }
.modul-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.modul-head :is(h2, h3) { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--dark); }
.modul-tasks { list-style: none; margin: 0; padding: 0; }
.modul-tasks li { padding: 8px 0; border-top: 1px solid rgba(35, 39, 44, .1); font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.modul-tasks li:first-child { border-top: 0; padding-top: 0; }
.modul-tasks li.more { color: var(--dark); font-weight: 700; }
@media (max-width: 900px) {
  .modul-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .modul-list { grid-template-columns: 1fr; }
}

.sub-section .pr-open:hover { background: var(--tint); }

/* Bausteine: Streifen wechseln zwischen Weiss und Grau; Karten heben sich jeweils ab */
.bt-band { padding: 28px 0; }
.bt-band .sub-section { padding-top: 16px; padding-bottom: 16px; }
.bt-band.is-grau { background: var(--page); }
.bt-band.is-weiss { background: #fff; }
.bt-band.is-tint { background: var(--tint); }
.bt-band.is-weiss .cols-card, .bt-band.is-weiss .modul-row, .bt-band.is-weiss .person-card, .bt-band.is-weiss .person-row { background: var(--page); }
.bt-band.is-grau .cols-card, .bt-band.is-grau .modul-row, .bt-band.is-grau .person-card, .bt-band.is-grau .person-row,
.bt-band.is-tint .cols-card, .bt-band.is-tint .modul-row, .bt-band.is-tint .person-card, .bt-band.is-tint .person-row { background: #fff; }
.bt-band.is-tint .notice:not(.is-strong) { background: #fff; }

/* Schritte: nummerierter Ablauf */
.step-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step-list.is-stacked { grid-template-columns: 1fr; max-width: 820px; }
.step-card { counter-increment: step; position: relative; background: #fff; border-top: 4px solid var(--main); padding: 24px 28px 26px; }
.step-card::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--main); color: var(--on-main); font-size: 20px; font-weight: 800; }
.step-card :is(h2, h3) { margin: 0 0 8px; font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--dark); }
.step-card p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.step-list.is-stacked .step-card { padding-left: 88px; }
.step-list.is-stacked .step-card::before { position: absolute; left: 28px; top: 24px; margin: 0; }
.bt-band.is-weiss .step-card { background: var(--page); }
.bt-band.is-grau .step-card, .bt-band.is-tint .step-card { background: #fff; }

/* Kontaktzeilen mit Icon (Telefon, E-Mail) */
.contact-line { display: flex; align-items: center; gap: 10px; }
.contact-line svg { flex: none; width: 22px; height: 22px; color: var(--main); }

.notice.is-plain { background: transparent; --nb: var(--page); }
.bt-band.is-grau .notice.is-plain { --nb: var(--page); }
.bt-band.is-weiss .notice.is-plain { --nb: #fff; }
.bt-band.is-tint .notice.is-plain { --nb: var(--tint); }
.bt-band.is-tint .notice.is-plain { background: transparent; }

/* Banner: Farbvarianten, die gestrichelte Linie und die Rundung bleiben */
.banner.is-ruhig { background: var(--tint); }
.banner.is-auffaellig { background: var(--main); color: var(--on-main); }
.banner.is-auffaellig p { color: inherit; }
.banner.is-auffaellig .btn { background: #fff; color: var(--dark); }
.banner.is-ohne { background: transparent; }
.bt-band.is-tint .banner:not(.is-auffaellig):not(.is-ohne) { background: #fff; }

/* Seitentitel über Stellen und Team: wie der Titel eines Abschnitts */
.job-board h2.big, .team-board h2.big { margin-bottom: 20px; }
.job-board h2.big, .team-board h2.big { font-weight: 800; line-height: 1.1; letter-spacing: 0; color: var(--ink-2); }
/* gleicher Abstand zum Einstieg wie bei einem Abschnitt ganz oben auf einer Unterseite (28 + 16 px) */
.job-board { padding-top: 44px; }
.team-board { padding-top: 44px; }
/* zwei Streifen mit gleichem Hintergrund: Abstand dazwischen halbieren */
.bt-band.is-joined { padding-top: 0; }
.bt-band.is-joined > .sub-section:first-child { padding-top: 0; }

/* Kleine Bildschirme: Burger statt Unternehmensreiter und Menüleiste */
@media (max-width: 900px) {
  :root { --hdr-full: 57px; --hdr: 57px; }
  .site-header .wrap { flex-wrap: nowrap; align-items: center; justify-content: space-between; min-height: 56px; column-gap: 12px; }
  .home-logo img { height: 40px; }
  /* Auf kleinen Bildschirmen bleibt die Leiste beim Scrollen unverändert */
  html.is-scrolled { --hdr: 57px; }
  html.is-scrolled .home-logo img { height: 40px; }
  html.is-scrolled .brand-text { font-size: 28px; }
  .co-nav, .sub-bar { display: none; }
  .burger { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--dark); cursor: pointer; }
  .burger-lines, .burger-lines::before, .burger-lines::after { display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background .2s ease; }
  .burger-lines { position: relative; }
  .burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
  .burger-lines::before { top: -8px; }
  .burger-lines::after { top: 8px; }
  .burger[aria-expanded="true"] .burger-lines { background: transparent; }
  .burger[aria-expanded="true"] .burger-lines::before { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-8px) rotate(-45deg); }
  .burger:focus-visible { outline: 3px solid #1a5fb4; outline-offset: 2px; }
  .mobile-menu:not([hidden]) { display: block; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--hdr-full)); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); border-bottom: 4px solid var(--main); box-shadow: 0 16px 32px rgba(35, 39, 44, .2); }
  .admin-bar .mobile-menu:not([hidden]) { max-height: calc(100vh - var(--hdr-full) - 46px); }
  .site-header .mobile-menu .wrap { display: block; min-height: 0; padding-top: 8px; padding-bottom: 20px; }
  .mm-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 800; color: var(--ink); }
  .mm-nav a { position: relative; text-decoration: none; }
  .mm-nav a.is-current { color: var(--dark); }
  .mm-nav a.is-current::before { content: ""; position: absolute; left: -20px; top: 0; bottom: 0; width: 5px; background: var(--main); }
  .mm-title { margin: 22px 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .mm-cos { list-style: none; margin: 0; padding: 0; }
  .mm-cos a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mm-cos img { flex: none; width: 40px; height: 40px; object-fit: contain; }
  .mm-cos b { display: block; font-size: 16px; font-weight: 800; }
  .mm-cos small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
  .mm-tools { display: flex; align-items: center; gap: 4px 12px; margin-top: 14px; font-size: 15px; font-weight: 800; color: var(--dark); }
  .mm-tools a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .mm-tools svg { width: 24px; height: 24px; }
  html.menu-open body { overflow: hidden; }
}
.co-card .row .btn { font-weight: 800; }
.cols-card { display: flex; flex-direction: column; }
.cols-btn { margin: auto 0 0; padding-top: 20px; }
.cols-btn .btn { width: 100%; font-weight: 800; }

/* Lesbare Zeilenlänge: Fliesstext in Abschnitten höchstens rund 75 Zeichen breit */
.sub-section .prose:not(.with-img) .prose-text { max-width: 760px; }
.sub-section .prose.img-oben .prose-text { max-width: 760px; }

/* Mehrere Hinweisboxen hintereinander stehen nebeneinander */
.notice-grid { max-width: var(--maxw); margin: 0 auto; padding: 16px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.notice-grid > .sub-section { max-width: none; margin: 0; padding: 0; }
.notice-grid .notice { height: 100%; }
.bt-band.is-joined > .notice-grid { padding-top: 0; }
@media (max-width: 760px) {
  .notice-grid { padding-left: 20px; padding-right: 20px; }
}

/* Mobil: Einstieg etwas kompakter, damit mehr Inhalt sichtbar ist */
@media (max-width: 760px) {
  .hero-co .wrap { padding-top: 40px; padding-bottom: 88px; }
  .hero-co h1 { font-size: 32px; }
  .hero-co .kicker { font-size: 16px; }
  .hero-co p.lead { font-size: 17px; }
  .infobox .hours p.big { font-size: 22px; }
}

/* ---------- Ruhigerer Gesamteindruck ---------- */
/* 2. Kleine Überzeilen in normaler Schreibweise statt gesperrter Grossbuchstaben */
.eyebrow, .job-co, .job-info-title, .job-info strong, .mm-title { text-transform: none; letter-spacing: 0; }
.eyebrow { font-size: 15px; font-weight: 700; }
.job-co { font-size: 14px; }
.job-info-title { font-size: 17px; }
.job-info strong { font-size: 15px; }
.mm-title { font-size: 14px; }
.job-group-title, .team-group-title { padding-left: 0; border-left: 0; text-transform: none; letter-spacing: 0; font-size: 20px; font-weight: 800; }

/* 3. Farbiger Balken nur noch bei den Hauptkarten und der Infobox; übrige Karten ruhig */
.cols-card, .job-card, .person-card, .modul-row, .step-card, .modules li, .job-info, .quote-card, .textpage-toc, .person-dialog { border-top: 0; }
.co-card .note, .person-row { border-left: 0; }
.notice { border-left: 0; }
.notice.is-plain { border-left: 4px solid var(--main); }

/* Logos und Siegel im Banner */
.banner-text { flex: 1 1 260px; }
.banner-logos { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.banner-logos li { display: flex; align-items: center; justify-content: center; padding: 10px 14px; background: #fff; border-radius: 6px; }
.banner-logos img { display: block; height: 92px; width: auto; max-width: 100%; }
@media (max-width: 760px) { .banner-logos img { height: 72px; } }

/* Banner mit Logos: links Text und Button, rechts die Logos */
.banner.has-logos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px 40px; }
.banner.has-logos .banner-text { flex: none; }
.banner-action { margin: 18px 0 0; }
.banner.has-logos .banner-logos { margin: 0; justify-content: flex-end; }
@media (max-width: 760px) {
  .banner.has-logos { grid-template-columns: 1fr; }
  .banner.has-logos .banner-logos { justify-content: flex-start; }
}

/* Logos füllen die Höhe des Banners (abzüglich Innenabstand) */
.banner.has-logos { align-items: stretch; }
.banner.has-logos .banner-logos { align-self: stretch; align-items: stretch; flex-wrap: nowrap; min-height: 120px; contain: size; }
.banner.has-logos .banner-logos li { display: flex; align-items: stretch; flex: 0 1 auto; min-width: 0; }
.banner.has-logos .banner-logos li > img, .banner.has-logos .banner-logos li > a { height: 100%; }
.banner.has-logos .banner-logos li > a { display: flex; }
.banner.has-logos .banner-logos img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 760px) { .banner.has-logos .banner-logos { min-height: 0; height: 110px; } }

/* Die Logos bestimmen die Höhe des Banners nicht mit, sie passen sich dem Text an */
@media (max-width: 760px) { .banner.has-logos .banner-logos { contain: none; } }

/* Logos in der Seitenleiste der Jobs: so gross wie die Leiste erlaubt, untereinander auf weisser Fläche */
.job-badges { grid-template-columns: 1fr; gap: 14px; }
.job-badges li { padding: 18px; }
.job-badges img { width: 100%; height: auto; max-height: 150px; object-fit: contain; }
.job-badges li { background: transparent; padding: 6px 0; }
/* Logos nebeneinander, so gross wie die Leiste erlaubt */
.job-badges { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; align-items: center; }
.job-badges li { padding: 0; }
.job-badges img { width: 100%; height: auto; max-height: 140px; }
/* gleich hohe Logos, die sich die Breite teilen */
.job-badges { display: flex; flex-wrap: nowrap; gap: 12px; align-items: center; }
.job-badges li { flex: var(--r, 1) 1 0; min-width: 0; max-width: calc(var(--r, 1) * 150px); }
.job-badges img { width: 100%; height: auto; max-height: none; }
/* Wahl des Logo-Hintergrunds, je Logo */
.banner-logos li.is-transparent { background: transparent; padding: 0; }
.job-badges li.is-white { background: #fff; box-shadow: 0 0 0 6px #fff; }
.job-badges { gap: 16px; }

/* Jobs-Seite: abgerundete Ecken wie beim Banner */
.job-card, .job-info { border-radius: 6px; }
.job-badges li.is-white { border-radius: 6px; }

/* Lange Wörter in Titeln (z. B. «Unternehmensgruppe») werden auf kleinen Bildschirmen nicht abgeschnitten */
h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: none; }
.hero-group h1 { font-size: clamp(28px, 8.2vw, 62px); }
@media (min-width: 761px) { .hero-group h1 { font-size: clamp(38px, 5vw, 62px); } }
@media (max-width: 760px) { .hero-group .wrap { padding-top: 56px; padding-bottom: 64px; min-height: 0; } }

/* Titel der Gruppen-Startseite: zwei Zeilen, so breit wie der Text darunter; Umbruch nur zwischen den Wörtern */
.hero-group .inner { flex: 0 1 640px; max-width: 100%; }
.hero-group h1 { white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: none; font-size: clamp(38px, 4.4vw, 56px); max-width: 600px; }
@media (max-width: 760px) { .hero-group h1 { font-size: calc((100vw - 40px) / 10.6); max-width: none; } }

/* Zum Inhalt springen: nur bei Tastaturfokus sichtbar */
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-200%); padding: 12px 18px; background: #fff; color: var(--dark); border: 2px solid var(--main); border-radius: 6px; font-weight: 800; }
.skip-link:focus { transform: none; text-decoration: none; outline: 3px solid #1a5fb4; outline-offset: 2px; }
.admin-bar .skip-link { top: 48px; }

/* Reduzierte Bewegung: Animationen und sanftes Scrollen abschalten, wenn das System es verlangt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .person-card.is-clickable:hover, .job-card.has-pdf:hover { transform: none; }
  .col-photo:hover > img { transform: none; }
}

/* Seite nicht gefunden: Gestaltung wie der Einstieg der Gruppen-Startseite, die Unternehmen als Reiter */
.notfound { background: var(--page); padding: 72px 0 96px; }
.notfound .eyebrow { color: var(--base); margin-bottom: 12px; }
.notfound h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 800; color: var(--ink-2); margin-bottom: 20px; }
.notfound .lead { max-width: 600px; font-size: 19px; line-height: 1.55; color: var(--ink-2); margin-bottom: 40px; }
.notfound-tabs { background: #fff; gap: 12px; }
.notfound-tabs .co-tab { min-height: 76px; text-decoration: none; }
.notfound-tabs .co-tab:hover { background: var(--tint); }
.notfound-tabs .co-tab-gruppe { border-bottom-color: var(--base); }
.notfound-tabs .co-tab-gruppe:hover { background: var(--page); }
@media (max-width: 760px) { .notfound { padding: 48px 0 64px; } .notfound-tabs .co-tab { flex: 1 1 100%; justify-content: flex-start; } }

/* Wörter werden nirgends getrennt: bei zu wenig Platz wandert das ganze Wort in die nächste Zeile */
html { -webkit-hyphens: none; hyphens: none; }
body { overflow-wrap: normal; word-break: normal; }
