/* ============================================================
   Duality Beyond Studios — Service-Website
   Gemeinsames Stylesheet für index.html, jobs.html, kontakt.php
   ============================================================ */

:root {
  --ink: #17150f;
  --bg: #ffffff;
  --paper: #f6f3ec;
  --paper-line: rgba(23, 21, 15, 0.1);
  --gold: #b8873c;
  --gold-soft: rgba(184, 135, 60, 0.12);
  --dim: #6b6659;
  --ok: #4a7a5b;
  --err: #a4453a;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* ---------------- Nav ---------------- */

nav.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-line);
}

nav.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand span { color: var(--gold); }

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--dim);
  letter-spacing: 0.08em;
  display: block;
  margin-top: 0.15rem;
}

nav.top ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

nav.top a.navlink {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s ease;
}
nav.top a.navlink:hover { color: var(--gold); }

@media (max-width: 720px) {
  nav.top ul { gap: 1.1rem; font-size: 0.78rem; }
}

/* ---------------- Hero ---------------- */

header.hero {
  padding: 9vh 0 6vh;
  border-bottom: 1px solid var(--paper-line);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}

h1.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 1.2rem;
  max-width: 20ch;
}

.lede {
  font-size: 1.08rem;
  color: #3a3730;
  max-width: 56ch;
  margin: 0 0 2rem;
}

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 3px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--gold); border-color: var(--gold); }
.btn.ghost:hover { background: var(--paper); }

/* ---------------- Sections ---------------- */

section { padding: 6.5vh 0; border-bottom: 1px solid var(--paper-line); }
section:last-of-type { border-bottom: none; }

.section-head { margin-bottom: 2.4rem; max-width: 60ch; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0 0 0.6rem;
}

.section-sub { color: var(--dim); margin: 0; font-size: 0.96rem; }

/* ---------------- Cards / grid ---------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  padding: 1.6rem 1.6rem 1.8rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 0.5rem;
}

.price {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0.2rem 0 0.9rem;
}
.price small { font-size: 0.7rem; color: var(--dim); font-weight: 400; }

.card ul { margin: 0; padding-left: 1.1rem; font-size: 0.9rem; color: #3a3730; }
.card ul li { margin-bottom: 0.3rem; }

.card .note { font-size: 0.82rem; color: var(--dim); margin-top: 0.9rem; }

/* progress bar (Website-Slots) */
.slots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.6rem 0 1rem;
}
.slots-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--paper-line);
  overflow: hidden;
}
.slots-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
}
.slots-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--dim);
  white-space: nowrap;
}

/* ---------------- Impressum-Karten ---------------- */

.impressum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.impressum-card {
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.impressum-card .head {
  padding: 1.1rem 1.3rem;
  background: var(--ink);
  color: #fff;
}
.impressum-card .head .opt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #d8c9a3;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
}
.impressum-card .head h3 { margin: 0; font-family: var(--font-display); font-size: 1.02rem; }

.doc-preview {
  background: #fdfcf8;
  border-bottom: 1px solid var(--paper-line);
  padding: 1.1rem 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: #3a3730;
  white-space: pre-line;
}

.impressum-card .body {
  padding: 1.2rem 1.3rem 1.5rem;
  background: var(--paper);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.impressum-card .body p { margin: 0; font-size: 0.88rem; color: #3a3730; }
.impressum-card .body .reco {
  font-size: 0.8rem;
  color: var(--dim);
  border-top: 1px dashed var(--paper-line);
  padding-top: 0.7rem;
  margin-top: auto;
}

/* ---------------- Payout timeline ---------------- */

.timeline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex-wrap: wrap;
  margin: 1.4rem 0;
}
.timeline .step {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: 0.5rem 1rem;
}
.timeline .arrow { color: var(--gold); }

/* ---------------- Grundregeln ---------------- */

.rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}
.rules li {
  font-size: 0.92rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border-radius: 6px;
  border-left: 3px solid var(--gold);
}

/* ---------------- FAQ ---------------- */

details.faq {
  border-bottom: 1px solid var(--paper-line);
  padding: 1rem 0;
}
details.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before {
  content: "+ ";
  color: var(--gold);
  font-family: var(--font-mono);
}
details.faq[open] summary::before { content: "– "; }
details.faq p { color: var(--dim); font-size: 0.9rem; margin: 0.7rem 0 0; }

/* ---------------- Creator Carousel ---------------- */

.carousel-outer {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.carousel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll-left 38s linear infinite;
}

.carousel-outer:hover .carousel-track { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.creator-chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.creator-chip:hover { border-color: var(--gold); color: var(--gold); }
.creator-chip .avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { animation: none; overflow-x: auto; }
}

/* ---------------- Jobs teaser / list ---------------- */

.job-card {
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
  background: var(--paper);
}
.job-card h3 { margin: 0 0 0.3rem; font-family: var(--font-display); font-size: 1.05rem; }
.job-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.7rem;
}
.job-card p { font-size: 0.9rem; color: #3a3730; margin: 0 0 1rem; }
.job-card ul { margin: 0 0 1rem; padding-left: 1.1rem; font-size: 0.9rem; color: #3a3730; }
.job-card ul li { margin-bottom: 0.3rem; }
.job-card .note { font-size: 0.82rem; color: var(--dim); }

.placeholder-note {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--err);
  background: rgba(164, 69, 58, 0.08);
  border: 1px dashed rgba(164, 69, 58, 0.35);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  margin-bottom: 1.6rem;
}

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

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 560px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--paper-line);
  border-radius: 5px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }

.hp-field { position: absolute; left: -9999px; }

.form-msg {
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
}
.form-msg.ok { background: rgba(74, 122, 91, 0.1); color: var(--ok); border: 1px solid rgba(74,122,91,0.3); }
.form-msg.err { background: rgba(164, 69, 58, 0.1); color: var(--err); border: 1px solid rgba(164,69,58,0.3); }

/* ---------------- Footer ---------------- */

footer {
  padding: 4vh 0 6vh;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--dim);
}
footer a { text-decoration: underline; }
