/**
 * OCM Landing Page - Section Styles
 * 
 * Hero, Cards, Steps, Features, Footer und allgemeine Section-Styles
 */

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: 34px;
  margin: 0 0 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section p {
  color: var(--text);
  line-height: 1.6;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  padding: 64px 0;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.25;
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p.lead {
  font-size: 20px;
  color: var(--muted);
  font-weight: 500;
}

.hero p.description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(15, 107, 77, 0.08);
  margin: 20px 0;
}

.badgebar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.badge {
  background: linear-gradient(135deg, var(--border), #f0f8f5);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  border: 1px solid var(--border);
}

.btns {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.btn.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn.primary.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(225, 119, 10, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(225, 119, 10, 0);
  }
}

/* Grid und Cards */
.grid {
  display: grid;
  gap: 16px;
}

.grid.benefits {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 18px;
  max-width: 100%;
}

@media (min-width: 901px) {
  .grid.benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand), var(--orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 107, 77, 0.12);
  border-color: var(--orange);
}

.card:hover::before {
  opacity: 1;
}

.card .icon {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--brand);
  transition: all 0.3s ease;
}

.card:hover .icon {
  transform: scale(1.05);
  color: var(--orange);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(15, 107, 77, 0.04);
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 107, 77, 0.1);
  border-color: var(--accent);
}

.step:hover::before {
  opacity: 1;
}

.step .step-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 16px;
}

.step strong {
  display: block;
  color: var(--brand);
  font-size: 17px;
  margin-bottom: 10px;
  font-weight: 600;
}

.step-note {
  background: linear-gradient(135deg, #fff3e6, var(--card));
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
  border-radius: 12px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
}

.step-note strong {
  color: var(--orange);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  border-left: 3px solid var(--accent);
}

.feature-item strong {
  color: var(--brand);
  display: block;
  margin-bottom: 6px;
}

/* Why Section */
.why-section {
  background: linear-gradient(135deg, #f0f8f5, var(--bg));
  padding: 40px 0;
}

.why-box {
  background: var(--card);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(15, 107, 77, 0.06);
}

.why-box h3 {
  color: var(--brand);
  font-size: 22px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-box h3 i {
  color: var(--accent);
  font-size: 28px;
}

.why-box p {
  line-height: 1.7;
  margin: 0;
}

.why-box strong {
  color: var(--brand);
}

/* Security Grid */
.security-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.security-grid .card {
  padding: 20px;
}

.security-grid .card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.security-grid .card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.security-grid .card p {
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}

/* Demo Section */
.demo-section {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.demo-section .container {
  position: relative;
  z-index: 1;
}

.demo-section h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 16px;
  text-align: center;
  background: none;
  -webkit-text-fill-color: inherit;
}

.demo-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.demo-box {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  margin: 32px auto 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.demo-box h3 {
  color: var(--brand);
  font-size: 24px;
  margin: 0 0 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.demo-box h3 i {
  color: var(--accent);
}

.demo-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
}

.demo-feature i {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
}

.demo-section .btns {
  justify-content: center;
  gap: 16px;
}

.demo-section .btn {
  font-size: 16px;
  padding: 14px 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.demo-section .btn.primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

.demo-section .btn.primary:hover {
  background: #c66508;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 119, 10, 0.4);
  text-decoration: none;
}

.demo-section .btn:not(.primary) {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.demo-section .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 768px) {
  .demo-features {
    grid-template-columns: 1fr;
  }
  .demo-section h2 {
    font-size: 28px;
  }
  .demo-box {
    padding: 30px 24px;
  }
}

/* Logo Ticker */
.logo-ticker-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card), #f0f8f5);
  padding: 20px 0;
  margin: 40px 0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(15, 107, 77, 0.08);
  border: 1px solid var(--border);
}

.logo-ticker-heading {
  text-align: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-disclaimer-trigger {
  cursor: help;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.logo-disclaimer-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.logo-ticker {
  display: flex;
  white-space: nowrap;
  position: relative;
}

.logo-item {
  display: inline-block;
  margin: 0 20px;
  transition: transform 0.3s ease;
  filter: grayscale(20%);
  opacity: 0.9;
}

.logo-item:hover {
  transform: scale(1.15);
  filter: grayscale(0%);
  opacity: 1;
}

.logo-item img {
  height: 100px;
  width: 100px;
  object-fit: contain;
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

/* Options */
.options {
  margin-top: 40px;
}

.options .kicker {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--orange);
}

.note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* Referenzen Grid */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.ref-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 16px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15, 107, 77, 0.14);
  border-color: var(--accent);
}

.ref-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 16px;
}

.ref-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ref-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ref-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
