/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #d63031;
  --red-dark: #b71c1c;
  --red-light: #ff7675;
  --dark: #0b0f1a;
  --dark2: #131829;
  --mid: #1e2740;

  /* Semantic theme tokens — light mode defaults */
  --bg-page: #f0f2f8;
  --bg-surface: #ffffff;
  --bg-surface-2: #f7f8fc;
  --text-primary: #0d1117;
  --text-secondary: #576070;
  --text-muted: #8a93a6;
  --border: #e2e5f0;
  --border-strong: #c9cdd8;

  /* Legacy aliases — automatically inherit theme via semantic tokens */
  --text: var(--text-primary);
  --text-light: var(--text-secondary);
  --bg-light: var(--bg-surface-2);
  --bg-white: var(--bg-surface);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(13,17,23,0.07), 0 1px 3px rgba(13,17,23,0.05);
  --shadow-hover: 0 6px 28px rgba(13,17,23,0.13), 0 2px 8px rgba(13,17,23,0.08);
  --accent: #d63031;
}

/* ===== DARK MODE TOKENS ===== */
[data-theme="dark"] {
  --bg-page: #0d1117;
  --bg-surface: #161b22;
  --bg-surface-2: #1c2128;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --border: #30363d;
  --border-strong: #484f58;
  --shadow: 0 2px 12px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.3);
  --shadow-hover: 0 6px 28px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.45);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  border-radius: 0;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: color 0.2s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  color: white;
}
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* ===== TOP NAV ===== */
.topnav {
  background: var(--dark);
  border-bottom: 2px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.topnav-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.topnav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
}

.topnav-links a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.topnav-links a.nav-cta {
  background: var(--red);
  color: white;
  font-weight: 600;
  margin-left: auto;
}
.topnav-links a.nav-cta:hover { background: var(--red-dark); }

.nav-badge-wrap { position: relative; }

.nav-badge {
  background: var(--red);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== LANGUAGE DROPDOWN & RIGHT CONTROLS ===== */
.topnav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
}

.lang-select-hidden {
  display: none;
}

/* Custom language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 36px;
  min-width: 44px;
  white-space: nowrap;
  transition: background 0.15s;
  font-family: inherit;
  letter-spacing: 0.03em;
}

.lang-dropdown-btn:hover {
  background: rgba(255,255,255,0.18);
}

.lang-flag {
  display: block;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}

.lang-code {
  flex-shrink: 0;
}

.lang-chevron {
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.18s;
}

.lang-dropdown[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 4px 0;
  list-style: none;
  margin: 0;
  min-width: 90px;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lang-dropdown[aria-expanded="true"] .lang-dropdown-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.12s;
}

.lang-option:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.lang-option.active {
  color: white;
  background: rgba(255,255,255,0.08);
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255,255,255,0.75);
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 36px;
  transition: all 0.2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  background: rgba(255,255,255,0.1);
  color: white;
}

.dropdown-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

/* Split nav: pdfMachine link + arrow button side by side */
.nav-dropdown-split {
  display: flex;
  align-items: center;
  border-radius: 6px;
}
.nav-dropdown-link {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.875rem;
  padding: 0.4rem 0.35rem 0.4rem 0.75rem;
  min-height: 36px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px 0 0 6px;
}
.nav-dropdown-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.nav-dropdown.open .nav-dropdown-link {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.nav-dropdown-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.5rem;
  min-height: 36px;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-arrow-btn:hover,
.nav-dropdown.open .nav-dropdown-arrow-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.4rem;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.55rem 0.85rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: rgba(255,255,255,0.08); color: white; }
.dropdown-item-all { color: var(--red-light); font-size: 0.8rem; }
.dropdown-item-overview {
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.dropdown-item-overview:hover { background: rgba(214,48,49,0.18); color: #fff; }
.dropdown-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 0.3rem 0.5rem; }

/* Nested submenu */
.dropdown-item-parent {
  display: flex;
  align-items: center;
}
.dropdown-item-parent .dropdown-item {
  flex: 1;
  padding-right: 0.25rem;
}
.dropdown-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  margin-right: 0.15rem;
}
.dropdown-expand-btn:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}
.dropdown-expand-btn svg {
  transition: transform 0.2s;
}
.dropdown-expand-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.dropdown-sub {
  border-left: 2px solid rgba(255,255,255,0.12);
  margin: 0 0.5rem 0.2rem 1.35rem;
  padding: 0.1rem 0;
}
.dropdown-sub[hidden] { display: none; }
.dropdown-subitem {
  display: block;
  padding: 0.4rem 0.75rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.dropdown-subitem:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}

