/* ==========================================================================
   CS-Computer – IT-Services
   Design-System · handgeschrieben, ohne Framework
   ========================================================================== */

/* --- 1. Design-Tokens ---------------------------------------------------- */

:root {
  /* Farben – Light */
  --ink:            #0e1726;
  --ink-2:          #33425c;
  --muted:          #5a6982;
  --line:           #e3e8f0;
  --line-strong:    #cfd8e6;
  /* Seitengrund leicht kühl getönt statt reinweiß – die Karten bleiben weiß
     und heben sich dadurch ohne zusätzlichen Schatten ab. */
  --surface:        #f7f9fd;
  --surface-2:      #eef3fa;
  --surface-3:      #e3ebf6;
  --card:           #ffffff;

  --brand:          #1a5fcc;
  --brand-600:      #14509f;
  --brand-700:      #10408c;
  --brand-tint:     #e8f0fe;
  --cyan:           #26c6e0;

  /* Flächenfarbe für Buttons – bewusst in Light und Dark identisch,
     damit weißer Text durchgehend die AA-Schwelle hält (4,6:1 bzw. 6,7:1). */
  --brand-solid:       #1f6feb;
  --brand-solid-hover: #1657bd;

  --dark:           #0d1420;
  --dark-2:         #131c2b;
  --dark-line:      #26324a;
  --on-dark:        #eef2f8;
  --on-dark-muted:  #9aa8c0;

  /* Maße */
  --wrap:           1160px;
  --wrap-narrow:    760px;
  --radius:         14px;
  --radius-sm:      9px;
  --radius-lg:      22px;

  --gap:            clamp(1.25rem, 2.5vw, 2rem);
  --section-y:      clamp(3.75rem, 8vw, 7rem);

  /* Schatten */
  --shadow-sm:  0 1px 2px rgba(14, 23, 38, .06), 0 1px 3px rgba(14, 23, 38, .05);
  --shadow-md:  0 4px 12px rgba(14, 23, 38, .07), 0 12px 28px rgba(14, 23, 38, .07);
  --shadow-lg:  0 8px 20px rgba(14, 23, 38, .09), 0 28px 60px rgba(14, 23, 38, .12);

  /* Typografie */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          "Noto Sans", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:          #e9eef7;
    --ink-2:        #c2ccdd;
    --muted:        #94a2ba;
    --line:         #24304a;
    --line-strong:  #33425f;
    --surface:      #0e1622;
    --surface-2:    #131d2c;
    --surface-3:    #182334;
    --card:         #131d2c;

    --brand:        #5c9bff;
    --brand-600:    #7db0ff;
    --brand-700:    #a6c8ff;
    --brand-tint:   #16273f;

    --dark:         #0a111b;
    --dark-2:       #101927;
    --dark-line:    #223049;

    --shadow-sm:  0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md:  0 4px 12px rgba(0, 0, 0, .35), 0 12px 28px rgba(0, 0, 0, .3);
    --shadow-lg:  0 8px 20px rgba(0, 0, 0, .4), 0 28px 60px rgba(0, 0, 0, .45);
  }
}

/* --- 2. Reset & Basis ---------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, picture, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  line-height: 1.15;
  letter-spacing: -.021em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.2vw, 3.85rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }
h4 { font-size: 1.03rem; }

p  { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand-600); }

strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: .75rem 1.15rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Layout ----------------------------------------------------------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 480px) { .wrap { width: min(100% - 1.75rem, var(--wrap)); } }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--alt   { background: var(--surface-2); }
.section--dark  { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark-muted); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075em; margin-bottom: 0; }

/* auf dunklem Grund würde --muted die AA-Schwelle reißen (3,7:1) */
.section--dark .section-head p,
.section--dark .step p,
.section--dark .lead { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .795rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--dark .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow { color: var(--cyan); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand); }

/* --- 4. Buttons ---------------------------------------------------------- */

