/* Allgemein */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: monospace, sans-serif;
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.logo-img {
  height: 60px;
  vertical-align: middle;
}

.logo span {
  font-size: 2rem;
  vertical-align: middle;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #111;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav a.active {
  color: #0044cc;
  font-weight: bold;
}

.download-btn {
  background: #0044cc;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
}

.download-btn.active {
  background: #0033aa;
  color: white;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  margin-left: auto;
  margin-right: 0;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}
.burger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #111;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Typing Animation */
#typing {
  display: inline-block;
  border-right: 2px solid #333;
  animation: blinkCursor 0.7s steps(1) infinite;
  line-height: 1;
  vertical-align: middle;
}

@keyframes blinkCursor {
  50% { border-right-color: transparent; }
}

/* Call-to-Action Button */
.cta-btn {
  background: #0044cc;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #0033aa;
}

/* Content Pages */
.content-page {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #111;
}

.page-hero p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.version-info {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.9rem;
  color: #666;
}

/* Product Page Styles */
.features {
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #0044cc;
}

.tech-specs {
  margin-bottom: 3rem;
}

.tech-specs h2 {
  margin-bottom: 2rem;
  color: #111;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.spec-item strong {
  color: #0044cc;
  display: block;
  margin-bottom: 0.5rem;
}

/* News Page Styles */
.news-content {
  margin-bottom: 3rem;
}

.news-article {
  padding: 2rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}

.news-article:last-child {
  border-bottom: none;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.date {
  color: #666;
}

.category {
  background: #0044cc;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

.news-article h2 {
  margin-bottom: 1rem;
  color: #111;
}

.read-more {
  color: #0044cc;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
}

.read-more:hover {
  text-decoration: underline;
}

.newsletter-signup {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
}

.newsletter-signup h2 {
  margin-bottom: 1rem;
}

.signup-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.email-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: monospace;
}

.subscribe-btn {
  background: #0044cc;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-family: monospace;
}

.subscribe-btn:hover {
  background: #0033aa;
}

/* Documentation Page Styles */
.docs-layout {
  display: block; /* Sidebar oben, Content darunter */
  margin-top: 2rem;
}

.docs-sidebar {
  width: 100%;
  position: static; /* kein Sticky mehr */
  margin-bottom: 2rem;
  background: #f9fafc;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.docs-nav h3 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: #222;
}

.docs-nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.75rem 0;
}

.docs-nav li {
  margin: 0.25rem 0;
}

.docs-nav a {
  text-decoration: none;
  color: #006;
  font-size: 0.95rem;
}

.docs-nav a:hover {
  text-decoration: underline;
  color: #0044cc;
}

.docs-content article {
  margin-bottom: 3rem;
}

.docs-content h2 {
  color: #111;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0044cc;
}

.docs-content h3 {
  color: #0044cc;
  margin: 2rem 0 1rem 0;
}

.code-block {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  margin: 1rem 0;
  font-family: monospace;
  overflow-x: auto;
}

.code-block code {
  font-family: monospace;
  color: #ffffff;
}

/* Download Page Styles */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.platform-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.platform-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.platform-card h3 {
  margin-bottom: 1rem;
  color: #111;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.download-link {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.2s;
}

.download-link.primary {
  background: #0044cc;
  color: white;
}

.download-link.primary:hover {
  background: #0033aa;
}

.download-link.secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.download-link.secondary:hover {
  background: #e0e0e0;
}

.file-size {
  font-size: 0.8rem;
  color: #666;
}

.installation-methods {
  margin: 3rem 0;
}

.installation-methods h2 {
  margin-bottom: 2rem;
  color: #111;
}

.install-method {
  margin-bottom: 2rem;
}

.install-method h3 {
  color: #0044cc;
  margin-bottom: 1rem;
}

.package-managers {
  display: grid;
  gap: 1rem;
}

