:root {
  --company-color-1: #ffffff;
  --company-color-2: #0f1115;
  --company-color-3: #ed1a2b;
  --company-color-4: #1e232b;
}

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

body {
  background-color: var(--company-color-2);
  color: var(--company-color-1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  flex: 0 0 auto;
  background: var(--company-color-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid #333;
  position: relative;
}

h5 {
  font-size: 24px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #4facfe;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  color: #0f1115;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

nav a:hover {
  color: var(--company-color-3);
}

.btn-primary {
  background: var(--company-color-3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.btn-primary:hover {
  color: #0f1115;
}

.detail-content-container a {
  color: var(--company-color-3);
  transition: color .2s;
}

.detail-content-container a:hover {
  color: var(--company-color-1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
  margin-right: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #0f1115;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  flex-direction: column;
  padding: 10px 24px;
  gap: 10px;
  border-bottom: 1px solid #333;
  z-index: 100;
}

.mobile-menu a,
.mobile-menu .btn-primary {
  align-self: flex-start;
  color: #0f1115;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
  background: var(--company-color-3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  width: fit-content;
}

.mobile-menu a {
  background: transparent;
  color: #0f1115;
  padding: 8px 18px;
}

.mobile-menu a:hover {
  color: var(--company-color-3);
}

.mobile-menu .btn-primary:hover {
  color: #0f1115;
}

main {
  display: flex;
  flex: 1;
  min-height: 0;
}

aside {
  flex: 0 0 320px;
  padding: 32px 24px;
  background: #15181d;
  border-right: 1px solid #333;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

aside h1 {
  font-size: 24px;
  font-weight: 700;
}

aside p {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

.btn-idea {
  align-self: flex-start;
  background: #2ecc71;
  color: #000;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.btn-idea:hover {
  background: #27ae60;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--company-color-4);
  border-radius: 12px;
  border: 1px solid #333;
  margin-top: 24px;
}

.person-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4facfe;
}

.person-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.person-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.person-title {
  font-size: 13px;
  color: #ccc;
  line-height: 1.4;
}

#chart-wrapper {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

svg {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 1000px;
}

.sector-arc {
  stroke: #0f1115;
  stroke-width: 3px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.sector-arc:hover {
  opacity: 0.75;
}

.sector-label {
  fill: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  opacity: 0.8;
  text-shadow: 0px 0px 4px #000;
}

.axis-line {
  stroke: #333;
  stroke-width: 1.5;
  transition: all 0.3s ease;
  pointer-events: none;
  opacity: 0.6;
}

.progress-dot {
  stroke: #0f1115;
  stroke-width: 2px;
  cursor: pointer;
  transition: r 0.3s ease, stroke 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.8));
}

.progress-dot:hover {
  r: 9;
  stroke: #fff;
}

.item-label {
  font-size: 11px;
  font-weight: 600;
  fill: #8899a6;
  cursor: pointer;
  transition: fill 0.3s ease, font-size 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.item-label:hover {
  fill: #fff;
  font-size: 12px;
}

.center-circle {
  fill: #0f1115;
  stroke: #333;
  stroke-width: 2;
}

.center-text {
  fill: #fff;
  text-anchor: middle;
  font-size: 16px;
  font-weight: bold;
  pointer-events: none;
}

.center-subtext {
  font-size: 10px;
  fill: #888;
  font-weight: normal;
}

#tooltip {
  position: absolute;
  opacity: 0;
  background: rgba(20, 24, 30, 0.95);
  border: 1px solid #444;
  padding: 12px;
  border-radius: 4px;
  pointer-events: none;
  font-size: 12px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: opacity 0.2s;
}

#tooltip h4 {
  margin: 0 0 5px 0;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

#tooltip span.highlight {
  color: #4facfe;
  font-weight: bold;
}

#lightbox,
#lightbox2,
#lightbox-kontakt {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  z-index: 999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.lightbox-content {
  background: #1e232b;
  width: 500px;
  max-width: 90%;
  padding: 30px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-top: 4px solid #444;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
}

.close-btn:hover {
  color: #fff;
}

.lb-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: bold;
}

.lb-title {
  margin-top: 0;
  color: #fff;
  font-size: 26px;
}

.lb-desc {
  line-height: 1.6;
  color: #ccc;
  margin: 20px 0;
}

.lb-desc a {
  color: #ccc;
}

.lb-link {
  display: inline-block;
  background: #fff;
  color: #000;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.2s;
}

.lb-link:hover {
  background: #ccc;
}

.detail-content {
  flex: 1;
  padding: 32px 24px;
  background-color: var(--company-color-2);
  overflow-y: auto;
}

.detail-content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #15181d;
  border-radius: 8px;
  border: 1px solid #333;
}

#detail-title {
  font-size: 48px;
  margin-bottom: 20px;
  text-align: center;
  color: #4facfe;
}

/* Progress */
#progress-container {
  margin: 20px 0;
}

#progress-label {
  margin-bottom: 8px;
  font-size: 16px;
}