/* Nav separator */
.nav-separator {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

/* Shop button in nav */
.topnav-links a.nav-shop {
  background: rgba(214,48,49,0.15);
  color: var(--red-light);
  border: 1px solid rgba(214,48,49,0.4);
  font-weight: 600;
}
.topnav-links a.nav-shop:hover { background: rgba(214,48,49,0.3); }

/* Mobile overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--mid) 100%);
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--red-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  min-height: 44px;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-outline-dark {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-dark:hover { background: rgba(214,48,49,0.06); }

.btn-white {
  background: white;
  color: var(--red);
  border-color: white;
}
.btn-white:hover { background: #f0f0f0; }

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SECTIONS ===== */
.section { padding: 4rem 1.5rem; }
.section-light { background: var(--bg-light); }
.section-white { background: var(--bg-white); }
.section-dark { background: var(--dark); color: white; }
.section-accent { background: var(--red); color: white; }

.section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: inherit;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-white h2, .section-light h2 { color: var(--dark); }
.section-dark h2, .section-accent h2 { color: white; }

.lead {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 760px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.lead.light { color: rgba(255,255,255,0.75); }

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

/* ===== SECTION PRODUCT LOGO ===== */
.section-product-logo-wrap {
  margin-bottom: 1rem;
}
.section-product-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.75rem;
}

.section-label.new-product {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.products-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); }

.product-card-featured {
  border-color: var(--red);
  background: white;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.product-icon { font-size: 2.5rem; }

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  flex: 1;
}

/* ===== USE CASE CARDS ===== */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.use-case-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: box-shadow 0.2s;
}
.use-case-card:hover { box-shadow: var(--shadow-hover); }

.uc-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.use-case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.use-case-card p { font-size: 0.9rem; color: var(--text-light); }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.feature-item:hover { box-shadow: var(--shadow); }

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.feature-item p { font-size: 0.85rem; color: var(--text-light); }

/* section-light feature items have light bg */
.section-light .feature-item { background: white; }
.section-white .feature-item { background: var(--bg-light); border-color: transparent; }

/* ===== KEY BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

.benefit-card {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.benefit-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--red);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.25rem;
}
.benefit-icon i {
  font-size: 1.4rem;
  color: var(--red);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdecea;
  border-radius: 50%;
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 780px;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.step p { font-size: 0.88rem; color: var(--text-light); }

/* ===== INSTALL ===== */
.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.install-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.install-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--red);
}

.req-list, .install-steps {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.req-list li, .install-steps li {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.install-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #fff3cd;
  border-left: 3px solid #f0a500;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #7a5500;
}

.install-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ===== LICENSING ===== */
.license-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.license-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.license-card.highlight {
  background: var(--red);
  border-color: var(--red-light);
}

.license-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}
.license-card p { font-size: 0.88rem; color: rgba(255,255,255,0.75); }

/* ===== TRIAL SECTION ===== */
.section-accent { padding: 2rem 1.5rem; }
.section-accent h2 { margin-bottom: 0.5rem; font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.section-accent p { margin-bottom: 1.25rem; color: rgba(255,255,255,0.88); font-size: 0.95rem; }

/* ===== FOOTER ===== */
.footer {
  background: #0b0f1a;
  color: rgba(255,255,255,0.6);
  padding: 1.5rem;
}

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

.footer-brand { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.footer-sep { margin: 0 0.4rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

.footer-inner-legal {
  justify-content: center;
  padding: 1.25rem 0;
}
.footer-links-legal {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
.footer-links-legal a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links-legal a:hover { color: white; }

/* ===== EDITIONS ===== */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Zeile 1: office / pro / ultimate — je 2 von 6 Spalten */
.editions-grid .edition-card:nth-child(1),
.editions-grid .edition-card:nth-child(2),
.editions-grid .edition-card:nth-child(3) {
  grid-column: span 2;
}

/* Zeile 2: Sign Here + merge — zentriert unter den 3 oberen Karten */
.editions-grid .edition-card:nth-child(4) {
  grid-column: 2 / 4;
}
.editions-grid .edition-card:nth-child(5) {
  grid-column: 4 / 6;
}

.edition-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.edition-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.edition-card-featured {
  border-color: var(--red);
}

.edition-popular {
  background: var(--red);
  color: white;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem;
}

.edition-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}

.edition-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.edition-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.edition-tagline {
  font-size: 0.85rem;
  color: var(--text-light);
}

.edition-features {
  padding: 1.25rem 1.5rem;
  flex: 1;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.edition-features li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.4;
}

.edition-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
}

.edition-features li:first-child { font-weight: 600; color: var(--text-light); font-style: italic; }
.edition-features li:first-child::before { content: ''; }

.edition-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}

.btn-block { display: block; text-align: center; width: 100%; }

/* ===== NEWS ===== */
.news-carousel-outer {
  max-width: 780px;
  margin: 0 auto;
}
.news-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}
.news-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-carousel-track .news-card {
  flex: 0 0 100%;
  width: 100%;
}
.news-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.news-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.news-carousel-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(214,48,49,0.06);
}
.news-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.news-dot.active {
  background: var(--red);
  transform: scale(1.35);
}
[data-theme="dark"] .news-carousel-btn { background: var(--bg-surface); }

