/* ============================================================
   style.css – Christian Schön | HS-Solution X
   Design: Light Mode (Standard) + Dark Mode (umschaltbar)
   ============================================================ */

/* --- 1. CSS-Variablen: Light Mode (Standard) --- */
:root {
  /* Farben – Light */
  --bg-color:        #f0f4ff;
  --bg-secondary:    #e8edf8;
  --surface:         rgba(255,255,255,0.75);
  --surface-hover:   rgba(255,255,255,0.95);
  --border:          rgba(30,58,138,0.12);
  --border-hover:    rgba(0,163,204,0.55);

  --text-primary:    #1a2340;
  --text-secondary:  #4a5a7a;
  --text-muted:      #8a96b0;

  --primary-blue:    #1e3a8a;
  --accent-cyan:     #0099cc;
  --accent-purple:   #6d3abf;
  --accent-hover:    #007aaa;

  /* Glassmorphism – Light */
  --glass-bg:        rgba(255,255,255,0.65);
  --glass-border:    rgba(30,58,138,0.10);
  --glass-shadow:    0 8px 32px rgba(30,58,138,0.10);

  /* Gradient */
  --gradient-main:   linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  --gradient-hero:   radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,153,204,0.14) 0%, transparent 70%);

  /* Header */
  --header-bg:       rgba(240,244,255,0.88);
  --header-shadow:   0 2px 20px rgba(30,58,138,0.08);

  /* Transitions */
  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg:       20px;
  --radius-md:       12px;
  --radius-sm:       8px;
  --section-pad:     6rem 5%;
  --font:            'Outfit', sans-serif;
}

/* --- 2. Dark Mode via Body-Klasse --- */
body.dark-mode {
  --bg-color:        #0a0f1e;
  --bg-secondary:    #0d1530;
  --surface:         rgba(255,255,255,0.05);
  --surface-hover:   rgba(255,255,255,0.09);
  --border:          rgba(255,255,255,0.10);
  --border-hover:    rgba(0,195,255,0.45);

  --text-primary:    #e8eaf6;
  --text-secondary:  #94a3b8;
  --text-muted:      #5c6b82;

  --accent-cyan:     #00c3ff;
  --accent-purple:   #8b5cf6;
  --accent-hover:    #00a8d4;

  --glass-bg:        rgba(255,255,255,0.055);
  --glass-border:    rgba(255,255,255,0.10);
  --glass-shadow:    0 8px 32px rgba(0,0,0,0.45);

  --gradient-main:   linear-gradient(135deg, #00c3ff 0%, #8b5cf6 100%);
  --gradient-hero:   radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,195,255,0.16) 0%, transparent 70%);

  --header-bg:       rgba(10,15,30,0.88);
  --header-shadow:   0 2px 20px rgba(0,0,0,0.45);
}

/* --- 3. Reset & Basis --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* --- 4. Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag,
.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid rgba(0,153,204,0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

body.dark-mode .section-tag,
body.dark-mode .hero-tag {
  border-color: rgba(0,195,255,0.35);
}

/* --- 5. Header & Navigation --- */
.main-header {
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--header-shadow);
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.85rem 5%;
  gap: 0.75rem;
}

/* Linke Seite: Hamburger (Mobile) */
.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Mitte: Logo zentriert */
.logo-link {
  justify-self: center;
}

/* Rechte Seite: Nav */
.nav-menu {
  justify-self: end;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition), transform var(--transition);
}

.logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1.2;
  transition: color var(--transition);
}

.logo-tagline {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .logo-tagline { display: none; }
}

@media (max-width: 420px) {
  .logo-img { height: 38px; }
  .logo-name { font-size: 0.86rem; }
}

.logo-img:hover {
  opacity: 0.82;
  transform: scale(1.03);
}

/* Dark Mode: Logo leicht aufhellen */
body.dark-mode .logo-img {
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(0,195,255,0.25));
}

/* Header rechte Seite: Toggle + Hamburger */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Dark-Mode-Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--text-secondary);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--accent-cyan);
  background: var(--surface-hover);
  transform: rotate(15deg) scale(1.08);
  color: var(--accent-cyan);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
  line-height: 1;
}

/* Light Mode: Sonne sichtbar */
.theme-toggle .icon-sun  { opacity: 1;  transform: rotate(0deg) scale(1); }
.theme-toggle .icon-moon { opacity: 0;  transform: rotate(-90deg) scale(0.5); }

