/* ============================================
   Meeting Brandschutzsysteme GmbH
   Modernes SaaS-Design
   ============================================ */

:root {
  --color-primary: #0F2A47;
  --color-primary-light: #1E3A5F;
  --color-accent: #E63946;
  --color-accent-light: #F77F87;
  --color-brand: #E63946;
  --color-brand-dark: #C5283D;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-dark: #0A1929;
  --color-text: #1A2332;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-success: #10B981;
  --shadow-sm: 0 1px 2px rgba(15, 42, 71, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 42, 71, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 42, 71, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  line-height: 1.65;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: #C5283D;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #0F2A47 0%, #1A3A6B 100%);
  color: white;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 57, 70, 0.15);
  color: #FCA5A5;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--color-accent-light);
}

.hero-text {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: white;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.hero-visual h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist {
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.checklist li:last-child {
  border-bottom: none;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  margin-top: 1px;
}

/* ============ SECTIONS ============ */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 18px;
  color: var(--color-text-muted);
}

/* ============ FEATURE CARDS ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #FEE2E4 0%, #FCA5A5 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 19px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ BRAND (INSPECTMOBIL) ============ */
.brand-accent {
  color: var(--color-brand);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.brand-mark-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 26px;
  letter-spacing: 1px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.brand-lockup-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.service-note {
  margin-top: 44px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
}

.service-note strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* ============ INFO BLOCKS ============ */
.info-block {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.info-block h3 {
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-block h3::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 2px;
}

.info-block p {
  color: var(--color-text);
  margin-bottom: 12px;
}

.info-block ul {
  margin: 16px 0 0 20px;
  color: var(--color-text-muted);
}

.info-block ul li {
  margin-bottom: 8px;
}

/* ============ TABLE ============ */
.table-wrap {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin: 32px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: var(--color-bg-alt);
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
}

td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--color-bg-alt);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.badge-blue {
  background: #DBEAFE;
  color: #1E40AF;
}

.badge-red {
  background: #FEE2E2;
  color: #B91C1C;
}

.badge-green {
  background: #D1FAE5;
  color: #065F46;
}

.badge-amber {
  background: #FEF3C7;
  color: #92400E;
}

.badge-purple {
  background: #EDE9FE;
  color: #5B21B6;
}

/* ============ DETAIL TABLE ============ */
.detail-table {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin: 32px 0;
}

.detail-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.detail-table th {
  background: var(--color-primary);
  color: white;
  text-align: left;
  padding: 14px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  border-bottom: none;
}

.detail-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.detail-table tr:last-child td {
  border-bottom: none;
}

.detail-table tr:hover td {
  background: var(--color-bg-alt);
}

.detail-table .row-group td {
  background: #F1F5F9;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 2px solid var(--color-primary);
}

.detail-table .col-interval {
  width: 18%;
  white-space: nowrap;
  font-weight: 600;
  color: var(--color-primary);
}

.detail-table .col-scope {
  width: 50%;
}

.detail-table .col-source {
  width: 22%;
  font-size: 13px;
  color: var(--color-text-muted);
}

.detail-table .col-actor {
  width: 18%;
}

.detail-table ul {
  margin: 0;
  padding-left: 18px;
}

.detail-table ul li {
  margin-bottom: 4px;
}

.detail-table ul li:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .detail-table {
    overflow-x: auto;
  }
  .detail-table table {
    min-width: 720px;
  }
}

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  border-radius: var(--radius);
  padding: 64px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
}

.cta-section > * {
  position: relative;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FORM ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: var(--color-primary);
  color: white;
  padding: 40px;
  border-radius: var(--radius);
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(230, 57, 70, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 16px;
  color: white;
  font-weight: 500;
}

.form {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

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

.form-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer ul {
  list-style: none;
}

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

.footer ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  padding: 80px 0 64px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: white;
}

/* ============ CONTENT BLOCKS ============ */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}

.law-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--color-accent);
}

.law-card .law-tag {
  display: inline-block;
  background: #FEE2E2;
  color: var(--color-accent);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.law-card h4 {
  color: var(--color-primary);
  font-size: 17px;
  margin-bottom: 8px;
}

.law-card p {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* ============ TIMELINE ============ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.process-step {
  text-align: center;
  padding: 24px;
}

.process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #C5283D 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.process-step h4 {
  color: var(--color-primary);
  font-size: 17px;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

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

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .section {
    padding: 64px 0;
  }

  .cta-section {
    padding: 40px 24px;
  }

  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
  }
}
