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

:root {
  --black: #030604;
  --black-soft: #07110a;
  --panel: rgba(8, 19, 11, 0.78);
  --panel-solid: #09140d;
  --panel-light: #0d1c12;
  --white: #f5fff7;
  --muted: #8da391;
  --green: #32ff74;
  --green-strong: #00e65b;
  --green-soft: rgba(50, 255, 116, 0.12);
  --green-border: rgba(50, 255, 116, 0.22);
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
  --radius: 22px;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --sans: "Inter", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 8%, rgba(39, 255, 105, 0.08), transparent 26rem),
    radial-gradient(circle at 88% 28%, rgba(39, 255, 105, 0.06), transparent 28rem),
    var(--black);
  font-family: var(--sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #001706;
  background: var(--green);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #040805;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #040805;
  border-radius: 999px;
  background: #183522;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-strong);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.2;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(50, 255, 116, 0.25), transparent 68%);
  filter: blur(30px);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 36px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(3, 7, 4, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  min-width: 42px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  text-shadow: 0 0 16px rgba(50, 255, 116, 0.5);
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-copy strong {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.brand-copy small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.24em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a {
  position: relative;
  padding: 10px 13px;
  color: #aab9ae;
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  margin-left: 9px;
  padding: 11px 15px;
  border: 1px solid var(--green-border);
  border-radius: 10px;
  color: var(--green);
  background: var(--green-soft);
}

.main-nav .nav-cta:hover {
  color: #031008;
  background: var(--green);
  box-shadow: 0 0 28px rgba(50, 255, 116, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
  transition: 0.25s ease;
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-bordered::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 72px;
  padding-top: 142px;
  padding-bottom: 80px;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(50, 255, 116, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 255, 116, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 92%);
}

.eyebrow,
.section-index {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: pulse 2s infinite;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.3vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.gradient-text {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #f5fff7 4%, #45ff7e 56%, #00b848 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text {
  max-width: 650px;
  margin-top: 28px;
  color: #9daf9f;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 0.25s ease;
}

.button-primary {
  color: #021007;
  background: var(--green);
  box-shadow: 0 10px 34px rgba(50, 255, 116, 0.18);
}

.button-primary:hover {
  transform: translateY(-3px);
  background: #67ff96;
  box-shadow: 0 16px 42px rgba(50, 255, 116, 0.3);
}

.button-secondary {
  border-color: var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  border-color: var(--green-border);
  color: var(--green);
  transform: translateY(-3px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.hero-tags span,
.tech-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #829386;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.terminal-wrap {
  position: relative;
}

.terminal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(50, 255, 116, 0.23);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 26, 16, 0.96), rgba(3, 8, 5, 0.97));
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(50, 255, 116, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.045), transparent 28%);
}

.terminal-top,
.terminal-footer {
  display: flex;
  align-items: center;
  font-family: var(--mono);
}

.terminal-top {
  min-height: 52px;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}

.terminal-top p {
  color: #738779;
  font-size: 0.66rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3a2f;
}

.terminal-dots span:first-child {
  background: #f06464;
}

.terminal-dots span:nth-child(2) {
  background: #f3c75d;
}

.terminal-dots span:nth-child(3) {
  background: var(--green);
}

.terminal-state {
  color: var(--green);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
}

.terminal-body {
  min-height: 390px;
  padding: 30px 20px 30px 14px;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.25vw, 0.84rem);
  line-height: 2;
}

.code-line {
  display: grid;
  grid-template-columns: 35px 1fr;
  min-height: 25px;
  white-space: nowrap;
}

.line-number {
  color: #344a3a;
  user-select: none;
}

.code-purple { color: #cd91ff; }
.code-white { color: #edf9ef; }
.code-green { color: #50ff85; }
.code-yellow { color: #f4de79; }
.code-blue { color: #71bcff; }
.code-string { color: #a8e6ad; }

.terminal-command {
  margin-top: 17px;
}

.prompt {
  margin-right: 8px;
  color: var(--green);
}

.typing-cursor {
  color: var(--green);
  animation: blink 0.8s steps(1) infinite;
}

.terminal-footer {
  min-height: 34px;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  color: #536a58;
  font-size: 0.58rem;
}

.floating-card {
  position: absolute;
  z-index: 2;
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(50, 255, 116, 0.2);
  border-radius: 13px;
  background: rgba(6, 15, 9, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.floating-card-one {
  left: -52px;
  bottom: 54px;
}

.floating-card-two {
  right: -42px;
  top: 70px;
}

.floating-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--green);
  background: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 700;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.75rem;
}

.floating-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.63rem;
}

.scroll-indicator {
  position: absolute;
  left: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #59695d;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.scroll-indicator i {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--green), transparent);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-top: 13px;
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
}

.green {
  color: var(--green);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}

.about-card,
.service-card,
.team-card,
.project-card,
.contact-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(50, 255, 116, 0.035), transparent 34%),
    rgba(8, 17, 11, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.about-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 28px;
  border-radius: var(--radius);
}

.about-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(50, 255, 116, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(50, 255, 116, 0.025), 0 0 0 68px rgba(50, 255, 116, 0.018);
}

.large-card {
  min-height: 438px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
}

.card-code {
  position: absolute;
  top: 20px;
  right: 26px;
  color: rgba(50, 255, 116, 0.1);
  font-family: var(--mono);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
}

.card-label {
  margin-bottom: 13px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.about-card h3 {
  position: relative;
  z-index: 1;
  max-width: 690px;
  font-size: clamp(1.4rem, 2.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.about-card > p:not(.card-label) {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
}

.principles {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.principles span {
  padding: 8px 11px;
  border: 1px solid var(--green-border);
  border-radius: 8px;
  color: #a3b9a8;
  background: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.about-stack {
  display: grid;
  gap: 18px;
}

.mini-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid var(--green-border);
  border-radius: 10px;
  color: var(--green);
  background: var(--green-soft);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
}

.about-stack h3 {
  font-size: 1.15rem;
}

.about-stack .about-card > p {
  font-size: 0.9rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 350px;
  padding: 26px;
  border-radius: 18px;
  transition: 0.3s ease;
}

.service-card:hover {
  border-color: var(--green-border);
  transform: translateY(-7px);
  background:
    linear-gradient(135deg, rgba(50, 255, 116, 0.08), transparent 42%),
    rgba(8, 17, 11, 0.9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #314437;
  font-family: var(--mono);
  font-size: 0.65rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 29px;
  border: 1px solid var(--green-border);
  border-radius: 12px;
  color: var(--green);
  background: var(--green-soft);
  font-family: var(--mono);
  font-weight: 700;
}

.service-card h3 {
  font-size: 1.15rem;
}

.service-card > p {
  min-height: 72px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card ul {
  margin-top: 20px;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-top: 8px;
  padding-left: 18px;
  color: #b6c4b9;
  font-family: var(--mono);
  font-size: 0.7rem;
}

.service-card li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--green);
}

.heading-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.heading-note {
  max-width: 330px !important;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  transition: 0.3s ease;
}

.project-card:hover {
  border-color: var(--green-border);
  transform: translateY(-6px);
}

.project-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.project-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(50, 255, 116, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 255, 116, 0.06) 1px, transparent 1px),
    #050b07;
  background-size: 32px 32px;
}

.project-featured .project-visual {
  min-height: 430px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.project-content {
  padding: 27px;
}

.project-featured .project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 21px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
}

.project-content h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
  letter-spacing: -0.035em;
}

.project-content p {
  margin-top: 13px;
  color: var(--muted);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.dashboard-visual {
  display: grid;
  place-items: center;
  padding: 38px;
}

.visual-window {
  width: min(640px, 88%);
  overflow: hidden;
  border: 1px solid rgba(50, 255, 116, 0.24);
  border-radius: 13px;
  background: rgba(7, 16, 10, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  transform: perspective(900px) rotateY(6deg) rotateX(2deg);
}

.visual-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  border-bottom: 1px solid var(--line);
}

.visual-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #31503a;
}

.visual-layout {
  display: grid;
  grid-template-columns: 60px 1fr;
  min-height: 270px;
}

.visual-layout aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding-top: 23px;
  border-right: 1px solid var(--line);
}

.visual-layout aside i {
  width: 21px;
  height: 5px;
  border-radius: 99px;
  background: #1a3522;
}

.visual-content {
  padding: 25px;
}

.visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.visual-top span {
  width: 36%;
  height: 8px;
  border-radius: 99px;
  background: #173521;
}

.visual-top b {
  width: 64px;
  height: 21px;
  border-radius: 5px;
  background: var(--green);
}

.visual-chart {
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 33px;
  padding: 18px 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.visual-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(50, 255, 116, 0.22), var(--green));
  box-shadow: 0 0 20px rgba(50, 255, 116, 0.1);
}

.visual-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.visual-panels span {
  height: 45px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
}

.code-visual {
  display: grid;
  place-items: center;
  padding: 35px;
}

.mini-code {
  width: min(420px, 94%);
  padding: 26px;
  border: 1px solid rgba(50, 255, 116, 0.2);
  border-radius: 13px;
  background: rgba(4, 10, 6, 0.9);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 0.77rem;
  line-height: 2;
  transform: rotate(-2deg);
}

.mini-code span {
  display: block;
  color: #c6d6c9;
}

.mini-code b {
  color: #cf98ff;
}

.mini-code i {
  color: var(--green);
  font-style: normal;
}

.network-visual {
  display: grid;
  place-items: center;
}

.network-center {
  z-index: 2;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 18px;
  color: var(--green);
  background: #061008;
  box-shadow: 0 0 40px rgba(50, 255, 116, 0.2);
  font-family: var(--mono);
  font-weight: 800;
}

.node {
  position: absolute;
  width: 21px;
  height: 21px;
  border: 2px solid #0a1e10;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(50, 255, 116, 0.36);
}

.node-a { top: 52px; left: 25%; }
.node-b { right: 19%; top: 76px; }
.node-c { left: 20%; bottom: 48px; }
.node-d { right: 25%; bottom: 50px; }

.line {
  position: absolute;
  width: 1px;
  height: 115px;
  background: linear-gradient(var(--green), transparent);
  transform-origin: bottom;
}

.line-a { transform: translate(-52px, -58px) rotate(-50deg); }
.line-b { transform: translate(55px, -50px) rotate(48deg); }
.line-c { transform: translate(-57px, 48px) rotate(48deg); }
.line-d { transform: translate(54px, 50px) rotate(-48deg); }

.process-list {
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  align-items: center;
  gap: 24px;
  padding: 30px 5px;
  border-bottom: 1px solid var(--line);
  transition: 0.25s ease;
}

.process-step:hover {
  padding-left: 17px;
  padding-right: 17px;
  background: linear-gradient(90deg, var(--green-soft), transparent);
}

.step-number {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.process-step h3 {
  font-size: 1.15rem;
}

.process-step p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.step-symbol {
  color: var(--green);
  font-family: var(--mono);
  font-size: 1.25rem;
  text-align: right;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.team-card {
  position: relative;
  min-height: 330px;
  padding: 22px;
  border-radius: 18px;
  transition: 0.3s ease;
}

.team-card:hover {
  border-color: var(--green-border);
  transform: translateY(-6px);
}

.avatar {
  height: 165px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(50, 255, 116, 0.13), transparent 50%),
    repeating-linear-gradient(45deg, rgba(50, 255, 116, 0.02) 0 8px, transparent 8px 16px),
    #07100a;
}

.avatar span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-border);
  border-radius: 18px;
  color: var(--green);
  background: rgba(3, 8, 5, 0.82);
  box-shadow: 0 0 45px rgba(50, 255, 116, 0.12);
  font-family: var(--mono);
  font-weight: 800;
}

.avatar-alt span {
  border-radius: 50%;
}

.avatar-code span {
  width: 92px;
  border-radius: 10px;
}

.team-info {
  padding-top: 20px;
}

.team-role {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
}

.team-info h3 {
  margin-top: 5px;
  font-size: 1.2rem;
}

.team-info > p:last-child {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
}

.team-status {
  position: absolute;
  top: 34px;
  right: 34px;
  padding: 6px 8px;
  border: 1px solid rgba(50, 255, 116, 0.18);
  border-radius: 6px;
  color: var(--green);
  background: rgba(3, 8, 5, 0.74);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.contact {
  padding-bottom: 90px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  padding: clamp(28px, 5vw, 62px);
  border-color: var(--green-border);
  border-radius: 26px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4), 0 0 80px rgba(50, 255, 116, 0.045);
}

.contact-copy h2 {
  margin-top: 13px;
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.contact-copy > p:not(.section-index) {
  max-width: 520px;
  margin-top: 19px;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.contact-links a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  transition: 0.25s ease;
}

.contact-links a:hover {
  border-color: var(--green-border);
  transform: translateX(5px);
}

.contact-links span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.contact-links strong {
  font-size: 0.82rem;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(3, 8, 5, 0.7);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span {
  color: #a7b7aa;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.025);
  transition: 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 12px 13px;
}

.contact-form select option {
  color: var(--white);
  background: #07110a;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(50, 255, 116, 0.46);
  box-shadow: 0 0 0 3px rgba(50, 255, 116, 0.06);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.form-note {
  color: #617166;
  font-family: var(--mono);
  font-size: 0.58rem;
  line-height: 1.6;
  text-align: center;
}

.form-note.success {
  color: var(--green);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.7rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #849488;
  font-family: var(--mono);
  font-size: 0.64rem;
}

.footer-links a:hover {
  color: var(--green);
}

.copyright {
  color: #617066;
  font-family: var(--mono);
  font-size: 0.6rem;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.12s;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 18px var(--green); }
  50% { opacity: 0.45; box-shadow: 0 0 5px var(--green); }
}

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

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 160px;
  }

  .hero-content {
    max-width: 800px;
  }

  .terminal-wrap {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .service-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-featured {
    grid-template-columns: 1fr;
  }

  .project-featured .project-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .copyright {
    grid-column: span 2;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.active span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 94px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    background: rgba(3, 7, 4, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    transition: 0.25s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin: 5px 0 0;
    text-align: center;
  }

  .section {
    padding: 92px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 145px;
  }

  .scroll-indicator {
    display: none;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .large-card {
    min-height: 390px;
  }

  .about-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .heading-note {
    margin-top: -30px !important;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-featured {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .section {
    width: min(100% - 28px, 1180px);
  }

  .brand-copy small {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .terminal-body {
    min-height: 330px;
    padding-right: 8px;
    font-size: 0.62rem;
    overflow-x: auto;
  }

  .code-line {
    grid-template-columns: 28px 1fr;
  }

  .floating-card {
    display: none;
  }

  .service-grid,
  .team-grid,
  .about-stack {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 320px;
  }

  .project-featured .project-content,
  .project-content {
    padding: 25px;
  }

  .dashboard-visual {
    min-height: 320px !important;
    padding: 20px;
  }

  .visual-window {
    width: 100%;
    transform: none;
  }

  .visual-layout {
    grid-template-columns: 44px 1fr;
    min-height: 230px;
  }

  .visual-content {
    padding: 16px;
  }

  .process-step {
    grid-template-columns: 48px 1fr 25px;
    gap: 13px;
  }

  .process-step p {
    font-size: 0.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .copyright {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =========================
   MULTI-PAGE ERWEITERUNG
   ========================= */

.page-main {
  min-height: calc(100vh - 170px);
}

.page-hero {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.65fr);
  align-items: center;
  gap: 70px;
  margin: 0 auto;
  padding: 160px 0 90px;
}

.page-grid {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: -2;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(50, 255, 116, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 255, 116, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}

.page-hero-content h1 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.page-hero-content > p:last-child {
  max-width: 650px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 1.04rem;
}

.page-code {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 31px;
  border: 1px solid var(--green-border);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(11, 26, 16, 0.95), rgba(3, 8, 5, 0.97));
  box-shadow: var(--shadow), 0 0 70px rgba(50, 255, 116, 0.06);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.page-code::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(50, 255, 116, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(50, 255, 116, 0.025),
    0 0 0 60px rgba(50, 255, 116, 0.014);
}

.page-code-top {
  margin-bottom: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: #687c6d;
  font-size: 0.63rem;
}

.page-code b {
  color: #cb91ff;
}

.page-code i {
  color: var(--green);
  font-style: normal;
}

.page-code em {
  color: #a8e6ad;
  font-style: normal;
}

.subpage-content {
  padding-top: 55px;
}

.subpage-content.section-bordered::before {
  display: none;
}

.subpage-process {
  padding-top: 20px;
}

.home-overview {
  padding-top: 105px;
}

.home-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-link-card {
  position: relative;
  min-height: 250px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(50, 255, 116, 0.05), transparent 45%),
    rgba(8, 17, 11, 0.72);
  transition: 0.3s ease;
}

.home-link-card:hover {
  border-color: var(--green-border);
  transform: translateY(-7px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.home-link-card > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.home-link-card h3 {
  margin-top: 58px;
  font-size: 1.3rem;
}

.home-link-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.87rem;
}

.home-link-card i {
  position: absolute;
  right: 23px;
  bottom: 20px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 1.2rem;
  font-style: normal;
  transition: transform 0.25s ease;
}

.home-link-card:hover i {
  transform: translate(4px, -4px);
}

/* Die aktive Seite bleibt immer sichtbar markiert. */
body[data-page="contact"] .main-nav .nav-cta {
  color: #031008;
  background: var(--green);
}

/* Projektseite: ursprüngliche Überschrift wurde entfernt, daher volles Raster. */
.subpage-content .heading-row {
  display: none;
}

@media (max-width: 1050px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-code {
    width: min(650px, 100%);
  }

  .home-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .page-hero {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding-top: 145px;
  }
}

@media (max-width: 620px) {
  .page-hero {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .page-hero-content h1 {
    font-size: clamp(2.6rem, 14vw, 4.3rem);
  }

  .page-code {
    padding: 22px;
    font-size: 0.68rem;
  }

  .home-link-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   NORYGEN ORIGINAL-LOGO
   ========================= */

.site-header .brand {
  flex: 0 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
}

.header-logo {
  display: block;
  width: 220px;
  max-width: 30vw;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(86, 255, 64, 0.13));
}

.footer-brand {
  min-width: 250px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  display: block;
  width: 265px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(86, 255, 64, 0.11));
}

@media (max-width: 920px) {
  .header-logo {
    width: 190px;
    max-width: 42vw;
  }
}

@media (max-width: 620px) {
  .site-header .brand {
    height: 48px;
  }

  .header-logo {
    width: 155px;
    max-width: 52vw;
    height: 43px;
  }

  .footer-logo {
    width: 230px;
  }
}



/* =========================
   UPLOADED WEBSITE LOGO
   ========================= */

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header-logo-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 14px rgba(50, 255, 116, 0.18));
}

.brand-copy-custom {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.brand-copy-custom strong {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.brand-copy-custom small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.footer-brand {
  min-width: 260px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 18px rgba(50, 255, 116, 0.18));
}

.footer-brand-text strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.footer-brand-text p {
  color: var(--muted);
  font-size: 0.7rem;
}

@media (max-width: 620px) {
  .header-logo-icon {
    width: 42px;
    height: 42px;
  }

  .brand-copy-custom strong {
    font-size: 0.8rem;
    letter-spacing: 0.11em;
  }

  .brand-copy-custom small {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }

  .footer-logo-icon {
    width: 58px;
    height: 58px;
  }
}



/* =====================================================
   NORYGEN TEAMSTRUKTUR
   ===================================================== */

.team-page-hero {
  min-height: 690px;
}

.team-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.team-summary > div {
  min-width: 135px;
  padding: 14px 17px;
  border: 1px solid var(--green-border);
  border-radius: 12px;
  background: rgba(50, 255, 116, 0.045);
}

.team-summary strong,
.team-summary span {
  display: block;
}

.team-summary strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 1.35rem;
}

.team-summary span {
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.team-hero-logo {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--green-border);
  border-radius: 26px;
  background:
    linear-gradient(rgba(50, 255, 116, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 255, 116, 0.045) 1px, transparent 1px),
    rgba(5, 12, 7, 0.9);
  background-size: 32px 32px;
  box-shadow: var(--shadow), 0 0 90px rgba(50, 255, 116, 0.06);
}

.team-hero-logo img {
  position: relative;
  z-index: 2;
  width: min(370px, 78%);
  height: min(370px, 78%);
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(50, 255, 116, 0.18));
}

.team-hero-logo > span {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 3;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.team-hero-glow {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(50, 255, 116, 0.12);
  filter: blur(70px);
}

.team-structure {
  padding-top: 54px;
}

.structure-navigation {
  position: sticky;
  top: 105px;
  z-index: 12;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 65px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(4, 9, 5, 0.88);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.structure-navigation > span {
  margin: 0 7px 0 4px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.structure-navigation a {
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #93a497;
  font-family: var(--mono);
  font-size: 0.63rem;
  transition: 0.22s ease;
}

.structure-navigation a:hover {
  border-color: var(--green-border);
  color: var(--green);
  background: var(--green-soft);
}

.department-section {
  position: relative;
  margin-bottom: 90px;
  scroll-margin-top: 190px;
}

.department-section:last-child {
  margin-bottom: 10px;
}

.department-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 108px;
  bottom: -35px;
  width: 1px;
  opacity: 0.45;
  background: linear-gradient(var(--department-accent), transparent);
}

.department-heading {
  position: relative;
  display: grid;
  grid-template-columns: 72px 94px 1fr auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 23px;
  padding: 18px 23px 18px 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--department-accent) 38%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--department-accent) 10%, transparent), transparent 47%),
    rgba(7, 15, 9, 0.86);
}

.department-heading::after {
  content: "";
  position: absolute;
  right: -55px;
  top: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid color-mix(in srgb, var(--department-accent) 20%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px color-mix(in srgb, var(--department-accent) 4%, transparent),
    0 0 0 58px color-mix(in srgb, var(--department-accent) 2%, transparent);
}

.department-number {
  color: color-mix(in srgb, var(--department-accent) 74%, white);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-align: center;
}

.department-logo {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--department-accent) 35%, transparent);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.28);
}

.department-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--department-accent) 28%, transparent));
}

.department-title {
  position: relative;
  z-index: 2;
}

.department-title p {
  color: color-mix(in srgb, var(--department-accent) 72%, white);
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.department-title h2 {
  margin-top: 2px;
  font-size: clamp(1.4rem, 2.7vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.department-title span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.department-count {
  position: relative;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--department-accent) 28%, transparent);
  border-radius: 8px;
  color: color-mix(in srgb, var(--department-accent) 72%, white);
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding-left: 23px;
}

.rank-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rank-accent) 28%, rgba(255,255,255,.06));
  border-radius: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--rank-accent) 7%, transparent), transparent 44%),
    rgba(7, 15, 9, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: 0.28s ease;
}

