/* Compact mobile typography; body copy remains readable in profile cards. */
.contact-phone{font-size:14px;line-height:1.6;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px}
.contact-phone a{display:block;font-size:22px;font-weight:600;color:var(--petrol);margin-top:4px;text-decoration:underline;text-underline-offset:4px}
a[href^="tel:"]{white-space:nowrap}
.workflow .center-heading{text-align:center}
.workflow .steps p{font-size:14px}
.questions h2+p,.questions .faq-list summary,.questions .faq-list details>p{font-size:14px}
.contact-people small{font-size:14px;line-height:1.6}
.footer-bottom{font-size:calc(9px + 2pt);flex-wrap:wrap}
.benefit-intro>p.benefit-principle{font-size:20px;line-height:1.5;color:var(--ink);margin-block:26px 22px;padding-left:16px;border-left:2px solid var(--teal)}
.benefit-principle strong{font-weight:600}
.benefit-principle span{display:block;color:var(--teal)}
.service-panels .training-label{margin-top:22px;font-size:14px;font-weight:600;line-height:1.7;color:#edf4ec}
.service-panels .training-label+.check-list{margin-top:9px}
.service-panels .service-copy-link{margin-top:24px}
/* Larger supporting labels in the services footer and process steps (+3pt). */
.service-bottom{font-size:15px;flex-wrap:wrap;line-height:1.7}
.step-tag{font-size:13px;line-height:1.7}
@media(max-width:900px){.service-bottom{font-size:14px}.step-tag{font-size:14px}}
@media(max-width:650px){.step-tag{font-size:13px}}
/* Shared experience: an uncropped team portrait and the story behind CANI. */
.shared-experience{display:grid;grid-template-columns:minmax(0,850px);justify-content:center;align-items:center;gap:32px}
.shared-experience+.benefits{border-top:1px solid var(--line)}
.shared-experience-heading{grid-column:1/-1;text-align:center}
.shared-experience-photo{margin:0;min-width:0;width:100%;max-width:400px;justify-self:center;text-align:center}
.shared-experience-photo img{width:100%;height:auto;border-radius:5px}
.shared-experience-photo figcaption{font-size:14px;line-height:1.6;color:var(--muted);margin-top:12px}
.shared-experience-copy{min-width:0;width:100%;max-width:740px;justify-self:center;text-align:center}
.shared-experience-heading .eyebrow{font-size:12px;margin-bottom:18px;color:var(--teal)}
.shared-experience-heading h3{font-family:var(--serif);font-size:clamp(28px,2.65vw,36px);line-height:1.2;letter-spacing:-.035em;max-width:850px;margin-inline:auto}
.shared-experience-heading h3 em{color:var(--teal);white-space:nowrap}
.shared-experience-statement{font-size:18px;line-height:1.75;margin-top:0}
.shared-experience-statement strong{color:var(--teal);font-weight:700}
.shared-experience-name{white-space:nowrap}
.shared-experience-detail{font-size:16px;line-height:1.8;color:var(--muted);margin-top:18px}
@media(max-width:900px){.shared-experience{grid-template-columns:minmax(0,640px);gap:28px}.shared-experience-photo{max-width:360px}}
@media(max-width:650px){.shared-experience-statement{font-size:17px}}
.mini-portraits img[src$="carolin-niklaus-portrait-v3.jpg"],
.mini-portraits img[src$="nicole-reichel-portrait-v6.jpg"]{transform:scaleX(-1)}
/* Preserve the complete portrait, even when qualifications expand the card. */
.portrait-carolin,.portrait-nicole{background:#e6e1d8}
.portrait-carolin>img,.portrait-nicole>img{object-fit:contain;object-position:50% 50%}
/* Keep the larger announcement and navigation stacked while scrolling. */
.topline{position:sticky;top:0;z-index:21;font-size:15px}
.topline .wrap{gap:8px 24px;flex-wrap:wrap}
.header{top:var(--topline-height,39px)}
.header .brand,.footer-grid>.brand{width:198px}
.header .brand img,.footer-grid>.brand img{height:79px}
@media(max-width:900px){.header .brand,.footer-grid>.brand{width:171px}}
@media(max-width:650px){.header .brand,.footer-grid>.brand{width:168px}.header .brand img,.footer-grid>.brand img{height:72px}}
html{scroll-padding-top:var(--sticky-header-height,150px)}
@media(max-width:650px){.topline{font-size:13px}}
/* Signature and software strip: +3pt (4 CSS pixels) at each breakpoint. */
.hero-signature p{font-size:15px;min-width:0}
.hero-signature p span{font-size:14px}
.software-strip>.wrap{flex-wrap:wrap;padding-block:20px;gap:20px 24px}
.software-strip p{font-size:16px}
.software-strip .wrap>div{flex-wrap:wrap;justify-content:center}
.software-strip .wrap>div>span{font-size:14px}
.software-strip strong{font-size:28px;white-space:nowrap}
.software-strip small{font-size:16px}
.software-strip strong>span{font-size:15px}
.software-strip a{font-size:14px}
@media(max-width:650px){
  .hero-signature p{font-size:14px}
  .software-strip p{font-size:15px}
  .software-strip .wrap>div>span{font-size:13px}
  .software-strip strong{font-size:26px}
  .software-strip small{font-size:14px}
}
/* Menu +4pt; hero headline matches the "Fachlich stark" section heading. */
.header nav a{font-size:calc(13px + 4pt);white-space:nowrap}
.hero h1{font-size:clamp(34px,3.3vw,46px);line-height:1.17}
@media(max-width:1050px){.nav-cta{display:none}}
@media(max-width:900px){
  .header nav a{font-size:calc(12px + 4pt)}
}
/* Switch to the existing mobile menu earlier so larger labels never crowd. */
@media(max-width:800px){
  .menu-toggle{display:flex;gap:13px;align-items:center;background:none;border:1px solid #c7d7cd;color:var(--petrol);padding:7px 13px;border-radius:4px;font-size:12px}
  .menu-toggle span{font-size:17px}
  .header nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:15px 20px 24px;box-shadow:0 15px 20px #153f3510}
  .header nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:0}
}
@media(max-width:650px){.header nav a{font-size:calc(15px + 4pt)}}
.person-content>p{font-size:13px}
@media(max-width:1150px) and (min-width:901px){.person-content>p{font-size:12px}}
@media(max-width:650px){.hero h1{font-size:35px}.person-content>p{font-size:12px}.person-content{padding-inline:16px}}
@media(max-width:370px){.person-content{padding:24px}}

/* The competence note is a straight, integrated row, not a tilted sticker. */
.hero-visual{width:90%;margin-inline:auto;align-self:center;min-height:0}
.hero-visual .hero-art{height:297px}
.art-caption-copy{font-size:15px;line-height:1.65;min-width:0}
.art-caption-copy strong{display:block;font-weight:600}
.art-caption-copy>span{display:block;font-size:14px;font-weight:400;color:var(--muted)}
.hero-visual .art-caption{gap:14px}
.hero-visual .art-caption>a{flex-shrink:0}
@media(min-width:1500px){.hero-visual .hero-art{height:324px}}
@media(max-width:1150px){.hero-visual .hero-art{height:283.5px}}
@media(max-width:900px){.hero-visual .hero-art{height:252px}}
@media(max-width:650px){.hero-visual .hero-art{height:auto;max-height:297px}.art-caption-copy{font-size:14px}}
.hero-visual .floating-note{
  position:static;
  order:2;
  transform:none;
  margin:0 28px;
  padding:16px 0;
  border:0;
  border-top:1px solid #bed0c5;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  font-size:12px;
}
.hero-visual .floating-note small{font-size:11px}
.hero-visual .art-caption{order:3}
.hero-art{object-fit:contain}
.benefit-art img{object-fit:contain}
@media(max-width:650px){.hero-visual .floating-note{margin-inline:21px;padding-block:14px}}

/* Scroll storytelling stays in the native document flow and can be skipped. */
.service-scroll-track{position:relative;margin-top:48px;overflow-anchor:none}
.service-stage{background:var(--petrol)}
.service-scroll-track .service-browser{margin-top:0}
.service-scroll-track.scroll-active .service-stage{position:sticky;top:var(--service-top,110px)}
.service-panels{display:grid;align-content:start}
.service-panels>[role=tabpanel]{grid-area:1/1;min-width:0}
.service-panels.is-measuring>[role=tabpanel][hidden]{display:block!important;visibility:hidden}
.service-scroll-guide{display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;padding:13px 0 17px;font-size:9px;color:#c1d9cc;flex-wrap:wrap}
.service-scroll-guide>span:first-child{letter-spacing:.1em;font-size:inherit}
.service-step-count{margin-left:16px;font-weight:500;color:white}
.service-scroll-guide>a{font-size:inherit;text-decoration:underline;text-underline-offset:4px}
.scroll-instruction{font-size:inherit}
.service-scroll-progress{position:absolute;bottom:0;left:0;width:100%;height:2px;background:#b5d9c4;transform:scaleX(var(--service-progress,0));transform-origin:left;pointer-events:none}
.career{scroll-margin-top:120px;overflow-anchor:none}
.career ul{overflow:hidden}
.inquiry-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.form-error{margin-top:18px;padding:14px;border-left:3px solid #9b3535;background:#fff1ef;color:#762a2a;font-size:14px;line-height:1.6}
.button:disabled{opacity:.6;transform:none}
#delivery-notice{font-size:12px;line-height:1.7}
.career summary>span{transition:transform .3s}
@media(max-width:650px){
  .service-scroll-track{margin-top:25px}
  .service-scroll-guide{padding:10px 0 14px;gap:8px;margin-bottom:16px}
  .scroll-instruction{width:100%;font-size:inherit}
}
@media(prefers-reduced-motion:reduce){.career summary>span{transition:none}}
@media print{.service-scroll-track{height:auto!important}.service-stage{position:static!important}.service-scroll-guide{display:none!important}}

/* Legal details remain readable and scrollable on narrow screens. */
.contact-email{font-size:14px;line-height:1.6;margin:0 0 24px;color:var(--muted)}
.contact-email a{display:block;color:var(--petrol);text-decoration:underline;text-underline-offset:3px}
a[href^="mailto:"]{overflow-wrap:anywhere}
dialog section{margin-top:26px}
dialog section h3{font-family:var(--sans);font-size:19px;font-weight:600;line-height:1.4;letter-spacing:0;margin-bottom:10px}
dialog p:not(.eyebrow){font-size:16px;line-height:1.7}
dialog section a{color:var(--petrol);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