.package-item {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.package-item strong {
  display: block;
  margin-bottom: 0.5rem;
}

.release-notes {
  margin: 3rem 0;
}

.release-notes h2 {
  margin-bottom: 2rem;
  color: #111;
}

.changelog {
  margin-bottom: 2rem;
}

.change-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.change-type {
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  min-width: 80px;
  text-align: center;
}

.change-type.new {
  background: #28a745;
  color: white;
}

.change-type.improved {
  background: #17a2b8;
  color: white;
}

.change-type.fixed {
  background: #ffc107;
  color: #212529;
}

.view-full-changelog {
  color: #0044cc;
  text-decoration: none;
  font-weight: bold;
}

.view-full-changelog:hover {
  text-decoration: underline;
}

.system-requirements h2 {
  margin-bottom: 2rem;
  color: #111;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.requirement-item h4 {
  color: #0044cc;
  margin-bottom: 1rem;
}

.requirement-item ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

/* Support Page Styles */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.support-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.support-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.support-card h3 {
  margin-bottom: 1rem;
  color: #111;
}

.support-link {
  color: #0044cc;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
}

.support-link:hover {
  text-decoration: underline;
}

.faq-section {
  margin: 3rem 0;
}

.faq-section h2 {
  margin-bottom: 2rem;
  color: #111;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.faq-item summary {
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  background: #f8f9fa;
  border-radius: 4px;
}

.faq-item summary:hover {
  background: #e9ecef;
}

.faq-item p {
  padding: 1rem;
  margin: 0;
}

.faq-item code {
  background: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
}

.contact-section {
  margin: 3rem 0;
}

.contact-section h2 {
  margin-bottom: 2rem;
  color: #111;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-item {
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.contact-item h4 {
  color: #0044cc;
  margin-bottom: 1rem;
}

.contact-link {
  color: #0044cc;
  text-decoration: none;
  font-weight: bold;
}

.contact-link:hover {
  text-decoration: underline;
}

.response-times {
  margin: 3rem 0;
}

.response-times h2 {
  margin-bottom: 2rem;
  color: #111;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.response-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.response-time {
  color: #0044cc;
  font-weight: bold;
}

.response-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #444;
  border-top: 1px solid #ddd;
  margin-top: auto;
}

footer a {
  text-decoration: none;
  margin: 0 0.5rem;
  color: #444;
}

/* Navigation Hover */
nav a:hover {
  color: #0044cc;
  text-decoration: underline;
}

/* Footer Hover */
footer a:hover {
  color: #0044cc;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .docs-sidebar {
    order: 2;
  }
  
  .signup-form {
    flex-direction: column;
    max-width: 300px;
  }
  
  .version-info {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .download-buttons {
    flex-direction: column;
  }
  
  header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  nav {
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .content-page {
    padding: 1rem;
  }
}

/* Mobile Optimization */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
    line-height: 1.5;
  }
  header {
    flex-direction: column;
    padding: 1rem 0.5rem;
    gap: 0.5rem;
  }
  .logo-img {
    height: 40px;
  }
  nav {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .content-page {
    padding: 0.5rem;
    max-width: 100vw;
  }
  .card-grid, .feature-grid, .platform-grid, .support-grid, .benefits, .contact-methods, .response-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .card, .feature-card, .platform-card, .support-card, .benefit-card, .contact-item, .response-item {
    padding: 1rem;
  }
  .page-hero h1, .hero h1 {
    font-size: 1.5rem;
  }
  .page-hero p, .hero-subtitle {
    font-size: 1rem;
  }
  .download-link, .cta-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  .docs-sidebar, .docs-content, .newsletter-signup, .diagram-placeholder {
    padding: 1rem;
  }
  .faq-list {
    max-width: 100vw;
  }
  footer {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

/* Logo als Link */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none; /* verhindert Unterstreichung */
  color: inherit;        /* behält Textfarbe */
}

/* Benefits Section */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #222;
}

.benefit-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem; /* mehr Platz */
  background: linear-gradient(to bottom right, #f8f9fa, #eef1f5);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #222;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 3rem; /* Abstand zum Button */
  max-width: 700px;
}

/* CTA Button */
.cta-btn {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  border-radius: 0.6rem;
  background: #0078ff;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: #005fcc;
  transform: translateY(-2px);
}

.diagram-placeholder {
  margin: 2rem auto;
  padding: 3rem;
  max-width: 800px;
  text-align: center;
  font-style: italic;
  background: #fdfdfd;
}


  .extension-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* kleinere Kacheln */
    gap: 1rem;
    margin-top: 2rem;
  }
  .extension-card {
    background: #f9fafc;
    padding: 1rem;                 /* kleineres Padding */
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: center;
    transition: all 0.25s ease;    /* weicher Übergang */
  }
  .extension-card h3 {
    margin-top: 0.3rem;
    font-size: 1rem;               /* kleinerer Text */
    color: #222;
  }
  .extension-card p {
    color: #444;
    margin-top: 0.3rem;
    font-size: 0.9rem;
  }
  /* Hover Effekt */
  .extension-card:hover {
    transform: translateY(-5px);   /* leicht nach oben */
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border-color: #bbb;
  }

/* SVG Responsive Utility */
.svg-responsive {
  width: 100%;
  height: auto;
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

/* Burger Menu Styles */
@media (max-width: 900px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  .header-left {
    margin-right: auto;
  }
  .burger {
    display: flex;
    margin-left: auto;
    margin-right: 0;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100vw;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1000;
  }
  nav.open {
    display: flex;
  }
}