.rank-card:hover {
  border-color: color-mix(in srgb, var(--rank-accent) 58%, transparent);
  transform: translateY(-7px);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.34),
    0 0 35px color-mix(in srgb, var(--rank-accent) 8%, transparent);
}

.rank-logo-wrap {
  position: relative;
  min-height: 188px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--rank-accent) 22%, transparent);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    rgba(0, 0, 0, 0.19);
  background-size: 28px 28px;
}

.rank-logo-wrap::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--rank-accent) 15%, transparent);
  filter: blur(40px);
}

.rank-logo-wrap img {
  position: relative;
  z-index: 2;
  width: 172px;
  height: 172px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--rank-accent) 22%, transparent));
  transition: transform 0.32s ease;
}

.rank-card:hover .rank-logo-wrap img {
  transform: scale(1.05);
}

.rank-card-content {
  flex: 1;
  padding: 20px 21px 22px;
}

.rank-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: color-mix(in srgb, var(--rank-accent) 72%, white);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rank-color-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rank-accent);
  box-shadow: 0 0 13px var(--rank-accent);
}

.rank-card h3 {
  margin-top: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.rank-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.79rem;
}

.rank-card-corner {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: color-mix(in srgb, var(--rank-accent) 25%, transparent);
  font-family: var(--mono);
  font-size: 0.62rem;
}

