/* stm4.de – STM4 App-Team. Schriften lokal. */
@font-face { font-family: 'Expansiva-Bold'; src: url('fonts/Expansiva_bold.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis Regular'; src: local('Metropolis Regular'), url('fonts/Metropolis-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis Medium'; src: local('Metropolis Medium'), url('fonts/Metropolis-Medium.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --text: #000;
  --bg: #fff;
  --band: #efefef;
  --col: 860px;
  --gutter: 1.3rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Metropolis Regular', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
a { color: inherit; }
.inside { max-width: var(--col); margin: 0 auto; padding: 0 var(--gutter); }

/* Kopf: STM4 in Expansiva, Rolle in Metropolis */
.site-header { padding: 2.8rem 0 2.5rem; }
.logo-link { text-decoration: none; font-size: 2rem; line-height: 1.25; display: inline-block; }
.logo { font-family: 'Expansiva-Bold', Helvetica, Arial, sans-serif; white-space: nowrap; }
.logo sup { font-size: 0.6em; line-height: 0; }
.role { white-space: nowrap; }

/* Graues Kontaktband */
.contact-band { background: var(--band); padding: 1rem 0; font-size: 0.8rem; line-height: 1.25; }
.contact-band p { margin: 0; }

/* Inhalt */
main section { padding: 1.6rem 0; }
h1, h2 { font-family: 'Metropolis Medium', Helvetica, Arial, sans-serif; font-weight: normal; }
h1 { font-size: 1.6rem; line-height: 1.3; margin: 1rem 0; }
main p { margin: 1rem 0; }
h1 + .since { margin-top: -0.6rem; }
.cta-section { background: var(--band); }
.cta { font-size: 1.4rem; line-height: 1.36; margin: 1.4rem 0; }
.cta a { white-space: nowrap; }

/* Fuß */
.site-footer { background: var(--band); padding: 1rem 0; font-size: 0.8rem; line-height: 1.25; border-top: 1px solid #fff; }
.site-footer .inside { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
.site-footer .logo { font-size: 1em; }

/* Rechtstexte */
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.legal h3 { font-family: 'Metropolis Medium', Helvetica, Arial, sans-serif; font-weight: normal; font-size: 1rem; margin: 1.4rem 0 0.4rem; }

@media (max-width: 600px) {
  .site-header { padding: 1.8rem 0 1.6rem; }
  .logo-link { font-size: 1.6rem; }
  h1 { font-size: 1.35rem; }
  .cta { font-size: 1.2rem; }
}
