:root {
  --msl-dark: #07111f;
  --msl-dark-2: #0f172a;
  --msl-blue: #0ea5e9;
  --msl-blue-dark: #0369a1;
  --msl-orange: #f97316;
  --msl-light: #f8fafc;
  --msl-text: #0f172a;
  --msl-muted: #64748b;
  --msl-border: #e2e8f0;
  --msl-radius: 22px;
  --msl-shadow: 0 20px 50px rgba(15, 23, 42, .12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--msl-text);
  background: #fff;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 1rem;
  z-index: 9999;
  background: var(--msl-blue-dark);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.navbar {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  transition: box-shadow .25s ease;
}

.navbar-brand img {
  height: 46px;
  width: auto;
}

.nav-link {
  color: #1e293b;
  font-weight: 650;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--msl-blue-dark);
}

.btn-msl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: linear-gradient(135deg, var(--msl-blue), var(--msl-blue-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(14, 165, 233, .28);
  transition: .25s ease;
}

.btn-msl:hover,
.btn-msl:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 165, 233, .36);
}

.btn-outline-msl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 800;
  transition: .25s ease;
}

.btn-outline-msl:hover,
.btn-outline-msl:focus {
  background: #fff;
  color: var(--msl-dark);
}

.btn-soft {
  border: 1px solid var(--msl-border);
  color: var(--msl-text);
  background: #fff;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 800;
}

.btn-soft:hover,
.btn-soft:focus {
  color: var(--msl-blue-dark);
  border-color: var(--msl-blue);
}

.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.bg-soft {
  background: var(--msl-light);
}

.eyebrow {
  color: var(--msl-blue-dark);
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: .75rem;
}

.title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.04em;
}

.lead-text {
  color: var(--msl-muted);
  font-size: 1.12rem;
  max-width: 790px;
}

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7,17,31,.96), rgba(15,23,42,.83), rgba(3,105,161,.58)),
    url("../../media/kurbelmast-aluminium-detail_1.jpg_%3b") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 55%;
  background: radial-gradient(circle, rgba(14,165,233,.35), transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.0rem);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -.06em;
  max-width: 1050px;
}

.hero-text {
  max-width: 820px;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  color: rgba(255,255,255,.86);
  margin-top: 1.5rem;
}

.hero-panel {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  border-radius: var(--msl-radius);
  padding: 1.5rem;
  box-shadow: var(--msl-shadow);
}

.hero-stat {
  border-left: 3px solid var(--msl-blue);
  padding-left: 1rem;
  color: rgba(255,255,255,.82);
}

.hero-stat strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  color: #fff;
}

.badge-industrial {
  background: rgba(249,115,22,.16);
  border: 1px solid rgba(249,115,22,.35);
  color: #fed7aa;
}

/* Trust */
.trust {
  background: var(--msl-dark);
  color: #cbd5e1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
}

.trust-item i {
  color: var(--msl-blue);
  font-size: 1.4rem;
}

/* Cards */
.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: rgba(14,165,233,.1);
  color: var(--msl-blue-dark);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.card-industrial,
.feature-card,
.contact-card,
.info-card {
  background: #fff;
  border: 1px solid var(--msl-border);
  border-radius: var(--msl-radius);
  box-shadow: var(--msl-shadow);
}

.feature-card,
.info-card,
.contact-card {
  padding: 1.5rem;
}

.feature-card,
.card-industrial {
  height: 100%;
}

.card-industrial {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card-industrial:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15,23,42,.16);
}

.card-industrial img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #eef2f7;
}

.card-industrial .card-body {
  padding: 1.5rem;
}

.image-frame {
  border-radius: var(--msl-radius);
  overflow: hidden;
  box-shadow: var(--msl-shadow);
  border: 1px solid var(--msl-border);
  background: #fff;
}

.image-frame img {
  width: 100%;
  object-fit: cover;
}

.logo-showcase {
  background: #fff;
  padding: 2rem;
  border-radius: var(--msl-radius);
  border: 1px solid var(--msl-border);
  box-shadow: var(--msl-shadow);
}

.logo-showcase img {
  margin-inline: auto;
  max-width: 520px;
}

.mast-detail-img {
  min-height: 420px;
  object-fit: cover;
}

/* Prozess */
.process-step {
  position: relative;
  padding-left: 4.25rem;
}

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--msl-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

/* Anwendungen */
.application-card {
  position: relative;
  min-height: 260px;
  border-radius: var(--msl-radius);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: end;
  padding: 1.5rem;
  isolation: isolate;
  box-shadow: var(--msl-shadow);
  background: #111827;
}