@supports not (color: color-mix(in srgb, red, blue)) {
  .department-heading,
  .rank-card {
    border-color: rgba(255,255,255,.13);
  }
  .department-title p,
  .department-count,
  .rank-meta {
    color: var(--department-accent);
  }
}

@media (max-width: 1050px) {
  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-page-hero {
    min-height: auto;
  }

  .team-hero-logo {
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  .structure-navigation {
    position: static;
  }

  .department-heading {
    grid-template-columns: 52px 70px 1fr;
    gap: 12px;
  }

  .department-logo {
    width: 62px;
    height: 62px;
  }

  .department-logo img {
    width: 58px;
    height: 58px;
  }

  .department-count {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .team-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .team-summary > div {
    min-width: 0;
    padding: 11px 10px;
  }

  .team-summary strong {
    font-size: 1.15rem;
  }

  .team-summary span {
    font-size: 0.51rem;
  }

  .team-hero-logo {
    min-height: 315px;
  }

  .department-section {
    margin-bottom: 65px;
  }

  .department-section::before {
    display: none;
  }

  .department-heading {
    grid-template-columns: 48px 1fr;
    padding: 15px;
  }

  .department-number {
    grid-row: span 2;
  }

  .department-logo {
    display: none;
  }

  .department-title {
    grid-column: 2;
  }

  .department-count {
    grid-column: 2;
  }

  .rank-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .rank-card {
    min-height: 305px;
  }

  .rank-logo-wrap {
    min-height: 175px;
  }

  .rank-logo-wrap img {
    width: 158px;
    height: 158px;
  }
}



/* =====================================================
   ECHTE NORYGEN PROJEKTE
   ===================================================== */

.projects-page-hero {
  min-height: 690px;
}

.project-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.project-summary > div {
  min-width: 145px;
  padding: 14px 17px;
  border: 1px solid var(--green-border);
  border-radius: 12px;
  background: rgba(50, 255, 116, 0.045);
}

.project-summary strong,
.project-summary span {
  display: block;
}

.project-summary strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 1rem;
}

.project-summary span {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
}

.projects-terminal {
  overflow: hidden;
  border: 1px solid var(--green-border);
  border-radius: 21px;
  background: rgba(4, 10, 6, 0.93);
  box-shadow: var(--shadow), 0 0 75px rgba(50, 255, 116, 0.055);
  font-family: var(--mono);
}

.projects-terminal-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.projects-terminal-top > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d4733;
}