#progress-value {
  font-weight: bold;
  color: #4facfe;
}

#progress-bar {
  width: 100%;
  height: 24px;
  background-color: #333;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

#progress-fill {
  height: 100%;
  background-color: #4facfe;
  border-radius: 12px;
  transition: width 0.5s ease;
}

/* Image Slider */
#image-slider {
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: none;
}

#slider-container {
  display: flex;
  transition: transform 0.5s ease;
}

#slider-container img {
  min-width: 100%;
  height: 400px;
  object-fit: cover;
}

#slider-prev,
#slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#slider-prev {
  left: 10px;
}

#slider-next {
  right: 10px;
}

/* Ticker */
#ticker-container {
  height: 40px;
  overflow: hidden;
  background-color: #1a1d23;
  border-radius: 4px;
  margin: 20px 0;
  border: 1px solid #333;
  display: none;
  position: relative;
}

.ticker-content {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  font-size: 14px;
  color: #ccc;
  padding: 0 10px;
}

.ticker-content span {
  margin: 0 30px;
  display: inline-block;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.ticker-content:hover {
  animation-play-state: paused;
}

/* Video */
#detail-video-container {
  margin: 20px 0;
  display: none;
}

#video-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

#detail-video {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}

/* Text */
#detail-text {
  margin: 20px 0;
  line-height: 1.6;
}

/* Back Button */
#detail-back-btn {
  background: #444;
  color: #fff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#detail-back-btn:hover {
  background: #555;
}

footer {
  flex-shrink: 0;
  background: #15181d;
  border-top: 1px solid #333;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #aaa;
  gap: 8px;
}

footer a {
  color: #aaa;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

.footer-left {
  font-weight: 600;
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  aside {
    position: fixed;
    top: 87px;
    left: 0;
    height: calc(100vh - 64px - 64px);
    z-index: 90;
    border-top: 4px solid #4facfe;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  aside.open {
    transform: translateX(0);
  }

  main {
    flex-direction: column;
  }

  #chart-wrapper {
    height: 400px;
  }

  #slider-container img {
    height: 250px;
  }

  #detail-video {
    height: 250px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer a {
    display: block;
    margin: 4px 0;
  }
}

.info-toggle {
  display: none;
  background: none;
  border: 2px solid #0f1115;
  color: #0f1115;
  font-size: 28px;
  cursor: pointer;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-left: 10px;
  position: relative;
}

.info-toggle::before {
  content: 'i';
  font-size: inherit;
  color: inherit;
}

.info-toggle.close-icon::before {
  content: 'X';
  background-color: var(--company-color-3);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#detail-idea-btn {
  font-size: 18px;
  padding: 15px 30px;
}

/* --- SOCIAL SHARING LEISTE --- */
.social-sharing {
  margin: 20px 0;
  text-align: center;
}

.social-sharing h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #ccc;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333;
  border: 1px solid #444;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
}

.social-btn:hover {
  transform: scale(1.1);
  border-color: #4facfe;
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

/* --- PROJEKT STATUS INFO --- */
.project-status-info {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  margin: 20px 0;
  padding: 15px;
  background-color: #1a1d23;
  border-radius: 8px;
  border: 1px solid #333;
  flex-wrap: wrap;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.status-label {
  font-size: 14px;
  color: #aaa;
  font-weight: 500;
}

.status-value {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

.status-indicator-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.status-indicator.status-green {
  background-color: #2ecc71;
}

.status-indicator.status-orange {
  background-color: #f39c12;
}

.status-indicator.status-red {
  background-color: #e74c3c;
}

.status-indicator:hover {
  transform: scale(1.1);
  cursor: default;
}