/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES (style.css)
   ========================================================================== */

:root {
  /* HSL Colors - Deep Modern Dark Tech Theme */
  --bg: 224 40% 6%;           /* #050811 - Sehr tiefes, sattes Dunkelblau */
  --bg-card: 224 35% 10% / 0.5; /* Glassmorphism Card-Hintergrund */
  --bg-card-hover: 224 35% 15% / 0.75;
  
  --primary: 239 84% 67%;     /* Indigo - #6366f1 (heller, freundlicher) */
  --primary-glow: 239 84% 67% / 0.15;
  --secondary: 199 89% 48%;   /* Sky Blue - #0ea5e9 */
  --secondary-glow: 199 89% 48% / 0.15;

  --text-main: 210 40% 98%;   /* Fast Weiß */
  --text-muted: 217 19% 70%;  /* Slate 400 */
  --text-dark: 215 15% 15%;   /* Für dunkle Kontraste */

  --border: 224 30% 18% / 0.6;
  --border-focus: 239 84% 67% / 0.5;

  /* Spacing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Font weight values */
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  background-color: hsl(var(--bg));
  color: hsl(var(--text-main));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: hsl(var(--bg));
}
::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary) / 0.5);
}

/* ==========================================================================
   LAYOUTS & UTILITIES
   ========================================================================== */

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

/* Background Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(120px);
  z-index: -10;
  pointer-events: none;
  opacity: 0.35;
}
.glow-orb-1 {
  top: 10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%);
}
.glow-orb-2 {
  top: 40%;
  right: -15%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, hsl(var(--secondary)) 0%, transparent 70%);
}
.glow-orb-3 {
  bottom: 10%;
  left: 20%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%);
}

.gradient-text {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-center { text-align: center; }

/* Section Setup */
section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}
.section-header {
  margin-bottom: 3.5rem;
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}
.eyebrow {
  color: hsl(var(--primary));
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-size: 2.25rem;
  font-weight: var(--fw-bold);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: hsl(var(--text-muted));
  font-size: 1.05rem;
}

/* Badges & Tags */
.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  background: hsl(var(--primary-glow));
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.1);
}

/* Buttons */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  box-shadow: 0 4px 20px hsl(var(--primary) / 0.35);
  border: 1px solid hsl(255 100% 100% / 0.1);
  cursor: pointer;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px hsl(var(--primary) / 0.5);
  filter: brightness(1.1);
}
.btn-hero-primary i {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
}
.btn-hero-primary:hover i {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--bg-card));
  color: hsl(var(--text-main));
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  border: 1px solid hsl(var(--border));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-hero-secondary:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--bg-card-hover));
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: hsl(var(--bg) / 0.7);
  border-bottom: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}
#main-header.scrolled {
  background-color: hsl(var(--bg) / 0.85);
  border-color: hsl(var(--primary) / 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-avatar, .brand-avatar-fallback {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1.5px solid hsl(var(--primary) / 0.5);
}
.brand-avatar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  color: white;
  font-weight: var(--fw-bold);
  font-size: 0.85rem;
}
.nav-name {
  font-weight: var(--fw-bold);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: hsl(var(--text-main));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  padding: 0.25rem;
  border-radius: var(--radius-full);
}
.nav-link {
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
  color: hsl(var(--text-muted));
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
}
.nav-link:hover {
  color: hsl(var(--text-main));
  background: hsl(255 100% 100% / 0.05);
}
.nav-link.active {
  color: hsl(var(--text-main));
  background: hsl(255 100% 100% / 0.08);
}
.nav-btn-primary {
  background: hsl(var(--primary));
  color: #fff !important;
  font-weight: var(--fw-semibold);
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.25);
}
.nav-btn-primary:hover {
  background: hsl(var(--primary) / 0.85);
  transform: scale(1.02);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--text-muted));
}
.social-icon-btn:hover {
  color: #fff;
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}
.social-icon-btn i, .social-icon-btn svg {
  width: 18px;
  height: 18px;
}
.xing-svg {
  display: block;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: hsl(var(--text-main));
  cursor: pointer;
  padding: 0.25rem;
}

/* Mobile Nav Panel */
.mobile-nav-panel {
  display: none;
  width: 100%;
  background-color: hsl(var(--bg));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.mobile-nav-panel.active {
  display: block;
  max-height: 350px;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav-link {
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--text-muted));
}
.mobile-btn-primary {
  text-align: center;
  background: hsl(var(--primary));
  color: white;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-weight: var(--fw-semibold);
  border-bottom: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.section-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 4rem;
  padding-top: 7.5rem;
  padding-bottom: 5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--primary-glow));
  border: 1px solid hsl(var(--primary) / 0.25);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981; /* Green */
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px #10b981;
  animation: pulse-green 2s infinite;
}
.status-label-text {
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  color: hsl(var(--primary) / 0.85);
  letter-spacing: 0.02em;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-description {
  color: hsl(var(--text-muted));
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Profile Card Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.profile-card-container {
  position: relative;
  width: 100%;
  max-width: 360px;
}
.profile-card-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
  filter: blur(20px);
}

.profile-card-glass {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.profile-avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
}
.profile-avatar-img, .avatar-large-fallback {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3.5px solid hsl(var(--bg));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5);
}
.avatar-large-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
  color: white;
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
}