.projects-terminal-top > span:first-child {
  background: #ed6666;
}

.projects-terminal-top > span:nth-child(2) {
  background: #efc45c;
}

.projects-terminal-top > span:nth-child(3) {
  background: var(--green);
}

.projects-terminal-top p {
  margin-left: auto;
  color: #68796c;
  font-size: 0.61rem;
}

.projects-terminal-body {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
  padding: 36px;
  color: #aebcaf;
  font-size: 0.74rem;
}

.projects-terminal-body b {
  color: var(--green);
}

.projects-terminal-body i {
  display: inline-block;
  min-width: 30px;
  color: #647769;
  font-style: normal;
}

.projects-terminal-body em {
  color: var(--green);
  font-style: normal;
}

.projects-terminal-body .terminal-ready {
  margin-top: 12px;
  color: var(--green);
}

.real-projects {
  padding-top: 75px;
}

.real-project {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    linear-gradient(135deg, rgba(50, 255, 116, 0.035), transparent 35%),
    rgba(7, 15, 9, 0.78);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.real-project:last-child {
  margin-bottom: 0;
}

.real-project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 60px);
}

.project-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.11em;
}

.real-project-content h2 {
  margin-top: 17px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.project-intro {
  max-width: 730px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

.project-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 27px;
}

.project-feature-list > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.project-feature-list span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.project-feature-list p {
  color: #b2c0b5;
  font-size: 0.78rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.project-tech span {
  padding: 7px 10px;
  border: 1px solid var(--green-border);
  border-radius: 7px;
  color: #9eafa2;
  background: rgba(50, 255, 116, 0.045);
  font-family: var(--mono);
  font-size: 0.59rem;
}

.real-project-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(50, 255, 116, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 255, 116, 0.045) 1px, transparent 1px),
    #050b07;
  background-size: 32px 32px;
}