.application-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  z-index: -1;
}

.application-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.application-card:hover img {
  transform: scale(1.06);
}

/* Galerie */
.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--msl-radius);
  box-shadow: var(--msl-shadow);
  background: #111827;
  min-height: 260px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  color: #fff;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
}

/* CTA */
.cta-box {
  color: #fff;
  border-radius: 34px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--msl-shadow);
  background:
    linear-gradient(135deg, rgba(7,17,31,.96), rgba(3,105,161,.88)),
    url("../../mslg20-01_hul_20071605_040-45_2500px5963.jpg_%3b?rex_media_type=photos&rex_media_file=mslg20-01_hul_20071605_040-45_2500px.jpg") center / cover no-repeat;
}

/* Formular */
.form-control,
.form-select {
  border-radius: 14px;
  padding: .85rem 1rem;
  border-color: #cbd5e1;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--msl-blue);
  box-shadow: 0 0 0 .2rem rgba(14,165,233,.18);
}

/* FAQ */
.accordion-button {
  font-weight: 800;
}

.accordion-button:not(.collapsed) {
  color: var(--msl-blue-dark);
  background: rgba(14,165,233,.08);
}

/* Footer */
.footer {
  background: #070b14;
  color: #cbd5e1;
  padding: 5rem 0 2rem;
}

.footer h2,
.footer h3,
.footer h4 {
  color: #fff;
}

.footer a {
  color: #cbd5e1;
}

.footer a:hover,
.footer a:focus {
  color: #fff;
}

.footer-logo {
  max-width: 260px;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.footer-box {
  padding: 1.4rem;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
}

.social-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .7rem;
}

.social-link i {
  color: var(--msl-blue);
}

/* Datenschutz-Fußtext */
.footer-privacy-box {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #cbd5e1;
}

.footer-privacy-box details {
  margin: 0;
}

.footer-privacy-box summary {
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  list-style: none;
}

.footer-privacy-box summary::-webkit-details-marker {
  display: none;
}

.footer-privacy-box summary::after {
  content: " +";
  color: var(--msl-blue);
  font-weight: 900;
}

.footer-privacy-box details[open] summary::after {
  content: " –";
}

.footer-privacy-content {
  margin-top: 1rem;
  font-size: .92rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.footer-privacy-content h4 {
  color: #fff;
  font-size: 1rem;
  margin-top: 1.25rem;
  margin-bottom: .4rem;
}

.footer-privacy-content p {
  margin-bottom: .85rem;
}

.footer-privacy-content a {
  color: #e0f2fe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: #94a3b8;
}

/* Floating Contact */
.floating-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--msl-blue-dark);
  box-shadow: 0 12px 30px rgba(3,105,161,.4);
  font-size: 1.4rem;
}

.floating-contact:hover {
  color: #fff;
  background: var(--msl-blue);
}

/* Cookie-Hinweis */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  max-width: 980px;
  margin-inline: auto;
  background: rgba(7, 11, 20, .96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  border-radius: 20px;
  padding: 1rem;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin: 0;
  color: #dbeafe;
  font-size: .95rem;
}

.cookie-banner a {
  color: #7dd3fc;
  text-decoration: underline;
}

/* Hilfsklassen */
.msl-hidden {
  display: none;
}

/* Responsive */
@media (max-width: 991.98px) {
  .section {
    padding: 4.25rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 7rem 0 4rem;
  }

  .hero-panel {
    margin-top: 2rem;
  }

  .navbar-brand img {
    height: 40px;
  }

  .mast-detail-img {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.msl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.msl-table th,
.msl-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--msl-border);
  text-align: left;
}

.msl-table th {
  font-weight: 800;
  background: var(--msl-light);
}

.msl-table tr:hover td {
  background: rgba(14,165,233,.04);
}

.table-group td {
  font-weight: 800;
  background: rgba(14,165,233,.08);
}

.hero-small {
  padding: 80px 0 60px;
}

.section {
  padding: 70px 0;
}

.section-light {
  background: #f7f8fa;
}

.section-accent {
  background: #0f1720;
  color: #fff;
}

.container.narrow {
  max-width: 900px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.product-image-card {
  background: #fff;
  padding: 30px;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.product-image-card img {
  max-width: 100%;
  height: auto;
}

.msl-table {
  width: 100%;
  border-collapse: collapse;
}

.msl-table th,
.msl-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.msl-table th {
  background: #f3f4f6;
}

.table-group td {
  background: #eef1f4;
  font-weight: 600;
}
