
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* =========================================
   MTE – MÜNZER TECHNIK & ENTWICKLUNG
   WEBSITE DESIGN
========================================= */

:root {
  --dark: #101c29;
  --dark-alt: #172635;
  --accent: #d2a357;
  --accent-light: #edc78c;
  --text: #243443;
  --muted: #687887;
  --light: #f3f5f6;
  --white: #ffffff;
}

/* GRUNDEINSTELLUNGEN */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Outfit", Arial, sans-serif;
  line-height: 1.18;
}

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

.container {
  width: min(1160px, 90%);
  margin: auto;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* =========================================
   NAVIGATION UND LOGO
========================================= */

.header {
  background: var(--dark);
  border-bottom: 1px solid #344454;
}

.nav {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  display: block;
  height: 65px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: #d6dfe6;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

.nav-contact {
  border: 1px solid var(--accent);
  padding: 10px 22px;
  border-radius: 4px;
}

/* =========================================
   HERO – STARTSEITE MIT MTE WALLPAPER
========================================= */

.hero {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(16, 28, 41, 0.94) 0%,
      rgba(16, 28, 41, 0.78) 55%,
      rgba(16, 28, 41, 0.38) 100%
    ),
    url("assets/MTE Wallpaper.png")
    center / cover no-repeat;

  color: var(--white);
  min-height: 580px;

  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-description {
  max-width: 660px;
  color: #c5d2dc;
  font-size: 17px;
  margin-top: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}

.hero-decoration {
  display: none;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
  display: inline-block;
  border-radius: 4px;
  padding: 14px 24px;

  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-outline {
  color: var(--white);
  border: 1px solid #8191a1;
}

.btn-outline:hover {
  border-color: var(--accent);
}

/* =========================================
   ALLGEMEINE ABSCHNITTE
========================================= */

.section {
  padding: 100px 0;
}

.section h2,
.contact-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 22px;
}

.section-intro {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 48px;
}

/* =========================================
   LEISTUNGSKARTEN
========================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--light);
  padding: 38px;
  border: 1px solid #e5e9ec;
  border-top: 3px solid var(--accent);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(16, 28, 41, 0.08);
}

.card-number {
  display: block;
  color: #b38a4f;
  font-weight: 700;
  margin-bottom: 22px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.card p {
  color: var(--muted);
}

/* =========================================
   ÜBER MTE
========================================= */

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
}

.about-text {
  color: #c7d2dd;
}

.about-text p + p {
  margin-top: 20px;
}

/* =========================================
   REFERENZEN UND CAD-BILDER
========================================= */

.references {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.reference {
  min-width: 0;
}

.reference-image {
  height: 300px;
  padding: 15px;
  overflow: hidden;

  background: #eef1f4;

  display: flex;
  align-items: center;
  justify-content: center;
}

.reference-image img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;

  transition: transform 0.3s ease;
}

.reference:hover .reference-image img {
  transform: scale(1.04);
}

.reference-info {
  padding: 20px 0;
}

.reference-info h3 {
  font-size: 23px;
  margin-bottom: 5px;
}

.reference-info p {
  color: var(--muted);
  font-size: 14px;
}

/* =========================================
   KONTAKT
========================================= */

.contact-section {
  background: var(--dark-alt);
  color: var(--white);
  padding: 85px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
}

.contact-grid p {
  color: #bdcbd6;
  max-width: 650px;
}

.contact-action {
  text-align: center;
}

.contact-action p {
  margin-top: 12px;
  font-size: 13px;
}

.contact-action p a:hover {
  color: var(--accent);
}

/* =========================================
   FOOTER
========================================= */

.footer {
  background: #0b141f;
  color: #c3ced7;
  padding: 36px 0;
  font-size: 13px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer strong {
  color: var(--white);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* =========================================
   TABLET UND SMARTPHONE
========================================= */

@media (max-width: 760px) {

  html {
    scroll-padding-top: 20px;
  }

  .nav {
    padding: 20px 0;
    flex-direction: column;
    gap: 20px;
  }

  .header-logo {
    height: 55px;
    max-width: 210px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  nav a {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero-content {
    padding: 85px 0;
  }

  .hero h1 {
    letter-spacing: -0.5px;
  }

  .hero-description {
    font-size: 15px;
  }

  .section {
    padding: 65px 0;
  }

  .cards,
  .references,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    gap: 10px;
  }

  .card {
    padding: 28px;
  }

  .reference-image {
    height: 260px;
  }

  .contact-action {
    text-align: left;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-right {
    align-items: flex-start;
  }
}

/* =========================================
   KLEINE SMARTPHONES
========================================= */

@media (max-width: 420px) {

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .reference-image {
    height: 220px;
  }

  .contact-action .btn {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* =========================================
   BARRIEREFREIHEIT
========================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
