:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.055);
  --green: #00ff66;
  --green-soft: rgba(0, 255, 102, 0.16);
  --green-line: rgba(0, 255, 102, 0.38);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

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

html {
  background: var(--bg);
}

::selection {
  background-color: #1f6f4a;
  color: var(--text);            /* Textfarbe während der Markierung */
}

body {
  min-height: 100vh;
  font-family: "Courier New", monospace;
  text-transform: lowercase;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(0, 255, 102, 0.08), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 30%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: repeating-radial-gradient(circle at 0 0, #fff 0, transparent 1px, transparent 4px);
}

a {
  color: inherit;
  text-decoration: none;
}

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

  51%, 100% {
    opacity: 0;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 26px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
  backdrop-filter: blur(8px);
}

.nav {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo {
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.logo::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 18px;
  margin-left: 7px;
  background: var(--green);
  vertical-align: middle;
  animation: blink 1s infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::before {
  content: "./";
  color: var(--green);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  opacity: 1;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--green-line);
  background: rgba(0, 255, 102, 0.06);
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  background: var(--green);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.content-section {
  width: min(900px, calc(100% - 52px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-title {
  color: var(--text);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  margin-top: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.25s ease;
}

.btn + .btn {
  margin-left: 10px;
}

.btn::before {
  content: "$";
  margin-right: 9px;
  color: var(--green);
}

.btn:hover {
  border-color: var(--green);
}

.btn-primary {
  color: #050505;
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 28px rgba(0, 255, 102, 0.18);
}

.btn-primary::before {
  color: #050505;
}

.btn-primary:hover {
  color: #050505;
  background: var(--green);
  border-color: var(--text);
  box-shadow: none;
  transform: none;
}

.terminal {
  margin-top: 30px;
}

.terminal-space {
  margin-top: 50px;
}

.command {
  margin-bottom: 10px;
  padding: 8px 10px;
  color: var(--green);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
}

.command.typing::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1.2em;
  margin-left: 6px;
  background: var(--text);
  vertical-align: middle;
  animation: blink 1s infinite;
}

.output {
  color: #ccc;
  line-height: 1.7;
}

.site-footer {
  width: 100%;
  margin: 120px 0 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-left: none;
  border-right: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at top left, rgba(0, 255, 102, 0.14), transparent 34%),
    rgba(8, 10, 12, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  }

.footer-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -160px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.16);
  filter: blur(65px);
  z-index: -1;
}

.footer-inner {
  width: min(100% - 68px, 1180px);
  margin: 0 auto;
  padding: 34px 0;
}

.footer-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 48px;
}

.footer-backtop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cfcfcf;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-backtop span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #050505;
  border-radius: 50%;
  background: var(--green);
  transition: transform 0.25s ease;
}

.footer-backtop:hover {
  color: #fff;
}

.footer-backtop:hover span {
  transform: translateY(-4px);
}

.footer-hero {
  max-width: 820px;
  margin: 0 0 54px;
  text-align: left;
}

.footer-eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-big-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.footer-animated-word {
  display: inline-block;
  color: var(--green);
  text-shadow: 0 0 30px rgba(0, 255, 102, 0.22);
}

.footer-hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: #b8b8b8;
  font-size: 1rem;
  line-height: 1.8;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 34px 0;
  text-align: center;
  justify-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-column {
  width: 100%;
}

.footer-column h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
  color: #a8a8a8;
  font-size: 0.95rem;
  line-height: 1.75;
}

.footer-column a {
  color: #cfcfcf;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-column a:hover {
  color: var(--green);
  border-color: rgba(0, 255, 102, 0.55);
}

.footer-middle {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.social-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #d4d4d4;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  }

.social-icon svg {
  width: 19px;
  height: 19px;
}

.social-icon:hover {
  color: #050505;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-4px);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 22px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #777;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav {
    width: 100%;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
  }

  .logo {
    max-width: calc(100% - 62px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 46px;
    position: relative;
    z-index: 1002;
  }

  .nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    background:
      radial-gradient(circle at top left, rgba(0, 255, 102, 0.12), transparent 34%),
      rgba(5, 5, 5, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.92rem;
  }

  .nav-links a:hover,
  .nav-links a.active {
    border-color: var(--green-line);
    background: rgba(0, 255, 102, 0.07);
  }

  .footer-inner {
    width: min(100% - 40px, 1180px);
    padding: 26px 0;
  }

  .footer-big-title {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-top {
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 20px 16px;
  }

  .nav-links {
    top: 72px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .footer-top {
    align-items: flex-end;
    margin-bottom: 42px;
  }

  .footer-big-title {
    font-size: clamp(2.4rem, 14vw, 3.6rem);
  }

  .footer-socials {
    flex-wrap: wrap;
  }
}

img,
svg,
canvas {
  max-width: 100%;
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    position: fixed;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(14px);
  }

  .nav {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .logo {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.9rem;
    text-overflow: ellipsis;
  }

  .logo::after {
    width: 7px;
    height: 15px;
    margin-left: 5px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .nav-links a::before {
    opacity: 0.7;
  }

  .nav-links a.active {
    border-color: var(--green-line);
    background: rgba(0, 255, 102, 0.08);
  }

  .content-section {
    width: min(100% - 32px, 900px);
    padding: 86px 0;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .footer-inner {
    width: min(100% - 34px, 1180px);
  }

  .footer-content {
    text-align: left;
    justify-items: start;
  }

  .footer-column li,
  .footer-column a,
  .footer-hero-text {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 13px 14px 10px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.74rem;
  }

  .content-section {
    width: min(100% - 30px, 900px);
    padding: 70px 0;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
  }

  .btn + .btn {
    margin-left: 0;
  }

  .command {
    overflow-wrap: anywhere;
  }

  .output {
    font-size: 0.95rem;
  }

  .site-footer {
    margin-top: 80px;
  }

  .footer-inner {
    width: min(100% - 30px, 1180px);
    padding: 24px 0;
  }

  .footer-top {
    margin-bottom: 34px;
  }

  .footer-hero {
    margin-bottom: 42px;
  }

  .footer-big-title {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .footer-hero-text {
    margin-top: 18px;
    font-size: 0.93rem;
    line-height: 1.7;
  }

  .footer-content {
    gap: 22px;
    padding: 28px 0;
  }

  .footer-middle {
    padding: 22px 0;
  }

  .social-icon {
    width: 43px;
    height: 43px;
  }

  .page-noise {
    opacity: 0.035;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 0.82rem;
  }

  .nav-links a {
    font-size: 0.7rem;
  }
}

@media (hover: none) {
  .footer-backtop:hover span,
  .social-icon:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
    padding: 14px 16px 12px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
  }

  .nav {
    width: 100%;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
  }

  .logo {
    max-width: calc(100% - 62px);
    overflow: hidden;
    font-size: 0.9rem;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 46px;
    position: relative;
    z-index: 1002;
  }

  .nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    width: auto;
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow-x: visible;
    padding: 14px;
    border: 1px solid var(--line);
    background: radial-gradient(circle at top left, rgba(0, 255, 102, 0.12), transparent 34%), rgba(5, 5, 5, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    scrollbar-width: auto;
    scroll-snap-type: none;
  }

  .nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    flex: initial;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: normal;
    scroll-snap-align: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 13px 14px 11px;
  }

  .nav-links {
    top: 72px;
    left: 14px;
    right: 14px;
  }

  .nav-links a {
    padding: 13px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .logo {
    max-width: calc(100% - 58px);
    font-size: 0.78rem;
  }

  .nav-links a {
    font-size: 0.86rem;
  }
}
