/* sidelane.ai – Seitenrahmen (Header, Footer, Rechtstexte). Die Inhalte der Startseite bringen ihr eigenes CSS mit. */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #494949;
  font-family: Hind, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  line-height: 25px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sl-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: #141210; color: #fff;
  font: 500 14px/1 Hind, sans-serif; text-decoration: none;
}
.sl-skip:focus { top: 12px; }

/* ── Header ── */
.sl-header {
  box-sizing: border-box;
  position: relative; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 100px; padding: 0 50px;
  background: #fff;
}
.sl-logo { display: block; flex: 0 0 auto; line-height: 0; }
.sl-logo img { display: block; width: 150px; height: auto; }
.sl-nav {
  display: flex; align-items: center; gap: 28px;
  font-family: Hind, sans-serif; font-weight: 500; font-size: 14px; line-height: 1;
  letter-spacing: .1em; text-transform: uppercase;
}
.sl-nav a { color: #141210; text-decoration: none; }
.sl-lang { display: inline-flex; align-items: center; gap: 7px; color: #b5b0a8; }
.sl-lang a { color: #9a958d; }
.sl-lang a.is-active { color: #141210; }
.sl-nav .sl-lang a:hover, .sl-login:hover { color: #141210; opacity: .65; }
.sl-register {
  display: inline-flex; align-items: center;
  padding: 13px 22px 11px; border-radius: 999px;
  background: #141210; color: #fff !important;
  transition: background .2s ease;
}
.sl-register:hover { background: #3a3632; }
.sl-nav a:focus-visible, .sl-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

/* ── Footer ── */
.sl-footer { background: #141210; color: rgba(255,255,255,.72); }
.sl-footer-inner {
  box-sizing: border-box;
  width: min(1300px, calc(100% - 100px)); margin: 0 auto;
  padding: 72px 0 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start;
}
.sl-footer-logo { line-height: 0; }
.sl-footer-logo img { display: block; width: 140px; height: auto; }
.sl-footer-claim { grid-column: 1; margin: 0; font-size: 17px; line-height: 26px; font-weight: 300; color: rgba(255,255,255,.72); max-width: 420px; }
.sl-footer-links {
  grid-column: 2; grid-row: 1 / span 2;
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: flex-end;
  font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4;
}
.sl-footer a { color: #fff; text-decoration: none; }
.sl-footer-links a:hover { opacity: .65; }
.sl-footer-bottom {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px; line-height: 1.4; letter-spacing: .04em;
}
.sl-footer .sl-lang { font-weight: 500; letter-spacing: .1em; color: rgba(255,255,255,.35); }
.sl-footer .sl-lang a { color: rgba(255,255,255,.5); }
.sl-footer .sl-lang a.is-active { color: #fff; }

/* ── Rechtstexte / Unterseiten ── */
.sl-legal-page {
  box-sizing: border-box;
  width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 110px;
  color: #3a3632;
}
.sl-legal-page h1 {
  margin: 0 0 18px; font-family: Hind, sans-serif; font-weight: 600;
  font-size: 44px; line-height: 1.15; letter-spacing: -.01em; color: #141210; text-transform: none;
}
.sl-legal-page h2 {
  margin: 30px 0 6px; font-family: Hind, sans-serif; font-weight: 600;
  font-size: 18px; line-height: 1.35; color: #141210; text-transform: none;
}
.sl-legal-page p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; font-weight: 400; color: #3a3632; }
.sl-legal-page .sl-legal-lead { color: #7c7870; }
.sl-legal-page a { color: #141210; text-decoration: underline; text-underline-offset: 3px; }
.sl-legal-page hr { margin: 64px 0 48px; border: 0; border-top: 1px solid #E1E1E4; }
.sl-legal { font-weight: 400; color: #3a3632; }
/* Die Rechtstexte beginnen mit einer eigenen Titel-Zeile — die steht schon als h1 über dem Text */
.sl-legal h1, .sl-legal .sl-legal-meta + h2 { display: none !important; }
.sl-404 { text-align: center; padding-top: 90px; }

@media (max-width: 767px) {
  .sl-header { height: 80px; padding: 0 20px; }
  .sl-logo img { width: 112px; }
  .sl-nav { gap: 18px; font-size: 12px; letter-spacing: .07em; }
  .sl-register { padding: 11px 14px 9px; }
  .sl-footer-inner { width: calc(100% - 40px); grid-template-columns: 1fr; padding: 56px 0 32px; }
  .sl-footer-links { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .sl-legal-page h1 { font-size: 34px; }
}
/* Schmale Handys: Sprachwahl nur im Footer, damit Login + Registrieren in eine Zeile passen */
@media (max-width: 480px) {
  .sl-header .sl-lang { display: none; }
}
@media (max-width: 360px) {
  .sl-header { padding: 0 16px; }
  .sl-logo img { width: 100px; }
  .sl-nav { gap: 14px; }
  .sl-register { padding: 10px 12px 8px; }
}
