:root {
  --bg-primary: #0B0D10;
  --bg-secondary: #12161B;
  --bg-card: #171C23;
  --bg-card-hover: #1E252F;
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --accent-blue: #00D4FF;
  --accent-blue-dim: rgba(0, 212, 255, 0.14);
  --accent-gold: #D4AF37;
  --accent-gold-hover: #E5C148;
  --accent-gold-dim: rgba(212, 175, 55, 0.14);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-blue: rgba(0, 212, 255, 0.35);
  --border-gold: rgba(212, 175, 55, 0.4);
  --max-width: 1180px;
  --reading-width: 780px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-gold);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-primary);
}

.brand-logo:hover {
  color: var(--text-primary);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(212, 175, 55, 0.22));
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 500;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 4px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.65rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.58rem 1.1rem;
  font-size: 0.88rem;
}

.btn-gold {
  background: var(--accent-gold);
  color: #0B0D10;
  border-color: var(--accent-gold);
}

.btn-gold:hover {
  background: var(--accent-gold-hover);
  color: #0B0D10;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: var(--border-blue);
}

.btn-outline:hover {
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* Sections & Typography */
section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-alt {
  background-color: var(--bg-secondary);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  background: var(--accent-blue-dim);
  border: 1px solid var(--border-blue);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.eyebrow-gold {
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
  border-color: var(--border-gold);
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.45rem);
  font-weight: 800;
  margin-bottom: 1.35rem;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.15rem;
}

h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.15rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

p.lead {
  font-size: clamp(1.14rem, 1.8vw, 1.32rem);
  color: var(--text-primary);
  line-height: 1.6;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Hero */
.hero-section {
  padding: 6.2rem 0 5rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 212, 255, 0.10), transparent 42%),
    radial-gradient(circle at 18% 80%, rgba(212, 175, 55, 0.08), transparent 40%),
    var(--bg-primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-strip {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
}

/* Architecture Panel in Hero */
.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.arch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-gold);
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.layer-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-blue);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.layer-pill.gold {
  border-left-color: var(--accent-gold);
}

.layer-pill-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.layer-pill-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--border-blue);
  transform: translateY(-2px);
}

.card-gold {
  border-color: var(--border-gold);
}

.card-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  display: block;
}

/* Ecosystem Table */
.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

tr:last-child td {
  border-bottom: none;
}

/* Answer-First Box (GEO / RAG Citation Box) */
.answer-first-box {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(212, 175, 55, 0.06));
  border: 1px solid var(--border-blue);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.85rem;
  margin: 1.75rem 0 2.5rem;
}

.answer-first-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.answer-first-box p {
  color: var(--text-primary);
  font-size: 1.06rem;
  margin-bottom: 0;
}

/* FAQ Accordion (100% SSR HTML visible via <details>) */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.faq-tab-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-tab-btn.active, .faq-tab-btn:hover {
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.5rem;
  transition: border-color 0.2s ease;
}

details.faq-item[open] {
  border-color: var(--border-gold);
}

details.faq-item summary {
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent-gold);
}

details.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Article Content */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h2 {
  margin-top: 2.6rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 1.9rem;
  margin-bottom: 0.75rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.4rem;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 0.55rem;
}

.callout-quote {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-blue);
  padding: 1.35rem 1.6rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-primary);
}

/* Timeline */
.timeline {
  border-left: 2px solid var(--border-gold);
  margin: 2rem 0 2rem 0.75rem;
  padding-left: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.18rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 2px solid var(--bg-primary);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--accent-gold);
  font-weight: 700;
}

/* Forms */
.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* Footer */
.site-footer {
  background: #07080A;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 2.25rem;
  margin-bottom: 3rem;
}

.footer-claim {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-heading {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .grid-2, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .primary-nav.open {
    display: flex;
  }
}


/* Portrait & Visual Proximity Styles */
.portrait-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.portrait-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, #12161B, #171C23);
  transition: transform 0.35s ease;
}

.portrait-figure:hover .portrait-img {
  transform: scale(1.015);
}

.portrait-caption {
  padding: 1rem 1.25rem;
  background: rgba(11, 13, 16, 0.92);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.portrait-caption strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.95rem;
}

