/* Inner pages share the same quiet, tactile rhythm as the opening screen. */
#bupaso-site :is(#bp-leistungen, #bp-ueber-uns, #bp-it, #bp-kontakt) {
  background: var(--brand-paper, #f8f8f5);
}
#bupaso-site .bp-page-intro {
  margin-top: 0;
  padding-block: clamp(44px, 7vw, 96px) clamp(44px, 6vw, 80px);
  border-radius: 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px);
  background: #111315;
  color: #f8f8f5;
}
#bupaso-site .bp-page-intro::before,
#bupaso-site .bp-page-intro::after { content: none; }
#bupaso-site .bp-page-intro > .bp-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 24px;
}
#bupaso-site .bp-page-intro .bp-eyebrow {
  margin-bottom: 22px;
  color: #d7c9b0;
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: .08em;
}
#bupaso-site .bp-page-intro .bp-eyebrow::before { content: none; }
#bupaso-site .bp-page-intro h1 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 7.7vw, 4.75rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}
#bupaso-site .bp-page-intro h1 .bp-lime {
  display: block;
  color: #f45b64;
}
#bupaso-site .bp-page-intro p {
  max-width: 47ch;
  margin-top: 0;
  color: #c9cace;
  font-size: 1rem;
  line-height: 1.75;
}
#bupaso-site .bp-page-intro .bp-actions {
  flex-direction: row;
  align-items: flex-start;
  margin-top: 24px;
}
#bupaso-site .bp-page-intro .bp-actions .bp-btn {
  width: auto;
  max-width: 100%;
  min-height: 50px;
  font-size: .9375rem;
}

/* Services are clear chapters, with no repeated boxes around the copy. */
#bupaso-site #bp-leistungen > .bp-section { padding-block: 22px 56px; }
#bupaso-site #bp-leistungen .bp-service-row {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 19px;
  padding-block: 34px;
  border-top: 1px solid #24272b24;
  scroll-margin-top: 110px;
}
#bupaso-site #bp-leistungen .bp-service-row:first-child { border-top: 0; }
#bupaso-site #bp-leistungen .bp-service-row:last-child { border-bottom: 0; }
#bupaso-site #bp-leistungen .bp-service-row > div:first-child {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
#bupaso-site #bp-leistungen .bp-service-row .bp-ico { height: 32px; }
#bupaso-site #bp-leistungen .bp-service-row h2 {
  max-width: 20ch;
  font-size: clamp(1.5rem, 3.7vw, 2.25rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.04em;
}
#bupaso-site :is(.bp-service-row, .bp-it-services .bp-card) p {
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.75;
}
#bupaso-site :is(#bp-leistungen, #bp-it) .bp-list { margin-block: 20px; }
#bupaso-site :is(#bp-leistungen, #bp-it) .bp-list li {
  margin-block: 10px;
  padding-left: 19px;
  color: #505257;
  font-size: 1rem;
  line-height: 1.7;
}
#bupaso-site .bp-service-row .bp-btn {
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid #d4d5d3;
  border-radius: 999px;
  background: transparent;
  color: #202326;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: normal;
}
#bupaso-site .bp-service-row .bp-btn:hover {
  border-color: #202326;
  background: #202326;
  color: #fff;
}
#bupaso-site .bp-service-row .bp-text-link {
  min-height: 48px;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.6;
  text-decoration-thickness: 1px;
}
#bupaso-site #bp-leistungen .bp-soft {
  border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0;
  background: #eceeeb;
}
#bupaso-site #bp-leistungen .bp-soft > .bp-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-block: 48px 60px;
}
#bupaso-site #bp-leistungen .bp-soft h2,
#bupaso-site #bp-leistungen .bp-faq { grid-column: auto; grid-row: auto; }
#bupaso-site .bp-faq { min-width: 0; border-color: #24272b24; }
#bupaso-site .bp-faq details { border-color: #24272b24; }
#bupaso-site .bp-faq summary {
  display: block;
  padding-block: 22px;
  padding-right: 40px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
}
#bupaso-site .bp-faq summary::after { top: 22px; right: 2px; font-size: 1.5rem; }
#bupaso-site .bp-faq p { margin: 0 0 23px; font-size: 1rem; line-height: 1.75; }

