:root {
  --text: #0b1220;
  --motto: rgb(69, 162, 255);
  --contrast: rgb(69, 162, 255);
  --container: min(1080px, calc(100% - 40px));
}

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

html,
body {
  margin: 0;  
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
  line-height: 1.6;
}

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

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(248, 250, 255);
}

.topbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.topnav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.topnav a {
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid transparent;
  color: #282828;
  font-size: 1em;
}

.topnav a:hover {
  border-bottom: solid 2px rgba(8, 51, 151, 0.1);
  background: rgb(20, 73, 232);
  color: #fff;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* HERO */
.hero {
  padding: 1em 0 2em;
  display: flex;
  width: 100%;
  background: white;
}

.business-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 8em;
  text-align: center;
}

.business-card p#willkommen {
  margin: 0 0 12px;
  font-size: clamp(1.2em, 3vw, 1.8em);
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.business-card p#motto {
  color: var(--motto);
  font-weight: 900;
  font-size: clamp(1.5em, 3.2vw, 2em);
  max-width: 62ch;
  margin: 1em;
  width:100%;
}

.business-card p#name {
  font-weight: 900;
  font-size: clamp(1.5em, 3.2vw, 2em);
  max-width: 62ch;
}

.business-card p#service {
  margin: 1em 0;
  display: inline-flex;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.55);
  color: #171717;
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  text-transform: uppercase;
}

.business-card p.text {
  margin: 0.5em 0;
  display: inline-flex;
  padding: 8px 12px;
  color: var(--contrast);
  font-weight: 500;
  font-size: clamp(1.1em, 3vw, 1.5em);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1em 1.2em;
  border-radius: 40px;
  font-weight: 400;
  text-transform: uppercase;
}

.btn--primary {
  background: #3265ff;
  color: #fff;
  margin-top: 2em;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.1);
}

/* Sections */
.section {
  padding: 22px 0 0;
}

.impressum {
  padding: 4em 3em;
}

main#main {
/*  min-height: 60%;
  max-height: max-content; */
  width: 100%;
  margin: auto 0;
  position: relative;
  align-content: center;
  justify-content: center;
  background: #fff;
}

section.page {
  width: 100%;
  margin: 4em auto;
  align-items: center;
  background: #fff;
}
section.page.texts {
  max-width: 920px;
}

section.page .text {
  padding: 0 32px;
  margin: 0 auto;
}

section.page .text h1 {
  margin: 1em 0;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
}
section.page .text h2 {
  margin: 2.2em 0 1em;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
}

section.page .text h3 {
  margin: 2.2em 0 1em;
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
}

section.page .text p {
  /* margin: 2.2em 0 1em; */
  color: #272727;
  line-height: 2;
}

section.page .text p.name {
 
  font-size: 1.1em;
}

.text a:hover {
  color: #3265ff;
}
section.page .text ul {
  margin: 2.2em 0;
}

section.page .text ul li {
  list-style: circle;
  padding: 0 1em;
  margin-left: 2em;
  font-style: italic;
}

/* Under construction */
.section-under-construction {
  padding: 22px 0 50px;
  border-top: solid 1px aliceblue;
  background: #aad5ff;
  padding: 6em 0;
}
.under {
  border-radius: 7px;
  background: rgb(255, 255, 255);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.06);
  padding: 2em;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.under__badge {
  padding: 14px 14px;
  border-radius: 9px;
  border: 3px dashed rgb(255, 58, 58);
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  font-weight: 900;
  transform: rotate(8deg) scale(1.2) translate(0, -50%);
}

.under__content h2 {
  margin: 1em 0;
  font-size: clamp(1.2em, 1.2em, 1.5em);
  letter-spacing: -0.02em;
  text-align: center;
}
.under__content p {
  margin: 0 0 14px;
  max-width: 70ch;
  text-align: center;
}

.separator {
  width: 100px;
  height: 3px;
  background: #aad5ff;
  margin: 2em auto;
}

#active-text {
/*  font-size: 1.2em; */
}

.signature {
  font-weight: 600;
  padding: 2em 0;
}

/* Footer */
.footer {
/*  min-height: 32%; */
  background: #0a1e3b;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  height: fit-content;
  padding: 3em 0;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
}
.footer-links {
  display: flex;

  padding: 2em;
}
.footer-links a {
  cursor: pointer;
  padding: 0.5em;
/*  color: #687299; */
  color: #abb2ce;
  font-size: 1em;
}
.footer-links a:hover {
  color: #f7a780;
}

.footer-copyright {
  display: flex;
  padding-top: 14px;
  color: #979797;
}

.footer-copyright-wrapper {
  color: #687299;
  text-align: center;
  width: 100%;
  font-size: 14px;
}

/* Responsive */

@media screen and (max-width: 660px) {
  .footer-links {
    flex-direction: column;
  }
}

@media screen and (max-width: 980px) {
  .business-card {
    padding: 1.2em;
  }
  .business-card p#service {
    padding: 0;
    font-size: 14px;
    margin: 2em 0;
  }
}
