/* index.css – Reset42 Layout */

body {
  background-color: #0d1117;
  color: #42f5b3;
  font-family: monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  text-align: center;
}

img {
  margin-top: 2rem;
}

/* Logo responsive */
.logo {
  width: 160px;
  max-width: 30vw;
  margin-top: 2.5rem;
}

/* Claim (zweite Zeile, kompakt & leserlich) */
.claim {
  color: #bbb;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.35;
}

/* Showcase Divider */
.showcase-divider {
  width: 320px;
  max-width: 80vw;
  margin: 2.4rem auto 1.2rem auto;
  border: none;
  border-top: 2px solid #222;
  box-shadow: 0 1px 0 #42f5b322, 0 2px 0 #0d111755;
}

/* OpenSource Showcase Titel */
.showcase-title {
  font-family: monospace;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
  margin-top: 0.8rem;
  font-weight: 700;
  text-shadow: 0 0 6px #42f5b380;
}

/* Burger-Menü */
.burger-menu {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.menu-icon {
  font-size: 1.8rem;
  cursor: pointer;
  color: #42f5b3;
  user-select: none;
}

#menu-toggle {
  display: none;
}

.menu {
  display: none;
  flex-direction: column;
  background-color: #0d1117;
  border: 1px solid #42f5b3;
  padding: 0.5rem 1rem;
  position: absolute;
  top: 3rem;
  left: 1rem;
  z-index: 1000;
  border-radius: 5px;
}

#menu-toggle:checked + .menu-icon + .menu {
  display: flex;
}

.menu a {
  text-decoration: none;
  color: #42f5b3;
  padding: 0.3rem 0;
  font-size: 1rem;
}

.menu a:hover {
  color: #fff;
}

.language-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.language-toggle button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #42f5b3;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1rem;
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
}

/* Auffälliger Vision-Button */
.vision_btn {
  background: linear-gradient(90deg, #21e6b6 0%, #42f5b3 100%);
  color: #0d1117;
  border: none;
  border-radius: 25px;
  padding: 0.85em 2em;
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 12px #42f5b355;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin: 2.5rem 0 2rem 0;
  outline: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, color 0.2s;
}

.vision_btn:hover, .vision_btn:focus {
  background: linear-gradient(90deg, #42f5b3 10%, #21e6b6 90%);
  color: #222;
  transform: scale(1.06);
  box-shadow: 0 4px 22px #42f5b388;
}

.project-card {
  background: #1a1a1a;
  border: 1px solid #42f5b3;
  padding: 1rem;
  border-radius: 8px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 5px rgba(66, 245, 179, 0.2);
}

.project-card:hover {
  transform: scale(1.02);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.project-card h3 {
  margin-top: 0;
  color: #42f5b3;
}

.project-card p {
  color: #ccc;
  font-size: 0.95rem;
}

.project-card a {
  color: #42f5b3;
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
  color: #fff;
}

.icons {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}

.icons img {
  margin: 0 0.5rem;
  vertical-align: middle;
  width: 32px;
  height: 32px;
}

.contact {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.contact a {
  color: #42f5b3;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
  z-index: 1000;
}

.modal.show {
  display: flex !important;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-content {
  background: #1a1a1a;
  border: 1px solid #42f5b3;
  padding: 2rem;
  max-width: 800px;
  color: #ccc;
  overflow-y: auto;
  max-height: 90vh;
  text-align: left;
  border-radius: 10px;
}

.modal-content h2 {
  color: #42f5b3;
  margin-top: 0;
}

.close-modal {
  color: #42f5b3;
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Optional: Vision-List Style */
.vision-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  list-style: disc inside;
}

.vision-list li {
  text-indent: -1rem;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  color: #ccc;
  line-height: 1.5;
}

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .logo {
    width: 90px;
  }
}

/* BLINKENDER CURSOR */
.cursor::after {
  content: "|";
  animation: blink 1s infinite;
  color: #42f5b3;
  margin-left: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* H1 RESET(42) DEUTLICH GRÖSSER */
h1 {
  font-size: 3.3rem;
  letter-spacing: 0.04em;
  font-family: monospace;
  margin-bottom: 1rem;
}
