/* Simple Connect site (v3, 27/10, after BrighTech's review). Colours, fonts and sizes come from
   /brand/tokens.css only: change the identity there, not here. Editorial layout: a label column and a
   content column, hairline rules, no numbered sections, no coloured tiles, no step circles. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sc-paper); color: var(--sc-ink); font: 400 var(--sc-size-body)/1.6 var(--sc-font-sans); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: var(--sc-accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; }

.wrap { max-width: var(--sc-wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--sc-surface); padding: 8px 12px; z-index: 50; }
.ph { background: var(--sc-mark); color: var(--sc-ink); font-weight: 500; padding: 0 3px; border-radius: var(--sc-radius); }
.preview-banner { background: var(--sc-ink); color: var(--sc-paper); text-align: center; font-size: 13px; padding: 6px 16px; letter-spacing: .02em; }

/* wordmark */
.wordmark { font-family: var(--sc-font-sans); font-size: 19px; letter-spacing: -.01em; color: var(--sc-ink); text-decoration: none; white-space: nowrap; }
.wordmark b { font-weight: 600; }
.wordmark span { font-weight: 400; }
.wordmark:hover { text-decoration: none; }

/* header */
.site-header { background: var(--sc-paper); border-bottom: 1px solid var(--sc-line); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--sc-ink-2); text-decoration: none; }
.nav a:hover { color: var(--sc-ink); }
.actions { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 14px; color: var(--sc-ink-2); text-decoration: none; }

/* buttons: square, one accent */
.btn { display: inline-block; background: var(--sc-accent); color: var(--sc-accent-ink); text-decoration: none; font-weight: 500;
  font-size: 16px; padding: 13px 22px; border-radius: var(--sc-radius); border: 1px solid var(--sc-accent); }
.btn:hover { background: var(--sc-ink); border-color: var(--sc-ink); text-decoration: none; }
.btn-sm { font-size: 14px; padding: 8px 14px; }
.btn-line { background: transparent; color: var(--sc-ink); border-color: var(--sc-ink); }
.btn-line:hover { background: var(--sc-ink); color: var(--sc-paper); }
.btn-light { background: var(--sc-paper); color: var(--sc-ink); border-color: var(--sc-paper); }
.btn-light:hover { background: transparent; color: var(--sc-paper); border-color: var(--sc-paper); }

/* hero */
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--sc-line); }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.eyebrow { font-size: var(--sc-size-label); letter-spacing: .12em; text-transform: uppercase; color: var(--sc-ink-2); font-weight: 500; margin-bottom: 20px; }
.hero h1 { font: 600 var(--sc-size-h1)/1.08 var(--sc-font-serif); letter-spacing: -.015em; margin-bottom: 24px; }
.hero h1 + .subtitle { margin-top: -6px; }
.subtitle { font: 400 clamp(20px, 2.2vw, 25px)/1.35 var(--sc-font-serif); color: var(--sc-ink); max-width: 30em; margin-bottom: 22px; }
.lead { font-size: 19px; color: var(--sc-ink-2); max-width: 36em; }
.lead + .lead { margin-top: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.cta-note { font-size: 14px; color: var(--sc-muted); }

/* photo slots: real photos only; until then a labelled placeholder */
.photo { background: var(--sc-surface); border: 1px solid var(--sc-line); position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph { aspect-ratio: 4 / 5; display: flex; align-items: flex-end;
  background: repeating-linear-gradient(135deg, var(--sc-paper) 0 14px, var(--sc-surface) 14px 15px); }
.photo-ph.wide { aspect-ratio: 16 / 9; }
.photo-ph figcaption { margin: 16px; background: var(--sc-surface); border: 1px solid var(--sc-line); padding: 8px 12px; font-size: 13px; color: var(--sc-ink-2); }
/* line illustrations: stand-ins until the warehouse photos (illustrations.py) */
.photo-ill { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 8%; color: var(--sc-accent); }
.photo-ill.wide { aspect-ratio: 16 / 9; padding: 4%; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo { min-width: 0; }
.ill { width: 100%; height: 100%; min-width: 0; display: block; }
.ill .ink { stroke: var(--sc-ink); }
.ill .fill-paper { fill: var(--sc-surface); }
.photo-ph figcaption b { display: block; font-size: var(--sc-size-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--sc-muted); margin-bottom: 2px; }

/* sections: label column + content column */
.section { padding: 72px 0; border-bottom: 1px solid var(--sc-line); }
.cols { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.label { font-size: var(--sc-size-label); letter-spacing: .12em; text-transform: uppercase; color: var(--sc-muted); font-weight: 500; padding-top: 10px; }
.section h2 { font: 600 var(--sc-size-h2)/1.15 var(--sc-font-serif); letter-spacing: -.01em; margin-bottom: 18px; max-width: 24em; }
.intro { color: var(--sc-ink-2); max-width: 40em; margin-bottom: 32px; }

/* ruled list (offer, why) */
.ruled > li { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--sc-line); }
.ruled > li:last-child { border-bottom: 1px solid var(--sc-line); }
.ruled h3 { font-size: 17px; font-weight: 600; }
.ruled p { color: var(--sc-ink-2); }

/* how it works: who-does-what, no circles */
.flow > li { display: grid; grid-template-columns: 24px 56px minmax(160px, 260px) 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--sc-line); align-items: baseline; }
.flow > li:last-child { border-bottom: 1px solid var(--sc-line); }
.who { font-size: var(--sc-size-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--sc-muted); }
.who.we { color: var(--sc-accent); }
.step-ico { width: 24px; height: 24px; color: var(--sc-accent); align-self: start; margin-top: 1px; }
.flow h3 { font-size: 17px; font-weight: 600; }
.flow p { color: var(--sc-ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.split h3 { font: 600 21px/1.3 var(--sc-font-serif); margin-bottom: 8px; }
.split p { color: var(--sc-ink-2); }
.split > div { border-top: 2px solid var(--sc-ink); padding-top: 16px; }

/* results: big serif figures between hairlines */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sc-line); border-bottom: 1px solid var(--sc-line); }
.figures > div { padding: 24px 22px 24px 0; }
.figures > div + div { padding-left: 22px; border-left: 1px solid var(--sc-line); }
.figures strong { display: block; font: 600 var(--sc-size-figure)/1 var(--sc-font-serif); color: var(--sc-accent); letter-spacing: -.02em; margin-bottom: 10px; }
.figures .what { font-weight: 500; font-size: 16px; line-height: 1.4; }
.figures .def { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--sc-muted); }
.footnote { margin-top: 18px; font-size: 13px; color: var(--sc-muted); max-width: 52em; }

/* law */
.quote { margin-top: 8px; padding: 18px 22px; background: var(--sc-surface); border-left: 2px solid var(--sc-accent); max-width: 46em; }
.quote p { font: italic 400 18px/1.55 var(--sc-font-serif); color: var(--sc-ink); }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--sc-muted); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--sc-ink-2); }
.photos-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }

