:root {
  --siriustec-blue: #639cd8;
  --background-black: #0a0a0a;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--background-black);
  color: white;
}

header {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(to bottom, var(--background-black), #111);
  text-align: center;
  position: relative;
}

.site-logo {
  width: 200px;
  height: auto;
  margin-bottom: 30px;
}

h1 {
  font-size: 3rem;
  color: var(--siriustec-blue);
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.our-stack img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.our-stack .stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.our-stack .caption {
  font-size: 0.9rem;
  color: #bdbdbd;
  text-align: center;
}

form {
  display: grid;
  gap: 20px;
}

/* Kontaktformular Helfer */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.error-text {
  color: #ff8a8a;
  font-size: 0.85rem;
  min-height: 1em;
}

input.invalid,
textarea.invalid {
  outline: 2px solid #ff8a8a;
}
input, textarea {
  padding: 10px;
  border: none;
  border-radius: 6px;
}

.form-status {
  display: block;
  min-height: 1.2em;
  font-size: 0.9rem;
}

.form-status.success {
  color: #8affc1;
}

.form-status.error {
  color: #ff8a8a;
}

button {
  background: var(--siriustec-blue);
  border: none;
  padding: 15px;
  color: var(--background-black);
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 40px;
  background-color: #111;
  font-size: 0.9rem;
}

/* Link-Farben global */
a,
a:visited {
  color: var(--siriustec-blue);
}

/* Scroll-Pfeil Styles */
.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 2px solid var(--siriustec-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-arrow:hover {
  background-color: #00e0ff;
  transform: translateX(-50%) scale(1.1);
}

.scroll-arrow::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--siriustec-blue);
  border-bottom: 2px solid var(--siriustec-blue);
  transform: rotate(45deg);
  margin-top: 4px;
  transition: all 0.3s ease;
}

.scroll-arrow:hover::after {
  border-color: var(--background-black);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Rechtsseiten: Header kleiner, damit Inhalt ohne Scroll sichtbar ist */
.legal-page header {
  height: auto;
  padding-top: 32px;
  padding-bottom: 16px;
}

.legal-page .site-logo {
  width: 150px;
  margin-bottom: 16px;
}

.legal-page section:first-of-type {
  padding-top: 24px;
}


