html {
  scroll-behavior: smooth;
}
:root {
  --bg: #0b1f3b;
  --bg-alt: #102a4d;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --text: #f9fafb;
  --muted: #cbd5f5;
  --border: #1e3a8a;
  --card: #0b1f3b;
  --card-alt: #0f2550;
  --white: #ffffff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
  background: radial-gradient(circle at top left, #1d4ed8 0%, #0b1f3b 40%, #020617 100%);
  color: var(--text);
  line-height: 1.6;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 31, 59, 0.96);
  border-bottom: 1px solid rgba(191, 219, 254, 0.25);
}
.nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.logo-text span:first-child {
  font-weight: 700;
  font-size: 0.9rem;
}
.logo-img {
  height: 28px;
  width: auto;
}
nav a {
  margin-left: 1.25rem;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
}
nav a:hover {
  color: var(--white);
}

/* HERO */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #020617;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero-industrial-fusion.jpg") center/cover no-repeat;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at bottom, rgba(14,165,233,0.5), transparent 55%),
    radial-gradient(circle at top right, rgba(59,130,246,0.5), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 0 3rem;
}
.hero-logo {
  height: 150px;
  width: auto;
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,0.85));
}
.hero-badge {
  display: inline-block;
  padding: 0.38rem 0.9rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(56,189,248,0.75);
  color: #e0f2fe;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.hero-title span {
  font-size: 0.8em;
  color: #e0f2fe;
  letter-spacing: 0.18em;
}
.hero-locations {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e0f2fe;
  opacity: 0.9;
  margin-bottom: 0.4rem;
}
.hero-competences {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  color: #e0f2fe;
  opacity: 0.95;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.btn {
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.12s ease;
}
.btn-primary {
  background: var(--accent);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(14, 165, 233, 0.45);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: rgba(191, 219, 254, 0.4);
  color: var(--white);
  background: rgba(15, 23, 42, 0.4);
}
.btn-outline:hover {
  border-color: var(--accent);
}
.hero-buttons {
  justify-content: center;
  margin-bottom: 2.2rem;
}
.hero-process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.process-card {
  background: rgba(15,23,42,0.95);
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,233,0.6);
  box-shadow: 0 16px 40px rgba(15,23,42,0.9);
}
.process-card img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.process-label {
  display: block;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
}

/* Sections */
main section {
  border-top: 1px solid rgba(148, 163, 233, 0.5);
  padding: 3rem 0 2.7rem;
  background: linear-gradient(to bottom, rgba(15,23,42,0.7), rgba(11,31,59,0.7));
}
.section-headline {
  margin-bottom: 1.6rem;
}
.section-headline h2 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.section-headline p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 40rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.23rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.6rem;
  background: rgba(15, 23, 42, 0.85);
}
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}
.card {
  background: radial-gradient(circle at top left, #1e3a8a 0%, #0b1f3b 45%, #020617 100%);
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(191, 219, 254, 0.35);
  font-size: 0.9rem;
  color: var(--muted);
}
.card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.list-check {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.list-check li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.45rem;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.85rem;
}
.section-hero-image {
  margin-bottom: 1.8rem;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(191, 219, 254, 0.45);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
}
.section-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
.process-banner {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.8rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(191, 219, 254, 0.45);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.85);
}
.process-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.process-banner-text {
  position: absolute;
  left: 2rem;
  bottom: 1.7rem;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.process-banner-text span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-top: 0.8rem;
}
.logo-row img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.7));
  background: #ffffff;
  border-radius: 0.4rem;
  padding: 0.15rem 0.5rem;
}
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
  border-left: 2px solid rgba(147, 197, 253, 0.3);
}
.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 8px);
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid #0b1f3b;
  box-shadow: 0 0 10px rgba(14,165,233,0.5);
}
.timeline-year {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.timeline-content {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.timeline-photo {
  margin-top: 1rem;
}
.timeline-photo img {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(191, 219, 254, 0.35);
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.8);
  display: block;
}
.timeline-caption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
}
.standort-list h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--white);
}
.standort-list p {
  font-size: 0.88rem;
  color: var(--muted);
}
.standort-list p span {
  display: block;
  font-size: 0.78rem;
  color: rgba(209, 213, 245, 0.9);
}
.contact-link {
  color: var(--accent);
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
}
form {
  font-size: 0.9rem;
}
label {
  display: block;
  margin-bottom: 0.25rem;
}
input,
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(191, 219, 254, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: var(--white);
  font-size: 0.9rem;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea {
  resize: vertical;
}
.form-row {
  margin-bottom: 0.7rem;
}
.status {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}
footer {
  border-top: 1px solid rgba(148, 163, 233, 0.65);
  padding: 1.4rem 0 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: #020617;
}
footer a {
  color: var(--accent);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
#impressum a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
}

#impressum a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.legal-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.legal-content {
  display: none;
  margin-top: 1.5rem;
}

.legal-content.open {
  display: block;
}

#rechtliches a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
}

#rechtliches a:hover {
  color: #ffffff;
  text-decoration: underline;
}
/* mobile */
@media (max-width: 900px) {
  .hero-inner {
    padding-top: 3.2rem;
  }
  .hero-process-row {
    grid-template-columns: 1fr 1fr;
  }
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  nav {
    display: none;
  }
}
