/* ===== Steckbrief / Profile Page ===== */
.sb-page {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px 120px;
  box-sizing: border-box;
}

/* --- Header --- */
.sb-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.sb-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.sb-back-btn:hover { color: var(--text-main); }
.sb-page-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #f9fafb;
  margin: 0;
}
.sb-page-title span {
  background: linear-gradient(120deg, #f4c152, #e5e7eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Main Layout: Sidebar + Content --- */
.sb-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* --- Glassmorphism Card (shared) --- */
.sb-card {
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(229,231,235,0.12);
  border-radius: 18px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.sb-card:hover {
  border-color: rgba(229,231,235,0.22);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* --- Sidebar (Left Column) --- */
.sb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Profile Card */
.sb-profile-card {
  text-align: center;
}
.sb-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid rgba(148,163,184,0.2);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.sb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sb-username {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f9fafb;
  margin: 0 0 0.25rem;
}
.sb-role {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent, #f4c152);
}
.sb-tagline {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Links Card */
.sb-links-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.8rem;
}
.sb-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sb-link-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: rgba(229,231,235,0.05);
  border: 1px solid rgba(229,231,235,0.1);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.sb-link-btn:hover {
  background: rgba(229,231,235,0.1);
  border-color: rgba(229,231,235,0.25);
  transform: translateY(-1px);
}
.sb-link-btn i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}
.sb-link-btn .fa-github { color: #e5e7eb; }
.sb-link-btn .fa-youtube { color: #ff0000; }
.sb-link-btn .fa-twitch { color: #9146ff; }
.sb-link-btn .fa-instagram { color: #e4405f; }
.sb-link-btn .fa-tiktok { color: #e5e7eb; }
.sb-link-btn .fa-twitter,
.sb-link-btn .fa-x-twitter { color: #e5e7eb; }
.sb-link-btn .fa-discord { color: #5865f2; }
.sb-link-btn .fa-globe { color: #3b82f6; }

/* --- Content (Right Column) --- */
.sb-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Content Card with Icon Header */
.sb-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.sb-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}
.sb-card-icon.about { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 4px 14px rgba(59,130,246,0.25); }
.sb-card-icon.role { background: linear-gradient(135deg, #f4c152, #d97706); box-shadow: 0 4px 14px rgba(244,193,82,0.25); }
.sb-card-icon.skills { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 14px rgba(16,185,129,0.25); }
.sb-card-icon.projects { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 4px 14px rgba(139,92,246,0.25); }
.sb-card-icon.fun { background: linear-gradient(135deg, #ec4899, #db2777); box-shadow: 0 4px 14px rgba(236,72,153,0.25); }

.sb-card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Card Body Text */
.sb-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0 0 0.6rem;
}
.sb-card p:last-child { margin-bottom: 0; }
.sb-card strong { color: #e5e7eb; }

/* Lesbare Fließtexte: Zeilenlänge & Absätze */
.sb-prose {
  max-width: 62ch;
}
.sb-prose p {
  margin: 0 0 1rem;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.sb-prose p:last-child {
  margin-bottom: 0;
}
.sb-card > .sb-prose:first-of-type,
.sb-card-header + .sb-prose {
  margin-top: 0;
}

/* Skills grid (Steckbrief) */
.sb-skill-groups {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1rem;
  max-width: 62ch;
}
.sb-skill-group {
  padding-left: 0.85rem;
  border-left: 2px solid rgba(244, 193, 82, 0.35);
}
.sb-skill-group h4 {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent, #f4c152);
}
.sb-skill-group p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.sb-skill-group p strong {
  color: #e5e7eb;
  font-weight: 600;
}
.sb-skills-motto {
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  color: var(--text-muted) !important;
  max-width: 62ch;
}
.sb-skills-motto em {
  font-style: italic;
  color: rgba(226, 232, 240, 0.92);
}

/* Placeholder Text */
.sb-placeholder {
  color: rgba(148,163,184,0.5);
  font-style: italic;
  font-size: 0.88rem;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  .sb-page { padding: 35px 12px 90px; }
  .sb-header { margin-bottom: 1.5rem; }
  .sb-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sb-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .sb-profile-card,
  .sb-links-card {
    flex: 1;
    min-width: 200px;
  }
  .sb-avatar {
    width: 100px;
    height: 100px;
  }
  .sb-username { font-size: 1.2rem; }
  .sb-card { padding: 1.2rem; }
  .sb-card-header h3 { font-size: 1.05rem; }
  .sb-link-btn {
    padding: 0.55rem 0.85rem;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .sb-page {
    padding: 20px 8px 70px;
  }
  .sb-header { margin-bottom: 1.2rem; }
  .sb-back-btn { font-size: 0.78rem; }
  .sb-page-title { font-size: 1.3rem; }
  .sb-sidebar {
    flex-direction: column;
  }
  .sb-card {
    padding: 1rem;
    border-radius: 14px;
  }
  .sb-avatar {
    width: 85px;
    height: 85px;
    border-width: 2px;
  }
  .sb-username { font-size: 1.05rem; }
  .sb-role { font-size: 0.72rem; }
  .sb-tagline { font-size: 0.8rem; }
  .sb-card-icon { width: 32px; height: 32px; font-size: 0.85rem; border-radius: 8px; }
  .sb-card-header h3 { font-size: 0.95rem; }
  .sb-card-header { gap: 0.55rem; margin-bottom: 0.7rem; }
  .sb-card p { font-size: 0.84rem; line-height: 1.65; }
  .sb-prose { max-width: none; }
  .sb-skill-groups { max-width: none; }
  .sb-skills-motto { max-width: none !important; }
  .sb-links-card h3 { font-size: 0.75rem; margin-bottom: 0.5rem; }
  .sb-link-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
    min-height: 44px;
    border-radius: 10px;
  }
  .sb-link-btn i { font-size: 1rem; }
  .sb-content { gap: 0.8rem; }
}
