/* ==========================================================================
   ZAMEDIS Landing Page
   ========================================================================== */

/* --- Schriften (lokal, Manrope Variable) --- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Basis --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }
body { height: 100%; }

/* --- Root Layout --- */
.zamedis {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #ffffff;
  color: #16314E;
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* --- Hintergrund-Motiv --- */
.motif {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100svh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.motif__plane {
  position: absolute;
  inset: -2%;
  will-change: transform;
}
.motif__plane--a {
  background: #D6E6F2;
  clip-path: polygon(0 0, 100% 0, 100% 24%, 0 42%);
  animation: zDriftA 26s ease-in-out infinite;
}
.motif__plane--b {
  background: #7FB0D4;
  opacity: .5;
  clip-path: polygon(0 0, 100% 0, 100% 15%, 0 29%);
  animation: zDriftB 32s ease-in-out infinite;
}
.motif__plane--c {
  background: #2E6CA4;
  opacity: .4;
  clip-path: polygon(0 0, 100% 0, 100% 8%, 0 18%);
  animation: zDriftC 22s ease-in-out infinite;
}
.motif__plane--dark {
  background: #16314E;
  opacity: .85;
  clip-path: polygon(64% 0, 100% 0, 100% 11%, 80% 17%);
}
.motif__plane--extra-1 {
  background: #D6E6F2;
  opacity: .7;
  clip-path: polygon(100% 74%, 100% 100%, 60% 100%);
  animation: zDriftB 30s ease-in-out infinite;
}
.motif__plane--extra-2 {
  background: #7FB0D4;
  opacity: .32;
  clip-path: polygon(0 86%, 32% 100%, 0 100%);
  animation: zDriftC 28s ease-in-out infinite;
}

/* --- Header --- */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 56px);
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header__logo img {
  height: 70px;
  width: auto;
  display: block;
}

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: calc(100svh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(20px, 5vw, 56px) 8px;
}
.hero__inner {
  max-width: 840px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(214, 230, 242, 0.85);
  border: 1px solid rgba(46, 108, 164, 0.18);
  margin-bottom: 28px;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2E6CA4;
  animation: zPulse 2.4s ease-in-out infinite;
}
.badge__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #16314E;
}
.hero__title {
  font-size: clamp(38px, 6.4vw, 74px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #16314E;
  margin: 0;
}
.hero__title-accent { color: #2E6CA4; }
.hero__text {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.6;
  font-weight: 500;
  color: #46627D;
}
.hero__cta-wrap { margin-top: 36px; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #2E6CA4;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 26px -8px rgba(22, 49, 78, 0.45);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.cta:hover {
  background: #16314E;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(22, 49, 78, 0.55);
}
.cta__icon { display: block; }

/* --- Leistungen --- */
.services {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding: clamp(60px, 9vw, 108px) clamp(20px, 5vw, 56px);
}
.services__inner {
  max-width: 980px;
  margin: 0 auto;
}
.services__title {
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.028em;
  color: #16314E;
  margin: 0 0 clamp(34px, 5vw, 52px);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 56px;
}
.services__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 2px;
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 600;
  color: #1F3A57;
}
.services__item--divider { border-top: 1px solid #E7EEF5; }
.services__marker {
  width: 9px;
  height: 9px;
  background: #2E6CA4;
  transform: rotate(45deg);
  flex: none;
}

/* --- Kontakt --- */
.contact {
  position: relative;
  z-index: 1;
  background: #F3F8FC;
  padding: clamp(60px, 9vw, 100px) clamp(20px, 5vw, 56px);
}
.contact__inner {
  max-width: 980px;
  margin: 0 auto;
}
.contact__card {
  background: #ffffff;
  border: 1px solid #E2ECF4;
  border-radius: 14px;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 24px 56px -32px rgba(22, 49, 78, 0.3);
}
.contact__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #EEF3F8;
}
.contact__logo {
  height: 30px;
  width: auto;
  display: block;
}
.contact__name {
  font-size: 16px;
  font-weight: 600;
  color: #46627D;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 48px;
}
.contact__address {
  font-size: 16px;
  line-height: 1.7;
  color: #1F3A57;
}
.contact__lines {
  font-size: 16px;
  line-height: 1.8;
  color: #1F3A57;
}
.contact__link {
  color: #2E6CA4;
  font-weight: 600;
  text-decoration: none;
}
.contact__link:hover { color: #16314E; }

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 26px clamp(20px, 5vw, 56px);
  background: #16314E;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

/* --- Keyframes --- */
@keyframes zDriftA { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-1.4%, 0.9%, 0); } }
@keyframes zDriftB { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(1.5%, -1.1%, 0); } }
@keyframes zDriftC { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-0.9%, -0.7%, 0); } }
@keyframes zPulse { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@keyframes zRise { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: translateY(0); } }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
