/* MEK Landingpage */

:root {
  --bg: #0b0b0d;
  --bg-soft: #141417;
  --bg-card: #1b1b20;
  --text: #f5f5f5;
  --muted: #b9b9c0;
  --line: rgba(255,255,255,.11);
  --red: #d71324;
  --red-dark: #9f0f1d;
  --white: #fff;
  --shadow: 0 24px 70px rgba(0,0,0,.45);
  --max: 1160px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 76px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(9,9,11,.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255,255,255,.86);
  font-size: 15px;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(215,19,36,.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px 0 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/halle-aussen.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 18%, rgba(215,19,36,.24), transparent 34%),
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.70) 42%, rgba(0,0,0,.32) 100%),
    linear-gradient(0deg, rgba(11,11,13,.98) 0%, rgba(11,11,13,.1) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 14px;
}

h1, h2, h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 88px);
  letter-spacing: -.06em;
  max-width: 920px;
}

h2 {
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: -.045em;
}

h3 {
  font-size: 22px;
  letter-spacing: -.02em;
}

.lead {
  font-size: clamp(18px, 2vw, 23px);
  max-width: 720px;
  color: rgba(255,255,255,.82);
  margin: 24px 0 0;
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 0 34px rgba(215,19,36,.32);
}

.btn.secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: var(--line);
}

.btn.ghost {
  background: rgba(0,0,0,.32);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.quick-facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10,10,12,.62);
  backdrop-filter: blur(12px);
}

.quick-facts strong {
  display: block;
  font-size: 18px;
}

.quick-facts span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(74px, 10vw, 126px) 0;
  background: #f4f4f5;
  color: #121216;
}

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

.intro {
  background: linear-gradient(180deg, #0b0b0d 0%, #111114 100%);
  color: var(--text);
  border-top: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.two-col p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 16px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 12px;
}

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

.split-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.feature-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-text p {
  color: #50505a;
  font-size: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(215,19,36,.45);
}

.appointment {
  background:
    radial-gradient(circle at 80% 20%, rgba(215,19,36,.14), transparent 30%),
    #101013;
  color: var(--text);
}

.appointment-grid {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.appointment p {
  color: var(--muted);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 14px 14px;
  color: var(--text);
  background: rgba(255,255,255,.06);
  font: inherit;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(215,19,36,.75);
  box-shadow: 0 0 0 4px rgba(215,19,36,.15);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0 !important;
  font-size: 13px !important;
  color: rgba(255,255,255,.55) !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: stretch;
}

.contact-details {
  margin: 26px 0;
  color: var(--muted);
}

.contact-details p {
  margin: 0 0 12px;
}

.contact-details a {
  color: #fff;
  font-weight: 800;
}

.opening-hours {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}

.opening-hours h3 {
  margin-bottom: 10px;
}

.opening-hours p {
  margin: 0 0 6px;
  color: var(--muted);
}

.map-wrap {
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.footer {
  border-top: 1px solid var(--line);
  background: #070708;
  color: var(--muted);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.footer a {
  margin-left: 18px;
  color: rgba(255,255,255,.78);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(13,13,16,.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 44px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.58)),
      linear-gradient(0deg, rgba(11,11,13,.98) 0%, rgba(11,11,13,.16) 60%);
  }

  .quick-facts,
  .cards,
  .two-col,
  .split-feature,
  .appointment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    margin-top: 34px;
  }

  .brand img {
    height: 40px;
  }

  .site-header {
    padding-inline: 18px;
  }
}

@media (max-width: 520px) {
  .container,
  .hero-content {
    width: min(100% - 28px, var(--max));
  }

  .hero-actions,
  .contact-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: 40px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer a {
    margin-left: 0;
    margin-right: 16px;
  }
}
