/* ============================================
   aeroPDF — Produkt-Webseite
   softwelop Corporate Identity
   ============================================ */

/* --- Google Fonts: Montserrat ---
   Loaded via <link rel="preconnect"> + <link rel="stylesheet"> in HTML
   for better Lighthouse performance (avoids render-blocking @import).
   -------------------------------------------------------------------- */

/* --- CSS Custom Properties (CI_PLAN.md) --- */
:root {
  --sw-white: #ffffff;
  --sw-bright-code: #a3c7eb;
  --sw-core-logic: #194093;
  --sw-deep-trust: #21264e;
  --sw-soft-spark: #f7ae67;
  --sw-signal-orange: #f18557;
  --sw-powerline-red: #e36150;

  --sw-text: var(--sw-deep-trust);
  --sw-bg: var(--sw-white);

  --font-headline: 'Montserrat', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;

  --max-width: 1200px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 96px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--sw-text);
  background: var(--sw-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--sw-core-logic);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--sw-signal-orange);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Accessibility: Skip-Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--spacing-sm);
  padding: 0.5rem 1rem;
  background: var(--sw-core-logic);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* --- Accessibility: Visually Hidden (screen-reader-only) --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Accessibility: Focus Styles --- */
:focus-visible {
  outline: 3px solid var(--sw-soft-spark);
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--sw-soft-spark);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sw-deep-trust);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: var(--spacing-md); }
h3 { font-size: 1.25rem; margin-bottom: var(--spacing-sm); }

.subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sw-core-logic);
}

p {
  margin-bottom: var(--spacing-sm);
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section--alt {
  background: #f4f7fb;
}

.section--dark {
  background: var(--sw-deep-trust);
  color: var(--sw-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--sw-white);
}

.section--dark .subtitle {
  color: var(--sw-bright-code);
}

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

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(25, 64, 147, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--spacing-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--sw-deep-trust);
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: 40px;
}

.nav-logo span:last-child {
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sw-deep-trust);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--sw-core-logic);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--sw-core-logic);
  color: var(--sw-white) !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav-cta:hover {
  background: var(--sw-deep-trust);
  color: var(--sw-white) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sw-deep-trust);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* --- Hero --- */
.hero {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--sw-core-logic);
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--sw-deep-trust);
  opacity: 0.8;
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(25, 64, 147, 0.15), 0 8px 24px rgba(25, 64, 147, 0.08);
  border: 1px solid rgba(25, 64, 147, 0.08);
  background: #f0f4fa;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-core-logic);
  font-weight: 500;
  font-size: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--sw-core-logic);
  color: var(--sw-white);
  box-shadow: 0 4px 16px rgba(25, 64, 147, 0.25);
}

.btn--primary:hover {
  background: var(--sw-deep-trust);
  color: var(--sw-white);
  box-shadow: 0 6px 24px rgba(25, 64, 147, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--sw-core-logic);
  border: 2px solid var(--sw-core-logic);
}

.btn--secondary:hover {
  background: var(--sw-core-logic);
  color: var(--sw-white);
}

.btn--accent {
  background: var(--sw-signal-orange);
  color: var(--sw-white);
  box-shadow: 0 4px 16px rgba(241, 133, 87, 0.3);
}

