/* Base */
body {
  font-kerning: normal;
  font-feature-settings: "kern" 1, "pnum" 1;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus input:-webkit-autofill,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: white;
  -webkit-box-shadow: none;
  transition: background-color 5000s ease-in-out 0s;
}

/* Base */
.tm-page {
  border-top: 0;
}

/* Navigation */
@media screen and (max-width: 640px) {
  .uk-nav-default {
    font-size: 1.2rem;
  }
}

/* Typography */
@media screen and (max-width: 640px) {
  .uk-text-lead {
    font-size: 1rem;
  }

  .uk-text-large {
    font-size: 1rem;
  }

  .uk-heading-small {
    font-size: 1rem;
  }

  .uk-heading-medium {
    font-size: 1.2rem;
  }

  .uk-heading-large {
    font-size: 1.35rem;
  }

  .uk-heading-xlarge {
    font-size: 1.5rem;
  }

  .uk-text-meta {
    font-size: var(--text-small-font-size);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
    overflow-wrap: break-word;
  }

  .uk-margin-top {
    margin-top: 20px !important;
  }
}

/* Section Title */
.tm-section-title> ::before {
  inset: 0px 0px 0px 2px;
  position: relative;
  height: 5rem;
  width: 2px;
}

.tm-section-title>* {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}


/* Links */

.link-underlined,
.uk-link-text {
  position: relative;
  display: inline-block;
  line-height: normal;
  color: var(--global-color);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}

.link-underlined:hover,
.uk-link-text:hover {
  color: var(--global-color);
}

.link-underlined:hover::before,
.uk-link-text:hover::before {
  background-position: 0% 50%;
}

.link-underlined::before,
.uk-link-text::before {
  content: "";
  position: absolute;
  bottom: -0.2em;
  left: 0;
  width: 100%;
  height: 2px;
  background-repeat: no-repeat;
  background-image: linear-gradient(to right,
      var(--global-emphasis-color) 45%,
      rgba(255, 255, 255, 0) 55%);
  background-size: 220% 100%;
  background-position: 100% 50%;
  transition: 0.3s ease-out;
}

/* Section */
.uk-section-muted,
.uk-section-primary {
  border-radius: 1rem;
  overflow: hidden;
}

@media screen and (max-width: 640px) {
  .uk-section-xlarge {
    padding: 40px 0;
  }

  .uk-section-xlarge-top {
    padding-top: 40px;
  }

  .uk-section-xlarge-bottom {
    padding-bottom: 40px;
  }

  .uk-section-large-top {
    padding-top: 40px;
  }

  .uk-section-large-bottom {
    padding-bottom: 40px;
  }

  .uk-accordion-default .uk-accordion-title {

    font-size: 1rem;

    padding: 0.5rem 0;

  }

  .copyright {
    font-size: 0.65rem;
  }
}

/* Header */
.tm-header .uk-navbar-left {
  order: 3;
  align-items: stretch;
  margin-left: auto;
}

.tm-header .uk-navbar-right {
  order: 1;
  align-items: normal;
  margin: 0;
}

.tm-header .uk-container-expand {
  transition: padding 0.3s ease-in-out;
}

@media screen and (max-width: 1440px) {
  .tm-header .uk-container-expand {
    padding: 0;
  }
}

@media screen and (max-width: 1350px) {
  .tm-header .uk-logo {
    max-width: 150px;
  }
}

/* Express Anfrage */
@media screen and (min-width: 961px) {
  .express_anfrage .uk-card {
    transform: translateY(-10rem);
  }
}

/* Hero */
@media screen and (max-width: 640px) {

  .button__group .el-item,
  .button__group .uk-button {
    width: 100%;
  }
}

/* Footer */
@media screen and (min-width: 641px) {
  footer {
    margin-top: 15rem;
  }

  nav .uk-subnav {
    display: flex;
    gap: 1rem;
  }
}

@media screen and (max-width: 640px) {
  footer nav ul::before {
    border-bottom: none !important;
  }

  footer nav li {

    width: 100%;
    text-align: justify;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }

  footer nav li a {
    width: 100%;
    justify-content: center;
    border-radius: 0.25rem;
    padding: 0.75rem;
    border-bottom: none !important;
  }
}

/* Team Profiles */
.team__profiles {
  display: flex;
  align-items: center;
}

.team__profiles img {
  width: 50px;
  height: 50px;
  border-radius: 10rem;
  object-fit: cover;
  border: 3px solid var(--global-muted-background);
  display: block;
  background: #fff;
}

.team__profiles img+img {
  margin-left: -14px;
}

/* Form */
.hidden-fields-container {
  display: none
}

.dna__form .wpcf7-text,
.dna__form .wpcf7-textarea {

  padding: 1rem;
  height: auto;
}

.dna__form .wpcf7-select {

  padding: 1rem;
  height: auto !important;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNyA3TDE3IDE3TTE3IDE3VjdNMTcgMTdINyIgc3Ryb2tlPSIjNDA0MDQwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPgo=") !important;
  background-size: 1.5rem;
  background-position: right 1rem center !important;

}

.dna__form .wpcf7-form-control-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.dna__form .wpcf7-not-valid-tip {
  font-size: var(--text-small-font-size);
  position: absolute;
  color: var(--global-danger-background);
  right: 1rem;
}

.dna__form .wpcf7-textarea+.wpcf7-not-valid-tip {
  top: 1.25rem;
  right: 1rem;
}



