/* -------------------------------
  Fonts
------------------------------- */
@font-face {
  font-display: swap;
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/sofia-sans-v20-latin-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/sofia-sans-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/sofia-sans-v20-latin-700.woff2') format('woff2');
}

/* -------------------------------
  Variables
------------------------------- */
:root {
  --color-primary: #0F4761;
  --color-secondary: #B784CF;

  --color-white: #ffffff;
  --color-black: #000000;
}

/* -------------------------------
  Modern Browser Reset
------------------------------- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* -------------------------------
  Globals / Body
------------------------------- */
html {
  position: relative;
  color: var(--color-black);
  font-size: 68%;
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Sofia Sans', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.45;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;

  &:hover {
    color: color-mix(in srgb, currentColor, black 20%);
  }
}

header, main, footer {
  max-width: 798px;
  padding: 0 15px;
  width: 100%;
  margin: 0 auto 0 auto;
}
header {
  margin-top: 10vh;
}
footer {
  margin: 60px auto;
  color: var(--color-secondary);
  font-weight: 700;
}
section {
  margin-top: 60px;

  &:first-of-type {
    margin-top: 0;
  }
}

h1, h2 {
  font-family: inherit;
  line-height: 1.125;
  font-weight: 700;
}

h1 {
  position: relative;
  font-size: 3.4rem;
  margin-bottom: 30px;
  color: var(--color-primary);

  & > .ghost {
    display: inline-block;
    opacity: 0;
    pointer-events: none;
  }
}
h2 {
  font-size: 2.6rem;
  margin-bottom: 30px;
  font-weight: normal;
}

span.subline {
  display: block;
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 26px;
  color: var(--color-secondary);
}

img.stoerer {
  margin-bottom: 30px;
  margin-top: 60px;
  width: 40%;
  height: auto;

  @media (max-width: 600px) {
    width: 60%;
  }
}

ul {
  display: block;
  padding: 0;
  margin: 0;

  & > li {
    display: inline;

    & > strong {
      display: inline;
      font-weight: 700;
      &:after {
        content: ':';
      }
    }

    & > span {
      display: inline;
      color: var(--color-secondary);
      &:after {
        content: ' | ';
      }
    }

    &:last-of-type {
      & > span:after {
        content: '';
      }
    }
  }
}

#open-signatures > div {
  form {
    margin-top: 30px;
    display: width: 100%;
    background-color: var(--color-secondary);
    padding: 20px;

    & > div.group {
      margin-bottom: 16px;
      &:last-of-type {
        margin-bottom: 0;
      }

      & > label {
        display: block;
        color: var(--color-white);
        font-family: inherit;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 1.3rem;
      }

      & > input[type=text] {
        width: 100%;
        min-height: 40px;
        border: 1px solid transparent;
        padding: 8px;
        font-family: inherit;
        font-weight: normal;
        font-size: inherit;

        &:focus {
          outline: 0;
          border: 1px solid var(--color-primary);
        }
      }
    }
  }
}

button {
  margin-top: 30px;
  width: 100%;
  min-height: 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid transparent;
  font-weight: 700;
  font-family: inherit;
  font-size: 1.6rem;
  padding: 8px 20px;
  text-transform: uppercase;
  cursor: pointer;

  &.secondary {
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
  }
}