/* style.css – Modern, futuristic design for bsoftware.xyz */

:root {
  /* Dark / Futuristic Theme */
  --bg: #0a0a0a;             /* Tiefes Schwarz/Grau */
  --text: #e0e0e0;           /* Heller Text für Lesbarkeit */
  --accent: #00bfff;         /* Cyan/Blau für Buttons, Links und Glow */
  --accent-hover: #00ccff;   /* Helleres Cyan für Hover-Effekte */
  --border: #2a2a2a;         /* Dunkle, subtile Ränder */
  --card-bg: #141414;        /* Etwas helleres Schwarz für Cards */
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 28px rgba(0, 191, 255, 0.15); /* Neon-Glow Hover */
  --accent-line: rgba(0, 191, 255, 0.15);
}

/* =========================================
   1. Basis-Setup & Typografie
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. Header & Navigation (Futuristisch)
========================================= */
header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.85); /* Semi-transparent für den Blur-Effekt */
  backdrop-filter: blur(12px);         /* Verschwommener Hintergrund */
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 2rem;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
  text-decoration: none;
  border: none;
  transition: 0.3s ease;
}

.logo:hover {
  text-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
  background: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

nav a:hover {
  background: rgba(0, 191, 255, 0.1);
  color: var(--accent-hover);
  border-color: rgba(0, 191, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
}

/* =========================================
   3. Container & Layout
========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* =========================================
   4. Hero-Sektion (Startseite & Header-Bereiche)
========================================= */
.hero {
  text-align: center;
  margin-bottom: 5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  /* Futuristischer Text-Gradient */
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* =========================================
   5. Buttons
========================================= */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

/* =========================================
   6. Cards & Features
========================================= */
.section {
  margin-bottom: 5rem;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Leichter Glow-Effekt on Hover für Cards */
.card:hover {
  border-color: rgba(0, 191, 255, 0.4);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}

.card p {
  opacity: 0.8;
  font-size: 1rem;
}

/* Preise in Cards (für saas.html) */
.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  opacity: 0.6;
  color: var(--text);
}

/* =========================================
   7. Links & Allgemeine Elemente
========================================= */
a {
  color: var(--accent);
  text-decoration: none;
  transition: 0.2s;
}

/* Dezent unterstrichene Text-Links */
p a, li a {
  border-bottom: 1px solid var(--accent-line);
}

p a:hover, li a:hover {
  border-bottom-color: transparent;
  background: rgba(0, 191, 255, 0.1);
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.3);
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

li {
  margin: 0.4rem 0;
}

/* =========================================
   8. Footer
========================================= */
footer {
  margin-top: 2rem;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.95rem;
  color: #888;
}

/* =========================================
   9. Responsive Design (Mobile)
========================================= */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .container {
    padding: 2rem 1.5rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
}
