:root {
  --navy: #1E2A38;
  --gradient: linear-gradient(to right, #FF4C4C, #FF9500, #FFD600, #00C853, #00B8D4, #2979FF, #8E24AA);
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* ========= Branding-Header (weiß, zentriert) ========= */
.branding-header {
  background-color: white;
  color: var(--navy);
  padding: 1rem 0;
}

.branding-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.branding-header .company-name {
  font-size: 1.3rem;
  font-weight: 600;
}

.branding-header img {
  height: 200px;
}

.branding-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.subline {
  font-size: 0.9rem;
  color: var(--navy);
}

/* ========= Navigation (dunkelblau, weiß, begrenzt) ========= */
.topnav {
  background-color: var(--navy);
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.topnav .container {
  color: white;
  padding: 0.75rem 0;
}

.topnav nav a {
  color: white;
  margin: 0 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

/* Aufteilung Navigation in links/rechts */
.split-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Dropdown-Menü dunkelblau mit weißer Schrift */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--navy);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 1;
  text-align: left;
}

.dropdown-content a {
  color: white;
  padding: 0.75rem 1rem;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #2c3e50;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ========= Hero-Bereich ========= */
.hero {
  background-color: #f4f4f4;
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  /*padding: 3rem 1rem;*/
}

.hero .container {
  text-align: center;
}

/* ========= Buttons ========= */
.cta-button {
  background: var(--gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
}

/* ========= Feature Grid ========= */
.grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.grid > div {
  flex: 1;
  min-width: 200px;
}

/* ========= Screenshot-Karussell ========= */
.carousel {
  position: relative;
  text-align: center;
}

.carousel img {
  width: auto;
  max-width: 500px;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* ========= Lightbox ========= */
#lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

/* ========= Listen ========= */
.usecases ul,
.setup ul {
  list-style: none;
  padding-left: 0;
}

.usecases li,
.setup li {
  margin-bottom: 0.5rem;
}

.setup ol {
  margin-left: 1.2rem;
}

/* ========= Footer ========= */
.footer {
  background-color: var(--navy);
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  color: white;
}

.footer .container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

.footer a {
  color: white;
  text-decoration: none;
}

/* ========= Formular ========= */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

form input,
form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

form button {
  background-color: var(--navy);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

form button:hover {
  background-color: var(--navy);
}

/* ========= Abstand nach Header ========= */
.spacer {
  height: 2rem;
}

/* ========== Register Tabs Bereich ========== */
.register {
  background-color: #f4f4f4;
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

.register .container {
  max-width: 960px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-button {
  background-color: #1E2A38;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

.tab-button:hover {
  background-color: #314256;
}

/* ============ Tabellen ============= /*
/* Basis-Stil für alle Tabellen */
table {
  border-collapse: collapse;
  width: 100%;
  border: 2px solid #000; /* dicker Außenrahmen */
}

/* Tabellenkopfzeile */
table thead th {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  padding: 0.5rem;
  border-bottom: 1px solid #666;
}

/* Tabellenzellen */
table td,
table th {
  border-bottom: 1px solid #ccc; /* feine horizontale Trennung */
  padding: 0.5rem;
  text-align: left;
}

/* Tabellenzeile Hover-Effekt */
table tbody tr:hover {
  background-color: #ffdddd; /* zartes Rot beim Überfahren */
}

/* Burger-Button standardmäßig ausblenden (nur mobil sichtbar) */
.burger-button {
  display: none;
}

@media screen and (max-width: 768px) {
  .burger-button {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 2000;
  }

  #hauptmenue {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #1E2A38;
    position: absolute;
    top: 60px;
    right: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    width: fit-content;
  }

  #hauptmenue.aktiv {
    display: flex;
  }

  /* Links im Menü mobil untereinander */
  #hauptmenue a {
    display: block;
    text-align: right;
    padding: 0.5rem 0;
    white-space: nowrap;
  }

  /* Navigation links und rechts mobil untereinander */
  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
  }

  /* Dropdown im mobilen Menü */
  .dropdown {
    position: relative;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    background-color: #FF4C4C;
    min-width: 160px;
    padding: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-radius: 6px;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    display: block;
    text-align: left;
    padding: 0.4rem 0.6rem;
  }
  
}