/* About and IT retain open layouts instead of a grid of interchangeable cards. */
#bupaso-site #bp-ueber-uns .bp-two-col { align-items: start; gap: 24px; }
#bupaso-site #bp-ueber-uns .bp-two-col h2 { max-width: 17ch; }
#bupaso-site #bp-ueber-uns .bp-two-col p { font-size: 1rem; line-height: 1.8; }
#bupaso-site #bp-ueber-uns .bp-values {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 36px;
}
#bupaso-site #bp-ueber-uns .bp-values > div {
  padding-block: 25px;
  border-color: #24272b24;
}
#bupaso-site #bp-ueber-uns :is(.bp-values, .bp-team) h3 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -.025em;
}
#bupaso-site #bp-ueber-uns :is(.bp-values, .bp-team) p {
  max-width: 46ch;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.75;
}
#bupaso-site #bp-ueber-uns .bp-soft {
  background: #eceeeb;
  border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0;
}
#bupaso-site #bp-ueber-uns .bp-team { grid-template-columns: minmax(0, 1fr); }
#bupaso-site #bp-ueber-uns .bp-team > article { padding-block: 28px; }
#bupaso-site #bp-ueber-uns .bp-team > article + article { border-top: 1px solid #24272b24; }
#bupaso-site #bp-it .bp-section + .bp-section { padding-top: 10px; }
#bupaso-site #bp-it .bp-it-services { border-color: #24272b24; }
#bupaso-site #bp-it .bp-it-services .bp-card {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px 14px;
  min-height: 0;
  padding-block: 30px;
  border-color: #24272b24;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#bupaso-site #bp-it .bp-it-services .bp-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  line-height: 1.25;
}
#bupaso-site #bp-it .bp-it-services .bp-card p,
#bupaso-site #bp-it .bp-it-services .bp-card .bp-list { grid-column: 1 / -1; margin-top: 9px; }
#bupaso-site #bp-it .bp-process { margin-top: 28px; }
#bupaso-site #bp-it .bp-process article {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding-block: 27px;
  border-color: #24272b24;
}
#bupaso-site #bp-it .bp-process .bp-number { color: #a20d21; font-size: .875rem; }
#bupaso-site #bp-it .bp-process h3 { font-size: 1.375rem; font-weight: 650; }
#bupaso-site #bp-it .bp-process p { grid-column: 1; font-size: 1rem; line-height: 1.75; }
#bupaso-site :is(#bp-it, #bp-ueber-uns) .bp-cta {
  padding-block: clamp(48px, 7vw, 88px);
  border: 0;
  background: #111315;
  color: #f8f8f5;
}
#bupaso-site :is(#bp-it, #bp-ueber-uns) .bp-cta h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -.045em;
}
#bupaso-site :is(#bp-it, #bp-ueber-uns) .bp-cta p { color: #c9cace; font-size: 1rem; }