.profile-title-name {
  font-size: 1.45rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.25rem;
}
.profile-subtitle {
  color: hsl(var(--primary));
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 1.25rem;
}
.profile-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: hsl(var(--text-muted));
  background-color: hsl(var(--bg) / 0.4);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.profile-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.25rem;
}
.stat-box {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.stat-number {
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: hsl(var(--text-main));
}
.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: hsl(var(--text-muted));
  margin-top: 0.15rem;
  letter-spacing: 0.05em;
}
.stat-box-divider {
  width: 1px;
  height: 30px;
  background-color: hsl(var(--border));
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

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

.service-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-bounce);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: hsl(var(--primary) / 0.35);
  box-shadow: 0 12px 30px hsl(var(--primary-glow));
  background: hsl(var(--bg-card-hover));
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: hsl(var(--primary-glow));
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid hsl(var(--primary) / 0.15);
}
.service-icon-wrapper i {
  width: 24px;
  height: 24px;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}
.service-card-desc {
  color: hsl(var(--text-muted));
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.service-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: hsl(var(--text-muted));
}
.service-card-list li i {
  width: 14px;
  height: 14px;
  color: hsl(var(--secondary));
}

/* ==========================================================================
   TIMELINE (EXPERIENCE)
   ========================================================================== */

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2.5rem;
}
.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: linear-gradient(to bottom, 
    hsl(var(--primary)) 0%, 
    hsl(var(--secondary)) 50%, 
    hsl(var(--border)) 100%
  );
  opacity: 0.5;
}

.timeline-node {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-node::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 6px;
  transform: translateX(-5px);
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: hsl(var(--bg));
  border: 2px solid hsl(var(--primary));
  box-shadow: 0 0 10px hsl(var(--primary));
  z-index: 2;
  transition: var(--transition-smooth);
}
.timeline-node:hover::before {
  background-color: hsl(var(--secondary));
  border-color: hsl(var(--secondary));
  box-shadow: 0 0 14px hsl(var(--secondary));
  transform: translateX(-5px) scale(1.25);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.timeline-period {
  font-family: 'JetBrains Mono', monospace;
  color: hsl(var(--primary));
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  background: hsl(var(--primary-glow));
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--primary) / 0.15);
}
.timeline-location {
  color: hsl(var(--text-muted));
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
}

.timeline-content-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}
.timeline-node:hover .timeline-content-card {
  border-color: hsl(var(--primary) / 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: hsl(var(--bg-card-hover));
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.35rem;
  color: #fff;
}
.timeline-company {
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  color: hsl(var(--text-muted));
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.company-badge {
  font-size: 0.75rem;
  font-style: italic;
  font-weight: var(--fw-normal);
  color: hsl(var(--primary));
  background: hsl(var(--primary-glow));
  padding: 0.05rem 0.45rem;
  border-radius: 4px;
}

.timeline-description-text {
  font-size: 0.95rem;
  color: hsl(var(--text-muted));
  margin-bottom: 1rem;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.timeline-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
  line-height: 1.55;
}
.timeline-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-weight: var(--fw-bold);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */

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

.case-card {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-bounce);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-card:hover {
  transform: translateY(-8px);
  border-color: hsl(var(--secondary) / 0.35);
  box-shadow: 0 12px 35px hsl(var(--secondary-glow));
  background: hsl(var(--bg-card-hover));
}

.case-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.case-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: hsl(var(--secondary-glow));
  color: hsl(var(--secondary));
  border: 1px solid hsl(var(--secondary) / 0.15);
}
.case-arrow {
  width: 18px;
  height: 18px;
  color: hsl(var(--text-muted));
  transition: var(--transition-bounce);
}
.case-card:hover .case-arrow {
  color: hsl(var(--secondary));
  transform: translate(2px, -2px) scale(1.1);
}

.case-card-title {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.75rem;
  color: #fff;
}
.case-card-text {
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
  line-height: 1.6;
  margin-bottom: 2rem;
}

.case-stats-summary {
  display: flex;
  gap: 2rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.25rem;
}
.case-stat {
  display: flex;
  flex-direction: column;
}
.c-stat-val {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  color: hsl(var(--secondary));
}
.c-stat-lbl {
  font-size: 0.65rem;
  color: hsl(var(--text-muted));
  text-transform: uppercase;
  margin-top: 0.1rem;
}

/* ==========================================================================
   SKILLS BOX GRID
   ========================================================================== */

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

.skills-box {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.skills-box-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  color: hsl(var(--text-muted));
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 0.75rem;
}

.skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.tag-badge {
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: hsl(var(--bg) / 0.5);
  color: hsl(var(--text-main));
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}
.tag-badge:hover {
  border-color: hsl(var(--primary) / 0.35);
  background: hsl(var(--primary-glow));
  color: hsl(var(--primary));
  transform: translateY(-1.5px);
}

/* ==========================================================================
   CONTACT & BOOKING SECTION
   ========================================================================== */

.contact-card-wrapper {
  position: relative;
}
.contact-card-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.25) 0%, transparent 80%);
  z-index: -1;
  filter: blur(30px);
}

