/* =====================================================
   KFZ-Tiny – styles.css
   Mobile-first. Breakpoints: 640px / 1024px
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── Variablen ── */
:root {
  --accent:       #00BFBF;
  --accent-hover: #00d9d9;
  --accent-dim:   rgba(0,191,191,.12);
  --bg:           #141414;
  --bg-2:         #1a1a1a;
  --card:         #1f1f1f;
  --card-border:  #2a2a2a;
  --text:         #e8e8e8;
  --muted:        #888;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 8px 32px rgba(0,0,0,.45);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; padding: 0; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20,20,20,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img { width: 22px; height: 22px; }

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; }
.nav__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav links – mobile: dropdown */
.nav__links {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(18,18,18,.98);
  border-bottom: 1px solid var(--card-border);
  flex-direction: column;
  padding: 12px 18px 18px;
  gap: 4px;
}
.nav__links.nav__links--open { display: flex; }

.nav__link {
  color: var(--text);
  font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 16px;
}
.nav__link:last-of-type { border-bottom: none; }
.nav__link--active { color: var(--accent); }
.nav__link:hover { color: var(--accent); }

.nav__links .btn {
  margin-top: 10px;
  text-align: center;
  width: 100%;
  justify-content: center;
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav__toggle { display: none; }
  .nav__links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    gap: 6px;
  }
  .nav__link {
    padding: 8px 10px;
    border-bottom: none;
    font-size: 15px;
  }
  .nav__links .btn {
    margin-top: 0;
    width: auto;
  }
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { background: var(--accent-dim); color: var(--accent-hover); }
.btn:active { transform: scale(.98); }

.btn--fill {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.btn--fill:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0a0a0a;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: 10px;
}

.btn--block {
  width: 100%;
}

/* =====================================================
   CARDS
   ===================================================== */

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.card--accent { border-color: rgba(0,191,191,.4); }

/* =====================================================
   SECTIONS
   ===================================================== */

.section { padding: 52px 0; }
.section--alt { background: #111; }
.section--dark { background: #0e0e0e; }

.section__header { margin-bottom: 32px; }
.section__header h2 { font-size: clamp(22px, 5vw, 32px); font-weight: 700; margin-bottom: 10px; }
.section__header p { color: var(--muted); max-width: 600px; }

@media (min-width: 1024px) {
  .section { padding: 80px 0; }
}

/* =====================================================
   HERO (index.html)
   ===================================================== */

.hero {
  padding: 52px 0 44px;
  background:
    radial-gradient(ellipse 70% 50% at 100% -10%, rgba(0,191,191,.14), transparent),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0,191,191,.06), transparent);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,191,191,.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero__eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(28px, 7vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }

.hero__sub {
  color: var(--muted);
  font-size: clamp(15px, 3vw, 18px);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.hero__btns .btn { width: 100%; }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13px;
  color: var(--muted);
}
.hero__badge::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.hero__screenshot {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.hero__screenshot img {
  width: 100%;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}

@media (min-width: 768px) {
  .hero { padding: 72px 0 60px; }
  .hero__btns {
    flex-direction: row;
  }
  .hero__btns .btn { width: auto; }
}

@media (min-width: 1024px) {
  .hero { padding: 96px 0 80px; }
  .hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
  }
}

/* =====================================================
   USP / 3 GRÜNDE
   ===================================================== */

.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.usp-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 18px;
}
.usp-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
}
.usp-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.usp-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

@media (min-width: 640px) {
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .usp-card { flex-direction: column; }
}

/* =====================================================
   VERGLEICHSTABELLE
   ===================================================== */

.compare-section {
  background: #0d0d0d;
  padding: 52px 0;
}
@media (min-width: 1024px) { .compare-section { padding: 80px 0; } }

.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}
.compare-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  background: var(--card);
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  background: rgba(0,0,0,.4);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.compare-table thead th:nth-child(2) { color: var(--accent); }
.compare-table td:first-child { font-weight: 600; color: var(--text); }
.compare-table td:nth-child(2) { color: #cdf7f7; }
.compare-table td:nth-child(3) { color: var(--muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--accent); font-weight: 700; }
.compare-table .no  { color: #ff6b6b; }

@media (min-width: 768px) {
  .compare-table { font-size: 15px; }
  .compare-table th, .compare-table td { padding: 15px 20px; }
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
  padding: 56px 0;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,191,191,.08), transparent 70%);
}
.cta-section h2 { font-size: clamp(22px, 5vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-section p { color: var(--muted); margin-bottom: 28px; font-size: 16px; }
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 380px;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .cta-btns { flex-direction: row; justify-content: center; }
  .cta-btns .btn { flex: 1; }
}

/* =====================================================
   FEATURE TAGS
   ===================================================== */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--accent-dim);
  color: #9ff3f3;
  border: 1px solid rgba(0,191,191,.25);
}