/* Contact works comfortably with one thumb and keeps its local-only promise. */
#bupaso-site #bp-kontakt .bp-soft { background: var(--brand-paper, #f8f8f5); }
#bupaso-site #bp-kontakt .bp-contact-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding-block: 42px 64px;
}
#bupaso-site .bp-contact-info { min-width: 0; }
#bupaso-site .bp-contact-info h2 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -.04em;
}
#bupaso-site .bp-contact-info > p { margin-top: 17px; font-size: 1rem; line-height: 1.75; }
#bupaso-site .bp-contact-box {
  margin-top: 24px;
  padding-top: 23px;
  border-color: #24272b24;
}
#bupaso-site .bp-contact-box strong { margin-bottom: 10px; font-size: 1rem; font-weight: 750; }
#bupaso-site .bp-contact-box p { font-size: 1rem; line-height: 1.75; }
#bupaso-site .bp-contact-box .bp-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  font-size: 1.0625rem;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
#bupaso-site .bp-form {
  padding: 25px 20px;
  border: 1px solid #24272b17;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 50px -36px #11131530;
}
#bupaso-site .bp-preview-note {
  margin-bottom: 27px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid #24272b20;
  color: #505257;
  font-size: .9375rem;
  line-height: 1.7;
}
#bupaso-site .bp-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
#bupaso-site .bp-field { gap: 9px; margin-bottom: 23px; }
#bupaso-site .bp-field label { font-size: .9375rem; font-weight: 650; }
#bupaso-site .bp-field :is(input, select, textarea) {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #d2d5d5;
  border-radius: 14px;
  background: #f7f8f6;
  color: #202326;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .2s, background .2s;
}
#bupaso-site .bp-field input::placeholder,
#bupaso-site .bp-field textarea::placeholder { color: #6b6f75; opacity: 1; }
#bupaso-site .bp-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234d535a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
}
#bupaso-site .bp-field textarea { min-height: 148px; }
#bupaso-site .bp-field :is(input, select, textarea):focus {
  border-color: #bd1427;
  outline: 2px solid #bd1427;
  outline-offset: 3px;
  background-color: #fff;
}
#bupaso-site .bp-form .bp-btn { max-width: 100%; min-height: 52px; white-space: normal; }
#bupaso-site .bp-field-help,
#bupaso-site .bp-copy-status { font-size: .875rem; line-height: 1.6; }

/* Legal text stays an uninterrupted, comfortable reading column. */
#bupaso-site .bp-legal { background: var(--brand-paper, #f8f8f5); }
#bupaso-site .bp-legal > .bp-wrap {
  width: min(850px, calc(100% - 40px));
  padding-block: clamp(42px, 6vw, 76px) clamp(64px, 8vw, 104px);
}
#bupaso-site .bp-legal .bp-eyebrow { font-size: .875rem; }
#bupaso-site .bp-legal h1 {
  font-size: clamp(2rem, 7.25vw, 4.25rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
#bupaso-site .bp-legal .bp-legal-content {
  margin-top: 29px;
  padding-top: 10px;
  border-top: 0;
}
#bupaso-site .bp-legal-content h2 {
  margin-block: 34px 13px;
  font-size: clamp(1.2rem, 2.8vw, 1.625rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.025em;
}
#bupaso-site .bp-legal-content :is(p, address),
#bupaso-site .bp-legal-content .bp-list li { font-size: 1rem; line-height: 1.85; color: #505257; }
#bupaso-site .bp-legal-content a { overflow-wrap: anywhere; }
#bupaso-site .bp-legal-date { font-size: .875rem; }

#bupaso-site .bp-footer {
  padding-block: clamp(42px, 6vw, 80px) 24px;
  border-top: 1px solid #ffffff1c;
  background: #111315;
  color: #f8f8f5;
}
#bupaso-site .bp-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
#bupaso-site .bp-foot-grid > div:first-child { grid-column: 1 / -1; }
#bupaso-site .bp-footer .bp-logo { width: min(215px, 100%); }
#bupaso-site .bp-footer p { max-width: 39ch; margin-top: 17px; color: #b9bdc0; font-size: 1rem; line-height: 1.75; }
#bupaso-site .bp-foot-nav { gap: 0; color: #d4d5d7; font-size: 1rem; }
#bupaso-site .bp-foot-nav strong {
  margin-bottom: 9px;
  color: #d7c9b0;
  font-size: .875rem;
  font-weight: 650;
}
#bupaso-site .bp-foot-nav :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; }
#bupaso-site .bp-foot-bottom {
  align-items: flex-start;
  gap: 16px 28px;
  margin-top: 32px;
  padding-top: 18px;
  border-color: #ffffff1c;
  color: #b9bdc0;
  font-size: .875rem;
}
#bupaso-site .bp-foot-bottom div { gap: 0 24px; }
#bupaso-site .bp-foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

#bupaso-site .bp-dialog-backdrop { padding: 12px; align-items: flex-end; background: #080a0cc7; }
#bupaso-site .bp-dialog {
  width: min(680px, 100%);
  max-height: calc(100dvh - 24px);
  padding: 58px 22px 25px;
  border: 1px solid #ffffff5c;
  border-radius: 28px;
  background: #f8f8f5;
  box-shadow: 0 24px 100px #0005;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
