@media (max-width: 767px) {
html, body {
  background: #000 !important;
  margin: 0;
}
body {
  overscroll-behavior: none;
}
body > * {
    background: #ffffff;
}

 am-1-1,
 am-1-2,
 am-1-3,
 am-1-4,
 am-2-3,
 am-3-4 {
    flex-basis: 100% !important;
    padding: 0 !important;
    /* padding: calc(var(--am-flex-gap)*.1) calc(var(--am-flex-gap)*.5); */
    margin: 0 !important;
    width: 100% !important;
 }

 am-stretched {
    margin-left: 0 !important;
  margin-right: 0 !important;
 }

 am-stretched > am-section {
  padding: 0 !important;
  margin-top: 0 !important;
}
 am-stretched > am-pagelist, am-stretched > am-table {
  padding: 0 !important;
}

am-section {
    --am-flex-gap: 0 !important;
}
am-section:empty {
  display: none;
}
am-flex {
    width: 100% !important;
    margin: 0 !important;
}

h1 s {
    max-width: 35%;
    margin-right: 1rem;
}
h1 i {
    margin-right: 0;
}
h1[id*="fontane"] i::after {
    display: none;
}

}

@media (max-width: 1023px) {
am-section {
    --am-flex-gap: 2rem !important;
}

:root {
    --font-family: "Inter", sans-serif;
    --heading-font-family: var(--font-family);
    --h1-font-size: 1.85rem;
    --h2-font-size: 1.25rem;
}

.uk-navbar {
    margin: 0 !important;
    padding: 0 !important;
}
.uk-navbar-brand, .uk-navbar-content, .uk-navbar-toggle {
    padding: 0 !important;
}
.uk-navbar-flip {
    padding: 0;
}
.uk-visible-large {
    display: block !important;
  }
.hero {
    padding: 0 !important;
}

.orte-card {
  height: 600px !important;
}

.orte-card am-section:has(p, h1, h2, h3, h4, h5, h6) {
    padding: 25% 1rem 1rem 1rem;
}

.sidebar {
  position: relative !important;
  top: 0 !important;
  height: min-content;
  margin-bottom: 2rem !important;
}

.footer-hr {
    margin-top: 2rem !important;
}


}