@import url(https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

/* Base styles */
:root {
    --primary-color: #212121;
    --accent-color: #A1426D;
    --accent-color-hover: #AF5E83;
    --accent-secondary: #E6AE48;
    --grey: #A9A9A9;
    --text-color: #212121;
    --link-color: #A1426D;
    --error: #D93025;
    --green: #739451;
    --white: #fff;
    --border-radius: 8px;
    --font-family: "Fira Sans", -apple-system, Roboto, Helvetica, sans-serif;
    --font-weight: 300;
    --font-weight-header: 500;
    --font-size: 16px;
}

/* Animatioms */

/* Pulsation */
@keyframes pulsate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Fade up */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at the original position */
  }
}

/* Fade-in animation for the checkmark */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Overlay Spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Draw Checkmark */
@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}


html {
   scroll-behavior: smooth;
   scroll-padding-top: 219px;
}
  
body {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    max-width: 1699px;
    margin: 0 auto;
    padding: 0;
    background-color: var(--white);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: var(--font-weight);
}

.ui.form, .ui.form .field .dropdown, .ui.form .field .dropdown .menu>.item {
    font-size: var(--font-size);
}

a {
    font-family: var(--font-family);
    text-decoration: none;
    color: var(--link-color);
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: var(--text-color);
}

a.dataschutz {
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.96px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}


a.dataschutz:hover {
    text-decoration: none;
    gap: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-header);
    color: var(--text-color);
    margin:0px;
  }

h1 b {
  font-weight: var(--font-weight-header);
}

h1 {
  font-size: 85px;
  line-height: 115px;
  letter-spacing: 1px;
  color: var(--white);
  font-weight: 700;
}

h1 span {
  display: block;
  font-family: "Fira Sans Condensed", sans-serif;
  font-size: 55px;
  line-height: 65px;
  letter-spacing: 1px;
  font-weight: 300;
  color: var(--white);
}

@media screen and (max-width: 1330px) {
  .banner-content {
    bottom: 35px!important;
  }

  h1 {
    font-size: 55px;
    line-height: 85px;
  }

  h1 span {
    font-size: 35px;
    line-height: 45px;
  }
  
}

h1.title {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 60px;
  color: var(--white);
    overflow:hidden;

}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
  font-weight: 500;  
  color: var(--white);
}

h4 {
  font-size: 20px;
  line-height: 30px;
  margin-top:0px;
  font-weight: 700;
}

.bg h2, .bg h3 {
  font-weight: 400;
}

p.prompt {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 64px;
}

.ui.form .field>label {
  font-weight: 600;
  font-size: var(--font-size);
  margin-bottom: 0;
}

small {
  font-size: 12px;
  line-height: normal;
}

strong {
  font-weight: 700;
  display: block;
  margin: 1em 0;
}
  
/* Banner */
.banner {
  width:100%;
  position: relative;
}

.banner-image img {
  display: block;
  width:100%;
  height: auto;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  bottom: 70px;
  left: 64px;
  display: flex;
  flex-direction: column;
  gap:52px;
}

.banner-title {
  opacity: 0;
  animation: fadeUp 1s ease-in-out forwards;
}