.btn--accent:hover {
  background: var(--sw-powerline-red);
  color: var(--sw-white);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.125rem;
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.feature-card {
  background: var(--sw-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border: 1px solid rgba(25, 64, 147, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(25, 64, 147, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  background: #eef3fc;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--sw-core-logic);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon--orange {
  background: #fef0e7;
}

.feature-icon--orange svg {
  stroke: var(--sw-signal-orange);
}

.feature-card h3 {
  font-size: 1.125rem;
}

.feature-card p {
  font-size: 0.9375rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* --- Platform Badges --- */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  background: var(--sw-white);
  border: 1px solid rgba(25, 64, 147, 0.1);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--sw-deep-trust);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.platform-badge:hover {
  border-color: var(--sw-core-logic);
  transform: translateY(-2px);
}

.platform-badge svg {
  width: 20px;
  height: 20px;
}

/* --- Store Badges (Google Play / App Store) --- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-top: var(--spacing-sm);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease, opacity 0.2s ease;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.store-badge img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.store-badge img[alt*="App Store"] {
  height: 48px;
}

.store-badge img[alt*="Google Play"] {
  height: 64px;
}

/* --- Privacy/Trust Banner --- */
.trust-banner {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: #eef3fc;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--sw-core-logic);
}

.trust-banner-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--sw-core-logic);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-banner-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--sw-white);
  fill: none;
  stroke-width: 2;
}

/* --- Download Section --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

/* Platform Selector Tabs (Download Page) */
.platform-tabs {
  display: flex;
  gap: var(--spacing-xs);
  justify-content: center;
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(25, 64, 147, 0.15);
  background: var(--sw-white);
  color: var(--sw-deep-trust);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.platform-tab svg {
  flex-shrink: 0;
}

.platform-tab:hover {
  border-color: var(--sw-core-logic);
}

.platform-tab.active {
  background: var(--sw-core-logic);
  border-color: var(--sw-core-logic);
  color: var(--sw-white);
}

.platform-panel {
  display: none;
}

.platform-panel.active {
  display: block;
}

.download-formats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.download-format-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--sw-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(25, 64, 147, 0.08);
  flex-wrap: wrap;
}

.download-format-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.download-format-name {
  font-weight: 600;
  font-size: 0.9375rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.download-format-meta {
  font-size: 0.8125rem;
  color: rgba(33, 38, 78, 0.6);
}

.download-format-checksum {
  font-size: 0.75rem;
  font-family: monospace;
  color: rgba(33, 38, 78, 0.5);
  word-break: break-all;
  max-width: 100%;
}

.download-card {
  background: var(--sw-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border: 1px solid rgba(25, 64, 147, 0.08);
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.download-card:hover {
  box-shadow: 0 8px 32px rgba(25, 64, 147, 0.1);
}

.download-card h3 {
  margin-bottom: var(--spacing-xs);
}

.download-card .meta {
  font-size: 0.8125rem;
  opacity: 0.6;
  margin-bottom: var(--spacing-sm);
}

.download-card .btn {
  width: 100%;
  justify-content: center;
}

/* --- Keyboard Shortcuts Table --- */
.shortcuts-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-md);
}

.shortcuts-table th,
.shortcuts-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(25, 64, 147, 0.08);
  font-size: 0.9375rem;
}

.shortcuts-table th {
  font-weight: 700;
  color: var(--sw-core-logic);
  background: #f4f7fb;
}

.shortcuts-table kbd {
  display: inline-block;
  padding: 3px 8px;
  background: #f4f7fb;
  border: 1px solid rgba(25, 64, 147, 0.15);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* --- Changelog --- */
.changelog-entry {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(25, 64, 147, 0.08);
}

.changelog-entry:last-child {
  border-bottom: none;
}

.changelog-version {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.changelog-date {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-bottom: var(--spacing-sm);
}

.changelog-category {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: var(--spacing-sm) 0 var(--spacing-xs);
  color: var(--sw-core-logic);
}

.changelog-list li {
  padding: 4px 0;
  font-size: 0.9375rem;
  padding-left: var(--spacing-sm);
  position: relative;
}

.changelog-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sw-signal-orange);
  font-weight: 700;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid rgba(25, 64, 147, 0.08);
  padding: var(--spacing-sm) 0;
}

.faq-question {
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) 0;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--sw-core-logic);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--spacing-sm);
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(25, 64, 147, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--sw-text);
  background: var(--sw-white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sw-core-logic);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

/* Honeypot — für Bots unsichtbar versteckt */
.form-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Formular-Status-Meldung */
.form-status {
  margin-bottom: var(--spacing-sm);
  padding: 0;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: padding 0.2s ease, opacity 0.2s ease;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  display: block;
  padding: 12px 16px;
  background: rgba(34, 139, 34, 0.08);
  color: #1a6e1a;
  border: 1px solid rgba(34, 139, 34, 0.2);
}

.form-status.error {
  display: block;
  padding: 12px 16px;
  background: rgba(227, 97, 80, 0.08);
  color: var(--sw-fire);
  border: 1px solid rgba(227, 97, 80, 0.2);
}

/* Lade-Zustand für Submit-Button */
button[type="submit"].loading {
  opacity: 0.6;
  pointer-events: none;
  cursor: wait;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-md) 0;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(25, 64, 147, 0.08);
}

.comparison-table th {
  background: #f4f7fb;
  font-weight: 700;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table .check {
  color: var(--sw-core-logic);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--sw-powerline-red);
  opacity: 0.5;
}

/* --- Footer --- */
.site-footer {
  background: var(--sw-deep-trust);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sw-white);
  margin-bottom: var(--spacing-sm);
}

.footer-brand img {
  height: 32px;
  width: 32px;
}

.site-footer h4 {
  color: var(--sw-white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--spacing-sm);
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--sw-bright-code);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--sw-bright-code);
}

.footer-bottom a {
  font-size: 0.8125rem;
}

/* --- Page Header (Subpages) --- */
.page-header {
  padding: var(--spacing-lg) 0;
  background: #f4f7fb;
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--spacing-xs);
}

.page-header .subtitle {
  margin-bottom: 0;
}

/* --- Performance Stats --- */
.perf-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.perf-stat {
  flex: 1 1 140px;
  max-width: 200px;
  text-align: center;
  padding: var(--spacing-md);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.perf-stat__value {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--sw-core-logic);
  line-height: 1.1;
  white-space: nowrap;
}

.perf-stat__label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .perf-stats {
    gap: var(--spacing-sm);
  }

  .perf-stat {
    flex: 1 1 calc(50% - var(--spacing-sm));
    max-width: none;
    padding: var(--spacing-sm);
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--sw-white);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    border-bottom: 1px solid rgba(25, 64, 147, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* Inline Grid-Overrides für Mobile */
  .features-grid[style*="repeat(2"],
  .features-grid[style*="repeat(3"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  .hero {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .btn--large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .perf-stat {
    flex: 1 1 100%;
    max-width: none;
  }

  /* Platform-Tabs kompakter */
  .platform-tab {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  /* Download-Buttons volle Breite */
  .download-format-row {
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
  }

  .download-format-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
