:root {
  --jw-color-bg: #0f172a;
  --jw-color-bg-alt: #f5f8fb;
  --jw-color-surface: #ffffff;
  --jw-color-border-subtle: #d2d8e3;
  --jw-color-primary: #218ca1;
  --jw-color-primary-soft: #e4f3f6;
  --jw-color-text: #0b1120;
  --jw-color-text-muted: #64748b;

  --jw-radius-sm: 0.5rem;
  --jw-radius-md: 0.75rem;
  --jw-radius-lg: 1.25rem;

  --jw-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);

  --jw-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  --jw-max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--jw-font-sans);
  color: var(--jw-color-text);
  background: #f1f5f9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--jw-color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

body {
  line-height: 1.6;
}

/* Layout utilities */

.jw-container {
  max-width: var(--jw-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.jw-section {
  padding: 4rem 0;
}

.jw-section-narrow {
  max-width: 780px;
}

.jw-section-alt {
  background: var(--jw-color-bg-alt);
}

/* Header */

.jw-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  color: #e5e7eb;
}

.jw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.jw-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e5e7eb;
}

.jw-logo img {
  width: 32px;
  height: 32px;
}

.jw-logo-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.jw-nav {
  display: flex;
}

.jw-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.jw-nav a {
  font-size: 0.95rem;
  color: #e5e7eb;
  opacity: 0.9;
}

.jw-nav a:hover {
  opacity: 1;
}

/* Mobile nav toggle */

.jw-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  margin-left: 1rem;
  cursor: pointer;
}

.jw-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */

.jw-hero {
  background: radial-gradient(circle at top left, #1d9bb3 0, #0f172a 55%, #020617 100%);
  color: #e5e7eb;
  padding: 4.5rem 0 4rem;
}

.jw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

.jw-hero-text h1 {
  font-size: clamp(2.1rem, 2.6vw + 1.4rem, 2.8rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.jw-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #bae6fd;
  margin-bottom: 0.75rem;
}

.jw-hero-subtitle {
  color: #d1d5db;
  font-size: 0.98rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.jw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.jw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, color 0.12s ease;
}

.jw-btn-primary {
  background: #f9fafb;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}

.jw-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
}

.jw-btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.jw-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.7);
}

.jw-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.jw-hero-links a {
  color: inherit;
  opacity: 0.9;
}

.jw-hero-links a:hover {
  opacity: 1;
}

/* Hero side panel */

.jw-hero-panel {
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--jw-radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--jw-shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.jw-hero-panel h2 {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.jw-keypoints {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.jw-keypoints h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: #e5e7eb;
}

.jw-keypoints p {
  margin: 0;
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Generic section styles */

.jw-section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.jw-section > .jw-container > p {
  margin-bottom: 1.5rem;
  color: var(--jw-color-text-muted);
}

/* Columns / grids */

.jw-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.jw-column h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.jw-column p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--jw-color-text-muted);
}

.jw-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.jw-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Cards */

.jw-card {
  background: var(--jw-color-surface);
  border-radius: var(--jw-radius-md);
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.04);
}

.jw-section-alt .jw-card {
  background: #ffffff;
}

.jw-card h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.jw-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--jw-color-text-muted);
}

/* Note */

.jw-note {
  margin-top: 1.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--jw-radius-md);
  background: var(--jw-color-primary-soft);
  border: 1px solid rgba(34, 197, 235, 0.4);
  font-size: 0.95rem;
  color: #0f172a;
}

/* Steps */

.jw-steps {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.jw-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
}

.jw-step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--jw-color-primary-soft);
  border: 1px solid rgba(34, 197, 235, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jw-color-primary);
}

.jw-step h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.jw-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--jw-color-text-muted);
}

/* Lists */

.jw-list {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: var(--jw-color-text-muted);
  font-size: 0.95rem;
}

/* CTA section */

.jw-cta {
  background: #020617;
  color: #e5e7eb;
  text-align: center;
}

.jw-cta p {
  color: #cbd5e1;
  max-width: 40rem;
  margin: 0.75rem auto 1.5rem;
}

/* Footer */

.jw-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: #020617;
  color: #9ca3af;
  padding: 1rem 0;
}

.jw-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.jw-footer nav {
  display: flex;
  gap: 1rem;
}

.jw-footer a {
  color: inherit;
  opacity: 0.85;
}

.jw-footer a:hover {
  opacity: 1;
}

/* Responsive */

@media (max-width: 900px) {
  .jw-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jw-hero-panel {
    margin-top: 1rem;
  }

  .jw-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .jw-header-inner {
    padding-inline: 1rem;
  }

  .jw-nav-toggle {
    display: inline-block;
  }

  .jw-nav {
    position: absolute;
    right: 1rem;
    top: 3.1rem;
    background: rgba(15, 23, 42, 0.98);
    border-radius: var(--jw-radius-md);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
    padding: 0.75rem 1rem;
    display: none;
  }

  .jw-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .jw-nav-open {
    display: block;
  }
}

/* Downloads layout */

.jw-downloads-grid {
  display: grid;
  gap: 2rem; /* etwas mehr Abstand zwischen den Boxen */
}

@media (min-width: 900px) {
  .jw-downloads-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.jw-download-os {
  display: flex;
  flex-direction: column;
}

.jw-download-os-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: #3f7f8b;
}

.jw-download-os-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jw-download-os-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.jw-download-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jw-download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e0e7ea;
  background-color: #f9fcfd;
  color: inherit;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.jw-download-option:hover {
  border-color: #468a90;
  background-color: #f3fafb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.jw-download-option-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.jw-download-option-title {
  font-weight: 600;
}

.jw-download-option-meta {
  font-size: 0.85rem;
  opacity: 0.8;
}

.jw-download-option-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #d5e3e6;
  display: flex;             
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;          
  line-height: 1;
  margin-left: 0.75rem;
  background-color: #ffffff;
  box-sizing: border-box;
  position: relative;
  top: -1px;             
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    transform 0.15s ease;
}

.jw-download-option:hover .jw-download-option-icon {
  border-color: #468a90;
  background-color: #e9f5f7;
  transform: translateY(-1px);
}

/* Larger page title for legal / standalone pages */
.jw-page-title-lg {
  font-size: 2.6rem;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .jw-page-title-lg {
    font-size: 2.6rem;
  }
}

.jw-downloads-trial {
  margin-top: 1.5rem;
}

/* Stronger outline button for trial download on light background */
.jw-btn-trial {
  border: 1px solid #468a90;
  color: #468a90;
  background-color: transparent;
  font-weight: 600;
}

.jw-btn-trial:hover,
.jw-btn-trial:focus {
  background-color: #e9f5f7;
  border-color: #3f7f8b;
  color: #3f7f8b;
}