.banner-title span {
  opacity: 0;
  animation: fadeUp 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

.logo {
  width:216px;
  height: auto; 
}

/* Title Section */
.title-section {
  padding: 64px 104px;
  background-color: var(--accent-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

main {
    gap: 24px 98px;
    padding: 0;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    width:100%;
  }
  
.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
  
/* Sticky Navigation */  

  
.progress-nav {
    position: sticky;
    top: 0;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    background: white;
    z-index: 10;
    box-shadow: none;
    margin-right:-1px;
}

.progress-nav.non-sticky {
    position: relative !important;
    z-index: 0 !important;
}

  
.progress-bar {
  height: 100%;
  display: flex;
  flex-direction: row;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  background-color: var(--white);
  padding: 0 104px 0 224px;
}


/* Step container */
.step {
  border-bottom: 2px solid var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-image: url('../images/separator.svg');
  background-position: right center;
  background-repeat: no-repeat;
  padding: 40px 0;
  position: relative;
  width: 29%;
}

.step:first-child {
  justify-content: flex-start;
  padding-left: 68px;
  width: 22%;
}

.step:last-child {
  background-image: none;
  justify-content: flex-end;
  padding-right: 68px;
  width: 20%;
}

/* Label wrapper */
.step span.step-label {
  background-color: var(--grey);
  font-size: 30px;
  line-height: 30px;
  border-radius: 50%;
  font-weight: 600;
  color: var(--white);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: background-color 0.3s ease-in-out;
  transform-origin: center;
}

/* Hover */
.step span.step-label:hover {
  background-color: var(--primary-color);
}

/* Step number inside label */
.step-number {
  transition: opacity 0.2s ease-in-out;
}

/* Hide number when completed */
.step.completed .step-number {
  opacity: 0;
}

/* Active state */
.step.active {
  border-color: var(--accent-secondary);
}

.step.active span.step-label {
  background-color: var(--accent-secondary);
  animation: pulsate 1s ease-in-out;
}

/* Completed state */
.step.completed {
  border-color: var(--green);
}

.step.completed span.step-label {
  background-color: var(--green);
  animation: pulsate 0.8s ease-in-out 1 forwards;
  will-change: transform;
}

/* Checkmark inside label */
.step .checkmark {
  position: absolute;
  top: 56%;
  left: 50%;
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  opacity: 0;
  transform: translate(-50%, -50%);
}

/* Animate checkmark drawing */
.step.completed .checkmark {
  opacity: 1;
  animation: drawCheck 0.5s ease-in-out forwards;
  animation-delay: 0.3s;
}
 
  /* Form Sections */
  .ui.form {
    flex: 1;
    width:100%;
  }

 .form-section {
    scroll-margin-top: 98px;
    width: 100%;
    position: relative;
    padding: 80px 104px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .form-section:last-of-type {
    padding-bottom: 100px;
  }

  .form-section.bg {
    background-color: var(--accent-color);
    padding-right: 104px;    
  }

  .form-section.bg.docs {
    padding-bottom:120px;
  }

  .form-section.bg .section-content {
    position: relative;
  }

  .form-section.bg *,
  .ui.form .form-section.bg .required.field>label:after {
    color: var(--white)!important;
  }
  
  .section-header {
    display: flex;
    flex-direction: row;
    gap: 56px;
    align-items: center;
  }

  .section-content {
    padding-left: 120px;
  }
  
  /* Form Fields */
  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    margin-bottom: 32px;
  }

  .form-row:last-of-type {
    margin-bottom:0px;
  }

  .radio-group {
    display: flex;
    flex-direction: row;
    gap: 64px;
  }

  .radio-group .form-row {
    margin-bottom:0px;
  }
  
  .ui.form .field {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap:16px;
    margin-bottom: 0px;
  }

  .ui.form input:not([type]), .ui.form input[type=date], .ui.form input[type=datetime-local], .ui.form input[type=email], .ui.form input[type=file], .ui.form input[type=number], .ui.form input[type=password], .ui.form input[type=search], .ui.form input[type=tel], .ui.form input[type=text], .ui.form input[type=time], .ui.form input[type=url] {
    font-family: var(--font-family);
    font-size: var(--font-size);
    padding: 18px 24px;
    height: 56px;
    outline-color: transparent;
    border-radius: 8px;
  }

  .ui.form .field input:not(:placeholder-shown):invalid {
    background-color: var(--white);
  }

  .ui.form textarea:not([rows]) {
    height: 10em;
}


  .ui.form .field.error input:not([type]), .ui.form .field.error input[type=date], .ui.form .field.error input[type=datetime-local], .ui.form .field.error input[type=email], .ui.form .field.error input[type=file], .ui.form .field.error input[type=number], .ui.form .field.error input[type=password], .ui.form .field.error input[type=search], .ui.form .field.error input[type=tel], .ui.form .field.error input[type=text], .ui.form .field.error input[type=time], .ui.form .field.error input[type=url], .ui.form .field.error select, .ui.form .field.error textarea, .ui.form .fields.error .field input:not([type]), .ui.form .fields.error .field input[type=date], .ui.form .fields.error .field input[type=datetime-local], .ui.form .fields.error .field input[type=email], .ui.form .fields.error .field input[type=file], .ui.form .fields.error .field input[type=number], .ui.form .fields.error .field input[type=password], .ui.form .fields.error .field input[type=search], .ui.form .fields.error .field input[type=tel], .ui.form .fields.error .field input[type=text], .ui.form .fields.error .field input[type=time], .ui.form .fields.error .field input[type=url], .ui.form .fields.error .field select, .ui.form .fields.error .field textarea {
    background-color: var(--white);
    border-color: var(--error)!important;
    border-radius: 8px;
  }

  .file-input-wrapper.error {
    border-color: var(--error)!important;
  }

  .field input:focus-visible {
    outline-color: var(--accent-color);
    outline-width: 0px;
  }

  .ui.dropdown .menu {
    z-index: 1000;
  }

  .ui.dropdown .menu>.item {
    font-size: 16px;
    height: 56px;
    display: flex;
    align-items: center;
  }

  .ui.dropdown .menu>.item:hover {
    background-color: var(--accent-light);
  }

 
  .field input,
  .field select {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 16px;
    background-color: var(--white);
  }
  
  .ui.selection.dropdown,
  .ui.selection.dropdown:hover,
  .ui.selection.dropdown:focus,
  .ui.selection.active.dropdown:hover,
  .ui.selection.active.dropdown {
    width: 100%!important;
    height: 56px;
    padding-right: 56px;
    border-radius: 8px;
  }

  .ui.selection.dropdown>.dropdown.icon {
    display: flex;
    width: 56px;
    height: 54px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    right: 0px;
    margin: 0px;
    padding: 0px;
    opacity: 1;
    top:0px;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
  }

  .ui.dropdown>.dropdown.icon:before {
    display: block;
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(../images/arrow-down.svg) !important;
    background-size: cover !important;
}

  .ui.dropdown>.text {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--white);
    font-size: var(--font-size);
  }
  
  .select-field::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    background-color: #fbfcfc;
    border: 1px solid var(--accent-color);
    border-left: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    pointer-events: none;
    background: var(--FunctionalColor-100, #FBFCFC);
    box-shadow: 4px -4px 6px 0px rgba(34, 34, 34, 0.03) inset;
  }
  
  input[type="date"].custom-date {
    position: relative;
    padding-right: 56px;
    appearance: none;
    -webkit-appearance: none;
  }
  
  input[type="date"].custom-date::-webkit-calendar-picker-indicator, .ui.form input[type=date]:focus::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 20px;
    width: 24px;
    height: 100%;
    cursor: pointer;
  }
  
  input[type="date"].custom-date::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('../images/calendar.svg') no-repeat center center;
    background-size: contain;
    pointer-events: none;
  }

  /* Checkboxes and Radios */
  .ui.checkbox,
  .ui.radio.checkbox {
    min-height: 30px;
    font-size: var(--font-size);
  }

 .ui.checkbox label:before,
 .ui.radio.checkbox label:before {
    width: 30px;
    height: 30px;
    border-width: 1px;
    border-radius: 4px;
  }

  .ui.radio.checkbox label:before  {
    border-radius: 50%;
  }

  .ui.checkbox input:focus~label:before {
    border-color: var(--text-color);
  }

  .ui.checkbox input:checked ~ label:after {
    content: ""!important;
    margin: 0px!important;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 9.5L8 13L14 5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: 4px 4px;
    background-size: 18px 18px;
    vertical-align: middle;
    color: var(--text-color)!important;
  }

  .ui.radio.checkbox input:checked ~ label:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 15px;
    height: 15px;
    background-color: var(--grey)!important;
    border-radius: 50%;
    z-index: 3;
    display: block;
    transform: none;
    transition: none;
    background-image: none;   
  }
  
  .ui.checkbox label,
  .ui.radio.checkbox label {
    padding-left: 50px;
    line-height: 30px;
    font-weight: 600;
    cursor: pointer;
  }

  .bg .ui.checkbox label {
    font-weight: 500;
  }
  
  /* Additional Fields */
  .form-row.additional-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .form-row.additional-fields .field {
    min-width: 0;
  }
  
  .form-row.additional-fields .field:nth-child(3) {
    grid-column: 1 / span 2;
    width: 100%;
  }

   /* Input File Upload */
  .ui.form .field.doc {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .ui.form .field.doc h3 {
    height: 62px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    position: relative;
  }

  .ui.form .field.doc h3 span {
    position: absolute;
    top: 25px;
    right: -15px;
  }

  .additional-docs-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    width:100%;
  }
  
  .field.file-field {
    width: 100%;
    margin-bottom: 0; /* gap is handled by flex container */
    display: block;
    position: relative;
  }

  .files-input-wrapper {
    position: relative;
    width: 100%;
    border: 2px dashed var(--accent-color);
    background-color: white;
    transition: all 0.3s ease;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .form-section.bg .files-input-wrapper * {
    color: var(--accent-color)!important;
  }

  .form-section.bg input[type="url"] {
    color: var(--text-color)!important;
  }

  .data-types {
      display: flex;
      flex-direction: row;
      gap: 16px;
      align-items: center;
      justify-content: center;
  }
/* Drag & Drop Styling */
.files-input-wrapper {
    transition: all 0.3s ease;
    position: relative;
}

.files-input-wrapper.drag-over {
    background-color: #f0f8ff;
    border: 2px dashed #E6AE48;
    transform: scale(1.02);
}

.files-input-wrapper.drag-over::before {
    content: "Dateien hier ablegen";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #E6AE48;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
}

.files-input-wrapper.drag-over > * {
    opacity: 0.3;
}

/* Bessere Hover-Effekte für File-Wrapper */
.file-wrapper {
    transition: all 0.2s ease;
}

.file-wrapper:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}
  .files-input-wrapper .file-wrapper {
    display: flex;
    width: 100%;
    height: 56px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 16px;
    border: 2px solid var(--accent-color);
    box-sizing: border-box;
    padding-left:8px;
    padding-right:8px;
    position: relative;
    margin: 16px 0px;
  }

  .files-input-wrapper .additional-docs-fields .file-wrapper {
    margin: 0px;
  }
  .files-input-wrapper .additional-docs-fields {
    margin: 16px 0px;
  }

  .form-section.bg .files-input-wrapper p {
    margin:0px;
  }

  
  /* The actual file input element (hidden but functional) */
  .file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
  }
  
  /* Upload icon (visible when no file is selected) */