.real-project-platform .real-project-visual {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.project-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid var(--green-border);
  border-radius: 8px;
  background: rgba(3, 8, 5, 0.82);
  font-family: var(--mono);
}

.project-badge span {
  color: var(--green);
  font-size: 0.6rem;
}

.project-badge strong {
  color: #b7c5ba;
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.project-status {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--green-border);
  border-radius: 8px;
  color: var(--green);
  background: rgba(3, 8, 5, 0.82);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.09em;
}

.project-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: pulse 2s infinite;
}

/* Discord Bot */
.discord-bot-visual {
  position: relative;
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-border);
  border-radius: 50%;
  background: rgba(50, 255, 116, 0.045);
  box-shadow:
    0 0 0 30px rgba(50, 255, 116, 0.018),
    0 0 0 62px rgba(50, 255, 116, 0.01),
    0 0 90px rgba(50, 255, 116, 0.12);
}

.bot-head {
  position: absolute;
  top: 58px;
  width: 110px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  border: 3px solid var(--green);
  border-radius: 27px;
  background: #07110a;
  box-shadow: 0 0 24px rgba(50, 255, 116, 0.16);
}

.bot-head::before {
  content: "";
  position: absolute;
  top: -28px;
  width: 3px;
  height: 26px;
  background: var(--green);
}