.news-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: var(--shadow); }

.news-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  font-weight: 700;
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.news-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  flex: 1;
}

.news-readmore {
  font-size: 0.82rem;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.news-readmore:hover { opacity: 0.75; }

/* ===== SHOP ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.shop-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background 0.2s;
  position: relative;
}
.shop-card:hover { background: rgba(255,255,255,0.1); }

.shop-card-featured {
  border-color: var(--red-light);
  background: rgba(214,48,49,0.12);
}

.shop-badge {
  position: absolute;
  top: -1px;
  right: 1rem;
  background: var(--red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem 0.3rem;
  border-radius: 0 0 6px 6px;
}

.shop-product-name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-top: 0.25rem;
}

.shop-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.shop-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  flex: 1;
}

.shop-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ===== HELP GRID ===== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.help-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.help-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--red);
}

.help-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.help-card p { font-size: 0.875rem; color: var(--text-light); }

/* ===== LICENSING LIGHT ===== */
.license-cards-light {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.license-card-light {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.license-card-light.highlight-light {
  border-color: var(--red);
  background: #fff5f5;
}

.license-card-light h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.license-card-light p { font-size: 0.88rem; color: var(--text-light); }

/* ===== FOOTER MULTI-COLUMN ===== */
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-col strong { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.social-link:hover {
  background: var(--red);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .topnav-inner {
    justify-content: space-between;
  }

  .topnav-links {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 100vw;
    background: var(--dark2);
    border-left: 1px solid rgba(255,255,255,0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
    overflow-y: auto;
    gap: 0.1rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 999;
  }

  .topnav-links.open {
    transform: translateX(0);
  }

  .mobile-nav-overlay {
    display: block;
    pointer-events: none;
  }

  .hamburger {
    display: flex;
  }

  .topnav-links a,
  .nav-dropdown-trigger {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    min-height: 48px;
    font-size: 0.95rem;
    justify-content: flex-start;
  }

  .topnav-links a.nav-cta,
  .topnav-links a.nav-shop {
    margin: 0;
    width: 100%;
    border-radius: 0;
    text-align: left;
    justify-content: flex-start;
    border-left: none;
    border-right: none;
  }

  .nav-separator {
    width: calc(100% - 2.5rem);
    height: 1px;
    margin: 0.4rem 1.25rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-split {
    width: 100%;
    border-radius: 0;
  }
  .nav-dropdown-link {
    flex: 1;
    padding: 0.75rem 0 0.75rem 1.25rem;
    min-height: 48px;
    font-size: 0.95rem;
    border-radius: 0;
  }
  .nav-dropdown-arrow-btn {
    padding: 0 1.25rem;
    min-height: 48px;
    border-radius: 0;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0,0,0,0.2);
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 0.65rem 2rem;
    border-radius: 0;
    font-size: 0.875rem;
  }

  .dropdown-divider { margin: 0.2rem 1.25rem; }

  .dropdown-expand-btn {
    width: 44px;
    height: 44px;
    margin-right: 0;
  }
  .dropdown-sub {
    margin-left: 2rem;
  }
  .dropdown-subitem {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero { padding: 3.5rem 1rem; }
}

/* Editions: 2 Spalten auf Tablet, 5. Karte voll-breit */
@media (max-width: 899px) {
  .editions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .editions-grid .edition-card:nth-child(1),
  .editions-grid .edition-card:nth-child(2),
  .editions-grid .edition-card:nth-child(3),
  .editions-grid .edition-card:nth-child(4) {
    grid-column: span 1;
  }
  .editions-grid .edition-card:nth-child(5) {
    grid-column: 1 / 3;
  }
}

/* Editions: 1 Spalte auf Mobilgeräten */
@media (max-width: 539px) {
  .editions-grid {
    grid-template-columns: 1fr;
  }
  .editions-grid .edition-card:nth-child(4),
  .editions-grid .edition-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2rem; }
  .hero { padding: 2.5rem 1rem; }
  .hero-tagline { font-size: 1.05rem; }
  .section { padding: 2.5rem 1rem; }
  .section h2 { font-size: 1.5rem; }
  .steps { padding: 0; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .help-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== NAV ADDITIONS ===== */
.nav-account {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-account:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: rgba(255,255,255,0.85);
  width: 40px; height: 40px;
  border-radius: 10px;
  transition: color 0.18s, background 0.18s, transform 0.18s;
  flex-shrink: 0;
}
.nav-cart:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

/* ===== HERO – SIGNHERE ===== */
.hero-signhere {
  background: #ffffff;
  padding: 0;
  min-height: 520px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eef0f7;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.hero-text {
  max-width: 560px;
}
.hero-title-new {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.18;
  color: #1a1a2e;
  margin: 0 0 1.2rem 0;
  letter-spacing: -0.02em;
}
.hero-product-name {
  color: #1a1a2e;
  display: inline;
}
.hero-subline-red {
  color: #d63031;
  display: block;
  margin-top: 0.1rem;
}
.hero-desc-new {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

/* ===== SOLUTIONS ROW ===== */
.solutions-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}
.solutions-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.sol-card {
  background: #fff;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  padding: 1.3rem 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.sol-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  border-color: #d8dbe8;
}
.sol-card-featured {
  border-color: #d63031;
  border-width: 2px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(214,48,49,0.10);
}
.sol-card-featured:hover {
  box-shadow: 0 8px 32px rgba(214,48,49,0.16);
  border-color: #b71c1c;
}
.sol-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #d63031;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
}
.sol-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}
.sol-edition {
  color: #d63031;
}
.sol-name-featured {
  color: #d63031;
  font-size: 1.05rem;
}
.sol-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.sol-features li {
  font-size: 0.78rem;
  color: #555;
  padding: 0.22rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.35;
}
.sol-features li::before {
  content: "·";
  color: #d63031;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  flex-shrink: 0;
}
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  border-radius: 8px;
  margin-top: auto;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.partners-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.8rem;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.8rem;
  padding: 1.2rem 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef0f7;
}
.partner-logo {
  opacity: 0.65;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}
.partner-logo:hover { opacity: 1; }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.review-card {
  background: #fff;
  border: 1.5px solid #eef0f7;
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.review-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.review-text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  flex: 1;
  font-style: italic;
  margin: 0;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid #f0f2f7;
  padding-top: 0.75rem;
}
.review-author strong {
  font-size: 0.85rem;
  color: #1a1a2e;
}
.review-author span {
  font-size: 0.75rem;
  color: #888;
}

/* ===== PRODUCT LOGOS IN SOL-CARDS & EDITIONS ===== */
.sol-icon-img {
  width: auto;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}
.sol-product-logo {
  width: 100%;
  max-width: 140px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
  display: block;
}

.sol-merge-logo {
  max-width: 160px;
  height: 56px;
}

.compare-merge-logo {
  width: 90px;
  height: 36px;
}
.edition-icon-img {
  margin-bottom: 0.5rem;
}
.edition-product-logo {
  width: 160px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  display: block;
  border-radius: 6px;
}

/* ===== REVIEWS WITH PHOTOS ===== */
.review-card-photo {
  border-color: #e8eaf0;
}
.review-author-photo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-direction: row !important;
  padding-top: 0.9rem;
  border-top: 1px solid #f0f2f7;
}
.review-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid #eee;
}
.review-photo-inv {
  object-position: center 15%;
}
.review-photo-christof {
  object-fit: contain;
  background: #fff;
  padding: 2px;
  border-radius: 8px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: #fff;
  padding: 5rem 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.testimonials-intro {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.testimonials-section .reviews-grid {
  gap: 1.75rem;
}

.testimonials-section .review-card {
  background: #f8f9fc;
  border: none;
  border-left: 4px solid var(--red);
  border-radius: 0 16px 16px 0;
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.testimonials-section .review-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 9rem;
  line-height: 1;
  color: rgba(214,48,49,0.08);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}

.testimonials-section .review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.testimonials-section .review-stars {
  font-size: 1.15rem;
  letter-spacing: 3px;
}

.testimonials-section .review-text {
  color: #3a3d4d;
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
}

.testimonials-section .review-author {
  border-top-color: #e4e7f0;
  padding-top: 1rem;
  margin-top: 0.25rem;
}

.testimonials-section .review-author-photo {
  border-top-color: #e4e7f0;
}

.testimonials-section .review-author strong {
  color: #1a1a2e;
  font-size: 0.9rem;
}

.testimonials-section .review-author span {
  color: #888;
  font-size: 0.78rem;
}

.testimonials-section .review-photo {
  border: 3px solid var(--red);
  width: 56px;
  height: 56px;
  box-shadow: 0 0 0 4px rgba(214,48,49,0.1);
}

/* Dark mode */
[data-theme="dark"] .testimonials-section { background: var(--bg-white); }
[data-theme="dark"] .testimonials-section .review-card,
[data-theme="dark"] .testimonials-section .review-card-photo {
  background: var(--bg-surface);
  border-left-color: var(--red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
[data-theme="dark"] .testimonials-section .review-text { color: var(--text-secondary); }
[data-theme="dark"] .testimonials-section .review-author { border-top-color: var(--border); }
[data-theme="dark"] .testimonials-section .review-author-photo { border-top-color: var(--border); }
[data-theme="dark"] .testimonials-section .review-author strong { color: var(--text-primary); }
[data-theme="dark"] .testimonials-section .review-author span { color: var(--text-muted); }

/* ===== COMPARISON TABLE ===== */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1.5px solid #e0e4ef;
  margin-top: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 640px;
}
.compare-table thead tr {
  background: #1a1a2e;
}
.compare-table th {
  padding: 1rem 0.75rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid #d63031;
  white-space: nowrap;
}
.compare-feature-col {
  text-align: left !important;
  width: 34%;
  padding-left: 1.25rem !important;
}
.compare-product-col {
  width: 13.2%;
  vertical-align: middle;
}
.compare-product-col span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.3rem;
  color: rgba(255,255,255,0.8);
}
.compare-logo {
  width: 70px;
  height: 28px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}
.compare-merge-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 0.1rem;
}
.compare-col-highlight {
  background: rgba(214,48,49,0.08);
}
.compare-col-sign {
  background: rgba(214,48,49,0.05);
}
.compare-table tbody tr {
  border-bottom: 1px solid #eef0f7;
  transition: background 0.15s;
}
.compare-table tbody tr:hover {
  background: #f7f8fc;
}
.compare-table td {
  padding: 0.7rem 0.75rem;
  color: #444;
  text-align: center;
  vertical-align: middle;
}
.compare-table td:first-child {
  text-align: left;
  padding-left: 1.25rem;
  color: var(--text);
  font-size: 0.85rem;
}
.compare-group-header td {
  background: #f0f2f8;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666 !important;
  padding: 0.45rem 1.25rem !important;
  text-align: left !important;
}
.compare-yes {
  color: #d63031;
  font-size: 1.1rem;
  font-weight: 700;
}
.compare-no {
  color: #c8ccd8;
  font-size: 1rem;
}
.compare-col-highlight.compare-yes { color: #b71c1c; }
.compare-col-sign.compare-yes { color: #c0392b; }

@media (max-width: 720px) {
  .compare-table-wrap { font-size: 0.8rem; }
  .compare-logo { width: 54px; height: 22px; }
}

/* ===== RESPONSIVE – NEW LAYOUT ===== */
@media (max-width: 1100px) {
  .solutions-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .solutions-row .sol-card:nth-child(4),
  .solutions-row .sol-card:nth-child(5) {
    /* last 2 cards center on 2nd row */
  }
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
  .hero-visual {
    order: -1;
    max-height: 280px;
    overflow: hidden;
  }
  .hero-svg { max-width: 380px; }
  .hero-title-new { font-size: 2rem; }
  .hero-desc-new { font-size: 0.97rem; }
  .solutions-row { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .nav-account span { display: none; }
}

@media (max-width: 768px) {
  .hero-title-new { font-size: 1.7rem; }
  .solutions-row { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .sol-badge-top { font-size: 0.65rem; }
}

@media (max-width: 480px) {
  .hero-title-new { font-size: 1.45rem; }
  .solutions-row { grid-template-columns: 1fr 1fr; }
  .partners-logos { gap: 1rem 1.5rem; }
  .nav-account { display: none; }
}

/* ===== COOKIE CONSENT BANNER ===== */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark);
  border-top: 3px solid var(--red);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.22);
  animation: cookieBannerIn 0.35s ease;
}

@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

#cookie-consent-banner.cookie-banner-hide {
  animation: cookieBannerOut 0.35s ease forwards;
}

@keyframes cookieBannerOut {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 220px;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner-link {
  color: var(--red-light);
  text-decoration: underline;
  white-space: nowrap;
  margin-left: 0.35em;
}

.cookie-banner-link:hover { color: #fff; }

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.cookie-btn-accept {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.cookie-btn-accept:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.cookie-btn-decline {
  background: transparent;
  color: #ccc;
  border-color: #555;
}

.cookie-btn-decline:hover {
  border-color: #999;
  color: #fff;
}

@media (max-width: 540px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* =====================================================
   DARK MODE — ELEMENT OVERRIDES
   (for elements using hardcoded hex values)
   ===================================================== */

/* Hero */
[data-theme="dark"] .hero-signhere {
  background: var(--bg-surface-2);
  border-color: var(--border);
}
[data-theme="dark"] .hero-title-new,
[data-theme="dark"] .hero-product-name { color: var(--text-primary); }
[data-theme="dark"] .hero-subline-red { color: var(--red-light); }
[data-theme="dark"] .hero-desc-new { color: var(--text-secondary); }

/* Section headings */
[data-theme="dark"] .section-white h2,
[data-theme="dark"] .section-light h2 { color: var(--text-primary); }
[data-theme="dark"] .lead { color: var(--text-secondary); }

/* Solutions row */
[data-theme="dark"] .solutions-title { color: var(--text-primary); }
[data-theme="dark"] .sol-card {
  background: var(--bg-surface);
  border-color: var(--border);
}
[data-theme="dark"] .sol-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}
[data-theme="dark"] .sol-card-featured {
  border-color: var(--red) !important;
  background: rgba(214,48,49,0.08);
  box-shadow: 0 4px 20px rgba(214,48,49,0.15);
}
[data-theme="dark"] .sol-name { color: var(--text-primary); }
[data-theme="dark"] .sol-features li { color: var(--text-secondary); }
[data-theme="dark"] .partners-logos {
  background: var(--bg-surface);
  border-color: var(--border);
}

/* Edition cards */
[data-theme="dark"] .edition-card { background: var(--bg-surface); }
[data-theme="dark"] .edition-card-featured { border-color: var(--red); }
[data-theme="dark"] .edition-header { border-color: var(--border); }
[data-theme="dark"] .edition-header h3 { color: var(--text-primary); }
[data-theme="dark"] .edition-tagline { color: var(--text-secondary); }
[data-theme="dark"] .edition-footer { border-color: var(--border); }
[data-theme="dark"] .edition-features li { color: var(--text-secondary); }
[data-theme="dark"] .edition-features li:first-child { color: var(--text-muted); }

/* Feature items */
[data-theme="dark"] .feature-item,
[data-theme="dark"] .section-light .feature-item,
[data-theme="dark"] .section-white .feature-item {
  background: var(--bg-surface);
  border-color: var(--border);
}
[data-theme="dark"] .feature-item h4 { color: var(--text-primary); }
[data-theme="dark"] .feature-item p { color: var(--text-secondary); }

/* Product cards */
[data-theme="dark"] .product-card-featured { background: var(--bg-surface); }
[data-theme="dark"] .product-card h3 { color: var(--text-primary); }

/* Benefit cards */
[data-theme="dark"] .benefit-card h3 { color: var(--text-primary); }
[data-theme="dark"] .benefit-icon i { background: rgba(214,48,49,0.15); }

/* Use-case cards */
[data-theme="dark"] .use-case-card h3 { color: var(--text-primary); }
[data-theme="dark"] .use-case-card p { color: var(--text-secondary); }

/* Steps */
[data-theme="dark"] .step h4 { color: var(--text-primary); }

/* News cards */
[data-theme="dark"] .news-card h3 { color: var(--text-primary); }

/* Help cards */
[data-theme="dark"] .help-card h3 { color: var(--text-primary); }

/* Review cards */
[data-theme="dark"] .review-card,
[data-theme="dark"] .review-card-photo {
  background: var(--bg-surface);
  border-color: var(--border);
}
[data-theme="dark"] .review-text { color: var(--text-secondary); }
[data-theme="dark"] .review-author { border-top-color: var(--border); }
[data-theme="dark"] .review-author-photo { border-top-color: var(--border); }
[data-theme="dark"] .review-author strong { color: var(--text-primary); }
[data-theme="dark"] .review-author span { color: var(--text-muted); }
[data-theme="dark"] .review-photo { border-color: var(--border-strong); }
[data-theme="dark"] .review-photo-christof { background: var(--bg-surface-2); }

/* Comparison table */
[data-theme="dark"] .compare-table-wrap {
  border-color: var(--border);
  box-shadow: none;
}
[data-theme="dark"] .compare-table tbody tr { border-bottom-color: var(--border); }
[data-theme="dark"] .compare-table tbody tr:hover { background: var(--bg-surface-2); }
[data-theme="dark"] .compare-table td { color: var(--text-secondary); }
[data-theme="dark"] .compare-group-header td {
  background: var(--bg-surface-2);
  color: var(--text-muted) !important;
}
[data-theme="dark"] .compare-no { color: var(--border-strong); }

/* Install */
[data-theme="dark"] .install-card {
  background: var(--bg-surface);
  border-color: var(--border);
}
[data-theme="dark"] .install-card h3 { color: var(--text-primary); }
[data-theme="dark"] .install-note {
  background: rgba(240,165,0,0.1);
  border-left-color: #c8860a;
  color: #c89a3c;
}

/* Licensing light cards */
[data-theme="dark"] .license-card-light {
  background: var(--bg-surface);
  border-color: var(--border);
}
[data-theme="dark"] .license-card-light h3 { color: var(--text-primary); }
[data-theme="dark"] .license-card-light p { color: var(--text-secondary); }
[data-theme="dark"] .license-card-light.highlight-light {
  background: rgba(214,48,49,0.08);
  border-color: var(--red);
}

/* ===== NEW: NAVBAR GLASSMORPHISM ON SCROLL ===== */
.navbar-scrolled {
  background: rgba(11, 15, 26, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

/* ===== CART BADGE ===== */
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--red); color: #fff;
  font-size: 0.58rem; font-weight: 800;
  border-radius: 8px;
  display: none;
  align-items: center; justify-content: center;
  padding: 0 3.5px; line-height: 1;
  border: 2px solid transparent;
  box-shadow: 0 1px 4px rgba(214,48,49,0.5);
  letter-spacing: 0;
}
.cart-count.visible { display: flex; }

/* ===== NEW: SECTION EYEBROW ===== */
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 0.6rem;
}

/* ===== NEW: STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  flex: 0 0 auto;
  min-width: 240px;
}
.stat-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.stat-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--red);
}
.stat-card .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}
[data-theme="dark"] .stat-card { background: var(--bg-surface); }

/* ===== NEW: TESTIMONIAL CARDS ===== */
.testimonial-quote {
  font-size: 4rem;
  line-height: 0.5;
  color: var(--red);
  opacity: 0.18;
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
  user-select: none;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.testimonial-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong, var(--red));
}

/* ===== NEW: PRICE CARDS (SHOP) ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.price-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.price-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}
.price-card-featured {
  background: rgba(214,48,49,0.14);
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(214,48,49,0.2);
}
.price-card-featured:hover {
  background: rgba(214,48,49,0.18);
  border-color: #e85657;
  box-shadow: 0 8px 36px rgba(214,48,49,0.28);
  transform: translateY(-4px);
}
.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}
.price-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.6rem;
}
.price-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex: 1;
}
.price-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
}
.price-feature-list li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.72);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.4;
}
.price-feature-list li::before {
  content: '✓';
  color: #e85657;
  font-weight: 700;
  flex-shrink: 0;
}
.price-card-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
}

/* ===== COMPARE TABLE HEADER: feste Hintergrundfarbe für saubere Darstellung ===== */
.compare-table thead th {
  background: #1a1a2e;
}

/* ===== NEW: FOOTER MULTI-COLUMN ===== */
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-brand-desc { display: none; }
.footer-right {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-right a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.18s;
  white-space: nowrap;
}
.footer-right a:hover { color: rgba(255,255,255,0.9); }
.footer-right .footer-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.footer-brand-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  display: block;
}
.footer-brand-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col-links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col-links a:hover { color: #fff; }
@media (max-width: 640px) {
  .footer-main { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-right { gap: 1rem; }
}

/* ===== COMPACT NAV — veraltet, wird nicht mehr verwendet ===== */
.topnav-compact .hamburger {
  display: flex !important;
}
.topnav-compact .topnav-links {
  position: fixed;
  top: 66px;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 100vw;
  background: var(--dark2);
  border-left: 1px solid rgba(255,255,255,0.1);
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 0;
  overflow-y: auto;
  gap: 0.1rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 999;
}
.topnav-compact .topnav-links.open {
  transform: translateX(0);
}
.topnav-compact .topnav-links a,
.topnav-compact .nav-dropdown-trigger {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 0;
  min-height: 48px;
  font-size: 0.95rem;
  justify-content: flex-start;
}
.topnav-compact .topnav-links a.nav-shop {
  margin: 0;
  width: 100%;
  border-radius: 0;
  text-align: left;
  justify-content: flex-start;
  border-left: none;
  border-right: none;
}
.topnav-compact .nav-separator {
  width: calc(100% - 2.5rem);
  height: 1px;
  margin: 0.4rem 1.25rem;
}
.topnav-compact .nav-dropdown {
  width: 100%;
}
.topnav-compact .nav-dropdown-split {
  width: 100%;
  border-radius: 0;
}
.topnav-compact .nav-dropdown-link {
  flex: 1;
  padding: 0.75rem 0 0.75rem 1.25rem;
  min-height: 48px;
  font-size: 0.95rem;
  border-radius: 0;
}
.topnav-compact .nav-dropdown-arrow-btn {
  padding: 0 1.25rem;
  min-height: 48px;
  border-radius: 0;
}
.topnav-compact .nav-dropdown-menu {
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 0;
  background: rgba(0,0,0,0.2);
  padding: 0;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  display: none;
}
.topnav-compact .nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.topnav-compact .dropdown-item {
  padding: 0.65rem 2rem;
  border-radius: 0;
  font-size: 0.875rem;
}
.topnav-compact .dropdown-divider { margin: 0.2rem 1.25rem; }
.topnav-compact .dropdown-expand-btn {
  width: 44px;
  height: 44px;
  margin-right: 0;
}
.topnav-compact .dropdown-sub { margin-left: 2rem; }
.topnav-compact .dropdown-subitem {
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ===== GLOBAL MOBILE BASELINE ===== */

/* iOS input-zoom prevention: font-size < 16px triggers auto-zoom on focus */
@media (max-width: 1023px) {
  input:not([type='button']):not([type='submit']):not([type='reset']):not([type='checkbox']):not([type='radio']):not([type='file']):not([type='range']):not([type='color']):not([type='image']),
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Prevent overflow on small screens */
img, video, svg, iframe { max-width: 100%; height: auto; }

/* Table scroll wrapper — use .table-scroll around any <table> that might overflow */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

/* Responsive table helpers */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
  .page-hero h1 { font-size: 1.8rem !important; }
}

@media (max-width: 390px) {
  .section, .container { padding-left: 0.85rem !important; padding-right: 0.85rem !important; }
}

/* ===== Newsletter-Anmeldung (Footer, dunkel) ===== */
.nl-signup { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.75rem; padding-top: 1.75rem; }
.nl-signup-inner { max-width: 1200px; margin: 0 auto; }
.nl-signup-title { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 0.35rem; }
.nl-signup-text { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.55; margin-bottom: 1rem; max-width: 640px; }
.nl-form { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.6rem; max-width: 720px; }
.nl-form input { flex: 1 1 170px; min-width: 0; height: 46px; padding: 0 0.9rem; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; background: rgba(255,255,255,0.06); color: #fff; font-size: 0.95rem; }
.nl-form input::placeholder { color: rgba(255,255,255,0.5); }
.nl-form input:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,0.1); }
.nl-form button { flex: 0 0 auto; height: 46px; min-height: 44px; padding: 0 1.6rem; background: var(--red); color: #fff; font-weight: 700; font-size: 0.95rem; border: none; border-radius: 8px; cursor: pointer; transition: background 0.15s; }
.nl-form button:hover { background: #b02525; }
.nl-form button:disabled { opacity: 0.6; cursor: default; }
.nl-consent { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.5; max-width: 720px; }
.nl-msg { margin-top: 0.85rem; font-size: 0.9rem; line-height: 1.5; padding: 0.7rem 0.95rem; border-radius: 8px; max-width: 720px; }
.nl-msg-ok { background: rgba(34,197,94,0.15); color: #bbf7d0; border: 1px solid rgba(34,197,94,0.35); }
.nl-msg-err { background: rgba(239,68,68,0.15); color: #fecaca; border: 1px solid rgba(239,68,68,0.35); }
@media (max-width: 640px) {
  .nl-form input, .nl-form button { flex: 1 1 100%; font-size: 16px; }
}

/* ===== Mobile: Logo durch Favicon ersetzen (schmaler) + Overflow-Schutz ===== */
@media (max-width: 640px) {
  .logo-img { content: url('/uploads/pdfm-icon.png'); width: 36px; height: 36px; object-fit: contain; filter: none; }
}
/* Anleitung-Inhalt: nichts darf horizontal überlaufen (importierte Tabellen/Bilder/Code) */
.anl-content { overflow-x: hidden; }
.anl-content img, .anl-content table, .anl-content pre { max-width: 100%; }
.anl-content table { display: block; overflow-x: auto; }
.anl-content pre { white-space: pre-wrap; word-break: break-word; }