/* Dark Mode: Mond sichtbar */
body.dark-mode .theme-toggle .icon-sun  { opacity: 0;  transform: rotate(90deg) scale(0.5); }
body.dark-mode .theme-toggle .icon-moon { opacity: 1;  transform: rotate(0deg) scale(1); }

/* Hamburger – nur auf Mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: var(--surface);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

/* Hamburger → X */
.menu-toggle.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Navigation Desktop */
.nav-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Toggle-Listenelement in Nav */
.nav-toggle-item {
  display: flex;
  align-items: center;
  margin-left: 0.4rem;
  padding-left: 0.4rem;
  border-left: 1px solid var(--border);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--surface);
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-link.cta-button {
  background: var(--gradient-main);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: opacity var(--transition), box-shadow var(--transition);
}

.nav-link.cta-button::after { display: none; }
.nav-link.cta-button:hover {
  opacity: 0.88;
  box-shadow: 0 0 22px rgba(0,153,204,0.35);
}

/* --- 6. Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
  transition: background 0.4s ease;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,204,0.10) 0%, rgba(109,58,191,0.07) 50%, transparent 70%);
  top: -150px;
  right: -100px;
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
  transition: background 0.4s ease;
}

body.dark-mode .hero-bg-glow {
  background: radial-gradient(circle, rgba(0,195,255,0.12) 0%, rgba(139,92,246,0.08) 50%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(40px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  margin-right: 0.75rem;
  margin-top: 0.5rem;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,153,204,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,153,204,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0,153,204,0.07);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 1; top: 5px; }
  50%       { opacity: 0.3; top: 18px; }
}

/* --- 7. Projekte --- */
.projects {
  padding: var(--section-pad);
}

.projects .section-title,
.about-me .section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-description {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 0%, rgba(0,153,204,0.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,153,204,0.14);
  border-color: var(--border-hover);
}

.glass-card:hover::before { opacity: 1; }

body.dark-mode .glass-card::before {
  background: radial-gradient(circle at 70% 0%, rgba(0,195,255,0.07) 0%, transparent 60%);
}

/* Featured Card */
.featured-card {
  border-color: rgba(0,153,204,0.28);
  background: rgba(0,153,204,0.04);
}

body.dark-mode .featured-card {
  border-color: rgba(0,195,255,0.28);
  background: rgba(0,195,255,0.04);
}

.card-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-main);
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.project-title {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.glass-card p {
  color: var(--text-secondary);
  flex: 1;
  font-size: 0.95rem;
}

.details-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition), color var(--transition);
}

.details-link:hover {
  color: var(--primary-blue);
  gap: 0.7rem;
}

body.dark-mode .details-link:hover {
  color: #fff;
}

/* --- 8. Methodik / About --- */
.about-me {
  padding: var(--section-pad);
  background: linear-gradient(180deg, transparent, rgba(0,153,204,0.03) 50%, transparent);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.method-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.method-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0,153,204,0.10);
}

.method-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.method-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.method-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* --- 9. Footer --- */
.main-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 5%;
  margin-top: auto;
  transition: background 0.4s ease;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
}

body.dark-mode .footer-logo {
  opacity: 0.65;
  filter: brightness(1.15);
}

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

/* --- 10. Breadcrumb --- */
.breadcrumb-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
  transition: background 0.4s ease;
}

.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: opacity var(--transition);
}

.breadcrumb a:hover { opacity: 0.75; }

/* --- 11. Projekt-Detailseite --- */
main {
  flex: 1;
  padding: 3rem 0 5rem;
}

.project-detail {
  max-width: 900px;
}

.project-hero {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
}

.project-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.intro-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 1.5rem;
}

/* Tech Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(0,153,204,0.10);
  color: var(--accent-cyan);
  border: 1px solid rgba(0,153,204,0.25);
  letter-spacing: 0.03em;
}

body.dark-mode .tech-tag {
  background: rgba(0,195,255,0.10);
  border-color: rgba(0,195,255,0.25);
}

/* Detail Grid */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-card { gap: 0.75rem; }

.detail-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.detail-card h2,
.result-section h2,
.tech-stack-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.styled-list {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.93rem;
}

.styled-list li::marker { color: var(--accent-cyan); }

