/* ═══════════════════════════════════════════════════════
   WartungsPro – Shared Stylesheet
   Font: Sora (headings) + Source Sans 3 (body)
   Theme: Industrial precision · Navy + Electric Blue
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

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

:root {
  --navy:        #0F2342;
  --navy-mid:    #1E3A5F;
  --blue:        #1D6EE8;
  --blue-light:  #3B82F6;
  --blue-pale:   #EFF6FF;
  --green:       #16A34A;
  --green-pale:  #F0FDF4;
  --orange:      #EA580C;
  --orange-pale: #FFF7ED;
  --text:        #1E293B;
  --text-mid:    #475569;
  --text-light:  #94A3B8;
  --border:      #E2E8F0;
  --bg:          #FAFBFC;
  --white:       #FFFFFF;
  --radius:      12px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; line-height: 1.2; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: 'Sora', sans-serif;
  font-size: 20px; font-weight: 800;
  color: #fff; letter-spacing: -.3px;
}
.logo span { color: #60A5FA; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: #CBD5E1; font-size: 15px; font-weight: 600;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 8px 18px; border-radius: 8px;
  font-size: 14px !important;
  transition: background .15s !important;
}
.nav-cta:hover { background: #1558c0 !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 5px 0; border-radius: 2px;
  transition: .2s;
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: #07182E;
  color: #64748B;
  padding: 52px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Sora', sans-serif;
  font-size: 20px; font-weight: 800;
  color: #fff; margin-bottom: 10px;
}
.footer-brand span { color: #60A5FA; }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer-col h4 { color: #CBD5E1; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: #64748B; font-size: 14px; transition: color .15s; }
.footer-col ul li a:hover { color: #CBD5E1; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 20px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  font-size: 13px;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 15px; font-weight: 700;
  cursor: pointer; border: none;
  transition: transform .1s, box-shadow .15s, background .15s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(29,110,232,.3); }
.btn-primary:hover { background: #1558c0; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0a1a30; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #f0f6ff; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── BADGES ──────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
}
.badge-blue { background: rgba(96,165,250,.15); color: #93C5FD; border: 1px solid rgba(96,165,250,.25); }
.badge-green { background: var(--green-pale); color: var(--green); border: 1px solid #BBF7D0; }
.badge-orange { background: var(--orange-pale); color: var(--orange); border: 1px solid #FED7AA; }

/* ── SECTION ─────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800; color: var(--navy); line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-mid);
  max-width: 540px; line-height: 1.7;
}
.section-dark { background: var(--navy); }
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: #94A3B8; }
.section-gray { background: #F1F5F9; }

/* ── CARD ────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* ── CHECK LIST ──────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.check-list li::before {
  content: "✓"; color: var(--green); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

/* ── COMPARE TABLE ───────────────────────────────────── */
.compare-table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 32px;
}
.compare-table th {
  background: var(--navy); color: #fff;
  padding: 13px 16px; text-align: left;
  font-family: 'Sora', sans-serif; font-size: 13px;
}
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td {
  padding: 12px 16px; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #F8FAFC; }
.compare-table tr.highlight td { background: #EFF6FF !important; font-weight: 700; }
.compare-table .check { color: var(--green); }
.compare-table .cross { color: #DC2626; }

/* ── PRICING CARDS ───────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px; margin-top: 48px;
}
.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px; padding: 36px;
  position: relative;
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(29,110,232,.15);
}
.featured-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: #fff;
  padding: 4px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  white-space: nowrap; font-family: 'Sora', sans-serif;
}
.price-label { font-size: 12px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.price-amount { font-family: 'Sora', sans-serif; font-size: 54px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.price-amount sup { font-size: 24px; vertical-align: top; margin-top: 10px; }
.price-once { font-size: 14px; color: var(--green); font-weight: 700; margin-bottom: 20px; }
.price-desc { font-size: 15px; color: var(--text-mid); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; }
.price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.price-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── MODAL ───────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 1000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff; border-radius: 16px;
  padding: 40px; max-width: 520px; width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  position: relative;
  animation: modalIn .2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--text-light);
  line-height: 1;
}
.modal-close:hover { color: var(--text); }

/* ── SUCCESS STATE ───────────────────────────────────── */
.download-box {
  display: none;
  background: var(--green-pale);
  border: 2px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 32px; text-align: center;
  margin-top: 24px;
}
.download-box.show { display: block; }
.download-box h3 { color: var(--green); font-family: 'Sora', sans-serif; margin-bottom: 8px; }

/* ── LEGAL PAGES ─────────────────────────────────────── */
.legal-hero {
  background: var(--navy);
  padding: 60px 0 48px;
  color: #fff;
}
.legal-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.legal-hero p { color: #94A3B8; font-size: 15px; }
.legal-body { padding: 56px 0 80px; }
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--navy); margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-pale);
}
.legal-content h3 {
  font-family: 'Sora', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin: 28px 0 8px;
}
.legal-content p { margin-bottom: 14px; color: var(--text); font-size: 15px; line-height: 1.75; }
.legal-content ul { margin: 10px 0 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-content ul li { font-size: 15px; color: var(--text); line-height: 1.65; }
.legal-content .info-box {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px; margin: 20px 0;
  font-size: 14px; color: #1E40AF;
}
.legal-content .warn-box {
  background: #FFFBEB;
  border-left: 4px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px; margin: 20px 0;
  font-size: 14px; color: #92400E;
}
.legal-nav {
  position: sticky; top: 80px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.legal-nav h4 { font-size: 12px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.legal-nav ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.legal-nav ul li a { font-size: 13px; color: var(--text-mid); }
.legal-nav ul li a:hover { color: var(--blue); text-decoration: none; }
.legal-layout { display: grid; grid-template-columns: 1fr 220px; gap: 48px; align-items: start; }

/* ── NOTIFICATION ─────────────────────────────────────── */
.notification {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--navy); color: #fff;
  padding: 14px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0;
  transition: .3s ease; z-index: 500;
  max-width: 320px;
}
.notification.show { transform: translateY(0); opacity: 1; }
.notification.success { background: var(--green); }
.notification.error { background: #DC2626; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 60px 0 0 0;
    background: var(--navy); padding: 32px 24px;
    gap: 20px; z-index: 100;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { display: none; }
  .compare-table { font-size: 12px; }
  .compare-table td, .compare-table th { padding: 10px 8px; }
}

/* ═══════════════════════════════════════════════════════
   Screenshot Showcase
═══════════════════════════════════════════════════════ */
.screen-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 20px;
}
.screen-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.screen-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}
.screen-tab.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29,110,232,.25);
}
.tab-icon { font-size: 16px; }