.btn {
  --btn-bg: var(--brand-solid);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 600;
  font-size: .985rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--primary:hover { background: var(--brand-solid-hover); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .38);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--outline:hover { background: var(--surface-2); border-color: var(--brand); color: var(--brand); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--dark); }
.btn--light:hover { --btn-fg: var(--brand-700); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.arrow-link:hover::after { transform: translateX(4px); }

/* --- 5. Header / Navigation ---------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 20, 32, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: auto; height: 34px; }
@media (max-width: 420px) { .brand img { height: 28px; } }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  margin-right: -.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }

.nav ul {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin: 0; padding: 0;
  list-style: none;
}

.nav a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 100px;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }

.nav .btn {
  margin-left: .5rem;
  padding: .6rem 1.15rem;
  font-size: .93rem;
  color: #fff;
}
.nav .btn:hover { background: var(--brand-solid-hover); color: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: .5rem 0 1.25rem;
    display: none;
  }
  .site-header[data-open="true"] .nav { display: block; }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    width: min(100% - 2.5rem, var(--wrap));
    margin-inline: auto;
  }
  .nav a { padding: .8rem 1rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav .btn { margin: .6rem 0 0; padding: .85rem 1.25rem; justify-content: center; }
}

/* --- 6. Hero ------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: clamp(30rem, 78vh, 44rem);
  padding-block: clamp(4rem, 10vw, 7rem);
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero--compact { min-height: clamp(17rem, 40vh, 24rem); }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  /* fill statt cover: der SVG-Hintergrund bringt sein eigenes
     preserveAspectRatio="slice" mit und beschneidet sich selbst korrekt,
     ohne dass der Inhalt verzerrt wird. */
  object-fit: fill;
}
/* Deutlich zurückhaltender als bei den früheren Fotos – die Abdunklung der
   Textseite steckt bereits im SVG. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(9, 14, 24, .74) 0%, rgba(9, 14, 24, .44) 46%, rgba(9, 14, 24, .08) 100%),
    linear-gradient(to top, rgba(9, 14, 24, .55), transparent 62%);
}

.hero__content { max-width: 44rem; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero__lead {
  font-size: clamp(1.06rem, 1rem + .5vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
  max-width: 40rem;
}
.hero--compact h1 { margin-bottom: 0; }
.hero--compact .hero__lead { margin-top: .8rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .85rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 100px;
  background: rgba(255, 255, 255, .07);
  font-size: .86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
}
.hero__meta li::before {
  content: "";
  width: .45rem; height: .45rem;
  border-radius: 50%;
  background: var(--cyan);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: .87rem;
  /* .62 lag über dem Hero-Hintergrund bei nur 3:1 – zu wenig für Fließtextgröße */
  color: rgba(255, 255, 255, .86);
}
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }

/* --- 7. Grid & Karten ---------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* feste Zweispaltigkeit ab Tablet – für Inhalte, bei denen 3+1 unruhig wirkt */
@media (min-width: 780px) { .grid--pair { grid-template-columns: 1fr 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: .5rem; }
.card p  { color: var(--muted); font-size: .975em; }
.card__foot { margin-top: auto; padding-top: 1.15rem; }

.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.card--dark {
  background: var(--dark-2);
  border-color: var(--dark-line);
  color: var(--on-dark);
}
.card--dark h3 { color: #fff; }
.card--dark p  { color: var(--on-dark-muted); }
.card--dark:hover { border-color: #35476a; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem; height: 2.9rem;
  margin-bottom: 1.15rem;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card--dark .card__icon { background: rgba(38, 198, 224, .14); color: var(--cyan); }

.tick-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}
.tick-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .965em;
  color: var(--ink-2);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .48em;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5fcc' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .68rem no-repeat;
}
.card--dark .tick-list li { color: var(--on-dark-muted); }
.card--dark .tick-list li::before,
.section--dark .tick-list li::before {
  background-color: rgba(38, 198, 224, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326c6e0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  .tick-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c9bff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  }
}

/* Kennzahlen */
.stats {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  margin: 0; padding: 0;
}
.stat { border-left: 3px solid var(--brand); padding-left: 1.15rem; }
.section--dark .stat { border-color: var(--cyan); }
.stat__value {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.stat__label {
  display: block;
  margin-top: .4rem;
  font-size: .9rem;
  color: var(--muted);
}
.section--dark .stat__label { color: var(--on-dark-muted); }

/* Split-Layout (Text + Bild) */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: -1; }
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Ablauf / Schritte */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin: 0; padding: 0;
  list-style: none;
}
.step { counter-increment: step; padding-top: 1.25rem; border-top: 2px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .05em;
}
.step h3 { font-size: 1.12rem; }
.step p  { color: var(--muted); font-size: .96em; margin-bottom: 0; }

