/* =============================================================
   Studio 061 – Custom Styles
   Ergaenzt theme.min.css – niemals theme.min.css bearbeiten
   ============================================================= */

/* ── Fonts ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local(''), url('../fonts/inter-v12-latin-300.woff2') format('woff2'),
       url('../fonts/inter-v12-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''), url('../fonts/inter-v12-latin-regular.woff2') format('woff2'),
       url('../fonts/inter-v12-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local(''), url('../fonts/inter-v12-latin-500.woff2') format('woff2'),
       url('../fonts/inter-v12-latin-500.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''), url('../fonts/inter-v12-latin-700.woff2') format('woff2'),
       url('../fonts/inter-v12-latin-700.woff') format('woff');
}

/* ── Gap-Utilities (Bootstrap 4 enthaelt diese nicht) ────── */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 3rem; }

/* ── Row-Gap Utilities ──────────────────────────────────── */
.cards-grid {
  row-gap: 1.25rem;
}

/* ── Hero Spacing ────────────────────────────────────────── */
.hero-top {
  padding-top: calc(80px + 6vh);
  padding-bottom: 5vh;
}

/* ── Section Divider ─────────────────────────────────────── */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  margin: 0;
}

/* ── Part Label ──────────────────────────────────────────── */
.part-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 0.5rem;
}

/* ── Section Badge ───────────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}
.badge-blue {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.25);
}
.badge-violet {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.badge-green {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.badge-orange {
  background: rgba(251, 146, 60, 0.12);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.25);
}

/* ── Anchor Nav ──────────────────────────────────────────── */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.anchor-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
}
.anchor-nav a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

/* ── Service Card ────────────────────────────────────────── */
.srv-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.6rem 1.75rem;
  height: 100%;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.srv-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  background: #161616;
}
.srv-card--accent-blue {
  background: rgba(96, 165, 250, 0.05);
  border-color: rgba(96, 165, 250, 0.15);
}
.srv-card--accent-violet {
  background: rgba(167, 139, 250, 0.04);
  border-color: rgba(167, 139, 250, 0.15);
}
.srv-card--accent-violet-soft {
  background: rgba(167, 139, 250, 0.04);
  border-color: rgba(167, 139, 250, 0.12);
}
.srv-card--accent-green {
  background: rgba(74, 222, 128, 0.04);
  border-color: rgba(74, 222, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.srv-card--dark {
  background: #0e0e0e;
}

.srv-icon {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
  display: block;
  line-height: 1;
}
.srv-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.srv-title--blue   { color: #93c5fd; }
.srv-title--violet { color: #c4b5fd; }
.srv-title--green  { color: #4ade80; }

.srv-text {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.srv-text--dim { color: #555; }

.srv-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.srv-bullets li {
  font-size: 0.9rem;
  color: #aaa;
  padding: 0.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.srv-bullets li:last-child {
  border-bottom: none;
}
.srv-bullets li::before {
  content: '\2014';
  color: #444;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
}
.srv-bullets li.dim {
  color: #555;
}

/* ── Stat Boxes ──────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}
@media (max-width: 576px) {
  .stat-row { grid-template-columns: 1fr; }
}
.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  color: #a78bfa;
}
.stat-label {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.4;
}

/* ── Highlight Strip ─────────────────────────────────────── */
.highlight-strip {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.07) 0%, rgba(96, 165, 250, 0.05) 100%);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 1.25rem;
  padding: 2rem 2.25rem;
}

/* ── Flow Steps ──────────────────────────────────────────── */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -16px;
  width: 2px;
  background: rgba(255, 255, 255, 0.07);
}
.flow-num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #888;
  background: #111;
  position: relative;
  z-index: 1;
  margin-top: 2px;
}
.flow-body {
  padding-bottom: 2rem;
}
.flow-body--last {
  padding-bottom: 0;
}
.flow-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ddd;
  margin-bottom: 0.2rem;
}
.flow-text {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.5;
}

/* ── Chips ───────────────────────────────────────────────── */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  color: #bbb;
}
.chip--example {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #999;
  padding: 0.4rem 0.9rem;
}

/* ── Pills Row ──────────────────────────────────────────── */
.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ongoing-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  color: #ccc;
}

/* ── Section Separator ───────────────────────────────────── */
.section-sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 3rem 0;
}

/* ── CTA Block ───────────────────────────────────────────── */
.cta-block {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  text-align: center;
}

/* =============================================================
   Navbar – Custom dropdown & hamburger
   Gemeinsam genutzt von allen Seiten (index, services, kontakt,
   thumbforge, …)
   ============================================================= */

/* Force single-row layout in navbar container */
#navScroll .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
}

