// styles.css
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #050509;
  color: #f5f5f7;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-hero {
  padding: 96px 0 72px;
}

.section-contrast {
  background: radial-gradient(circle at top, #191927 0, #050509 60%);
}

.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-header h2 {
  margin-bottom: 8px;
}

/* Typography */

h1, h2, h3, h4 {
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 12px;
}

.lead {
  font-size: 1.05rem;
  max-width: 40rem;
  color: #d0d0d6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #ff7a00;
  margin-bottom: 12px;
}

/* Links & Buttons */

a {
  color: #ff7a00;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a00, #ffb347);
  color: #050509;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #ff8f26, #ffd28a);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: #3a3a46;
  color: #f5f5f7;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #14141e;
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 5, 9, 0.96), rgba(5, 5, 9, 0.75), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: auto;
}

.brand-text {
  font-weight: 600;
  font-size: 1rem;
  color: #f5f5f7;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-size: 0.9rem;
  color: #e5e5ea;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.nav-cta {
  padding-inline: 18px;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #34343e;
  background: rgba(10, 10, 16, 0.9);
  cursor: pointer;
}

.nav-toggle-bar {
  height: 2px;
  width: 18px;
  background: #f5f5f7;
  border-radius: 999px;
}

/* Hero */

.section-hero.hero-with-video {
  position: relative;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.45);
}

/* Text etwas vom Rand weg und max-Breite setzen */
.hero-with-video .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: flex-start;
}

.hero-with-video .hero-text {
  max-width: 640px;
  padding-right: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-text {
  padding-right: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 16px;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #c2c2cc;
  font-size: 0.9rem;
}

.hero-highlights li::before {
  content: "• ";
  color: #ff7a00;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top, #252538, #101018 64%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image-wrap img {
  display: block;
}

.hero-sub {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, #111119, #080810);
}

.hero-sub-text h2 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.hero-sub-text p {
  font-size: 0.85rem;
  color: #c7c7d1;
}

/* Two-column layout */

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

/* Cards & grids */

.features-grid,
.usecase-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.usecase-card,
.kpi-card,
.specs-row,
.gallery-item,
.faq-item,
.contact-form {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, #111119, #07070f);
  padding: 18px 18px 16px;
}

.feature-card p,
.usecase-card p {
  color: #c1c1cc;
  font-size: 0.9rem;
}

.bullet-list,
.check-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #c2c2cf;
  font-size: 0.95rem;
}

.check-list li::marker {
  color: #ff7a00;
}

/* Specs */

.specs-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.specs-row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 10px;
}

.specs-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
}

.specs-value {
  font-size: 0.9rem;
  color: #d0d0da;
}

.specs-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #d0d0da;
}

/* Benefits */

.benefits-highlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.kpi-card {
  text-align: left;
}

.kpi-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9e9eab;
  margin-bottom: 4px;
}

.kpi-value {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

/* Gallery */

.gallery-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gallery-item {
  padding: 0;
  overflow: hidden;
  background: #111119;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  background: linear-gradient(135deg, #101018, #050509);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: #ff7a00;
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: #cfcfd9;
}

/* Contact */

.section-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-meta {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.9rem;
  color: #d4d4de;
}

.contact-meta li + li {
  margin-top: 4px;
}

.contact-note {
  font-size: 0.85rem;
  color: #a5a5b3;
}

.contact-form {
  padding: 20px 18px 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

label {
  font-size: 0.85rem;
  color: #d3d3dd;
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid #34343f;
  background: rgba(10, 10, 16, 0.9);
  padding: 10px 12px;
  color: #f5f5f7;
  font-size: 0.95rem;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ff7a00;
  outline-offset: 1px;
}

textarea {
  resize: vertical;
}

.checkbox-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-bottom: 24px;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.footer-left,
.footer-right {
  white-space: normal;
  font-size: 0.8rem;
  color: #a9a9b5;
}

.footer-links {
  display: flex;
  gap: 18px;
  padding: 4px 0 6px;
  font-size: 0.8rem;
}

.footer-links a {
  color: #c3c3cf;
}

/* Skip link */

.skip-link {
  position: absolute;
  left: 8px;
  top: -40px;
  background: #ff7a00;
  color: #050509;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 999;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 8px;
}

/* Focus styles */

a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffb347;
  outline-offset: 2px;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-text {
    padding-right: 0;
  }
  .hero-media {
    max-width: 520px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section,
  .section-hero {
    padding: 56px 0;
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .features-grid,
  .usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-highlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-sub {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(5, 5, 9, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 14px;
  }

  .site-nav li {
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .footer-bar {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .features-grid,
  .usecase-grid,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .specs-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