/* Frame */
.screen-display { margin-top: 8px; }
.screen-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 0 #1D6EE8,
    0 8px 40px rgba(0,0,0,.15),
    inset 0 0 0 1px rgba(0,0,0,.08);
  background: #0F2342;
  position: relative;
}

/* Fake window chrome bar */
.screen-chrome {
  background: #1a2a3e;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.chrome-dots {
  display: flex;
  gap: 6px;
}
.chrome-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.chrome-dots span:nth-child(1) { background: #FF5F57; }
.chrome-dots span:nth-child(2) { background: #FFBD2E; }
.chrome-dots span:nth-child(3) { background: #28CA41; }
.chrome-title {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin: 0 auto;
}

/* Screenshot images */
.screen-img {
  display: none;
  line-height: 0;
}
.screen-img.active { display: block; }
.screen-img img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 540px;
  object-fit: cover;
  object-position: top left;
}

/* Caption bar */
.screen-caption {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.screen-caption.active { display: flex; }
.cap-icon { font-size: 22px; flex-shrink: 0; }

@media (max-width: 640px) {
  .screen-tabs { gap: 6px; }
  .screen-tab { padding: 8px 12px; font-size: 13px; }
  .tab-icon { display: none; }
}

/* ── LOGO IMAGE ──────────────────────────────────────── */
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ═══════════════════════════════════════════════════════
   Full-Width Video Section
═══════════════════════════════════════════════════════ */
.video-section {
  background: linear-gradient(180deg, #07182E 0%, #0F2342 100%);
  padding: 72px 0 64px;
}
.video-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.video-section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}
.video-section-header p {
  font-size: 17px;
  color: #94A3B8;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Video wrapper - full width with rounded corners */
.video-full-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0a1a2e;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 24px 80px rgba(0,0,0,.5);
  aspect-ratio: 16 / 9;
}

/* Placeholder */
.video-full-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
}
.vfp-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  color: #475569; text-align: center;
}
.vfp-play {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid #334155;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #475569;
}
.vfp-inner strong { color: #64748B; font-size: 16px; font-family: 'Sora', sans-serif; }
.vfp-inner span   { font-size: 13px; color: #334155; }
.vfp-inner code   { background: #1e2d3d; padding: 2px 8px; border-radius: 4px; font-size: 12px; color: #60A5FA; }

/* Footer badges */
.video-section-footer {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.vsf-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
}
.vsf-item span { color: #94A3B8; }

@media (max-width: 640px) {
  .video-section-footer { gap: 16px; flex-direction: column; align-items: center; }
  .video-full-wrap { border-radius: 10px; }
}