.contact-card-glass {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

/* Left panel: Info & Booking */
.contact-info-panel {
  padding: 3.5rem 3rem;
  background: hsl(var(--bg) / 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-panel-title {
  font-size: 1.75rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.75rem;
  color: #fff;
}
.contact-panel-subtitle {
  color: hsl(var(--text-muted));
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-details-list {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: hsl(var(--primary-glow));
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-icon i {
  width: 20px;
  height: 20px;
}
.detail-text {
  display: flex;
  flex-direction: column;
}
.detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: hsl(var(--text-muted));
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}
.detail-link {
  font-weight: var(--fw-bold);
  color: #fff;
  font-size: 1rem;
}
.detail-link:hover {
  color: hsl(var(--primary));
}
.detail-value {
  color: #fff;
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
}

.booking-cta-block {
  background: hsl(var(--bg) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.booking-title {
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.35rem;
  color: #fff;
}
.booking-text {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
  margin-bottom: 1rem;
}
.btn-calendly {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  font-size: 0.85rem;
  border: 1px solid hsl(255 100% 100% / 0.05);
}
.btn-calendly:hover {
  background: hsl(var(--primary) / 0.85);
  transform: translateY(-2px);
}
.btn-calendly i {
  width: 16px;
  height: 16px;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  border-top: 1px solid hsl(var(--border));
  padding: 2rem 0;
  background-color: hsl(var(--bg) / 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-left p {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-link {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
}
.footer-link:hover {
  color: hsl(var(--primary));
}
.footer-divider {
  color: hsl(var(--border));
  font-size: 0.8rem;
}

/* ==========================================================================
   MODALS STYLING
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(5, 8, 17, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: hsl(224 35% 10%);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-card-small {
  max-width: 550px;
}
.modal-card-large {
  max-width: 900px;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: hsl(var(--text-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}
.modal-close:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: white;
  transform: rotate(90deg);
}
.modal-close i {
  width: 18px;
  height: 18px;
}

/* Modal Content details */
.modal-body {
  padding: 3.5rem 3rem;
}
.modal-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: hsl(var(--primary-glow));
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.15);
  display: inline-block;
  margin-bottom: 1rem;
}
.modal-title {
  font-size: 2rem;
  font-weight: var(--fw-extrabold);
  margin-bottom: 2rem;
  color: #fff;
  line-height: 1.2;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 3rem;
}

.modal-section-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: hsl(var(--secondary));
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: var(--fw-bold);
}
.modal-section-title:first-of-type {
  margin-top: 0;
}
.modal-text {
  font-size: 0.95rem;
  color: hsl(var(--text-muted));
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* Sidebar in Modal */
.modal-sidebar-info {
  background: hsl(var(--bg) / 0.4);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sidebar-item {
  display: flex;
  flex-direction: column;
}
.sidebar-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: hsl(var(--text-muted));
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.sidebar-val {
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  color: #fff;
}
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

/* Simple Modals (Impressum, Datenschutz) */
.modal-body-simple {
  padding: 3.5rem 3rem 3rem;
}
.simple-modal-title {
  font-size: 1.75rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1.75rem;
  color: white;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 0.75rem;
}
.simple-modal-content {
  color: hsl(var(--text-muted));
  font-size: 0.9rem;
  line-height: 1.65;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.simple-modal-content p {
  margin-bottom: 1rem;
}
.simple-modal-content strong {
  color: white;
}
.simple-modal-link {
  color: hsl(var(--primary));
}
.simple-modal-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
}

/* Scroll-Reveal Animation */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: hsl(var(--primary));
  color: white;
  border: 1px solid hsl(255 100% 100% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 50;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px hsl(var(--primary) / 0.5);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 992px) {
  .section-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: 6.5rem;
  }
  .status-badge {
    margin-right: auto;
    margin-left: auto;
  }
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-visual {
    order: -1; /* Display profile card at the top on tablet/mobile */
  }

  .contact-card-glass {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .section-title {
    font-size: 1.85rem;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-block;
  }

  /* Timeline */
  .timeline-wrapper {
    padding-left: 0rem;
  }
  .timeline-wrapper::before {
    display: none;
  }
  .timeline-node {
    margin-bottom: 2rem;
  }
  .timeline-node::before {
    display: none;
  }
  .timeline-meta {
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
  }

  /* Modals */
  .modal-body {
    padding: 2.5rem 1.5rem;
  }
  .modal-body-simple {
    padding: 2.5rem 1.5rem;
  }
  .modal-close {
    top: 1rem;
    right: 1rem;
  }
  .modal-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .modal-sidebar-info {
    order: -1;
  }

  .contact-info-panel {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-ctas .btn-hero-primary, .hero-ctas .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}