/* Result Stats */
.result-section {
  margin-bottom: 1.5rem;
  display: block;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.stat-item p { font-size: 0.85rem; color: var(--text-muted); }

/* Tech Stack */
.tech-stack-section {
  margin-bottom: 2.5rem;
  display: block;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: border-color var(--transition), background var(--transition);
}

.tech-item:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.tech-item strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tech-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.back-link-container { margin-top: 1rem; }

/* --- 12. Fade-In-Animationen --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp 0.65s ease both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* ============================================================
   13. Spezifische Komponenten der Unterseiten
   ============================================================ */

/* ============================================================
   14. KI-Invoice Seite – Spezifische Komponenten
   ============================================================ */

/* Übersicht-Banner */
.overview-banner {
  margin-bottom: 3rem;
  display: block;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.overview-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.overview-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.overview-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.overview-item strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.overview-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Features Sektion */
.features-section {
  margin-bottom: 2rem;
}

.section-title-sm {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

/* Workflow Sektion */
.workflow-section {
  margin-bottom: 1.5rem;
  display: block;
}

.workflow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 1.25rem;
  flex-wrap: nowrap;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 0.6rem;
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,153,204,0.3);
}

.step-content {
  max-width: 160px;
}

.step-content strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.workflow-connector {
  flex-shrink: 0;
  height: 2px;
  width: 40px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  margin-top: 20px;
  border-radius: 2px;
  opacity: 0.5;
}

/* ============================================================
   15. KI Credit Controller – Ampellogik & Limit-Regel
   ============================================================ */

.ampel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ampel-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.ampel-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 0 10px currentColor;
}