/* call to action band */
.cta-band { background: var(--sc-ink); color: var(--sc-paper); padding: 72px 0; }
.cta-band h2 { font: 600 var(--sc-size-h2)/1.15 var(--sc-font-serif); margin-bottom: 14px; max-width: 22em; }
.cta-band p { color: #c9cfd4; max-width: 40em; }
.cta-band .cta-row { margin-top: 28px; }
.cta-band .cta-note { color: #9aa4ad; }
.cta-band .cta-prep { margin-top: 10px; color: var(--sc-paper); }
.cta-band .cta-slot { margin-top: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-grid > div { border-top: 2px solid var(--sc-ink); padding-top: 16px; }
.contact-grid h3 { font: 600 21px/1.3 var(--sc-font-serif); margin-bottom: 6px; }
.contact-grid p { color: var(--sc-ink-2); }
.avatar { display: block; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px; object-fit: cover; }
.avatar-ini { border: 1.5px solid var(--sc-accent); color: var(--sc-accent); background: var(--sc-surface);
  font: 600 22px/61px var(--sc-font-serif); text-align: center; letter-spacing: .02em; }
.contact-grid .k { font-size: var(--sc-size-label); letter-spacing: .12em; text-transform: uppercase; color: var(--sc-muted); font-weight: 500; margin-bottom: 8px; }

/* footer */
.site-footer { padding: 32px 0 40px; font-size: 14px; color: var(--sc-muted); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--sc-ink-2); }

/* legal pages */
.legal { padding: 48px 0 64px; }
.legal h1 { font: 600 34px/1.15 var(--sc-font-serif); margin-bottom: 20px; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.legal p { color: var(--sc-ink-2); }
.legal-note { background: var(--sc-accent-soft); padding: 10px 14px; font-size: 14px; margin-bottom: 8px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .actions { margin-left: auto; }
  .hero { padding: 48px 0; }
  .hero-in, .about-grid, .cols, .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .cols { gap: 8px; }
  .label { padding-top: 0; }
  .section, .cta-band { padding: 52px 0; }
  .photo-ph, .photo-ill { aspect-ratio: 16 / 10; padding: 4%; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .bar { gap: 12px; height: 60px; }
  .wordmark { font-size: 17px; }
  .lang { font-size: 13px; }
  .ruled > li { grid-template-columns: 1fr; gap: 4px; }
  .flow > li { grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: center; }
  .flow > li > h3, .flow > li > p { grid-column: 2; }
  .figures { grid-template-columns: 1fr; }
  .figures > div, .figures > div + div { padding: 20px 0; border-left: 0; }
  .figures > div + div { border-top: 1px solid var(--sc-line); }
  .photos-row { grid-template-columns: 1fr; }
}
.hero-note { margin-top: 12px; }
a.inherit { color: inherit; }
.btn { white-space: nowrap; }
@media (max-width: 420px) { .actions .btn-sm { padding: 7px 10px; font-size: 13px; } .actions { gap: 12px; } }
/* very narrow phones (320-420px): long German CTA labels wrap instead of overflowing; long words break */
@media (max-width: 420px) {
  .btn:not(.btn-sm) { white-space: normal; padding: 12px 16px; font-size: 15px; max-width: 100%; text-align: center; }
  h1, h2, h3, p, li, dd, dt { overflow-wrap: break-word; }
  h1, h2, h3 { hyphens: auto; }
}
@media (max-width: 360px) {
  .bar { gap: 10px; }
  .actions { gap: 10px; }
  .actions .btn-sm { white-space: normal; line-height: 1.25; text-align: center; padding: 6px 8px; font-size: 12.5px; }
}
