/* ==========================================================================
   UV4PV - Luminescent Solar Concentrator & Frequenzkonversion im Fensterrahmen
   Apple Mac Pro Style Vanilla CSS Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Apple Mac Pro Dark Palette */
  --bg-dark: #0a0a0c;
  --bg-card: rgba(24, 24, 31, 0.65);
  --bg-card-hover: rgba(32, 32, 42, 0.85);
  --bg-glass: rgba(18, 18, 24, 0.75);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --bg-glass-border-hover: rgba(255, 255, 255, 0.18);

  /* Neon UV & Photovoltaic Accents */
  --accent-uv: #8a2be2;
  --accent-uv-glow: rgba(138, 43, 226, 0.45);
  --accent-green: #00ff87;
  --accent-green-glow: rgba(0, 255, 135, 0.4);
  --accent-cyan: #00f2fe;
  --accent-amber: #ffb300;
  --accent-rose: #ff416c;

  /* Text & Typo */
  --text-main: #f5f5f7;
  --text-muted: #a1a1aa;
  --text-dim: #6e6e77;

  /* Typography Fonts */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Layout & Animation */
  --container-max: 1280px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(138, 43, 226, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 40%, rgba(0, 255, 135, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(0, 242, 254, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
  background: #272732;
  border-radius: 5px;
  border: 2px solid #0a0a0c;
}
::-webkit-scrollbar-thumb:hover {
  background: #3e3e4f;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Apple Gradient Text */
.gradient-text-uv {
  background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 50%, #8a2be2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-green {
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 40%, #00ff87 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 40%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Apple Top Sub-Navigation (Sticky)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-fast);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.navbar-logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8a2be2, #00ff87);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #0a0a0c;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #ffffff;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8a2be2, #00ff87);
  transition: width 0.3s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-cta {
  padding: 0.55rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition-fast);
}
.navbar-cta:hover {
  background: #ffffff;
  color: #0a0a0c;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-lab-logo img:hover {
  transform: scale(1.06);
  filter: brightness(1.1);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Header Section (Scrollytelling & Mac Pro Vibe)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(138, 43, 226, 0.35);
  color: #d8b4fe;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff87;
  box-shadow: 0 0 10px #00ff87;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
  font-size: 2.2rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-window-mockup {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(145deg, #2a2a38, #121218);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(138, 43, 226, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: rotate(-2deg);
  transition: var(--transition-smooth);
}
.hero-window-mockup:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 70px rgba(0, 255, 135, 0.35);
}

.window-pane-glow {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: inset 0 0 40px rgba(0, 255, 135, 0.35);
}

.window-pane-glow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.6s ease;
}
.hero-window-mockup:hover .window-pane-glow img {
  transform: scale(1.05);
}

/* Edge PV Frame Highlight Badge */
.pv-frame-badge {
  position: absolute;
  bottom: 30px;
  left: -25px;
  background: rgba(18, 18, 24, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 135, 0.4);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
}
.pv-frame-badge .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 255, 135, 0.15);
  color: #00ff87;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.pv-frame-badge .text strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
}
.pv-frame-badge .text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Common Utilities
   ========================================================================== */
.section-padding {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #00ff87;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
}

/* ==========================================================================
   Sektion 1: Physikalische Grundlagen (Tabs & Cards System)
   ========================================================================== */
.physics-tabs-header {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.tab-btn {
  padding: 0.85rem 1.75rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.tab-btn.active {
  background: linear-gradient(135deg, #8a2be2, #00ff87);
  color: #0a0a0c;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(0, 255, 135, 0.35);
  font-weight: 800;
}

.tab-content {
  display: none;
  animation: fadeIn 0.45s ease forwards;
}
.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.physics-card-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 32px;
  padding: 3.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* Sektion 1: Inspiration (Kompakt für exakt eine Seitenhöhe / One-Screen Fit) */
#inspiration {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 3rem 0;
  overflow: hidden;
}
#inspiration .section-header {
  margin-bottom: 2rem;
}
#inspiration .section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
#inspiration .section-subtitle {
  font-size: 1.02rem;
  max-width: 800px;
  margin-bottom: 0;
}
#inspiration .physics-card-grid {
  padding: 2.4rem 2.8rem;
  gap: 2.8rem;
  margin-top: 1.5rem;
  border-radius: 28px;
}
#inspiration .physics-text h3 {
  font-size: 1.65rem;
  margin-bottom: 0.8rem;
}
#inspiration .physics-text p {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  line-height: 1.55;
}
#inspiration .physics-feature-list {
  gap: 0.65rem;
  margin-top: 1.2rem;
}
#inspiration .physics-feature-list li {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}
#inspiration .physics-visual-box img {
  max-height: 380px;
  object-fit: cover;
  border-radius: 20px;
}