.bot-head::after {
  content: "";
  position: absolute;
  top: -36px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px var(--green);
}

.bot-eye {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
}

.bot-body {
  position: absolute;
  top: 143px;
  width: 132px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 3px solid var(--green);
  border-radius: 14px;
  background: #07110a;
}

.bot-body span {
  width: 18px;
  height: 5px;
  border-radius: 99px;
  background: var(--green);
}

.bot-signal {
  position: absolute;
  border: 2px solid var(--green);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}

.signal-one {
  width: 290px;
  height: 290px;
  opacity: 0.4;
}

.signal-two {
  width: 340px;
  height: 340px;
  opacity: 0.18;
}

/* Platform */
.platform-visual {
  padding: 35px;
}

.platform-window {
  width: min(570px, 94%);
  overflow: hidden;
  border: 1px solid var(--green-border);
  border-radius: 15px;
  background: rgba(5, 12, 7, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-4deg);
}

.platform-window-top {
  height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.platform-window-top > div {
  display: flex;
  gap: 5px;
}

.platform-window-top > div span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2c4331;
}

.platform-window-top p {
  color: #728176;
  font-size: 0.56rem;
}

.platform-window-top i {
  justify-self: end;
  color: var(--green);
  font-size: 0.53rem;
  font-style: normal;
}