.dna__form .wpcf7-form-control.wpcf7-text:focus,
.dna__form .wpcf7-form-control.wpcf7-text:active,
.dna__form .wpcf7-form-control.wpcf7-select:focus {
  box-shadow: none;
}

.dna__form .wpcf7-form-control.uk-textarea {
  height: 15rem;
  min-width: 100%;
}

.dna__form .wpcf7-spinner {
  display: none;
}

.dna__form input,
.dna__form textarea {
  caret-color: var(--global-color);
}


.wpcf7-form-control.wpcf7-acceptance label {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.wpcf7-form-control.wpcf7-acceptance label input {
  flex-shrink: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border: none;
  background: #fff;
  color: var(--global-color);
  margin: 3rem 0 0 0;
  box-sizing: border-box;
  padding: 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: var(--global-danger-background);
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid var(--global-border-radius);
  box-sizing: border-box;
  padding: 2rem;
  text-align: center;
  font-size: 2rem;
}

.wpcf7 .screen-reader-response {
  display: none;
}

.dna__form .uk-form-icon {
  width: auto;
  bottom: 3px;
  left: 1rem;
  height: 100%;
  color: var(--global-emphasis-color);
}

.dna__form .attachment {
  position: absolute;
  bottom: 2rem;
  right: 0;
  display: flex;
}

.dna__form .attachment .wpcf7-form-control-wrap {
  display: none;
}

.dna__form .attachment label {
  background: rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  border-radius: 100rem;
  font-size: 80%;
  cursor: pointer;
  transition: 0.2s ease all;
}

.dna__form .attachment label .uk-icon {
  margin-left: 0.5rem;
}

.dna__form .attachment label.success {
  background: var(--global-success-background);
  color: var(--global-color);
  padding: 0.5rem;
  font-size: 0;
}

.dna__form .attachment label.success .uk-icon {
  margin: 0;
}

@media screen and (max-width: 640px) {

  .dna__form .wpcf7-text,
  .dna__form .wpcf7-textarea,
  .dna__form .wpcf7-select {
    font-size: 1rem;
  }

  #kontakt .uk-tile {
    padding: 0;
    background: none;
  }
}

/* Multistep */
.ex-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.ex-stepper__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ex-stepper__circle {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 10rem;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .35s ease;
  flex-shrink: 0;
  font-weight: 700;
  font-size: var(--text-small-font-size);
}

.ex-stepper__circle.is-active {
  border-color: #fff;
  background: #fff;
  color: var(--global-emphasis-color);
}

.ex-stepper__circle.is-done {
  border-color: #fff;
  background: #fff;
  color: var(--global-emphasis-color);
}

.ex-stepper__label {
  transition: color .3s;
}

.ex-stepper__item.is-active .ex-stepper__label {
  color: white;
}

.ex-stepper__line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 16px;
  max-width: 90px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.ex-stepper__line-fill {
  position: absolute;
  inset: 0;
  background: #fff;
  width: 0%;
  transition: width .5s ease;
}

#ex-panels-wrapper {
  position: relative;
  overflow: hidden;
}

.ex-panel {
  opacity: 1;
}

.ex-vol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 540px) {
  .ex-vol-grid {
    grid-template-columns: 1fr;
  }
}

.ex-vol-label {
  display: block;
  cursor: pointer;
}

.ex-vol-card {
  border: 2px solid transparent;
  border-radius: 0.5rem;
  padding: 22px 16px;
  text-align: center;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}

.ex-vol-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity .2s;
}

.ex-vol-label:hover .ex-vol-card {
  border-color: var(--global-emphasis-color);
  transform: translateY(-3px);
}

.ex-vol-label:hover .ex-vol-card::before {
  opacity: 1;
}

.ex-vol-label.is-selected .ex-vol-card {
  border-color: var(--global-emphasis-color);
}

.ex-vol-label.is-selected .ex-vol-card::before {
  opacity: 1;
}

.ex-vol-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--global-emphasis-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s, transform .2s;
}

.ex-vol-label.is-selected .ex-vol-check {
  opacity: 1;
  transform: scale(1);
}

.ex-vol-icon {
  color: var(--global-emphasis-color);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.ex-vol-amount {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.ex-vol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--global-emphasis-color);
  border-radius: 99px;
  padding: 5px 14px 5px 10px;
  font-size: var(--text-small-font-size);
  color: var(--global-emphasis-color);
}

.ex-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}
@media screen and (max-width: 640px) {
  .ex-nav {
    flex-direction: column-reverse;
    gap: 1rem;
  }
  .el-nav #btn-back {
    border: none;
  padding: 0;
  opacity: 0.5;
    
  }
  .wpcf7-form-control.wpcf7-acceptance label {
    flex-direction: column;
  align-items: flex-start;
  }
}

.ex-nav--end {
  justify-content: flex-end;
}

/* Buttons */
.uk-button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media screen and (max-width: 640px) {
  .uk-button.uk-button-large {
    font-size: 1.2rem;
    line-height: 1.2;
  }
}

/* Characters */
.uk-button .label {
  overflow: hidden;
  position: relative;
  display: inline-block;
}

.uk-button .label span {
  display: inline-block;
  position: relative;
  text-shadow: 0px 2em currentColor;
  transform: translateY(0em) rotate(0.001deg);
  transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.uk-button:hover .label span {
  transform: translateY(-2em) rotate(0.001deg);
}