/* ============================================================
   CTLS-SEITZ – BASE / DESIGN-TOKENS
   Grundlage sind die ctls-Tokens (Artifakt-Schriften, Container),
   die Markenfarbe ist das Seitz-Orange (#e87c07) auf dunklem Hero.
   ============================================================ */
:root {
  --color-primary:   #e87c07;   /* Seitz-Akzent (Orange) */
  --color-primary-d: #cf6d04;   /* Hover */
  --color-ink:       #0d0e0f;   /* Überschriften */
  --color-text:      #222;
  --color-muted:     #5b5e63;
  --color-line:      #e4e7ea;
  --color-gray-light:#f2f5f7;
  --color-dark:      #0b1622;   /* Hero-/Dunkelflächen */
  --color-bg:        #fff;

  --font-body:    'Artifakt Element', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Artifakt Legend', 'Artifakt Element', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --max-width: 1280px;
  --gutter: 2.5rem;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scrollbar-gutter: stable; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.1;
  margin: 0 0 0.6em;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 500; letter-spacing: -0.04em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; }

p  { margin: 0 0 1.2em; }
a  { color: var(--color-text); text-decoration: none; transition: color .2s ease; }

.ctls-container { max-width: var(--max-width); margin: 0 auto; padding-inline: var(--gutter); }

.segment-subheadline {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-primary); margin: 0 0 .7rem;
}

/* Buttons */
/* Eckig und ruhig wie ein Zeichnungsrahmen – kein Pillen-Look.
 * Links bekommen einen Pfeil, der beim Überfahren nachrückt. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .8rem 1.25rem; border-radius: 0;
  font-weight: 500; font-family: var(--font-body); letter-spacing: .005em; line-height: 1.2; cursor: pointer;
  font-size: inherit;   /* <button> erbt die Größe sonst nicht (Browser-Vorgabe 13,3 px) */
  border: 1px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
a.btn::after { content: "→"; transition: transform .2s ease; }
a.btn[data-extern]::after { content: "↗"; }   /* führt auf eine andere Seite (ctlss_link_attr) */
a.btn:hover::after { transform: translateX(3px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-d); color: #fff; }
/* Linie: dünner Rahmen, füllt sich beim Überfahren dunkel (Menü) */
.btn--linie { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--linie:hover { background: var(--color-ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { a.btn::after { transition: none; } }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 760px) {
  :root { --gutter: 1.25rem; }
  .btn { display: flex; width: 100%; }
}

sup.ctls-reg { font-size: .45em; line-height: 0; vertical-align: super; }
