/* 1) HTML und Body auf volle Höhe setzen */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

:root {
  --primary-color: #84d6e8;
  --secondary-color: #01192C;   /* war vorher #1a2432 */
  --background-color: #01172B;  /* war vorher #0a1520 */
  --accent-color: #ffffff;
  --text-color: #ffffff;
  --border-radius: 4px;
  --circuit-color: rgba(1, 31, 37, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* ============================= */
/* Header & Navigation           */
/* ============================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background:
    url("pasbat.png") no-repeat 1rem center,  /* Logo */
    url("pattern.png") repeat-x 0 0,          /* Pattern */
    var(--secondary-color);
  background-size:
    5% 90px,   /* Logo */
    8% 90px,   /* Pattern */
    auto;
  background-position:
    2rem center,
    0 0,
    center;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
/* Hover/Active-Unterstrich */
nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}
nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ============================= */
/* Circuit Background            */
/* ============================= */
.circuit-background {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 25% 25%, var(--circuit-color) 1px, transparent 1px) 0 0 / 50px 50px,
    radial-gradient(circle at 75% 75%, var(--circuit-color) 1px, transparent 1px) 0 0 / 50px 50px,
    linear-gradient(45deg, transparent 48%, var(--circuit-color) 48%, var(--circuit-color) 52%, transparent 52%) 0 0 / 50px 50px;
  pointer-events: none;
  opacity: 0.2;
}

/* ============================= */
/* Hero Section (index.html)     */
/* ============================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  background: linear-gradient(135deg, var(--background-color) 0%, #021A2D 100%);
}

.hero-content {
  max-width: 50%;
}
.hero-visual {
  position: relative;
  width: 40%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 400px;
  height: auto;
  max-width: 100%;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-shadow: 0 0 10px var(--primary-color);
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

/* ============================= */
/* Buttons                       */
/* ============================= */
.btn {
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}
/* Hover-Effekt */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: var(--primary-color);
  transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
  transition: transform 0.6s;
  z-index: -1;
}
.btn:hover::before {
  transform: translate(-50%, -50%) rotate(45deg) translateY(0);
}

.btn.primary {
  background: var(--primary-color);
  color: var(--background-color);
}
.btn.secondary {
  background: transparent;
  color: var(--primary-color);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--primary-color);
}

/* ============================= */
/* Features-Grid (index.html)    */
/* ============================= */
#features {
  padding: 5rem 2rem;
  background: #1a2127;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--secondary-color);
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(132, 214, 232, 0.2);
  transition: transform 0.3s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: shimmer 3s infinite;
}
.feature-card:hover {
  transform: translateY(-5px);
}

/* ============================= */
/* Footer (index.html)           */
/* ============================= */
footer {
  background: #1e1e1e;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.footer-links {
  display: flex;
  gap: 4rem;
}
.footer-links h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
}
.footer-logo img {
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* ============================= */
/* Animations                    */
/* ============================= */
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ============================= */
/* Responsive Design (index.html)*/
/* ============================= */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  header {
    background-size:
      8% 60px,
      100% 60px,
      auto;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ============================= */
/* Utility-Klassen               */
/* ============================= */
.hidden {
  display: none !important;
}
.pointer {
  cursor: pointer;
}
.bold {
  font-weight: bold;
}
.text-primary {
  color: var(--primary-color);
}
.no-list-style {
  list-style: none;
}
.ml-1 {
  margin-left: 1rem;
}
.pre-wrap {
  white-space: pre-wrap;
}
.fade-init {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
