/* Schwarzenberg – Design 2 (Video-Hero). Quelle: 01_Generator/assets/site.css. Keine externen Schriften, keine externen Ressourcen. */
:root {
  --ink: #0d1218;
  --slate: #1b232c;
  --paper: #f4f2ee;
  --snow: #ffffff;
  --mist: #c6ccd3;
  --stone: #6f7985;
  --gold: #c9a45c;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Kopf */
.sb-head { position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: clamp(1.25rem, 3vw, 2rem) var(--pad); }
.sb-mark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--snow);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.sb-mark span { margin-top: .35rem; font-weight: 400; font-size: .7rem; letter-spacing: .42em; color: var(--gold); }
body:not(.home) .sb-head { position: static; background: var(--ink); }

/* Hero */
.sb-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(7rem, 20vh, 11rem) var(--pad) clamp(3rem, 9vh, 6rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--snow);
}
.sb-hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sb-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 18, 24, .78) 0%, rgba(13, 18, 24, .45) 48%, rgba(13, 18, 24, .15) 100%),
    linear-gradient(180deg, rgba(13, 18, 24, .35) 0%, rgba(13, 18, 24, 0) 35%, rgba(13, 18, 24, .75) 100%);
}
.sb-hero-inner { position: relative; max-width: 64rem; }
.sb-kicker {
  margin: 0 0 1.25rem;
  padding-left: 2.75rem;
  position: relative;
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.sb-kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 2rem; height: 1px; background: var(--gold); }
.sb-hero h1 {
  margin: 0 0 1.25rem;
  max-width: 14ch;
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.sb-lede { margin: 0; max-width: 36em; color: var(--mist); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }

.sb-count {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: clamp(2.25rem, 6vh, 4rem) 0;
  padding: 0;
  list-style: none;
}
.sb-count li {
  display: flex;
  flex-direction: column;
  min-width: 5.5rem;
  padding: .9rem 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(13, 18, 24, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sb-count b { font-weight: 700; font-size: clamp(2.25rem, 6vw, 4.25rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.sb-count small { margin-top: .55rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.sb-count[hidden] { display: none; }
.sb-static { margin: clamp(2.25rem, 6vh, 4rem) 0; font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 600; }

.sb-contact { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.sb-btn {
  display: inline-block;
  padding: .85rem 1.4rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.sb-btn:hover { background: var(--snow); }
.sb-btn-ghost { background: transparent; color: var(--snow); border: 1px solid rgba(255, 255, 255, .5); }
.sb-btn-ghost:hover { background: transparent; border-color: var(--snow); }

@media (max-width: 560px) {
  .sb-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
  .sb-count li { min-width: 0; padding: .7rem .4rem .75rem; align-items: center; }
  .sb-count b { font-size: 1.9rem; }
  .sb-count small { font-size: .55rem; letter-spacing: .12em; }
  .sb-btn { width: 100%; text-align: center; }
}

/* Textseiten */
.sb-main { flex: 1 0 auto; padding: clamp(3rem, 9vh, 6rem) var(--pad) clamp(3rem, 8vh, 5rem); }
.sb-text { max-width: 44rem; }
.sb-text h1 { margin: 0 0 2rem; font-weight: 700; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: -.02em; }
.sb-text h2 { margin: 2.25rem 0 .5rem; font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
.sb-text p { margin: 0 0 1rem; line-height: 1.7; }
.sb-back { display: inline-block; margin-top: 2.5rem; font-size: .95rem; font-weight: 600; }

/* Fuß */
.sb-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding: 1.5rem var(--pad);
  background: var(--ink);
  color: var(--mist);
  font-size: .875rem;
}
.sb-foot p { margin: 0; }
.sb-foot nav { display: flex; gap: 1.5rem; }
.sb-foot a { color: var(--snow); }
.sb-foot :focus-visible { outline-color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .sb-hero-inner { animation: sb-fade 1s .3s ease-out both; }
  @keyframes sb-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  video.sb-hero-media { display: none; }
}