.ampel-dot-green  { background: #22c55e; color: #22c55e; }
.ampel-dot-yellow { background: #eab308; color: #eab308; }
.ampel-dot-red    { background: #ef4444; color: #ef4444; }

.ampel-green-card  { background: rgba(34,197,94,0.07);  border-color: rgba(34,197,94,0.25); }
.ampel-yellow-card { background: rgba(234,179,8,0.07);  border-color: rgba(234,179,8,0.25); }
.ampel-red-card    { background: rgba(239,68,68,0.07);  border-color: rgba(239,68,68,0.25); }

.ampel-card > div strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.ampel-card > div p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.limit-rule-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.limit-rule-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.limit-rule-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   16. Skontomail – Benachrichtigungsmatrix
   ============================================================ */

.notification-matrix {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.notif-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto 2fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.notif-icon { font-size: 1.2rem; text-align: center; }

.notif-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.notif-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  text-align: center;
}

.notif-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Farb-Varianten */
.notif-yellow  { background: rgba(234,179,8,0.07);  border-color: rgba(234,179,8,0.2); }
.notif-orange  { background: rgba(249,115,22,0.07); border-color: rgba(249,115,22,0.2); }
.notif-red     { background: rgba(239,68,68,0.07);  border-color: rgba(239,68,68,0.2); }
.notif-fire    { background: rgba(239,68,68,0.10);  border-color: rgba(239,68,68,0.3); }
.notif-blocked { background: rgba(100,116,139,0.07);border-color: rgba(100,116,139,0.2); }

.notif-yellow  .notif-tag { background: rgba(234,179,8,0.15);  color: #92400e; }
.notif-orange  .notif-tag { background: rgba(249,115,22,0.15); color: #9a3412; }
.notif-red     .notif-tag { background: rgba(239,68,68,0.15);  color: #991b1b; }
.notif-fire    .notif-tag { background: rgba(239,68,68,0.2);   color: #7f1d1d; }
.notif-blocked .notif-tag { background: rgba(100,116,139,0.15);color: var(--text-muted); }

/* Dark Mode Anpassungen */
body.dark-mode .notif-yellow  .notif-tag { color: #fde68a; }
body.dark-mode .notif-orange  .notif-tag { color: #fed7aa; }
body.dark-mode .notif-red     .notif-tag { color: #fecaca; }
body.dark-mode .notif-fire    .notif-tag { color: #fee2e2; }
body.dark-mode .notif-blocked .notif-tag { color: var(--text-secondary); }

/* Code-Inline-Styling */
code {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15em 0.45em;
  color: var(--accent-cyan);
}

/* Responsive: Ampel & Notif */
@media (max-width: 768px) {
  .ampel-grid { grid-template-columns: 1fr; }

  .notif-row {
    grid-template-columns: 2rem 1fr;
    grid-template-rows: auto auto;
  }
  .notif-tag  { grid-column: 2; }
  .notif-desc { grid-column: 1 / -1; }
}

/* ============================================================
   17. Bestellcheck – Tabellen-Preview
   ============================================================ */

.bc-table-preview {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0.82rem;
}

.bc-table-header {
  display: grid;
  grid-template-columns: 5rem 1fr 4rem 3.5rem 4rem 4rem 4rem 4rem 1fr;
  gap: 0;
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--border);
  padding: 0.6rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: background 0.4s ease;
}

.bc-table-row {
  display: grid;
  grid-template-columns: 5rem 1fr 4rem 3.5rem 4rem 4rem 4rem 4rem 1fr;
  gap: 0;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--glass-border);
  align-items: center;
  transition: background var(--transition);
}

.bc-table-row:last-child { border-bottom: none; }

.bc-table-row span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  padding-right: 0.5rem;
}

.bc-row-ok     { background: rgba(34,197,94,0.04); }
.bc-row-warn   { background: rgba(239,68,68,0.05); }
.bc-row-info   { background: rgba(234,179,8,0.04); }

.bc-status {
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}

.bc-ok   { color: #16a34a; }
.bc-warn { color: #dc2626; }
.bc-info { color: #b45309; }

body.dark-mode .bc-ok   { color: #4ade80; }
body.dark-mode .bc-warn { color: #f87171; }
body.dark-mode .bc-info { color: #fbbf24; }

body.dark-mode .bc-row-ok   { background: rgba(34,197,94,0.06); }
body.dark-mode .bc-row-warn { background: rgba(239,68,68,0.07); }
body.dark-mode .bc-row-info { background: rgba(234,179,8,0.06); }

/* Responsive: Tabellenspalten scrollbar statt abgeschnitten */
@media (max-width: 768px) {
  .bc-table-header,
  .bc-table-row {
    min-width: 700px;
    font-size: 0.78rem;
  }
}

/* ============================================================
   18. Plattform-Banner (index.html Projektesektion)
   ============================================================ */

.platform-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  transition: border-color var(--transition), background 0.4s ease;
}

.platform-banner:hover {
  border-left-color: var(--accent-purple);
}

.platform-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.platform-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 220px;
}

.platform-banner-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.platform-banner-text span {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .platform-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* ============================================================
   19. Upcoming / Demnächst Projektkarten
   ============================================================ */

.upcoming-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 1.25rem;
}

.upcoming-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.project-grid-upcoming {
  opacity: 1;
}

.upcoming-card {
  border-style: solid !important;
  border-color: var(--border) !important;
  background: var(--glass-bg) !important;
  box-shadow: var(--glass-shadow) !important;
  cursor: default;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.upcoming-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--border-hover) !important;
  box-shadow: 0 12px 32px rgba(0, 153, 204, 0.15) !important;
}

.upcoming-card .project-title {
  color: var(--text-primary);
}

.upcoming-card p {
  color: var(--text-secondary) !important;
}

.upcoming-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.upcoming-badge.badge-planned {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.25);
}

.upcoming-badge.badge-planned::before {
  background: #f59e0b;
}

body.dark-mode .upcoming-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

body.dark-mode .upcoming-badge.badge-planned {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

.upcoming-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.upcoming-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: default;
  user-select: none;
}

/* ============================================================
   20. Profil / Über mich Sektion
   ============================================================ */

.profile-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}

.profile-intro strong {
  color: var(--text-primary);
}

/* Key Stats Leiste */
.profile-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(12px);
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 2rem;
  text-align: center;
}

.profile-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.profile-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 90px;
  line-height: 1.35;
}

.profile-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Drei Säulen */
.profile-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-icon {
  font-size: 2rem;
  line-height: 1;
}

.pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.pillar-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pillar-year {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0,153,204,0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pillar-list li strong {
  color: var(--text-primary);
}

/* LinkedIn CTA */
.profile-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.profile-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.profile-cta .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
}

/* Responsive */
@media (max-width: 900px) {
  .profile-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .profile-stats {
    gap: 1.25rem 1rem;
    padding: 1.25rem;
  }

  .profile-stat {
    padding: 0 0.5rem;
  }

  .profile-stat-divider {
    display: none;
  }

  .profile-stat-number {
    font-size: 1.85rem;
  }
}

@media (max-width: 640px) {
  .profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
    padding: 1.25rem 0.75rem;
  }

  .profile-stat {
    padding: 0.25rem;
    width: 100%;
  }

  .profile-stat:last-of-type {
    grid-column: 1 / -1;
  }

  .profile-stat-label {
    max-width: 150px;
  }
}

/* ============================================================
   21. HS-Solution X Origin Box
   ============================================================ */

.origin-box {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--accent-purple) !important;
  padding: 1.5rem 1.75rem;
}

.origin-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.origin-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-main);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.origin-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.origin-content {
  flex: 1;
  min-width: 0;
}

.origin-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.origin-header strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.origin-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.origin-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.origin-content p strong {
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .origin-box {
    flex-direction: column;
    gap: 1rem;
  }

  .origin-left {
    flex-direction: row;
    align-items: center;
  }
}

/* ============================================================
   22. Video Showcase Section
   ============================================================ */

.video-showcase-section {
  margin-bottom: 3rem;
  display: block;
  padding: 2rem;
}

.video-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.video-header-left {
  flex: 1;
  min-width: 280px;
}

.video-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.video-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 153, 204, 0.1);
  border: 1px solid rgba(0, 153, 204, 0.3);
  color: var(--accent-cyan);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

body.dark-mode .video-badge {
  background: rgba(0, 195, 255, 0.12);
  border-color: rgba(0, 195, 255, 0.35);
  color: var(--accent-cyan);
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 15, 30, 0.25);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.video-player-wrapper:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 48px rgba(0, 153, 204, 0.2);
}

.project-video {
  display: block;
  width: 100%;
  max-height: 580px;
  background: #000;
  outline: none;
}

@media (max-width: 768px) {
  .video-showcase-section {
    padding: 1.25rem;
    margin-bottom: 2rem;
  }
  .video-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .video-header-left {
    min-width: 100%;
  }
  .video-title {
    font-size: 1.25rem;
  }
}

/* ============================================================
   23. Architecture Diagram Card
   ============================================================ */

.architecture-diagram-card {
  margin-bottom: 2.5rem;
  display: block;
}

.diagram-img-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #090d16;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.diagram-img-wrapper:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 48px rgba(0, 153, 204, 0.2);
}

.architecture-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============================================================
   24. Globale Responsiveness & Mobile Overrides
   (Am Ende der Datei platziert, damit alle Basis-Styles überschrieben werden)
   ============================================================ */

@media (max-width: 768px) {
  /* Header auf mobile: Logo links, Menü-Button rechts */
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-link {
    order: 1;
  }

  .header-left {
    order: 2;
  }

  .menu-toggle {
    display: flex;
  }

  /* Nav als rechtes Slide-Panel */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--header-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
    padding: 2rem;
    justify-self: unset;
  }

  .nav-menu.active {
    right: 0;
    box-shadow: -10px 0 40px rgba(30,58,138,0.12);
  }

  body.dark-mode .nav-menu.active {
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: stretch;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 1.05rem;
  }

  /* Toggle im Mobile-Menü zentriert */
  .nav-toggle-item {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
    padding-left: 0;
    margin-left: 0;
    justify-content: center;
  }

  .theme-toggle {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .hero {
    min-height: 80vh;
    padding-top: 4rem;
  }

  .hero h1 { font-size: 2.4rem; }

  /* Grids & Cards: auf Tablet/Mobile 1-spaltig */
  .detail-grid { grid-template-columns: 1fr; }
  .result-stats { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr !important; }
  .overview-grid { grid-template-columns: 1fr 1fr; }

  /* Vertikale Timeline auf Mobile */
  .workflow-steps {
    flex-direction: column;
    gap: 0;
  }

  .workflow-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    width: 100%;
  }

  .step-content {
    max-width: 100%;
    text-align: left;
  }

  .workflow-connector {
    width: 2px;
    height: 28px;
    margin: 0.25rem 0 0.25rem 19px;
  }

  .btn { display: block; text-align: center; margin-right: 0; }
  .btn + .btn { margin-top: 0.75rem; }
}

@media (max-width: 480px) {
  .project-grid,
  .methodology-grid,
  .tech-grid,
  .overview-grid { grid-template-columns: 1fr; }
  .glass-card { padding: 1.35rem 1.15rem; }
  .hero { min-height: auto; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero h1 { font-size: 2rem; }
}