.portrait-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
  border: 1px solid var(--border-gold);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 960px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
}


/* Dark Luxury Styling for 100% verbatim eRecht24 Privacy Policy */
.legal-hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 212, 255, 0.09), transparent 45%),
    radial-gradient(circle at 18% 80%, rgba(212, 175, 55, 0.07), transparent 45%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.legal-toc a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.legal-toc a:hover {
  border-color: var(--accent-blue);
  border-left-color: var(--accent-blue);
  background: var(--bg-card-hover);
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.legal-toc-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-gold);
}

.erecht24-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.erecht24-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.4rem;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.2s ease;
}

.erecht24-card:hover {
  border-color: rgba(0, 212, 255, 0.28);
}

.erecht24-card-gold {
  border-color: var(--border-gold);
}

.erecht24-wrapper h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.erecht24-card h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  color: var(--text-primary);
  padding-bottom: 0.9rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.erecht24-card h3 {
  font-size: 1.22rem;
  color: var(--accent-gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.erecht24-card h2 + h3 {
  margin-top: 0.5rem;
}

.erecht24-card h4 {
  font-size: 1.06rem;
  color: var(--accent-blue);
  margin-top: 1.5rem;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.erecht24-card h5 {
  font-size: 0.96rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
}

.erecht24-card p {
  color: var(--text-secondary);
  font-size: 1.01rem;
  line-height: 1.72;
  margin-bottom: 1.1rem;
}

.erecht24-card p:last-child {
  margin-bottom: 0;
}

.erecht24-card ul {
  margin: 1rem 0 1.35rem 1.4rem;
  color: var(--text-secondary);
}

.erecht24-card li {
  margin-bottom: 0.65rem;
  line-height: 1.68;
}

.erecht24-card a {
  color: var(--accent-blue);
  word-break: break-word;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.erecht24-card a:hover {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .erecht24-card {
    padding: 1.5rem;
  }
}


/* === PROJEKTE, CASE STUDIES, BUCH & KUNDENSTIMMEN (v4) === */
.metrics-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1.15rem;
  margin: 2.25rem 0;
}

.metric-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.2rem;
  text-align: center;
}

.metric-value {
  display: block;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Browser / App Mockup Frame with Smart Screenshot Fallback */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-lg);
}

.project-card.gold-featured {
  border-color: var(--border-gold);
}

.browser-mockup {
  background: #0D1117;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #080A0E;
  border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.browser-dots span:nth-child(1) { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #27C93F; }

.browser-url {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 72%;
}

.browser-viewport {
  position: relative;
  aspect-ratio: 16 / 9.5;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.16), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.14), transparent 50%),
    linear-gradient(145deg, #0E131A 0%, #161D27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.browser-viewport img.project-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.35s ease;
}

.project-card:hover .browser-viewport img.project-screenshot {
  transform: scale(1.025);
}

.viewport-fallback {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
  max-width: 90%;
}

.viewport-fallback-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--border-gold);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.viewport-fallback-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  display: block;
}

.viewport-fallback-sub {
  font-size: 0.82rem;
  color: var(--accent-blue);
  font-family: var(--font-mono);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.project-tag.tag-gold {
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
  border-color: var(--border-gold);
}

.project-tag.tag-blue {
  color: var(--accent-blue);
  background: var(--accent-blue-dim);
  border-color: var(--border-blue);
}

.project- specs {
  margin: 0.85rem 0 1.25rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.91rem;
}

.project-specs p {
  font-size: 0.91rem;
  margin-bottom: 0.45rem;
}

.project-specs p:last-child {
  margin-bottom: 0;
}

.project-footer {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
}

.testimonial-card.gold-border {
  border-color: var(--border-gold);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.stars-gold {
  color: var(--accent-gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.verified-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
  border: 1px solid var(--border-gold);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.testimonial-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.testimonial-quote {
  font-size: 0.97rem;
  color: var(--text-primary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
}

.testimonial-author strong {
  color: var(--text-primary);
  font-size: 0.94rem;
}

.testimonial-author span {
  color: var(--text-secondary);
}

/* 15 Professions Pill Grid */
.professions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.profession-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-blue);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.profession-pill span.num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
}

/* Client Directory Cloud (aus Projekt-Ordner) */
.client-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.client-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}
