/* ==============================
   Simple modern CSS for ZenoTest
   ============================== */

:root {
  --bg: #0f1724;
  --card: #0b1220;
  --accent: #4f46e5;
  --muted: #94a3b8;
  --text: #e6eef8;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 0;
  background: linear-gradient(180deg,#071029 0%, #071623 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 0px 0px 0px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 0;
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo .mark {
  width: 44px;          /* feste Breite */
  height: 44px;         /* feste Höhe */
  min-width: 44px;      /* verhindert Schrumpfen */
  min-height: 44px;     /* verhindert Schrumpfen */
  flex-shrink: 0;       /* keine Verkleinerung durch Flexbox */
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
}

.lang-select {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 8px;
  border-radius: 8px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding: 20px 0px 0px 0px;
}

.hero .copy {
  flex: 1;
  text-align: left; /* linksbündig */
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 24px;
}


h1 {
  font-size: 28px;
  margin: 0 0 10px 0;
}

.lead {
  color: var(--muted);
  margin-bottom: 18px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-right: 12px;
}

.card {
  background: rgba(255,255,255,0.03);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.6);
}

.footer {
  margin-top: 54px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.container-small {
  max-width: 900px;
  margin: 0 auto;
}

/* ==============================
   Pages Titles / Subtitles
   ============================== */
.page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  text-align: center;
}

.page-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* ==============================
   Features Grid / Cards
   ============================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0rem;
  padding-bottom: 0rem;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #fff;
}

.feature-card p,
.feature-card li {
  color: var(--muted);
  line-height: 1.5;
}

.feature-card ul {
  padding-left: 1.2rem;
}

.feature-card-img {
  float: left;         /* Bild nach links floaten */
  margin-top: 0.5rem;
  margin-right: 1rem;  /* Abstand zwischen Bild und Text */
  margin-bottom: 0.5rem; /* Optional: Abstand nach unten, falls Text darunter geht */
  width: 80px;         /* Größe des Screenshots */
  height: auto;
  border-radius: 8px;  /* Optional: abgerundete Ecken */
}

.code-sample {
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #b0ffc3;
  padding: 10px 14px;
  font-family: monospace;
  font-size: 0.9rem;
  overflow-x: auto;
  margin-top: 0.8rem;
}

/* Why Choose ZenoTest Section */
.why-choose {
  padding: 20px 20px;
  background: linear-gradient(135deg, #0e1116 0%, #1a1f29 100%);
  color: #ffffff;
  text-align: center;
  border-radius: 20px; /* leichte Abrundung */
  box-shadow: 0 8px 30px rgba(0,0,0,0.4); /* sanfter Schatten */
  margin: 20px auto; /* Abstand zum Rest der Seite */
  max-width: 1200px; /* zentrierte Breite */
}


.why-choose h2 {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: 700;
}

.why-choose-intro {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #cccccc;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: hidden;
  overflow-y: hidden; /* verhindert vertikalen Scroll bei Hover */
  margin-bottom: 40px;
}


.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 1em;
}

.comparison-table th {
  background-color: #1f2430;
  font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: rgba(255,255,255,0.03);
}

.comparison-table tbody tr:hover {
  background-color: rgba(255,255,255,0.08);
  transform: scale(1.01);
  transition: 0.2s;
}

.comparison-table td {
  color: #ffffff;
}

.why-choose-note {
  font-size: 1em;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
  color: #cccccc;
}

/* Documentation Page */
.docs {
  padding: 60px 20px;
  background: linear-gradient(135deg,#0e1116 0%,#1a1f29 100%);
  color: var(--text);
}

.docs h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  text-align: center;
}

.docs-intro {
  font-size: 1.2em;
  text-align: center;
  color: var(--muted);
  margin-bottom: 50px;
  line-height: 1.6;
}

.docs-section {
  background: rgba(255,255,255,0.03);
  padding: 20px 25px;
  margin-bottom: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/*
.docs-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
*/

.docs-section h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #fff;
}

.docs-section p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.docs-section ol {
  padding-left: 1.2rem;
  color: var(--text);
}

.docs-section ol li {
  margin-bottom: 6px;
}

.card.download-info {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 0.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.card.download-info h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.card.download-info p {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-card {
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.pricing-card ul li {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.pricing-card .cta {
  align-self: center;
  width: 80%;
  text-align: center;
  margin-top: auto;
  background: var(--accent);
  opacity: 0.9;
}

.pricing-card .cta:hover {
  opacity: 1;
}

.lang-select {
  background: var(--card);      /* dunkler Hintergrund passend zum Menü */
  color: var(--text);           /* heller Text für Lesbarkeit */
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 14px;
  margin-left: 10px;
  cursor: pointer;
}

.lang-select option {
  background: #f5f5f5;  /* heller Hintergrund für Options */
  color: #0f1724;       /* dunkler Text */
}

.lang-select:hover {
  background: rgba(255,255,255,0.05);
}

/* Aktive Navigationsseite hervorheben */
.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
  white-space: nowrap; /* verhindert Zeilenumbruch */
}

.nav a.active {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* Menü als horizontale Leiste */
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #222;
	color: #fff;
	padding: 12px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 9999;
	font-size: 14px;
}

.cookie-banner button {
	background: #06b6d4;
	border: none;
	padding: 6px 12px;
	color: white;
	border-radius: 4px;
	cursor: pointer;
}

/* Thumbnail */
.screenshot-thumb {
  max-width: 100%;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
}

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

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 15px #000;
  border-radius: 4px;
}

.icon {
    filter: grayscale(100%) brightness(80%);
}

/* TOC Grid */
.docs-toc .toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 2rem; /* vertikal / horizontal */
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.docs-toc .toc-grid li {
  margin: 0;
}

/* TOC Links */
.docs-toc a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05); /* leicht abgehoben */
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.docs-toc a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(3px);
}

.docs-toc a:active {
  transform: translateX(1px);
}

.docs-toc a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.docs-toc a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(4px);
}

.docs-toc a:active {
  transform: translateX(2px);
}