/* ============================================================
   Sovereign IT – Custom Stylesheet
   ============================================================ */

:root {
  --navy:       #0f2644;
  --blue:       #1d6fa4;
  --accent:     #2563eb;
  --accent-hover: #1d4ed8;
  --red:        #dc2626;
  --light-blue: #eff6ff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --white:      #ffffff;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --radius:     10px;
  --radius-lg:  16px;
  --transition: all .18s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--gray-600); line-height: 1.75; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--gray-50); }

/* ── Navigation ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,38,68,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: 64px;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.navbar-logo {
  display: flex; align-items: center; gap: .6rem;
  color: var(--white); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em;
  text-decoration: none;
}
.navbar-logo svg { width: 28px; height: 28px; }
.navbar-logo span.dot { color: #60a5fa; }

.nav-links {
  display: flex; align-items: center; gap: .25rem; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.78); font-size: .875rem; font-weight: 500;
  padding: .4rem .7rem; border-radius: 6px;
  transition: var(--transition); text-decoration: none; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white); background: rgba(255,255,255,.10);
}

.nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: .45rem 1rem !important; border-radius: 6px !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 4px; cursor: pointer;
  background: none; border: none; padding: .4rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--navy); z-index: 999;
  padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: block; color: rgba(255,255,255,.85); font-size: .95rem;
  padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  text-decoration: none; transition: var(--transition);
}
.mobile-menu li a:hover { color: var(--white); }
.mobile-menu .nav-cta {
  margin-top: .75rem; display: inline-block;
  background: var(--accent); padding: .6rem 1.2rem;
  border-radius: 6px; color: var(--white); font-weight: 600;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .925rem; border-radius: 8px;
  padding: .75rem 1.6rem; cursor: pointer; transition: var(--transition);
  text-decoration: none; border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent); color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover); color: var(--white); transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white);
}
.btn-outline-dark {
  background: transparent; color: var(--navy);
  border-color: var(--gray-200);
}
.btn-outline-dark:hover {
  background: var(--light-blue); border-color: var(--accent); color: var(--accent);
}
.btn-lg { padding: .9rem 2.2rem; font-size: 1rem; }

/* ── Hero ── */
.hero {
  min-height: 560px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 55%, #1d6fa4 100%);
  padding: 7rem 0 4rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p   { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  font-size: .8rem; font-weight: 600; padding: .35rem .85rem;
  border-radius: 20px; margin-bottom: 1rem; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  max-width: 360px;
}
.hero-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 1.25rem; text-align: center;
  backdrop-filter: blur(8px);
}
.hero-card .icon { font-size: 1.8rem; margin-bottom: .4rem; }
.hero-card p { color: rgba(255,255,255,.85); font-size: .8rem; margin: 0; font-weight: 500; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 100%);
  padding: 6rem 0 3.5rem; margin-top: 64px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.page-hero p  { color: rgba(255,255,255,.78); font-size: 1.1rem; max-width: 680px; }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  padding: 2rem; transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gray-200); }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--light-blue); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.card-icon.red   { background: #fef2f2; }
.card-icon.green { background: #f0fdf4; }
.card-icon.purple{ background: #faf5ff; }
.card-icon.orange{ background: #fff7ed; }

.card h3 { margin-bottom: .5rem; }
.card p  { font-size: .925rem; }

/* ── Grid layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ── Section headers ── */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-label {
  display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin-bottom: .6rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { font-size: 1.05rem; }

/* ── Badge / Tag ── */
.badge {
  display: inline-block; font-size: .75rem; font-weight: 600;
  padding: .2rem .7rem; border-radius: 20px; background: var(--light-blue); color: var(--accent);
}
.badge-green  { background: #f0fdf4; color: #16a34a; }
.badge-orange { background: #fff7ed; color: #ea580c; }
.badge-red    { background: #fef2f2; color: #dc2626; }

/* ── Comparison Table ── */
.comparison-table {
  width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.comparison-table thead tr { background: var(--navy); }
.comparison-table thead th {
  color: var(--white); padding: 1rem 1.25rem; text-align: left; font-size: .9rem; font-weight: 600;
}
.comparison-table tbody tr { border-bottom: 1px solid var(--gray-200); }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--gray-50); }
.comparison-table td { padding: .9rem 1.25rem; font-size: .9rem; color: var(--gray-600); }
.comparison-table td:first-child { font-weight: 600; color: var(--gray-800); }
.check { color: #16a34a; font-size: 1.1rem; }
.cross { color: #dc2626; font-size: 1.1rem; }

/* ── Defense layers ── */
.defense-layer {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; border-radius: var(--radius); margin-bottom: .75rem;
  background: var(--white); border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.defense-layer-num {
  min-width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .875rem;
}
.defense-layer h4 { margin-bottom: .2rem; }
.defense-layer p  { font-size: .875rem; margin: 0; }

/* ── Process steps ── */
.steps { counter-reset: steps; }
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  min-width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.step h3 { margin-bottom: .35rem; }
.step p  { font-size: .9rem; margin: 0; }

/* ── Highlight box ── */
.highlight-box {
  background: linear-gradient(135deg, var(--light-blue), #dbeafe);
  border: 1px solid #bfdbfe; border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
}
.highlight-box h3 { color: var(--navy); }

/* ── Contact section ── */
.contact-section {
  background: linear-gradient(135deg, #0a1f3d 0%, #0f2644 45%, #1a3a6e 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(37,99,235,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 85% 20%, rgba(29,111,164,.15) 0%, transparent 70%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

/* Left col */
.contact-info-col { color: white; }
.contact-label { color: #93c5fd; border-color: rgba(147,197,253,.25); background: rgba(147,197,253,.08); }
.contact-heading { font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: white; line-height: 1.2; margin: .9rem 0 1.1rem; }
.contact-desc { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.7; max-width: 400px; }

.contact-meta { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-meta-item { display: flex; align-items: center; gap: 1rem; }
.contact-meta-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(37,99,235,.2); border: 1px solid rgba(37,99,235,.35);
  display: flex; align-items: center; justify-content: center;
  color: #93c5fd; flex-shrink: 0;
}
.contact-meta-label { font-size: .78rem; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.contact-meta-value { font-size: .95rem; color: rgba(255,255,255,.9); font-weight: 500; margin-top: .1rem; }

/* Right col — form card */
.contact-form-wrap {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2.75rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.15rem; }
.form-group label { color: rgba(255,255,255,.75); font-size: .8125rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }

/* Input wrapper with icon */
.input-wrap { position: relative; }
.input-icon {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.35); pointer-events: none; flex-shrink: 0;
}
.input-wrap input { padding-left: 2.6rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: white;
  font-size: .9375rem;
  font-family: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  background: rgba(37,99,235,.12);
  box-shadow: 0 0 0 3px rgba(37,99,235,.25);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,.2);
}
.form-group textarea { min-height: 130px; padding-left: 1rem; }

/* Error banner */
.cf-error-banner {
  background: rgba(248,113,113,.12);
  border: 1px solid rgba(248,113,113,.3);
  border-radius: 8px;
  padding: .7rem 1rem;
  color: #fca5a5;
  font-size: .875rem;
  margin-bottom: 1rem;
}

/* Submit button */
.cf-submit-btn {
  width: 100%;
  margin-top: .25rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  padding: .95rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(37,99,235,.4);
}
.cf-submit-btn:hover:not(:disabled) { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,99,235,.5); }
.cf-submit-btn:active:not(:disabled) { transform: translateY(0); }
.cf-submit-btn:disabled { opacity: .65; cursor: not-allowed; }

@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-spinner { animation: cf-spin .75s linear infinite; }

/* Success screen */
.cf-success-screen {
  text-align: center;
  padding: 2rem 1rem;
  color: white;
}
.cf-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(34,197,94,.15);
  border: 2px solid rgba(34,197,94,.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: #86efac;
}
.cf-success-screen h3 { color: white; font-size: 1.5rem; margin-bottom: .6rem; }
.cf-success-screen p { color: rgba(255,255,255,.7); font-size: 1rem; }
.cf-reset-btn {
  margin-top: 1.75rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
  border-radius: 8px;
  padding: .65rem 1.5rem;
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cf-reset-btn:hover { border-color: rgba(255,255,255,.55); color: white; }

/* Responsive */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-heading { font-size: 2rem; }
  .contact-desc { max-width: 100%; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem; }
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--gray-50); border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200); padding: 1.25rem 0;
}
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600; color: var(--gray-600);
}
.trust-item span.icon { font-size: 1.1rem; }

/* ── Feature list ── */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .4rem 0; font-size: .925rem; color: var(--gray-600);
}
.feature-list li::before {
  content: '✓'; color: #16a34a; font-weight: 700; margin-top: .05rem; flex-shrink: 0;
}

/* ── Pricing / Template cards ── */
.template-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200); padding: 2rem;
  transition: var(--transition); display: flex; flex-direction: column;
}
.template-card.featured {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}
.template-card:hover {
  border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-3px);
}
.template-card .featured-badge {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: .75rem; font-weight: 700; padding: .2rem .7rem;
  border-radius: 20px; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em;
}
.template-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.template-card .price {
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
  margin: .75rem 0;
}
.template-card .price small { font-size: .8rem; font-weight: 500; color: var(--gray-400); }
.template-card ul { flex: 1; margin-bottom: 1.5rem; }
.template-card .btn { width: 100%; justify-content: center; }

/* ── Stats ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1;
}
.stat-label { font-size: .875rem; color: var(--gray-600); margin-top: .25rem; }

/* ── Architecture diagram ── */
.arch-layer {
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: .5rem;
}
.arch-layer.l1 { background: #fef3c7; border: 1px solid #fbbf24; }
.arch-layer.l2 { background: #dbeafe; border: 1px solid #93c5fd; }
.arch-layer.l3 { background: #dcfce7; border: 1px solid #86efac; }
.arch-layer.l4 { background: #f3e8ff; border: 1px solid #c084fc; }
.arch-layer h4 { font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.arch-layer .services {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.service-tag {
  background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.1);
  border-radius: 6px; padding: .25rem .65rem; font-size: .8rem; font-weight: 500;
}

/* ── Footer ── */
footer {
  background: var(--navy); color: rgba(255,255,255,.65); padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; margin-top: .75rem; line-height: 1.7; max-width: 260px; }
footer h4 { color: var(--white); font-size: .9rem; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: .5rem; }
footer ul li a { color: rgba(255,255,255,.6); font-size: .875rem; transition: var(--transition); }
footer ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .8rem;
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-page { margin-top: 64px; }
.gap-sm { gap: .75rem; }

/* ── Demo-Werkzeuge ──────────────────────────────────────── */
.demo-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem;
}
.demo-tab {
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: 8px; padding: .55rem 1.1rem;
  font-size: .875rem; font-weight: 600; color: var(--gray-600);
  cursor: pointer; transition: var(--transition); font-family: inherit;
  white-space: nowrap;
}
.demo-tab:hover { border-color: var(--accent); color: var(--accent); }
.demo-tab.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

.demo-panel  { display: none; }
.demo-panel.active { display: block; }

.demo-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); padding: 2rem;
}
.demo-card-header {
  margin-bottom: 1.75rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.demo-card-header h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.demo-card-header p  { font-size: .9rem; margin: 0; }

.demo-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.demo-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* Checkliste */
.checklist { list-style: none; }
.checklist-item {
  display: flex; align-items: center; gap: .9rem;
  padding: .7rem .9rem; margin-bottom: .45rem;
  background: var(--gray-50); border-radius: 8px;
  border: 1px solid var(--gray-200); cursor: pointer;
  transition: var(--transition); user-select: none;
}
.checklist-item:hover { border-color: var(--accent); background: var(--light-blue); }
.checklist-item.checked { background: #f0fdf4; border-color: #86efac; }
.checklist-item input[type="checkbox"] {
  width: 17px; height: 17px; cursor: pointer;
  accent-color: var(--accent); flex-shrink: 0;
}
.checklist-item label {
  font-size: .875rem; color: var(--gray-800); cursor: pointer; line-height: 1.4;
}

/* Score-Anzeige */
.score-display {
  text-align: center; padding: 1.5rem;
  background: var(--gray-50); border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200); margin-bottom: 1.25rem;
}
.score-number { font-size: 3.25rem; font-weight: 800; line-height: 1; color: var(--navy); }
.score-bar-wrap {
  background: var(--gray-200); border-radius: 20px;
  height: 10px; margin: .75rem 0; overflow: hidden;
}
.score-bar { height: 100%; border-radius: 20px; transition: width .6s ease; background: var(--gray-200); }
.score-bar.critical { background: #dc2626; }
.score-bar.warning  { background: #ea580c; }
.score-bar.medium   { background: #ca8a04; }
.score-bar.good     { background: #16a34a; }

/* Risiko-Badges */
.risk-badge {
  display: inline-block; font-size: .85rem; font-weight: 700;
  padding: .3rem .9rem; border-radius: 20px;
}
.risk-critical { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.risk-warning  { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.risk-medium   { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }
.risk-good     { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* Formularfelder */
.demo-field { margin-bottom: 1.1rem; }
.demo-label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--gray-800); margin-bottom: .4rem;
}
.demo-select {
  width: 100%; padding: .6rem .9rem; border-radius: 8px;
  border: 2px solid var(--gray-200); font-size: .875rem;
  font-family: inherit; color: var(--gray-800); background: var(--white);
  transition: var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center;
  -webkit-appearance: none; appearance: none; padding-right: 2.2rem;
}
.demo-select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* Ergebnis-Panel */
.demo-result {
  display: none; padding: 1.5rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--light-blue), #dbeafe);
  border: 1px solid #bfdbfe; margin-top: 1.5rem;
}
.demo-result.visible { display: block; }
.demo-result h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: .75rem; }

/* Empfehlungs-Karte */
.rec-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
.rec-card:last-child { margin-bottom: 0; }
.rec-card h5 { font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.rec-card p  { font-size: .85rem; margin-bottom: .6rem; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.tag {
  display: inline-block; background: var(--light-blue); color: var(--accent);
  font-size: .78rem; font-weight: 600; padding: .22rem .7rem;
  border-radius: 20px; border: 1px solid #bfdbfe;
}
.tag.green  { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.tag.orange { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.tag.purple { background: #faf5ff; color: #7c3aed; border-color: #e9d5ff; }
.tag.red    { background: #fef2f2; color: #dc2626; border-color: #fecaca; }

/* Ergebnis-Listen */
.result-items { list-style: none; }
.result-items li {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: .875rem; color: var(--gray-800); padding: .28rem 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.result-items li:last-child { border-bottom: none; }
.result-items li::before {
  content: '→'; color: var(--accent); font-weight: 700;
  flex-shrink: 0; margin-top: .05rem;
}

/* Deploy-Grid */
.deploy-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem;
}

/* Demo-CTA */
.demo-cta-box {
  margin-top: 2.5rem; text-align: center;
  background: linear-gradient(135deg, var(--navy), #1a4a7a);
  border-radius: var(--radius-lg); padding: 2rem 2.5rem;
}
.demo-cta-box p {
  color: rgba(255,255,255,.78); margin-bottom: 1.25rem;
  max-width: 650px; margin-left: auto; margin-right: auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .grid-2, .grid-3, .grid-hero { grid-template-columns: 1fr; }
  .demo-two-col, .deploy-grid { grid-template-columns: 1fr; }
  .demo-tab { font-size: .8rem; padding: .45rem .8rem; }
  .hero { padding: 6rem 0 3rem; }
  .hero-visual { margin-top: 2rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .trust-items { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .grid-4, .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