.platform-window-layout {
  min-height: 335px;
  display: grid;
  grid-template-columns: 52px 145px 1fr;
}

.platform-window-layout aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding-top: 17px;
  border-right: 1px solid var(--line);
}

.platform-window-layout aside b {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #041007;
  background: var(--green);
  font-family: var(--mono);
}

.platform-window-layout aside span {
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

.platform-chat-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
}

.platform-chat-list strong {
  color: var(--green);
  font-size: 0.53rem;
  letter-spacing: 0.09em;
}

.platform-chat-list span {
  color: #718176;
  font-size: 0.58rem;
}

.platform-chat {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 21px 18px;
}

.platform-message {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.platform-message > i {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--green), #0b5426);
}

.platform-message p {
  display: flex;
  flex-direction: column;
}

.platform-message strong {
  font-size: 0.61rem;
}

.platform-message span {
  margin-top: 2px;
  color: #718176;
  font-size: 0.54rem;
}

.platform-input {
  margin-top: auto;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #4e6153;
  font-family: var(--mono);
  font-size: 0.53rem;
}

.platform-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.platform-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
}

.platform-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-border);
  border-radius: 8px;
  color: var(--green);
  background: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
}

.platform-feature strong {
  display: block;
  font-size: 0.78rem;
}

.platform-feature p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.67rem;
}

.project-roadmap {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
  margin-top: 27px;
}

.roadmap-step {
  min-height: 91px;
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}

.roadmap-step.active {
  border-color: var(--green-border);
  background: rgba(50, 255, 116, 0.045);
}

.roadmap-step > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.57rem;
}

.roadmap-step strong {
  display: block;
  font-size: 0.72rem;
}

.roadmap-step p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.61rem;
}

.roadmap-line {
  height: 1px;
  background: linear-gradient(90deg, var(--green-border), var(--green));
}

/* FiveM */
.fivem-visual {
  isolation: isolate;
  background:
    radial-gradient(circle at center, rgba(50, 255, 116, 0.09), transparent 43%),
    #050a06;
}

.city-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(50, 255, 116, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 255, 116, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(500px) rotateX(58deg) scale(1.5);
  transform-origin: center bottom;
}

.city-line {
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--green), transparent);
  opacity: 0.35;
}

.city-line-one {
  left: 28%;
  transform: rotate(33deg);
}

.city-line-two {
  right: 28%;
  transform: rotate(-33deg);
}

.fivem-logo-block {
  width: 270px;
  height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--green-border);
  border-radius: 50%;
  background: rgba(3, 8, 5, 0.82);
  box-shadow:
    0 0 0 28px rgba(50, 255, 116, 0.018),
    0 0 0 58px rgba(50, 255, 116, 0.01),
    0 0 90px rgba(50, 255, 116, 0.11);
}

.fivem-logo-block > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
  text-shadow: 0 0 24px rgba(50, 255, 116, 0.24);
}

.fivem-logo-block strong {
  margin-top: 13px;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
}

.fivem-logo-block p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
}

.server-state {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
}

.server-state-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
}

