
/* Base reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #111827;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f9fafb;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  margin: 0;
  color: #6b7280;
}

/* Skip link */

.skip-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.75rem;
  padding: 0.4rem 0.8rem;
  background: #111827;
  color: #f9fafb;
  border-radius: 999px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
}

/* Header / Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 251, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: transparent;
}


.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.brand-tagline {
  font-size: 0.78rem;
  color: #6b7280;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
  color: #4b5563;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #111827;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff;
  color: #111827;
}

.lang-switch .flag {
  letter-spacing: 0.05em;
}

.lang-switch:hover {
  border-color: #fb923c;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.3);
}

/* Hero */

.hero {
  padding: 3.25rem 0 3.75rem 0;
  background: radial-gradient(circle at top left, #fef3c7, transparent 55%),
              radial-gradient(circle at bottom right, #ffedd5, transparent 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f97316;
  margin-bottom: 0.7rem;
}

.hero-left h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0 0 0.75rem 0;
}

.hero-sub {
  margin: 0 0 0.75rem 0;
  color: #4b5563;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem 0;
}

.hero-meta {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.hero-meta i {
  color: #f97316;
  margin-right: 0.3rem;
}

.hero-right {
  align-self: stretch;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.09),
    0 0 0 1px rgba(148, 163, 184, 0.12);
}

.hero-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.hero-card-title i {
  color: #f97316;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.92rem;
}

.icon-pill {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #fed7aa, #fb923c);
  color: #111827;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  padding: 0.55rem 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, background 0.16s ease-out, color 0.16s ease-out;
}

.btn i {
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #111827;
  box-shadow: 0 14px 30px rgba(248, 113, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(248, 113, 22, 0.45);
}

.btn-secondary {
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  border-color: #fb923c;
  box-shadow: 0 10px 25px rgba(148, 163, 184, 0.25);
}

/* Cards / Services */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #ffffff;
  padding: 1.4rem 1.25rem 1.35rem 1.25rem;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(226, 232, 240, 0.9);
}

/* Subtle vertical orange gradient animation on hover */
.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(249, 115, 22, 0.16) 40%,
    rgba(253, 186, 116, 0.35) 50%,
    rgba(249, 115, 22, 0.16) 60%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.8s ease-out;
  pointer-events: none;
}

.card:hover::before {
  transform: translateX(120%);
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #fef3c7, #fdba74);
  color: #111827;
  margin-bottom: 0.9rem;
}

.card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.7rem 0;
  color: #4b5563;
  font-size: 0.93rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.card-list i {
  color: #f97316;
  margin-right: 0.4rem;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem;
  box-shadow:
    0 14px 35px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(229, 231, 235, 0.9);
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #f9fafb;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.step h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: #4b5563;
}

/* Feature strip */

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #111827;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.feature-item .angle-icon {
  color: #f97316;
}

/* 3D printing / two-column */

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.two-column h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.two-column h3 i {
  color: #f97316;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.93rem;
  color: #4b5563;
}

.check-list i {
  margin-right: 0.35rem;
  color: #f97316;
}

.small-note {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;   /* gleiche Höhe der Spalten */
}

.contact-box,
.contact-form {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  box-shadow:
  0 16px 40px rgba(15, 23, 42, 0.06),
  0 0 0 1px rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  height: 100%;           /* Boxen füllen die komplette Grid-Höhe */
}

/* Extra Abstand nach dem Feld "Firma" */
#firma {
margin-bottom: 1rem;
}

.contact-box h3,
.contact-form h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-box h3 i,
.contact-form h3 i {
  color: #f97316;
}

.contact-box p {
  margin: 0 0 0.7rem 0;
  font-size: 0.93rem;
  color: #4b5563;
}

.contact-box a {
  color: #111827;
  font-weight: 500;
}

.contact-box a:hover {
  text-decoration: underline;
}

.contact-form form {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.contact-form input {
  margin-bottom: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.93rem;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.14s ease-out, box-shadow 0.14s ease-out, background 0.14s ease-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #fb923c;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.35);
}

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

.contact-form button {
  margin-top: 0.8rem;
}

.contact-note {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Generic page (impressum, privacy, downloads) */

.main-page {
  padding: 3.5rem 0;
}

.page-box {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.8rem 1.5rem;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(226, 232, 240, 0.9);
}

.page-box h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.page-box p {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.page-box hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

/* Tables (Changelog) */

.page-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page-box th,
.page-box td {
  padding: 0.35rem 0.15rem;
  text-align: left;
}

.page-box thead tr {
  border-bottom: 1px solid #e5e7eb;
}

.page-box tbody tr {
  border-bottom: 1px solid #f3f4f6;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  background: #f3f4f6;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
}

/* Footer */

.site-footer {
  padding: 1.4rem 0 1.6rem 0;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  margin-top: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #6b7280;
}

.footer-nav {
  display: flex;
  gap: 0.9rem;
}

.footer-nav a {
  color: #4b5563;
}

.footer-nav a:hover {
  color: #111827;
  text-decoration: underline;
}

/* Back to top */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  z-index: 40;
}

.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Utilities */

.small-note a {
  color: #111827;
  text-decoration: underline;
}

.small-note a:hover {
  color: #f97316;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-right {
    order: -1;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, 100%);
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

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

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

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

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
  }

  .page-box {
    padding-inline: 1.1rem;
  }
}
