/* =========================
   Base / Mobile First
   ========================= */

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

html,
body {
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  hyphens: auto;
}

/* =========================
   Header (Mobile)
   ========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 10vh;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
}

header img {
  height: 80%;
  width: auto;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  font-size: 1rem;
  color: rgb(19, 99, 159);
}

nav a.active {
  font-weight: 700;
  color: rgb(235, 106, 57);
}

/* =========================
   Main (Mobile)
   ========================= */

main {
  margin-top: 10vh;
  padding: 1.5rem 1rem;
  width: 100%;
}
/* =========================
   Footer (Mobile)
   ========================= */

footer {
  background-color: rgb(46, 46, 46);
   color: rgb(255, 255, 255);
   padding: 0.8em;
   text-align: center;
}

footer a{
  color: rgb(255, 255, 255); 
  margin: 0 0.5em; 
  text-decoration: none;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
}

.contact-line .line {
  flex: 1;
  height: 0.05rem;
  background-color: rgb(255, 255, 255);
}

.contact-line .icons {
  display: flex;
  /* Abstand zwischen den Icons */
  gap: 0.1rem;
  /* Abstand zur Linie */
  padding: 0 0.5rem;
}

.footer-icon {
  font-size: 1.5em;
  color: rgb(255, 255, 255);
}

/* =========================
   Typografie (Mobile)
   ========================= */

h1 {
  font-size: 1.6rem;

  /* visuell ausgeblendet */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgb(100, 100, 100);
  margin-bottom: 2rem;
}

h3 {
  color: rgb(235, 106, 57);
}

p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

ul {
  line-height: 1.6;
  margin-bottom: 1.25rem;
  padding-left: 1.875rem;
  list-style-type: circle;

  /* list-style-image: url("/landing/media/favicon/favicon-16x16.png");
  list-style-position: inside; */
}


/* Contact */
.contact {
  margin-top: 4rem;
  text-align: center;
}

.contact a {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: rgb(19, 99, 159);
  text-decoration: none;
}

/* =========================
   Tablet ≥ 40rem
   ========================= */

@media (min-width: 40rem) {

  header {
    padding: 0 1.5rem;
  }

  main {
    max-width: 53.75rem; /* 860px */
    padding: 2.5rem 2rem;
    margin-left: auto;
    margin-right: auto;
  }

  h2 {
    font-size: 1.35rem;
  }

  p,
  li {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  section {
    margin-bottom: 3rem;
  }

  h3 {
    margin-bottom: 0.75rem;
  }

  nav a {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .contact-line .icons {
    gap: 0.5rem;
  }
  
  .footer-icon {
    font-size: 2em;
  }
}

/* =========================
   Desktop ≥ 64rem
   ========================= */

@media (min-width: 64rem) {

  main {
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    max-width: clamp(45rem, 60vw, 70rem);
    padding: 2rem 1.5rem;
  }

  nav a{
    font-size: 0.9rem;
    padding: 0;
  }

    /* H1 wieder sichtbar */
  h1 {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 0.5rem 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;

    font-size: 2rem;
    color: rgb(60, 60, 60);
  }

  h2 {
    font-size: 1.2rem; /* ORIGINAL */
  }

    .footer-icon {
    font-size: 1.2em;
  }

}