#bupaso-site .bp-close { top: 12px; right: 12px; width: 44px; height: 44px; background: #e9ece8; }
#bupaso-site .bp-dialog .bp-eyebrow { padding-right: 0; font-size: .875rem; }
#bupaso-site .bp-dialog h2 { padding-right: 0; font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 650; }
#bupaso-site .bp-dialog p { font-size: 1rem; line-height: 1.7; }
#bupaso-site .bp-story-stage { min-height: 0; margin-top: 24px; padding: 28px 22px; border-radius: 22px; background: #181b1e; }
#bupaso-site .bp-step-tag { font-size: .875rem; color: #d7c9b0; }
#bupaso-site .bp-story-stage h3 { margin-top: 24px; font-size: 1.5rem; font-weight: 650; }
#bupaso-site .bp-story-stage p { color: #c9cace; font-size: 1rem; }
#bupaso-site .bp-story-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
#bupaso-site .bp-story-dots { gap: 7px; }
#bupaso-site .bp-story-dots button { width: 44px; height: 44px; font-size: .875rem; }
#bupaso-site .bp-story-dots button[aria-pressed=true] { border-color: #111315; background: #111315; color: #fff; }
#bupaso-site .bp-story-controls > .bp-btn { width: auto; min-height: 48px; }
#bupaso-site .bp-summary-text { font-size: 1rem; line-height: 1.75; }

@media (min-width: 600px) {
  #bupaso-site .bp-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  #bupaso-site .bp-form { padding: 32px; }
  #bupaso-site .bp-dialog-backdrop { align-items: center; padding: 24px; }
  #bupaso-site .bp-dialog { max-height: calc(100dvh - 48px); padding: 58px 36px 36px; border-radius: 32px; }
  #bupaso-site .bp-legal > .bp-wrap { width: min(850px, calc(100% - 64px)); }
}
@media (min-width: 821px) {
  #bupaso-site .bp-page-intro > .bp-wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
  #bupaso-site .bp-page-intro h1 { font-size: clamp(3.1rem, 5.4vw, 4.75rem); }
  #bupaso-site .bp-page-intro p { font-size: 1.0625rem; }
  #bupaso-site #bp-leistungen > .bp-section { padding-block: 46px 86px; }
  #bupaso-site #bp-leistungen .bp-service-row { grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 92px); padding-block: 46px; }
  #bupaso-site #bp-leistungen .bp-service-row > div:first-child { position: sticky; top: 122px; }
  #bupaso-site #bp-leistungen .bp-soft > .bp-wrap { grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr); align-items: start; gap: clamp(36px, 6vw, 92px); padding-block: 76px 88px; }
  #bupaso-site #bp-leistungen .bp-soft h2 { grid-column: 1; grid-row: 1; }
  #bupaso-site #bp-leistungen .bp-faq { grid-column: 2; grid-row: 1; }
  #bupaso-site #bp-ueber-uns .bp-values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
  #bupaso-site #bp-ueber-uns .bp-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
  #bupaso-site #bp-ueber-uns .bp-team > article + article { border-top: 0; }
  #bupaso-site #bp-it .bp-it-services .bp-card { grid-template-columns: 30px minmax(0, .8fr) minmax(0, 1.3fr); column-gap: 25px; padding-block: 40px; }
  #bupaso-site #bp-it .bp-it-services .bp-card p,
  #bupaso-site #bp-it .bp-it-services .bp-card .bp-list { grid-column: 3; margin-top: 0; }
  #bupaso-site #bp-it .bp-it-services .bp-card .bp-list { margin-top: 15px; }
  #bupaso-site #bp-it .bp-process article { grid-template-columns: minmax(0, .5fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 30px; }
  #bupaso-site #bp-it .bp-process p { grid-column: 3; }
  #bupaso-site #bp-kontakt .bp-contact-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 88px); padding-block: 70px 96px; }
  #bupaso-site .bp-foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .75fr)); gap: clamp(36px, 6vw, 84px); }
  #bupaso-site .bp-foot-grid > div:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  #bupaso-site .bp-field :is(input, select, textarea) { transition: none; }
}
