/* Rick Media Knights - Website
   Basis-Styles + umgewandelte Hover-/Focus-Zustände
   (ehemals "style-hover" / "style-focus" Attribute aus dem Claude-Design-Export) */

/* ---- Selbst gehostete Schriften (statt Google-Fonts-CDN) ---- */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-400.woff2") format("woff2"),
       url("../fonts/bricolage-grotesque-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-500.woff2") format("woff2"),
       url("../fonts/bricolage-grotesque-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"),
       url("../fonts/bricolage-grotesque-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-800.woff2") format("woff2"),
       url("../fonts/bricolage-grotesque-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"),
       url("../fonts/jetbrains-mono-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"),
       url("../fonts/jetbrains-mono-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: oklch(0.97 0.006 95);
  color: oklch(0.20 0.01 95);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

a {
  color: oklch(0.50 0.17 262);
  text-decoration: none;
}

a:hover {
  color: oklch(0.20 0.01 95);
}

input,
textarea,
button {
  font-family: inherit;
}

/* ---- Navigation ---- */

.nav-link {
  color: oklch(0.20 0.01 95);
}

.nav-link:hover {
  color: oklch(0.50 0.17 262);
}

.nav-cta {
  background: oklch(0.20 0.01 95);
  color: oklch(0.97 0.006 95);
}

.nav-cta:hover {
  background: oklch(0.50 0.17 262);
  color: oklch(0.97 0.006 95);
}

/* ---- Services ---- */

.service-row:hover {
  background: oklch(0.20 0.01 95 / 0.02);
}

/* ---- Portfolio ---- */

.portfolio-thumb {
  transition: border-color 0.15s ease;
}

.portfolio-thumb:hover {
  border-color: oklch(0.50 0.17 262);
}

.filter-btn {
  border: 1px solid oklch(0.20 0.01 95 / 0.25);
  background: transparent;
  color: oklch(0.30 0.01 95);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.filter-btn.active {
  border-color: transparent;
  background: oklch(0.20 0.01 95);
  color: oklch(0.97 0.006 95);
}

/* ---- Label / Blitz & Bleistift ---- */

.bb-link:hover {
  background: oklch(0.97 0.006 95);
  color: oklch(0.20 0.01 95);
}

.bb-shop {
  transition: border-color 0.15s ease;
}

.bb-shop:hover {
  border-color: oklch(0.72 0.14 262);
}

/* ---- Kontaktformular ---- */

.field-input {
  border: 0;
  border-bottom: 1px solid oklch(0.20 0.01 95 / 0.25);
  background: transparent;
  padding: 10px 0;
  font-size: 17px;
  color: oklch(0.20 0.01 95);
  outline: none;
  width: 100%;
}

.field-input:focus {
  border-bottom-color: oklch(0.50 0.17 262);
}

textarea.field-input {
  resize: vertical;
}

.submit-btn {
  background: oklch(0.20 0.01 95);
  color: oklch(0.97 0.006 95);
  border: 0;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.submit-btn:hover {
  background: oklch(0.50 0.17 262);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  font-size: 14px;
}

.form-note.error {
  color: oklch(0.55 0.2 30);
}

.form-note.success {
  color: oklch(0.50 0.17 262);
}

/* Honeypot-Feld: fuer Menschen unsichtbar, fuer Bots weiterhin ausfuellbar */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* ---- Lightbox ---- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0.20 0.01 95 / 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  width: min(88vw, 1100px);
  height: min(84vh, 900px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.lightbox-video-wrap {
  width: min(88vw, 1200px);
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  background: #000;
}

.lightbox-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-watch {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.72 0.14 262);
}

.lightbox-caption {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.80 0.008 95);
  margin: 0;
}