/* =====================================================
   FEATURE GRID (funktionen.html)
   ===================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.feature-card {
  padding: 22px 20px;
  border-radius: var(--radius);
}
.feature-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.55; }
.feature-card ul { padding: 0; }
.feature-card ul li {
  font-size: 14px;
  color: #bbb;
  padding: 4px 0 4px 18px;
  position: relative;
}
.feature-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
.benefit-card {
  padding: 20px;
  border-left: 3px solid var(--accent);
  background: rgba(0,191,191,.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.benefit-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.benefit-card p { font-size: 14px; color: var(--muted); }

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   PRICING (lizenz.html)
   ===================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.price-card {
  border-radius: var(--radius);
  overflow: hidden;
}
.price-card--featured {
  border: 1.5px solid rgba(0,191,191,.5);
  box-shadow: 0 0 40px rgba(0,191,191,.08);
}
.price-card__header {
  background: rgba(0,191,191,.08);
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--card-border);
}
.price-card__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--accent);
  margin-bottom: 6px;
}
.price-card__amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin: 8px 0 4px;
}
.price-card__amount sup { font-size: 20px; vertical-align: super; }
.price-card__period { font-size: 14px; color: var(--muted); }
.price-card__body { padding: 22px 24px; }
.price-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.price-card__features li {
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card__features li:last-child { border-bottom: none; }
.price-card__features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Order form */
.order-form { margin-top: 36px; }
.order-form h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.order-form .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.form__row { margin-bottom: 18px; }
.form__row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form__row input,
.form__row textarea,
.form__row select {
  width: 100%;
  padding: 13px 14px;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form__row input:focus,
.form__row textarea:focus,
.form__row select:focus {
  outline: none;
  border-color: var(--accent);
}
.form__row input::placeholder,
.form__row textarea::placeholder { color: #555; }

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}
.form__note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

@media (min-width: 1024px) {
  .pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: flex-start;
  }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   DOWNLOAD
   ===================================================== */

.dl-hero { margin-bottom: 36px; }
.dl-hero h1 { font-size: clamp(26px, 6vw, 44px); font-weight: 800; margin-bottom: 12px; }
.dl-hero p { color: var(--muted); font-size: 16px; max-width: 520px; }

.dl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.dl-badge {
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(0,191,191,.1);
  color: #8ff5f5;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(0,191,191,.2);
}

.dl-main-card {
  border: 1.5px solid rgba(0,191,191,.4);
  box-shadow: 0 0 32px rgba(0,191,191,.07);
  margin-bottom: 16px;
}
.dl-main-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.dl-main-card .chip {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,.07);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.dl-main-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
}
.dl-main-card ul li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 15px;
  color: #ccc;
}
.dl-main-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.dl-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.dl-step {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}
.dl-step__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.dl-step p { font-size: 14px; color: var(--muted); }

.dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .dl-grid { grid-template-columns: 1.3fr 1fr; }
}

.changelog-card { padding: 24px 20px; }
.changelog-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.changelog-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.changelog-list { list-style: none; padding: 0; }
.changelog-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.changelog-list li:last-child { border-bottom: none; }
.changelog-list strong { display: block; font-size: 15px; margin-bottom: 3px; }
.changelog-list p { font-size: 13px; color: var(--muted); }

.version-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .version-grid { grid-template-columns: repeat(2, 1fr); }
}
.version-card { padding: 20px; }
.version-card h3 {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.version-card .date { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.version-card ul { padding: 0; }
.version-card ul li {
  font-size: 14px;
  color: #bbb;
  padding: 4px 0 4px 16px;
  position: relative;
}
.version-card ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
}
.badge--new {
  background: var(--accent);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

/* =====================================================
   SUPPORT
   ===================================================== */

.support-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}
@media (min-width: 900px) {
  .support-layout { grid-template-columns: 1.2fr 1fr; align-items: flex-start; }
}

.support-card { padding: 24px 20px; }
.support-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.support-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

#support-status {
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  padding: 16px 18px;
  background: var(--card);
  border: none;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item__q:hover { background: #252525; }
.faq-arrow {
  color: var(--accent);
  font-size: 18px;
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-item__a {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  background: var(--card);
}
.faq-item.open .faq-item__a { display: block; }

/* =====================================================
   LIGHTBOX
   ===================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 16px;
}
.lightbox--visible { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0,0,0,.8);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  background: #0d0d0d;
  border-top: 1px solid var(--card-border);
  padding: 28px 0;
}
.foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.foot__left {
  font-size: 14px;
  color: var(--muted);
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}
.foot__links a {
  font-size: 14px;
  color: var(--muted);
}
.foot__links a:hover { color: var(--accent); }

@media (min-width: 640px) {
  .foot { flex-direction: row; justify-content: space-between; text-align: left; }
  .foot__links { justify-content: flex-end; }
}

/* =====================================================
   UTILS
   ===================================================== */

.muted { color: var(--muted); }
.small { font-size: 13px; }
.text-accent { color: var(--accent); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