.file-input-icon {
    position: absolute;
    right: 8px;
    top: 6px;
    width: 40px;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>');
    background-size: 24px 20px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    background-color: var(--accent-color);
    border-radius: 8px;
  }
  
  /* Remove button (only visible with file) */
  .file-input-remove {
    position: absolute;
    right: 25px;
    top: 32%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    font-size: 34px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    z-index: 4;
    display: none;
    color: var(--text-color)
  }

  .file-wrapper.has-file .file-input-remove {
    display: block;
  }
  
  /* Filename display (only visible with file) */
  .file-input-filename {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 60px);
    z-index: 1;
    font-weight: 700;
    letter-spacing: 0.96px;
  }
  
  /* Styles for when a file is selected */
  .file-input-wrapper.has-file .file-input-icon {
    display: none;
  }
  
  .file-input-wrapper.has-file .file-input-remove {
    display: block;
  }
  
  .file-input-wrapper.has-file .file-input-filename {
    display: block;
  }
  
  /* Cloud URL */
  .ui.checkbox.add-field {
    position: absolute;
    overflow: visible;
    z-index: 1100;
  }

  .checkbox-prompt {
    width: 625px;
    position: absolute;
    bottom: 30px;
    left: 0px;
    z-index: 1001;
    display: none;       
  }

  .checkbox-prompt::after {
    content:"";
    width: 44px;
    height: 44px;
    background-image: url('../images/close.svg');
    background-size: cover;
    cursor: pointer;
    position: absolute;
    top:-10px;
    right:-34px;
  }

  .ui.form .field.cloud-url-wrapper {
    margin-top: 80px!important;
  }
  
  
  /* Submit Button */
  .button {
    width: 266px;
    min-height: 56px;
    border-radius: 16px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.96px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .button:hover {
    background-color: var(--accent-color-hover);
    transition: all 0.3s ease;
  }

  .button.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
  }

  /* Form Validation */
  .ui.form .required.field>.checkbox:after, .ui.form .required.field>label:after, .ui.form .required.fields.grouped>label:after, .ui.form .required.fields:not(.grouped)>.field>.checkbox:after, .ui.form .required.fields:not(.grouped)>.field>label:after, .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box, .ui.form .field.error .checkbox:not(.toggle):not(.slider) label, .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box, .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) label, .ui.form .field.error .input, .ui.form .field.error label, .ui.form .fields.error .field .input, .ui.form .fields.error .field label {
    color: var(--text-color)
  }

  .ui.form .field.error .checkbox:not(.toggle):not(.slider) label:before {
    background: var(--white)!important;
    border-color: var(--error)!important;
  }

  .ui.form .field .prompt.label {
    display: none!important;
  }

  #phone-error-message, #email-error-message {
    font-size: 12px;
    font-weight: 700;
    color: var(--error);
    margin-top: -5px;
  }

  .ui.form .field.doc.error .files-input-wrapper .file-wrapper{
    border-color: var(--error)!important;
  }

  .ui.form .field.doc.error .file-input-filename {
    color: var(--error)!important;
  }

  .ui.form .field.doc.error .file-input-icon {
    background-color: var(--error)!important;
  }

  .ui.form .field.doc .prompt.label {
    display: block!important;
    text-align: center;
    font-family: var(--font-family)!important;
    font-size: 12px!important;
    font-weight: 400!important;
    color: var(--error)!important;
    border:none!important;
    white-space: nowrap;
    margin-top:-50px;
  }

  .ui.form .field.cloud-url-wrapper .prompt.label {
    position: absolute!important;
    display: block!important;
    bottom: -25px;
    left: -10px;
    font-family: var(--font-family)!important;
    font-size: 12px!important;
    font-weight: 400!important;
    color: var(--error)!important;
    border:none!important;
    white-space: nowrap;
    background-color: transparent!important;
    color:var(--white)!important;
  }

  .form-section.bg .files-input-wrapper .error-message {
    font-family: var(--font-family)!important;
    font-size: 12px!important;
    font-weight: 400!important;
    color: var(--error)!important;
    margin-top: -15px;
  }

  .ui.form .field.error .ui.dropdown, .ui.form .field.error .ui.dropdown .item, .ui.form .fields.error .field .ui.dropdown, .ui.form .fields.error .field .ui.dropdown .item {
    background: var(--white);
    border: 1px solid var(--error)!important;
  }

  .ui.form .field.error .ui.dropdown .text {
    background: var(--white);
  }

  .ui.basic.pointing.label:before {
    display: none;
  }

  .confirmation {
    margin-top: 80px;
    padding-left: 220px;
    padding-bottom: 220px;
    width: 100%;
  }

  .confirmation h2 {
    margin-bottom: 80px;
  }

  .ui.form .field.error.ui.checkbox label::before {
    border-color: var(--error)!important;
  }

  .warning {
  display: block;
  margin-top: 4rem;
  margin-right: 104px;
  padding: 1em 2rem;
  border: solid 2px var(--accent-secondary);
  background-color: rgba(230, 174, 72, 0.2);
  font-weight: 400;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  color:var(--text-color);
}

 .warning div.icon {
  width: 40px;
 }

  .warning svg * {
    fill: var(--accent-secondary);
  }