/* Brand: inline, no col-12 stacking */
#navScroll .navbar-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  width: auto !important;
  text-align: left !important;
}

/* ── Hamburger button ── */
.tf-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.4rem;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0;
}
.tf-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.tf-hamburger.tf-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tf-hamburger.tf-open span:nth-child(2) { opacity: 0; }
.tf-hamburger.tf-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Desktop layout (≥992px) ── */
@media (min-width: 992px) {
  .tf-hamburger { display: none !important; }

  .tf-nav-collapse {
    display: flex !important;
    align-items: center;
    flex: 1;
  }

  .tf-nav-list {
    display: flex !important;
    flex-direction: row;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    gap: 0;
  }

  /* Invisible bridge prevents menu from closing when mouse travels to it */
  .tf-dd-wrap {
    position: relative;
  }
  .tf-dd-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
  }

  .tf-dd-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    list-style: none;
    padding: 0.35rem;
    margin: 0;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.65rem;
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 1050;
  }

  .tf-dd-wrap:hover .tf-dd-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0s;
  }

  .tf-dd-wrap:hover .tf-caret { transform: rotate(180deg); opacity: 1; }
}

/* ── Mobile layout (<992px) ── */
@media (max-width: 991.98px) {
  .tf-hamburger { display: flex; }

  .tf-nav-collapse {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.5rem;
  }
  .tf-nav-collapse.tf-open { display: flex !important; }

  #navScroll .container { flex-wrap: wrap; }

  .tf-nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
    width: 100%;
  }

  .tf-dd-menu {
    list-style: none;
    padding: 0.3rem 0 0.3rem 0.5rem;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
  }
  .tf-dd-wrap.tf-open .tf-dd-menu { max-height: 200px; }
  .tf-dd-wrap.tf-open .tf-caret  { transform: rotate(180deg); opacity: 1; }
}

/* ── Shared nav-link styles ── */
.tf-nav-list .nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  transition: color 0.18s;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.tf-nav-list .nav-link:hover,
.tf-nav-list .nav-link.active { color: #fff; }

/* Caret */
.tf-caret {
  vertical-align: middle;
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-block;
}

/* ── Dropdown item ── */
.tf-dd-item {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 0.45rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.tf-dd-item:hover  { background: rgba(255,255,255,0.07); color: #fff; }
.tf-dd-item.current { color: #fff; font-weight: 600; }

/* =============================================================
   ThumbForge – Seitenspezifische Styles
   ============================================================= */

.tf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 0.35rem 1rem;
  background: rgba(251, 146, 60, 0.12);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.25);
  margin-bottom: 1.5rem;
}
.tf-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 3rem 0;
}
@media (max-width: 768px) { .tf-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.tf-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.tf-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fb923c;
  letter-spacing: -0.02em;
}
.tf-stat-label {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tf-workflow-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}
.tf-step-num {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(251,146,60,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 800; color: #fb923c;
  background: rgba(251,146,60,0.08);
  position: relative; z-index: 1; margin-top: 2px;
}
.tf-step-connector {
  position: absolute; left: 22px; top: 48px; bottom: -1.5rem;
  width: 2px; background: rgba(251,146,60,0.1);
}
.tf-step-body  { padding-bottom: 2.5rem; }
.tf-step-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.tf-step-text  { font-size: 0.875rem; color: #777; line-height: 1.6; max-width: 55ch; }
.tf-feature-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  padding: 1.75rem; height: 100%;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.tf-feature-card:hover { border-color: rgba(251,146,60,0.2); transform: translateY(-3px); background: #161616; }
.tf-feature-icon {
  width: 36px; height: 36px;
  border-radius: 0.5rem;
  background: rgba(251,146,60,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1rem;
}
.tf-feature-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.tf-feature-text  { font-size: 0.85rem; color: #777; line-height: 1.6; }
.tf-tech-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.6rem; padding: 0.4rem 0.9rem;
  font-size: 0.82rem; color: #ccc; font-weight: 500;
}
.tf-usecase-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem; padding: 1.25rem 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}
.tf-usecase-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.tf-usecase-title { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.tf-usecase-text  { font-size: 0.82rem; color: #666; line-height: 1.5; }
.tf-download-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #fff; color: #000; border: none;
  border-radius: 0.75rem; padding: 0.9rem 1.75rem;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  transition: opacity 0.15s, transform 0.12s;
}
.tf-download-btn:hover { opacity: 0.88; transform: translateY(-2px); color: #000; }
.tf-download-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: #888;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.75rem; padding: 0.9rem 1.5rem;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.tf-download-ghost:hover { color: #ccc; border-color: rgba(255,255,255,0.25); }
.tf-screenshot {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  width: 100%; height: auto; display: block;
}
.tf-os-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: #888; font-weight: 500; }
