/* ===== GRUNDEINSTELLUNGEN & VARIABLEN ===== */
:root {
  --bg-color: #fdfdfd;
  --text-color: #1a1a1a;
  --text-color-light: #555;
  --accent-color: #0d47a1;
  --accent-color-dark: #0b3a8a;
  --light-gray: #e0e0e0;
  --border-radius: 12px;
  --container-width: 960px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ANIMATIONEN ===== */
@keyframes animated-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: rgba(253, 253, 253, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ededed;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* NEW: SVG Logo styling */
.logo-svg {
  display: block;
  /* HIER DIE GRÖSSE ANPASSEN: 130px ist ein guter Startwert */
  width: 130px;

  /* WICHTIG: Sorgt dafür, dass das Logo nicht verzerrt wird */
  height: auto;

  color: var(--text-color);
  transition: color 0.2s ease;
}

.logo-svg:hover {
  color: var(--accent-color);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
nav a {
  text-decoration: none;
  color: var(--text-color-light);
  font-weight: 500;
  transition: color 0.2s ease;
}
nav a:hover {
  color: var(--accent-color);
}

/* ===== SEKTIONEN & HEADINGS ===== */
section {
  padding: 6rem 0;
  border-bottom: 1px solid #f0f0f0;
}
section:last-of-type {
  border-bottom: none;
}
h1,
h2,
h3,
h4 {
  color: var(--text-color);
}
h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 3.5rem;
  text-align: center;
  font-weight: 700;
}
p {
  color: var(--text-color-light);
}
.section-intro {
  text-align: center;
  max-width: 600px;
  margin: -2rem auto 3rem auto;
  font-size: 1.1rem;
}

/* ===== HERO SECTION (UPGRADED) ===== */
#hero {
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(125deg, #ffffff, #f7f9fc, #f1f5fe);
  background-size: 400% 400%;
  animation: animated-gradient 15s ease infinite;
  border-bottom: 1px solid #f0f0f0;
}
.subtitle {
  font-size: 1.2rem;
  color: var(--text-color-light);
  max-width: 650px;
  margin: 0 auto;
}

/* ===== PHILOSOPHY SECTION (UPGRADED) ===== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}
.philosophy-item i {
  font-size: 2rem;
  background-color: var(--accent-color);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.philosophy-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ===== PRODUCTS SECTION (UPGRADED) ===== */
.product-card {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: #ffffff;
  padding: 3rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.product-card-left,
.product-card-right {
  flex: 1;
}
.product-card-left {
  text-align: center;
}
.product-logo {
  max-width: 180px;
  margin-bottom: 2rem;
}
.product-screenshot {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
}
.product-card-right h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.product-card-right .tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}
.button {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 1.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.button:hover {
  background-color: var(--accent-color-dark);
  transform: translateY(-2px);
}

/* ===== DNA SECTION (REPLACES ABOUT SECTION) ===== */
.dna-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: #f9f9f9;
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid #f0f0f0;
}
.dna-icon {
  flex-shrink: 0;
}
.dna-icon i {
  font-size: 3rem;
  background-color: var(--accent-color);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dna-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.dna-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* ===== ROADMAP SECTION (NEW) ===== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.roadmap-item {
  background: #fff;
  padding: 2rem;
  border: 1px solid #f0f0f0;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.roadmap-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.roadmap-item i {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: block;
}
.roadmap-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
footer {
  background-color: #f5f5f5;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid var(--light-gray);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links a {
  color: #666;
  text-decoration: none;
  margin-right: 1.5rem;
}
.footer-links a:hover {
  color: var(--accent-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 2rem;
  }
  .philosophy-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  header .container,
  footer .container {
    flex-direction: column;
    gap: 1rem;
  }
  .product-card,
  .dna-card {
    /* Team card is now dna-card */
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }
}

/* ===== LEGAL PAGES STYLES (for legal-notice.html & privacy-policy.html) ===== */
.legal-page {
  padding: 4rem 0;
}
.legal-page h1 {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.legal-page h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--text-color);
}
.legal-page p,
.legal-page li {
  line-height: 1.7;
  color: var(--text-color-light);
}
.legal-page a {
  color: var(--accent-color);
  text-decoration: none;
}
.legal-page a:hover {
  text-decoration: underline;
}