.physics-text h3 {
  font-size: 2.1rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.physics-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.physics-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.physics-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-main);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.physics-feature-list li .check {
  color: #00ff87;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.physics-visual-box {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
  background: #111;
}

.physics-visual-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.physics-visual-box:hover img {
  transform: scale(1.04);
}

.visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #d4d4d8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Sektion 2: Prüfstandsaufbau & Herstellung (Modular Grid)
   ========================================================================== */
.manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.process-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 26px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 135, 0.35);
  box-shadow: 0 25px 55px rgba(0,0,0,0.6), 0 0 30px rgba(0, 255, 135, 0.1);
}

.process-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process-card h4 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.process-img-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0d12;
}
.process-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.process-card:hover .process-img-wrapper img {
  transform: scale(1.06);
}

.methodology-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.methodology-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 26px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}
.methodology-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 135, 0.4);
  box-shadow: 0 25px 55px rgba(0,0,0,0.6), 0 0 35px rgba(0, 255, 135, 0.12);
}

.methodology-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.methodology-header .process-number {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
  margin-bottom: 0;
}
.methodology-icon {
  font-size: 2.25rem;
  background: rgba(255, 255, 255, 0.05);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.methodology-card h4 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.methodology-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.methodology-tag {
  align-self: flex-start;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.25);
  color: #00ff87;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* CAD & Pruefstand Feature Banner */
.pruefstand-banner {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(0, 255, 135, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.pruefstand-banner.compact-banner {
  grid-template-columns: 1fr;
  padding: 3rem;
}
.banner-content.full-width {
  max-width: 900px;
}

/* Compact Inspiration Block (`#inspiration`) */
.inspiration-section {
  padding: 3rem 0;
  background: rgba(18, 18, 22, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.compact-inspiration-card {
  background: rgba(22, 22, 28, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 2.25rem 2.75rem;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2.75rem;
  align-items: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.compact-inspiration-img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-height: 275px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compact-inspiration-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.compact-inspiration-card:hover .compact-inspiration-img img {
  transform: scale(1.04);
}
.compact-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 14, 0.95) 100%);
  padding: 1.25rem 1.25rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 900px) {
  .compact-inspiration-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.75rem;
  }
  .compact-inspiration-img {
    max-height: 220px;
  }
}

.banner-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.banner-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.spec-badge {
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: #00ff87;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Sektion 3: Interaktiver LSC & Totalreflexions-Simulator (Live Apple Widget)
   ========================================================================== */
.simulator-box {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  padding: 3.5rem;
  box-shadow: 0 40px 90px rgba(0,0,0,0.7);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
}

.sim-controls h3 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}
.sim-controls p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.25rem;
}

.control-group {
  margin-bottom: 1.85rem;
}
.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}
.control-header label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #e4e4e7;
}
.control-header .val-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #00ff87;
  background: rgba(0, 255, 135, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

/* Apple Slider Style */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #00ff87;
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.6);
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sim-visual-display {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.lsc-window-canvas {
  position: relative;
  width: 100%;
  height: 280px;
  background: #0d0d12;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

.lsc-glass-layer {
  position: relative;
  width: 88%;
  height: 56px;
  border-radius: 8px;
  background: rgba(0, 255, 135, 0.25);
  border: 2px solid rgba(0, 255, 135, 0.8);
  box-shadow: 0 0 40px rgba(0, 255, 135, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Incoming UV Radiation Arrows for Single Glass Pane */
.uv-incoming-arrows {
  position: absolute;
  top: -44px;
  left: 6%;
  right: 6%;
  height: 42px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  pointer-events: none;
  z-index: 4;
}

.uv-arrow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(var(--arrow-tilt, 0deg));
  transform-origin: top center;
  opacity: var(--arrow-opacity, 0.85);
  filter: var(--arrow-blur, none);
  transition: opacity 0.2s ease, transform 0.15s linear, filter 0.3s ease;
}

.uv-arrow-shaft {
  width: var(--arrow-thick, 4px);
  height: 30px;
  background: linear-gradient(180deg, #d8b4fe 0%, #a855f7 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(216, 180, 254, 0.65), 0 0 18px rgba(168, 85, 247, 0.4);
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.uv-arrow-head {
  width: 0;
  height: 0;
  border-left: calc(var(--arrow-thick, 4px) * 1.5 + 3px) solid transparent;
  border-right: calc(var(--arrow-thick, 4px) * 1.5 + 3px) solid transparent;
  border-top: calc(var(--arrow-thick, 4px) * 1.8 + 5px) solid #a855f7;
  filter: drop-shadow(0 2px 4px rgba(168, 85, 247, 0.8));
  transition: border-width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pv-strip-indicator {
  position: absolute;
  right: -10px;
  top: 0;
  height: 100%;
  width: 10px;
  background: linear-gradient(180deg, #ffb300, #ff416c);
  border-radius: 3px;
  box-shadow: 0 0 16px #ffb300;
}

.sim-metrics-output {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.metric-card:hover {
  transform: translateY(-2px);
}
.metric-card .title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.metric-card .val {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
}

/* Sun Path Arc & Sky Box */
.sun-sky-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.5s ease;
}
.sun-arc-line {
  position: absolute;
  width: 82%;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  top: 35px;
}
.sun-indicator {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffb96 20%, #ff9e00 80%);
  box-shadow: 0 0 25px #ff9e00, 0 0 45px #ffb300;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.2s ease, background 0.3s ease;
  z-index: 5;
}

/* ==========================================================================
   Simulator Leistungs-Prognose (1/4 + 1/4 + 2/4 Proportional Apple Layout)
   ========================================================================== */
.sim-prognose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 1.25rem;
}

.sim-box-column {
  background: rgba(18, 18, 24, 0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1.15rem 1.35rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
}

.sim-box-column.col-left,
.sim-box-column.col-center {
  gap: 0.55rem;
}

.sim-box-column.col-right {
  gap: 0.85rem;
  padding: 1.25rem 1.45rem;
}

.sim-col-header {
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.45rem;
}
.sim-col-header h4 {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.sim-col-header p {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

/* Kompakte Schieberegler (1/4 Spalte links) */
.compact-control-group {
  margin-bottom: 0.42rem;
}
.compact-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.18rem;
}
.compact-control-header label {
  font-weight: 600;
  font-size: 0.8rem;
  color: #e4e4e7;
}
.compact-control-header .val-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #00ff87;
  background: rgba(0, 255, 135, 0.12);
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  font-size: 0.74rem;
}

/* Kompakte Prognose-Ergebnisse (1/4 Spalte Mitte) */
.compact-metric-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.compact-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.68rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.compact-metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}
.compact-metric-card.accent-green {
  background: rgba(0, 255, 135, 0.06);
  border-color: rgba(0, 255, 135, 0.35);
}
.compact-metric-card.accent-gold {
  background: rgba(255, 179, 0, 0.06);
  border-color: rgba(255, 179, 0, 0.35);
}
.compact-metric-card .label {
  font-size: 0.73rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.compact-metric-card .value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

/* 2/4 Spalte rechts: Visualisierung (Gebäude oben + Scheibe unten) */
.sim-box-column.col-right {
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.sim-visual-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  height: 100%;
}

/* Sun Auto-Play Buttons */
.sun-autoplay-btn {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 224, 102, 0.12);
  border: 1px solid rgba(255, 224, 102, 0.5);
  border-radius: 6px;
  color: #ffe066;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.sun-autoplay-btn:hover {
  background: rgba(255, 224, 102, 0.25);
  box-shadow: 0 0 12px rgba(255, 224, 102, 0.35);
  transform: translateY(-1px);
}
.sun-autoplay-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(0, 255, 135, 0.25));
  border-color: #00f2fe;
  color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.sun-autoplay-sky-btn {
  position: absolute;
  top: 10px;
  left: 12px;
  background: rgba(14, 17, 24, 0.85);
  border: 1px solid rgba(255, 224, 102, 0.6);
  border-radius: 6px;
  color: #ffe066;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.sun-autoplay-sky-btn:hover {
  background: rgba(255, 224, 102, 0.2);
  box-shadow: 0 0 12px rgba(255, 224, 102, 0.4);
}
.sun-autoplay-sky-btn.active {
  background: rgba(0, 242, 254, 0.2);
  border-color: #00f2fe;
  color: #00f2fe;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.45);
}

.sim-building-canvas {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 210px;
  height: 50%;
  background: linear-gradient(180deg, #060913 0%, #101628 70%, #1a1e29 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* 3D Skyscraper / House with Roof PV & Window PV in Sky Canvas */
.house-3d-stage {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 160px;
  perspective: 680px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 5;
}

.house-3d {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-22deg) rotateY(-36deg);
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: var(--house-w, 90px);
  height: var(--house-h, 115px);
}

.house-face {
  position: absolute;
  box-sizing: border-box;
  backface-visibility: hidden;
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Front Left Facade (facing +Z) */
.house-front {
  width: var(--house-w, 90px);
  height: var(--house-h, 115px);
  left: 0;
  top: 0;
  transform: translateZ(calc(var(--house-d, 65px) / 2));
  background: linear-gradient(180deg, #181d2a 0%, #0e1118 100%);
  border: 1px solid rgba(0, 242, 254, 0.45);
  box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.1);
  padding: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Right Side Facade (facing +X) */
.house-right {
  width: var(--house-d, 65px);
  height: var(--house-h, 115px);
  left: calc(var(--house-w, 90px) / 2 - var(--house-d, 65px) / 2);
  top: 0;
  transform: rotateY(90deg) translateZ(calc(var(--house-w, 90px) / 2));
  background: linear-gradient(180deg, #121622 0%, #080a0f 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.08);
  padding: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Top Roof Face (facing -Y / Up) - Dach-PV */
.house-top {
  width: var(--house-w, 90px);
  height: var(--house-d, 65px);
  left: 0;
  top: calc(var(--house-h, 115px) / 2 - var(--house-d, 65px) / 2);
  transform: rotateX(90deg) translateZ(calc(var(--house-h, 115px) / 2));
  background: #121520;
  border: 1.5px solid #ffb300;
  box-shadow: 0 0 14px rgba(255, 179, 0, 0.35), inset 0 0 10px rgba(255, 179, 0, 0.2);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Roof PV Grid */
.roof-pv-grid {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 2px;
}
.roof-pv-cell {
  background: linear-gradient(135deg, #1a233a 0%, #0d121f 100%);
  border: 0.5px solid rgba(255, 179, 0, 0.65);
  border-radius: 1px;
  box-shadow: inset 0 0 3px rgba(255, 179, 0, 0.3);
  transition: all 0.3s ease;
}

/* Facade Window PV Grid (UV4PV) */
.facade-window-grid {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 3px;
}
.facade-win {
  background: rgba(0, 255, 135, 0.25);
  border: 1px solid rgba(0, 255, 135, 0.75);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0, 255, 135, 0.3);
  transition: all 0.3s ease;
}

.sim-glass-detail-canvas {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 210px;
  height: 50%;
  background: #0d0e14;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

@media (max-width: 1100px) {
  .sim-prognose-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sim-box-column.col-right {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .sim-prognose-grid {
    grid-template-columns: 1fr;
  }
  .sim-box-column.col-right {
    grid-column: span 1;
  }
}

/* ==========================================================================
   Sektion 4: Zielsetzung & Anwendungspotenzial (Apple Bento System)
   ========================================================================== */
.application-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
  align-items: stretch;
}

.app-bento-card {
  border-radius: 30px;
  padding: 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.app-bento-card:hover {
  transform: translateY(-4px);
}

.app-bento-card.traditional {
  background: linear-gradient(145deg, rgba(26, 20, 22, 0.85) 0%, rgba(18, 16, 18, 0.95) 100%);
  border: 1px solid rgba(255, 90, 90, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.app-bento-card.traditional:hover {
  border-color: rgba(255, 90, 90, 0.45);
}

.app-bento-card.uv4pv {
  background: linear-gradient(145deg, rgba(16, 28, 28, 0.88) 0%, rgba(16, 20, 26, 0.96) 100%);
  border: 1px solid rgba(0, 255, 135, 0.4);
  box-shadow: 0 25px 60px rgba(0, 255, 135, 0.12);
  position: relative;
  overflow: hidden;
}
.app-bento-card.uv4pv:hover {
  border-color: rgba(0, 255, 135, 0.65);
  box-shadow: 0 30px 70px rgba(0, 255, 135, 0.18);
}

.app-bento-header {
  margin-bottom: 2.2rem;
}
.app-bento-header h3 {
  font-size: 1.9rem;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
  line-height: 1.25;
}
.app-bento-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.app-bento-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  margin: 0.5rem 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}
.app-bento-card.traditional .app-bento-img {
  border-color: rgba(255, 90, 90, 0.35);
}
.app-bento-card.uv4pv .app-bento-img {
  border-color: rgba(0, 255, 135, 0.45);
  box-shadow: 0 15px 35px rgba(0, 255, 135, 0.15);
}
.app-bento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.app-bento-card:hover .app-bento-img img {
  transform: scale(1.04);
}

.app-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.app-feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}
.app-feature-list li strong {
  color: #f4f4f6;
}

.app-icon-cross {
  color: #ff5a5a;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.3);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-icon-check {
  color: #00ff87;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.35);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-icon-warn {
  color: #ffb300;
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.35);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-section-header-mini {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1.5rem 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Application Image Carousel Styles */
.application-carousel-section {
  background: rgba(20, 20, 24, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  padding: 2.8rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.app-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.app-carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-carousel-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.app-carousel-btn:hover {
  background: rgba(0, 242, 254, 0.25);
  border-color: #00f2fe;
  color: #fff;
  transform: scale(1.06);
}

.app-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  background: #00f2fe;
  width: 28px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
}

.app-carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}

.app-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.app-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: rgba(14, 14, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
}

.slide-img-box {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}
.slide-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.app-carousel-slide:hover .slide-img-box img {
  transform: scale(1.04);
}
.slide-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(0, 242, 254, 0.45);
  color: #00f2fe;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-mono);
  z-index: 2;
}

.slide-content-box {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.slide-content-box h4 {
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.slide-content-box p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.slide-highlight {
  background: rgba(0, 255, 135, 0.1);
  border-left: 3px solid #00ff87;
  padding: 0.9rem 1.2rem;
  border-radius: 0 10px 10px 0;
  color: #00ff87;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

@media (max-width: 950px) {
  .application-comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .app-bento-card {
    padding: 2rem;
  }
  .application-carousel-section {
    padding: 1.6rem;
  }
  .app-carousel-slide {
    grid-template-columns: 1fr;
  }
  .slide-img-box {
    min-height: 250px;
  }
}

/* ==========================================================================
   Sektion 5: Credits & Team (In exakter Anlehnung an Boostbike Mac Pro Look)
   ========================================================================== */
#credits {
  background: rgba(18, 18, 20, 0.4);
}

.credit-card {
  background: var(--bg-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 28px;
  padding: 3rem;
  margin-bottom: 3rem;
  transition: var(--transition-smooth);
}
.credit-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.credit-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(138, 43, 226, 0.35);
  color: #d8b4fe;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.leadership-card {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}
.leadership-card h3 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.credit-desc {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.prof-list {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.prof-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.prof-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #8a2be2, #00ff87);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #0a0a0c;
}
.prof-item strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}
.prof-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Student Principles & Team Blocks Grid (Kompaktes 4-Spalten Apple Bento) */
.student-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

/* Spezielle Separierung und Große Überschrift für den Credits-Block */
.credits-section-separated {
  position: relative;
  padding: 6.5rem 0 5.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(138, 43, 226, 0.14) 0%, rgba(10, 12, 18, 0.98) 75%);
  border-top: 1px solid rgba(138, 43, 226, 0.35);
  margin-top: 5rem;
}
.credits-divider-glow {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #a855f7 35%, #00f2fe 65%, transparent 100%);
  box-shadow: 0 0 25px #a855f7, 0 0 45px #00f2fe;
}
.credits-header-box {
  margin-bottom: 4rem !important;
}
.credits-huge-title, h2.credits-huge-title {
  display: block !important;
  width: 100% !important;
  font-size: clamp(3.5rem, 6.5vw, 5.2rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin: 1.8rem 0 1.5rem !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 45%, #c084fc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 4px 22px rgba(168, 85, 247, 0.55)) !important;
}
.credits-huge-subtitle {
  max-width: 780px !important;
  margin: 0 auto !important;
  font-size: 1.12rem !important;
  color: #d1d5db !important;
  line-height: 1.65;
}

/* Top Leadership Banner Card */
.credits-prof-banner {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.14) 0%, rgba(14, 17, 24, 0.92) 55%, rgba(0, 242, 254, 0.1) 100%);
  border: 1px solid rgba(138, 43, 226, 0.45);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(138, 43, 226, 0.08);
  transition: var(--transition-smooth);
}
.credits-prof-banner:hover {
  border-color: rgba(138, 43, 226, 0.7);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(138, 43, 226, 0.25);
  transform: translateY(-3px);
}

.credits-prof-info {
  flex: 1;
  max-width: 650px;
}
.credits-prof-info h3 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.5rem 0 0.5rem;
  font-family: var(--font-display);
}
.credits-prof-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.credits-prof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.credits-prof-pills .team-pill {
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
}

/* 3 Columns for Student Teams */
.student-credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .credits-prof-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
  }
  .student-credits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .student-credits-grid {
    grid-template-columns: 1fr;
  }
}

.compact-team-card {
  background: var(--bg-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 22px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}
.compact-team-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.compact-team-header {
  margin-bottom: 1.25rem;
}
.compact-team-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0.35rem;
  color: #fff;
}
.compact-team-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.team-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.team-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #e4e4e7;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.team-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.team-pill.prof-pill {
  background: rgba(138, 43, 226, 0.12);
  border-color: rgba(138, 43, 226, 0.35);
  color: #d8b4fe;
}
.team-pill.prof-pill-alt {
  background: rgba(0, 255, 135, 0.12);
  border-color: rgba(0, 255, 135, 0.35);
  color: #00ff87;
}

@media (max-width: 1100px) {
  .compact-credits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .compact-credits-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px;
  background: #08080a;
}

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

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8a2be2, #00ff87);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0c;
  font-weight: 900;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.35rem;
  color: #e4e4e7;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col ul li a:hover {
  color: #00ff87;
}

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

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .physics-card-grid,
  .pruefstand-banner,
  .simulator-box,
  .potential-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .manufacturing-grid,
  .student-blocks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .manufacturing-grid,
  .student-blocks-grid,
  .hero-stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .physics-card-grid,
  .pruefstand-banner,
  .simulator-box {
    padding: 2rem;
  }
  .prof-list {
    flex-direction: column;
    gap: 1.5rem;
  }
}