/* Partner-/Referenzlogos */
.logo-row {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin: 0; padding: 0;
  list-style: none;
}
.logo-row li {
  display: grid;
  place-items: center;
  height: 3.6rem;
}
.logo-row img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.logo-row li:hover img { filter: grayscale(0); opacity: 1; }
@media (prefers-color-scheme: dark) {
  .logo-row img { filter: grayscale(1) invert(1) brightness(1.9) contrast(.8); opacity: .8; }
  .logo-row li:hover img { filter: grayscale(.35) invert(1) brightness(1.9) contrast(.8); opacity: 1; }
}

/* Referenz-Karte */
.ref-card { padding: clamp(1.6rem, 2.6vw, 2.2rem); }
.ref-card__logo {
  height: 2.6rem;
  margin-bottom: 1.4rem;
}
.ref-card__logo img { height: 100%; width: auto; max-width: 11rem; object-fit: contain; }
@media (prefers-color-scheme: dark) {
  .ref-card__logo img { filter: invert(1) brightness(1.6) contrast(.8); }
}
.tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin: 1.15rem 0 0; padding: 0; list-style: none;
}
.tags li {
  padding: .26rem .7rem;
  border-radius: 100px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: .8rem;
  font-weight: 500;
}

/* Kontaktzeilen */
.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list svg {
  flex: 0 0 auto;
  width: 1.35rem; height: 1.35rem;
  margin-top: .18rem;
  color: var(--brand);
}
.contact-list dt, .contact-list .lbl {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* CTA-Band */
.cta-band {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(2rem, 4.5vw, 3.25rem);
  border-radius: var(--radius-lg);
  /* Feste Farben – identisch in Light und Dark. Der hellste Punkt des Verlaufs
     liegt bei 4,5:1 gegen Weiß, damit der Text durchgehend AA erfüllt. */
  background: linear-gradient(120deg, #0f3f8f, #1f6feb 58%, #1f79c9);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 820px) {
  .cta-band { grid-template-columns: 1fr auto; }
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p  { color: rgba(255, 255, 255, .88); margin-bottom: 0; max-width: 46ch; }
.cta-band .btn-row { margin-top: 0; }

/* Hinweisbox */
/* Eigener Farbton statt --surface-2: die Box liegt mal auf einem hellen
   Abschnitt, mal auf einer weißen Karte und muss sich von beidem absetzen. */
.note {
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  font-size: .95em;
  color: var(--ink-2);
}
/* .card p ist spezifischer und würde die Textfarbe der Box überschreiben */
.card .note, .card p.note { color: var(--ink-2); }

/* --- 8. Footer ----------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: var(--on-dark-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .95rem;
}
.site-footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.site-footer h2 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand img { height: 30px; margin-bottom: 1.1rem; }
.site-footer p { margin-bottom: 0; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: .875rem;
}
.site-footer__bottom ul {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  grid-auto-flow: column;
}

/* --- 9. Utilities & Motion ----------------------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.12em; color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- 10. Druck ----------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .hero__media, .btn-row, .cta-band { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .hero { min-height: 0; background: none; color: #000; padding-block: 0 1rem; }
  .hero::after { display: none; }
  .hero h1, .hero__lead { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
  .card { border: 1px solid #ccc; break-inside: avoid; }
}
