:root {
  --bg: #0e0f11;
  --surface: #17191c;
  --surface-2: #1f2226;
  --line: #2c3036;
  --text: #e6e9ec;
  --muted: #9aa3ad;
  --accent: #14b8cc;
  --accent-dim: #0e7a8a;
  --gold: #8196e8;
  --gold-dim: #424f94;
  --violet: #a4aac6;
  --violet-dim: #4d5068;
  --danger: #ff6b6b;
  --ok: #7be495;
  --radius: 4px;
  --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, Consolas, "Cascadia Mono", "Courier New", monospace;
  --font-display: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #5cd3e3; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #000;
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.6rem;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* ---------- Header / Navigation ---------- */

.site-header {
  background: rgba(14, 15, 17, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  flex-wrap: wrap;
}

.brand img { height: 30px; width: auto; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent-dim); }
.main-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.cart-link .count {
  display: inline-block;
  min-width: 1.4em;
  padding: 0 0.3em;
  margin-left: 0.3em;
  background: var(--gold);
  color: #000;
  border-radius: 999px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 90% at 80% 50%, #1b2430 0%, #0e0f11 70%);
}
.hero-media video.is-active { opacity: 1; }
/* Video wird vollständig und ohne Zoom gezeigt (16:10), am Rand weich ausgeblendet */
.hero-media video {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(58%, 940px);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  filter: saturate(0.85) brightness(0.9);
  opacity: 0;
  transition: opacity 0.4s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

/* Verlauf für Textkontrast und feine Scanlines */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0.12) 1px, transparent 1px, transparent 4px),
    linear-gradient(90deg, rgba(14, 15, 17, 0.9) 0%, rgba(14, 15, 17, 0.55) 40%, rgba(14, 15, 17, 0) 75%),
    linear-gradient(180deg, rgba(14, 15, 17, 0.4) 0%, transparent 20%, transparent 75%, var(--bg) 100%);
  z-index: -1;
}

@media (max-width: 899px) {
  .hero-media video {
    width: 100%;
    top: 0;
    transform: none;
  }
  .hero-media video.is-active { opacity: 0.4; }
  .hero-media video {
    -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  }
  .hero::after {
    background:
      repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0.12) 1px, transparent 1px, transparent 4px),
      linear-gradient(180deg, rgba(14, 15, 17, 0.5) 0%, rgba(14, 15, 17, 0.7) 60%, var(--bg) 100%);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: rgba(14, 15, 17, 0.6);
}
.hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2.4s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.hero h1 span { color: var(--accent); }
.hero h1 span:nth-of-type(2) { color: var(--gold); }
.hero h1 small {
  display: block;
  margin-top: 0.35em;
  font-size: 0.55em;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--text);
}

.hero-tagline {
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.hero .lead { color: #c9d0d7; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #000;
  background: var(--accent);
  border: 0;
  cursor: pointer;
  clip-path: var(--cut);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #5cd3e3; color: #000; transform: translateY(-1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--accent); }

.btn--gold { background: var(--gold); }
.btn--gold:hover { background: #e6c57a; }

.btn--small { padding: 0.5rem 0.9rem; font-size: 0.8rem; }

/* ---------- Cards & Grids ---------- */

.grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-dim);
}
.card h3 { margin-top: 0.2rem; }
.card p { color: var(--muted); }
.card .btn { align-self: flex-start; margin-top: auto; }

.card--flat::before { display: none; }

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag-list li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag-list li.tag--gold { border-color: var(--gold); color: var(--gold); }
.tag-list li.tag--accent { border-color: var(--accent-dim); color: var(--accent); }

/* ---------- Monitor frame (S5 style) ---------- */

.monitor {
  position: relative;
  background: #050607;
  border: 1px solid #3a3f46;
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 0 0 1px #000, 0 20px 50px rgba(0, 0, 0, 0.55);
}
.monitor img { border-radius: 2px; filter: contrast(1.05); }
.monitor::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 2px, transparent 4px);
  mix-blend-mode: overlay;
}
.monitor figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.2rem 0;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Faktenleiste ---------- */

.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.facts-list li {
  padding: 1.4rem 1.2rem;
  border-left: 2px solid var(--accent-dim);
  display: grid;
  gap: 0.3rem;
}
.facts-list strong {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.facts-list span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Video ---------- */

.video-frame {
  position: relative;
  margin: 0 auto;
  width: min(100%, 360px);
  background: #050607;
  border: 1px solid #3a3f46;
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 0 0 1px #000, 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 40px rgba(20, 184, 204, 0.08);
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}
.video-frame figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.2rem 0;
}

/* ---------- Figures / Galerie ---------- */

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 0.6rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: 0.85rem; color: var(--muted); padding: 0.5rem 0.2rem 0.2rem; }

.ref-item { margin-bottom: 4rem; }
.ref-item:last-child { margin-bottom: 0; }
.ref-item h2 { margin-top: 0.4rem; }