.warning strong {
  font-size: 18px;
  margin-top: 10px;
}

.warning ul {
  margin-bottom: 0px;
}

@media (max-width: 991px) {
    .warning {
        margin-right: 20px;
    }
}

  /* Overlay covering the entire screen */
#overlay, #overlay-submit {
  display: none;
  position: fixed; /* Fixed position to cover the whole screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* White background with transparency */
  z-index: 1000; /* High z-index to be on top of other content */
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
}

#overlay.active {
  display: block;
}

#overlay-submit.active {
  display: flex;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Spinner styles */
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.4); /* Light grey border */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-top-color: var(--link-color);
  animation: spin 1s infinite linear;
}

/* Text style below the spinner */
.overlay-text {
  color: var(--white);
  font-size: 18px;
  margin-left: 20px; /* Margin to separate from the spinner */
}
.required.field.cloud-url-wrapper.error {
    background-color: #ff00009e;
    padding: 40px 20px;
    border-radius: 12px;
}
.ui.form .field.cloud-url-wrapper.error .prompt.label{
    bottom: 5px;
    left: 10px;
}
.ui.checkbox.dsgvo.field.required.error {
    background-color: #ff00009e;
    padding: 10px;
    border-radius: 12px;
}
.secondary.button {
    background-color:var(--accent-secondary);
}
  @media (max-width: 991px) {
    .mobile-hide {
      display: none!important;
    }

    h1.title {
      font-size: 28px;
      line-height: 38px;
    }
  
    h2 {
      font-size: 28px;
      line-height: 34px;
    }
  
    h3 {
      font-size: 20px;
      line-height: 28px;
    }
  
    small {
      font-size: 10px;
    }

    body {
      padding: 0px;
    }

    .banner-content {
      bottom: 40px;
      left: 40px;
      gap: 32px;
    }

    .title-section {
      padding: 40px 20px;
    }

    .logo {
      width: 104px;
    }

    .form,
    .content {
      display: block;
    }

    .form {
      margin-top: 24px;
    }

    .progress-nav {
      margin:0px;
    }

    .progress-bar {
      padding: 0 20px;
    }

    .step {
      padding: 20px 15px 20px 0px!important;
      box-sizing: border-box;
    }

    .step:last-child {
      padding-right: 0px!important;
    }

    .step span.step-label {
      width: 40px;
      height: 40px;
      font-size: 20px;
      line-height: 20px;    
    }

    .step.completed span::after {
      width: 18px;
      height: 18px;
      background-size: 18px;
    }

    .form-section {
      margin: 0;
      padding: 40px 20px;
    }

    .form-section.bg[data-el=section-2] {
      padding-bottom: 70px;
    }

    .confirmation {
      padding-left: 20px;
    }

    .form-section.bg {
      padding-right: 20px;
    }

    .section-header {
      gap: 24px;
      font-size: 20px;
      line-height: 30px;
    }

    .section-header img {
      width:40px;
      height: auto;
    }

    .section-content {
      padding: 0px;
    }
  
    .form-row {
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 20px;
    }

    .section-content .form-row:last-child {
      margin-bottom:0px;
    }

    .ui.form .field {
      flex: auto;
      width: 100%;
      gap: 8px;
    }

    .ui.form .field.doc {
      margin-top: 16px;
    }

    .ui.form .field.doc h3 {
      height: auto;
      display: block;      
    }

    .ui.form .field.doc h3 span  {
      top: -3px;
    }

    .checkbox-prompt {
      width: 100%;
      position: absolute;
      bottom: 43px;
      left: 0px;
      z-index: 1001;
      display: none;
    }

    .checkbox-prompt::after {
      top: -23px;
      right: -26px;
    }

    .ui.checkbox label, .ui.radio.checkbox label {
      font-size: 16px;
      line-height: 20px;
    }

    .error-message {
      margin-top:-5px;
    }

  }

@media screen and (max-width: 520px) {
  h1 {
    font-size: 32px;
    line-height: 42px;
  }
  h1 span {
    font-size: 22px;
    line-height: 26px;
  }
}

  