
/* Interstiller Partners — UI kit. Requires tokens.css. Prefix: ip- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.ip-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-12); }
.ip-section { padding: var(--space-24) 0; border-top: 1px solid var(--line); }
.ip-pad { padding: var(--space-8); }

/* type helpers */
.ip-eyebrow { display: block; font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0; }
.ip-rule { display: block; width: var(--rule-short); height: 1px; background: var(--gold); border: 0; margin: var(--space-4) 0 var(--space-6); }
.ip-display-xl { font-family: var(--font-display); font-size: 80px; line-height: 84px; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.ip-display-l { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 500; margin: 0; }
.ip-h1 { font-family: var(--font-display); font-size: 40px; line-height: 46px; font-weight: 500; margin: 0; }
.ip-h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0; }
.ip-lead { font-size: 18px; line-height: 30px; color: var(--ink-muted); max-width: var(--measure); margin: var(--space-6) 0 0; }
.ip-muted { color: var(--ink-muted); }
.ip-small { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.ip-gold { color: var(--gold-ink); }

/* buttons */
.ip-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 48px; padding: 0 var(--space-8); border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 14px/20px var(--font-sans); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ip-btn--primary { background: var(--gold); color: var(--on-gold); }
.ip-btn--primary:hover { background: var(--gold-bright); }
.ip-btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ip-btn--outline:hover { border-color: var(--gold); color: var(--gold-ink); }
.ip-btn--ghost { height: auto; padding: 0; background: none; color: var(--gold-ink); }
.ip-btn--ghost::after { content: "→"; transition: transform .15s; }
.ip-btn--ghost:hover::after { transform: translateX(4px); }
.ip-btn--sm { height: 40px; padding: 0 var(--space-6); }
.ip-btn[disabled] { opacity: .45; cursor: not-allowed; }
.ip-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* logo lockup: flat mark + live wordmark */
.ip-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.ip-logo__mark { width: 56px; height: auto; flex: none; color: var(--gold-ink); display: block; }
.ip-logo__text { display: flex; flex-direction: column; align-items: center; }
.ip-logo__name { font-family: var(--font-logo); font-weight: 600; font-size: 17px; line-height: 1; letter-spacing: .4em; margin-right: -.4em; }
.ip-logo__sub { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-family: var(--font-logo); font-weight: 600; font-size: 8px; line-height: 1; letter-spacing: .56em; color: var(--ink-muted); }
.ip-logo__sub::before, .ip-logo__sub::after { content: ""; width: 22px; height: 1px; background: var(--gold); }
.ip-logo__sub::after { margin-left: -.56em; }
.ip-logo--lg { gap: 24px; }
.ip-logo--lg .ip-logo__mark { width: 120px; }
.ip-logo--lg .ip-logo__name { font-size: 34px; }
.ip-logo--lg .ip-logo__sub { font-size: 15px; margin-top: 12px; gap: 14px; }
.ip-logo--lg .ip-logo__sub::before, .ip-logo--lg .ip-logo__sub::after { width: 44px; }
.ip-logo--stacked { flex-direction: column; gap: 18px; }

/* header */
.ip-header { height: var(--header-height); border-bottom: 1px solid var(--line); background: var(--bg); }
.ip-header .ip-container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); }
.ip-nav { display: flex; align-items: center; gap: var(--space-8); }
.ip-nav a:not(.ip-btn) { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-muted); }
.ip-nav a:not(.ip-btn):hover, .ip-nav a[aria-current="page"] { color: var(--ink); }

/* hero */
.ip-hero { padding: var(--space-32) 0 var(--space-24); }
.ip-hero .ip-display-xl { max-width: 880px; }
.ip-hero .ip-actions { margin-top: var(--space-12); }

/* service cards */
.ip-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.ip-service { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); padding: var(--space-8); transition: border-color .2s, box-shadow .2s; }
.ip-service:hover { border-color: var(--gold); box-shadow: var(--shadow-raised); }
.ip-service__num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--gold-ink); }
.ip-service__title { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 38px; margin: var(--space-8) 0 var(--space-4); }
.ip-service__text { color: var(--ink-muted); margin: 0; }
.ip-service__list { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-8); border-top: 1px solid var(--line); }
.ip-service__list li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.ip-service__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }

/* steps */
.ip-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); counter-reset: s; }
.ip-step { border-top: 1px solid var(--gold); padding-top: var(--space-6); }
.ip-step .ip-h2 { margin: var(--space-2) 0; }

/* form */
.ip-form { display: grid; gap: var(--space-6); }
.ip-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.ip-field { display: grid; gap: var(--space-2); }
.ip-label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.ip-label .ip-req { color: var(--gold-ink); margin-left: 2px; }
.ip-label .ip-opt { color: var(--ink-muted); font-weight: 500; }
.ip-input, .ip-select, .ip-textarea { width: 100%; font: 400 16px/24px var(--font-sans); color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px var(--space-4); transition: border-color .15s; }
.ip-input::placeholder, .ip-textarea::placeholder { color: var(--ink-muted); }
.ip-input:hover, .ip-select:hover, .ip-textarea:hover { border-color: var(--ink-muted); }
.ip-input:focus, .ip-select:focus, .ip-textarea:focus { border-color: var(--gold); outline: 2px solid var(--focus); outline-offset: 2px; }
.ip-textarea { min-height: 160px; resize: vertical; }
.ip-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--space-12); }
.ip-help { font-size: 13px; line-height: 20px; color: var(--ink-muted); margin: 0; }
.ip-field--error .ip-input, .ip-field--error .ip-textarea { border-color: var(--danger); }
.ip-field--error .ip-help { color: var(--danger); }
.ip-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ip-check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); display: grid; place-content: center; cursor: pointer; }
.ip-check input:checked { background: var(--gold); border-color: var(--gold); }
.ip-check input:checked::after { content: ""; width: 10px; height: 6px; border: solid var(--on-gold); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.ip-notice { padding: var(--space-4) var(--space-6); background: var(--gold-soft); color: var(--ink); border: 1px solid var(--gold); font-size: 14px; line-height: 22px; }
.ip-notice strong { color: var(--gold-ink); }
.ip-panel { background: var(--surface); border: 1px solid var(--line); padding: var(--space-12); }

/* CTA band */
.ip-cta { text-align: center; padding: var(--space-24) 0; border-top: 1px solid var(--line); }
.ip-cta .ip-rule { margin: var(--space-4) auto var(--space-6); }
.ip-cta .ip-lead { margin-left: auto; margin-right: auto; }
.ip-cta .ip-actions { justify-content: center; margin-top: var(--space-8); }

/* footer */
.ip-footer { background: var(--surface); border-top: 1px solid var(--line); padding: var(--space-12) 0 var(--space-8); }
.ip-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-8); flex-wrap: wrap; }
.ip-footer__links { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; font-size: 14px; }
.ip-footer__links a { text-decoration: none; color: var(--ink-muted); }
.ip-footer__links a:hover { color: var(--gold-ink); }
.ip-footer__bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }

/* imprint */
.ip-legal { max-width: 760px; }
.ip-legal dl { display: grid; grid-template-columns: 240px 1fr; margin: 0; border-top: 1px solid var(--line); }
.ip-legal dt, .ip-legal dd { margin: 0; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.ip-legal dt { color: var(--ink-muted); font-weight: 500; }
.ip-legal h2 { margin: var(--space-12) 0 var(--space-4); }
.ip-legal p { color: var(--ink-muted); max-width: var(--measure); }
.ip-ph { color: var(--gold-ink); }

/* responsive */
@media (max-width: 900px) {
  .ip-grid-3, .ip-steps, .ip-form__row { grid-template-columns: 1fr; }
  .ip-legal dl { grid-template-columns: 1fr; }
  .ip-legal dt { padding-bottom: 0; border-bottom: 0; }
}
@media (max-width: 720px) {
  .ip-container { padding: 0 var(--space-6); }
  .ip-section, .ip-cta { padding: var(--space-16) 0; }
  .ip-hero { padding: var(--space-16) 0; }
  .ip-display-xl { font-size: 48px; line-height: 52px; }
  .ip-display-l { font-size: 38px; line-height: 44px; }
  .ip-header { height: 64px; }
  .ip-nav a:not(.ip-btn) { display: none; }
  .ip-panel { padding: var(--space-6); }
}