/* Referenz: Text und Bilder nebeneinander */
.ref-layout { display: grid; gap: 2rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
  .ref-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .ref-layout .ref-media { position: sticky; top: 6rem; }
}
.ref-media { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ref-media figure { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 0.5rem; }
.ref-media figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.ref-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ref-media figcaption { font-size: 0.82rem; color: var(--muted); padding: 0.45rem 0.2rem 0.1rem; }
.ref-media .fit img { object-fit: contain; background: #0b0c0e; }
.ref-media--wide img { aspect-ratio: 16 / 9; }
.ref-media--portrait { grid-template-columns: minmax(0, 1fr); }
.ref-media--portrait figure { width: 100%; max-width: 380px; margin-inline: auto; }
.ref-media--portrait img { aspect-ratio: auto; max-height: 560px; object-fit: contain; background: #0b0c0e; }
.ref-media--duo figure { max-width: none; }
.section--bg { position: relative; isolation: isolate; background: #0b0c0e; }
.section--bg::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/ueber-mich-bg.jpg") left center / cover no-repeat;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}
.section--bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,15,17,0.72) 0%, rgba(14,15,17,0.8) 50%, rgba(14,15,17,0.88) 100%);
}
.section--weave { position: relative; isolation: isolate; background: #0b0c0e; }
.section--weave::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/kevlar-gewebe.svg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
}
.section--weave::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,15,17,0.9) 0%, rgba(14,15,17,0.78) 50%, rgba(14,15,17,0.35) 100%);
}
.weave-text { max-width: 640px; }
.ref-media--duo figure:first-child:nth-last-child(odd) { grid-column: auto; }
.ref-media--duo img { aspect-ratio: 3 / 4; object-fit: cover; max-height: none; }

/* Bildreihe unter dem Text (Ankerblech) */
.gallery--row { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
@media (min-width: 900px) {
  .gallery--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery--row .wide { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .gallery--row .wide img { aspect-ratio: auto; flex: 1; min-height: 0; }
  .gallery--row figure:nth-child(n+6) { grid-column: span 2; }
  .gallery--row figure:nth-child(n+6) img { aspect-ratio: 2 / 1; }
}
.gallery--row figure.fit img { object-fit: contain; background: #0b0c0e; }
.gallery img, .ref-media img { cursor: zoom-in; }

/* Vergrößerte Ansicht */
.lightbox {
  border: 1px solid var(--line);
  background: #0b0c0e;
  padding: 0.6rem;
  max-width: min(96vw, 1400px);
  max-height: 94vh;
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; }
.lightbox p { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); }
.lightbox button { position: absolute; top: 0.4rem; right: 0.4rem; }

/* ---------- Lists ---------- */

.checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.checks li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
  color: #c9d0d7;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Shop ---------- */

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.product-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin: 0 0 0.3rem; }
.product-body .desc { color: var(--muted); font-size: 0.95rem; flex: 1; }
.price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text);
  margin: 0.8rem 0 0.2rem;
}
.price small { font-size: 0.75rem; color: var(--muted); }
.product .btn { margin-top: 0.8rem; align-self: flex-start; }

.shipping-note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding: 0.6rem 1rem;
  background: var(--surface);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  background: var(--surface);
}
.cart-table th,
.cart-table td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cart-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 400;
}
.cart-table td.num, .cart-table th.num { text-align: right; white-space: nowrap; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}
.qty button {
  background: var(--surface-2);
  color: var(--text);
  border: 0;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
}
.qty button:hover { color: var(--accent); }
.qty span { min-width: 2.4rem; text-align: center; font-family: var(--font-mono); }

.link-btn {
  background: none;
  border: 0;
  color: var(--danger);
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
  padding: 0;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
}
.cart-summary strong { font-size: 1.3rem; color: var(--accent); }

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.1rem; max-width: 760px; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label,
.field .legend {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c9d0d7;
}
.req { color: var(--gold); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid #3a3f46;
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  width: 100%;
}
input[type="file"] { padding: 0.5rem; color: var(--muted); }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }

.field .hint { font-size: 0.82rem; color: var(--muted); }
.field .error { font-size: 0.85rem; color: var(--danger); min-height: 0; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--danger); }

.checkbox {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: #c9d0d7;
}
.checkbox input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); flex: 0 0 auto; }

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 1.5rem;
}
.notice--ok { border-color: var(--ok); color: var(--ok); }
.notice--error { border-color: var(--danger); color: var(--danger); }

.hidden { display: none !important; }

.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Legal pages ---------- */

.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; color: var(--text); }
.prose h3 { font-size: 1.05rem; margin-top: 1.5rem; font-family: var(--font-body); font-style: normal; text-transform: none; color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; color: #c9d0d7; }
.prose li { margin-bottom: 0.3em; }
.prose .placeholder { padding: 0 0.2em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.prose .box { border: 1px solid var(--line); background: var(--surface); padding: 1rem 1.2rem; margin: 1.2rem 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: #08090a;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer h2 {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ---------- Page header (Unterseiten) ---------- */

.page-head {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(20, 184, 204, 0.05), transparent 70%),
    var(--bg);
}

.gallery--contain { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery--contain img { aspect-ratio: auto; object-fit: contain; background: #0b0c0e; }

/* ---------- Farbstufen: Türkis, Stahlblau, Grau ---------- */

.card:nth-child(3n+2)::before { background: var(--gold); }
.card:nth-child(3n+3)::before { background: var(--violet-dim); }
.card:hover { border-color: var(--violet-dim); }

.facts-list li:nth-child(2) { border-left-color: var(--gold-dim); }
.facts-list li:nth-child(2) strong { color: var(--gold); }
.facts-list li:nth-child(3) { border-left-color: var(--violet-dim); }
.facts-list li:nth-child(3) strong { color: var(--violet); }

.monitor--warm { border-color: var(--gold-dim); }
.monitor--warm figcaption { color: var(--gold); }

.btn--ghost:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-dim); }
.btn--gold:hover { background: #a3b3f0; }

.hero-badge { border-color: var(--accent-dim); color: var(--accent); }
.hero-badge__dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* Platzhalter bewusst auffällig, bis sie ausgefüllt sind */
.prose .placeholder { color: #e0b64f; background: rgba(224, 182, 79, 0.1); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
