*{ box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --blue: #1d4ed8;
    --dark: #0b0b0f;
    --text: #111111;
    --muted: #4b5563;
    --line: #e5e7eb;
    --white: #ffffff;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
.navbar {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--dark);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1rem;
}
.nav-links {
    display: flex;
    gap: 28px;
    color: #111827;
    font-weight: 600;
}
.nav-links a:hover { color: var(--blue); }
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 88px 24px 64px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.eyebrow {
    color: var(--blue);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    color: var(--dark);
    margin-bottom: 18px;
    font-weight: 900;
}
.hero h1 .blue { color: var(--blue); }
.hero .slogan {
    font-size: clamp(1.1rem, 2.6vw, 1.8rem);
    color: var(--muted);
    margin-bottom: 28px;
    font-style: italic;
}
.hero p {
    max-width: 580px;
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn {
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 700;
    transition: 0.2s ease;
}
.btn-primary {
    background: var(--blue);
    color: white;
}
.btn-primary:hover { background: #163eb0; }
.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid #d1d5db;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.hero-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.helmet-wrap {
    height: 420px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0b0b0f 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 18px;
}
.helmet-wrap img {
    width: 82%;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,0.35));
}
.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.card-text {
    color: var(--muted);
}
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 90px;
}
.section-header {
    margin-bottom: 28px;
    margin-left: 20px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 10px;
}
.section-header p { color: var(--muted); max-width: 700px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-left: 20px;
    margin-right: 20px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    transition: 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 36px rgba(29,78,216,0.08);
}
.feature-card img {
    display: block;      
    margin: 0 auto;       
    max-width: 100%; 
    padding-bottom: 30px;
    padding-top: 30px;
}
.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}
.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: var(--dark);
}
.feature-card p { color: var(--muted); }
.cta {
    margin-top: 70px;
    background: var(--dark);
    color: white;
    border-radius: 32px;
    padding: 48px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cta h3 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.cta p { color: #d1d5db; max-width: 620px; }
.footer {
    border-top: 1px solid var(--line);
    padding: 24px;
    text-align: center;
    color: var(--muted);
}
.footer-links {
    margin-top: 10px;
    font-size: 0.9rem;
}

.g-blue {
    color: #1d4ed8;
}
.brand-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #0b0b0f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 2px;
}
.about-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px 60px 15px 0;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-box {
  flex: 0 0 720px;
  height: 520px;
  background: linear-gradient(135deg, #0b0b0f, #2563eb);
  border-radius: 30px;
  overflow: hidden;
}

.about-box img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
}


.qr-section {
  background: linear-gradient(135deg, #0b0b0f, #1d4ed8);;
  color: white;
  padding: 80px 20px;
  .qr-section p {
  color: #e5e7eb;
}

  display: flex;
  flex-direction: column;   /* 🔥 ALLES UNTEREINANDER */
  align-items: center;
  text-align: center;

  gap: 25px; /* 🔥 Abstand zwischen allem */
}

.qr-section h2 {
  font-size: 50px;
  font-weight: 800;
}

.qr-section p {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.6;
}

.qr-section img {
  width: 250px;
  border-radius: 12px;
}

.bottom-text {
  color: #aaa;
}

.section {
  margin-bottom: 60px;
}


.prototype-box {
  flex: 1;
  min-width: 0;
}

.prototype-box h2,
.prototype-box p {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

#3d-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#3d-container:active {
  cursor: grabbing;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Karussell Dots */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 8px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.dot.active { background: var(--blue); }

@media (max-width: 950px) {
    .hero { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .hero-copy { text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
  /* Nav: Hamburger einblenden, Links als Dropdown */
  .hamburger { display: flex; }
  .nav-inner { flex-direction: row; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
    gap: 0;
  }
  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links.open { display: flex; }

  /* Hero */
  .hero { padding: 48px 16px 32px; }
  .helmet-wrap { height: 300px; }

  /* About: Reihenfolge umkehren – Text zuerst, dann 3D-Modell */
  .about-section {
    flex-direction: column;
    padding: 40px 16px;
    gap: 32px;
  }
  .prototype-box { order: -1; }
  .about-box { order: 1; flex: none; width: 100%; height: 320px; }

  /* Feature-Grid als Karussell */
  .feature-grid {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 4px 20px 16px;
    margin-left: 0;
    margin-right: 0;
    scrollbar-width: none;
  }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature-grid .feature-card {
    flex: 0 0 calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    scroll-snap-align: center;
  }
  .carousel-dots { display: flex; }

  /* Section header */
  .section-header { margin-left: 16px; }

  /* Kontakt */
  .contact-box { padding: 28px 18px; }
  .qr-section { padding: 60px 16px; }
  .qr-section h2 { font-size: 2rem; }
}
.contact-section {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}

.contact-box {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-box h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-box p {
  color: var(--muted);
  margin-bottom: 30px;
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  margin-top: 10px;
}

.checkbox-group { margin-top: 4px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}
.link-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.link-btn:hover { color: #163eb0; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.modal-header h2 { font-size: 1.2rem; color: var(--dark); }
.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 0 4px;
}
.modal-close:hover { color: var(--dark); }
.modal-body {
  overflow-y: auto;
  padding: 24px 28px;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
}
.modal-body h1 { font-size: 1.3rem; margin-bottom: 16px; }
.modal-body h2 { font-size: 1.1rem; margin: 20px 0 8px; color: var(--dark); }
.modal-body h3 { font-size: 1rem; margin: 16px 0 6px; color: var(--dark); }
.modal-body h4 { font-size: 0.95rem; margin: 12px 0 4px; }
.modal-body p, .modal-body li { color: var(--muted); margin-bottom: 8px; }
.modal-body ul { padding-left: 20px; }
.modal-body a { color: var(--blue); }
.modal-footer {
  padding: 16px 28px 20px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  text-align: right;
}