@media (max-width: 1050px) {
  .real-project {
    grid-template-columns: 1fr;
  }

  .real-project-platform .real-project-content {
    order: 2;
  }

  .real-project-platform .real-project-visual {
    order: 1;
  }

  .real-project-visual,
  .real-project-platform .real-project-visual {
    min-height: 500px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .projects-page-hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .platform-feature-grid {
    grid-template-columns: 1fr;
  }

  .project-roadmap {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .roadmap-line {
    width: 1px;
    height: 22px;
    margin-left: 22px;
    background: linear-gradient(var(--green-border), var(--green));
  }
}

@media (max-width: 620px) {
  .project-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .project-summary > div {
    min-width: 0;
    padding: 11px 9px;
  }

  .project-summary strong {
    font-size: 0.72rem;
  }

  .project-summary span {
    font-size: 0.5rem;
  }

  .projects-terminal-body {
    min-height: 250px;
    padding: 25px 18px;
    font-size: 0.61rem;
  }

  .real-project {
    min-height: 0;
  }

  .real-project-visual,
  .real-project-platform .real-project-visual {
    min-height: 385px;
  }

  .real-project-content {
    padding: 27px 20px;
  }

  .discord-bot-visual {
    transform: scale(0.78);
  }

  .platform-window {
    width: 100%;
    transform: none;
  }

  .platform-window-layout {
    grid-template-columns: 42px 1fr;
  }

  .platform-chat-list {
    display: none;
  }

  .fivem-logo-block {
    width: 225px;
    height: 225px;
  }

  .fivem-logo-block > span {
    font-size: 3.7rem;
  }
}



/* =====================================================
   IMPRESSUM
   ===================================================== */

.legal-page-hero {
  min-height: 620px;
}

.legal-code-card {
  overflow: hidden;
  border: 1px solid var(--green-border);
  border-radius: 21px;
  background: rgba(4, 10, 6, 0.93);
  box-shadow: var(--shadow), 0 0 75px rgba(50, 255, 116, 0.055);
  font-family: var(--mono);
}

.legal-code-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.legal-code-top > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d4733;
}

.legal-code-top > span:first-child {
  background: #ed6666;
}

.legal-code-top > span:nth-child(2) {
  background: #efc45c;
}

.legal-code-top > span:nth-child(3) {
  background: var(--green);
}

.legal-code-top p {
  margin-left: auto;
  color: #68796c;
  font-size: 0.61rem;
}

.legal-code-body {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
  padding: 36px;
  color: #aebcaf;
  font-size: 0.72rem;
}

.legal-code-body b {
  color: #cf91ff;
}

.legal-code-body i {
  color: var(--green);
  font-style: normal;
}

.legal-code-body em {
  color: #a8e6ad;
  font-style: normal;
}

.legal-code-body .legal-ready {
  margin-top: 12px;
  color: var(--green);
}

.legal-section {
  padding-top: 70px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 18px;
}

.legal-main-card,
.legal-small-card,
.legal-responsibility-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(50, 255, 116, 0.04), transparent 36%),
    rgba(7, 15, 9, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.legal-main-card {
  min-height: 440px;
  padding: clamp(26px, 4vw, 44px);
}

.legal-side-column {
  display: grid;
  gap: 18px;
}

.legal-small-card {
  padding: 27px;
}

.legal-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-card-heading > span {
  min-width: 38px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.legal-card-heading p {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.legal-card-heading h2 {
  margin-top: 3px;
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.legal-card-heading.compact h2 {
  font-size: 1.35rem;
}

.legal-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 27px;
}

.legal-data-item {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.legal-data-wide {
  grid-column: span 2;
  min-height: 145px;
}

.legal-data-item > span,
.legal-contact-list span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-data-item strong {
  margin-top: 8px;
  font-size: 0.91rem;
  line-height: 1.75;
}

.legal-section mark {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid rgba(255, 190, 60, 0.28);
  border-radius: 5px;
  color: #ffc65c;
  background: rgba(255, 166, 0, 0.08);
}

.legal-contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.legal-contact-list > div {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.legal-contact-list strong {
  display: block;
  margin-top: 5px;
  font-size: 0.83rem;
}

.legal-placeholder {
  color: #ffc65c;
}

.legal-note-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-color: rgba(255, 190, 60, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 166, 0, 0.055), transparent 50%),
    rgba(7, 15, 9, 0.8);
}

.legal-note-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 190, 60, 0.25);
  border-radius: 10px;
  color: #ffc65c;
  background: rgba(255, 166, 0, 0.07);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.legal-note-card h3 {
  font-size: 0.91rem;
}

.legal-note-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}

.legal-responsibility-card {
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.legal-responsibility-card > p {
  margin-top: 24px;
  color: #bac8bd;
  font-size: 0.88rem;
  line-height: 1.9;
}

.legal-footer-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 18px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.legal-footer-note > span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-border);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.legal-footer-note p {
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-links a[href="impressum.html"] {
  color: #a5b4a8;
}

body[data-page="impressum"] .footer-links a[href="impressum.html"] {
  color: var(--green);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .legal-page-hero {
    min-height: auto;
  }

  .legal-code-body {
    min-height: 230px;
    padding: 25px 18px;
    font-size: 0.6rem;
  }

  .legal-data-grid {
    grid-template-columns: 1fr;
  }

  .legal-data-wide {
    grid-column: span 1;
  }
}



/* =====================================================
   KONTAKTFORMULAR E-MAIL-VERSAND
   ===================================================== */

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.form-note.error {
  color: #ff6f78;
}
